CN109788302B - Medium information delivery method, device, equipment and storage medium - Google Patents

Medium information delivery method, device, equipment and storage medium Download PDF

Info

Publication number
CN109788302B
CN109788302B CN201910026417.8A CN201910026417A CN109788302B CN 109788302 B CN109788302 B CN 109788302B CN 201910026417 A CN201910026417 A CN 201910026417A CN 109788302 B CN109788302 B CN 109788302B
Authority
CN
China
Prior art keywords
media information
live
client
live broadcast
delivery
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.)
Expired - Fee Related
Application number
CN201910026417.8A
Other languages
Chinese (zh)
Other versions
CN109788302A (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.)
Shanghai Liujie Information Technology Co ltd
Original Assignee
Shanghai Liujie Information Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Liujie Information Technology Co ltd filed Critical Shanghai Liujie Information Technology Co ltd
Priority to CN201910026417.8A priority Critical patent/CN109788302B/en
Publication of CN109788302A publication Critical patent/CN109788302A/en
Application granted granted Critical
Publication of CN109788302B publication Critical patent/CN109788302B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The embodiment of the invention discloses a medium information delivery method, a device, equipment and a storage medium. The method comprises the following steps: the media information is acquired from the server by implanting a media information plug-in of the live client in advance and is stored in a media information set; the media information plug-in is packaged with a media information playing tool; responding to a media information releasing request of a user, and releasing media information corresponding to the media information releasing request on a live broadcast interface of a live broadcast client through the media information plug-in. By adopting the technical scheme of the embodiment of the invention, the problems of high learning cost, time and labor waste and complicated medium information delivery caused by the fact that the delivery process needs to be systematically learned when the traditional medium information delivery mode is adopted for delivering information are solved, and the medium information delivery can be carried out efficiently by a user through simple clicking operation in the live broadcast process, so that the large-area medium information delivery is facilitated.

Description

