CN115190339A - Live broadcast information sending method and device, electronic equipment and storage medium - Google Patents

Live broadcast information sending method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN115190339A
CN115190339A CN202211108038.1A CN202211108038A CN115190339A CN 115190339 A CN115190339 A CN 115190339A CN 202211108038 A CN202211108038 A CN 202211108038A CN 115190339 A CN115190339 A CN 115190339A
Authority
CN
China
Prior art keywords
information
live broadcast
associated information
target
data type
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.)
Granted
Application number
CN202211108038.1A
Other languages
Chinese (zh)
Other versions
CN115190339B (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.)
Beijing Dajia Internet Information Technology Co Ltd
Original Assignee
Beijing Dajia Internet 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 Beijing Dajia Internet Information Technology Co Ltd filed Critical Beijing Dajia Internet Information Technology Co Ltd
Priority to CN202211108038.1A priority Critical patent/CN115190339B/en
Publication of CN115190339A publication Critical patent/CN115190339A/en
Application granted granted Critical
Publication of CN115190339B publication Critical patent/CN115190339B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/262Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
    • H04N21/26208Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists the scheduling operation being performed under constraints
    • H04N21/26241Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists the scheduling operation being performed under constraints involving the time of distribution, e.g. the best time of the day for inserting an advertisement or airing a children program
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • H04N21/2187Live feed
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/266Channel or content management, e.g. generation and management of keys and entitlement messages in a conditional access system, merging a VOD unicast channel into a multicast channel
    • H04N21/2665Gathering content from different sources, e.g. Internet and satellite

Abstract

The disclosure relates to a live broadcast information sending method, a live broadcast information sending device, electronic equipment and a storage medium, wherein the method comprises the following steps: aiming at a target live broadcast room, acquiring issuing configuration information corresponding to the target live broadcast room; the issuing configuration information comprises time information for issuing the associated information of each data type aiming at the target live broadcast room; based on the issuing configuration information, when the current time is detected to meet the time information of issuing the associated information of the corresponding data type, automatically determining target associated information of the corresponding data type from at least one pre-collected candidate associated information of the data type; and sending the target associated information to a live broadcast watching end corresponding to the target live broadcast room so as to display the target associated information at the live broadcast watching end. By adopting the method, the configurable automatic distribution of live broadcast content associated information is realized, the dependence on manual operation is not required, the live broadcast content and the live broadcast impression are enriched, and the live broadcast effect of live broadcast is improved.

Description

