CN111541906B - Data transmission method, data transmission device, computer equipment and storage medium - Google Patents

Data transmission method, data transmission device, computer equipment and storage medium Download PDF

Info

Publication number
CN111541906B
CN111541906B CN202010322399.0A CN202010322399A CN111541906B CN 111541906 B CN111541906 B CN 111541906B CN 202010322399 A CN202010322399 A CN 202010322399A CN 111541906 B CN111541906 B CN 111541906B
Authority
CN
China
Prior art keywords
behavior data
user
historical
data
anchor
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
CN202010322399.0A
Other languages
Chinese (zh)
Other versions
CN111541906A (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 Kugou Computer Technology Co Ltd
Original Assignee
Guangzhou Kugou Computer 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 Kugou Computer Technology Co Ltd filed Critical Guangzhou Kugou Computer Technology Co Ltd
Priority to CN202010322399.0A priority Critical patent/CN111541906B/en
Publication of CN111541906A publication Critical patent/CN111541906A/en
Application granted granted Critical
Publication of CN111541906B publication Critical patent/CN111541906B/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/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/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/258Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
    • H04N21/25866Management of end-user data
    • 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/44222Analytics of user selections, e.g. selection of programs or purchase activity
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Social Psychology (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computer Graphics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application discloses a data sending method, a data sending device, computer equipment and a storage medium, and belongs to the technical field of live broadcast management. The method is performed by a server, the method comprising: acquiring behavior data of each user in a live webcast room; acquiring target behavior data according to the behavior data of each user, wherein the target behavior data is used for indicating the pre-execution behavior of the anchor; and sending the target behavior data to a first terminal, wherein the first terminal is a terminal for logging in a main broadcasting account of a main broadcasting. According to the method and the system, the target behavior data can be acquired by the server according to the behavior data of each user in the live webcast room, and the target behavior data is sent to the terminal of the anchor, so that the indication of what kind of behavior is performed on the anchor is realized, and the efficiency of acquiring and executing the corresponding behavior by the anchor is improved.

Description

Data transmission method, data transmission device, computer equipment and storage medium
Technical Field
The present application relates to the field of live broadcast management technologies, and in particular, to a data sending method, an apparatus, a computer device, and a storage medium.
Background
With the development of the computer field, live broadcast software in real life is more and more, and in the live broadcast process, with the interactive demand of users, live broadcast modes are increasing continuously, for example, outdoor live broadcast, main broadcast PK (Player fighting), live broadcast team battle, and the like.
In a live broadcast mode of a main broadcast PK or live broadcast group battle, the main broadcast often interacts with other main broadcasts or users, a corresponding interface is displayed in a live broadcast room of a network, and other fans can see live broadcast contents through the live broadcast room of the network. For example, the anchor may dance, sing, initiate a voice team battle, etc. in a live webcast room, and accordingly, the user may respond to the action performed by the anchor, such as sending a barrage, sending a gift, etc.
There is no clear solution for how to prompt the behavior of the anchor in the live webcast room.
Disclosure of Invention
The embodiment of the application provides a data sending method, a data sending device, computer equipment and a storage medium.
The technical scheme is as follows:
in one aspect, the present application provides a data transmission method, which is performed by a server, and includes:
acquiring behavior data of each user in a live webcast room;
acquiring target behavior data according to the behavior data of each user, wherein the target behavior data is used for indicating the pre-execution behavior of the anchor;
and sending the target behavior data to a first terminal, wherein the first terminal is a terminal for logging in a main broadcasting account of the main broadcasting.
In one aspect, the present application provides a data transmission apparatus, which is used in a server, and includes:
the first acquisition module is used for acquiring behavior data of each user in a live webcast room;
a second obtaining module, configured to obtain target behavior data according to the behavior data of each user, where the target behavior data is used to indicate a pre-execution behavior of the anchor;
and the data sending module is used for sending the target behavior data to a first terminal, and the first terminal is a terminal for logging in a main broadcasting account of the main broadcasting.
In one aspect, the present application provides a computer device comprising a processor and a memory, wherein at least one instruction, at least one program, set of codes, or set of instructions is stored in the memory, and the at least one instruction, the at least one program, the set of codes, or the set of instructions is loaded and executed by the processor to implement the data transmission method according to the above one aspect.
In one aspect, the present application provides a computer-readable storage medium having at least one instruction, at least one program, a set of codes, or a set of instructions stored therein, which is loaded and executed by a processor to implement the data transmission method according to the above one aspect.
The beneficial effects that technical scheme that this application embodiment brought include at least:
acquiring behavior data of each user in a live webcast room through a server; acquiring target behavior data according to the behavior data of each user, wherein the target behavior data is used for indicating the pre-execution behavior of the anchor; and sending the target behavior data to a first terminal, wherein the first terminal is a terminal for logging in a main broadcasting account of a main broadcasting. According to the method and the system, the target behavior data can be acquired by the server according to the behavior data of each user in the live webcast room, and the target behavior data is sent to the terminal of the anchor, so that the indication of what kind of behavior is performed on the anchor is realized, and the efficiency of acquiring and executing the corresponding behavior by the anchor is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic structural diagram of a video live broadcast system according to an exemplary embodiment of the present application;
fig. 2 is a flow chart of a method of transmitting data according to an exemplary embodiment of the present application;
fig. 3 is a method flow diagram of a method of data transmission according to an exemplary embodiment of the present application;
FIG. 4 is an interface diagram of a first terminal according to an exemplary embodiment of the present application;
fig. 5 is a block diagram of a data transmission apparatus according to an exemplary embodiment of the present application;
fig. 6 is a schematic structural diagram of a server according to an embodiment of the present application.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
The scheme provided by the application can be used in the actual scene that a user watches live broadcast through a terminal in daily life, and for convenience of understanding, a few terms and application scenes related to the embodiment of the application are simply introduced below.
1) Caption
Subtitles refer to non-video contents such as dialogue or dialogue displayed in a network video, a television, a movie and a stage work in a text form, and also generally refer to characters processed in a later stage of the movie and the television work.
2) Live broadcast
Live broadcasting is a set of technologies for displaying rich elements such as images, sounds and characters to a user through the internet by using a streaming media technology, and relates to a series of service modules such as a coding tool, streaming media data, a server, a network and a player.
With the development of the computer field, in the daily life of people, live broadcast platforms are more and more, and live broadcast watching becomes one of the main ways of daily entertainment of people. Please refer to fig. 1, which illustrates a schematic structural diagram of a video live broadcasting system according to an exemplary embodiment of the present application. The system comprises: a server 110 and several terminals 120.
The server 110 is a server, or a plurality of servers, or a virtualization platform, or a cloud computing service center.
The terminal 120 may be a terminal device having a video playing function, for example, the terminal may be a mobile phone, a tablet computer, an e-book reader, smart glasses, a smart watch, an MP4(Moving Picture Experts Group Audio Layer IV) player, a laptop portable computer, a desktop computer, and the like.
The terminal 120 and the server 110 are connected through a communication network. Alternatively, the communication network may be a wired network or a wireless network.
In the embodiment of the present application, the server 110 may transmit the video stream data to the terminal 120, and the terminal 120 performs video playing according to the video stream data.
Optionally, the video live broadcasting system may further include a live recording terminal 130.
Live recording terminal 130 may be a cell phone, a tablet computer, an e-book reader, smart glasses, a smart watch, an MP4 player, a laptop portable computer, a desktop computer, and the like.
The live recording terminal 130 corresponds to an image capturing component and an audio capturing component. The image capture component and the audio capture component may be part of the live recording terminal 130, for example, the image capture component and the audio capture component may be a camera and a microphone built in the live recording terminal 130; or, the image capturing component and the audio capturing component may also be connected to the live recording terminal 130 as peripheral devices of the live recording terminal 130, for example, the image capturing component and the audio capturing component may be a camera and a microphone respectively connected to the live recording terminal 130; or, the image capturing component and the audio capturing component may also be partially built in the live recording terminal 130, and partially serve as peripheral equipment of the live recording terminal 130, for example, the image capturing component may be a camera built in the live recording terminal 130, and the audio capturing component may be a microphone in an earphone connected to the live recording terminal 130. The embodiment of the application does not limit the implementation forms of the image acquisition assembly and the audio acquisition assembly.
In this embodiment, the live recording terminal 130 may upload the live video stream recorded locally to the server 110, and the server 110 performs related processing such as transcoding on the live video stream and then pushes the live video stream to the terminal 120. In a possible implementation manner, a live Application (APP) client may be installed in the live recording terminal 130, and the server 110 may be a live server corresponding to the live Application.
During live broadcasting, a live broadcasting recording terminal operates a client of a live broadcasting application program, after a user A (also called a main broadcasting) triggers and starts a live broadcasting function in a live broadcasting application program interface, the client of the live broadcasting application program calls an image acquisition assembly and an audio acquisition assembly in the live broadcasting recording terminal to record a live broadcasting video stream, the recorded live broadcasting video stream is uploaded to a live broadcasting server, the live broadcasting server receives the live broadcasting video stream and establishes a live broadcasting channel for the live broadcasting video stream, a user corresponding to the terminal can access the live broadcasting server through the live broadcasting application program client or a browser client installed in the terminal, the live broadcasting server pushes the live broadcasting video stream to the terminal after the live broadcasting channel is selected in an access page, and the terminal plays the live broadcasting video stream in the live broadcasting application program interface or the browser interface.
Optionally, the wireless network or wired network described above uses standard communication techniques and/or protocols. The Network is typically the Internet, but may be any Network including, but not limited to, a Local Area Network (LAN), a Metropolitan Area Network (MAN), a Wide Area Network (WAN), a mobile, wireline or wireless Network, a private Network, or any combination of virtual private networks. In some embodiments, data exchanged over a network is represented using techniques and/or formats including Hypertext Mark-up Language (HTML), Extensible Markup Language (XML), and the like. All or some of the links may also be encrypted using conventional encryption techniques such as Secure Socket Layer (SSL), Transport Layer Security (TLS), Virtual Private Network (VPN), Internet Protocol Security (IPsec). In other embodiments, custom and/or dedicated data communication techniques may also be used in place of, or in addition to, the data communication techniques described above.
People can log in the account number of oneself in the terminal, get into the live platform and watch the live, and in the live room, the user can be interactive with the anchor, for example: sending a barrage, sending a gift, etc. Optionally, the user B sends a barrage in the live broadcasting room through one terminal 120 shown in fig. 1, at this time, the server may also send the barrage sent by the user B to other terminals similarly to sending the live video, and the barrage sent by the user B is displayed in the live broadcasting application program interface or the browser interface by the other terminals. At present, the action of the anchor in the live webcast room is generally that after a gift is given by a user, a barrage is actively sent to prompt the anchor to do what kind of action, for example, after a user B gives a certain gift to the anchor, the anchor is informed that the anchor wants to watch the anchor and sing a song by sending the barrage, the anchor knows that the user B wants to sing the anchor and sing the song by listening to the anchor and the anchor can sing the song in the live webcast room correspondingly through the barrage.
Referring to fig. 2, a flowchart of a method of a data transmission method according to an exemplary embodiment of the present application is shown, where the data transmission method may be used in the system shown in fig. 1 and executed by the server in fig. 1. As shown in fig. 2, the data transmission method may include the steps of:
step 201, behavior data of each user in a live webcast room is obtained.
Step 202, obtaining target behavior data according to the behavior data of each user, wherein the target behavior data is used for indicating the pre-execution behavior of the anchor.
Step 203, sending the target behavior data to a first terminal, wherein the first terminal is a terminal for logging in a main broadcasting account of a main broadcasting.
In conclusion, behavior data of each user in the live webcast room is obtained through the server; acquiring target behavior data according to the behavior data of each user, wherein the target behavior data is used for indicating the pre-execution behavior of the anchor; and sending the target behavior data to a first terminal, wherein the first terminal is a terminal for logging in a main broadcasting account of a main broadcasting. According to the method and the system, the target behavior data can be acquired by the server according to the behavior data of each user in the live webcast room, and the target behavior data is sent to the terminal of the anchor, so that the indication of what kind of behavior is performed on the anchor is realized, and the efficiency of acquiring and executing the corresponding behavior by the anchor is improved.
In a possible implementation manner, the server may first obtain behavior data of each user in the live webcast room and behavior data of the anchor in the live webcast room, where the behavior data of each user obtained in advance may be regarded as historical behavior data of each user, and the behavior data of the anchor obtained in advance may be regarded as historical behavior data of the anchor.
Referring to fig. 3, a transmission flow chart of a data transmission method according to an exemplary embodiment of the present application is shown, where the data transmission method may be used in the system shown in fig. 1 and executed by the server in fig. 1. As shown in fig. 3, the data transmission method may include the steps of:
step 301, obtaining historical behavior data of each user and historical behavior data of the anchor.
Optionally, the behavior data of each user may be sent to the server by each terminal of each user, or the server may actively obtain the behavior data of the terminal operated by the user in the process of watching the live webcast room, where the behavior data is collected by the terminal. After the server acquires the behavior data of each user in the live webcast room, a corresponding relationship can be established between the behavior data of the user and the user. Optionally, the behavior data of the user may include behavior data such as a barrage published by the user in a live webcast room, a gift given, a money amount charged, a shared live webcast room, a call with a main webcast and an attention paid.
Similarly, the behavior data of the anchor can also be sent to the server by the terminal of the anchor itself, or the server can actively acquire the behavior data of the anchor itself or the behavior data of the anchor operating the terminal in the live broadcasting process, which is acquired by the terminal of the anchor. After the server acquires the behavior data of the anchor in the live webcast room, a corresponding relationship can be established between the behavior data of the anchor and the anchor. Optionally, the behavior data of the anchor may include behavior data of the anchor dancing, singing, gestures, expressions, money amount for recharging, talking with other anchors, paying attention, and the like in a live webcast room.
Optionally, the server may store the acquired behavior data of each user and the behavior data of the anchor, and when the behavior data is acquired next time, it is equivalent to acquire the historical behavior data of each user and the historical behavior data of the anchor.
Step 302, establishing a corresponding relation between the historical behavior data of each user and the historical behavior data of the anchor according to the historical behavior data of each user and the historical behavior data of the anchor.
In a possible implementation manner, the server establishes a corresponding relationship between the historical behavior data of each user and the historical behavior data of the anchor according to the historical time of the historical behavior data of each user and the historical time of the historical behavior data of the anchor in a time sequence. For example, when the server acquires the behavior data of each user, the server may record the time of the acquired behavior data of the user, and establish a corresponding relationship between the acquired time and the behavior data of the user. Similarly, when the server acquires the behavior data of the anchor, the server may record the time of the acquired behavior data of the anchor, and establish a corresponding relationship between the acquired time and the behavior data of the anchor.
When the server establishes the corresponding relationship between the historical behavior data of each user and the historical behavior data of the anchor according to the historical behavior data of each user and the historical behavior data of the anchor, the historical behavior data of each user and the historical behavior data of the anchor can be established to be corresponding according to the acquired time. For example, the webcast room includes 3 users (user a, user B, and user C) in addition to the webcast, at the first time, the webcast is singing a song in the webcast room, the user a sends a barrage in the webcast room, the user B presents a gift a to the webcast in the webcast room, the user C presents a gift B in the webcast room, the server at the first time, the obtained behavior data of the webcast may be "singing a song", and the obtained behavior data of each user may be "the user a sends a barrage, the user B presents gift a, and the user C presents gift B". At a second time, the anchor is jumping dance A in the live webcast room, a user A gives a gift A in the live webcast room, a user B gives the gift A to the anchor in the live webcast room, a user C shares the live webcast room, a user D supplements 100 elements in the live webcast room, the server can obtain behavior data of the anchor at the second time, the obtained behavior data of each user can be 'dance A', the obtained behavior data of the user A gives the gift A, the user B gives the gift A, the user C shares the live webcast room, and the user D supplements 100 elements.
When the server obtains the historical behavior data of each user and the historical behavior data of the anchor as the data corresponding to the first time and the second time, the server may establish a corresponding relationship between the behavior data of the anchor and the behavior data of each user according to the time sequence of the first time and the second time. Please refer to table 1, which shows a table of correspondence between historical time and behavior data according to an exemplary embodiment of the present application.
Figure BDA0002461936940000081
TABLE 1
Step 303, behavior data of each user in the live webcast room is obtained.
Optionally, in the process of anchor live broadcasting, the server may also periodically obtain behavior data of each user in the live webcast room. Here, the behavior of each user acquired by the server may also be that the respective terminal of each user sends to the server, or the server actively acquires behavior data of the terminal operation of the user in the process of watching a live webcast room, which is acquired by the terminal.
And 304, acquiring target behavior data according to the behavior data of each user, wherein the target behavior data is used for indicating the pre-execution behavior of the anchor.
In a possible implementation manner, according to the behavior data of each user, inquiring the corresponding relation between the historical behavior data of each user and the historical behavior data of the anchor; and acquiring target behavior data according to the corresponding relation between the historical behavior data of each user and the historical behavior data of the anchor. That is, after acquiring the behavior data of each user, the server may acquire the target behavior data according to the correspondence in table 1 by querying table 1. For example, if the server obtains behavior data of each user, that is, "user a sends a barrage, user B presents gift a, and user C presents gift B", the server may obtain that the target behavior data is "song a" according to the correspondence in table 1.
Optionally, due to the mobility of the users in the live webcast room, the content of the behavior data of each user acquired by the server is not completely the same as that of the behavior data of the users in table 1, and the server may match the behavior data of each user with the behavior data of the users in table 1 at this time to acquire target historical behavior data, and acquire the target behavior data according to the target historical behavior data. That is, in a possible implementation manner, the server matches the behavior data of each user with the historical behavior data of each user at each historical time to obtain target historical behavior data, where the target historical behavior data is the historical behavior data with the highest matching degree with the behavior data of each user in the historical behavior data of each user at each historical time; and acquiring the historical behavior data of the anchor corresponding to the target historical behavior data as target behavior data.
In a possible implementation manner, the server matches the behavior data of each user with the historical behavior data of each user at each historical time to obtain the overlapping behavior data of each historical time, where the overlapping behavior data is the behavior data of the user in the same part of the behavior data of each user as the historical behavior data of each user at each historical time. Calculating the behavior proportion of each historical moment according to the overlapping behavior data of each historical moment, wherein the behavior proportion is used for indicating the proportion of the overlapping behavior data in the historical behavior data; and acquiring the historical behavior data corresponding to the maximum behavior proportion as target historical behavior data.
For example, if the server obtains the behavior data of each user in step 303 as "user a sends a bullet screen, user B gives a gift a, and user D gives a gift B", the server may match the behavior data of each user with the historical behavior data of each user at each historical time in table 1, and obtain the behavior data of the user whose part is the same as the historical behavior data of each user at the first time in the behavior data of each user as "user a sends a bullet screen, user B gives a gift a". The server may further acquire that the behavior data of the user, which is the same as the historical behavior data of the respective users at the second time, in the behavior data of the respective users is "user B gifts a". In this case, the server may calculate the ratio of the behavior at the first time to be two thirds based on the overlapping behavior data at the first time, and the server may calculate the ratio of the behavior at the second time to be one quarter based on the overlapping behavior data at the first time. The server acquires the historical behavior data corresponding to the behavior proportion of two thirds as target historical behavior data, namely acquiring target historical behavior data by using 'the user A sends a bullet screen, the user B gives a gift A and the user C gives a gift B' in the table 1, and acquiring anchor behavior data (song 'sing A') corresponding to the target historical behavior data as the target behavior data.
And 305, receiving information data which is sent by a first terminal and acquired by a target acquisition component, wherein the first terminal is a terminal for logging in a main broadcast account of a main broadcast.
Optionally, the server may further receive information data collected by the target collection component and sent by the anchor terminal while acquiring the behavior data of each user in step 303. In one possible implementation manner, the target acquisition component is an image acquisition component of the first terminal, and the information data is image information data of the first terminal. For example, the image acquisition assembly comprises a camera, and a terminal of the anchor can send the shot image information data to the server through the camera. Or, the image acquisition assembly comprises a screen capturing device, and the terminal of the anchor can capture the screen of the interface displayed by the terminal through the screen capturing device and send the image information data corresponding to the screen capturing to the server.
In one possible implementation, the target collection component is a sound collection component of the first terminal, and the information data is ambient audio data of the first terminal. For example, the sound collection component includes a microphone, and the terminal of the anchor can transmit collected audio data of the environment around the terminal to the server through the microphone.
And step 306, acquiring the behavior data of the anchor at the current moment according to the information data.
Optionally, different data identification models may be preset in the server to identify the received information data. In a possible implementation manner corresponding to the above, the server identifies the information data through the image identification model, and obtains the behavior data of the anchor at the current moment. For example, the image recognition model may recognize the image information data to obtain an action result, such as: dancing, gesturing, making an expression, etc. And the recognition result is used as the behavior data of the user at the current moment.
In a possible implementation manner corresponding to the foregoing, the server identifies the information data through the voice identification model, and obtains the behavior data of the anchor at the current time. For example, the image recognition model may identify environmental audio data, identify whether the anchor is singing and the name of the song, such as: song a, song B, etc., and using the recognition result as the behavior data of the user at the current moment.
And 307, when the behavior data at the current moment is not matched with the target behavior data, sending the target behavior data to the first terminal.
That is, the server performs the step of transmitting the target behavior data to the first terminal in response to the behavior data at the current time not matching the target behavior data.
Optionally, the server may detect whether the current-time behavior data of the user is the same as the obtained target behavior data, and when the current-time behavior data is different from the target behavior data, the server sends the target behavior data to the first terminal. In a possible implementation manner, the behavior data at the current moment is a song "sing a", the target behavior data is a dance "jumping a", and at this time, it is described that the behavior data at the current moment is different from the target behavior data, and the server may send the dance "jumping a" to the first terminal. Correspondingly, if the behavior data at the current moment is 'singing a song' and the target behavior data is 'singing a song', the behavior data at the current moment is the same as the target behavior data, and the server does not need to send 'dancing a' to the first terminal.
Optionally, the first terminal may further display corresponding prompt information, where the prompt information includes the target behavior data. Referring to fig. 4, an interface diagram of a first terminal according to an exemplary embodiment of the present application is shown. As shown in fig. 4, a display interface 400 of the webcast room includes a prompt message 401, and after the host sees the prompt message, the host can know the behavior that the user may be interested in at the current time, so as to change the behavior of the user.
In conclusion, behavior data of each user in the live webcast room is obtained through the server; acquiring target behavior data according to the behavior data of each user, wherein the target behavior data is used for indicating the pre-execution behavior of the anchor; and sending the target behavior data to a first terminal, wherein the first terminal is a terminal for logging in a main broadcasting account of a main broadcasting. According to the method and the system, the target behavior data can be acquired by the server according to the behavior data of each user in the live webcast room, and the target behavior data is sent to the terminal of the anchor, so that the indication of what kind of behavior is performed on the anchor is realized, and the efficiency of acquiring and executing the corresponding behavior by the anchor is improved.
The following are embodiments of the apparatus of the present application that may be used to perform embodiments of the method of the present application. For details which are not disclosed in the embodiments of the apparatus of the present application, reference is made to the embodiments of the method of the present application.
Referring to fig. 5, a block diagram of a data transmission apparatus according to an exemplary embodiment of the present application is shown. The data transmission device may be used in a system as shown in fig. 1 to perform all or part of the steps performed by the server in the method provided by the embodiment shown in fig. 2 or fig. 3. As shown in fig. 5, the apparatus mainly includes:
a first obtaining module 501, configured to obtain behavior data of each user in a live webcast room;
a second obtaining module 502, configured to obtain target behavior data according to the behavior data of each user, where the target behavior data is used to indicate a pre-execution behavior of the anchor;
a data sending module 503, configured to send the target behavior data to a first terminal, where the first terminal is a terminal that logs in a anchor account of the anchor.
Optionally, the second obtaining module 502 includes: the device comprises a query unit and a first acquisition unit;
the query unit is used for querying the corresponding relation between the historical behavior data of each user and the historical behavior data of the anchor according to the behavior data of each user;
the first obtaining unit is configured to obtain the target behavior data according to a correspondence between the historical behavior data of each user and the historical behavior data of the anchor.
Optionally, the apparatus further comprises:
a third obtaining module, configured to obtain historical behavior data of each user and historical behavior data of the anchor;
and the relationship establishing module is used for establishing the corresponding relationship between the historical behavior data of each user and the historical behavior data of the anchor according to the historical behavior data of each user and the historical behavior data of the anchor.
Optionally, the relationship establishing module is further configured to establish a corresponding relationship between the historical behavior data of each user and the historical behavior data of the anchor according to a time sequence according to the historical time of the historical behavior data of each user and the historical time of the historical behavior data of the anchor.
Optionally, the first obtaining unit includes: a first acquisition subunit and a second acquisition subunit;
the first obtaining subunit is configured to match the behavior data of each user with the historical behavior data of each user at each historical time, and obtain target historical behavior data, where the target historical behavior data is historical behavior data that is most highly matched with the behavior data of each user in the historical behavior data of each user at each historical time;
the second obtaining subunit is configured to obtain, as the target behavior data, the historical behavior data of the anchor corresponding to the target historical behavior data.
Optionally, the first obtaining subunit is further configured to,
matching the behavior data of each user with the historical behavior data of each user at each historical time to obtain overlapped behavior data of each historical time, wherein the overlapped behavior data is the behavior data of the users in the same part of the behavior data of each user as the historical behavior data of each user at each historical time;
calculating a behavior proportion of each historical moment according to the overlapping behavior data of each historical moment, wherein the behavior proportion is used for indicating the proportion of the overlapping behavior data in the historical behavior data;
and acquiring the historical behavior data corresponding to the maximum behavior proportion as the target historical behavior data.
Optionally, the apparatus further comprises:
the data receiving module is used for receiving the information data which is sent by the first terminal and acquired by the target acquisition assembly;
the fourth acquisition module is used for acquiring the behavior data of the anchor at the current moment according to the information data;
the data sending module 503 is configured to, in response to that the behavior data at the current time does not match the target behavior data, execute the step of sending the target behavior data to the first terminal.
Optionally, the target acquisition component is an image acquisition component of the first terminal, and the information data is image information data of the first terminal;
and the fourth acquisition module is used for identifying the information data through an image identification model and acquiring the behavior data of the anchor at the current moment.
Optionally, the target collection component is a sound collection component of the first terminal, and the information data is environmental audio data of the first terminal;
and the fourth acquisition module is used for identifying the information data through a voice identification model and acquiring the behavior data of the anchor at the current moment.
In conclusion, behavior data of each user in the live webcast room is obtained through the server; acquiring target behavior data according to the behavior data of each user, wherein the target behavior data is used for indicating the pre-execution behavior of the anchor; and sending the target behavior data to a first terminal, wherein the first terminal is a terminal for logging in a main broadcasting account of a main broadcasting. According to the method and the system, the target behavior data can be acquired by the server according to the behavior data of each user in the live webcast room, and the target behavior data is sent to the terminal of the anchor, so that the indication of what kind of behavior is performed on the anchor is realized, and the efficiency of acquiring and executing the corresponding behavior by the anchor is improved.
Fig. 6 is a schematic structural diagram of a computer device according to an exemplary embodiment of the present application. The computer apparatus 600 includes a Central Processing Unit (CPU) 601, a system Memory 604 including a Random Access Memory (RAM) 602 and a Read Only Memory (ROM) 603, and a system bus 605 connecting the system Memory 604 and the CPU 601. The computer device 600 also includes a basic Input/Output System (I/O System) 606 for facilitating information transfer between devices within the computer, and a mass storage device 607 for storing an operating System 612, application programs 613, and other program modules 614.
The basic input/output system 606 includes a display 608 for displaying information and an input device 609 such as a mouse, keyboard, etc. for a user to input information. Wherein the display 608 and the input device 609 are connected to the central processing unit 601 through an input output controller 610 connected to the system bus 605. The basic input/output system 606 may also include an input/output controller 610 for receiving and processing input from a number of other devices, such as a keyboard, mouse, or electronic stylus. Similarly, input/output controller 610 may also provide output to a display screen, a printer, or other type of output device.
The mass storage device 607 is connected to the central processing unit 601 through a mass storage controller (not shown) connected to the system bus 605. The mass storage device 607 and its associated computer-readable media provide non-volatile storage for the computer device 600. That is, the mass storage device 607 may include a computer readable medium (not shown) such as a hard disk or CD-ROM (Compact disk Read-Only Memory) drive.
The computer readable media may include computer storage media and communication media. Computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. Computer storage media includes RAM, ROM, EPROM (Erasable Programmable Read Only Memory), EEPROM (Electrically Erasable Programmable Read Only Memory), flash Memory or other solid state Memory technology, CD-ROM, DVD (Digital Video Disc), or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices. Of course, those skilled in the art will appreciate that the computer storage media is not limited to the foregoing. The system memory 604 and mass storage device 607 described above may be collectively referred to as memory.
The computer device 600 may be connected to the internet or other network devices through a network interface unit 611 connected to the system bus 605.
The memory further includes one or more programs, the one or more programs are stored in the memory, and the central processing unit 601 implements all or part of the steps performed by the server in the methods provided by the above embodiments of the present application by executing the one or more programs.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as a memory comprising computer programs (instructions), executable by a processor of a computer device to perform all or part of the steps of the methods shown in the various embodiments of the present application, is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like. Optionally, the storage medium has at least one instruction, at least one program, code set, or instruction set stored therein, and the at least one instruction, the at least one program, code set, or instruction set is loaded and executed by the processor to implement the data transmission method according to the above embodiments.
It should be noted that: the apparatus provided in the foregoing embodiment is only illustrated by dividing the functional modules when performing data transmission, and in practical applications, the above function allocation may be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the apparatus and method embodiments provided by the above embodiments belong to the same concept, and specific implementation processes thereof are described in the method embodiments for details, which are not described herein again.
Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.
It will be understood that the present application is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the application is limited only by the appended claims.

Claims (11)

1. A method of data transmission, the method being performed by a server, the method comprising:
acquiring behavior data of each user in a live webcast room;
inquiring the corresponding relation between the historical behavior data of each user and the historical behavior data of the anchor according to the behavior data of each user, wherein the behavior data of each user is the behavior data of terminal operation in the process of watching the live webcast room by the user;
acquiring target behavior data according to the corresponding relation between the historical behavior data of each user and the historical behavior data of the anchor, wherein the target behavior data is used for indicating the pre-execution behavior of the anchor;
and sending the target behavior data to a first terminal, wherein the first terminal is a terminal for logging in a main broadcasting account of the main broadcasting.
2. The method of claim 1, further comprising:
acquiring historical behavior data of each user and historical behavior data of the anchor;
and establishing a corresponding relation between the historical behavior data of each user and the historical behavior data of the anchor according to the historical behavior data of each user and the historical behavior data of the anchor.
3. The method according to claim 2, wherein the establishing a correspondence between the historical behavior data of each user and the historical behavior data of the anchor according to the historical behavior data of each user and the historical behavior data of the anchor comprises:
and establishing a corresponding relation between the historical behavior data of each user and the historical behavior data of the anchor according to the historical time of the historical behavior data of each user and the historical time of the historical behavior data of the anchor according to a time sequence.
4. The method according to claim 1, wherein the obtaining the target behavior data according to the correspondence between the historical behavior data of each user and the historical behavior data of the anchor comprises:
matching the behavior data of each user with the historical behavior data of each user at each historical moment to obtain target historical behavior data, wherein the target historical behavior data is the historical behavior data which is matched with the behavior data of each user to the highest extent in the historical behavior data of each user at each historical moment;
and acquiring the historical behavior data of the anchor corresponding to the target historical behavior data as the target behavior data.
5. The method according to claim 4, wherein the matching the behavior data of each user with the historical behavior data of each user at each historical time to obtain target historical behavior data comprises:
matching the behavior data of each user with the historical behavior data of each user at each historical time to obtain overlapped behavior data of each historical time, wherein the overlapped behavior data is the behavior data of the users in the same part of the behavior data of each user as the historical behavior data of each user at each historical time;
calculating a behavior proportion of each historical moment according to the overlapping behavior data of each historical moment, wherein the behavior proportion is used for indicating the proportion of the overlapping behavior data in the historical behavior data;
and acquiring the historical behavior data corresponding to the maximum behavior proportion as the target historical behavior data.
6. The method of any of claims 1 to 5, further comprising:
receiving information data which is sent by the first terminal and acquired by a target acquisition assembly;
acquiring behavior data of the anchor at the current moment according to the information data;
the sending the target behavior data to the first terminal includes:
and when the behavior data at the current moment is not matched with the target behavior data, executing the step of sending the target behavior data to the first terminal.
7. The method of claim 6, wherein the target acquisition component is an image acquisition component of the first terminal, and the information data is image information data of the first terminal;
the acquiring the behavior data of the anchor at the current moment according to the information data comprises:
and identifying the information data through an image identification model to obtain the behavior data of the anchor at the current moment.
8. The method of claim 6, wherein the target collection component is a sound collection component of the first terminal, and the information data is ambient audio data of the first terminal;
the acquiring the behavior data of the anchor at the current moment according to the information data comprises:
and identifying the information data through a voice identification model to obtain the behavior data of the anchor at the current moment.
9. A data transmission apparatus, wherein the apparatus is used in a server, the apparatus comprising:
the first acquisition module is used for acquiring behavior data of each user in a live webcast room;
the second acquisition module is used for inquiring the corresponding relation between the historical behavior data of each user and the historical behavior data of the anchor according to the behavior data of each user, wherein the behavior data of each user is the behavior data of the terminal operation in the process of watching the live webcast room by the user; acquiring target behavior data according to the corresponding relation between the historical behavior data of each user and the historical behavior data of the anchor, wherein the target behavior data is used for indicating the pre-execution behavior of the anchor;
and the data sending module is used for sending the target behavior data to a first terminal, and the first terminal is a terminal for logging in a main broadcasting account of the main broadcasting.
10. A computer device comprising a processor and a memory, the memory having stored therein at least one instruction, at least one program, a set of codes, or a set of instructions, the at least one instruction, the at least one program, the set of codes, or the set of instructions being loaded and executed by the processor to implement the data transmission method according to any one of claims 1 to 8.
11. A computer-readable storage medium, having stored therein at least one instruction, at least one program, a set of codes, or a set of instructions, which is loaded and executed by a processor to implement the data transmission method according to any one of claims 1 to 8.
CN202010322399.0A 2020-04-22 2020-04-22 Data transmission method, data transmission device, computer equipment and storage medium Active CN111541906B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010322399.0A CN111541906B (en) 2020-04-22 2020-04-22 Data transmission method, data transmission device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010322399.0A CN111541906B (en) 2020-04-22 2020-04-22 Data transmission method, data transmission device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111541906A CN111541906A (en) 2020-08-14
CN111541906B true CN111541906B (en) 2022-07-05

Family

ID=71976932

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010322399.0A Active CN111541906B (en) 2020-04-22 2020-04-22 Data transmission method, data transmission device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111541906B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112188220A (en) * 2020-09-02 2021-01-05 珠海格力电器股份有限公司 Method and device for prompting information in live broadcast, storage medium and electronic device
CN115225918A (en) * 2021-04-19 2022-10-21 深圳市创成微电子有限公司 Method, system, server, client and storage medium for generating reference information

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108184144A (en) * 2017-12-27 2018-06-19 广州虎牙信息科技有限公司 A kind of live broadcasting method, device, storage medium and electronic equipment
CN109121012A (en) * 2018-07-24 2019-01-01 北京潘达互娱科技有限公司 A kind of response method, device, electronic equipment and storage medium
CN110830811A (en) * 2019-10-31 2020-02-21 广州酷狗计算机科技有限公司 Live broadcast interaction method, device, system, terminal and storage medium
CN110933453A (en) * 2019-12-05 2020-03-27 广州酷狗计算机科技有限公司 Live broadcast interaction method and device, server and storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106792245B (en) * 2016-11-22 2018-04-20 广州华多网络科技有限公司 Direct broadcasting room video flowing synthetic method, device and terminal device
CN108040285B (en) * 2017-11-15 2019-12-06 上海掌门科技有限公司 Video live broadcast picture adjusting method, computer equipment and storage medium
CN110446057B (en) * 2019-08-30 2022-05-17 北京字节跳动网络技术有限公司 Method, device and equipment for providing live auxiliary data and readable medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108184144A (en) * 2017-12-27 2018-06-19 广州虎牙信息科技有限公司 A kind of live broadcasting method, device, storage medium and electronic equipment
CN109121012A (en) * 2018-07-24 2019-01-01 北京潘达互娱科技有限公司 A kind of response method, device, electronic equipment and storage medium
CN110830811A (en) * 2019-10-31 2020-02-21 广州酷狗计算机科技有限公司 Live broadcast interaction method, device, system, terminal and storage medium
CN110933453A (en) * 2019-12-05 2020-03-27 广州酷狗计算机科技有限公司 Live broadcast interaction method and device, server and storage medium