Medium information delivery method, device, equipment and storage medium
Technical Field
The embodiment of the invention relates to the technical field of network video live broadcast, in particular to a media information delivery method, a device, equipment and a storage medium.
Background
With the development and popularization of internet live broadcast, the number of audiences and exposure effect in a live broadcast room are increasing day by day, and brand media information put in the live broadcast room becomes a novel media information popularization mode and a novel media information popularization channel. In a conventional media information delivery method, media information is delivered by a player of an anchor client, usually depending on an anchor in a live broadcast room.
However, when the traditional media information delivery method is adopted to deliver media information, the anchor needs to learn the delivery flow of the media information, so that the problems of high learning cost, time and labor waste, complicated delivery flow of the media information and the like exist, and the problem of ineffective delivery of the media information may occur, which is not beneficial to delivering the media information in a large area.
Disclosure of Invention
In view of the foregoing problems, embodiments of the present invention provide a method, an apparatus, a device, and a storage medium for delivering media information, so as to implement efficient delivery of media information in a live video broadcast process.
In a first aspect, an embodiment of the present invention provides a media information delivery method, which is executed by a terminal device, and includes:
the media information is acquired from the server by implanting a media information plug-in of the live client in advance and is stored in a media information set; the media information plug-in is packaged with a media information playing tool;
responding to a media information releasing request of a user, and releasing media information corresponding to the media information releasing request on a live broadcast interface of a live broadcast client through the media information plug-in.
In a second aspect, an embodiment of the present invention further provides a media information delivery method, which is executed by a server, and the method includes:
sending media information matched with a live broadcast client to a media information plug-in which the live broadcast client is implanted in advance, so that the media information is stored in a media information set through the media information plug-in;
and if the live client is detected to respond to a media information release request of a user and release media information on a live interface of the live client, monitoring the live interface of the live client and recording monitoring data.
In a third aspect, an embodiment of the present invention further provides a media information delivery apparatus configured to a terminal device, where the method includes:
the acquisition module is used for acquiring media information from the server through a media information plug-in which is implanted into the live client in advance and storing the media information in a media information set; the media information plug-in is packaged with a media information playing tool;
and the releasing module is used for responding to a media information releasing request of a user and releasing media information corresponding to the media information releasing request on a live broadcast interface of a live broadcast client through the media information plug-in.
In a fourth aspect, an embodiment of the present invention further provides a media information delivery apparatus configured on a server, where the apparatus includes:
the sending module is used for sending the media information matched with the live broadcast client to a media information plug-in which the live broadcast client is implanted in advance so as to store the media information in a media information set through the media information plug-in;
and the monitoring module is used for monitoring the live broadcast interface of the live broadcast client and recording monitoring data if the live broadcast client is detected to respond to a media information release request of a user and release media information on the live broadcast interface of the live broadcast client.
In a fifth aspect, an embodiment of the present invention further provides a terminal device, where the terminal device includes:
one or more processors;
a storage device for storing one or more programs,
when the one or more programs are executed by the one or more processors, the one or more processors implement the method for delivering media information, which is applied to a terminal device, provided in the embodiment of the present invention.
In a sixth aspect, an embodiment of the present invention further provides a server, where the server includes:
one or more processors;
a storage device for storing one or more programs,
when the one or more programs are executed by the one or more processors, the one or more processors implement the method for delivering media information applied to the server provided in the embodiment of the present invention.
In a seventh aspect, an embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the method for delivering media information applied to a live client provided in the embodiment of the present invention is implemented.
In an eighth aspect, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the media information delivery method applied to a server provided in the embodiment of the present invention.
The embodiment of the invention provides a medium information delivery method, which comprises the following steps: the media information is acquired from the server by implanting a media information plug-in of the live client in advance and is stored in a media information set; the media information plug-in is packaged with a media information playing tool; responding to a media information releasing request of a user, and releasing media information corresponding to the media information releasing request on a live broadcast interface of a live broadcast client through the media information plug-in. By adopting the technical scheme of the embodiment of the invention, the problems of high learning cost, time and labor waste and complicated medium information delivery caused by the fact that the delivery process needs to be systematically learned when the traditional medium information delivery mode is adopted for delivering information are solved, and the medium information delivery can be carried out efficiently by a user through simple clicking operation in the live broadcast process, so that the large-area medium information delivery is facilitated.
The above summary of the present invention is merely an overview of the technical solutions of the present invention, and the present invention can be implemented in accordance with the content of the description in order to make the technical means of the present invention more clearly understood, and the above and other objects, features, and advantages of the present invention will be more clearly understood.
Drawings
Other features, objects and advantages of the invention will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 is a schematic flowchart of a media information delivery method according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of a medium information delivery method according to a second embodiment of the present invention;
fig. 3 is a schematic flowchart of a method for delivering media information according to a third embodiment of the present invention;
fig. 4 is a schematic flowchart of a medium information delivery method according to a fourth embodiment of the present invention;
fig. 5 is a schematic flowchart of a medium information delivery method according to a fifth embodiment of the present invention;
fig. 6 is a schematic flowchart of a method for delivering media information according to a sixth embodiment of the present invention;
fig. 7 is a schematic structural diagram of a media information delivery apparatus according to a seventh embodiment of the present invention;
fig. 8 is a schematic structural diagram of a media information delivery apparatus according to an eighth embodiment of the present invention;
fig. 9 is a schematic structural diagram of a terminal device provided in a ninth embodiment of the present invention;
fig. 10 is a schematic structural diagram of a server provided in the tenth embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings, which show exemplary embodiments of the invention, however, it should be understood that the exemplary embodiments described herein are merely illustrative of the invention and are not limiting thereof. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art. In addition, it should be noted that, for convenience of description, only a part of structures related to the present invention, not all of the structures, are shown in the drawings.
Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the operations (or steps) as a sequential process, many of the operations can be performed in parallel, concurrently, or simultaneously. In addition, the order of the operations may be re-arranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like.
Example one
Fig. 1 is a flowchart of a media information delivery method according to an embodiment of the present invention, which is applicable to a situation where media information is delivered in a live video broadcast process, for example, a scene where a video advertisement is delivered in a live video broadcast process of a main broadcast. The method can be executed by a medium information delivery device, which can be implemented in software and/or hardware and integrated on any terminal equipment with network communication function. As shown in fig. 1, the media information delivery method may include:
s101, acquiring media information from a server through a media information plug-in implanted into a live client in advance, and storing the media information in a media information set; the media information plug-in is packaged with a media information playing tool.
In this embodiment, the media information delivery is performed by using a traditional media information delivery method, and the media information delivery implementer needs to perform system learning on the delivery process of the media information, so that the normal media information delivery operation can be performed, and thus the problems of very complicated process, high learning cost, time consuming and labor consuming of the media information delivery can be caused. In view of the above problems, in the technical solution of this embodiment, a media information playing tool dedicated for playing media information may be packaged, and the media information playing tool may be embedded in a live broadcast client in a plug-in form. Optionally, the media information plug-in packaged with the media information playing tool may be specifically implanted into a plug-in directory of the live broadcast client.
In this embodiment, on a live broadcast client of a terminal device, a media information plug-in implanted in the live broadcast client in advance may download and acquire media information to be delivered from a server, and store the acquired media information in a media information set. The method has the advantages that the acquisition and storage of the media information can be finished by the media information plug-in which is pre-implanted into the client, so that the manual operation of an implementer for delivering the media information is not needed for acquisition, and the flow of acquiring and storing the media information is simplified. The media information may be advertisements or other carriers for transmitting information. The advertisement can be a text advertisement, an image advertisement or an audio advertisement, and can also be a video advertisement combining the three advertisements.
In this embodiment, the live client may download and acquire media information to be delivered from the server according to preset time; or the live broadcast client can download and acquire the media information to be released from the server according to the media information update prompt sent by the server, and the media information to be released can be automatically updated by adopting the method, so that the manual operation is reduced in the acquisition process of the media information, and the complexity of the media information release process is reduced. Optionally, the acquired media information may be stored in a local media information set, so that the media information can be directly used when being used, and the problem that the media information is released in a stuck state due to the fact that the media information needs to be buffered through a network when being used is avoided, so that the process of releasing the media information is smoother.
In this embodiment, the live broadcast client may be OBS-type live broadcast software, and the OBS-type live broadcast may support the implantation of an extension plug-in. By adopting the plug-in implantable characteristic of the OBS live broadcast client, a media information playing tool for playing media information can be packaged into a plug-in form, and the packaged media information plug-in form is implanted into the OBS live broadcast client. Optionally, the live broadcast client may obtain the media information from the server by implanting an OBS media information plug-in of the OBS type live broadcast client in advance, and store the obtained media information in the media information set. The media information may be a video advertisement.
S102, responding to a media information releasing request of a user, and releasing media information corresponding to the media information releasing request on a live broadcast interface of a live broadcast client through a media information plug-in.
In this embodiment, the live client may obtain media information to be delivered from the server by implanting a media information plug-in of the live client in advance, and store the obtained media information in the media information set. The live client can be provided with a media information release control, and a user can trigger the media information release control to send a media information release request through clicking and other operations. The live broadcast client can respond to a media information delivery request of a user, call a media information plug-in pre-implanted into the live broadcast client, and acquire media information pre-stored in a media information set through the media information plug-in pre-implanted into the live broadcast client; and then, a media information plug-in which is pre-implanted into the live client can be adopted to launch media information corresponding to the media information launching request on a live interface of the live client. By adopting the mode, the releasing operation flow of a media information releasing implementer (a user for releasing media information) during releasing the media information can be reduced, the user can trigger the media information releasing request only through simple operation, and the corresponding media information can be automatically released on the live broadcast interface of the live broadcast client terminal subsequently without excessive manual releasing operation.
In an optional manner of this embodiment, by the media information plugin, before releasing media information corresponding to the media information release request on the live interface of the live client, the method may further include:
and inquiring the media information corresponding to the media information delivery request from the media information set through the media information plug-in according to the inquiry parameters in the media information delivery request.
In this embodiment, the media information set may include a plurality of media information, not only one type of media information, so that when the user triggers generation of the media information request, the media information request may carry query parameters of the media information that the user needs to release. The media information needed to be delivered by the user can be accurately and quickly searched from the media information set by inquiring the parameters. After responding to the media information request of the user, the live broadcast client can query the media information corresponding to the media information delivery request from the media information set through the media information plug-in according to the query parameter in the media information delivery request, and the media information is used as the media information to be delivered. Furthermore, the live broadcast client can launch the media information corresponding to the media information launching request on a live broadcast interface of the live broadcast client through the media information plug-in.
In an optional manner of this embodiment, before responding to the media information placement request of the user, the method may further include:
determining whether a live broadcast interface of a live broadcast client is in a live broadcast starting state;
and if the live broadcast client is in the live broadcast starting state, allowing the live broadcast client to respond to the media information release request of the user.
In this embodiment, after receiving a media information delivery request triggered by a user, because media information needs to be delivered on a live interface of a live client, considering that a live interface of the live client does not open a live state, if a media information delivery request of the user is insist on responding, ineffective delivery of the media information is caused. Based on the situation, before responding to the media information release request of the user, whether the live broadcast interface of the live broadcast client is in a live broadcast starting state or not is determined. And if the live broadcast interface of the live broadcast client is in a live broadcast starting state, allowing the live broadcast client to respond to a media information release request of a user, and further releasing media information. Optionally, when determining whether the live interface of the live client is in the live starting state, normal data streaming may be performed according to whether the live interface of the live client is currently performing normal data streaming, that is, whether the live interface of the live client pushes live video data to the outside is determined. And if the live broadcast interface of the live broadcast client side is confirmed to push the live broadcast video data to the outside, indicating that the live broadcast interface of the live broadcast client side is in a live broadcast starting state.
The embodiment of the invention provides a medium information delivery method, which comprises the following steps: the media information is acquired from the server by implanting a media information plug-in of the live client in advance and is stored in a media information set; the media information plug-in is packaged with a media information playing tool; responding to a media information releasing request of a user, and releasing media information corresponding to the media information releasing request on a live broadcast interface of a live broadcast client through the media information plug-in. By adopting the technical scheme of the embodiment of the invention, the problems of high learning cost, time and labor waste and complicated medium information delivery caused by the fact that the delivery process needs to be systematically learned when the traditional medium information delivery mode is adopted for delivering information are solved, and the medium information delivery can be carried out efficiently by a user through simple clicking operation in the live broadcast process, so that the large-area medium information delivery is facilitated.
Example two
Fig. 2 is a schematic flow chart of a media information delivery method provided in a second embodiment of the present invention, and this embodiment is optimized based on the above embodiment, and the embodiment of the present invention may be combined with various alternatives in one or more embodiments. As shown in fig. 2, the media information delivery method may include:
s201, receiving a media information task which is sent by a server and matched with a live client.
In this embodiment, the anchor information of different live clients may be different, the live platform information of different live clients may be different, and the live types of different live clients may also be different. In view of the above situation, media information to be delivered by different live broadcast clients may have a certain difference, and for this reason, when the live broadcast clients are used to deliver the media information, the server may send media information tasks matched with the live broadcast clients to the live broadcast clients according to the information of the live broadcast clients, so that the media information tasks matched with each other may be distributed to the different live broadcast clients. The live client can receive a media information task which is sent by the server and matched with the live client. The live broadcast client can receive a media information task which is sent from the server and matched with the live broadcast client according to preset time; or, the live client may update the reminder according to the media information sent by the server, and receive a media information task sent by the server and matched with the live client.
S202, according to the media information task, media information contained in the media information task is obtained from a server through a media information plug-in which is implanted into a live broadcast client in advance and is stored in a media information set; the media information plug-in is packaged with a media information playing tool.
In this embodiment, the live broadcast client may pull and download each piece of media information corresponding to the media information task from the server by implanting a media information plug-in of the live broadcast client in advance according to the received media information task matching with the live broadcast client. After each piece of media information corresponding to the media information task is acquired, each piece of acquired media information can be stored in the local media information set, so that the media information can be combined with the local media information for direct acquisition and use in the following process, and the media information is acquired without network buffering, so that the media information acquisition process is prevented from being blocked or failed in acquisition.
S203, responding to the media information releasing request of the user, and releasing media information corresponding to the media information releasing request on a live broadcast interface of the live broadcast client through the media information plug-in.
On the basis of this embodiment, optionally, before the media information corresponding to the media information delivery request is delivered on the live interface of the live client through the media information plug-in, the method may further include: and inquiring the media information corresponding to the media information delivery request from the media information set through the media information plug-in according to the inquiry parameters in the media information delivery request.
The embodiment of the invention provides a media information delivery method, and by adopting the technical scheme of the embodiment of the invention, the problems of high learning cost, time and labor waste and complicated media information delivery caused by the need of performing system learning on a delivery process when a traditional media information delivery mode is adopted for delivering information are solved, so that a user can efficiently deliver media information by simple clicking operation in a live broadcast process, and further large-area media information delivery is facilitated; in addition, in the technical scheme of the implementation, the live client receives the media information matched with the live client and puts the media information, so that the live client better meets the putting requirement of the media information in the process of putting the media information, and the putting effect of the corresponding media information is more efficient.
EXAMPLE III
Fig. 3 is a schematic flow chart of a media information delivery method provided in a third embodiment of the present invention, and this embodiment is optimized based on the above embodiments, and the embodiment of the present invention may be combined with various alternatives in one or more of the above embodiments. As shown in fig. 3, the media information delivery method may include:
s301, acquiring media information from a server through a media information plug-in implanted into a live client in advance, and storing the media information in a media information set; the media information plug-in is packaged with a media information playing tool.
On the basis of the embodiment, the obtaining of the media information from the server by implanting the media information plug-in of the live client in advance may include: receiving a media information task which is sent by a server and matched with a live broadcast client; and according to the media information task, media information contained in the media information task is acquired from the server through a media information plug-in which is implanted into the live broadcast client in advance.
S302, inquiring the current live broadcast state of the live broadcast client according to the live broadcast performance data of the live broadcast client.
In this embodiment, after receiving a media information delivery request triggered by a user, because media information needs to be delivered on a live interface of a live client, considering that if a current state of the live client is not suitable for delivering the media information, if a media information delivery request of the user is insist on responding, normal live broadcast of the live client is affected, and a problem that the media information cannot be delivered normally on the live client is also caused. Based on the above situation, before responding to the media information placement request of the user, it is also required to detect whether the live client is allowed to respond to the media information of the user. The live broadcast client can acquire the live broadcast performance data of the live broadcast client in real time. And then, the live broadcast client side inquires the current live broadcast state of the live broadcast client side according to the live broadcast performance data of the live broadcast client side. Wherein the live performance data comprises: at least one item of bandwidth information occupied by live broadcasting, memory information occupied by live broadcasting and CPU information occupied by live broadcasting.
S303, determining whether the live client is allowed to respond to the media information release request of the user or not according to the current live state.
In this embodiment, after querying the current live broadcast state of the live broadcast client according to the live broadcast performance data of the live broadcast client, it can be determined that the live broadcast client can normally deliver media information through the current live broadcast state of the live broadcast client. If the live broadcast client can normally carry out the media information delivery task according to the current live broadcast state, the live broadcast client is allowed to respond to the media information delivery request of the user to carry out the media information delivery operation under the current live broadcast state. And if the live broadcast client can not normally carry out the media information release task according to the current live broadcast state, indicating that the live broadcast client is not allowed to respond to the media information release request of the user to carry out the media information release operation in the current live broadcast state.
S304, responding to the media information releasing request of the user, and releasing media information corresponding to the media information releasing request on a live broadcast interface of the live broadcast client through the media information plug-in.
On the basis of this embodiment, through the media information plug-in, before the media information corresponding to the media information delivery request is delivered on the live interface of the live client, the method may further include: and inquiring the media information corresponding to the media information delivery request from the media information set through the media information plug-in according to the inquiry parameters in the media information delivery request.
The embodiment of the invention provides a media information delivery method, and by adopting the technical scheme of the embodiment of the invention, the problems of high learning cost, time and labor waste and complicated media information delivery caused by the need of performing system learning on a delivery process when a traditional media information delivery mode is adopted for delivering information are solved, so that a user can efficiently deliver media information by simple clicking operation in a live broadcast process, and further large-area media information delivery is facilitated; and whether media information releasing operation is carried out or not can be determined according to the live broadcast state of the live broadcast client, and the problem that media information cannot be normally released on the live broadcast client due to the fact that media information is released under the abnormal condition of the live broadcast client is avoided.
Example four
Fig. 4 is a schematic flow chart of a media information delivery method provided in a fourth embodiment of the present invention, and this embodiment is optimized based on the foregoing embodiment, and the embodiment of the present invention may be combined with various alternatives in one or more of the foregoing embodiments. As shown in fig. 4, the media information delivery method may include:
s401, acquiring media information from a server through a media information plug-in implanted into a live client in advance, and storing the media information in a media information set; the media information plug-in is packaged with a media information playing tool.
On the basis of the embodiment, the obtaining of the media information from the server by implanting the media information plug-in of the live client in advance may include: receiving a media information task which is sent by a server and matched with a live broadcast client; and according to the media information task, media information contained in the media information task is acquired from the server through a media information plug-in which is implanted into the live broadcast client in advance.
S402, responding to a media information releasing request of a user, and decoding media information corresponding to the media information releasing request through a media information plug-in according to releasing parameters in the media information releasing request.
In this embodiment, before decoding, by the media information plug-in, the media information corresponding to the media information placement request according to the placement parameter in the media information placement request, the method may further include: and inquiring the media information corresponding to the media information delivery request from the media information set through the media information plug-in according to the inquiry parameters in the media information delivery request. Because the media information needs to be delivered on the playing interface of the live broadcast client, if the media information does not meet the delivery requirement of the live broadcast client, the media information may not be delivered normally on the live broadcast interface of the live broadcast client, which may cause delivery errors. In view of the above, after responding to the media information delivery request of the user, the live broadcast client may decode the media information corresponding to the media information delivery request through the media information plug-in according to the delivery parameter in the media information delivery request, so as to reprocess the decoded media information in the following, and obtain the media information meeting the delivery requirement. Optionally, a h.264 video decoding mode may be adopted to decode the media information corresponding to the media information delivery request.
In an optional manner of this embodiment, decoding, by the media information plug-in, media information corresponding to the media information delivery request according to the delivery parameter in the media information delivery request may include:
initializing a decoder and an audio source, and setting decoding parameters according to release parameters in the media information release request;
and decoding the media information corresponding to the media information delivery request through the media information plug-in according to the decoding parameters and the live broadcast parameters of the live broadcast interface of the live broadcast client.
In this embodiment, the media information delivery request may carry delivery parameters. In response to the media information delivery request, the decoder and the audio source may be initialized, and a decoding parameter for performing decoding processing on the media information may be set according to the delivery parameter in the media information delivery request, so that the decoder performs decoding processing on the media information according to the set decoding parameter. The decoding parameters may include sampling rate, channel selection, color format, and other related decoding parameters. After the decoding parameters are set, the live broadcast client can decode media information corresponding to the media information delivery request through the media information plug-in according to the decoding parameters and the live broadcast parameters of the live broadcast interface of the live broadcast client. The live parameters may include, but are not limited to, a play frequency of the live client. Through the process, the original media information can be decoded into the decoded media information data which meets the delivery requirement of the live client.
In this embodiment, when the media information is a video advertisement, the video advertisement may include image data and audio data. The live broadcast client can decode media information corresponding to the media information delivery request through the media information plug-in unit according to the decoding parameters and live broadcast parameters of a live broadcast interface of the live broadcast client, and the decoding method can include the following steps: initializing a decoder, and decoding media information frame by frame through a media information plug-in unit according to image decoding parameters and live broadcast parameters of a live broadcast interface of a live broadcast client to obtain decoded image data; and initializing an audio source, and decoding the media information frame by frame through a media information plug-in unit according to the audio decoding parameters and the live broadcast parameters of a live broadcast interface of a live broadcast client to obtain decoded audio data.
On the basis of the embodiment, before responding to the media information delivery request of the user, the media information delivery method may further include: inquiring the current live broadcast state of the live broadcast client according to the live broadcast performance data of the live broadcast client; and determining whether the live client is allowed to respond to the media information delivery request of the user or not according to the current live state.
And S403, performing data processing on the image data and the audio data obtained by decoding the media information, and synchronously releasing the image data and the audio data on a live broadcast interface of a live broadcast client according to a data processing result.
In this embodiment, after the image data and the audio data obtained by decoding from the media information are decoded, the decoded image data and audio data are subjected to data processing, so that the audio data of the processed image data are synchronously delivered on a live interface of a live client, and an effect of delivering the media information is achieved.
In an optional manner of this embodiment, the data processing on the image data and the audio data decoded from the media information may include:
preprocessing image data obtained by decoding from the media information, creating textures by adopting the preprocessed image data, and rendering the textures to a live broadcast interface of a live broadcast client;
and writing the audio data decoded from the medium information into an audio buffer.
In this embodiment, the live broadcast client may perform preprocessing on the image data decoded from the media information by using a preset preprocessing parameter. After the image data obtained by decoding is preprocessed, textures can be created by adopting the preprocessed image data, and the preprocessed image data is rendered to a live broadcast interface of a live broadcast client. Synchronously, the live client can write decoded audio data to a streaming audio buffer or a local audio buffer. The image data and the audio data are synchronously released on a live broadcast interface of a live broadcast client through a media information plug-in.
The embodiment of the invention provides a media information delivery method, and by adopting the technical scheme of the embodiment of the invention, the problems of high learning cost, time and labor waste and complicated media information delivery caused by the need of performing system learning on a delivery process when a traditional media information delivery mode is adopted for delivering information are solved, so that a user can efficiently deliver media information by simple clicking operation in a live broadcast process, and further large-area media information delivery is facilitated; in the technical scheme of the implementation, decoded audio data and decoded image data are obtained by decoding the media information, and the decoded audio data and decoded image data are synchronously played on a live interface of the client, so that the media information to be delivered meets the delivery requirement of the live client, and the problem of delivery errors caused by the fact that the media information does not meet the requirement is avoided.
EXAMPLE five
Fig. 5 is a flowchart of a media information delivery method provided in the fifth embodiment of the present invention, which is applicable to a situation where media information is delivered in a live video broadcast process, for example, a scene where a video advertisement is delivered in a live video broadcast process of a main broadcast. The method can be executed by a media information delivery device, which can be implemented in software and/or hardware and integrated on any server with network communication function. Wherein the server may be an advertisement server. As shown in fig. 5, the media information delivery method may include:
s501, the media information matched with the live broadcast client is sent to a media information plug-in which the live broadcast client is implanted in advance, and the media information is stored in a media information set through the media information plug-in.
In this embodiment, the anchor information of different live clients may be different, the live platform information of different live clients may be different, and the live types of different live clients may also be different. In view of the above situation, media information to be delivered by different live broadcast clients may also have a certain difference, and for this reason, when the server sends media information to a live broadcast client, the server may send media information matched with the live broadcast client to a media information plug-in implanted in the live broadcast client in advance, so that media information matched with each other may be distributed to different live broadcast clients. The live broadcast client can receive the media information matched with the live broadcast client through a media information plug-in which is implanted in the live broadcast client in advance, and store the acquired media information in a media information set. By adopting the technical scheme of the embodiment, the media information matched with the live client can be issued to the live client, so that invalid delivery caused by sending unmatched media information to the live client is avoided. Specifically, the media information plugin in this embodiment is the same as the explanation of the media information plugin in the above embodiment, and is not described herein again.
In an optional manner of this embodiment, sending media information matched with the live client to a media information plugin pre-embedded in the live client may include:
generating a media information task matched with the live client according to the grade information of the live client, and sending the media information task to the live client;
and sending the media information contained in the media information task to a media information plug-in which is implanted into the live broadcast client in advance.
In this embodiment, the level information of the live client may include: the method comprises the steps of information of a main broadcast to which a live client belongs, information of a live platform to which the live client belongs and a live type of the live client. The server can take the media information task matched with the level information of the live client as the media information task matched with the live client according to the level information of the live client. For example, taking the level information of the live client as the information of the anchor to which the live client belongs as an example, when the anchor to which the live client belongs is in a login state, the anchor information of the anchor to which the live client belongs, such as qualification information of the anchor, can be queried through the anchor library. And inquiring to search a media information task matched with the anchor information of the anchor of the live client from a media information task database according to the inquired anchor information of the anchor of the live client. For the information of the live platform to which the live client belongs and the live type of the live client in the level information of the live client, the specific process may refer to the process of the information of the anchor to which the live client belongs, and details are not repeated here.
In this embodiment, after the media information task matched with the live broadcast client is generated, the server may send the media information task matched with the live broadcast client to the live broadcast client, so that a user who performs media information delivery may select media information to be acquired from the media information task matched with the live broadcast client through the live broadcast client. The live broadcast client can acquire media information contained in the media information task from the server through a media information plug-in which is implanted into the live broadcast client in advance according to the media information task matched with the live broadcast client. Correspondingly, the server sends the media information contained in the media information task to a media information plug-in which is implanted into the live broadcast client in advance.
S502, if the live broadcast client side is detected to respond to the media information releasing request of the user and release the media information on the live broadcast interface of the live broadcast client side, monitoring the live broadcast interface of the live broadcast client side and recording monitoring data.
In this embodiment, after the server sends the media information matched with the live client to the media information plug-in pre-implanted in the live client, the media information is stored in the media information set through the media information plug-in of the live client, and then the media information sent by the live client needs to be delivered on a live interface of the live client. However, after media information is delivered to the live client, the live client may not normally deliver the media information to the live client as required, thereby causing invalid delivery of the media information. Therefore, the server can monitor the media information delivery process of the live client, and monitor the live interface of the live client and record monitoring data if the live client is detected to respond to the media information delivery request of the user and deliver the media information on the live interface of the live client. The live client can send a media information delivery signal to the server to prompt that the live client has responded to a media information delivery request of a user and deliver media information on a live interface of the live client. Optionally, if it is detected that the live client responds to a media information delivery request of a user and delivers media information on a live interface of the live client, the server may start the monitoring program to access the live interface of the live client, and then perform video acquisition on the live interface of the live client. The live interface of the live client is provided with an interface for the worker monitoring program to access the live interface of the live client. Alternatively, the monitoring program may be a browser program. The server can automatically start a browser program, collect video data of a live interface of the live client, realize the functions of monitoring the live interface of the live client and recording monitoring data. The media information can be monitored in the process of monitoring the live broadcast interface of the live broadcast client, and the condition of invalid media information delivery is avoided.
In an optional manner of this embodiment, monitoring a live interface of a live client, and recording monitoring data may include:
starting a screen recording process and a screen capturing process, monitoring a live broadcast interface of a live broadcast client, and recording data obtained through the screen recording process and the screen capturing process;
and monitoring the anchor data of the anchor to which the live interface of the live broadcasting client belongs, and recording the anchor data.
In this embodiment, if it is detected that the live client responds to the media information delivery request of the user and delivers the media information on the live interface of the live client, the screen recording process and the screen capturing process are started through the browser program, the live interface of the live client is monitored, and data obtained by the screen recording process and the screen capturing process are written into the database. The live interface of the live client can be a live room of a main broadcast to which the live client belongs.
In this embodiment, in the process of monitoring the live interface of the live client, anchor data of an anchor to which the live interface of the live client belongs may be monitored, and the anchor data obtained through monitoring may be written into the database. The anchor data may be data of current real-time popularity of the anchor.
In an optional manner of this embodiment, after recording the monitoring data, the media information delivery method may further include: and acquiring the playing amount of the media information according to the monitoring data, and calculating the media information delivery reward of the media information according to the playing amount of the media information and the grade information of the live broadcast client.
In this embodiment, by adopting the above-mentioned manner of this embodiment, the screen recording, screen capturing, and analysis can be performed on the delivery process of the media information on the live interface of the live client, so as to complete the monitoring of the execution effect of the media information, and finally, according to the monitoring result of the server, the analysis, judgment, input, and feedback of the execution result of the media information are automatically completed, and the calculation of the reward for delivering the media information of the media information is completed.
The embodiment of the invention provides a medium information delivery method, which comprises the following steps: sending media information matched with a live broadcast client to a media information plug-in which the live broadcast client is implanted in advance, so that the media information is stored in a media information set through the media information plug-in; and if the live client is detected to respond to a media information release request of a user and release media information on a live interface of the live client, monitoring the live interface of the live client and recording monitoring data. By adopting the technical scheme of the embodiment of the invention, the media information of the live client can be sent to the media information plug-in unit of the live client, the media information release process on the live interface of the live client is monitored, the problem of ineffective release of the media information is avoided, the media information can be efficiently released in the video live broadcast process, and the large-area media information release is facilitated.
EXAMPLE six
Fig. 6 is a schematic flow chart of a media information delivery method provided in a sixth embodiment of the present invention, and this embodiment is optimized based on the foregoing embodiment, and the embodiment of the present invention may be combined with various alternatives in one or more of the foregoing embodiments. As shown in fig. 6, the media information delivery method may include:
s601, the media information matched with the live broadcast client is sent to a media information plug-in which the live broadcast client is implanted in advance, and the media information is stored in a media information set through the media information plug-in.
On the basis of the embodiment, sending the media information matched with the live broadcast client to the media information plug-in which the live broadcast client is implanted in advance may include: generating a media information task matched with the live client according to the grade information of the live client, and sending the media information task to the live client; and sending the media information contained in the media information task to a media information plug-in which is implanted into the live broadcast client in advance.
On the basis of this embodiment, the level information may include: at least one item of information of a main broadcast to which the live client belongs, information of a live platform to which the live client belongs, and a live type of the live client.
S602, if the media information delivery time is detected to be reached, a media information delivery instruction is pushed to the live broadcast client so as to instruct a user to deliver media information through a media information plug-in which is implanted into the live broadcast client in advance.
In this embodiment, after the media information matched with the live broadcast client is sent to the media information plug-in implanted in the live broadcast client in advance, the server can set the media information delivery time. And if the media information delivery time is detected to be reached, pushing a media information delivery instruction to the live broadcast client, and delivering the media information through a media information plug-in which is implanted into the live broadcast client in advance by a user through the media information delivery instruction.
S603, if the live broadcast client end is detected to respond to the media information releasing request of the user and release the media information on the live broadcast interface of the live broadcast client end, monitoring the live broadcast interface of the live broadcast client end and recording monitoring data.
On the basis of this embodiment, the live interface of the live client is monitored, and the monitoring data is recorded, which may include: starting a screen recording process and a screen capturing process, monitoring a live broadcast interface of a live broadcast client, and recording data obtained through the screen recording process and the screen capturing process; and monitoring the anchor data of the anchor to which the live interface of the live broadcasting client belongs, and recording the anchor data.
The embodiment of the invention provides a media information delivery method, and by adopting the technical scheme of the embodiment of the invention, the media information of a live client can be sent to a media information plug-in unit of the live client, the media information delivery process on a live interface of the live client is monitored, the problem of invalid delivery of the media information is avoided, the delivery of the media information is prompted at a specified time, a user can deliver the media information at the live client by simple operation of a bronze drum, high-efficiency delivery of the media information in the video live broadcast process is realized, and the effect of large-area media information delivery is facilitated.
EXAMPLE seven
Fig. 7 is a schematic structural diagram of a media information delivery apparatus according to a seventh embodiment of the present invention, which is applicable to a situation where media information is delivered in a live video broadcast process, for example, a scene where a video advertisement is delivered in a live video broadcast process of a main broadcast. The device can be realized in a software and/or hardware mode and is configured on any terminal equipment with a network communication function. As shown in fig. 7, the media information delivery apparatus may include: an acquisition module 701 and a delivery module 702. Wherein:
an obtaining module 701, configured to obtain media information from a server by implanting a media information plug-in of a live broadcast client in advance, and store the media information in a media information set; the media information plug-in is packaged with a media information playing tool;
and the releasing module 702 is configured to respond to a media information releasing request of a user, and release media information corresponding to the media information releasing request on a live broadcast interface of a live broadcast client through the media information plug-in.
On the basis of the foregoing embodiment, optionally, the obtaining module 701 may include:
the media information task receiving unit is used for receiving a media information task which is sent by the server and matched with the live broadcast client;
and the media information acquisition unit is used for acquiring media information contained in the media information task from a server through a media information plug-in which is implanted into the live broadcast client in advance according to the media information task.
On the basis of the above embodiment, optionally, the apparatus may further include:
a state query module 703, configured to query a current live broadcast state of a live broadcast client according to live broadcast performance data of the live broadcast client;
and a release determining module 704, configured to determine whether to allow the live client to respond to a media information release request of a user according to the current live status.
On the basis of the above embodiment, optionally, the apparatus may further include:
a live broadcast start state determining module 705, configured to determine whether a live broadcast interface of a live broadcast client is in a live broadcast start state;
and a release allowing module 706, configured to allow the live client to respond to the media information release request of the user if the live client is in the live start state.
On the basis of the foregoing embodiment, optionally, the releasing module 702 may include:
the decoding unit is used for decoding the media information corresponding to the media information delivery request through the media information plug-in unit according to the delivery parameters in the media information delivery request;
and the releasing unit is used for processing the image data and the audio data obtained by decoding the media information and synchronously releasing the image data and the audio data on a live broadcast interface of a live broadcast client according to a data processing result.
On the basis of the foregoing embodiment, optionally, the decoding unit may include:
the parameter setting subunit is used for initializing the decoder and the audio source and setting decoding parameters according to the release parameters in the media information release request;
and the information decoding subunit is used for decoding the media information corresponding to the media information delivery request through the media information plug-in unit according to the decoding parameters and the live broadcast parameters of the live broadcast interface of the live broadcast client.
On the basis of the above embodiment, optionally, the delivery unit may include:
the first processing subunit is used for preprocessing the image data obtained by decoding the media information, creating textures by adopting the preprocessed image data and rendering the textures to a live broadcast interface of a live broadcast client;
and the second processing subunit is used for writing the audio data decoded from the medium information into an audio buffer.
On the basis of the above embodiment, optionally, the apparatus may further include:
a media information query module 707, configured to query, by using the media information plugin, media information corresponding to the media information delivery request from the media information set according to the query parameter in the media information delivery request.
The media information delivery device provided in the embodiment of the present invention may execute the media information delivery method provided in any embodiment of the present invention, and has a functional module and a beneficial effect corresponding to the execution of the media information delivery method.
Example eight
Fig. 8 is a schematic structural diagram of a media information delivery apparatus according to an eighth embodiment of the present invention, which is applicable to a situation where media information is delivered during a live video broadcast process, for example, a scene where a video advertisement is delivered during a live video broadcast process of a main broadcast. The device can be implemented in software and/or hardware and configured on any server with network communication function. As shown in fig. 8, the media information delivery apparatus may include: a sending module 801 and a monitoring module 802. Wherein:
a sending module 801, configured to send media information matched with a live broadcast client to a media information plugin pre-embedded in the live broadcast client, so as to store the media information in a media information set through the media information plugin;
the monitoring module 802 is configured to monitor a live interface of the live client and record monitoring data if it is detected that the live client releases media information on the live interface of the live client in response to a media information release request of a user.
On the basis of the foregoing embodiment, optionally, the sending module 801 may include:
the task generating unit is used for generating a media information task matched with the live client according to the grade information of the live client and sending the media information task to the live client;
and the information sending unit is used for sending the media information contained in the media information task to a media information plug-in which is implanted into a live broadcast client in advance.
On the basis of the foregoing embodiment, optionally, the level information may include: at least one item of information of a main broadcast to which the live client belongs, information of a live platform to which the live client belongs, and a live type of the live client.
On the basis of the foregoing embodiment, optionally, the monitoring module 802 may include:
the first monitoring unit is used for starting a screen recording process and a screen capturing process, monitoring a live broadcast interface of the live broadcast client, and recording data obtained through the screen recording process and the screen capturing process;
and the second monitoring unit is used for monitoring the anchor data of the anchor to which the live interface of the live client belongs and recording the anchor data.
On the basis of the above embodiment, optionally, the apparatus may further include:
and a delivery instruction pushing module 803, configured to push a media information delivery instruction to the live broadcast client if it is detected that the media information delivery time is reached, so as to instruct a user to deliver media information through the media information plug-in pre-implanted in the live broadcast client.
On the basis of the above embodiment, optionally, the apparatus may further include:
and the delivery reward calculation module 804 is configured to obtain the play amount of the media information according to the monitoring data, and calculate a media information delivery reward of the media information according to the play amount of the media information and the level information of the live broadcast client.
The media information delivery device provided in the embodiment of the present invention may execute the media information delivery method provided in any embodiment of the present invention, and has a functional module and a beneficial effect corresponding to the execution of the media information delivery method.
Example nine
Fig. 9 is a schematic structural diagram of a terminal device provided in the ninth embodiment of the present invention. Fig. 9 illustrates a block diagram of an exemplary terminal device 912 suitable for use in implementing embodiments of the present invention. The terminal device 912 shown in fig. 9 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiment of the present invention.
As shown in fig. 9, terminal device 912 is in the form of a general purpose computing device. Components of terminal device 912 may include, but are not limited to: one or more processors 916, a system memory 928, and a bus 918 that couples the various system components (including the system memory 928 and the processors 916).
Bus 918 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, micro-channel architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Terminal device 912 typically includes a variety of computer system readable media. Such media can be any available media that is accessible by terminal device 912 and includes both volatile and nonvolatile media, removable and non-removable media.
The system memory 928 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM)330 and/or cache memory 932. Terminal device 912 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 934 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 9, and typically referred to as a "hard disk drive"). Although not shown in FIG. 9, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to the bus 918 through one or more data media interfaces. Memory 928 may include at least one program product having a set (e.g., at least one) of program modules configured to carry out the functions of embodiments of the invention.
A program/utility 940 having a set (at least one) of program modules 942, which may include but are not limited to an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may include an implementation of a network environment, may be stored in, for example, the memory 928. The program modules 942 generally perform the functions and/or methodologies of the described embodiments of the invention.
Terminal device 912 may also communicate with one or more external devices 914 (e.g., keyboard, pointing device, display 924, etc.), with one or more devices that enable a user to interact with terminal device 912, and/or with any devices (e.g., network card, modem, etc.) that enable terminal device 912 to communicate with one or more other computing devices. Such communication may occur via input/output (I/O) interfaces 922. Also, terminal device 912 can communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network such as the internet) via network adapter 920. As shown, the network adapter 920 communicates with the other modules of the terminal device 912 via a bus 918. It should be appreciated that although not shown in fig. 9, other hardware and/or software modules may be used in conjunction with terminal device 912, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
The processor 916 executes programs stored in the system memory 928 to execute various functional applications and data processing, for example, to implement a media information delivery method provided in an embodiment of the present invention, the method including:
the media information is acquired from the server by implanting a media information plug-in of the live client in advance and is stored in a media information set; the media information plug-in is packaged with a media information playing tool;
responding to a media information releasing request of a user, and releasing media information corresponding to the media information releasing request on a live broadcast interface of a live broadcast client through the media information plug-in.
Of course, those skilled in the art can understand that the processor can also implement the technical solution of the media information delivery method provided in any embodiment of the present invention.
Example ten
Fig. 10 is a schematic structural diagram of a server provided in the tenth embodiment of the present invention. FIG. 10 illustrates a block diagram of an exemplary server 1012 suitable for use in implementing embodiments of the invention. The server 1012 shown in FIG. 10 is an example only and should not be taken as limiting the scope of use and functionality of embodiments of the invention.
As shown in FIG. 10, the server 1012 is in the form of a general purpose computing device. The components of the server 1012 may include, but are not limited to: one or more processors 1016, a system memory 1028, and a bus 1018 that couples the various system components including the system memory 1028 and the processors 1016.
Bus 1018 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, or a local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, micro-channel architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
The server 1012 typically includes a variety of computer system readable media. Such media can be any available media that is accessible by server 1012 and includes both volatile and nonvolatile media, removable and non-removable media.
The system memory 1028 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM)1030 and/or cache memory 1032. The server(s) 1012 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 1034 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 10, commonly referred to as a "hard drive"). Although not shown in FIG. 10, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In such cases, each drive may be connected to the bus 1018 via one or more data media interfaces. Memory 1028 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
Program/utility 1040 having a set (at least one) of program modules 1042, can be stored, for instance, in memory 1028, such program modules 1042 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may include an implementation of a network environment. The program modules 1042 generally perform the functions and/or methodologies of the described embodiments of the invention.
The server(s) 1012 can also communicate with one or more external devices 1014 (e.g., keyboard, pointing device, display 1024, etc.), with one or more devices that enable a user to interact with the server(s) 1012, and/or with any devices (e.g., network card, modem, etc.) that enable the server(s) 1012 to communicate with one or more other computing devices. Such communication may occur via input/output (I/O) interfaces 1022. Also, the server(s) 1012 can communicate with one or more networks, such as a Local Area Network (LAN), a Wide Area Network (WAN) and/or a public network, such as the Internet, through a network adapter 1020. As shown, the network adapter 1020 communicates with the other modules of the server 1012 over the bus 1018. It should be appreciated that although not shown in FIG. 10, other hardware and/or software modules may be used in conjunction with the server 1012, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
The processor 1016 executes programs stored in the system memory 1028 to execute various functional applications and data processing, for example, to implement the media information delivery method provided in the embodiment of the present invention, and the method includes:
sending media information matched with a live broadcast client to a media information plug-in which the live broadcast client is implanted in advance, so that the media information is stored in a media information set through the media information plug-in;
and if the live client is detected to respond to a media information release request of a user and release media information on a live interface of the live client, monitoring the live interface of the live client and recording monitoring data.
Of course, those skilled in the art can understand that the processor can also implement the technical solution of the media information delivery method provided in any embodiment of the present invention.
EXAMPLE eleven
An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements a media information delivery method provided in an embodiment of the present invention, where the method includes:
the media information is acquired from the server by implanting a media information plug-in of the live client in advance and is stored in a media information set; the media information plug-in is packaged with a media information playing tool;
responding to a media information releasing request of a user, and releasing media information corresponding to the media information releasing request on a live broadcast interface of a live broadcast client through the media information plug-in.
Computer storage media for embodiments of the invention may employ 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.
Example twelve
An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements a media information delivery method provided in an embodiment of the present invention, where the method includes:
sending media information matched with a live broadcast client to a media information plug-in which the live broadcast client is implanted in advance, so that the media information is stored in a media information set through the media information plug-in;
and if the live client is detected to respond to a media information release request of a user and release media information on a live interface of the live client, monitoring the live interface of the live client and recording monitoring data.
Computer storage media for embodiments of the invention may employ 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 (30)

1. A media information delivery method executed by a terminal device, the method comprising:
the media information is acquired from the server by implanting a media information plug-in of the live client in advance and is stored in a media information set; the media information plug-in is packaged with a media information playing tool;
responding to a media information release request of a user, and decoding media information corresponding to the media information release request through the media information plug-in unit according to release parameters in the media information release request;
and performing data processing on the image data and the audio data obtained by decoding the media information, and synchronously delivering the image data and the audio data on a live broadcast interface of a live broadcast client according to a data processing result.
2. The method of claim 1, wherein obtaining media information from a server via a media information plug-in pre-embedded in a live client comprises:
receiving a media information task which is sent by a server and matched with a live broadcast client;
and according to the media information task, media information contained in the media information task is acquired from a server through a media information plug-in which is implanted into the live broadcast client in advance.
3. The method of claim 1, wherein before responding to a media information placement request from a user, the method further comprises:
inquiring the current live broadcast state of a live broadcast client according to the live broadcast performance data of the live broadcast client;
and determining whether the live client is allowed to respond to a media information delivery request of a user or not according to the current live state.
4. The method of claim 1, wherein before responding to a media information placement request from a user, the method further comprises:
determining whether a live broadcast interface of a live broadcast client is in a live broadcast starting state;
and if the live broadcast client is in the live broadcast starting state, allowing the live broadcast client to respond to the media information release request of the user.
5. The method according to claim 1, wherein decoding, by the media information plug-in, media information corresponding to the media information placement request according to the placement parameters in the media information placement request comprises:
initializing a decoder and an audio source, and setting decoding parameters according to the release parameters in the media information release request;
and decoding the media information corresponding to the media information delivery request through the media information plug-in unit according to the decoding parameters and the live broadcast parameters of a live broadcast interface of the live broadcast client.
6. The method of claim 1, wherein the data processing of the image data and the audio data decoded from the media information comprises:
preprocessing image data obtained by decoding the media information, creating textures by adopting the preprocessed image data, and rendering the textures to a live broadcast interface of a live broadcast client;
and writing the audio data decoded from the medium information into an audio buffer.
7. The method of claim 1, wherein before the media information corresponding to the media information placement request is placed on a live interface of a live client through the media information plugin, the method further comprises:
and inquiring the media information corresponding to the media information delivery request from the media information set through the media information plug-in according to the inquiry parameters in the media information delivery request.
8. A media information delivery method executed by a server, the method comprising:
sending media information matched with a live broadcast client to a media information plug-in which the live broadcast client is implanted in advance, so that the media information is stored in a media information set through the media information plug-in;
if the live client side is detected to respond to a media information releasing request of a user, releasing media information on a live interface of the live client side, monitoring the live interface of the live client side, and recording monitoring data, wherein the releasing of the media information on the live interface of the live client side comprises the following steps: decoding the media information corresponding to the media information delivery request through the media information plug-in according to the delivery parameters in the media information delivery request; and performing data processing on the image data and the audio data obtained by decoding the media information, and synchronously delivering the image data and the audio data on a live broadcast interface of a live broadcast client according to a data processing result.
9. The method of claim 8, wherein sending media information matching with the live client to a media information plug-in pre-embedded in the live client comprises:
generating a media information task matched with a live client according to the grade information of the live client, and sending the media information task to the live client;
and sending the media information contained in the media information task to a media information plug-in which is implanted into a live broadcast client in advance.
10. The method of claim 9, wherein the ranking information comprises: at least one item of information of a main broadcast to which the live client belongs, information of a live platform to which the live client belongs, and a live type of the live client.
11. The method of claim 8, wherein monitoring a live interface of the live client and recording monitoring data comprises:
starting a screen recording process and a screen capturing process, monitoring a live broadcast interface of the live broadcast client, and recording data obtained through the screen recording process and the screen capturing process;
and monitoring anchor data of an anchor to which a live interface of the live client belongs, and recording the anchor data.
12. The method of claim 8, wherein after sending the media information matching the live client to the media information plug-in pre-embedded in the live client, the method further comprises:
and if the media information delivery time is detected to be reached, pushing a media information delivery instruction to the live broadcast client so as to instruct a user to deliver the media information through the media information plug-in which is pre-implanted into the live broadcast client.
13. The method of claim 8, wherein after recording the monitoring data, the method further comprises:
and acquiring the playing amount of the media information according to the monitoring data, and calculating a media information delivery reward of the media information according to the playing amount of the media information and the grade information of the live broadcast client.
14. A media information delivery apparatus provided in a terminal device, the apparatus comprising:
the acquisition module is used for acquiring media information from the server through a media information plug-in which is implanted into the live client in advance and storing the media information in a media information set; the media information plug-in is packaged with a media information playing tool;
the delivery module is used for responding to a media information delivery request of a user, delivering media information corresponding to the media information delivery request on a live interface of a live client through the media information plug-in, and specifically comprises: the decoding unit is used for decoding the media information corresponding to the media information delivery request through the media information plug-in unit according to the delivery parameters in the media information delivery request; and the releasing unit is used for processing the image data and the audio data obtained by decoding the media information and synchronously releasing the image data and the audio data on a live broadcast interface of a live broadcast client according to a data processing result.
15. The apparatus of claim 14, wherein the obtaining module comprises:
the media information task receiving unit is used for receiving a media information task which is sent by the server and matched with the live broadcast client;
and the media information acquisition unit is used for acquiring media information contained in the media information task from a server through a media information plug-in which is implanted into the live broadcast client in advance according to the media information task.
16. The apparatus of claim 14, further comprising:
the state query module is used for querying the current live broadcast state of the live broadcast client according to the live broadcast performance data of the live broadcast client;
and the delivery determining module is used for determining whether the live client is allowed to respond to a media information delivery request of a user or not according to the current live broadcast state.
17. The apparatus of claim 14, further comprising:
the live broadcast starting state determining module is used for determining whether a live broadcast interface of the live broadcast client is in a live broadcast starting state;
and the delivery allowing module is used for allowing the live client to respond to the media information delivery request of the user if the live client is in the live starting state.
18. The apparatus of claim 14, wherein the decoding unit comprises:
the parameter setting subunit is used for initializing the decoder and the audio source and setting decoding parameters according to the release parameters in the media information release request;
and the information decoding subunit is used for decoding the media information corresponding to the media information delivery request through the media information plug-in unit according to the decoding parameters and the live broadcast parameters of the live broadcast interface of the live broadcast client.
19. The apparatus of claim 14, wherein the dosing unit comprises:
the first processing subunit is used for preprocessing the image data obtained by decoding the media information, creating textures by adopting the preprocessed image data and rendering the textures to a live broadcast interface of a live broadcast client;
and the second processing subunit is used for writing the audio data decoded from the medium information into an audio buffer.
20. The apparatus of claim 14, further comprising:
and the medium information query module is used for querying the medium information corresponding to the medium information delivery request from the medium information set through the medium information plug-in unit according to the query parameters in the medium information delivery request.
21. A media information delivery apparatus configured to a server, the apparatus comprising:
the sending module is used for sending the media information matched with the live broadcast client to a media information plug-in which the live broadcast client is implanted in advance so as to store the media information in a media information set through the media information plug-in;
the monitoring module is used for monitoring the live interface of the live client and recording monitoring data if detecting that the live client responds to a media information releasing request of a user and releases media information on the live interface of the live client, wherein the media information is released on the live interface of the live client, and the monitoring module comprises: decoding the media information corresponding to the media information delivery request through the media information plug-in according to the delivery parameters in the media information delivery request; and performing data processing on the image data and the audio data obtained by decoding the media information, and synchronously delivering the image data and the audio data on a live broadcast interface of a live broadcast client according to a data processing result.
22. The apparatus of claim 21, wherein the sending module comprises:
the task generating unit is used for generating a media information task matched with the live client according to the grade information of the live client and sending the media information task to the live client;
and the information sending unit is used for sending the media information contained in the media information task to a media information plug-in which is implanted into a live broadcast client in advance.
23. The apparatus of claim 22, wherein the ranking information comprises: at least one item of information of a main broadcast to which the live client belongs, information of a live platform to which the live client belongs, and a live type of the live client.
24. The apparatus of claim 21, wherein the monitoring module comprises:
the first monitoring unit is used for starting a screen recording process and a screen capturing process, monitoring a live broadcast interface of the live broadcast client, and recording data obtained through the screen recording process and the screen capturing process;
and the second monitoring unit is used for monitoring the anchor data of the anchor to which the live interface of the live client belongs and recording the anchor data.
25. The apparatus of claim 21, further comprising:
and the delivery indication pushing module is used for pushing a media information delivery indication to the live broadcast client if the media information delivery time is detected to reach so as to indicate a user to deliver the media information through the media information plug-in which is implanted into the live broadcast client in advance.
26. The apparatus of claim 21, further comprising:
and the delivery reward calculation module is used for acquiring the playing amount of the media information according to the monitoring data and calculating the media information delivery reward of the media information according to the playing amount of the media information and the grade information of the live broadcast client.
27. A terminal device, characterized in that the terminal device comprises:
one or more processors;
a storage device for storing one or more programs,
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method for media information delivery as recited in any of claims 1-7.
28. A server, characterized in that the server comprises:
one or more processors;
a storage device for storing one or more programs,
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method for media information delivery according to any one of claims 8-13.
29. A computer-readable storage medium on which a computer program is stored, the program, when being executed by a processor, implementing a method for media information delivery according to any one of claims 1 to 7.
30. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out a method for media information delivery according to any one of claims 8 to 13.
CN201910026417.8A 2019-01-11 2019-01-11 Medium information delivery method, device, equipment and storage medium Expired - Fee Related CN109788302B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910026417.8A CN109788302B (en) 2019-01-11 2019-01-11 Medium information delivery method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910026417.8A CN109788302B (en) 2019-01-11 2019-01-11 Medium information delivery method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN109788302A CN109788302A (en) 2019-05-21
CN109788302B true CN109788302B (en) 2021-05-14

Family

ID=66500398

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910026417.8A Expired - Fee Related CN109788302B (en) 2019-01-11 2019-01-11 Medium information delivery method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109788302B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112804552A (en) * 2021-01-28 2021-05-14 广州虎牙科技有限公司 Plug-in configuration method and device and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010002532A2 (en) * 2008-06-30 2010-01-07 Yahoo! Inc. Extensions for system and method for an extensible media player
CN106162210A (en) * 2016-06-30 2016-11-23 北京奇虎科技有限公司 Browser, live method of ejecting based on browser and system
CN106792188A (en) * 2016-12-06 2017-05-31 腾讯数码(天津)有限公司 A kind of data processing method of live page, device and system
CN107423040A (en) * 2017-03-24 2017-12-01 北京潘达互娱科技有限公司 Live application development method and device
CN107659831A (en) * 2017-05-19 2018-02-02 腾讯科技(北京)有限公司 Media data processing method, client and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010002532A2 (en) * 2008-06-30 2010-01-07 Yahoo! Inc. Extensions for system and method for an extensible media player
CN106162210A (en) * 2016-06-30 2016-11-23 北京奇虎科技有限公司 Browser, live method of ejecting based on browser and system
CN106792188A (en) * 2016-12-06 2017-05-31 腾讯数码(天津)有限公司 A kind of data processing method of live page, device and system
CN107423040A (en) * 2017-03-24 2017-12-01 北京潘达互娱科技有限公司 Live application development method and device
CN107659831A (en) * 2017-05-19 2018-02-02 腾讯科技(北京)有限公司 Media data processing method, client and storage medium

