CN114339436A - Live broadcast room game interaction method and device, electronic equipment and storage medium - Google Patents
Live broadcast room game interaction method and device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN114339436A CN114339436A CN202111610988.XA CN202111610988A CN114339436A CN 114339436 A CN114339436 A CN 114339436A CN 202111610988 A CN202111610988 A CN 202111610988A CN 114339436 A CN114339436 A CN 114339436A
- Authority
- CN
- China
- Prior art keywords
- game
- live broadcast
- participants
- live
- broadcast room
- 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.)
- Granted
Links
- 230000003993 interaction Effects 0.000 title claims abstract description 90
- 238000000034 method Methods 0.000 title claims abstract description 56
- 238000003860 storage Methods 0.000 title claims abstract description 17
- 230000002452 interceptive effect Effects 0.000 claims abstract description 22
- 230000006870 function Effects 0.000 claims description 26
- 238000004891 communication Methods 0.000 claims description 22
- 238000004590 computer program Methods 0.000 claims description 15
- 230000008569 process Effects 0.000 abstract description 23
- 238000010586 diagram Methods 0.000 description 17
- 238000005304 joining Methods 0.000 description 10
- 238000012545 processing Methods 0.000 description 7
- 238000012986 modification Methods 0.000 description 5
- 230000004048 modification Effects 0.000 description 5
- 230000006399 behavior Effects 0.000 description 2
- 230000008901 benefit Effects 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 2
- 238000004880 explosion Methods 0.000 description 2
- 230000004075 alteration Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004422 calculation algorithm Methods 0.000 description 1
- 238000004140 cleaning Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000009826 distribution Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 230000011664 signaling Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000012549 training Methods 0.000 description 1
Images
Landscapes
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a live broadcast room game interaction method, a live broadcast room game interaction device, electronic equipment and a storage medium, wherein the method comprises the following steps: creating a live broadcast room according to a received live broadcast starting instruction, and giving an interactive function to the live broadcast room; running a live game interface in the live broadcast room according to the received game creation instruction; when the game participants are identified to join the game, game interaction data are generated between the game participants according to the rules of the game, and game state information containing the game interaction data is sent to the non-game participants. The game participants can directly enter the game and directly participate in the playing process of the game, and multi-player online game interaction can be realized in a live broadcast scene; the game non-participants can receive the game interaction data and watch the whole game process, so that the interactivity, entertainment and participation of the game creator and the game participants are enhanced on the whole, and the game interaction between the anchor broadcast in the live broadcast room and the audience is realized.
Description
Technical Field
The invention relates to the technical field of network live broadcast, in particular to a live broadcast room game interaction method and device, electronic equipment and a storage medium.
Background
Along with the coming of the big data era, entertainment activities realized through the internet are greatly enriched, for example, along with the rapid development of the live broadcast industry, live broadcast brings great convenience to daily life and work of people, and particularly, live broadcast of games greatly enriches the spiritual life of people. The live broadcast room is a main gathering place of users of live broadcast products, a live broadcast room is created by a director, an interactive function is given to the live broadcast room, and then the director interacts with audiences in the live broadcast room based on the interactive function.
In the prior art, interactivity is low for audiences whether the broadcasters are connected with each other or the broadcasters are used for playing live games. This is because, for the audience in the live room, who is mainly watching the live broadcast, the interactive functions of the live broadcast room generally include typing on the public screen, swiping gifts, and the like. The interaction between the audience and the anchor is mostly from the fact that the audience types on a public screen to communicate with the anchor, or the audience mainly broadcasts gifts in a live room to interact with the anchor. For the game anchor, the anchor plays games by itself, audiences watch the anchor games, the interaction mode is that the audiences and the anchor communicate the content of the game topics, and the audiences have weak participation sense in the games.
Disclosure of Invention
The embodiment of the invention provides a live broadcast room game interaction method, a live broadcast room game interaction device, electronic equipment and a storage medium, which are used for solving the problems that communication between audiences and a main broadcast is only character communication or gift sending, and the audiences have poor participation in a game in a live broadcast room of the game.
The embodiment of the invention provides a live broadcast room game interaction method, which comprises the following steps:
creating a live broadcast room according to a received live broadcast starting instruction, and giving an interactive function to the live broadcast room;
running a live game interface in the live broadcast room according to the received game creation instruction;
when the game participants are identified to join the game, game interaction data are generated between the game participants according to the rules of the game, and game state information containing the game interaction data is sent to the non-game participants.
On the other hand, the embodiment of the invention provides a live broadcast room game interaction device, which comprises:
the live broadcast room creating module is used for creating a live broadcast room according to the received live broadcast starting instruction and endowing the live broadcast room with an interactive function;
the game creation module is used for operating a live game interface in the live broadcast room according to the received game creation instruction;
and the sending module is used for sending game interaction data with the game participants according to the rules of the game and sending game state information containing the game interaction data to non-game participants when recognizing that the game participants join in the game.
In another aspect, an embodiment of the present invention provides an electronic device, including a processor, a communication interface, a memory, and a communication bus, where the processor, the communication interface, and the memory complete mutual communication through the communication bus;
a memory for storing a computer program;
a processor for implementing any of the above method steps when executing a program stored in the memory.
In yet another aspect, an embodiment of the present invention provides a computer-readable storage medium, in which a computer program is stored, and the computer program, when executed by a processor, implements the method steps of any one of the above.
The embodiment of the invention provides a live broadcast room game interaction method, a live broadcast room game interaction device, electronic equipment and a storage medium, wherein the method comprises the following steps: creating a live broadcast room according to a received live broadcast starting instruction, and giving an interactive function to the live broadcast room; running a live game interface in the live broadcast room according to the received game creation instruction; when the game participants are identified to join the game, game interaction data are generated between the game participants according to the rules of the game, and game state information containing the game interaction data is sent to the non-game participants.
The technical scheme has the following advantages or beneficial effects:
in the embodiment of the invention, when a live broadcast starting instruction is received, a live broadcast room is created, an interactive function of the live broadcast room is given, and when a game creating instruction is received, a live broadcast game interface is operated in the live broadcast room and a game participant is waited to join in a game. When the game participants are identified to join the game, game interaction data is generated between the game participants according to the rules of the game, and the game interaction data is sent to the non-game participants. The scheme provided by the embodiment of the invention shows a game live broadcast state on the basis of still keeping the interactive function of a live broadcast room. In the live game state, the game participants and the game creator are combined to become game players, the multiplayer game interaction in the live broadcast room is completed, and the game playing complete process data, namely the game interaction data generated between the game participants, is output to the non-game participants as live broadcast content. The game participants can directly enter a preset game and directly participate in the playing process of the game, and multi-player online game interaction can be realized in a live broadcast scene; the game non-participants can receive the game interaction data and watch the whole game process, so that the interactivity, entertainment and participation of the game creator and the game participants are enhanced on the whole, and the game interaction between the anchor broadcast in the live broadcast room and the audience is realized.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a schematic diagram of a game interaction process in a live broadcast room according to an embodiment of the present invention;
FIG. 2 is a timing diagram illustrating game interaction between live rooms according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of state turns of a game according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a game interaction device in a live broadcast room according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the attached drawings, and it should be understood that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a schematic diagram of a live room game interaction process provided in an embodiment of the present invention, where the process includes the following steps:
s101: and creating a live broadcast room according to the received live broadcast starting instruction, and giving an interactive function to the live broadcast room.
S102: and running a live game interface in the live broadcast room according to the received game creation instruction.
S103: when the game participants are identified to join the game, game interaction data are generated between the game participants according to the rules of the game, and game state information containing the game interaction data is sent to the non-game participants.
The live broadcast room game interaction method provided by the embodiment of the invention is applied to electronic equipment, and the electronic equipment can be equipment such as a PC (personal computer), a tablet personal computer and the like, and can also be a server.
When the anchor is in live broadcasting, the anchor firstly sends a live broadcasting starting instruction, and when the live broadcasting starting instruction is received, a live broadcasting room is created. In addition, a client used by a viewer watching the live broadcast establishes communication connection with a live broadcast end used by a main broadcast for live broadcast, and after the main broadcast end establishes a live broadcast room, a live broadcast room interface can be sent to the client. So that the viewer can watch the live broadcast through the client. And, after creating the live room, giving the live room interactive functions including, but not limited to, connecting to a microphone, connecting to a screen, public screen messages, present delivery, anchor authority, etc.
The anchor can see a game creation entrance in a live room, and a game creation instruction is sent by clicking the game creation entrance. And when a game creation instruction is received, the anchor terminal runs a live game interface in a live room and sends the live game interface to a client used by a viewer watching live broadcast.
When the game participant is identified to join the game, game interaction data is sent to and from the game participant according to the rules of the game. The game participants generally comprise a main broadcast, namely a game creator and audiences joining in the game, and the mode of joining in the game by the main broadcast can be that after the main broadcast clicks a game creation entrance to send a game creation instruction, a live game interface is operated in a live broadcast room and the main broadcast enters the game; or after the live game interface is operated in the live broadcast room, a game access interface is provided for the anchor, and the anchor accesses the game by clicking the game access interface.
The spectator joining the game may be that the anchor sends a game invitation to the game participant, and when receiving an invitation accepting instruction responded by the game participant, the participant identifies that the game participant joins the game; or providing a game entry interface for a game participant, and determining that the game participant is identified to join the game when the game participant is identified to click on the game entry interface. That is, after the game is run in the live room, the anchor is provided with a game invitation interface, and clicks the game invitation interface and selects the invited audience in the audience list. The client of the invited spectator receives the invited prompt message, and when the invited spectator operates to receive the invitation at the client, the spectator joins the game as a game participant. Or after the game is run in the live room, providing a game access interface for the spectators, and determining that the spectators join the game as game participants when recognizing that the spectators click the game access interface. Or when it is recognized that the spectator clicks the game entry interface, the anchor decides whether to approve the participation of the spectator in the game, and if the anchor approves the participation of the spectator in the game, the anchor decides to participate in the game as a game participant.
According to the rules of the game, game interaction data are sent to game participants, for example, the game is a chess and card game, and the operations of card taking, card stopping, card explosion and the like of each game player are circularly and alternately completed in a clockwise direction from a main player according to the rules of the chess and card game. And the data generated by the operations are game interaction data with the game participants, and the game state information containing the game interaction data is sent to the non-game participants. Non-game participants: refers to spectators who are the players and participants of the game, and who output the entire process of game play as live content.
In order to ensure that the anchor and the game participants finish the game together, after the game participants are identified to join the game, the game participants are configured with game operation authority, and then game interaction data are generated between the game participants according to the rules of the game. After configuring the game operation authority for the game participants, the electronic device can send game data to the game participants according to the rules of the game, and after the game participants have the game operation authority, the electronic device can perform operations such as card drawing, card changing and the like in the game process. Thereby ensuring that the anchor and the game participants complete the game together.
When the anchor sends a game creation instruction, the game creation instruction carries identification information of a game creator (anchor), time information of creating a game, and identification information of a live broadcast room. After the spectator joins the game as a game participant, the spectator completes the entire process of the game together with the anchor according to the rules of the game. And to send game state information containing game interaction data to the non-game participants. The game state information includes identification information of a game creator, time information of creating a game, live room identification information, identification information of a game participant, and game interaction data with the game participant.
Specifically, the game state information may be transmitted to the non-game participants in the following manner. In the first mode, the game state information containing the game interaction data is sent to the non-game participants in a live broadcast mode, that is, the game state information is actively sent to the non-game participant clients in a live broadcast mode. And secondly, when a data request sent by the non-game participant is received, sending game state information containing the game interaction data to the non-game participant. And the non-game participants send data requests in an active polling mode, and when receiving the data requests, the non-game participants send game state information to the client sides of the non-game participants. Specifically, after the spectator enters the live broadcast room, the address information of the client of the spectator can be obtained, and the game state information is sent to the client of the non-game participant according to the address information of the client of the spectator. Further, game interaction between the anchor of the live broadcast room and non-game participants is realized.
When the game needs to be ended, the anchor can send a game ending instruction, and when the game ending instruction is received, the game is closed, and the game state information is cleared. The mode of determining that the game ending instruction is received is as follows: in the first mode, the game interface in the live broadcast room comprises a game closing button, and when the game closing button is identified to be clicked by the anchor, a game ending instruction is determined to be received. And in the second mode, the live broadcast room comprises a live broadcast closing button, and when the live broadcast closing button clicked by the anchor is identified, the game ending instruction is determined to be received.
In the embodiment of the invention, when a live broadcast starting instruction is received, a live broadcast room is created, an interactive function of the live broadcast room is given, and when a game creating instruction is received, a live broadcast game interface is operated in the live broadcast room and a game participant is waited to join in a game. When the game participants are identified to join the game, game interaction data is generated between the game participants according to the rules of the game, and the game interaction data is sent to the non-game participants. The scheme provided by the embodiment of the invention shows a game live broadcast state on the basis of still keeping the interactive function of a live broadcast room. In the live game state, the game participants and the game creator are combined to become game players, the multiplayer game interaction in the live broadcast room is completed, and the game playing complete process data, namely the game interaction data generated between the game participants, is output to the non-game participants as live broadcast content. The game participants can directly enter a preset game and directly participate in the playing process of the game, and multi-player online game interaction can be realized in a live broadcast scene; the game non-participants can receive the game interaction data and watch the whole game process, so that the interactivity, entertainment and participation of the game creator and the game participants are enhanced on the whole, and the game interaction between the anchor broadcast in the live broadcast room and the audience is realized.
The process of live room game interaction is described in detail below with reference to specific examples.
The terms used below are explained as follows:
room game: a plurality of people in a live room audience or members participating in an online game play leisure, entertainment, interaction and presentation to non-game players in the room.
The user uid: the unique identification number of the user at the server.
A game key: based on the unique game identification number calculated by the game creator (user uid, game type, time stamp, etc.).
The game state is as follows: the states of different progress stages in the game progress are represented, a plurality of states exist, and the states can be rotated.
Room broadcasting: a technique for synchronizing messages generated at one end of a room to other members of the room.
LiveServer: and the live broadcast server is mainly used for finishing the functions of processing the relevant messages of the anchor live broadcast, pushing live broadcast data and the like.
GameServer: a service for realizing the whole process of game playing and the related operation processing, calculation and storage of games.
Fig. 2 is a timing diagram of game interaction in a live broadcast room according to an embodiment of the present invention, which includes the following steps:
1. first a multi-person voice live room is opened by the anchor client1 and the spectator client2-N joins the live room. The multiplayer online game in the anchor room of the embodiment of the invention is explained by taking a 21-point blackjack card game as an example. Including but not limited to various game states and processes such as game creation, game play, game state broadcast, game end, etc.
2. The anchor can see a game creation entrance in the room, the anchor clicks the entrance to create the game, at this time, the gameServer can generate a unique identifier of the game according to the information of the anchor uid, a timestamp, a game type and the like, and the initialized game related information comprises but is not limited to the start of the anchor uid, the anchor room, the game start time, the win-lose information, the information of the user joining the game, the game information (the occupation information is not available) and is stored in the database. Meanwhile, the entrance of the game is pushed to other members in the room through the room broadcast, wherein the other members comprise audiences and the users who go to the phone, and the anchor waits for the users to join the game.
3. The spectators or the boarding users click the pushed game entrance to finish the joining of the game, and the step can be that the joining is automatically carried out after clicking or the joining is carried out after the approval of the anchor is required; the anchor may also actively invite the viewer to join, which requires the viewer to agree that the joining party is able to do so. The upper limit of the number of users joining the game is set according to different game playing methods, for example, 8 users are set at most to join the game at 21 blackjack, including 9 players; at least 2 persons are required at the lowest. The user joining the game will be updated to the current game record initialized in the GameServer by step 2.
4. After the game user is in place, the anchor can choose to start the game and enter the game playing state. At this time, the GameServer can sequentially distribute the base cards for each added game player according to the card distribution algorithm, and circularly and alternately complete the operations of card taking, card stopping, card explosion and the like of each game player in a clockwise direction from the main player until the current game is finished, and the hand cards and the triggering operation of the spectators are stored and calculated by the GameServer.
5. In the process of game playing, participants of the game acquire game states through room broadcasting, active training and other modes, and all operation actions are calculated, updated and stored by a GameServer; the other non-game players in the room can synchronously live broadcast to watch the game progress state and the operation actions of the players from the main broadcasting view angle according to the media stream data generated by the main broadcasting end, and in addition, other original functions of the live broadcast can be normally used.
6. After the current game is finished, the game Server finishes the reward and punishment win-win related incentive calculation of the game, and updates the record of each game player; after that, the anchor can choose to start a new game, and according to the game setting, the user can cycle to step 3 to click to join again, or step 4 continues the game among the players who have joined until the anchor finishes the game or closes the live broadcast.
7. After the game is finished, the GameServer completes the cleaning work related to the game and releases the storage space.
Fig. 3 is a schematic diagram of state rotation of a game according to an embodiment of the present invention, and fig. 3 is an example of a 21-point blackjack game. Game creation: the host establishes the game, at this time, the game enters a game preparation state, and the stage is to complete the user to join the game; and (3) starting the game: after the game player is in place, the game is established to start the game, the game is in a running state, in the state, the bottom cards are firstly distributed, the first player starts the card-playing operation according to a certain rotation rule, and then each player is rotated clockwise to finish all operations set by the game, until the game finishes the card-playing operation: game player hands include, but are not limited to, closing/closing a chairman for cards, stopping cards, etc.: the manner in which the game creator ends the game.
The on-line game in the room provided by the embodiment of the invention can derive more products with strong participation in audiences, improves interactivity and entertainment with the audiences, can bring richer product experience to the anchor and further improves actual benefits of the anchor.
The live broadcast room game interaction scheme provided by the embodiment of the invention mainly solves the problem that the existing single interaction mode between the audience and the anchor is limited in audience interaction and participation playing methods from the perspective of the audience. For example, the audience has a participation threshold for the audience, such as speaking, gift sending or microphone connection, wherein the threshold is that the speaking needs to be expressed, the gift sending needs to be consumed, and the microphone connection needs to send voice; in order to reduce the user participation threshold and improve the playability of the audience under the anchor scene, the game participation is provided between the audience and the anchor besides the participation mode. The problem of diversified presentation of contents provided for anchor live broadcasting is solved from the anchor perspective, on one hand, the contact with audiences and the participation of the audiences can be enhanced, and on the other hand, the presentation of rich live broadcasting contents can be provided. From the anchor usage perspective: the method and the system solve the problem that the anchor can realize the presentation of the game content in time without depending on the intervention of third-party software.
In the embodiment of the invention, the messages participating in the game anchor and the audience are not disordered random public screen message broadcast except the common public screen message/signaling message broadcast in the live broadcast scene, and the sequence is the embedded game rule. For example, the messages of those players and spectators participating in the game are game data generated during game play and the game data satisfies the game rules, such as a game loop of A- > B- > C- > A. The game content can be presented between the anchor and the audience through a game inlet built in a live scene or a game mode.
In the embodiment of the invention, a live broadcast room is created according to a received live broadcast starting instruction, and various interactive functions and interactive behaviors in a live broadcast state can be completed in the live broadcast room, wherein the interactive functions and the interactive behaviors include but are not limited to microphone connection, screen connection, public screen information, gift delivery, anchor authority and the like; according to the received game establishing instruction, a game live broadcast interface is operated in a live broadcast room, and a game live broadcast state is presented on the basis that a live broadcast function is still reserved; and when the game participant is identified to join the game, sending game interaction data with the game participant according to a set game rule, and simultaneously sending game state data with other non-game participants. In the game state, the game participants and the game creators are combined to become game players, the multi-player game interaction in the live broadcast room is completed, and the complete process of the game playing method is output to the non-game participants as live broadcast content. According to the scheme provided by the embodiment of the invention, the game participants can directly enter the preset game and directly participate in the playing process of the game, and multi-player online game interaction can be realized in a live broadcast scene; the game non-participants can watch the whole game process, the game creation and the interaction, entertainment and participation of the game participants are enhanced on the whole, and the game interaction between the anchor of the live broadcast room and the audience is realized.
In embodiments of the invention, a game participant: the combination of a representation and a host (i.e., game creator) is called a game player, i.e., the host interacts with multiple persons, which are game participants other than the host. Non-game participants: refers to spectators who are the players and participants of the game, and who output the entire process of game play as live content.
Fig. 4 is a schematic structural diagram of a live broadcast room game interaction device according to an embodiment of the present invention, where the device includes:
a live broadcast room creating module 41, configured to create a live broadcast room according to the received live broadcast start instruction, and give an interactive function to the live broadcast room;
a game creation module 42, configured to run a live game interface in the live broadcast room according to the received game creation instruction;
and a sending module 43, configured to send, when it is recognized that a game participant joins in a game, game interaction data with the game participant according to the rule of the game, and send game state information including the game interaction data to a non-game participant.
A sending module 43, specifically configured to send a game invitation to the game participant, and when receiving an invitation accepting instruction responded by the game participant, determine that the game participant is identified to join in the game; or providing a game entry interface for the game participant, and determining that the game participant is identified to join the game when the game participant is identified to click on the game entry interface.
A sending module 43, specifically configured to send game state information including the game interaction data to the non-game participant in a live broadcast manner; or when receiving a data request sent by the non-game participant, sending game state information containing the game interaction data to the non-game participant.
The game state information comprises identification information of a game creator, time information of game creation, live room identification information, identification information of game participants and game interaction data with the game participants.
The device further comprises:
and the closing module 44 is used for closing the game and clearing the game state information when receiving a game ending instruction.
The closing module 44 is specifically configured to determine that a game ending instruction is received when an instruction to close the game is received or an instruction to close the live broadcast is received.
The sending module 43 is further configured to configure a game operation permission for the game participant after the game participant is identified to join the game, and generate game interaction data with the game participant according to the rules of the game.
An embodiment of the present invention further provides an electronic device, as shown in fig. 5, including: the system comprises a processor 301, a communication interface 302, a memory 303 and a communication bus 304, wherein the processor 301, the communication interface 302 and the memory 303 complete mutual communication through the communication bus 304;
the memory 303 has stored therein a computer program which, when executed by the processor 301, causes the processor 301 to perform the steps of:
creating a live broadcast room according to a received live broadcast starting instruction, and giving an interactive function to the live broadcast room;
running a live game interface in the live broadcast room according to the received game creation instruction;
when the game participants are identified to join the game, game interaction data are generated between the game participants according to the rules of the game, and game state information containing the game interaction data is sent to the non-game participants.
Based on the same inventive concept, the embodiment of the invention also provides electronic equipment, and as the problem solving principle of the electronic equipment is similar to the live broadcast room game interaction method, the implementation of the electronic equipment can refer to the implementation of the method, and repeated parts are not described again.
The electronic device provided by the embodiment of the invention can be a desktop computer, a portable computer, a smart phone, a tablet computer, a Personal Digital Assistant (PDA), a network side device and the like.
The communication bus mentioned in the electronic device may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface 302 is used for communication between the above-described electronic apparatus and other apparatuses.
The Memory may include a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as at least one disk Memory. Alternatively, the memory may be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, including a central processing unit, a Network Processor (NP), and the like; but may also be a Digital Signal Processor (DSP), an application specific integrated circuit, a field programmable gate array or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or the like.
An embodiment of the present invention further provides a computer storage readable storage medium, in which a computer program executable by an electronic device is stored, and when the program runs on the electronic device, the electronic device is caused to execute the following steps:
creating a live broadcast room according to a received live broadcast starting instruction, and giving an interactive function to the live broadcast room;
running a live game interface in the live broadcast room according to the received game creation instruction;
when the game participants are identified to join the game, game interaction data are generated between the game participants according to the rules of the game, and game state information containing the game interaction data is sent to the non-game participants.
Based on the same inventive concept, embodiments of the present invention further provide a computer-readable storage medium, and since a principle of solving a problem when a processor executes a computer program stored in the computer-readable storage medium is similar to a live-room game interaction method, implementation of the computer program stored in the computer-readable storage medium by the processor may refer to implementation of the method, and repeated details are not repeated.
The computer readable storage medium may be any available medium or data storage device that can be accessed by a processor in an electronic device, including but not limited to magnetic memory such as floppy disks, hard disks, magnetic tape, magneto-optical disks (MOs), etc., optical memory such as CDs, DVDs, BDs, HVDs, etc., and semiconductor memory such as ROMs, EPROMs, EEPROMs, non-volatile memory (NAND FLASH), Solid State Disks (SSDs), etc.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.
Claims (10)
1. A live room game interaction method is characterized by comprising the following steps:
creating a live broadcast room according to a received live broadcast starting instruction, and giving an interactive function to the live broadcast room;
running a live game interface in the live broadcast room according to the received game creation instruction;
when the game participants are identified to join the game, game interaction data are generated between the game participants according to the rules of the game, and game state information containing the game interaction data is sent to the non-game participants.
2. The method of claim 1, wherein the identifying that a game participant joined a game comprises:
sending a game invitation to the game participant, and determining that the game participant is identified to join the game when receiving an invitation accepting instruction responded by the game participant; or
Providing a game entry interface for the game participant, determining that the game participant is identified to join a game when the game participant is identified to click on the game entry interface.
3. The method of claim 1, wherein sending game state information containing the game interaction data to a non-game participant comprises:
sending game state information containing the game interaction data to the non-game participants in a live room broadcasting mode; or
And when a data request sent by the non-game participant is received, sending game state information containing the game interaction data to the non-game participant.
4. A method as claimed in claim 1 or 3, wherein the game state information comprises game creator identification information, time information for creating a game, live room identification information, game participant identification information and the game interaction data.
5. The method of claim 1, wherein the method further comprises:
and when a game ending instruction is received, closing the game and clearing the game state information.
6. The method of claim 5, wherein the receiving a game ending instruction comprises:
and when an instruction for closing the game or an instruction for closing the live broadcast is received, determining that a game ending instruction is received.
7. The method of claim 1, wherein after identifying a game participant to join a game, prior to generating game interaction data with the game participant according to rules of the game, the method further comprises:
and configuring game operation authority for the game participants.
8. A live room game interaction apparatus, the apparatus comprising:
the live broadcast room creating module is used for creating a live broadcast room according to the received live broadcast starting instruction and endowing the live broadcast room with an interactive function;
the game creation module is used for operating a live game interface in the live broadcast room according to the received game creation instruction;
and the sending module is used for sending game interaction data with the game participants according to the rules of the game and sending game state information containing the game interaction data to non-game participants when recognizing that the game participants join in the game.
9. An electronic device is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor and the communication interface are used for realizing mutual communication by the memory through the communication bus;
a memory for storing a computer program;
a processor for implementing the method steps of any one of claims 1 to 7 when executing a program stored in the memory.
10. A computer-readable storage medium, characterized in that a computer program is stored in the computer-readable storage medium, which computer program, when being executed by a processor, carries out the method steps of any one of claims 1 to 7.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202111610988.XA CN114339436B (en) | 2021-12-27 | 2021-12-27 | Live broadcasting room game interaction method and device, electronic equipment and storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202111610988.XA CN114339436B (en) | 2021-12-27 | 2021-12-27 | Live broadcasting room game interaction method and device, electronic equipment and storage medium |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN114339436A true CN114339436A (en) | 2022-04-12 |
| CN114339436B CN114339436B (en) | 2023-11-17 |
Family
ID=81012116
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202111610988.XA Active CN114339436B (en) | 2021-12-27 | 2021-12-27 | Live broadcasting room game interaction method and device, electronic equipment and storage medium |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN114339436B (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN115695831A (en) * | 2022-09-19 | 2023-02-03 | 北京所思信息科技有限责任公司 | Live broadcast interaction method, device, equipment and storage medium |
| WO2025103245A1 (en) * | 2023-11-13 | 2025-05-22 | 抖音视界有限公司 | Interaction method and apparatus, electronic device, and storage medium |
| WO2025103004A1 (en) * | 2023-11-13 | 2025-05-22 | 抖音视界有限公司 | Interaction method and apparatus, electronic device and storage medium |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110354492A (en) * | 2019-08-08 | 2019-10-22 | 广州市百果园信息技术有限公司 | A kind of game beginning method, apparatus, system, terminal and storage medium |
| CN111385589A (en) * | 2018-12-28 | 2020-07-07 | 广州市百果园信息技术有限公司 | Game live broadcast method, medium and computer equipment based on multi-player voice room |
| WO2021114795A1 (en) * | 2019-12-11 | 2021-06-17 | 厦门雅基软件有限公司 | Cloud game live broadcast method, cloud game anchor end, viewer end and computer-readable storage medium |
| WO2021128981A1 (en) * | 2019-12-25 | 2021-07-01 | 厦门雅基软件有限公司 | Livestreaming interaction method and apparatus, electronic device, and computer readable storage medium |
| CN113115062A (en) * | 2021-04-08 | 2021-07-13 | 广州虎牙科技有限公司 | Game interaction method, system, device, electronic equipment and readable storage medium |
| CN113289332A (en) * | 2021-06-17 | 2021-08-24 | 广州虎牙科技有限公司 | Game interaction method and device, electronic equipment and computer-readable storage medium |
-
2021
- 2021-12-27 CN CN202111610988.XA patent/CN114339436B/en active Active
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111385589A (en) * | 2018-12-28 | 2020-07-07 | 广州市百果园信息技术有限公司 | Game live broadcast method, medium and computer equipment based on multi-player voice room |
| CN110354492A (en) * | 2019-08-08 | 2019-10-22 | 广州市百果园信息技术有限公司 | A kind of game beginning method, apparatus, system, terminal and storage medium |
| WO2021114795A1 (en) * | 2019-12-11 | 2021-06-17 | 厦门雅基软件有限公司 | Cloud game live broadcast method, cloud game anchor end, viewer end and computer-readable storage medium |
| WO2021128981A1 (en) * | 2019-12-25 | 2021-07-01 | 厦门雅基软件有限公司 | Livestreaming interaction method and apparatus, electronic device, and computer readable storage medium |
| CN113115062A (en) * | 2021-04-08 | 2021-07-13 | 广州虎牙科技有限公司 | Game interaction method, system, device, electronic equipment and readable storage medium |
| CN113289332A (en) * | 2021-06-17 | 2021-08-24 | 广州虎牙科技有限公司 | Game interaction method and device, electronic equipment and computer-readable storage medium |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN115695831A (en) * | 2022-09-19 | 2023-02-03 | 北京所思信息科技有限责任公司 | Live broadcast interaction method, device, equipment and storage medium |
| WO2025103245A1 (en) * | 2023-11-13 | 2025-05-22 | 抖音视界有限公司 | Interaction method and apparatus, electronic device, and storage medium |
| WO2025103004A1 (en) * | 2023-11-13 | 2025-05-22 | 抖音视界有限公司 | Interaction method and apparatus, electronic device and storage medium |
Also Published As
| Publication number | Publication date |
|---|---|
| CN114339436B (en) | 2023-11-17 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN113366856B (en) | Live interaction method and device, live server, terminal and storage medium | |
| CN114501104B (en) | Interaction method, device, equipment, storage medium and product based on live video | |
| CN109068182B (en) | Live broadcast room entering method, system, terminal and device for playing game based on live broadcast | |
| US11376499B2 (en) | Synchronization model for virtual tournaments | |
| CN112788358B (en) | Video live broadcast method, video sending method, device and equipment for game match | |
| CN109005417B (en) | Live broadcast room entering method, system, terminal and device for playing game based on live broadcast | |
| CN110602520B (en) | Anchor fighting system and method, audio and video processing method, device and equipment | |
| CN113163223B (en) | Live interaction method, device, terminal equipment and storage medium | |
| CN114339436A (en) | Live broadcast room game interaction method and device, electronic equipment and storage medium | |
| CN114082198A (en) | Interaction method and device, storage medium, and electronic device in cloud game live broadcast | |
| US20130097635A1 (en) | Interactive remote participation in live entertainment | |
| CN112316441A (en) | Game live broadcast data processing method and device, electronic equipment and readable medium | |
| CN113473169B (en) | Group live broadcasting method and device, storage medium and computer equipment | |
| CN113766340B (en) | Dance music interaction method, system and device under live connected wheat broadcast and computer equipment | |
| US12138555B2 (en) | Distribution system, distribution system controlling method, and computer program | |
| CN113032542B (en) | Live broadcast data processing method, device, equipment and readable storage medium | |
| CN112423013B (en) | Online interaction method, client, server, computing device and storage medium | |
| US20140011594A1 (en) | Electronic Social Trivia Game and Computer Application and Related Methods | |
| CN116126184A (en) | Data processing method, device and readable storage medium | |
| US20150231506A1 (en) | Celebrity video gaming network | |
| HK40071918B (en) | Method and apparatus for interaction based on live video, device, storage medium and product | |
| JP7469767B1 (en) | Server and computer program | |
| HK40071918A (en) | Method and apparatus for interaction based on live video, device, storage medium and product | |
| CN120378643A (en) | Live interaction method, device, equipment, storage medium and program product | |
| HK40046398B (en) | Method and apparatus for processing live broadcast data, device, and readable storage medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |