CN108924661B - Data interaction method, device, terminal and storage medium based on live broadcast room - Google Patents

Data interaction method, device, terminal and storage medium based on live broadcast room Download PDF

Info

Publication number
CN108924661B
CN108924661B CN201810765259.3A CN201810765259A CN108924661B CN 108924661 B CN108924661 B CN 108924661B CN 201810765259 A CN201810765259 A CN 201810765259A CN 108924661 B CN108924661 B CN 108924661B
Authority
CN
China
Prior art keywords
interactive
message
effect
gift
video stream
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
CN201810765259.3A
Other languages
Chinese (zh)
Other versions
CN108924661A (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.)
Tiktok Technology Co ltd
Original Assignee
Beijing Microlive Vision Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Microlive Vision Technology Co Ltd filed Critical Beijing Microlive Vision Technology Co Ltd
Priority to CN201810765259.3A priority Critical patent/CN108924661B/en
Publication of CN108924661A publication Critical patent/CN108924661A/en
Priority to PCT/CN2018/124778 priority patent/WO2020010819A1/en
Application granted granted Critical
Publication of CN108924661B publication Critical patent/CN108924661B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/435Processing of additional data, e.g. decrypting of additional data, reconstructing software from modules extracted from the transport stream
    • 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/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/44213Monitoring of end-user related data
    • H04N21/44218Detecting physical presence or behaviour of the user, e.g. using sensors to detect if the user is leaving the room or changes his face expression during a TV program

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Social Psychology (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The embodiment of the disclosure discloses a data interaction method, a device, a terminal and a storage medium based on a live broadcast room, wherein the method comprises the following steps: acquiring an interactive message from any client side in a live broadcast room, wherein the interactive message carries data of an interactive type and an interactive effect; according to the interaction type, the interaction effect is added to the live video stream, and as the interaction effect is added to the live video stream, all the user terminals in the live room watch the interaction effect through the video stream, so that the interaction mode between the audience and the main broadcast in the live room is further enriched, and the interaction is enhanced.

Description

Data interaction method, device, terminal and storage medium based on live broadcast room
Technical Field
The embodiment of the disclosure relates to the technical field of internet, in particular to a data interaction method, a data interaction device, a data interaction terminal and a data interaction storage medium based on a live broadcast room.
Background
The live webcast is a new social networking mode that can be watched or interacted on different communication platforms through a network system at the same time, and the live webcast platform also becomes a brand-new social media. In a conventional webcast platform, in order to increase the interest of the interaction between the anchor and the user, the user generally purchases a virtual gift and then gives the anchor an opportunity to create the interaction. Meanwhile, the anchor can increase the income of the corresponding value of the gift, and the gift can be exchanged for cash finally, so that the operation of a network live broadcast platform is met.
In the process of anchor live broadcast, when a user (audience) enters a live broadcast room to watch the live broadcast and interacts with the anchor, such as interactive messages, the interactive effect of some interactive messages can only be displayed on the client interface of the anchor, and only the anchor can watch the messages by himself. Therefore, the interactive message display mode and the interactive mode are single, and the interactive effect is weak.
Disclosure of Invention
The embodiment of the disclosure provides a data interaction method, a data interaction device, a data interaction terminal and a data interaction storage medium based on a live broadcast room, and further enriches interaction modes between audiences and anchor broadcasters in the live broadcast room.
In a first aspect, an embodiment of the present disclosure provides a data interaction method based on a live broadcast room, where the method includes:
acquiring an interactive message from any client side in a live broadcast room, wherein the interactive message carries data of an interactive type and an interactive effect;
and adding the interactive effect to the live video stream according to the interactive type.
Further, adding the interactive effect to the live video stream according to the type of the interaction, including:
starting a face recognition module to perform user face recognition;
and adding the interaction effect in the live video stream according to the interaction type and the face recognition result of the user.
Further, the method further comprises:
and if the time length of the video stream corresponding to the interactive effect is detected to reach the preset interactive message display time, stopping adding the interactive effect.
Further, acquiring an interactive message from any client in the live broadcast room includes:
polling an interactive message interface of a server according to a preset time interval, and pulling the interactive message of any client from the server; and/or
And receiving the interactive message pushed by the server.
Further, acquiring an interactive message from any client in the live broadcast room includes:
acquiring an interactive message from any client side in a live broadcast room, and dividing the interactive message into an interactive message queue corresponding to an interactive type according to the interactive type, wherein the interactive message also carries data of interactive message time;
correspondingly, adding the interactive effect to the live video stream according to the interactive type includes:
and according to the interaction types, sequentially adding corresponding interaction effects to the live video stream in the corresponding interaction message queues according to the sequence of the interaction message time.
Further, the interactive message includes a gift giving message, and correspondingly, the interactive type includes a gift giving type.
In a second aspect, an embodiment of the present disclosure further provides a data interaction device based on a live broadcast room, where the device includes:
the system comprises a message acquisition module, a message sending module and a message sending module, wherein the message acquisition module is used for acquiring an interactive message from any client in a live broadcast room, and the interactive message carries data of an interactive type and an interactive effect;
and the effect display module is used for adding the interactive effect to the live video stream according to the interactive type.
Further, the effect display module includes:
the face recognition unit is used for starting the face recognition module to recognize the face of the user;
and the effect adding unit is used for adding the interactive effect in the live video stream according to the interactive type and the face recognition result of the user.
Further, the apparatus further comprises:
and the interactive message display module is used for stopping adding the interactive effect if the time length of the video stream corresponding to the interactive effect reaches the preset interactive message display time.
Further, the message acquiring module is specifically configured to,
polling an interactive message interface of a server according to a preset time interval, and pulling the interactive message of any client from the server; and/or
And receiving the interactive message pushed by the server.
Further, the message acquisition module is specifically configured to acquire an interactive message from any client in a live broadcast room, and divide the interactive message into an interactive message queue corresponding to an interactive type according to the interactive type, where the interactive message also carries data of an interactive message time;
correspondingly, the effect display module is specifically configured to add the corresponding interactive effects to the live video stream in sequence in the corresponding interactive message queue according to the sequence of the interactive message time according to the interactive type.
Further, the interactive message includes a gift giving message, and correspondingly, the interactive type includes a gift giving type.
In a third aspect, an embodiment of the present disclosure further provides a terminal, where the terminal includes:
one or more processors;
a memory for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement a live-air based data interaction method as in any embodiment of the invention.
In a fourth aspect, the disclosed embodiments also provide a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform the live broadcast based data interaction method according to any embodiment of the present invention.
The method comprises the steps that an interactive message from any client side in a live broadcast room is obtained, wherein the interactive message carries data of an interactive type and an interactive effect; and adding the interactive effect into the live video stream according to the interactive type to realize interaction. Because the interactive effect is added to the live video stream, all the user terminals in the live broadcast room watch the interactive effect through the video stream, the interactive mode between the audience and the anchor in the live broadcast room is further enriched, and the interactive effect is enhanced.
Drawings
Fig. 1 is a flowchart of a live broadcast room-based data interaction method in an embodiment of the present disclosure;
FIG. 2 is a schematic diagram illustrating an interface effect of gifting a gift in a live broadcast room according to an embodiment of the present disclosure;
FIG. 3 is a flow chart of another live-cast based data interaction method in an embodiment of the present disclosure;
FIG. 4 is a flow chart of another live-cast based data interaction method in an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of a data interaction apparatus based on a live broadcast room in an embodiment of the present disclosure;
fig. 6 is a schematic hardware structure diagram of a terminal in the embodiment of the present disclosure.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Fig. 1 is a flowchart of a data interaction method based on a live broadcast room according to an embodiment of the present disclosure, and this embodiment is applicable to a situation where a host and a user watching a live broadcast interact with each other in a live broadcast process, for example, a user gives a gift to the host. The method can be executed by a data interaction device based on a live broadcast room, the device can be realized in a software and/or hardware mode, and can be configured on any terminal, and the terminal can be any terminal with a network communication function and a camera shooting function, such as a smart phone, a tablet computer and the like.
As shown in fig. 1, a data interaction method based on a live broadcast room provided by the embodiment of the present disclosure specifically includes:
s110, acquiring the interactive message from any client side in the live broadcast room.
The live broadcast room includes a main broadcast and other users (audiences), and the main broadcast terminal can acquire interactive messages from any client installed on other user terminals of the live broadcast room, for example, a client for live video. The interactive message carries data of interactive type and interactive effect. The interactive message can be a message for the user and the main broadcast to interact in various forms in the live broadcast room, and the interactive type comprises gift giving, animation expression and other forms of interactive messages. The interactive effect is a presentation effect corresponding to the interactive message type. The data of the interactive effect may be specific effect data for displaying the interactive message on the terminal interface, such as data of a dynamic effect or a background color in the interactive effect, including a control animation of the interactive message, and related effects such as entering an effect from outside a screen, displaying a continuous click effect, disappearing, and the like.
Optionally, the interactive message includes a gift giving message, and correspondingly, the interactive type includes a gift giving type. Illustratively, if the interactive message is a gift giving message, the gift giving message carries data of gift type and gift effect. The gift types may be of different kinds classified according to gift size, effect, gift value, or the like. Illustratively, with the animation effect of the gift, the gift is divided into three types: small gifts, namely only gift trays are actively displayed; displaying the action effects of the sticker gift, the gift tray and the sticker; large gifts, gift trays, and full-screen animation presentations (WebP format or MP4 format, etc.). The data of the gift effect may be specific effect data for displaying the gift on the terminal interface, such as data of a dynamic effect or a background color in the gift effect, including a control animation of the gift, an effect of entering from the outside of the screen, a continuous click effect displayed, a disappearing and other related effects. Illustratively, the dynamic effect may include a display dynamic effect and a continuous click dynamic effect, etc. The display action effect refers to the effect of the gifts displayed on the terminal interface, and the continuous click action effect refers to the continuous click action effect displayed on the terminal interface when continuous click is achieved by clicking and presenting the same gifts again within a period of time after one gift is presented successfully. Wherein, the interactive message may further include: the name, icon, interactive time, head portrait of the interdynamic person, nickname of the interdynamic person and the like of the interactive message.
For example, fig. 2 is a schematic view of an interface effect of presenting a gift in a live broadcast room, as shown in fig. 2, in a certain live broadcast room, all users participating in the live broadcast room can present the gift on their terminals through a client, and generally the users present the gift to a main broadcast to interact with the main broadcast. Of course, the anchor may present the gift to the anchor itself. Illustratively, when the user enters the live broadcast room, the gift panel may be clicked, wherein the gift icons and names that may be displayed in the gift panel include: such as "lollipop", "fairy stick", "for you play call", "Boom", etc. And (4) giving a gift by clicking a gift icon in the popup gift panel in the live broadcast interface. Specifically, the gift effect displayed on the interface may include basic information of the gift, such as a name of the gift, a gift icon, a presentation time of the gift, a head portrait of the presenter, a nickname of the presenter, and an amount of continuous hits achieved.
And S120, adding the interactive effect to the live video stream according to the interactive type.
The video stream refers to transmission of video data, and generally, because the video stream is streaming, a browser or a plug-in the terminal can display multimedia data before the entire file is completely transmitted. The live video stream may be a video stream of an ongoing scene such as live broadcast, studio or studio live broadcast, web live broadcast, etc. After the interactive effect data corresponding to the interactive type is added to the live video stream, all users in the same live broadcast room can watch the gift effect through the video stream on respective terminals by using the client.
Specifically, after the user in the live broadcast room successfully sends the interactive message at the client, the interactive message may be sent to the server. The anchor terminal can acquire the interactive message from the server and add the corresponding interactive effect to the live video stream, for example, after the gift is presented successfully, the anchor terminal can acquire the message for presenting the gift from the server and add the animation effect corresponding to the gift to the live video stream in the live broadcast room, so that other audiences in the live broadcast room can watch the gift effect at the moment on the user terminals.
According to the technical scheme, the interactive message from any client side in the live broadcast room is obtained, wherein the interactive message carries data of an interactive type and an interactive effect; according to the interaction type, the interaction effect is added to the live video stream, so that all terminals in the live broadcast room watch the interaction effect through the video stream, the interaction mode between the audience and the anchor in the live broadcast room is further enriched, and the interaction effect is enhanced.
Fig. 3 is a flowchart of another live broadcast-based data interaction method according to an embodiment of the present disclosure, which is a scheme for performing optimization based on the above embodiment. As shown in fig. 3, the method specifically includes:
s310, obtaining the interactive message from any client side in the live broadcast room.
And S320, starting a face recognition module to perform user face recognition.
The face recognition module can recognize the face image. For example, after the face recognition module is started, the camera module may be triggered to start, and an image or a video stream containing a face may be collected, so as to recognize the face.
S330, adding the interaction effect in the live video stream according to the interaction type and the face recognition result of the user.
And adding a corresponding interactive effect to the interactive message according to the interactive type and the face recognition result of the user, wherein when the interactive effect is added to the live video stream, all users in the live broadcast room can watch the interactive effect on respective terminals through the client. For example, when receiving a message for gifting a gift, the anchor may add a corresponding gift effect to the gift according to the type of the received gift and the face recognition result of the anchor itself. For example, for a sticker gift, the results of the anchor face recognition, such as an anchor static or dynamic facial image, may be added to the gift effect of the sticker gift. That is, when the anchor terminal and other user terminals show the gift effect, the gift effect including the face image can be shown, the interestingness of the gift effect is increased, and the interaction between the anchor terminal and the audience is enhanced.
Optionally, the method further includes:
and if the time length of the video stream corresponding to the interactive effect is detected to reach the preset interactive message display time, stopping adding the interactive effect.
The preset interactive message display time is the preset time for continuously adding the interactive effect corresponding to the interactive message into the video stream, and the interactive effect can be continuously displayed within the preset interactive message display time.
For example, if the message is a gift giving message, the gift effect may be continuously displayed for a preset interactive message display time. For example, if the preset gift display time is 3s, the sticker gift is continuously displayed in the video stream for 3s, that is, the gift effect disappears after the terminal displays of all users in the live broadcast room for 3 s.
Optionally, the obtaining of the interactive message from any client in the live broadcast room includes:
polling an interactive message interface of a server according to a preset time interval, and pulling the interactive message of any client from the server; and/or
And receiving the interactive message pushed by the server.
Wherein, the polling may be long polling, that is, the anchor side sends a request to the server to obtain the latest data information. And the anchor terminal polls an interactive message interface of the server according to a preset time interval and pulls the interactive message of any user terminal from the server. Specifically, the anchor terminal may send an interactive message request to the server at regular time or at preset time intervals, and the server returns response information immediately after receiving the request and closes the connection, that is, after the interactive message of any client is pulled from the server, the connection between the server and the anchor terminal is closed. Each time the host and the server interact, the process can be regarded as a complete HTTP request and response process, and the real-time performance and the interactivity of interactive messages between the host and the server, such as gift giving message transmission, are enhanced.
However, each HTTP request and response carries the complete HTTP header information, which increases the amount of data transferred each time. And the server and the anchor terminal carry out data transmission by establishing bidirectional connection, and can also obtain the interactive message by other modes. For example, the interactive message pushed by the server can be actively received. Specifically, the server may actively push the interactive message, for example, the interactive message is pushed in a WebSoket broadcast form by the server, the anchor terminal does not need to frequently poll the server to obtain a new interactive message, but the new interactive message is automatically pushed to the anchor terminal by the server terminal, so that the two-way communication is finally realized, and the interactive message, such as the timely pushing of the gift-giving message, is realized.
According to the technical scheme, the face recognition module is started to perform the face recognition of the user on the anchor terminal, the interactive effect is added to the live video stream according to the interactive type and the face recognition result of the user, the interactive effect of the interactive message is further enriched, and the interaction between audiences and the anchor is enhanced. Meanwhile, the interactive information can be acquired in real time and in time by polling an interactive information interface of the server or actively pushing the interactive information by the server at preset time intervals, and the interactive information of a live broadcast room is increased, such as the real-time and smooth display of gift presentation display.
Fig. 4 is a flowchart of another live broadcast-based data interaction method provided by an embodiment of the present disclosure. Optionally, optimization is further performed on the basis of the above embodiment, as shown in fig. 4, the live broadcast room-based data interaction method specifically includes:
s410, obtaining an interactive message from any client side in the live broadcast room, and dividing the interactive message into an interactive message queue corresponding to the interactive type according to the interactive type.
The message queue can be formed under the condition that a plurality of people send interactive messages simultaneously or successively, and different types of interactive messages can be divided into corresponding interactive message queues, such as gift giving queues, expression queues and the like. Further, the gift-giving queue may be divided into different gift queues, such as a big gift queue, a tray gift queue, a sticker gift queue, and the like, according to different types of the gifts.
And S420, sequentially adding corresponding interactive effects to the live video stream in the corresponding interactive message queue according to the interactive type and the sequence of the interactive message time.
And displaying the interactive messages in the queue on an anchor terminal in sequence according to the interactive message queue, and adding corresponding interactive effects to the video stream in sequence. Specifically, because the situation that a lot of interactive messages are received in a short time may occur in a live broadcast room, the interactive messages need to be processed into queues, corresponding interactive effects are added to a live broadcast video stream in sequence, then the interactive effects are played, after the interactive effect playing of one interactive message is completed, the interactive message is taken from the interactive message queue or taken down, the interactive effect of the next interactive message is continuously played, the order of displaying the interactive effects of the interactive messages is guaranteed not to be disordered, and meanwhile, the smoothness of displaying the interactive effects is guaranteed. Taking the message for presenting the gift as an example, the message for presenting the gift can be processed into a queue according to the type of the gift, the queue is sequentially added into the live video stream, then the gift effect is played, after the completion of the playing of one gift effect, the next message is taken from the gift queue or taken down, the next gift effect is continuously played, and the accuracy and the fluency of the display of the gift effect are ensured.
According to the technical scheme of the embodiment, an anchor terminal acquires an interactive message from any client in a live broadcast room, and divides the interactive message into an interactive message queue corresponding to an interactive type according to the interactive type; and according to the interaction types, sequentially adding corresponding interaction effects to the live video stream in the corresponding interaction message queues according to the sequence of the interaction message time. The interactive effect is added to the video stream according to the interactive message queue, the display sequence of the interactive effect can be prevented from being disordered, the display accuracy and timeliness of the interactive effect are achieved, and the interactive experience between the viewers and the anchor in the live broadcast room is improved.
Fig. 5 is a schematic structural diagram of a data interaction device based on a live broadcast room according to an embodiment of the present disclosure, where the embodiment is applicable to a situation of interaction in the live broadcast room, and as shown in fig. 5, a specific structure of the device is as follows:
a message obtaining module 510, configured to obtain an interactive message from any client in a live broadcast room, where the interactive message carries data of an interactive type and an interactive effect;
and an effect display module 520, configured to add the interactive effect to the live video stream according to the interaction type.
On the basis of the above scheme, optionally, the effect display module 520 includes:
the face recognition unit is used for starting the face recognition module to recognize the face of the user;
and the effect adding unit is used for adding the interactive effect in the live video stream according to the interactive type and the face recognition result of the user.
On the basis of the above scheme, optionally, the apparatus further includes:
and the interactive message display module is used for stopping adding the interactive effect if the time length of the video stream corresponding to the interactive effect reaches the preset interactive message display time.
Optionally, the message obtaining module 510 is specifically configured to,
polling an interactive message interface of a server according to a preset time interval, and pulling the interactive message of any client from the server; and/or
And receiving the interactive message pushed by the server.
On the basis of the above scheme, optionally, the message obtaining module 510 is specifically configured to obtain an interactive message from any client, and divide the interactive message into an interactive message queue corresponding to an interactive type according to the interactive type, where the interactive message also carries data of an interactive message time;
correspondingly, the effect display module 520 is specifically configured to add the corresponding interactive effects to the live video stream in sequence in the corresponding interactive message queue according to the sequence of the interactive message time according to the interactive type.
On the basis of the above scheme, optionally, the interactive message includes a gift giving message, and correspondingly, the interactive type includes a type of gift giving.
The data interaction device based on the live broadcast room, provided by the embodiment of the disclosure, can execute the data interaction method based on the live broadcast room, provided by any embodiment of the disclosure, and has corresponding functional modules and beneficial effects of the execution method. For details of the technology that are not described in detail in this embodiment, reference may be made to a data interaction method based on a live broadcast provided in any embodiment of the present invention.
Fig. 6 shows a schematic hardware structure diagram of a terminal provided in an embodiment of the present disclosure. The terminal may be implemented in various forms, and the terminal in the embodiments of the present disclosure may include, but is not limited to, mobile terminals such as a mobile phone, a smart phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a navigation device, a vehicle-mounted terminal, a vehicle-mounted display terminal, a vehicle-mounted electronic rear view mirror, and the like, and fixed terminals such as a digital TV, a desktop computer, and the like.
As shown in fig. 6, the terminal 600 may include a wireless communication unit 610, an a/V (audio/video) input unit 620, a user input unit 630, a sensing unit 640, an output unit 650, a memory 660, an interface unit 670, a processor 680, a power supply unit 690, and the like. Fig. 6 illustrates a terminal having various components, but it is to be understood that not all illustrated components are required to be implemented. More or fewer components may alternatively be implemented.
The wireless communication unit 610 allows radio communication between the terminal 600 and a wireless communication system or a network, among others. The a/V input unit 620 serves to receive an audio or video signal. The user input unit 630 may generate key input data to control various operations of the terminal according to a command input by the user. The sensing unit 640 detects a current state of the terminal 600, a position of the terminal 600, presence or absence of a touch input of a user to the terminal 600, an orientation of the terminal 600, acceleration or deceleration movement and direction of the terminal 600, and the like, and generates a command or signal for controlling an operation of the terminal 600. The interface unit 670 serves as an interface through which at least one external device is connected to the terminal 600. The output unit 650 is configured to provide output signals in a visual, audio, and/or tactile manner. The memory 660 may store software programs or the like for processing and controlling operations performed by the processor 680, or may temporarily store data that has been output or is to be output. Memory 660 may include at least one type of storage media. Also, the terminal 600 may cooperate with a network storage device that performs a storage function of the storage 660 through a network connection. The processor 680 generally controls the overall operation of the terminal. In addition, the processor 680 may include a multimedia module for reproducing or playing back multimedia data. The processor 680 may perform a pattern recognition process to recognize a handwriting input or a picture drawing input performed on the touch screen as a character or an image. The power supply unit 690 receives external power or internal power and provides appropriate power required to operate the respective elements and components under the control of the processor 680. When the one or more programs included in the terminal are executed by the one or more processors 680, the following operations may be performed:
acquiring an interactive message from any client side in a live broadcast room, wherein the interactive message carries data of an interactive type and an interactive effect;
and adding the interactive effect to the live video stream according to the interactive type.
The disclosed embodiments also provide a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform a live-cast based data interaction method, the method comprising:
acquiring an interactive message from any client side in a live broadcast room, wherein the interactive message carries data of an interactive type and an interactive effect;
and adding the interactive effect to the live video stream according to the interactive type.
Of course, the storage medium provided by the embodiments of the present disclosure contains computer-executable instructions, and the computer-executable instructions are not limited to the method operations described above, and may also perform related operations in a live broadcast based data interaction method provided by any embodiment of the present disclosure.
The computer storage media of the disclosed embodiments may take any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (9)

1. A data interaction method based on a live broadcast room is characterized in that the method is executed by a main broadcast end, and the method comprises the following steps:
acquiring an interactive message from any client side in a live broadcast room, wherein the interactive message carries data of an interactive type and an interactive effect;
adding the interactive effect to a live video stream according to the interactive type, so that each user in the live broadcast room watches the interactive effect through the video stream based on a client on a terminal of each user;
the method for acquiring the interactive message from any client in the live broadcast room comprises the following steps:
acquiring an interactive message from any client side in a live broadcast room, and dividing the interactive messages of different interactive types into interactive message queues corresponding to the interactive types according to the interactive types, wherein the interactive messages also carry data of interactive message time; the interactive message queue comprises a gift presenting queue and an expression queue, and the gift presenting queue is further divided into at least two of a big gift queue, a tray gift queue and a sticker gift queue according to different types of specific gifted gifts;
correspondingly, adding the interactive effect to the live video stream according to the interactive type includes:
and according to the interaction types, sequentially adding corresponding interaction effects to the live video stream in the corresponding interaction message queues according to the sequence of the interaction message time.
2. The method of claim 1, wherein adding the interactive effect to a live video stream according to the type of interaction comprises:
starting a face recognition module to perform user face recognition;
and adding the interaction effect in the live video stream according to the interaction type and the face recognition result of the user.
3. The method of claim 1, further comprising:
and if the time length of the video stream corresponding to the interactive effect is detected to reach the preset interactive message display time, stopping adding the interactive effect.
4. The method of claim 1, wherein obtaining the interactive message from any client in the live broadcast room comprises:
polling an interactive message interface of a server according to a preset time interval, and pulling the interactive message of any client from the server; and/or
And receiving the interactive message pushed by the server.
5. The method according to any one of claims 1-4, wherein the interactive message comprises a gift giving message, and the type of interaction comprises a type of gift giving.
6. A data interaction device based on a live broadcast room, wherein the device is configured at an anchor side, and the device comprises:
the system comprises a message acquisition module, a message sending module and a message sending module, wherein the message acquisition module is used for acquiring an interactive message from any client in a live broadcast room, and the interactive message carries data of an interactive type and an interactive effect;
the effect display module is used for adding the interactive effect to a live video stream according to the interactive type so that each user in the live broadcast room watches the interactive effect through the video stream based on a client on a terminal of each user;
the message acquisition module is specifically used for acquiring an interactive message from any client, and dividing the interactive messages of different interactive types into interactive message queues corresponding to the interactive types according to the interactive types, wherein the interactive messages also carry data of interactive message time; the interactive message queue comprises a gift presenting queue and an expression queue, and the gift presenting queue is further divided into at least two of a big gift queue, a tray gift queue and a sticker gift queue according to different types of specific gifted gifts;
correspondingly, the effect display module is specifically configured to add the corresponding interactive effects to the live video stream in sequence in the corresponding interactive message queue according to the sequence of the interactive message time according to the interactive type.
7. The apparatus of claim 6, wherein the effects presentation module comprises:
the face recognition unit is used for starting the face recognition module to recognize the face of the user;
and the effect adding unit is used for adding the interactive effect in the live video stream according to the interactive type and the face recognition result of the user.
8. A terminal, characterized in that the terminal comprises:
one or more processors;
a memory for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement a live-air based data interaction method as recited in any of claims 1-5.
9. A storage medium containing computer-executable instructions for performing the live-based data interaction method of any one of claims 1-5 when executed by a computer processor.
CN201810765259.3A 2018-07-12 2018-07-12 Data interaction method, device, terminal and storage medium based on live broadcast room Active CN108924661B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201810765259.3A CN108924661B (en) 2018-07-12 2018-07-12 Data interaction method, device, terminal and storage medium based on live broadcast room
PCT/CN2018/124778 WO2020010819A1 (en) 2018-07-12 2018-12-28 Live broadcast room-based data interaction method and device, terminal, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810765259.3A CN108924661B (en) 2018-07-12 2018-07-12 Data interaction method, device, terminal and storage medium based on live broadcast room

Publications (2)

Publication Number Publication Date
CN108924661A CN108924661A (en) 2018-11-30
CN108924661B true CN108924661B (en) 2020-02-18

Family

ID=64411586

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810765259.3A Active CN108924661B (en) 2018-07-12 2018-07-12 Data interaction method, device, terminal and storage medium based on live broadcast room

Country Status (2)

Country Link
CN (1) CN108924661B (en)
WO (1) WO2020010819A1 (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108924661B (en) * 2018-07-12 2020-02-18 北京微播视界科技有限公司 Data interaction method, device, terminal and storage medium based on live broadcast room
CN109729410B (en) * 2018-12-29 2022-03-04 北京字节跳动网络技术有限公司 Live broadcast room interactive event processing method, device, equipment and storage medium
CN109831673B (en) * 2018-12-29 2021-06-18 北京字节跳动网络技术有限公司 Live broadcast room data processing method, device, equipment and storage medium
CN109660858A (en) * 2018-12-29 2019-04-19 北京字节跳动网络技术有限公司 Transmission method, device, terminal and the server of direct broadcasting room interaction data
CN109729375B (en) * 2018-12-29 2020-01-17 北京字节跳动网络技术有限公司 Interactive data distribution control method, device, equipment and storage medium
CN110933454B (en) * 2019-12-06 2021-11-02 广州酷狗计算机科技有限公司 Method, device, equipment and storage medium for processing live broadcast budding gift
CN111147885B (en) * 2020-01-03 2021-04-02 北京字节跳动网络技术有限公司 Live broadcast room interaction method and device, readable medium and electronic equipment
CN111770373B (en) * 2020-07-09 2022-09-02 北京达佳互联信息技术有限公司 Content synchronization method, device and equipment based on live broadcast and storage medium
CN111970533B (en) * 2020-08-28 2022-11-04 北京达佳互联信息技术有限公司 Interaction method and device for live broadcast room and electronic equipment
CN112616064B (en) * 2020-12-14 2023-06-30 广州博冠信息科技有限公司 Live broadcasting room information processing method and device, computer storage medium and electronic equipment
CN112770128B (en) * 2020-12-31 2023-04-07 百果园技术(新加坡)有限公司 Playing system, method and device of live gift and server
CN112749031B (en) * 2021-01-21 2024-03-01 广州虎牙科技有限公司 Live message processing method, device, equipment and storage medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI495322B (en) * 2010-01-29 2015-08-01 Htc Corp Information displaying method, mobile phone, and computer program product
CN104918124B (en) * 2015-05-11 2017-12-08 腾讯科技(北京)有限公司 Living broadcast interactive system, method for sending information, message receiving method and device
CN106454481B (en) * 2016-09-30 2019-08-23 广州华多网络科技有限公司 A kind of method and device of live broadcast of mobile terminal interaction
CN106412614A (en) * 2016-10-26 2017-02-15 天脉聚源(北京)传媒科技有限公司 Electronic gift playing method and device
CN108156503B (en) * 2017-12-14 2020-05-01 北京奇艺世纪科技有限公司 Method and device for generating gift
CN108924661B (en) * 2018-07-12 2020-02-18 北京微播视界科技有限公司 Data interaction method, device, terminal and storage medium based on live broadcast room

Also Published As

Publication number Publication date
WO2020010819A1 (en) 2020-01-16
CN108924661A (en) 2018-11-30

Similar Documents

Publication Publication Date Title
CN108924661B (en) Data interaction method, device, terminal and storage medium based on live broadcast room
CN109413483B (en) Live content preview method, device, equipment and medium
JP7159358B2 (en) Video access method, client, device, terminal, server and storage medium
CN111757135B (en) Live broadcast interaction method and device, readable medium and electronic equipment
CN109525853B (en) Live broadcast room cover display method and device, terminal, server and readable medium
WO2021254186A1 (en) Activity entrance display method and apparatus, and electronic device and storage medium
CN113365133B (en) Video sharing method, device, equipment and medium
CN112584224B (en) Information display and processing method, device, equipment and medium
US20220368980A1 (en) Video interaction method and device, electronic device and storage medium
CN109618177A (en) Method for processing video frequency, device, electronic equipment and computer readable storage medium
CN106204168A (en) Commodity barrage display system, unit and method
CN114205635B (en) Live comment display method, device, equipment and medium
WO2009101624A2 (en) Apparatus and method for manipulating an object inserted to video content
WO2016188276A1 (en) Video playing method, client and computer storage medium
WO2023088442A1 (en) Live streaming preview method and apparatus, and device, program product and medium
CN114727146B (en) Information processing method, device, equipment and storage medium
CN112995759A (en) Interactive service processing method, system, device, equipment and storage medium
WO2023071917A1 (en) Virtual object interaction method and device, and storage medium and computer program product
CN113923499B (en) Display control method, device, equipment and storage medium
CN114679628B (en) Bullet screen adding method and device, electronic equipment and storage medium
WO2023131104A1 (en) Interface display method and apparatus in livestreaming process, device, medium, and product
WO2022218109A1 (en) Interaction method and apparatus, electronic device, and computer readable storage medium
CN105744338B (en) A kind of method for processing video frequency and its equipment
WO2024056088A1 (en) Live-streaming reservation method and apparatus, and device, medium and product
CN115022702B (en) Display method, device, equipment and medium for live broadcast room gift

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 2nd Floor, Building 4, No. 18 North Third Ring West Road, Haidian District, Beijing, 2022

Patentee after: Tiktok Technology Co.,Ltd.

Country or region after: China

Address before: 100080 408, 4th floor, 51 Zhichun Road, Haidian District, Beijing

Patentee before: BEIJING MICROLIVE VISION TECHNOLOGY Co.,Ltd.

Country or region before: China