Also Published As

Publication number Publication date
CN109788302A (en) 2019-05-21

Similar Documents

Publication Publication Date Title
CN110351572B (en) Method, device and equipment for updating live broadcast room information and storage medium
US8560683B2 (en) Video and site analytics
CN109640129B (en) Video recommendation method and device, client device, server and storage medium
EP2602994A1 (en) Receiving device, receiving method, and program
US9003032B2 (en) Video aware pages
CN109348254B (en) Message pushing method, device, computer equipment and storage medium
KR20140008386A (en) Facilitating placeshifting using matrix code
US11323750B2 (en) Video system and video processing method, device and computer readable medium
CN111866537B (en) Information display method and device in live broadcast room, storage medium and electronic equipment
CN108829423B (en) System upgrading method, device, equipment and storage medium for Android equipment
US20120317272A1 (en) Video Aware Paths
CN109120954B (en) Video message pushing method and device, computer equipment and storage medium
CN112882953B (en) Automatic demonstration method and system of application program based on android debug bridge
CN109151598B (en) Method and device for determining topic of live broadcast room, computer equipment and storage medium
CN111163330A (en) Live video rendering method, device, system, equipment and storage medium
CN107798561B (en) Audio playing and sharing method and device, storage medium and electronic equipment
CN109168012B (en) Information processing method and device for terminal equipment
CN112738539A (en) Live broadcast room switching method and device, computer readable storage medium and electronic equipment
CN113365094A (en) Live broadcast-based push stream data processing method, computing device and storage medium
CN111104551A (en) Live broadcast room label determination method and device, storage medium and electronic equipment
CN112546621A (en) Voting method and device for live game, computer storage medium and electronic equipment
US20120297399A1 (en) Automatically updating the display state of the user interface of a client device in a publish/subscribe system
CN113392764A (en) Video processing method and device, electronic equipment and storage medium
CN109788302B (en) Medium information delivery method, device, equipment and storage medium
CN111918083A (en) Video clip identification method, device, 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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20210514

CF01 Termination of patent right due to non-payment of annual fee