Also Published As

Publication number Publication date
CN111541906A (en) 2020-08-14

Similar Documents

Publication Publication Date Title
CN106658200B (en) Live video sharing and acquiring method and device and terminal equipment thereof
WO2019205872A1 (en) Video stream processing method and apparatus, computer device and storage medium
CN110830735B (en) Video generation method and device, computer equipment and storage medium
CN112653902B (en) Speaker recognition method and device and electronic equipment
CN104602133A (en) Multimedia file shearing method and terminal as well as server
CN111541906B (en) Data transmission method, data transmission device, computer equipment and storage medium
WO2018068557A1 (en) Service object processing method, server, terminal and system
CN112995759A (en) Interactive service processing method, system, device, equipment and storage medium
US20180373736A1 (en) Method and apparatus for storing resource and electronic device
CN112969093B (en) Interactive service processing method, device, equipment and storage medium
CN111629253A (en) Video processing method and device, computer readable storage medium and electronic equipment
CN111966441A (en) Information processing method and device based on virtual resources, electronic equipment and medium
CN109361954B (en) Video resource recording method and device, storage medium and electronic device
KR101123370B1 (en) service method and apparatus for object-based contents for portable device
CN107659831A (en) Media data processing method, client and storage medium
CN111669658B (en) Virtual article issuing method and device, computer equipment and storage medium
CN111104551A (en) Live broadcast room label determination method and device, storage medium and electronic equipment
CN113573090A (en) Content display method, device and system in game live broadcast and storage medium
CN111800661A (en) Live broadcast room display control method, electronic device and storage medium
RU2696767C1 (en) Method and system for broadcasting multimedia information in real time, information collection device and information verification server
CN111741333B (en) Live broadcast data acquisition method and device, computer equipment and storage medium
CN113727125B (en) Live broadcast room screenshot method, device, system, medium and computer equipment
CN112437332B (en) Playing method and device of target multimedia information
KR102420503B1 (en) Method and device for providing perfomance contents based on augmented reality
CN115065835A (en) Live-broadcast expression display processing method, server, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant