Game interaction method, live broadcast system, electronic equipment and storage device

文档序号:1395781 发布日期:2020-02-28 浏览:17次 中文

阅读说明:本技术 游戏交互方法、直播系统、电子设备及存储装置 (Game interaction method, live broadcast system, electronic equipment and storage device ) 是由 曾衍 于 2019-09-04 设计创作,主要内容包括:本申请提供一种游戏交互方法、直播系统、电子设备及存储装置。该方法包括:主播端获取视频流和第一操作数据,并将视频流发送给直播服务器,通过直播服务器将第一操作数据发送给游戏服务器,观众端获取第二操作数据,通过直播服务器将第二操作数据发送给游戏服务器;游戏服务器根据第一操作数据获取第一、第二游戏数据,及根据第二操作数据获取第三、第四游戏数据,并将第一至第四游戏数据发送给直播服务器;直播服务器将第一、第四游戏数据发送给主播端,并将视频流及第二、第三游戏数据发送给观众端;主播端根据第一游、第四游戏数据在视频流中渲染游戏图层,观众端根据第二、第三游戏数据在视频流中渲染游戏图层,能够增加直播互动的趣味性。(The application provides a game interaction method, a live broadcast system, electronic equipment and a storage device. The method comprises the following steps: the method comprises the steps that a main broadcasting end obtains a video stream and first operation data, the video stream is sent to a live broadcasting server, the first operation data are sent to a game server through the live broadcasting server, a spectator end obtains second operation data, and the second operation data are sent to the game server through the live broadcasting server; the game server acquires first game data and second game data according to the first operation data, acquires third game data and fourth game data according to the second operation data, and sends the first game data, the second game data, the third game data and the fourth game data to the live broadcast server; the live broadcast server sends the first game data and the fourth game data to the anchor terminal and sends the video stream and the second game data and the third game data to the audience terminal; the anchor end renders the game layer in the video stream according to the first game data and the fourth game data, and the audience end renders the game layer in the video stream according to the second game data and the third game data, so that the interest of live broadcast interaction can be increased.)

1. A game interaction method is used for a live broadcast system, the live broadcast system comprises a live broadcast server, a game server, a main broadcast end and a first audience end, and the game interaction method comprises the following steps:

the method comprises the steps that a main broadcast end obtains a video stream and first operation data of the main broadcast, the video stream is sent to a live broadcast server, the first operation data is sent to a game server through the live broadcast server, and a first audience end obtains second operation data and sends the second operation data to the game server through the live broadcast server;

the game server acquires first game data and second game data according to the first operation data, acquires third game data and fourth game data according to the second operation data, and sends the first game data, the second game data, the third game data and the fourth game data to the live broadcast server;

the live broadcast server sends the first game data and the fourth game data to the anchor terminal, and sends the video stream, the second game data and the third game data to the first spectator terminal;

the anchor terminal renders a first game layer in the video stream according to the first game data and the fourth game data to form a first game interface, and the first spectator terminal renders a second game layer in the video stream according to the second game data and the third game data to form a second game interface, wherein the first game data includes a first game item, the second game data includes a second game item, the third game data includes a third game item, and the fourth game data includes a fourth game item.

2. A game interaction method as recited in claim 1, wherein the live broadcast system further comprises a second spectator, the game interaction method further comprising:

and the second spectator end acquires the first game data, the fourth game data and the video stream from the live broadcast server, and renders a first game layer in the video stream according to the first game data and the fourth game data to form a first game interface.

3. The game interaction method of claim 1, wherein the first game data further comprises a first play rule, the fourth game data further comprises a fourth play rule, and the step of rendering a first game layer in the video stream by the anchor according to the first game data and the fourth game data to form a first game interface comprises:

and the anchor terminal renders the first game item to the video stream according to the first launching rule, and renders the fourth game item to the video stream according to the fourth launching rule, so as to render a first game layer in the video stream, and a first game interface is formed.

4. The game interaction method of claim 3, wherein the first game interface is provided with a first controlled object, the first game object comprises a cancel prop and/or a benefit prop, the fourth game object comprises a bomb prop, a freeze prop, and/or a defeat prop, the game interaction method further comprising:

the anchor terminal acquires a first control instruction of an anchor and controls the first controlled object to move in the first game interface according to the first control instruction;

if the first controlled object collides with the elimination prop, the anchor end renders a preset freezing special effect to the first game interface, eliminates the first game prop and the fourth game prop displayed in the first game interface within a preset time, and increases a first score of the anchor end;

if the first controlled object collides with the benefit prop, the anchor terminal renders a preset special effect to the first game interface, eliminates the benefit prop from the first game interface, and increases the benefit of the anchor terminal;

if the first controlled object collides with the bomb property, the anchor end renders a preset visual special effect and a preset sound special effect to the first game interface, eliminates the first controlled object and the bomb property from the first game interface, and reduces a first score of the anchor end;

if the first controlled object collides with the frozen prop, the anchor end renders a preset frozen special effect to the first game interface, and reduces the moving speed of the first controlled object;

if the first controlled object collides with the failure prop, the anchor end renders a preset frozen character to the first game interface, and prohibits updating the first score within a preset time;

the server acquires the first credit from the anchor terminal, acquires the second credit from the first spectator terminal, generates a game result according to the first credit and the second credit, and sends the game result to the anchor terminal and the first spectator terminal.

5. A game interaction method as claimed in claim 1, wherein the step of said server obtaining said first tally from said anchor terminal and said second tally from said first spectator terminal, and generating a game result based on said first tally and said second tally, and transmitting said game result to said anchor terminal and said first spectator terminal comprises:

the server acquires the first point from the anchor terminal at preset time intervals, and acquires the second point from the first audience terminal at the preset time intervals;

comparing the first score and the second score to form a score ranking;

transmitting the score ranking to the anchor peer and the first viewer peer.

6. The game interaction method of claim 3, wherein the first game object further comprises a treatment object, the game interaction method further comprising:

if the first controlled object collides with the treatment prop, the anchor end increases the energy of the anchor to increase the number or the moving speed of the first controlled object.

7. A game interaction method for an anchor side, the game interaction method comprising:

the method comprises the steps of obtaining a video stream and first operation data of a main broadcast, sending the video stream to a live broadcast server, sending the first operation data to a game server through the live broadcast server, enabling the game server to obtain first game data and second game data according to the first operation data, and enabling the game server to send the second game data to a first audience through the live broadcast server;

acquiring fourth game data from the game server through the live broadcast server, wherein the fourth game data are generated by the game server according to second operation data of the first spectator;

rendering a first game layer in the video stream according to the first game data and the fourth game data to form a first game interface, wherein the first game data includes a first game prop, the second game data includes a second game prop, and the fourth game data includes a fourth game prop.

8. A live system, characterized in that the live system comprises: the system comprises a live broadcast server, a game server, a main broadcast end and a first audience end, wherein the main broadcast end acquires a video stream and first operation data of a main broadcast and sends the video stream to the live broadcast server, the first operation data is sent to the game server through the live broadcast server, and the first audience end acquires second operation data and sends the second operation data to the game server through the live broadcast server;

the game server acquires first game data and second game data according to the first operation data, acquires third game data and fourth game data according to the second operation data, and sends the first game data, the second game data, the third game data and the fourth game data to the live broadcast server;

the live broadcast server sends the first game data and the fourth game data to the anchor terminal, and sends the video stream, the second game data and the third game data to the first spectator terminal;

the anchor terminal renders a first game layer in the video stream according to the first game data and the fourth game data to form a first game interface, and the first spectator terminal renders a second game layer in the video stream according to the second game data and the third game data to form a second game interface, wherein the first game data includes a first game item, the second game data includes a second game item, the third game data includes a third game item, and the fourth game data includes a fourth game item.

9. An electronic device comprising a processor and communication circuitry, the processor coupled with the communication circuitry; the communication circuit is used for acquiring a video stream and first operation data of a main broadcast, and sending the video stream to a live broadcast server, so that the first operation data is sent to a game server through the live broadcast server, the game server acquires first game data and second game data according to the first operation data, and the game server sends the second game data to a first audience through the live broadcast server;

the communication circuit is further used for acquiring fourth game data from the game server through the live broadcast server, wherein the fourth game data are generated by the game server according to second operation data of the first spectator;

the processor is configured to render a first game layer in the video stream according to the first game data and the fourth game data to form a first game interface, where the first game data includes a first game item, the second game data includes a second game item, and the fourth game data includes a fourth game item.

10. An apparatus having a storage function, characterized in that program data is stored, the program data being executable to implement the game interaction method of any one of claims 1 to 7.

Technical Field

The present application relates to the field of live broadcast technologies, and in particular, to a game interaction method, a live broadcast system, an electronic device, and an apparatus having a storage function.

Background

With the development of internet technology and the application development of intelligent devices, live broadcast platforms have diversified live broadcast contents, such as online entertainment or live game broadcast.

In the current live broadcast technology, the interaction mode of the anchor and the audience is mainly to interact with the anchor through the anchor, or the audience interacts with the audience through the modes of gift sending, public screen speaking, wheat connection and the like, and the interaction is lack of interestingness.

Disclosure of Invention

The technical problem mainly solved by the application is to provide a game interaction method, a live broadcast system, electronic equipment and a device with a storage function, so that the interaction between a main broadcast and audiences can be increased, and the interestingness of live broadcast interaction is improved.