Live broadcast information sending method and device, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of internet technologies, and in particular, to a live broadcast information sending method and apparatus, an electronic device, and a storage medium.
Background
With the development of live broadcast technology, live broadcasts of events, issues, concerts and other activities can be provided for users through live broadcast. At present, the traditional method usually adopts an artificial live broadcast mode, depends on artificial production of live broadcast data, and is manually sent by live broadcast operators, so that a large amount of live broadcast operation manpower is consumed, the form of artificial production of live broadcast data is single, live broadcast content is monotonous, and the match watching experience of users is influenced.
Therefore, the related art has a problem that the live broadcast effect of the live information is not good.
Disclosure of Invention
The present disclosure provides a live broadcast information transmission method, apparatus, electronic device, storage medium, and computer program product to at least solve a problem in the related art that a live broadcast effect of live information is not good. The technical scheme of the disclosure is as follows:
according to a first aspect of the embodiments of the present disclosure, a method for sending live broadcast information is provided, including:
aiming at a target live broadcast room, acquiring issuing configuration information corresponding to the target live broadcast room; the issuing configuration information comprises time information for issuing the associated information of each data type aiming at the target live broadcast room;
based on the issuing configuration information, when the current time is detected to meet the time information of issuing the associated information of the corresponding data type, automatically determining target associated information of the corresponding data type from at least one pre-collected candidate associated information of the data type; the candidate associated information is information associated with the live broadcast content of the target live broadcast room, and the candidate associated information is collected based on data interfaces provided by a plurality of preset data sources;
and sending the target associated information to a live broadcast watching end corresponding to the target live broadcast room so as to display the target associated information at the live broadcast watching end.
In a possible implementation manner, before the step of automatically determining target associated information of a corresponding data type from at least one pre-collected candidate associated information of the data type when detecting that a current time satisfies time information for issuing associated information of the corresponding data type based on the issuing configuration information, the method further includes:
based on a plurality of preset data sources, collecting initial association information corresponding to the target live broadcast room;
and respectively adding the initial associated information into a data processing queue corresponding to the data type according to the data type to which the initial associated information belongs, and obtaining candidate associated information of at least one data type based on the initial associated information in the data processing queue.
In a possible implementation manner, the collecting, based on a preset plurality of data sources, initial association information corresponding to the target live broadcast room includes at least two of the following types:
for a video data source, according to a preset video account list, collecting video works which are issued by each video account in the preset video account list and are related to the live broadcast content of the target live broadcast room from the video data source, and using the video works as first-class initial association information;
for a data source of external commentary information, collecting first commentary data related to live content of the target live broadcast room through an access interface provided outside by the data source as second-class initial association information;
and acquiring second comment data which is written by calling an internal specific interface and is related to the live broadcast content of the target live broadcast room as third-type initial association information aiming at the data source of the internal comment information.
In a possible implementation manner, the adding the initial association information into the data processing queues corresponding to the data types according to the data types to which the initial association information belongs includes:
packaging the data structure of each initial associated information by adopting a preset data structure model to obtain packaged initial associated information; the packaged initial correlation information carries a characteristic field for identifying a data type;
and respectively adding the packaged initial associated information into a data processing queue corresponding to the data type according to the data type to which the packaged initial associated information belongs.
In a possible implementation manner, the obtaining candidate association information of at least one data type based on the initial association information in the data processing queue includes:
adding a live broadcast room identifier of the target live broadcast room to the initial associated information in the data processing queue, and storing the initial associated information according to the data type to which the initial associated information belongs to obtain candidate associated information of at least one data type corresponding to the target live broadcast room;
the step of automatically determining target associated information of a corresponding data type from at least one pre-collected candidate associated information of the data type when detecting that the current time meets the time information of issuing the associated information of the corresponding data type based on the issuing configuration information comprises the following steps:
and determining target associated information of a corresponding data type from candidate associated information of at least one data type corresponding to the target live broadcast room when detecting that the current time meets the time information of issuing the associated information of the corresponding data type based on the issuing configuration information and the live broadcast room identification of the target live broadcast room.
In a possible implementation manner, the issuing configuration information includes multiple sets of sending configuration parameters, each set of sending configuration parameters includes a sending time interval of candidate associated information of one data type, and when it is detected that the current time satisfies time information of issuing associated information of a corresponding data type based on the issuing configuration information, automatically determining target associated information of the corresponding data type from at least one pre-collected candidate associated information of the data type, includes:
determining the sending time interval of the candidate associated information of the corresponding data type from each group of sending configuration parameters;
and acquiring the target associated information from the candidate associated information of the corresponding data type according to the sending time interval.
In a possible implementation manner, the obtaining the target associated information from the candidate associated information of the corresponding data type includes:
determining a collection timestamp of target associated information of the data type which is issued last time as a reference timestamp for each data type;
determining new target associated information from the candidate associated information of the data type according to the reference timestamp; and the collection time stamp corresponding to the new target associated information is after the reference time stamp and is earlier than the collection time stamps of other candidate associated information of the data type.
In a possible implementation manner, before the step of acquiring, for the target live broadcast room, the distributed configuration information corresponding to the target live broadcast room, the method further includes:
and based on a preset timing task, acquiring the live broadcast room with the started function of issuing the associated information according to a set time period to serve as the target live broadcast room.
In a possible implementation manner, after the step of acquiring, based on the preset timing task, a live broadcast room started to issue a function of issuing associated information according to a set time period as the target live broadcast room, the method further includes:
starting a corresponding sending thread created aiming at the target live broadcast room; the sending thread is used for obtaining issuing configuration information corresponding to the target live broadcast room, determining target associated information based on the issuing configuration information, and sending the target associated information to a live broadcast watching end corresponding to the target live broadcast room.
In one possible implementation, after the step of starting the corresponding sending thread created for the target live broadcast room, the method further includes:
after the target associated information is issued each time, detecting the function state of the issued associated information of the target live broadcast room;
and when detecting that the function of issuing the associated information of the target live broadcast room is closed, ending the sending thread corresponding to the target live broadcast room.
According to a second aspect of the embodiments of the present disclosure, there is provided a live broadcast information transmitting apparatus including:
the distribution configuration information acquisition unit is configured to execute distribution configuration information corresponding to a target live broadcast room aiming at the target live broadcast room; the issuing configuration information comprises time information for issuing the associated information of each data type aiming at the target live broadcast room;
the target associated information determining unit is configured to execute the step of automatically determining the target associated information of the corresponding data type from the candidate associated information of at least one data type collected in advance when the current time is detected to meet the time information of issuing the associated information of the corresponding data type based on the issuing configuration information; the candidate associated information is information associated with live broadcast content of the target live broadcast room, and is collected based on data interfaces provided by a plurality of preset data sources;
and the information issuing unit is configured to execute sending of the target associated information to a live broadcast watching end corresponding to the target live broadcast room so as to display the target associated information at the live broadcast watching end.
According to a third aspect of the embodiments of the present disclosure, there is provided an electronic apparatus including:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the live information transmission method as defined in any one of the above.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium, wherein instructions, when executed by a processor of an electronic device, enable the electronic device to perform a live information transmission method as described in any one of the above.
According to a fifth aspect of embodiments of the present disclosure, there is provided a computer program product including instructions that, when executed by a processor of an electronic device, enable the electronic device to perform a live information transmission method as described in any one of the above.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects:
according to the scheme, issuing configuration information corresponding to a target live broadcast room is obtained aiming at the target live broadcast room, the issuing configuration information comprises time information of issuing associated information of each data type aiming at the target live broadcast room, then based on the issuing configuration information, when the current time is detected to meet the time information of issuing the associated information of the corresponding data type, target associated information corresponding to the data type is automatically determined from candidate associated information of at least one data type collected in advance, the candidate associated information is information associated with live broadcast content of the target live broadcast room, the candidate associated information is collected based on data interfaces provided by a plurality of preset data sources, and then the target associated information is sent to a live broadcast watching end corresponding to the target live broadcast room so as to display the target associated information at the live broadcast watching end. Therefore, the method and the device can realize configurable automatic transmission of live broadcast content associated information, can efficiently and stably generate and transmit the live broadcast content associated information, do not need to rely on manual operation, enrich the live broadcast content and live broadcast impression, and improve the live broadcast effect of live broadcast.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the disclosure and are not to be construed as limiting the disclosure.
Fig. 1 is a flow diagram illustrating a method of sending live information in accordance with an example embodiment;
FIG. 2a is a schematic diagram illustrating a live page in accordance with an exemplary embodiment;
FIG. 2b is a diagram illustrating a presentation of live content associated information, according to an example embodiment;
FIG. 3 is a schematic diagram illustrating a process for automatically collecting association information according to an exemplary embodiment;
FIG. 4 is a diagram illustrating a process for automatically issuing association information, according to an example embodiment;
fig. 5 is a flow diagram illustrating another method of sending live information in accordance with an example embodiment;
fig. 6 is a block diagram illustrating a live information transmitting apparatus according to an example embodiment;
FIG. 7 is a block diagram illustrating an electronic device in accordance with an example embodiment.
Detailed Description
In order to make the technical solutions of the present disclosure better understood by those of ordinary skill in the art, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein are capable of operation in sequences other than those illustrated or otherwise described herein. The implementations described in the exemplary embodiments below do not represent all implementations consistent with the present disclosure.
It should also be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for presentation, analyzed data, etc.) referred to in the present disclosure are both information and data that are authorized by the user or sufficiently authorized by various parties.
Fig. 1 is a flow chart illustrating a method for sending live information, which may be used in a server, as shown in fig. 1, according to an exemplary embodiment, and includes the following steps.
In step S110, for the target live broadcast room, the distributed configuration information corresponding to the target live broadcast room is acquired;
as an example, the target live broadcast room may be a live broadcast room, and the live broadcast room has opened a function of issuing associated information, such as a live broadcast room for providing events, issues, concerts, and the like for the user; the delivered associated information may form a live broadcast information waterfall stream, which supports multiple media types, and the content forms of the live broadcast information waterfall stream may include, but are not limited to, text, pictures, dynamic pictures, short videos, and the like.
The issuing configuration information may include time information for issuing the association information of each data type for a target live broadcast, for example, for different data types, whether to issue the association information of a certain data type, a sending time interval of the association information of the certain data type, and the like, and may also include other sending configuration parameters, which is not limited in this embodiment.
In practical application, based on a preset timing task, a live broadcast room with an initiated function of issuing associated information is obtained according to a set time period and is used as a target live broadcast room, then a sending thread corresponding to the target live broadcast room can be created, a triggering event aiming at the target live broadcast room for issuing associated information can be responded, the sending thread corresponding to the target live broadcast room is started, issuing configuration information corresponding to the target live broadcast room is obtained, and the issued target associated information is further determined according to the issuing configuration information.
Specifically, a live broadcast room identifier, such as a live broadcast id, of a live broadcast room in which automatic issuing (i.e., issuing the associated information function) is started can be detected based on timed task polling, a thread class can be created for each detected live broadcast (i.e., a target live broadcast room) to complete an automatic issuing process, and then, in the automatic issuing process, distributable live broadcast data (i.e., target associated information) can be acquired according to configured live broadcast requirements (i.e., issuing configuration information corresponding to the target live broadcast room).
In step S120, based on the delivery configuration information, when it is detected that the current time meets the time information for delivering the association information of the corresponding data type, automatically determining target association information of the corresponding data type from at least one pre-collected candidate association information of the data type;
the candidate associated information may be information associated with live content of the target live broadcast room, for example, content information of multiple media types may be derived according to the live broadcast content of the live broadcast room, and the content form may include, but is not limited to, text, pictures, dynamic pictures, short videos, and the like; the candidate correlation information may be collected based on data interfaces provided by a plurality of preset data sources.
In a specific implementation, initial association information corresponding to a target live broadcast room may be collected based on a plurality of preset data sources, then the initial association information may be added to data processing queues corresponding to data types respectively according to data types to which the initial association information belongs, and information processing may be performed on the initial association information based on the data processing queues to obtain candidate association information, and further, in an automatic issuing process, according to issuing configuration information, when it is detected that current time satisfies time information for issuing association information of a corresponding data type, target association information of the corresponding data type is automatically determined from at least one piece of pre-collected candidate association information of the data type.
In an example, the target associated information may include commentary information, a picture, a dynamic graph, short video content, and the like, and in the automatic issuing process, continuous commentary information may be sequentially sent according to configured live broadcast requirements (i.e., issued configuration information corresponding to a target live broadcast room), such as a current game situation introduced in live broadcast in real time, and a main content of a live broadcast waterfall stream may be formed based on the issued commentary information, and the short video content may also be sent at fixed intervals or random intervals, such as a highlight instant video clip of a current game live broadcast in real time, which may generate a video work by clipping a current game live broadcast stream and issue the video work.
In step S130, the target associated information is sent to a live viewing end corresponding to the target live broadcast room, so that the target associated information is displayed at the live viewing end.
After the target associated information is obtained, the target associated information can be sent to the data middleware, then the data middleware can be subjected to message consumption processing through the consumption node, and further the target associated information can be sent to a live broadcast watching terminal corresponding to the target live broadcast room in real time so as to display the target associated information at the live broadcast watching terminal.
For example, each piece of delivered target associated information may carry a unique live action identifier, such as an event id, where the live action identifier has a corresponding live broadcast room identifier, and may send the target associated information to a kafka (i.e., a data middleware), and then may consume the kafka through a klink implemented by the IM instant messaging system, and further may send the target associated information to a live broadcast viewer corresponding to the target live broadcast room according to the live broadcast room identifier, so as to display the target associated information in the live broadcast viewer in real time.
In an optional embodiment, a live broadcast waterfall stream may be formed by using the delivered target associated information, for example, a live broadcast page of the target live broadcast room shown in fig. 2a, the formed live broadcast waterfall stream may be displayed in an area corresponding to a "live event," and each of the delivered target associated information in the live broadcast waterfall stream may be arranged according to a time sequence, for example, comment text information, pictures, dynamic pictures, short videos, and the like corresponding to each time point in fig. 2a, and may further include an expression package and an interaction message, which is not limited in this embodiment.
In an example, as shown in fig. 2a, the target live broadcast room is a live broadcast room of a game event, and the live broadcast room may show a live broadcast picture of a current game event and may also show the brief content of the current game event in a live broadcast corresponding area, such as a display area of "two individuals in northern europe-ski standard platform/cross-country ski 10 km cross-country ski".
In another example, as shown in fig. 2b, a recommendation page of the target live broadcast room may show a live broadcast waterfall stream formed by the delivered target associated information below a live broadcast area of the target live broadcast room in the recommendation page, and a user may enter a live broadcast page of the target live broadcast room through a live broadcast room entry in the recommendation page for the target live broadcast room.
Compared with the traditional method which relies on manual production of data and manual transmission, the technical scheme of the embodiment can fuse live broadcast content associated information of various media types for automatic transmission, constructs an automatic transmission system from the production and classification of the live broadcast content associated information to transmission, can combine information collected by a plurality of data sources, ensures the sequence of the combined information, and further can automatically transmit the combined information to a live broadcast watching terminal, solves the problems that the generation and transmission of the live broadcast content associated information cannot host and strongly depend on manual work, can enrich live broadcast content based on the fused data of various media types, and improves the live broadcast impression.
According to the method for sending the live broadcast information, the issuing configuration information corresponding to the target live broadcast room is obtained aiming at the target live broadcast room, then the target associated information corresponding to the data type is automatically determined from the candidate associated information of at least one data type collected in advance when the current time meets the time information of issuing the associated information of the corresponding data type based on the issuing configuration information, and then the target associated information is sent to the live broadcast watching end corresponding to the target live broadcast room so as to display the target associated information at the live broadcast watching end. Therefore, the method can realize configurable automatic issuing of live broadcast content associated information, can efficiently and stably generate and send the live broadcast content associated information, does not need to rely on manual operation, enriches the live broadcast content and live broadcast impression, and improves the live broadcast effect of live broadcast.
In an exemplary embodiment, before the step of automatically determining target association information of a corresponding data type from at least one pre-collected candidate association information of data types when it is detected that current time satisfies time information for issuing association information of the corresponding data type based on issuing configuration information, the method further includes: based on a plurality of preset data sources, collecting initial association information corresponding to a target live broadcast room; and respectively adding the initial associated information into a data processing queue corresponding to the data type according to the data type to which the initial associated information belongs, and obtaining candidate associated information of at least one data type based on the initial associated information in the data processing queue.
As an example, the data type to which the initial association information belongs may include a text data type, a video data type, an image data type, and the like, and corresponding data processing queues, such as the text processing queue, the video processing queue, and the image processing queue in fig. 3, may be preset for different data types.
In a specific implementation, based on a plurality of preset data sources, such as a video data source, an accessed data source of external comment information, and a data source of internal comment information, video works, first comment data, and second comment data related to live content of a target live broadcast are collected as initial association information of different data types, and then a preset data structure model is adopted to encapsulate a data structure of each initial association information to obtain encapsulated initial association information carrying a feature field for identifying a data type, and then according to the feature field, the encapsulated initial association information is added to a data processing queue corresponding to the data type according to the data type to which the encapsulated initial association information belongs, so as to obtain candidate association information.
In an example, as shown in fig. 3, information may be collected from multiple data sources based on a highly available automatic data pull module, which may support configurable multiple data source inputs, different media type data of multiple content providers may be pulled into a live content pool, and then a unified data model (i.e., a preset data structure model) may be used to uniformly sort data (i.e., initial association information) collected by different data sources, so as to accurately classify the data into a certain live event or live broadcast room, for example, multiple media type data order may be automatically fused under a corresponding live broadcast room id.
In another example, data of different media types may be routed to different processing queues for preprocessing, as shown in fig. 3, so that processing logic of data of different media types may be decoupled, personalized processing configuration may be performed on data of different media types, data may be prevented from being blocked with each other, and timeliness of live data processing is improved.
According to the technical scheme of the embodiment, the initial association information corresponding to the target live broadcasting room is collected based on the plurality of preset data sources, then the initial association information is respectively added into the data processing queues corresponding to the data types according to the data types to which the initial association information belongs, the candidate association information of at least one data type is obtained based on the initial association information in the data processing queues, the information collected by the plurality of data sources can be combined, and data support is provided for automatic issuing of the subsequent association information.
In an exemplary embodiment, based on a preset plurality of data sources, collecting initial association information corresponding to a target live broadcast room includes at least two types including: aiming at a video data source, according to a preset video account list, collecting video works which are issued by each video account in the preset video account list and are related to the live broadcast content of a target live broadcast room from the video data source as first-type initial association information; aiming at a data source of external comment information, collecting first comment data related to live broadcast content of a target live broadcast room through an access interface externally provided by the data source, and using the first comment data as second-type initial association information; and acquiring second comment data which is written by calling an internal specific interface and is related to the live broadcast content of the target live broadcast room as third-type initial association information aiming at the data source of the internal comment information.
In an example, initial association information collection may be based on different pull tasks for different data sources:
for example, for a video data source, a video distribution account list (i.e., a preset video account list) may be configured in advance, and then a video work distributed by each account in the video distribution account list may be pulled at regular time, so that the name of the video work may be matched with a live action, and an association relationship, such as a match id, may be established between the video work and a corresponding matched live action identifier, so as to serve as first-type initial association information.
For another example, for an externally accessed commentary data source (i.e., a data source of external commentary information), commentary data (i.e., first commentary data) may be obtained by periodically pulling an api interface to serve as the second type of initial association information, a data structure of the commentary data may include a unique live-play activity identifier and a message time identifier, such as a game id and a message id carrying a timestamp, a corresponding game activity may be determined based on the game id, and sorting may be performed based on the message id to ensure continuity of content. The graphic and text comment data can be directly generated according to the video live broadcast stream by introducing an MMU content understanding algorithm, so that dependence on an externally accessed comment data source is not needed.
For another example, for a commentary content source (i.e., a data source of the internal commentary information) edited by the operator, after the operator finishes editing, a specific api interface (i.e., an internal specific interface) may be called to write the commentary content (i.e., the second commentary data, serving as the third type of initial association information) into the corresponding live action, such as establishing an association relationship with the event id.
According to the technical scheme, video works which are issued by video accounts in a preset video account list and are related to live broadcast content of a target live broadcast are collected from the video data source according to the preset video account list as first-class initial related information, first comment data which are related to the live broadcast content of the target live broadcast are collected through an access interface which is externally provided by the data source and are used as second-class initial related information for the data source of external comment information, second comment data which are written by calling an internal specific interface and are related to the live broadcast content of the target live broadcast are obtained for the data source of the internal comment information, and the second comment data are used as third-class initial related information and can be fused with live broadcast content related information of multiple media types to be automatically issued.
In an exemplary embodiment, adding the initial association information to the data processing queues corresponding to the data types according to the data types to which the initial association information belongs respectively includes: packaging the data structure of each piece of initial associated information by adopting a preset data structure model to obtain packaged initial associated information; and respectively adding the packaged initial associated information into a data processing queue corresponding to the data type according to the data type to which the initial associated information belongs according to the characteristic field.
The encapsulated initial association information may carry a feature field for identifying a data type, such as a data _ type field.
In a specific implementation, in order to be compatible with collected Data of multiple Data sources for processing, a Data Transfer Object (DTO), that is, a preset Data structure model, may be preset, and through the DTO, a Data structure of Data (that is, initial association information) collected from each Data source may be uniformly encapsulated, for example, into a live explaindto field explanation Data Transfer Object, and a Data source may be distinguished according to a source _ type field, a media type of the Data may be distinguished according to a Data _ type field (that is, a feature field), and unified processing of the Data structure may be completed in an automatic Data pull module.
In an example, after data collected from a data source is pulled and structurally unified, packaged initial association information can be obtained, which all have a unified liveextiplaindto structure, and the packaged initial association information can be uniformly sent to a kafka, and then media types of the packaged initial association information can be distinguished according to data _ type fields by a consumer, and further can be routed to corresponding data type processing queues, such as a word processing queue, a video processing queue, and an image processing queue in fig. 3.
In another example, as shown in fig. 3, after routing processing, initial association information of different data types may be sent to different services (i.e. corresponding data type processing queues), for example, after data is consumed by a concurer performing word processing, relevant processing such as information processing and warehousing may be performed; the image processing queue can perform relevant processing such as transcoding, cdn preheating and the like; the video processing queue can perform related processing such as transcoding resource multiplexing, warehousing and state backtracking, so that different types of data can respectively complete respective preprocessing logics, flexible capacity expansion can be performed according to the service load condition of each data type, and if data of a certain data type is abnormal, the processing of other types of data can be prevented from being influenced, and the decoupling effect is achieved.
According to the technical scheme, the data structure of each piece of initial association information is encapsulated by adopting a preset data structure model to obtain the encapsulated initial association information, and then the encapsulated initial association information is respectively added into the data processing queues corresponding to the data types according to the data types to which the initial association information belongs according to the characteristic fields, so that the processing logics of data of different media types can be decoupled, the data can be prevented from being blocked mutually, and the timeliness of live data processing is improved.
In an exemplary embodiment, obtaining candidate association information of at least one data type based on initial association information in a data processing queue includes: adding a live broadcast room identifier of a target live broadcast room to initial associated information in a data processing queue, and storing the initial associated information according to a data type to which the initial associated information belongs to obtain candidate associated information of at least one data type corresponding to the target live broadcast room; based on the issuing configuration information, when detecting that the current time meets the time information of issuing the associated information of the corresponding data type, automatically determining the target associated information of the corresponding data type from the pre-collected candidate associated information of at least one data type, wherein the method comprises the following steps: and based on the issuing configuration information and the live broadcast room identification of the target live broadcast room, when the current time is detected to meet the time information of issuing the associated information of the corresponding data type, determining the target associated information of the corresponding data type from the candidate associated information of at least one data type corresponding to the target live broadcast room.
In practical application, by adding the live broadcast room identifier of the target live broadcast room to the initial associated information in the data processing queue and storing the initial associated information according to the data type to which the initial associated information belongs, the candidate associated information of at least one data type corresponding to the target live broadcast room can be obtained, so that the effect of accurately classifying to a certain live broadcast activity or live broadcast room is achieved.
In the automatic distribution process, target associated information may be determined from candidate associated information of at least one data type corresponding to the target live broadcast room according to a live broadcast requirement (i.e., distribution configuration information) configured for the target live broadcast room and a live broadcast room identifier of the target live broadcast room, for example, continuous comment information is sequentially sent, and short video content is sent at fixed intervals or random intervals.
In an example, through a live broadcast management interface at the back end, it may support a distribution configuration function for each live broadcast activity, such as whether to start an automatic distribution (that is, to distribute the associated information function), a time interval of the automatic distribution, whether to distribute a video, a time interval of the video distribution, and the like, and may record distribution configuration information corresponding to each live broadcast activity, such as binding by using a race id, and may pull the recorded distribution configuration information to complete a live broadcast requirement configured for a target live broadcast room in the process of the automatic distribution.
According to the technical scheme of the embodiment, the live broadcast room identification of the target live broadcast room is added to the initial associated information in the data processing queue, the initial associated information is stored according to the data type to which the initial associated information belongs, the candidate associated information of at least one data type corresponding to the target live broadcast room is obtained, and then the target associated information of the corresponding data type is determined from the candidate associated information of at least one data type corresponding to the target live broadcast room on the basis of the issuing configuration information and the live broadcast room identification of the target live broadcast room when the current time is detected to meet the time information of issuing the associated information of the corresponding data type, so that the configurable automatic issuing of the live broadcast content associated information can be realized without depending on manual operation.
In an exemplary embodiment, the issuing configuration information may include multiple sets of sending configuration parameters, each set of sending configuration parameters may include a sending time interval of candidate association information of one data type, and based on the issuing configuration information, when it is detected that current time satisfies time information of issuing association information of a corresponding data type, automatically determining target association information of the corresponding data type from at least one pre-collected candidate association information of the data type, including: determining the sending time interval of the candidate associated information of the corresponding data type from each group of sending configuration parameters; and acquiring target associated information from the candidate associated information of the corresponding data type according to the sending time interval.
In a specific implementation, the delivery configuration information may include multiple sets of sending configuration parameters, each set of sending configuration parameters may include a sending time interval of candidate associated information of one data type, sending time intervals corresponding to associated information of different data types may be obtained by obtaining the sending time interval from each set of sending configuration parameters, for example, a text data type, a video data type, and an image data type may respectively correspond to the sending time intervals, and further, according to the sending time intervals, target associated information may be obtained from candidate associated information of a data type corresponding to a target live broadcast, for example, continuous commentary information may be sent in sequence, and short video content may be sent at fixed intervals or random intervals.
According to the technical scheme of the embodiment, the sending time interval of the candidate associated information of the corresponding data type is determined from each group of sending configuration parameters, and then the target associated information is obtained from the candidate associated information of the corresponding data type according to the sending time interval, so that the live broadcast content associated information can be automatically issued based on the personalized processing configuration of different media type data.
In an exemplary embodiment, obtaining the target associated information from the candidate associated information of the corresponding data type includes: for each data type, determining a collection timestamp of target associated information of the last issued data type as a reference timestamp; and determining new target associated information from the candidate associated information of the data type according to the reference time stamp.
As an example, the collection timestamp corresponding to the new target associated information is after the reference timestamp and is earlier than the collection timestamps of other candidate associated information of the data type.
In practical application, as shown in fig. 4, for each data type, a timestamp of sent associated information recorded in a Remote Dictionary service (Remote Dictionary service), that is, a collection timestamp of target associated information of the data type that was issued last time, may be read as a reference timestamp, and when querying the target associated information from candidate associated information of a corresponding data type, candidate associated information after the reference timestamp may be obtained according to the reference timestamp, an information state of the obtained candidate associated information is not a failed state, and the obtained candidate associated information may be sorted according to the timestamp, so that candidate associated information whose information state is passed and is earlier than collection timestamps of other candidate associated information of the data type may be determined, and new target associated information may be obtained.
Specifically, the distributable target associated information may be obtained for the live broadcast content of the target live broadcast room according to the distribution configuration information, for example, the candidate associated information that has been preprocessed may be pulled from the database based on live broadcast activity of the live broadcast of the target live broadcast room, as shown in fig. 4, if the distributable target associated information is successfully obtained, the distributable target associated information may be submitted to the sending component, if the obtaining fails, the distributable target associated information may be waited according to the configured waiting time, and after the waiting time is out, the data may be skipped over, and the next distributable data may be continuously obtained.
In an example, as shown in fig. 4, the timestamp of the latest push association information recorded in redis may be updated according to the new target association information, and the new target association information may be sent to kafka and the data recorded at mysql relational database management system.
According to the technical scheme of the embodiment, the collection time stamp of the target associated information of the data type which is issued last time is determined as the reference time stamp for each data type, and then the new target associated information is determined from the candidate associated information of the data type according to the reference time stamp, so that the sequence of automatically issuing the associated information can be ensured.
In an exemplary embodiment, before the step of obtaining, for the target live broadcast room, the distributed configuration information corresponding to the target live broadcast room, the method further includes: and based on a preset timing task, acquiring the live broadcast room with the started function of issuing the associated information according to a set time period as a target live broadcast room.
In an example, after the timing task is started, scanning may be performed at a set time period, for example, at an interval of 5 seconds, a target live broadcast room may be determined by searching for a live broadcast room with an opened association information issuing function, and a live broadcast identifier, for example, a live broadcast id, of the target live broadcast room may be obtained, so that when the target live broadcast room is automatically issued, the target association information may be determined from candidate association information of at least one data type corresponding to the target live broadcast room based on the live broadcast room identifier of the target live broadcast room.
According to the technical scheme, the live broadcast room with the function of issuing the associated information started is obtained according to the set time period based on the preset timing task and is used as the target live broadcast room, and the target live broadcast room can be obtained in time to perform subsequent automatic issuing processing.
In an exemplary embodiment, after the step of acquiring, based on a preset timing task, a live broadcast room started to issue a function of issuing associated information according to a set time period, as a target live broadcast room, the method further includes: and starting a corresponding sending thread created aiming at the target live broadcast room.
In an example, after a target live broadcast room is obtained through scanning, an automatic sending thread may be created for the target live broadcast room, where the sending thread may be used to obtain issuing configuration information corresponding to the target live broadcast room, determine target association information based on the issuing configuration information, send the target association information to a live broadcast watching terminal corresponding to the target live broadcast room, if a sending thread may be created according to a live broadcast id of the target live broadcast room, so as to execute the sending thread corresponding to the target live broadcast room, and determine the issued target association information according to the issuing configuration information corresponding to the target live broadcast room.
According to the technical scheme of the embodiment, the configurable automatic issuing process can be realized by starting the corresponding sending thread established aiming at the target live broadcasting room.
In an exemplary embodiment, after the step of starting the corresponding sending thread created for the target live broadcast room, the method further includes: after target associated information is issued each time, detecting the function state of the issued associated information of the target live broadcast room; and when detecting that the function of issuing the associated information of the target live broadcast room is closed, ending the sending thread corresponding to the target live broadcast room.
In a specific implementation, as shown in fig. 4, after each piece of data (i.e., target associated information) is delivered, whether the function of delivering associated information in the target live broadcast room is in a closed state may be checked, and if the function of delivering associated information is closed, the sending thread may be exited, so that live broadcast content associated information may be automatically delivered as needed.
According to the technical scheme of the embodiment, the function state of the associated information issuing function of the target live broadcast room is detected after the associated information of the target is issued each time, and when the condition that the associated information issuing function of the target live broadcast room is closed is detected, the sending thread corresponding to the target live broadcast room is finished, so that the associated information can be flexibly and automatically issued.
Fig. 5 is a flowchart illustrating another method for sending live information, as shown in fig. 5, for use in a server, according to an example embodiment, which includes the following steps.
In step S510, initial association information corresponding to the target live broadcast room is collected based on a plurality of preset data sources. In step S520, the initial association information is added to the data processing queues corresponding to the data types according to the data types to which the initial association information belongs, and candidate association information of at least one data type is obtained based on the initial association information in the data processing queues. In step S530, a live broadcast room identifier of the target live broadcast room is added to the initial association information in the data processing queue, and the initial association information is stored according to the data type to which the initial association information belongs, so as to obtain candidate association information of at least one data type corresponding to the target live broadcast room. In step S540, based on a preset timing task, a live broadcast room with the function of issuing associated information started is obtained according to a set time period, and the obtained live broadcast room is used as a target live broadcast room. In step S550, a corresponding sending thread created for the target live broadcast room is started, and the distributed configuration information corresponding to the target live broadcast room is acquired for the target live broadcast room. In step S560, based on the delivery configuration information and the live broadcast room identifier of the target live broadcast room, when it is detected that the current time meets the time information for delivering the associated information of the corresponding data type, the target associated information of the corresponding data type is determined from the candidate associated information of at least one data type corresponding to the target live broadcast room. In step S570, the target associated information is sent to a live viewing end corresponding to the target live broadcast room, so that the target associated information is displayed at the live viewing end. In step S580, after the target associated information is delivered each time, a status of a function of delivering the associated information of the target live broadcast room is detected, and when it is detected that the function of delivering the associated information of the target live broadcast room is closed, a sending thread corresponding to the target live broadcast room is ended. It should be noted that, for the specific limitations of the above steps, reference may be made to the above specific limitations on a live broadcast information sending method, and details are not described herein again.
It should be understood that, although the steps in the flowcharts related to the embodiments as described above are sequentially displayed as indicated by arrows, the steps are not necessarily performed sequentially as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a part of the steps in the flowcharts related to the embodiments described above may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, and the execution order of the steps or stages is not necessarily sequential, but may be rotated or alternated with other steps or at least a part of the steps or stages in other steps.
It is understood that the same/similar parts between the embodiments of the method described above in this specification can be referred to each other, and each embodiment focuses on the differences from the other embodiments, and it is sufficient that the relevant points are referred to the descriptions of the other method embodiments.
Based on the same inventive concept, the embodiment of the present disclosure further provides a live broadcast information sending apparatus for implementing the above-mentioned live broadcast information sending method.
Fig. 6 is a block diagram illustrating a live information transmitting apparatus according to an example embodiment. Referring to fig. 6, the apparatus includes:
an issuing configuration information obtaining unit 601 configured to execute obtaining, for a target live broadcast room, issuing configuration information corresponding to the target live broadcast room; the issuing configuration information comprises time information for issuing the associated information of each data type aiming at the target live broadcast room;
a target associated information determining unit 602 configured to perform, based on the delivery configuration information, when it is detected that the current time satisfies time information for delivering associated information of a corresponding data type, automatically determining target associated information of the corresponding data type from candidate associated information of at least one data type collected in advance; the candidate associated information is information associated with live broadcast content of the target live broadcast room, and is collected based on data interfaces provided by a plurality of preset data sources;
an information issuing unit 603 configured to execute sending the target associated information to a live viewing end corresponding to the target live broadcast room, so as to display the target associated information at the live viewing end.
In one possible implementation manner, the live information sending apparatus further includes:
the initial association information collection unit is configured to collect initial association information corresponding to the target live broadcast room based on a plurality of preset data sources;
and the data processing queue distinguishing unit is configured to add the initial association information into the data processing queues corresponding to the data types according to the data types to which the initial association information belongs, and obtain candidate association information of at least one data type based on the initial association information in the data processing queues.
In one possible implementation manner, the initial association information collecting unit includes at least two of the following types: for a video data source, according to a preset video account list, collecting video works which are issued by each video account in the preset video account list and are related to the live broadcast content of the target live broadcast room from the video data source, and using the video works as first-class initial association information; aiming at a data source of external commentary information, collecting first commentary data related to live content of the target live broadcast room through an access interface provided by the data source to serve as second type initial association information; and acquiring second comment data which is written by calling an internal specific interface and is related to the live broadcast content of the target live broadcast room as third-type initial association information aiming at the data source of the internal comment information.
In a possible implementation manner, the data processing queue distinguishing unit is specifically configured to perform encapsulation on a data structure of each piece of initial association information by using a preset data structure model to obtain encapsulated initial association information; the packaged initial associated information carries a characteristic field for identifying the data type; and according to the characteristic fields, adding the packaged initial association information into data processing queues corresponding to the data types respectively according to the data types to which the initial association information belongs.
In a possible implementation manner, the data processing queue distinguishing unit is specifically configured to add a live broadcast room identifier of the target live broadcast room to the initial associated information in the data processing queue, and store the initial associated information according to a data type to which the initial associated information belongs, so as to obtain candidate associated information of at least one data type corresponding to the target live broadcast room;
the target associated information determining unit 602 is specifically configured to perform, based on the delivery configuration information and the live broadcast room identifier of the target live broadcast room, determining target associated information of a corresponding data type from candidate associated information of at least one data type corresponding to the target live broadcast room when it is detected that current time satisfies time information for delivering associated information of the corresponding data type.
In a possible implementation manner, the issuing configuration information includes multiple sets of sending configuration parameters, each set of sending configuration parameters includes a sending time interval of candidate associated information of a data type, and the target associated information determining unit 602 is specifically configured to determine the sending time interval of candidate associated information of a corresponding data type from each set of sending configuration parameters; and acquiring the target associated information from the candidate associated information of the corresponding data type according to the sending time interval.
In a possible implementation manner, the target associated information determining unit 602 is specifically configured to perform, for each data type, determining a collection timestamp of target associated information of the data type sent last time as a reference timestamp; determining new target associated information from the candidate associated information of the data type according to the reference timestamp; and the collection time stamp corresponding to the new target associated information is after the reference time stamp and is earlier than the collection time stamps in other candidate associated information of the data type.
In one possible implementation manner, the live broadcast information sending apparatus further includes:
and the target live broadcast room determining unit is configured to execute a preset timing task, and acquire a live broadcast room with the function of issuing the associated information started according to a set time period to serve as the target live broadcast room.
In one possible implementation manner, the live information sending apparatus further includes:
a sending thread starting unit configured to execute starting of a corresponding sending thread created for the target live broadcast room; the sending thread is used for obtaining issuing configuration information corresponding to the target live broadcast room, determining target associated information based on the issuing configuration information, and sending the target associated information to a live broadcast watching end corresponding to the target live broadcast room.
In one possible implementation manner, the live information sending apparatus further includes:
the function state detection unit is configured to detect the function state of the issuing associated information of the target live broadcast room after the target associated information is issued each time;
and the sending thread ending unit is configured to execute and end the sending thread corresponding to the target live broadcast room when the condition that the function of issuing the associated information of the target live broadcast room is closed is detected.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
All or part of the modules in the live broadcast information sending device can be realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
Fig. 7 is a block diagram illustrating an electronic device 700 for implementing a method for transmitting live information, according to an example embodiment. For example, the electronic device 700 may be a server. Referring to fig. 7, electronic device 700 includes a processing component 720 that further includes one or more processors, and memory resources, represented by memory 722, for storing instructions, such as applications, that are executable by processing component 720. The application programs stored in memory 722 may include one or more modules that each correspond to a set of instructions. Further, the processing component 720 is configured to execute instructions to perform the above-described methods.
The electronic device 700 may further include: a power component 724 is configured to perform power management for the electronic device 700, a wired or wireless network interface 726 is configured to connect the electronic device 700 to a network, and an input-output (I/O) interface 728. The electronic device 700 may operate based on an operating system stored in the memory 722, such as Windows Server, mac OS X, unix, linux, freeBSD, or the like.
In an exemplary embodiment, a computer-readable storage medium comprising instructions, such as memory 722, that are executable by a processor of electronic device 700 to perform the above-described method is also provided. The storage medium may be a computer-readable storage medium, which may be, for example, a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
In an exemplary embodiment, a computer program product is also provided, which comprises instructions executable by a processor of the electronic device 700 to perform the above-described method.
It should be noted that the descriptions of the above-mentioned apparatus, the electronic device, the computer-readable storage medium, the computer program product, and the like according to the method embodiments may also include other embodiments, and specific implementations may refer to the descriptions of the related method embodiments, which are not described in detail herein.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (13)

1. A method for sending live broadcast information, the method comprising:
aiming at a target live broadcast room, acquiring issuing configuration information corresponding to the target live broadcast room; the issuing configuration information comprises time information for issuing the associated information of each data type aiming at the target live broadcast room;
based on the issuing configuration information, when the current time is detected to meet the time information of issuing the associated information of the corresponding data type, automatically determining target associated information of the corresponding data type from at least one pre-collected candidate associated information of the data type; the candidate associated information is information associated with live broadcast content of the target live broadcast room, and is collected based on data interfaces provided by a plurality of preset data sources;
and sending the target associated information to a live broadcast watching end corresponding to the target live broadcast room so as to display the target associated information at the live broadcast watching end.
2. The method according to claim 1, wherein before the step of automatically determining target associated information of a corresponding data type from at least one pre-collected candidate associated information of the data type when detecting that a current time satisfies time information for delivering associated information of the corresponding data type based on the delivery configuration information, the method further comprises:
based on a plurality of preset data sources, collecting initial association information corresponding to the target live broadcast room;
and respectively adding the initial associated information into a data processing queue corresponding to the data type according to the data type to which the initial associated information belongs, and obtaining candidate associated information of at least one data type based on the initial associated information in the data processing queue.
3. The method according to claim 2, wherein the collecting initial association information corresponding to the target live broadcast room based on a plurality of preset data sources includes at least two of the following types:
for a video data source, according to a preset video account list, collecting video works which are issued by each video account in the preset video account list and are related to the live broadcast content of the target live broadcast room from the video data source, and using the video works as first-class initial association information;
for a data source of external commentary information, collecting first commentary data related to live content of the target live broadcast room through an access interface provided outside by the data source as second-class initial association information;
and acquiring second commentary data which is written by calling an internal specific interface and is related to the live content of the target live broadcast room aiming at a data source of the internal commentary information, and taking the second commentary data as third-type initial association information.
4. The method according to claim 2, wherein the adding the initial association information into the data processing queues corresponding to the data types according to the data types to which the initial association information belongs comprises:
packaging the data structure of each initial associated information by adopting a preset data structure model to obtain packaged initial associated information; the packaged initial associated information carries a characteristic field for identifying the data type;
and respectively adding the packaged initial associated information into a data processing queue corresponding to the data type according to the data type to which the packaged initial associated information belongs.
5. The method of claim 2, wherein deriving candidate association information for at least one data type based on the initial association information in the data processing queue comprises:
adding a live broadcast room identifier of the target live broadcast room to the initial associated information in the data processing queue, and storing the initial associated information according to the data type to which the initial associated information belongs to obtain candidate associated information of at least one data type corresponding to the target live broadcast room;
the step of automatically determining target associated information corresponding to the data type from at least one pre-collected candidate associated information of the data type when detecting that the current time meets the time information for issuing the associated information of the corresponding data type based on the issuing configuration information comprises the following steps:
and determining target associated information of a corresponding data type from candidate associated information of at least one data type corresponding to the target live broadcast room when detecting that the current time meets the time information of the associated information of the corresponding data type issued based on the issuing configuration information and the live broadcast room identification of the target live broadcast room.
6. The method according to claim 1, wherein the delivery configuration information includes a plurality of sets of sending configuration parameters, each set of sending configuration parameters includes a sending time interval of candidate association information of one data type, and the determining, based on the delivery configuration information, the target association information of the corresponding data type from the pre-collected candidate association information of at least one data type automatically when detecting that the current time satisfies the time information of delivering the association information of the corresponding data type includes:
determining a sending time interval of candidate associated information of a corresponding data type from each group of sending configuration parameters;
and acquiring the target associated information from the candidate associated information of the corresponding data type according to the sending time interval.
7. The method according to claim 6, wherein the obtaining the target associated information from the candidate associated information of the corresponding data type comprises:
determining a collection timestamp of target associated information of the data type which is issued last time as a reference timestamp for each data type;
determining new target associated information from the candidate associated information of the data type according to the reference timestamp; and the collection time stamp corresponding to the new target associated information is after the reference time stamp and is earlier than the collection time stamps of other candidate associated information of the data type.
8. The method according to any one of claims 1 to 7, wherein before the step of obtaining, for the target live broadcast room, the distributed configuration information corresponding to the target live broadcast room, the method further includes:
and based on a preset timing task, acquiring the live broadcast room with the started function of issuing the associated information according to a set time period to serve as the target live broadcast room.
9. The method according to claim 8, wherein after the step of acquiring, based on the preset timing task, the live broadcast room started to issue the associated information function according to a set time period as the target live broadcast room, the method further comprises:
starting a corresponding sending thread created aiming at the target live broadcast room; the sending thread is used for obtaining issuing configuration information corresponding to the target live broadcast room, determining target associated information based on the issuing configuration information, and sending the target associated information to a live broadcast watching end corresponding to the target live broadcast room.
10. The method of claim 9, wherein after the step of initiating the corresponding send thread created for the target live broadcast room, the method further comprises:
after the target associated information is issued each time, detecting the function state of the issued associated information of the target live broadcast room;
and when detecting that the function of issuing the associated information of the target live broadcast room is closed, ending the sending thread corresponding to the target live broadcast room.
11. A live information transmission apparatus, characterized in that the apparatus comprises:
the distribution configuration information acquisition unit is configured to execute distribution configuration information corresponding to a target live broadcast room aiming at the target live broadcast room; the issuing configuration information comprises time information for issuing the associated information of each data type aiming at the target live broadcast room;
the target associated information determining unit is configured to execute the step of automatically determining the target associated information of the corresponding data type from the candidate associated information of at least one data type collected in advance when the current time is detected to meet the time information of issuing the associated information of the corresponding data type based on the issuing configuration information; the candidate associated information is information associated with live broadcast content of the target live broadcast room, and is collected based on data interfaces provided by a plurality of preset data sources;
and the information issuing unit is configured to execute sending of the target associated information to a live broadcast watching end corresponding to the target live broadcast room so as to display the target associated information at the live broadcast watching end.
12. An electronic device, comprising:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the live information transmission method of any of claims 1 to 10.
13. A computer-readable storage medium having instructions thereon which, when executed by a processor of an electronic device, enable the electronic device to perform the live information transmission method of any one of claims 1 to 10.
CN202211108038.1A 2022-09-13 2022-09-13 Live broadcast information sending method and device, electronic equipment and storage medium Active CN115190339B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211108038.1A CN115190339B (en) 2022-09-13 2022-09-13 Live broadcast information sending method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211108038.1A CN115190339B (en) 2022-09-13 2022-09-13 Live broadcast information sending method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN115190339A true CN115190339A (en) 2022-10-14
CN115190339B CN115190339B (en) 2024-04-30

Family

ID=83524498

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211108038.1A Active CN115190339B (en) 2022-09-13 2022-09-13 Live broadcast information sending method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115190339B (en)

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102595206A (en) * 2012-02-24 2012-07-18 央视国际网络有限公司 Data synchronization method and device based on sport event video
CN108259924A (en) * 2017-12-15 2018-07-06 上海聚力传媒技术有限公司 Race real time data methods of exhibiting, terminal device, video system and storage medium
CN109982128A (en) * 2019-03-19 2019-07-05 腾讯科技(深圳)有限公司 Barrage generation method, device, storage medium and the electronic device of video
US20200099960A1 (en) * 2016-12-19 2020-03-26 Guangzhou Huya Information Technology Co., Ltd. Video Stream Based Live Stream Interaction Method And Corresponding Device
CN111556327A (en) * 2020-04-02 2020-08-18 北京达佳互联信息技术有限公司 Live broadcast room recommendation method, device, terminal, server, system and storage medium
CN112399194A (en) * 2021-01-20 2021-02-23 腾讯科技(深圳)有限公司 Live data processing method and device, computer and readable storage medium
CN113099260A (en) * 2021-04-21 2021-07-09 北京沃东天骏信息技术有限公司 Live broadcast processing method, live broadcast platform, system, medium and electronic device
CN113132810A (en) * 2019-12-30 2021-07-16 腾讯科技(深圳)有限公司 Processing method and device for live broadcast match, computer readable medium and electronic equipment
CN113873269A (en) * 2021-08-26 2021-12-31 北京达佳互联信息技术有限公司 Information pushing method and device, server and storage medium
CN114125490A (en) * 2022-01-19 2022-03-01 阿里巴巴(中国)有限公司 Live broadcast method and device
CN114125569A (en) * 2022-01-27 2022-03-01 阿里巴巴(中国)有限公司 Live broadcast processing method and device
CN114401417A (en) * 2022-01-28 2022-04-26 广州方硅信息技术有限公司 Live stream object tracking method and device, equipment and medium thereof
CN114900711A (en) * 2022-05-27 2022-08-12 北京字跳网络技术有限公司 Method, device and equipment for generating media content and storage medium

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102595206A (en) * 2012-02-24 2012-07-18 央视国际网络有限公司 Data synchronization method and device based on sport event video
US20200099960A1 (en) * 2016-12-19 2020-03-26 Guangzhou Huya Information Technology Co., Ltd. Video Stream Based Live Stream Interaction Method And Corresponding Device
CN108259924A (en) * 2017-12-15 2018-07-06 上海聚力传媒技术有限公司 Race real time data methods of exhibiting, terminal device, video system and storage medium
CN109982128A (en) * 2019-03-19 2019-07-05 腾讯科技(深圳)有限公司 Barrage generation method, device, storage medium and the electronic device of video
CN113132810A (en) * 2019-12-30 2021-07-16 腾讯科技(深圳)有限公司 Processing method and device for live broadcast match, computer readable medium and electronic equipment
CN111556327A (en) * 2020-04-02 2020-08-18 北京达佳互联信息技术有限公司 Live broadcast room recommendation method, device, terminal, server, system and storage medium
CN112399194A (en) * 2021-01-20 2021-02-23 腾讯科技(深圳)有限公司 Live data processing method and device, computer and readable storage medium
CN113099260A (en) * 2021-04-21 2021-07-09 北京沃东天骏信息技术有限公司 Live broadcast processing method, live broadcast platform, system, medium and electronic device
CN113873269A (en) * 2021-08-26 2021-12-31 北京达佳互联信息技术有限公司 Information pushing method and device, server and storage medium
CN114125490A (en) * 2022-01-19 2022-03-01 阿里巴巴(中国)有限公司 Live broadcast method and device
CN114125569A (en) * 2022-01-27 2022-03-01 阿里巴巴(中国)有限公司 Live broadcast processing method and device
CN114401417A (en) * 2022-01-28 2022-04-26 广州方硅信息技术有限公司 Live stream object tracking method and device, equipment and medium thereof
CN114900711A (en) * 2022-05-27 2022-08-12 北京字跳网络技术有限公司 Method, device and equipment for generating media content and storage medium

Also Published As

Publication number Publication date
CN115190339B (en) 2024-04-30

Similar Documents

Publication Publication Date Title
CN104798346B (en) For supplementing the method and computing system of electronic information relevant to broadcast medium
US9633377B2 (en) Image content and advertisement data providing method, system, and apparatus
US8554848B2 (en) Collective asynchronous media review
US8924383B2 (en) Broadcast video monitoring and alerting system
CN100385424C (en) Information processing apparatus and content information processing method
CN101217640B (en) A method and device realizing program collection in P2P VOD
US7624408B2 (en) Apparatus, method, and system for information processing, and recording medium
CN106331779A (en) Method and system for pushing anchor based on user preferences during video playing process
CN109117233A (en) Method and apparatus for handling information
CN109688475A (en) Video playing jump method, system and computer readable storage medium
CN112925661A (en) Message processing method and device, computer equipment and storage medium
CN101075233B (en) Member, system and method for collecting multi-medium content
CN111432228B (en) Method, device and equipment for matching anchor and storage medium
KR102110623B1 (en) Transmission device, information processing method, program, reception device, and application linking system
CN112689202B (en) Live broadcast room message processing method and device, server and storage medium
CN108415908B (en) Multimedia data processing method and server
CN113630618B (en) Video processing method, device and system
CN113469745A (en) Method and system for sharing advertising content from a primary device to a secondary device
CN115278274A (en) Live stream processing method, device, equipment and storage medium
CN115190339B (en) Live broadcast information sending method and device, electronic equipment and storage medium
CN112565828A (en) Live video pushing method
CN103680257A (en) Method and system for automatically recording courses through communication software
CN111177463A (en) Conference record searching method and device, electronic equipment and medium
CN114449301B (en) Item sending method, item sending device, electronic equipment and computer-readable storage medium
CN112312143A (en) Information processing method, intelligent terminal, server 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