CN115484472B - Method and device for playing and processing special effect in live broadcasting room, electronic equipment and storage medium - Google Patents

Method and device for playing and processing special effect in live broadcasting room, electronic equipment and storage medium Download PDF

Info

Publication number
CN115484472B
CN115484472B CN202211167838.0A CN202211167838A CN115484472B CN 115484472 B CN115484472 B CN 115484472B CN 202211167838 A CN202211167838 A CN 202211167838A CN 115484472 B CN115484472 B CN 115484472B
Authority
CN
China
Prior art keywords
special effect
playing
azimuth
target event
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202211167838.0A
Other languages
Chinese (zh)
Other versions
CN115484472A (en
Inventor
许英俊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Cubesili Information Technology Co Ltd
Original Assignee
Guangzhou Cubesili Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Cubesili Information Technology Co Ltd filed Critical Guangzhou Cubesili Information Technology Co Ltd
Priority to CN202211167838.0A priority Critical patent/CN115484472B/en
Publication of CN115484472A publication Critical patent/CN115484472A/en
Application granted granted Critical
Publication of CN115484472B publication Critical patent/CN115484472B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • H04N21/2187Live feed
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/4788Supplemental services, e.g. displaying phone caller identification, shopping application communicating with other users, e.g. chatting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/81Monomedia components thereof
    • H04N21/816Monomedia components thereof involving special video data, e.g 3D video

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The application relates to the technical field of live broadcasting, and provides a method, a device, equipment and a storage medium for playing and processing special effects in a live broadcasting room. The application can expand and enrich the special effect playing modes of the live broadcasting room and simultaneously improve the playing efficiency. The method comprises the following steps: providing a plurality of special effect playing directions, acquiring special effect playing direction information of a target event in a living broadcast room and special effect playing form information corresponding to the direction information, determining a target direction for playing a special effect corresponding to the target event in the plurality of special effect playing directions according to the special effect playing direction information, and then playing the special effect corresponding to the target event according to the special effect playing form information in the target direction.

Description

Method and device for playing and processing special effect in live broadcasting room, electronic equipment and storage medium
Technical Field
The present application relates to the field of live broadcasting technologies, and in particular, to a live broadcasting room trick play method, a live broadcasting room trick processing device, an electronic device, and a computer readable storage medium.
Background
With the development of live broadcasting technology, more and more modes are available in a live broadcasting room for users to interact with a host broadcasting room and among users, and playing special effects in the live broadcasting room is one mode. For example, after entering the living broadcast room, the user can interact with the anchor by way of gift sending and the like, and after detecting the user gift sending, the corresponding gift special effect can be played in the living broadcast room.
However, the playing scheme of the special effect in the living broadcast room provided by the current technology is usually to display at a specific position in the middle of the living broadcast room and needs to be played one by one, which has the technical problems of single playing form and low efficiency in the living broadcast room.
Disclosure of Invention
Based on the foregoing, it is necessary to provide a live broadcasting room trick play method, a live broadcasting room trick processing method, a device, an electronic apparatus and a computer readable storage medium.
In a first aspect, the present application provides a method for trick play in a live room. The method is applied to the terminal. The method comprises the following steps:
Providing a plurality of trick play orientations;
Acquiring special effect playing azimuth information of a target event in a live broadcasting room and special effect playing form information corresponding to the special effect playing azimuth information;
Determining a target azimuth for playing the special effect corresponding to the target event in the plurality of special effect playing azimuth according to the special effect playing azimuth information;
and playing the special effect corresponding to the target event according to the special effect playing form information in the target azimuth.
In a second aspect, the application provides a live broadcasting room special effect processing method. The method is applied to the server. The method comprises the following steps:
When determining to trigger a target event in a live broadcasting room, acquiring special effect playing azimuth information of the target event in the live broadcasting room and special effect playing form information corresponding to the special effect playing azimuth information;
And sending the special effect playing azimuth information and special effect playing form information corresponding to the special effect playing azimuth information to a terminal so that the terminal can determine a target azimuth for playing the special effect corresponding to the target event in a plurality of special effect playing azimuth according to the special effect playing azimuth information, and playing the special effect corresponding to the target event according to the special effect playing form information in the target azimuth.
In a third aspect, the present application provides a live room trick-play apparatus. The method is applied to the terminal. The device comprises:
the azimuth providing module is used for providing a plurality of special effect playing azimuth;
the information acquisition module is used for acquiring the special effect playing azimuth information of the target event in the live broadcasting room and the special effect playing form information corresponding to the special effect playing azimuth information;
the azimuth determining module is used for determining a target azimuth for playing the special effect corresponding to the target event in the plurality of special effect playing azimuth according to the special effect playing azimuth information;
And the special effect playing module is used for playing the special effect corresponding to the target event according to the special effect playing form information in the target azimuth.
In a fourth aspect, the present application provides a device for processing special effects in a live broadcasting room. The method is applied to the server. The device comprises:
the information acquisition module is used for acquiring the special effect playing azimuth information of the target event in the live broadcasting room and the special effect playing form information corresponding to the special effect playing azimuth information when the target event in the live broadcasting room is triggered;
And the information sending module is used for sending the special effect playing azimuth information and special effect playing form information corresponding to the special effect playing azimuth information to a terminal so that the terminal can determine a target azimuth for playing the special effect corresponding to the target event in a plurality of special effect playing azimuth according to the special effect playing azimuth information, and play the special effect corresponding to the target event according to the special effect playing form information in the target azimuth.
In a fifth aspect, the present application provides an electronic device. The electronic device comprises a memory and a processor, the memory stores a computer program, and the processor executes the computer program to realize the following steps:
providing a plurality of trick play orientations; acquiring special effect playing azimuth information of a target event in a live broadcasting room and special effect playing form information corresponding to the special effect playing azimuth information; determining a target azimuth for playing the special effect corresponding to the target event in the plurality of special effect playing azimuth according to the special effect playing azimuth information; and playing the special effect corresponding to the target event according to the special effect playing form information in the target azimuth.
In a sixth aspect, the present application provides an electronic device. The electronic device comprises a memory and a processor, the memory stores a computer program, and the processor executes the computer program to realize the following steps:
When determining to trigger a target event in a live broadcasting room, acquiring special effect playing azimuth information of the target event in the live broadcasting room and special effect playing form information corresponding to the special effect playing azimuth information; and sending the special effect playing azimuth information and special effect playing form information corresponding to the special effect playing azimuth information to a terminal so that the terminal can determine a target azimuth for playing the special effect corresponding to the target event in a plurality of special effect playing azimuth according to the special effect playing azimuth information, and playing the special effect corresponding to the target event according to the special effect playing form information in the target azimuth.
In a seventh aspect, the present application provides a computer-readable storage medium. The computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of:
providing a plurality of trick play orientations; acquiring special effect playing azimuth information of a target event in a live broadcasting room and special effect playing form information corresponding to the special effect playing azimuth information; determining a target azimuth for playing the special effect corresponding to the target event in the plurality of special effect playing azimuth according to the special effect playing azimuth information; and playing the special effect corresponding to the target event according to the special effect playing form information in the target azimuth.
In an eighth aspect, the present application provides a computer-readable storage medium. The computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of:
When determining to trigger a target event in a live broadcasting room, acquiring special effect playing azimuth information of the target event in the live broadcasting room and special effect playing form information corresponding to the special effect playing azimuth information; and sending the special effect playing azimuth information and special effect playing form information corresponding to the special effect playing azimuth information to a terminal so that the terminal can determine a target azimuth for playing the special effect corresponding to the target event in a plurality of special effect playing azimuth according to the special effect playing azimuth information, and playing the special effect corresponding to the target event according to the special effect playing form information in the target azimuth.
The method, the device, the equipment and the storage medium for playing and processing the special effect in the living broadcast room provide a plurality of special effect playing directions, acquire special effect playing direction information of a target event in the living broadcast room and special effect playing form information corresponding to the direction information, determine a target direction for playing a special effect corresponding to the target event in the plurality of special effect playing directions according to the special effect playing direction information, and then play the special effect corresponding to the target event according to the special effect playing form information in the target direction. According to the scheme, the special effects corresponding to various events can be played in the playing modes corresponding to the positions on the plurality of special effect playing positions, so that the playing of the special effects corresponding to the events can be carried by the positions, the effect that the special effects corresponding to the events can be played in parallel by the positions is generated, the broadcasting mode of the special effect playing of the live broadcasting room is expanded and enriched, and meanwhile, the broadcasting efficiency of the special effect playing of the live broadcasting room is improved.
Drawings
FIG. 1 is an application scenario diagram of a related method in an embodiment of the present application;
Fig. 2 is a flow chart of a specific playing method in a live broadcasting room in an embodiment of the application;
FIG. 3 is a schematic diagram of a trick-play direction in an embodiment of the present application;
FIG. 4 is a schematic diagram of a trick play direction and angle according to an embodiment of the present application;
FIG. 5 is a schematic diagram of a playing position in an embodiment of the present application;
FIG. 6 is a flowchart illustrating steps for processing a trick play queue according to an embodiment of the present application;
FIG. 7 is a schematic diagram of a specific multi-azimuth playing effect in an embodiment of the present application;
fig. 8 is a schematic flow chart of a specific effect processing method in a live broadcasting room in an embodiment of the application;
fig. 9 is a block diagram of a specific play device in a live broadcasting room according to an embodiment of the present application;
Fig. 10 is a block diagram of a specific processing device in a live broadcasting room according to an embodiment of the present application;
FIG. 11 is an internal block diagram of an electronic device in an embodiment of the application;
Fig. 12 is an internal structural diagram of an electronic device in another embodiment of the present application.
Detailed Description
The present application will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present application more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application.
The live broadcasting room special effect playing method and the live broadcasting room special effect processing method provided by the application can be applied to an application scene shown in fig. 1, wherein the application scene can comprise a terminal 110 and a server 120, the terminal 110 can comprise a plurality of terminals such as a first terminal and a second terminal which are added into a live broadcasting room, the terminal 110 can comprise a terminal used by a host, the terminal can also comprise a terminal used by a user (or called a spectator), each terminal can be respectively communicated with the server 120 through a network, and the server 120 can provide relevant live broadcasting services for each terminal. In the present application, the live broadcasting room trick-play method may be performed by the terminal 110, and the live broadcasting room trick-handling method may be performed by the server 120. In a specific implementation, the terminal 110 may be, but not limited to, various personal computers, notebook computers, smartphones, tablet computers, etc., and the server 120 may be implemented by a stand-alone server or a server cluster formed by a plurality of servers.
The method for playing the special effect in the live broadcasting room and the method for processing the special effect in the live broadcasting room according to the application are sequentially described below based on the application scene shown in fig. 1 in combination with each embodiment and the corresponding drawings.
In one embodiment, as shown in fig. 2, a method for live room trick play is provided, which may be performed by terminal 110, and may include the steps of:
step S201 provides a plurality of trick play orientations.
In this step, the terminal 110 may provide a plurality of trick-play positions for playing the special effect in the live broadcasting room, where the plurality of trick-play positions may be defined based on the screen center, and in connection with fig. 3, the left side of the screen center O may be set to a trick-play position 1, the upper side of the screen center O may be set to a trick-play position 2, the right side of the screen center O may be set to a trick-play position 3, and the lower side of the screen center O may be set to a trick-play position 4, which may be understood that the number of trick-play positions may be further increased according to the actual use requirement, for example, the upper left side of the screen center O may be set to a trick-play position 5, the upper right side of the screen center O may be set to a trick-play position 6, and so on, and how many the number of trick-play positions may be set in connection with consideration of factors such as a screen space utilization rate and an actual trick-play effect.
Step S202, obtaining the special effect playing azimuth information of the target event in the live broadcasting room and the special effect playing form information corresponding to the special effect playing azimuth information.
In this step, the terminal 110 may receive the trick-play azimuth information of the target event in the live room and the trick-play form information corresponding to the trick-play azimuth information from the server 120. The target event in the living broadcast room refers to a target event triggered in the living broadcast room, after the target event is triggered, the server 120 issues the trick play azimuth information of the event and the corresponding trick play form information of the event to the terminal 110 so that the terminal 110 plays the corresponding special effect of the target event according to the information, that is, after the target event is triggered, the terminal 110 will execute the corresponding special effect play, which may be, for example, that a user gives a gift to a host, or a specific user enters the living broadcast room, a specific speech of the user, or the like, which is not limited herein. Whether the target event in the living broadcast room is triggered or not can be determined by the server 120, the server 120 can determine according to the related information provided by the terminal 110, for example, when a second user, which is a specific user, enters the living broadcast room, the server 120 can determine triggering of the target event in the living broadcast room according to the request information of the second terminal joining the living broadcast room, and so on. When the server 120 determines that the target event in the living room triggers, the server 120 may acquire the special effect playing azimuth information and the special effect playing form information for the target event and issue the special effect playing azimuth information to the terminal 110, where the special effect playing azimuth information is used to indicate in which special effect playing azimuth the special effect corresponding to the target event plays, for example, from special effect playing azimuth 1 or special effect playing azimuth 2, the special effect playing form information is used to indicate what form the special effect corresponding to the target event plays, for example, what animation effect is adopted, how to draw out the special effect, etc., and since different special effect playing azimuth needs to correspond to different special effect playing form information, the special effect playing form information acquired by the server 120 corresponds to the special effect playing azimuth information, for example, when a special effect corresponding to the special effect playing azimuth 1 needs to play a special effect coming out from the left screen edge of the screen center O, the special effect playing form information needs to correspond to the special effect playing azimuth 1, so that the special effect can look from the left screen edge, and if the special effect playing form information corresponds to the playing azimuth 2 cannot achieve the effect. The server 120 acquires the trick-play azimuth information and the trick-play form information and transmits the information to the terminal 110, so that the terminal 110 obtains the trick-play azimuth information of the target event and the trick-play form information corresponding to the trick-play azimuth information.
Step S203, determining a target azimuth for playing the special effect corresponding to the target event in the plurality of special effect playing azimuth according to the special effect playing azimuth information.
In this step, after receiving the trick-play azimuth information from the server 120, the terminal 110 may obtain a trick-play azimuth identifier according to the trick-play azimuth information, where the trick-play azimuth identifier may be direction=1, direction=2, and so on, and according to the trick-play azimuth identifier, the terminal 110 may determine, from the foregoing multiple trick-play azimuth identifiers, an azimuth corresponding to the trick-play azimuth identifier as a target azimuth for playing the special effect corresponding to the target event, and if the obtained trick-play azimuth identifier is direction=1, the terminal 110 may determine, from the foregoing multiple trick-play azimuth, a trick-play azimuth 1 as the target azimuth. In some embodiments, the special effect playing azimuth identifier obtained by the terminal 110 may be randomly selected by the server 120, so that on the side of the terminal 110, the target azimuth for playing the special effect corresponding to the target event may be randomly selected by the server 120, thereby giving a certain uncertainty to the playing azimuth of the special effect corresponding to various target events, and when the target event is triggered by a greater number, the target azimuth of each special effect is relatively evenly distributed, which is also beneficial to triggering more users in the live broadcasting room to trigger more target events to display the special effect of each azimuth.
In step S204, in the target azimuth, the special effect corresponding to the target event is played according to the special effect playing form information.
In this step, after determining the target azimuth, the terminal 110 may play the special effect corresponding to the target event according to the special effect play mode information at the target azimuth, and in combination with fig. 3, if the target azimuth is the special effect play azimuth 1, the terminal 110 may play the special effect corresponding to the target event according to the special effect play mode information at the special effect play azimuth 1, and when the terminal 110 plays the special effect corresponding to the target event, the terminal may specifically play the special effect at the position of the screen edge corresponding to the special effect play azimuth 1, or may play the special effect at the position separated from the screen edge corresponding to the special effect play azimuth 1 by a certain distance. In some embodiments, after determining the target azimuth, the terminal 110 may play the special effect corresponding to the target event at an angle according to the special effect play form information corresponding to the target azimuth. The angle formed in the target azimuth may be measured based on a reference line corresponding to the target azimuth, and in combination with fig. 4, it is assumed that the target azimuth is a trick play azimuth 1, and the reference line corresponding to the trick play azimuth 1 may be a reference line L0 perpendicular to the left screen edge, so that the terminal 110 may set an angle A1 based on the reference line L0 as a trick play corresponding to the target event, and a specific angle may be set by the terminal 110 according to the trick play situation, and an exemplary range of the angle A1 may be 0 to 90 degrees. After determining the target azimuth and its angle, the terminal 110 may play the special effect corresponding to the target event according to the special effect play mode information at an angle A1 in the special effect play azimuth 1. In a specific implementation, the terminal 110 may create a corresponding animation component according to the trick-play format information, rotate the animation component by an angle A1 in the trick-play direction 1, so that the animation component presents a certain inclination and direction, and play the animation component to display the special effect corresponding to the target event on the screen. The angle playing can add a certain degree of freedom for playing the special effect, the played special effect can be obviously distinguished from the information which is displayed in the live broadcast picture and tends to be displayed in parallel through angle adjustment or setting, and the special effect can be played by setting corresponding angles on different special effect playing directions according to the utilization rate of screen space.
Thus, for various target events, the terminal 110 may play the special effects corresponding to the target events in parallel in each direction based on a plurality of special effect play directions, and may play the target events in combination with a certain angle based on the directions in which the target events are located, thereby generating a plurality of special effect parallel play effects. However, in some technologies related to video playing at present, there is a scheme of playing the curtains sent by spectators in opposite directions in the video frame according to the camping where spectators are located, but the scheme of playing the curtains of spectators in opposite directions is still essentially to play the curtains of a spectator in a fixed and single direction, and because one spectator is only in one camping, the curtains sent by spectators are fixed in one direction to play the curtains opposite to the directions of the curtains sent by spectators of another camping, which is quite different from the scheme of playing objects and playing modes of the special effects corresponding to the multi-azimuth playing target events, and such scheme cannot achieve the technical effects achieved by the present application.
According to the method for playing the special effect in the live broadcasting room, a plurality of special effect playing directions are provided, special effect playing direction information of a target event in the live broadcasting room and special effect playing form information corresponding to the direction information are obtained, a target direction for playing a special effect corresponding to the target event in the plurality of special effect playing directions is determined according to the special effect playing direction information, and then the special effect corresponding to the target event is played according to the special effect playing form information in the target direction. According to the scheme, the special effects corresponding to various events can be played in the playing modes corresponding to the positions on the plurality of special effect playing positions, so that the playing of the special effects corresponding to the events can be carried by the positions, the effect that the special effects corresponding to the events can be played in parallel by the positions is generated, the broadcasting mode of the special effect playing of the live broadcasting room is expanded and enriched, and meanwhile, the broadcasting efficiency of the special effect playing of the live broadcasting room is improved.
In some embodiments, playing the special effects corresponding to the target event according to the special effect playing form information at the target azimuth in step S204 may include:
Determining a play position at the edge of the screen corresponding to the target azimuth; based on the playing position, playing the special effect corresponding to the target event according to the special effect playing form information.
Specifically, with reference to fig. 5, if the target azimuth is the trick play azimuth 1, the terminal 110 may determine a play position such as the play position P11 or P12 at the left screen edge corresponding to the trick play azimuth 1, and then may play the special effect corresponding to the target event according to the trick play form information based on the play position P11 and may be at a certain angle A1, and the special effect corresponding to the play target event at the screen edge may play the special effect to a certain extent by fully utilizing the screen space and may avoid forming excessive shielding to the middle area of the live broadcast picture to affect the display effect of the live broadcast picture. The play position P11 may be randomly determined by the terminal 110 for the special effect play corresponding to the target event, after the terminal 110 determines that the target azimuth is the special effect play azimuth 1, a y-axis (corresponding to the vertical direction of the screen) value of the screen may be randomly determined to obtain a play position P11 (0, y) at the left screen edge corresponding to the special effect play azimuth 1, then a corresponding animation component is added at the play position P11 (0, y) according to the special effect play form information, and the animation component is rotated by a certain angle A1 to make it present a certain inclination and azimuth, so that the animation component is played to display the special effect corresponding to the target event on the screen, when the special play positions corresponding to the various target events playing in the azimuth are played, the play position P11 may be randomly determined to give a certain uncertainty to the specific play positions of the special effects corresponding to the various target events playing in the azimuth, and when the number of special effects needing to be played in the azimuth increases, the play positions in the azimuth may have a relatively balanced distribution.
In some embodiments, playing the special effects corresponding to the target event according to the special effect playing form information in step S204 may specifically include:
When a first special effect corresponding to a target event is played according to first special effect information in special effect playing form information, if a special effect switching operation triggering the current playing position of the first special effect corresponding to the target event is received and the special effect switching corresponding to the target event does not reach a preset condition, a second special effect corresponding to the target event is played according to second special effect information in special effect playing form information.
In this embodiment, the special effect corresponding to the target event may present multiple special effect forms when playing, where the multiple special effect forms may be triggered by special effect switching operations such as clicking by a user, and exemplary, the special effect corresponding to the target event may be played first in a first special effect (corresponding to one special effect form), and after clicking by the user, if the special effect switching corresponding to the target event does not reach a preset condition, the special effect corresponding to the target event may be played in a second special effect (corresponding to another special effect form), so that the special effect display effect may be improved and the utilization rate of the played special effect may be improved, and the user may trigger clicking to directly induce the special effect to make a richer change. The preset conditions may be that all special effects are switched, or that a special effect reaches a certain playing duration, etc. As a more specific example, the special effect corresponding to the target event includes a first level special effect (corresponding to the first effect in the embodiment) and a second level special effect (corresponding to the second effect in the embodiment), the specific playing forms corresponding to the first level special effect and the second level special effect may be included in the special effect playing form information issued by the server 120, in the embodiment, the information for indicating the specific playing form corresponding to the first level special effect corresponds to the first special effect information, the information for indicating the specific playing form corresponding to the second level special effect corresponds to the second special effect information, so when the special effect corresponding to the target event starts to be played, the terminal 110 may play the first level special effect corresponding to the target event according to the first special effect information in the special effect playing form information, for example, may be a ghost which is not emitted, a flower which is not opened, and so on, in the playing process, the user of the terminal 110 may trigger a special effect switching operation such as clicking at the current playing position of the first level on the screen, when the special effect switching operation is received by the terminal 110, may determine whether the switching corresponding to the target event is preset condition, the preset condition may be the preset, the corresponding to the second level special effect may be clicked, the corresponding to the second level may be played by the terminal 110 may be triggered, and the corresponding to the second level special effect may be played according to the second level information, and the corresponding to the special effect may be triggered by the second level 110, and the corresponding to the special effect may be played.
Based on this, in some embodiments, it may further include: and if the special effect switching operation triggering the first special effect current playing position corresponding to the target event is received and the special effect switching corresponding to the target event reaches the preset condition, applying the special effect switching instruction to the special effect switching corresponding to another target event at the current playing position.
In this embodiment, for playing special effects corresponding to different target events, the terminal 110 may be performed at different special effect playing levels, that is, when the terminal 110 needs to play a special effect corresponding to a target event, a special effect playing level may be created, on which the special effect corresponding to the target event is played, and the playing of special effects corresponding to the target event has a sequence, that is, when the special effect corresponding to the target event a is just played, the terminal 110 needs to play a special effect corresponding to the target event B, and on this, the post-played special effect playing level may be superimposed on the prior-played special effect playing level. In this embodiment, the special effect playing level corresponding to the other target event is located at the lower layer of the special effect playing level corresponding to the target event, that is, the playing of the special effect corresponding to the other target event precedes the playing of the special effect corresponding to the target event. In this embodiment, when playing special effects corresponding to different target events, it is difficult for the terminal 110 to avoid overlapping of playing positions of different special effects, and in this embodiment, the response logic is reasonably set to accurately respond to playing of special effects corresponding to each target event. Specifically, taking the case that the special effects include the first-level special effect and the second-level special effect as an example, for the purpose of simplifying the description of the example to highlight the scheme of the embodiment, it is assumed that the special effects corresponding to each target event include the first-level special effect and the second-level special effect, and the special effects played by the terminal 110 include the special effect corresponding to the target event and the special effect corresponding to another target event. Thus, for this embodiment, in one case, when the first special effect corresponding to the playing target event of the terminal 110 is the first special effect, if the terminal 110 receives the special effect switching operation that triggers the current playing position of the first special effect corresponding to the target event, the terminal 110 plays the second special effect corresponding to the target event because the special effect switching corresponding to the target event does not reach the preset condition (the preset condition is set as whether the corresponding special effect is played in the second special effect). When the first special effect corresponding to the target event played by the terminal 110 is the second special effect, the special effect switching corresponding to the target event reaches the preset condition, so the terminal 110 can apply the special effect switching instruction to the special effect switching corresponding to another target event located at the next special effect playing level, if the special effect corresponding to the other target event is located at the current playing position of the special effect corresponding to the target event, that is, the current playing positions of the two special effects overlap, the terminal 110 applies the special effect switching instruction to the special effect switching corresponding to the other target event, and the switching judgment logic is the same as the switching judgment logic of the special effect corresponding to the target event, which is not repeated herein. Based on the scheme, when playing a plurality of special effects, the user can click on any position, at this time, the terminal 110 can start to perform the special effect switching judgment logic downwards from the top special effect playing level according to the special effect playing level, for example, inquire whether the clicked special effect is played in a second special effect, if yes, perform the special effect switching judgment logic in the next special effect playing level until the special effect is played in a first special effect, and play the second special effect of the special effect corresponding to each target event, thereby accurately responding to the playing of the special effect corresponding to each target event.
In some embodiments, as shown in fig. 6, the method for playing special effects in a living room of the present application further includes the following steps:
In step S601, a trick play queue corresponding to each of the plurality of trick play orientations is created.
In this step, the terminal 110 creates a corresponding special effect play queue for each special effect play azimuth, and adds the special effect of the special effect play queue corresponding to the corresponding special effect play azimuth to play the special effect in the special effect play azimuth, where the special effect play queue may include a certain number of special effects, that is, for each special effect play azimuth, a certain number of special effects may be played simultaneously, the number of special effects included in the special effect play queue corresponding to each special effect play azimuth may be the same, and there may be an upper limit of the number of special effects included in the special effect play queue corresponding to each special effect play azimuth, and in this case, if the terminal 110 makes full use of each special effect play azimuth to play the special effect, the terminal 110 may play 16 special effects simultaneously, by setting the upper limit of the number of special effects, the overall play effect may be prevented from being influenced by the special effects of the special effect play azimuth that are simultaneously, and based on the mode of the special effect play queue may have an upper limit of the number of special effects, and the number of special effects played by the terminal 110 may be autonomously and accurately, each of the special effects play azimuth may be simultaneously increased.
In step S602, when the number of special effects included in the special effect play queue corresponding to the target azimuth reaches the upper limit of the number of special effects, queuing and adding the special effects corresponding to the target event.
Specifically, when the terminal 110 needs to play the special effect corresponding to the target event, it needs to be added into the special effect play queue corresponding to the target azimuth, if the number of special effects included in the special effect play queue corresponding to the target azimuth has reached the upper limit of the number of special effects, for example, 4, the terminal 110 needs to queue the special effect corresponding to the target event for adding, that is, needs to wait for at least one special effect included in the special effect play queue to be removed from the special effect play queue. If the number of special effects included in the special effect play queue corresponding to the target azimuth does not reach the upper limit of the number of special effects, the terminal 110 may execute step S603.
Step S603, when the special effect corresponding to the target event is added to the special effect play queue corresponding to the target azimuth, executing the step of playing the special effect corresponding to the target event according to the special effect play format information in the target azimuth.
In this step, if no other special effects are queued to be added to the special effect play queue corresponding to the target azimuth before the special effect corresponding to the target event if the number of special effects included in the special effect play queue corresponding to the target azimuth does not reach the upper limit of the number of special effects, the special effect corresponding to the target event is added to the special effect play queue corresponding to the target azimuth, and then step S204 is executed to play the special effect corresponding to the target event according to the special effect play format information in the target azimuth.
In step S604, when the trick play corresponding to the target event is finished, the special effect corresponding to the target event is shifted out of the trick play queue corresponding to the target azimuth, and the special effect corresponding to the next target event queued to the trick play queue corresponding to the target azimuth is added to the trick play queue corresponding to the target azimuth.
In this step, when the trick play corresponding to the target event is finished, the terminal 110 needs to shift the trick play queue corresponding to the target azimuth out of the trick play queue corresponding to the target event, and in the case that there are special effects corresponding to other target events queued to be added to the queue, the terminal 110 may add the special effect corresponding to the next target event queued to be added to the trick play queue corresponding to the target azimuth and execute step S204 on the special effect play queue to perform the corresponding trick play. As shown in fig. 7, in the solution of this embodiment, by creating corresponding trick play queues in each trick play azimuth and adding the special effects to be played in the corresponding azimuth into each queue, the terminal 110 can autonomously and accurately regulate and control the number of special effects that can be played in each azimuth at the same time, so as to improve the trick play flexibility, and the terminal 110 can fully utilize each trick play azimuth to play special effects corresponding to multiple target events at the same time, so as to improve the trick play efficiency.
Based on this, in some embodiments, the live room trick play method of the present application may further include: if a special effect switching operation acting on a first special effect corresponding to a target event is not received when the first special effect corresponding to the target event is played according to first special effect information in the special effect playing form information, determining a special effect playing ending time corresponding to the target event according to a playing ending time of the first special effect corresponding to the target event; if a special effect switching operation acting on a first special effect corresponding to a target event is received when the first special effect corresponding to the target event is played according to first special effect information in the special effect playing form information, determining the special effect playing ending time corresponding to the target event based on the playing ending time of a second special effect corresponding to the target event.
In this embodiment, the terminal 110 may determine that the trick play corresponding to the target event is finished under two conditions, and accordingly may move out of the trick play queue for adding the special effect corresponding to the next target event to the queue. Specifically, as described above, the special effects corresponding to the target event may include multiple special effect forms, and in this embodiment, the terminal 110 may determine whether the special effect playing is finished according to the special effect switching condition of the special effect corresponding to the target event, so that the special effects in various forms can be completely played. Taking the case that the special effects corresponding to the target event include a first special effect (corresponding to the first special effect in the embodiment) and a second special effect (corresponding to the second special effect in the embodiment) as an example, as described above, the terminal 110 may play the first special effect corresponding to the target event according to the first special effect information in the special effect play form information, at this time, if the special effect switching operation acting on the first special effect is not received until the play of the first special effect is finished, the terminal 110 may determine the special effect play finishing time corresponding to the target event at the first special effect play finishing time corresponding to the target event, and if the play of the first special effect is finished for 2 seconds, determine the special effect play finishing corresponding to the target event when the play of the first special effect is finished for 2 seconds. If the special effect switching operation acting on the first special effect is received before the playing of the first special effect is finished, the terminal 110 can play the second special effect corresponding to the target event according to the second special effect information in the special effect playing form information, and then the terminal 110 determines the special effect playing finishing time corresponding to the target event based on the playing finishing time of the second special effect. In this regard, in one embodiment, the playing of the second special effect may not be switched back to the first special effect after the playing of the second special effect is completed, and at this time, the terminal 110 may obtain the special effect playing end time corresponding to the target event according to the playing completion time of the second special effect, and if the second special effect playing is ended for 1 second, determine that the special effect playing corresponding to the target event is ended when playing is performed for 1 second after the switching. In another embodiment, the second-level effect may be switched back to the first-level effect after the playing of the second-level effect is completed, at this time, the terminal 110 may combine the playing completion time required for continuing to play after switching back to the first-level effect to obtain the special effect playing end time corresponding to the target event based on the playing completion time of the second-level effect, for example, the first-level effect needs to be played for 2 seconds, and the special effect is switched when the first-level effect is played for 1 second, the current playing position is recorded, the second-level effect is switched to the second-level effect according to the current playing position, the second-level effect is finished for 1 second, and then the first-level effect is switched back to the first-level effect according to the latest current playing position, and the playing of the first-level effect may continue to play for 1 second, so that the terminal 110 may determine that the special effect playing corresponding to the target event is finished when the second-level effect is played for 1 second and the first-level effect is played again for 1 second, so that various forms of effects may be completely played.
In some embodiments, the method for playing back the special effect in the living room of the present application may further include the following steps: sending a corresponding gift sending request to a server according to the selection operation of the gift in the gift bar of the direct broadcasting room; thus, the obtaining the trick play azimuth information of the target event in the live broadcasting room and the trick play form information corresponding to the trick play azimuth information in step S202 may include: receiving the special effect playing azimuth information of the target event in the live broadcasting room returned by the server and special effect playing form information corresponding to the special effect playing azimuth information; when the server identifies that the selected gift is the target gift according to the gift sending request, determining to trigger a target event in the live broadcasting room, and acquiring and returning the special effect playing azimuth information of the target event and the special effect playing form information corresponding to the special effect playing azimuth information.
Specifically, the scheme of the embodiment can apply the playing of the special effect of the living broadcasting room to the special effect of the gift of the living broadcasting room, the special effect of the gift can be used as a new type of gift, and the corresponding special effect of the gift can be played in multiple directions by means of full screen when the gift delivery is triggered, so that the playing form of the special effect of the gift is enriched and the playing efficiency is improved. In this embodiment, the terminal 110 may display a gift bar of the living broadcast room, and the user may select a gift in the gift bar of the living broadcast room, and the terminal 110 sends a corresponding gift sending request to the server 120 according to the selection operation of the user on the gift in the gift bar of the living broadcast room. When the terminal 110 displays the gift bar of the living broadcast room, the prompt information of the special effect playing can be displayed for the target gift in the terminal, and the prompt information can be used for prompting that if the target gift is sent out, the corresponding special effect of the gift can be played in multiple directions through a full screen. The target gift may be configured with a corresponding gift type, after the user selects the gift, the terminal 110 may send a gift request carrying the gift type to the server 120, after the server 120 receives the gift request sent by the terminal 110, may identify whether the gift selected by the user is the target gift according to the gift type carried by the gift request, as an example, if the gift type carried by the gift request is the target type, the user may determine that the selected gift is the target gift, at this time, the server 120 may determine that a target event in the living broadcast room is triggered, thereby the server 120 may randomly select a special effect playing azimuth identifier, such as direction=1, from a plurality of preset special effect playing azimuth identifiers, then may take the special effect playing azimuth identifier as special effect playing azimuth information, and may acquire playing form information corresponding to the special effect playing azimuth identifier from the plurality of preset special effect playing azimuth identifiers according to the special effect playing azimuth identifiers, wherein the plurality of preset special effect playing azimuth information may respectively correspond to different preset playing azimuth identifiers, then the server may trigger a target event in the living broadcast room, the server may return the special effect playing azimuth information to the corresponding special effect playing azimuth information in the terminal 110 in the specific azimuth form, and the special effect playing azimuth information may be returned to the terminal 110 in the specific azimuth form according to the corresponding to the specific broadcasting azimuth information, and the special effect playing azimuth information may be triggered by the corresponding to the terminal 110, the terminal 110 can play various gift effects which are simultaneously presented in parallel in different directions and angles of the screen and possibly in different effect forms, so that the play forms and the play efficiency of the gift effects are enriched.
In other embodiments, the live room trick-play method of the present application may further include the steps of: receiving user speaking input in a live broadcasting room, and sending the user speaking to a server; thus, the obtaining the trick play azimuth information of the target event in the live broadcasting room and the trick play form information corresponding to the trick play azimuth information in step S202 may include: receiving the special effect playing azimuth information of the target event in the live broadcasting room returned by the server and special effect playing form information corresponding to the special effect playing azimuth information; when the server identifies that the user speaking belongs to the speaking of the preset style, determining to trigger a target event in the live broadcasting room, and acquiring and returning the trickplay azimuth information of the target event and trickplay form information corresponding to the trickplay azimuth information.
Specifically, the solution of this embodiment may apply the playing of the special effect in the live broadcasting room to the user speaking process in the live broadcasting room, and may create a specific atmosphere for the live broadcasting room based on the speaking of the user in the live broadcasting room, where the created atmosphere may be determined based on the style to which the user speaking in the live broadcasting room belongs, and when the user speaking belongs to the preset style, the terminal 110 may play the corresponding special effect in the live broadcasting room, so as to make full use of the user speaking in the live broadcasting room to form a novel speaking interaction mode and a novel special effect in the live broadcasting room, enrich the special effect types in the live broadcasting room, thereby being beneficial to improving the user speaking feedback and promoting the speaking enthusiasm, and ensuring the playing efficiency of the special effect and enriching the playing form thereof. In a specific implementation, the terminal 110 may provide an atmosphere special effect switch, and if the switch is in an on state, the terminal 110 may play the atmosphere special effect, and if it is off, the atmosphere special effect is not played. Specifically, in this embodiment, the terminal 110 provides a speaking column of the living broadcasting room, the user may input a user speaking in the speaking column, the terminal 110 may send the user speaking to the server 120, after the server 120 receives the user speaking, it may be identified by using a trained speaking style rating model whether the user speaking belongs to a preset style of speaking, if yes, the server 120 determines that a target event in the living broadcasting room is triggered, that is, a corresponding atmosphere special effect needs to be played in the living broadcasting room, for example, a positive sunlight style speaking, and then a warm-sun atmosphere special effect may be played in the living broadcasting room. Then, the server 120 may obtain the trick-play azimuth information and the trick-play format information corresponding to the trick-play azimuth information, and the obtaining manner of the trick-play azimuth information and the trick-play format information corresponding to the trick-play azimuth information may be performed in the manner mentioned in the foregoing embodiment, which is not described herein. Therefore, the terminal 110 can play the atmosphere special effect according to the special effect play azimuth information and the corresponding special effect play form information in the corresponding target azimuth in the living broadcasting room and can play the atmosphere special effect according to the special effect play form information at a certain angle, under the condition that the atmosphere special effect is triggered for many times, the terminal 110 can play the atmosphere special effect which is simultaneously and parallelly presented in different azimuth and angle of the screen in different special effect forms, so that the corresponding atmosphere is created in the living broadcasting room, in the specific implementation, the atmosphere special effect can have the effect of a certain bending path, namely, the atmosphere special effect can move along the certain bending path during play, the atmosphere special effect can also have a second special effect, such as a ghost special effect, can move along the certain bending path, is a first-stage special effect before being clicked and is not luminous, and can become a second-stage special effect after being clicked, namely, luminous, so that the display effect of the atmosphere special effect is enriched. In addition, as described above, the terminal 110 may play the atmosphere special effects in parallel at each azimuth, in this embodiment, the upper limit of the total number of the atmosphere special effects in parallel at each azimuth may be set to 12, for example, 1 is added when one atmosphere special effect is played each time, 1 is subtracted after the play is finished, and when the total number of the atmosphere special effects in parallel at each azimuth reaches 12, the purpose of creating atmosphere in a living room is basically achieved, so that the exceeding atmosphere special effects may be discarded.
In one embodiment, as shown in fig. 8, a method for processing effects in a live room is provided, which may be performed by the server 120, and may include the steps of:
step S801, when determining to trigger a target event in the live broadcast room, acquiring the trick play azimuth information of the target event in the live broadcast room and the trick play form information corresponding to the trick play azimuth information.
Step S802, special effect playing azimuth information and special effect playing form information corresponding to the special effect playing azimuth information are sent to the terminal, so that the terminal can determine a target azimuth for playing a special effect corresponding to a target event in a plurality of special effect playing azimuth according to the special effect playing azimuth information, and play the special effect corresponding to the target event according to the special effect playing form information in the target azimuth.
In this embodiment, the server 120 may determine whether a target event in the live broadcasting room is triggered according to the related information provided by the terminal 110, and when the server 120 determines that the target event in the live broadcasting room is triggered, the server 120 obtains the trick play azimuth information and the trick play form information corresponding to the trick play azimuth information for the target event in the live broadcasting room. The specific play azimuth information of the target event in the living broadcast room and the specific play form information corresponding to the specific play azimuth information can be broadcast to the terminal 110, so that the terminal 110 can determine the target azimuth for playing the specific effect corresponding to the target event in the predetermined plurality of specific play azimuth according to the specific play azimuth information, then play the specific effect corresponding to the target event according to the specific play form information at the target azimuth and at a certain angle, and the specific manner of playing the specific effect according to the specific play azimuth information and the specific play form information corresponding to the specific play azimuth information provided by the server 120 by the terminal 110 can be referred to the foregoing embodiments, which are not repeated herein. According to the scheme, the specific play azimuth information of the time and the corresponding specific play form information can be provided for each terminal of the live broadcasting room when the target event in the live broadcasting room is triggered, so that each terminal of the live broadcasting room can play the specific corresponding to each event on a plurality of specific play azimuth according to the play form corresponding to each azimuth, the specific play mode of the live broadcasting room is expanded and enriched, and meanwhile, the specific play efficiency of the live broadcasting room is improved.
In one embodiment, the obtaining the trick play azimuth information of the target event in the live broadcasting room and the trick play form information corresponding to the trick play azimuth information in step S801 specifically includes:
randomly selecting a special effect playing azimuth mark from a plurality of preset special effect playing azimuth marks; obtaining special effect playing azimuth information according to the selected special effect playing azimuth identification; and acquiring the special effect playing form information corresponding to the special effect playing azimuth identification from the preset plurality of special effect playing form information according to the special effect playing azimuth identification.
In this embodiment, when determining that the target event in the live broadcast room is triggered, the server 120 may first randomly select a trick play azimuth identifier from a plurality of preset trick play azimuth identifiers. The multiple trick play direction identifiers may include direction=1, direction=2, and the like, and respectively correspond to different trick play directions, and the server 120 may randomly select a trick play direction identifier, such as direction=1. The server 120 may then use the trick-play direction identification direction=1 as trick-play direction information for the target event in the live room. The server 120 may further obtain, from a plurality of preset trick play format information, trick play format information corresponding to the trick play direction identification direction=1 according to the trick play direction identification direction=1. The server 120 may store a plurality of trick-play format information in a file format, and since each direction needs to correspond to a different trick-play format, the plurality of trick-play format information stored in the server 120 may correspond to different trick-play direction identifiers, so that the corresponding trick-play format information may be obtained based on the trick-play direction identifiers. In the solution of this embodiment, the special effect playing azimuth identifier sent by the server 120 to each terminal 110 is randomly selected, and a certain uncertainty can be given to the playing azimuth of the special effect corresponding to each target event on the side of the terminal 110, and when the target event obtains a greater number of triggers, the target azimuth of each special effect on the side of the terminal 110 can be relatively evenly distributed, which is beneficial to triggering more users in the live broadcasting room to trigger more target events so as to display the special effect in each azimuth.
In one embodiment, the method for processing the special effects in the live broadcasting room of the application further comprises the following steps:
Receiving a gift sending request sent by a terminal; identifying whether the selected gift is a target gift according to the gift sending request; if yes, determining to trigger a target event in the live broadcasting room.
In this embodiment, after the user selects a gift on the terminal 110, the terminal 110 sends a corresponding gift sending request to the server 120, where the gift sending request may carry the gift type of the selected gift. After receiving the gift sending request, the server 120 can identify whether the gift selected by the user is a target gift according to whether the type of the gift carried by the user is a target type. If the gift type is the target type, the server 120 may identify the gift selected by the user as the target gift, thereby determining that the target event in the living room is triggered, that is, the gift special effect of the target gift needs to be played in the living room in a full-screen multi-azimuth mode, so that the scheme of the embodiment may apply the full-screen multi-azimuth playing mode of the special effect in the living room to the playing of the gift special effect in the living room, enrich the playing mode of the gift special effect and improve the playing efficiency.
In another embodiment, the method for processing special effects in a live broadcasting room of the present application may further include the following steps:
Receiving a user speech sent by a terminal; inputting the user speaking into a trained speaking style rating model to obtain the speaking style grade corresponding to the user speaking output by the speaking style rating model; and if the speaking style level meets the preset level condition, determining to trigger a target event in the live broadcasting room.
In this embodiment, after a user inputs a user utterance into the terminal 110, the terminal 110 transmits the user utterance to the server 120, and the server 120 may input the user utterance into the trained utterance style rating model after receiving the user utterance transmitted from the terminal 110. The speaking style rating model is used for evaluating the speaking style grade of a user speaking corresponding to a preset style, and when training is performed, labels of different corpus and the speaking style grade corresponding to the corpus under the preset style can be provided for the speaking style rating model to be trained, so that the trained speaking style rating model is obtained. The preset style may be set as a style of active sunlight, etc., and may be specifically set according to actual requirements. Therefore, the trained speaking style rating model can output the speaking style rating of speaking the user under the preset style, if the speaking style rating meets the preset rating condition, if the speaking style rating reaches 8 levels in the range of 0 to 10 levels, the server 120 can determine that the target event in the living room is triggered, namely, the corresponding atmosphere special effect needs to be played in the living room, so that the full-screen multi-azimuth playing mode of the special effect in the living room can be applied to the user speaking processing in the living room, a specific atmosphere can be created for the living room based on the speaking of the user in the living room, the special effect types in the living room are enriched, the speaking feedback of the user and the speaking enthusiasm of the user are improved, and the watching retention rate and the watching duration of the user in the living room are also improved.
It should be understood that, although the steps in the flowcharts related to the embodiments described above are sequentially shown as indicated by arrows, these steps are not necessarily sequentially performed in the order indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in the flowcharts described in the above embodiments may include a plurality of steps or a plurality of stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of the steps or stages is not necessarily performed sequentially, but may be performed alternately or alternately with at least some of the other steps or stages.
Based on the same inventive concept, the embodiment of the application also provides a related device for realizing the related method. The implementation of the solution provided by the apparatus is similar to that described in the above method, so the specific limitation of one or more embodiments of the related apparatus provided below may be referred to the limitation of the related method hereinabove, and will not be repeated herein.
In one embodiment, as shown in fig. 9, a live room trick-play apparatus is provided, the apparatus being applicable to a terminal, the apparatus 900 may include:
An azimuth providing module 901, configured to provide a plurality of trick play azimuth;
the information obtaining module 902 is configured to obtain trick play azimuth information of a target event in a live broadcast room and trick play form information corresponding to the trick play azimuth information;
the azimuth determining module 903 is configured to determine, according to the trick-play azimuth information, a target azimuth for playing a special effect corresponding to the target event in the multiple trick-play azimuth;
and the special effect playing module 904 is configured to play the special effect corresponding to the target event according to the special effect playing form information in the target azimuth.
In one embodiment, the trick-play module 904 is configured to determine a play position at a screen edge corresponding to the target azimuth; and playing the special effect corresponding to the target event according to the special effect playing form information based on the playing position.
In one embodiment, the trick play module 904 is configured to play, when a first special effect corresponding to the target event according to first special effect information in the special effect play form information is played, if a special effect switching operation triggering a current playing position of the first special effect corresponding to the target event is received and a preset condition is not reached for the special effect switching corresponding to the target event, play a second special effect corresponding to the target event according to second special effect information in the special effect play form information.
In one embodiment, the special effect playing module 904 is further configured to apply the special effect switching instruction to a special effect switching corresponding to another target event at the current playing position if a special effect switching operation triggering a first special effect current playing position corresponding to the target event is received and the special effect switching corresponding to the target event reaches a preset condition; wherein, the special effect playing layer corresponding to the other target event is positioned at the lower layer of the special effect playing layer corresponding to the target event; the special effect playing corresponding to the other target event is prior to the special effect playing corresponding to the target event.
In one embodiment, the apparatus 900 may further include: the queue processing module is used for creating a special effect play queue corresponding to each of the plurality of special effect play directions; the special effect number contained in the special effect play queue has an upper limit of the special effect number; queuing and adding special effects corresponding to the target event when the number of special effects contained in the special effect play queue corresponding to the target azimuth reaches the upper limit of the number of special effects; executing the step of playing the special effect corresponding to the target event according to the special effect playing form information in the target azimuth when the special effect corresponding to the target event is added into the special effect playing queue corresponding to the target azimuth; and when the special effect playing corresponding to the target event is finished, removing the special effect corresponding to the target event from the special effect playing queue corresponding to the target azimuth, and adding the special effect corresponding to the next target event queued to the special effect playing queue corresponding to the target azimuth.
In one embodiment, the queue processing module is further configured to determine, if a special effect switching operation acting on the first special effect corresponding to the target event is not received when the first special effect corresponding to the target event is played according to the first special effect information in the special effect play form information, a special effect play end time corresponding to the target event according to a play completion time of the first special effect corresponding to the target event; and if a special effect switching operation acting on the first special effect corresponding to the target event is received when the first special effect corresponding to the target event is played according to the first special effect information in the special effect playing form information, determining the special effect playing ending time corresponding to the target event based on the playing ending time of the second special effect corresponding to the target event.
In one embodiment, the apparatus 900 may further include: the gift processing module is used for sending a corresponding gift request to the server according to the selection operation of the gift in the gift bar of the direct broadcasting room; the information obtaining module 902 is configured to receive trick play azimuth information of a target event in the live broadcast room returned by the server and trick play form information corresponding to the trick play azimuth information; when the server identifies that the selected gift is the target gift according to the gift sending request, determining to trigger a target event in the living broadcast room, and acquiring and returning the trickplay azimuth information of the target event and trickplay form information corresponding to the trickplay azimuth information.
In one embodiment, the apparatus 900 may further include: the speaking processing module is used for receiving user speaking input in the live broadcasting room and sending the user speaking to the server; the information obtaining module 902 is configured to receive trick play azimuth information of a target event in a live broadcast room returned by the server and trick play form information corresponding to the trick play azimuth information; when the server identifies that the user speaking belongs to the speaking of the preset style, determining to trigger a target event in the live broadcasting room, and acquiring and returning the special effect playing azimuth information of the target event and the special effect playing form information corresponding to the special effect playing azimuth information.
In one embodiment, as shown in fig. 10, there is provided a live room special effect processing apparatus, which is applicable to a server, and the apparatus 1000 may include:
The information obtaining module 1001 is configured to obtain, when determining to trigger a target event in a live broadcast room, trick play azimuth information of the target event in the live broadcast room and trick play form information corresponding to the trick play azimuth information;
The information sending module 1002 is configured to send the trick-play azimuth information and the trick-play form information corresponding to the trick-play azimuth information to a terminal, so that the terminal determines, according to the trick-play azimuth information, a target azimuth for playing a trick corresponding to the target event from a plurality of trick-play azimuth, and plays, at the target azimuth, a trick corresponding to the target event according to the trick-play form information.
In one embodiment, the information obtaining module 1001 is configured to randomly select a trick play azimuth identifier from a plurality of preset trick play azimuth identifiers; obtaining special effect playing azimuth information according to the selected special effect playing azimuth identification; and acquiring the special effect playing form information corresponding to the special effect playing azimuth identification from a plurality of preset special effect playing form information according to the special effect playing azimuth identification.
In one embodiment, the information obtaining module 1001 is further configured to receive a gift sending request sent by the terminal; identifying whether the selected gift is a target gift according to the gift sending request; if yes, determining to trigger a target event in the live broadcasting room.
In one embodiment, the information obtaining module 1001 is further configured to receive a user utterance sent by the terminal; inputting the user speaking into a trained speaking style rating model to obtain the speaking style grade corresponding to the user speaking output by the speaking style rating model; and if the speaking style level meets the preset level condition, determining to trigger a target event in the live broadcasting room.
Each of the modules in the related apparatus described above may be implemented in whole or in part by software, hardware, and combinations thereof. The above modules may be embedded in hardware or independent of a processor in the electronic device, or may be stored in software in a memory in the electronic device, so that the processor may call and execute operations corresponding to the above modules.
In one embodiment, an electronic device is provided, which may be a server, and the internal structure thereof may be as shown in fig. 11. The electronic device includes a processor, a memory, and a network interface connected by a system bus. Wherein the processor of the electronic device is configured to provide computing and control capabilities. The memory of the electronic device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The database of the electronic device is used for storing related data. The network interface of the electronic device is used for communicating with an external terminal through a network connection. The computer program, when executed by a processor, implements a live room special effect processing method.
In one embodiment, an electronic device is provided, which may be a terminal, and an internal structure diagram thereof may be as shown in fig. 12. The electronic device includes a processor, a memory, a communication interface, a display screen, and an input device connected by a system bus. Wherein the processor of the electronic device is configured to provide computing and control capabilities. The memory of the electronic device includes a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The communication interface of the electronic device is used for conducting wired or wireless communication with an external terminal, and the wireless communication can be realized through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. The computer program, when executed by a processor, implements a live room trick play method. The display screen of the electronic equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the electronic equipment can be a touch layer covered on the display screen, can also be keys, a track ball or a touch pad arranged on the shell of the electronic equipment, and can also be an external keyboard, a touch pad or a mouse and the like.
It will be appreciated by those skilled in the art that the structures shown in fig. 11 and 12 are merely block diagrams of portions of structures related to the present inventive arrangements and do not constitute a limitation of the electronic device to which the present inventive arrangements are applied, and that a particular electronic device may include more or less components than those shown in the drawings, or may combine certain components, or have a different arrangement of components.
In an embodiment, there is also provided an electronic device including a memory and a processor, the memory storing a computer program, the processor implementing the steps of the method embodiments described above when executing the computer program.
In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored which, when executed by a processor, carries out the steps of the method embodiments described above.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, database, or other medium used in embodiments provided herein may include at least one of non-volatile and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, high density embedded nonvolatile Memory, resistive random access Memory (ReRAM), magneto-resistive random access Memory (Magnetoresistive RandomAccess Memory, MRAM), ferroelectric Memory (Ferroelectric RandomAccess Memory, FRAM), phase change Memory (PHASE CHANGE Memory, PCM), graphene Memory, and the like. Volatile memory can include random access memory (RandomAccess Memory, RAM) or external cache memory, and the like. By way of illustration, and not limitation, RAM can be in various forms such as static random access memory (Static RandomAccess Memory, SRAM) or dynamic random access memory (Dynamic RandomAccess Memory, DRAM), etc. The databases referred to in the embodiments provided herein may include at least one of a relational database and a non-relational database. The non-relational database may include, but is not limited to, a blockchain-based distributed database, and the like. The processor referred to in the embodiments provided in the present application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic unit, a data processing logic unit based on quantum computing, or the like, but is not limited thereto.
The user information (including but not limited to user equipment information, user personal information, etc.) and the data (including but not limited to data for analysis, stored data, presented data, etc.) related to the present application are information and data authorized by the user or sufficiently authorized by each party.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The foregoing examples illustrate only a few embodiments of the application and are described in detail herein without thereby limiting the scope of the application. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the application, which are all within the scope of the application. Accordingly, the scope of the application should be assessed as that of the appended claims.

Claims (12)

1. A method for trick-play in a living room, applied to a terminal, the method comprising:
Providing a plurality of trick play orientations;
Acquiring special effect playing azimuth information of a target event in a live broadcasting room and special effect playing form information corresponding to the special effect playing azimuth information;
Determining a target azimuth for playing the special effect corresponding to the target event in the plurality of special effect playing azimuth according to the special effect playing azimuth information;
and playing the special effect corresponding to the target event according to the special effect playing form information in the target azimuth, wherein the special effect playing method comprises the following steps: when a first special effect corresponding to the target event is played according to first special effect information in the special effect playing form information, if a special effect switching operation triggering the first special effect current playing position corresponding to the target event is received and the special effect switching corresponding to the target event does not reach a preset condition, a second special effect corresponding to the target event is played according to second special effect information in the special effect playing form information.
2. The method according to claim 1, wherein playing the special effect corresponding to the target event according to the special effect play form information in the target azimuth comprises:
Determining a play position at the edge of the screen corresponding to the target azimuth;
And playing the special effect corresponding to the target event according to the special effect playing form information based on the playing position.
3. The method according to claim 1, wherein the method further comprises:
If a special effect switching operation triggering a first special effect current playing position corresponding to the target event is received and the special effect switching corresponding to the target event reaches a preset condition, applying the special effect switching instruction to special effect switching corresponding to another target event at the current playing position; wherein, the special effect playing layer corresponding to the other target event is positioned at the lower layer of the special effect playing layer corresponding to the target event; the special effect playing corresponding to the other target event is prior to the special effect playing corresponding to the target event.
4. The method according to claim 1, wherein the method further comprises:
Creating a special play queue corresponding to each of the plurality of special play orientations; the special effect number contained in the special effect play queue has an upper limit of the special effect number;
Queuing and adding special effects corresponding to the target event when the number of special effects contained in the special effect play queue corresponding to the target azimuth reaches the upper limit of the number of special effects;
executing the step of playing the special effect corresponding to the target event according to the special effect playing form information in the target azimuth when the special effect corresponding to the target event is added into the special effect playing queue corresponding to the target azimuth;
and when the special effect playing corresponding to the target event is finished, removing the special effect corresponding to the target event from the special effect playing queue corresponding to the target azimuth, and adding the special effect corresponding to the next target event queued to the special effect playing queue corresponding to the target azimuth.
5. The method according to claim 4, wherein the method further comprises:
If a special effect switching operation acting on the first special effect corresponding to the target event is not received when the first special effect corresponding to the target event is played according to the first special effect information in the special effect playing form information, determining a special effect playing ending time corresponding to the target event according to a playing ending time of the first special effect corresponding to the target event;
And if a special effect switching operation acting on the first special effect corresponding to the target event is received when the first special effect corresponding to the target event is played according to the first special effect information in the special effect playing form information, determining the special effect playing ending time corresponding to the target event based on the playing ending time of the second special effect corresponding to the target event.
6. The method according to claim 1, wherein the method further comprises:
sending a corresponding gift sending request to a server according to the selection operation of the gift in the gift bar of the direct broadcasting room;
The obtaining the special effect playing azimuth information of the target event in the live broadcasting room and the special effect playing form information corresponding to the special effect playing azimuth information comprises the following steps:
Receiving the special effect playing azimuth information of the target event in the live broadcasting room returned by the server and special effect playing form information corresponding to the special effect playing azimuth information; when the server identifies that the selected gift is the target gift according to the gift sending request, determining to trigger a target event in the living broadcast room, and acquiring and returning the trickplay azimuth information of the target event and trickplay form information corresponding to the trickplay azimuth information.
7. The method according to claim 1, wherein the method further comprises:
Receiving user speaking input in a live broadcasting room, and sending the user speaking to a server;
The obtaining the special effect playing azimuth information of the target event in the live broadcasting room and the special effect playing form information corresponding to the special effect playing azimuth information comprises the following steps:
Receiving special effect playing azimuth information of a target event in a live broadcasting room returned by the server and special effect playing form information corresponding to the special effect playing azimuth information; when the server identifies that the user speaking belongs to the speaking of the preset style, determining to trigger a target event in the live broadcasting room, and acquiring and returning the special effect playing azimuth information of the target event and the special effect playing form information corresponding to the special effect playing azimuth information.
8. A method for processing special effects in a live broadcasting room, which is applied to a server, the method comprising:
When determining to trigger a target event in a live broadcasting room, acquiring special effect playing azimuth information of the target event in the live broadcasting room and special effect playing form information corresponding to the special effect playing azimuth information;
Transmitting the special effect playing azimuth information and special effect playing form information corresponding to the special effect playing azimuth information to a terminal, so that the terminal can determine a target azimuth for playing the special effect corresponding to the target event in a plurality of special effect playing azimuth according to the special effect playing azimuth information, and playing the special effect corresponding to the target event according to the special effect playing form information in the target azimuth, wherein the method comprises the following steps: when a first special effect corresponding to the target event is played according to first special effect information in the special effect playing form information, if a special effect switching operation triggering the first special effect current playing position corresponding to the target event is received and the special effect switching corresponding to the target event does not reach a preset condition, a second special effect corresponding to the target event is played according to second special effect information in the special effect playing form information.
9. The method of claim 8, wherein the obtaining trick-play azimuth information of the target event in the live room and trick-play form information corresponding to the trick-play azimuth information comprises:
Randomly selecting a special effect playing azimuth mark from a plurality of preset special effect playing azimuth marks;
Obtaining special effect playing azimuth information according to the selected special effect playing azimuth identification;
And acquiring the special effect playing form information corresponding to the special effect playing azimuth identification from a plurality of preset special effect playing form information according to the special effect playing azimuth identification.
10. A live room trick-play apparatus for use with a terminal, said apparatus comprising:
the azimuth providing module is used for providing a plurality of special effect playing azimuth;
the information acquisition module is used for acquiring the special effect playing azimuth information of the target event in the live broadcasting room and the special effect playing form information corresponding to the special effect playing azimuth information;
the azimuth determining module is used for determining a target azimuth for playing the special effect corresponding to the target event in the plurality of special effect playing azimuth according to the special effect playing azimuth information;
And the special effect playing module is used for playing the special effect corresponding to the target event according to the special effect playing form information in the target azimuth, and comprises the following steps: when a first special effect corresponding to the target event is played according to first special effect information in the special effect playing form information, if a special effect switching operation triggering the first special effect current playing position corresponding to the target event is received and the special effect switching corresponding to the target event does not reach a preset condition, a second special effect corresponding to the target event is played according to second special effect information in the special effect playing form information.
11. An electronic device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the steps of the method of any one of claims 1 to 7 or any one of claims 8 to 9 when the computer program is executed.
12. A computer-readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any one of claims 1 to 7 or any one of claims 8 to 9.
CN202211167838.0A 2022-09-23 2022-09-23 Method and device for playing and processing special effect in live broadcasting room, electronic equipment and storage medium Active CN115484472B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211167838.0A CN115484472B (en) 2022-09-23 2022-09-23 Method and device for playing and processing special effect in live broadcasting room, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211167838.0A CN115484472B (en) 2022-09-23 2022-09-23 Method and device for playing and processing special effect in live broadcasting room, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN115484472A CN115484472A (en) 2022-12-16
CN115484472B true CN115484472B (en) 2024-05-28

Family

ID=84395036

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211167838.0A Active CN115484472B (en) 2022-09-23 2022-09-23 Method and device for playing and processing special effect in live broadcasting room, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115484472B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109756766A (en) * 2017-11-01 2019-05-14 武汉斗鱼网络科技有限公司 Virtual present display methods, storage medium, electronic equipment and the system of platform is broadcast live
CN109936749A (en) * 2017-12-18 2019-06-25 腾讯科技(深圳)有限公司 Special efficacy implementation method, device and readable storage medium storing program for executing
CN110475150A (en) * 2019-09-11 2019-11-19 广州华多网络科技有限公司 The rendering method and device of virtual present special efficacy, live broadcast system
CN110493630A (en) * 2019-09-11 2019-11-22 广州华多网络科技有限公司 The treating method and apparatus of virtual present special efficacy, live broadcast system
WO2021047430A1 (en) * 2019-09-11 2021-03-18 广州华多网络科技有限公司 Virtual gift special effect synthesis method and apparatus, and live streaming system
CN112546624A (en) * 2020-12-15 2021-03-26 竞技世界(北京)网络技术有限公司 Method, device and equipment for controlling special effect release and computer readable storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109756766A (en) * 2017-11-01 2019-05-14 武汉斗鱼网络科技有限公司 Virtual present display methods, storage medium, electronic equipment and the system of platform is broadcast live
CN109936749A (en) * 2017-12-18 2019-06-25 腾讯科技(深圳)有限公司 Special efficacy implementation method, device and readable storage medium storing program for executing
CN110475150A (en) * 2019-09-11 2019-11-19 广州华多网络科技有限公司 The rendering method and device of virtual present special efficacy, live broadcast system
CN110493630A (en) * 2019-09-11 2019-11-22 广州华多网络科技有限公司 The treating method and apparatus of virtual present special efficacy, live broadcast system
WO2021047430A1 (en) * 2019-09-11 2021-03-18 广州华多网络科技有限公司 Virtual gift special effect synthesis method and apparatus, and live streaming system
CN112546624A (en) * 2020-12-15 2021-03-26 竞技世界(北京)网络技术有限公司 Method, device and equipment for controlling special effect release and computer readable storage medium

Also Published As

Publication number Publication date
CN115484472A (en) 2022-12-16

Similar Documents

Publication Publication Date Title
WO2020083021A1 (en) Video recording method and apparatus, video playback method and apparatus, device, and storage medium
CN108628652A (en) User interface rendering intent, device and terminal
CN111491174A (en) Virtual gift acquisition and display method, device, equipment and storage medium
CN106331877A (en) Bullet screen playing method and device
US11341706B2 (en) Virtual scene display method and apparatus, and storage medium
CN109495427B (en) Multimedia data display method and device, storage medium and computer equipment
CN109348155A (en) Video recording method, device, computer equipment and storage medium
WO2020015332A1 (en) Video publishing method and apparatus, device, and storage medium
US20170188109A1 (en) Method and electronic device for switching video
CN112957730A (en) Plot interaction method and device and electronic equipment
CN113014985A (en) Interactive multimedia content processing method and device, electronic equipment and storage medium
WO2022199372A1 (en) Video editing method and apparatus, and computer device and storage medium
CN112169318A (en) Application program starting and archiving method, device, equipment and storage medium
CN115484472B (en) Method and device for playing and processing special effect in live broadcasting room, electronic equipment and storage medium
WO2024067159A1 (en) Video generation method and apparatus, electronic device, and storage medium
US20230412723A1 (en) Method and apparatus for generating imagery record, electronic device, and storage medium
CN110019866A (en) Dynamic picture playback method, device and storage medium
CN110446096A (en) Video broadcasting method, device and storage medium a kind of while recorded
JP6266827B1 (en) Terminal and server
CN114501126B (en) Video playing method, system and storage medium
CN112995770B (en) Video playing method and device, storage medium and computer equipment
CN114189720A (en) Video processing method, device, apparatus and storage medium
WO2020029524A1 (en) Music editing method and apparatus, terminal device, and computer-readable storage medium
WO2022183866A1 (en) Method and apparatus for generating interactive video
US20240118799A1 (en) Interaction method and apparatus, and electronic device and 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