In order to solve the technical problem, the application provides a game interaction method. The game interaction method is used for a live broadcast system, the live broadcast system comprises a live broadcast server, a game server, a main broadcast end and a first audience end, and the game interaction method comprises the following steps: the method comprises the steps that a main broadcast end obtains a video stream and first operation data of the main broadcast, the video stream is sent to a live broadcast server, the first operation data is sent to a game server through the live broadcast server, and a first audience end obtains second operation data and sends the second operation data to the game server through the live broadcast server; the game server acquires first game data and second game data according to the first operation data, acquires third game data and fourth game data according to the second operation data, and sends the first game data, the second game data, the third game data and the fourth game data to the live broadcast server; the live broadcast server sends the first game data and the fourth game data to the anchor terminal, and sends the video stream, the second game data and the third game data to the first spectator terminal; the anchor terminal renders a first game layer in the video stream according to the first game data and the fourth game data to form a first game interface, and the first spectator terminal renders a second game layer in the video stream according to the second game data and the third game data to form a second game interface, wherein the first game data includes a first game item, the second game data includes a second game item, the third game data includes a third game item, and the fourth game data includes a fourth game item.

In order to solve the technical problem, the application provides a game interaction method. The game interaction method is used for an anchor terminal, and comprises the following steps: the method comprises the steps of obtaining a video stream and first operation data of a main broadcast, sending the video stream to a live broadcast server, sending the first operation data to a game server through the live broadcast server, enabling the game server to obtain first game data and second game data according to the first operation data, and enabling the game server to send the second game data to a first audience through the live broadcast server; acquiring fourth game data from the game server through the live broadcast server, wherein the fourth game data are generated by the game server according to second operation data of the first spectator; rendering a first game layer in the video stream according to the first game data and the fourth game data to form a first game interface, wherein the first game data includes a first game prop, the second game data includes a second game prop, and the fourth game data includes a fourth game prop.

In order to solve the technical problem, the application provides a live broadcast system. The live broadcast system includes: the system comprises a live broadcast server, a game server, a main broadcast end and a first audience end, wherein the main broadcast end acquires a video stream and first operation data of a main broadcast and sends the video stream to the live broadcast server, the first operation data is sent to the game server through the live broadcast server, and the first audience end acquires second operation data and sends the second operation data to the game server through the live broadcast server; the game server acquires first game data and second game data according to the first operation data, acquires third game data and fourth game data according to the second operation data, and sends the first game data, the second game data, the third game data and the fourth game data to the live broadcast server; the live broadcast server sends the first game data and the fourth game data to the anchor terminal, and sends the video stream, the second game data and the third game data to the first spectator terminal; the anchor terminal renders a first game layer in the video stream according to the first game data and the fourth game data to form a first game interface, and the first spectator terminal renders a second game layer in the video stream according to the second game data and the third game data to form a second game interface, wherein the first game data includes a first game item, the second game data includes a second game item, the third game data includes a third game item, and the fourth game data includes a fourth game item.

In order to solve the technical problem, the application provides an electronic device. The electronic device comprises a processor and communication circuitry, the processor coupled with the communication circuitry; the communication circuit is used for acquiring a video stream and first operation data of a main broadcast, and sending the video stream to a live broadcast server, so that the first operation data is sent to a game server through the live broadcast server, the game server acquires first game data and second game data according to the first operation data, and the game server sends the second game data to a first audience through the live broadcast server; the communication circuit is further used for acquiring fourth game data from the game server through the live broadcast server, wherein the fourth game data are generated by the game server according to second operation data of the first spectator; the processor is configured to render a first game layer in the video stream according to the first game data and the fourth game data to form a first game interface, where the first game data includes a first game item, the second game data includes a second game item, and the fourth game data includes a fourth game item.

In order to solve the above technical problem, the present application provides a device with a storage function. The device with the storage function stores program data which can be executed to realize the game interaction method.

Compared with the prior art, the beneficial effects of this application are: the game interaction method is used for a live broadcast system, the live broadcast system comprises a live broadcast server, a game server, a main broadcast end and a first audience end, and the game interaction method comprises the following steps: the method comprises the steps that a main broadcast end obtains a video stream and first operation data of the main broadcast and sends the video stream to a live broadcast server, the first operation data are sent to a game server through the live broadcast server, and a first audience end obtains second operation data and sends the second operation data to the game server through the live broadcast server; the game server acquires first game data and second game data according to the first operation data, acquires third game data and fourth game data according to the second operation data, and sends the first game data, the second game data, the third game data and the fourth game data to the live broadcast server; the live broadcast server sends the first game data and the fourth game data to the anchor terminal and sends the video stream, the second game data and the third game data to the first spectator terminal; the method comprises the steps that a first game layer is rendered in a video stream by a main broadcasting end according to first game data and fourth game data to form a first game interface, a second game layer is rendered in the video stream by a first spectator end according to second game data and third game data to form a second game interface, wherein the first game data comprise first game props, the second game data comprise second game props, the third game data comprise third game props, and the fourth game data comprise fourth game props. Through the mode, second game data can be generated according to first control data of the anchor end, the first audience end can render the first audience end on a game layer according to the second game data, fourth game data can be generated according to second control data of the first audience end, the anchor end can render the anchor end on the game layer according to the fourth game data, the anchor and the audiences can directly conduct game live broadcast interaction, the anchor and the audiences are increased through the use of props, game and other processes in the game process, and the interest of the live broadcast interaction can be increased.

Drawings

FIG. 1 is a schematic structural diagram of an embodiment of a live broadcast system of the present application;

FIG. 2 is a schematic flow chart diagram illustrating an embodiment of a game interaction method of the present application;

FIG. 3 is a schematic view of a game interface of the live system of the embodiment of FIG. 1;

FIG. 4 is a partial flow diagram of an embodiment of a game interaction method of the present application;

FIG. 5 is a schematic view of a game interface of the live system of the embodiment of FIG. 1;

FIG. 6 is a detailed flowchart of step S408 in the embodiment of FIG. 4;

FIG. 7 is a partial flow chart of a specific flow of S601 in the embodiment of FIG. 6;

FIG. 8 is a schematic flow chart diagram illustrating an embodiment of a game interaction method of the present application;

FIG. 9 is a schematic flow chart diagram illustrating an embodiment of a game interaction method of the present application;

FIG. 10 is a schematic flow chart of a collision detection method in the interaction method of the present application;

FIG. 11 is a schematic structural diagram of an embodiment of an electronic device of the present application;

FIG. 12 is a schematic structural diagram of an embodiment of an apparatus for implementing a storage function.

Detailed Description

The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, 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 application.

The present application first proposes a game interaction method, which can be applied to the live broadcast system 10 shown in fig. 1. The live system 10 comprises a host terminal 11, a live server 13, a game server 33 and a first spectator terminal 12.

In the live broadcast process, the anchor terminal 11 and the first viewer terminal 12 are connected with the live broadcast server 13, so that the anchor terminal 11 and the first viewer terminal 12 perform live broadcast through the live broadcast server 13, and the game server 33 is connected with the live broadcast server 13 to acquire game data according to the live broadcast operation data.

The terminal device corresponding to the anchor terminal 11 may be an electronic device such as a smart phone, a tablet computer, a notebook computer, a computer, or a wearable device, and the terminal device corresponding to the first viewer terminal 12 may be an electronic device such as a smart phone, a tablet computer, a notebook computer, a computer, or a wearable device.

The anchor terminal 11 and the first viewer terminal 12 may establish a wireless connection, such as WIFI, bluetooth, or ZigBee, with the server 13.

Further, the live broadcasting system 10 further includes a second viewer end 23, and the second viewer end 23 can watch the live broadcasting process of the main broadcasting end 11 and the first viewer end 12.

As shown in fig. 2, the game interaction method of the present embodiment includes the following steps:

step S201: the anchor terminal 11 acquires the video stream of the anchor and the first operation data, and transmits the video stream to the live broadcast server 13, and transmits the first operation data to the game server 33 through the live broadcast server 13, and the first viewer terminal 12 acquires the second operation data, and transmits the second operation data to the game server 33 through the live broadcast server 13.

Anchor 11 can obtain first game props and second game props (as shown in fig. 3) through modes such as purchasing before starting the game to send second game props to live server 13, and live server 13 records second game props that anchor 11 purchased.

Further, anchor terminal 11 may also send purchase information of the first game item to live broadcast server 13, so that live broadcast server 13 manages and controls use of the first game item.

Similarly, the first spectator end 12 may obtain the third game item and the fourth game item by purchasing and the like before starting the game, and send the fourth game item to the live broadcast server 13, where the live broadcast server 13 records the fourth game item purchased by the first spectator end 12. First spectator 12 may also send purchase information for the third game item to live server 13, so that live server 13 manages use of the third game item.

The first game prop and the third game prop can be reward props, such as elimination props and welfare props (red diamonds, royal horses, micro signals and the like), and different rendering effects of the reward props in the game interface are different, such as a specific distinction degree is visually generated in the falling process, so that the main broadcasting end can distinguish the reward props; the second game prop and the fourth game prop can be punished props, such as bombs, frozen props, invalid props and the like, and different punishment props have different rendering effects in the game interface, for example, a specific distinction degree can be visually observed in the falling process, so that the main broadcasting end can distinguish the punishment props.

In the game process, the anchor terminal 11 obtains first operation data of the anchor, for example, the use of game props and the control of controlled objects, and transmits the first operation data to the game server 33 through the live broadcast server 13, and the first spectator terminal 12 obtains second operation data of the first spectator and transmits the second operation data to the game server 33 through the live broadcast server 13

Step S202: the game server 33 acquires the first game data and the second game data according to the first operation data, acquires the third game data and the fourth game data according to the second operation data, and transmits the first game data, the second game data, the third game data, and the fourth game data to the live broadcast server 13.

Step S203: the live server 13 transmits the first game data and the fourth game data to the anchor terminal 11, and transmits the video stream, the second game data, and the third game data to the first spectator terminal 12.

The game server 33 may generate first game data for the anchor terminal 11 and second game data for the first spectator terminal 12 according to the first operation data of the anchor terminal 11 to increase the interaction between the anchor terminal 11 and the first spectator terminal 12.

Step S204: the anchor terminal 11 renders a first game layer in the video stream according to the first game data and the fourth game data to form a first game interface, and the first spectator terminal 12 renders a second game layer in the video stream according to the second game data and the third game data to form a second game interface, wherein the first game data includes a first game item, the second game data includes a second game item, the third game data includes a third game item, and the fourth game data includes a fourth game item.

Specifically, the first game data further includes a first launch rule, the fourth game data further includes a fourth launch rule, and the anchor 11 may render the first game item to the video stream according to the first launch rule, and render the fourth game item to the video stream according to the fourth launch rule, so as to render the first game layer in the video stream, and form the first game interface; similarly, the second game data further includes a second launching rule, the third game data further includes a third launching rule, and the first spectator end 12 may render the second game item to the video stream according to the second launching rule, and render the third game item to the video stream according to the third launching rule, so as to render the second game layer in the video stream, and form the second game interface.

Wherein, anchor terminal 11 obtains the fourth game item from live broadcast server 13, and first spectator terminal 12 obtains the second game item from live broadcast server 13.

For example, in the game process, the anchor sets a launching rule of the reward item at the anchor terminal 11, and the anchor terminal 11 launches the reward item on the first game interface according to the launching rule; the anchor sets up the rule of puting punishment props at anchor end 11, and live broadcast server 13 sends this punishment props and punishment props the rule of puting punishment props to first spectator end 12, and first spectator end 12 puts this punishment props in second game interface according to this rule of puting in.

The release rules include: the descending speed of the game props, the number of throws at a time, the number of throws, and the like.

Similarly, first spectator end 12 may also implement the rules for the placement and use of third play objects and fourth play objects in the same manner.

In another embodiment, the first game interface is provided with a first controlled object, the first game item comprises a cancellation item and/or a benefit item, and the fourth game item comprises a bomb item, a frozen item, and/or a defeat item, wherein the first controlled object can be a bullet, an airplane, or the like. As shown in fig. 4, the game interaction method of the present embodiment further includes steps S401 to S404 on the basis of the above embodiment:

step S401: the anchor terminal 11 obtains a first control instruction of the anchor, and controls the first controlled object to move in the first game interface according to the first control instruction.

The anchor terminal 11 obtains a first control instruction of the anchor, and controls the first controlled object to move in the first game interface according to the first control instruction, for example, the anchor terminal 11 controls a bullet to move upwards in the first game interface, and makes a relative motion with the descending first game prop and the descending second game prop, as shown in fig. 5.

In addition, the anchor terminal 11 can also control the number and the moving speed of the first controlled object in the first game interface according to different first control instructions of the anchor terminal, for example, touch instructions with different durations.

Step S402: if the first controlled object collides with the elimination item, the anchor terminal 11 renders the preset frozen special effect to the first game interface, eliminates the first game item and the second game item displayed in the first game interface within a preset time, and increases the first score of the anchor terminal 11.

For example, if a bullet collides with the elimination, the anchor terminal 11 displays the freezing effect at the coordinate position of the elimination prop in the first game interface, and spreads the freezing effect to the entire first game interface; the elimination time of the elimination prop can be determined by the grade of the elimination prop, and within the elimination time range, the first game prop and the second game prop which fall automatically will be eliminated automatically, and the first score of the anchor terminal 11 is increased.

Step S403: if the first controlled object collides with the benefit prop, the anchor terminal 11 renders the preset special effect to the first game interface, and removes the benefit prop from the first game interface, thereby increasing the benefit of the anchor terminal.

The welfare property comprises: anchor benefits (red diamond, royal horse, micro signal, etc.); when the first controlled object collides with the benefit prop, the anchor terminal obtains the ID of the benefit prop and sends the ID to the live broadcast server 13, the live broadcast server 13 makes corresponding reward registration and score statistics, for example, benefits (red diamond, royal horse, micro signal, etc.) released by the anchor terminal are displayed when the game is over, and the benefits are issued to the wallet of the anchor in the form of benefit ticket.

In other embodiments, the reward item may also be an official welfare (red diamond, royal horse, carousel lottery ticket).

Step S404: if the first controlled object collides with the treatment prop, the anchor terminal 11 increases the energy of the anchor to increase the number or the moving speed of the first controlled object.

Further, anchor terminal 11 may also obtain treatment props locally.

For example, after a first controlled object collides with a treatment prop, an increase in the amount of blood in the anchor may be triggered, with the more treatment props that collide, the more the amount of blood increases, and the less the amount of blood increases until it is full. Wherein the blood volume may be used to increase the number or the moving speed of the first controlled object.

Further, the second play object comprises a bomb play object, a frozen play object and/or a spent play object, and the method of this embodiment further comprises steps S405 to S407.

Step S405: if the first controlled object collides with the bomb property, the anchor terminal 11 renders the preset visual special effect and the preset sound special effect to the first game interface, and eliminates the first controlled object and the bomb property from the first game interface, thereby reducing the first score of the anchor terminal 11.

If the first controlled object collides with the bomb property, that is, if the first controlled object hits the bomb property, a certain visual effect and a certain sound effect are generated, and in addition, the bomb explosion effect is displayed at the coordinate position of the corresponding bomb property, the live broadcast server 13 deducts the first score and the blood volume of the anchor according to the scoring rule of the game, and the game is ended when the blood volume is deducted.

Step S406: if the first controlled object collides with the frozen prop, the anchor terminal 11 renders the preset frozen special effect to the first game interface, and reduces the moving speed of the first controlled object.

If the first controlled object collides with the frozen prop, the freezing effect is displayed at the coordinate position of the frozen prop and is diffused to the whole first game interface, the freezing time is determined by the grade of the frozen prop, and the transmitting speed and the moving speed of the first controlled object are slowed down by the anchor terminal 11 in a coordinate calculation mode within the freezing time range.

Step S407: if the first controlled object collides with the disabled prop, the anchor terminal 11 renders the preset frozen character to the first game interface, and prohibits updating the first score within a preset time.

If the first controlled object collides with the failure prop, a freezing effect is displayed at the coordinate position of the failure prop and is diffused to the whole first game interface, the failure time is determined by the grade of the failure prop, and in the failure time range, any game prop collided by the first controlled object is not counted into the first score until the countdown is finished.

The game interaction method of the first spectator terminal 12 is similar to that of the anchor terminal 11, and will not be described herein.

Further, the method of the present embodiment further includes step S408.

Step S408: the live broadcast server 13 acquires the first tally from the anchor terminal 11, acquires the second tally from the first spectator terminal 12, generates a game result according to the first tally and the second tally, and transmits the game result to the anchor terminal 11 and the first spectator terminal 12.

Specifically, the present embodiment may implement step S408 by the method as shown in fig. 6, and the method of the present embodiment includes step S601 to step S603.

Step S601: the live server 13 obtains the first tally from the anchor terminal 11 at preset time intervals and obtains the second tally from the first viewer terminal 12 at preset time intervals.

Step S602: the first and second points are compared to form a point ranking.

Step S603: the score ranking is sent to the anchor peer 11 and the first viewer peer 12.

Further, the live server 13 sends the first integral of the anchor terminal 11 to the first viewer terminal 12, and sends the second integral of the first viewer terminal 12 to the anchor terminal 11.

In this way, the anchor peer 11 and the first viewer peer 12 can view the points and the ranking at preset time intervals (as shown in fig. 7).

The anchor and the audience can directly carry out live broadcast interaction of the game through the game interaction method, and the interestingness of the game can be increased and the interaction between the anchor and the audience can be increased through the processes of scoring, using props, playing games and the like in the game process.

In other embodiments, the play items are not limited to the play items described above; the game props can be obtained in the live game process and are rendered to a game interface, so that the game competition difficulty is increased, and the interest of live game is improved.

In the live broadcast process, a main broadcast and audiences carry out game interaction and a game PK, and the game is live broadcast to generate more live broadcast contents through the games of happy interplanetary, outsiders together playing, mini bears together playing and the like; in the game interaction process, awards (red diamonds, royal horses, micro-signals and the like) are issued by the official and the anchor to cause a pop point, and at the moment, the anchor and audiences can purchase various game props, bullets, energy and the like in the game process to play with the anchor, so that more contents in live broadcast ecology are generated, and the development of the live broadcast ecology is promoted.

As shown in fig. 8, the anchor of the anchor terminal 11 starts a star wars play game, selects to fight with the audience, and then locally obtains punished props, awarded props and treatment props, and simultaneously forwards the punished props to the first audience terminal 12 through the live broadcast server 13; the anchor end 11 starts a game, renders game props to a game interface, carries out point counting, sends the point counting to the live broadcast server 13 according to preset time, carries out point counting after finishing the game, and the live broadcast server 13 respectively carries out the division counting of the anchor and audiences according to the point counting of the anchor end 11 and the point counting of the first audience end 12; the live broadcast server 13 updates the list ranking according to the point statistics of the anchor terminal 11 and the point statistics of the first audience terminal 12 to obtain the competition results of the anchor and the audience, and simultaneously, the list ranking can be shared to a third party.

Further, if a plurality of first spectators 12 participate in the game, the average points of the spectators participating in the game need to be counted, the average points are compared with the points of the anchor terminal 11, and if the anchor terminal 11 wins, the anchor can additionally obtain a certain reward from the participation pool of the spectators; if the anchor side 11 loses, the viewer can receive a specific return prize from the anchor bonus pool.

The list comprises a ranking list, a main broadcasting list and a week list, wherein the ranking list is a game ranking obtained by a main broadcasting or audience participating in the round of ranking; the anchor list is a ranking formed by game credits of players obtained by an anchor who starts the game playing method; the week list is used for counting the points participation ranking of the players in the week.

The first spectator terminal 12 may obtain the free participation ticket by not limited to: 1) the system can enter a specified live broadcast room to obtain free participation tickets through official release characteristics and full service broadcast; 2) the viewer or the anchor may give a free participation ticket in the form of a gift; 3) the audience obtains free participation tickets through sharing, but the sharing for the first participation of the new equipment is only limited to be effective, and the audience not obtaining the free participation tickets needs to charge a specific fee if the audience participates in the free participation tickets.

Further, in another embodiment, the game interaction method of the present embodiment further includes step S1301 on the basis of the above embodiment.

Step S1301: the second spectator terminal 23 obtains the first game data, the fourth game data, and the video stream from the live broadcast server 12, and renders the first game layer in the video stream according to the first game data and the fourth game data to form a first game interface.

The related information comprises game elements of the game interface, game props, launching rules of the game props and the like.

The live broadcast server 13 may push the second game data and the third game data to the second spectator terminal 23 according to the selection of the second spectator terminal 23, so that the second spectator terminal 23 views the second game interface of the first spectator terminal 12.

In this embodiment, both the first spectator terminal 12 participating in the game interaction and the second spectator terminal 23 not participating in the game interaction in the live broadcast can see the first game interface of the anchor, and the second spectator terminal 23 can select to view the second game interface of the first spectator terminal 12 participating in the game interaction at the local terminal according to itself, so that the interest of the game interaction can be improved.

The present application further proposes a game interaction method for the anchor terminal 11. As shown in fig. 9, the game interaction method of the present embodiment includes the steps of:

step S901: the video stream of the main broadcast and the first operation data are acquired, the video stream is sent to the live broadcast server 13, the first operation data is sent to the game server 33 through the live broadcast server 13, the game server 33 acquires the first game data and the second game data according to the first operation data, and the game server 33 sends the second game data to the first spectator terminal 12 through the live broadcast server.

Step S902: the fourth game data is acquired from the game server 33 through the live server 13, and the fourth game data is generated by the game server 33 according to the second operation data of the first spectator terminal 23.

Step S903: rendering the first game layer in the video stream according to the first game data and the fourth game data to form a first game interface, wherein the first game data includes a first game item, the second game data includes a second game item, and the fourth game data includes a fourth game item.

The game interaction process of the first spectator terminal 12 is similar to that of the anchor terminal 11, and will not be described in detail here.

Further, the present embodiment may implement the collision detection between the controlled object and the virtual object in a manner as shown in fig. 10, and the method of the present embodiment includes the following steps:

step S1001: and acquiring the controlled object and the virtual object in the interactive interface.

Step S1002: and acquiring a first coordinate value of the center point of the controlled object and a second coordinate value of the center point of the virtual object.

For example, the shapes of the controlled object and the virtual object may be set to be circular, the center point of the circular is used as the center point, and the anchor acquires a first coordinate value of the center point of the controlled object and a second coordinate value of the center point of the virtual object.

Of course, in other embodiments, the shapes of the controlled object and the virtual object may be set to other axisymmetric or centrosymmetric patterns.

Step S1003: and acquiring the distance between the controlled object and the virtual object according to the first coordinate value and the second coordinate value.

Step S1004: and if the distance is smaller than the preset distance, judging that the controlled object and the virtual object collide.

Wherein the preset distance is greater than or equal to the sum of the radius of the controlled object and the radius of the virtual object.

The game props can be acquired in the interaction process, so that the interaction difficulty is increased, and the interest of live broadcast interaction is further increased.

The present application further proposes a live broadcast system, as shown in fig. 1, the live broadcast system 10 includes: the live broadcast server 13, the game server 33, the anchor terminal 11 and the first audience terminal 12, wherein the anchor terminal 11 obtains a video stream and first operation data of an anchor and sends the video stream to the live broadcast server 13, the first operation data is sent to the game server 33 through the live broadcast server 13, and the first audience terminal 12 obtains second operation data and sends the second operation data to the game server 33 through the live broadcast server 13; the game server 33 acquires first game data and second game data according to the first operation data, acquires third game data and fourth game data according to the second operation data, and sends the first game data, the second game data, the third game data and the fourth game data to the live broadcast server 13; the live broadcast server 13 sends the first game data and the fourth game data to the anchor terminal 11, and sends the video stream, the second game data and the third game data to the first spectator terminal 12; the anchor terminal 11 renders a first game layer in the video stream according to the first game data and the fourth game data to form a first game interface, and the first spectator terminal 12 renders a second game layer in the video stream according to the second game data and the third game data to form a second game interface, wherein the first game data includes a first game item, the second game data includes a second game item, the third game data includes a third game item, and the fourth game data includes a fourth game item.

The live system 10 is also used to implement the above-mentioned game interaction method, which is not described herein.

The electronic device of an embodiment is further proposed, as shown in fig. 11, the electronic device 30 includes a processor 310 and a communication circuit 320, the processor 310 is coupled to the communication circuit 320; the communication circuit 320 is configured to obtain a video stream of a main broadcast and first operation data, and send the video stream to the live broadcast server 13, so as to send the first operation data to the game server 33 through the live broadcast server 13, so that the game server 33 obtains first game data and second game data according to the first operation data, and so that the game server 33 sends the second game data to the first spectator terminal 12 through the live broadcast server 13; the communication circuit 320 is further configured to obtain fourth game data from the game server 33 through the live server 13, where the fourth game data is generated by the game server 33 according to the second operation data of the first spectator terminal 12; processor 320 is configured to render a first game layer in the video stream according to first game data and fourth game data to form a first game interface, wherein the first game data includes a first game item, the second game data includes a second game item, and the fourth game data includes a fourth game item.

The electronic device 30 is also used for implementing the above game interaction method, which is not described herein.

The processor 310 may also be referred to as a Central Processing Unit (CPU). The processor 310 may be an integrated circuit chip having signal processing capabilities. The processor 310 may also be a general purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components.

As shown in fig. 12, the apparatus 40 with storage function of this embodiment is used to store the related data 420 and the program data 410 of the above embodiment, where the related data 420 at least includes the above game objects, game layers, and the like, and the program data 410 can be executed by the method of the above method embodiment. The related data 420 and the program data 410 have been described in detail in the above method embodiments, and are not described herein again.

The device 40 with storage function of the present embodiment can be, but is not limited to, a usb disk, an SD card, a PD optical drive, a mobile hard disk, a mass floppy drive, a flash memory, a multimedia memory card, a server, etc.

Different from the prior art, the game interaction method in the embodiment of the application is used for a live broadcast system, the live broadcast system comprises a live broadcast server, a game server, a main broadcast end and a first audience end, and the game interaction method comprises the following steps: the method comprises the steps that a main broadcast end obtains a video stream and first operation data of the main broadcast and sends the video stream to a live broadcast server, the first operation data are sent to a game server through the live broadcast server, and a first audience end obtains second operation data and sends the second operation data to the game server through the live broadcast server; the game server acquires first game data and second game data according to the first operation data, acquires third game data and fourth game data according to the second operation data, and sends the first game data, the second game data, the third game data and the fourth game data to the live broadcast server; the live broadcast server sends the first game data and the fourth game data to the anchor terminal and sends the video stream, the second game data and the third game data to the first spectator terminal; the method comprises the steps that a first game layer is rendered in a video stream by a main broadcasting end according to first game data and fourth game data to form a first game interface, a second game layer is rendered in the video stream by a first spectator end according to second game data and third game data to form a second game interface, wherein the first game data comprise first game props, the second game data comprise second game props, the third game data comprise third game props, and the fourth game data comprise fourth game props. Through the mode, second game data can be generated according to first control data of the anchor end, the first audience end can render the first audience end on a game layer according to the second game data, fourth game data can be generated according to second control data of the first audience end, the anchor end can render the anchor end on the game layer according to the fourth game data, the anchor and the audiences can directly conduct game live broadcast interaction, the anchor and the audiences are increased through the use of props, game and other processes in the game process, and the interest of the live broadcast interaction can be increased.

In addition, if the above functions are implemented in the form of software functions and sold or used as a standalone product, the functions may be stored in a storage medium readable by a mobile terminal, that is, the present application also provides a storage device storing program data, which can be executed to implement the method of the above embodiments, the storage device may be, for example, a usb disk, an optical disk, a server, etc. That is, the present application may be embodied as a software product, which includes several instructions for causing an intelligent terminal to perform all or part of the steps of the methods described in the embodiments.

In the description of the present application, reference to the description of the terms "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present application. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.

Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present application, "plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.

Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and the scope of the preferred embodiments of the present application includes other implementations in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present application.

The logic and/or steps represented in the flowcharts or otherwise described herein, such as an ordered listing of executable instructions that can be viewed as implementing logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device (e.g., a personal computer, server, network device, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions). For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory. The above description is only for the purpose of illustrating embodiments of the present application and is not intended to limit the scope of the present application, and all modifications of equivalent structures and equivalent processes, which are made by the contents of the specification and the drawings of the present application or are directly or indirectly applied to other related technical fields, are also included in the scope of the present application.

23页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种网络视频监控系统

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类