CN116248908A - Data distribution method, device, equipment and medium - Google Patents

Data distribution method, device, equipment and medium Download PDF

Info

Publication number
CN116248908A
CN116248908A CN202310101544.6A CN202310101544A CN116248908A CN 116248908 A CN116248908 A CN 116248908A CN 202310101544 A CN202310101544 A CN 202310101544A CN 116248908 A CN116248908 A CN 116248908A
Authority
CN
China
Prior art keywords
target
live broadcast
live
pendant
data
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.)
Pending
Application number
CN202310101544.6A
Other languages
Chinese (zh)
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 CN202310101544.6A priority Critical patent/CN116248908A/en
Publication of CN116248908A publication Critical patent/CN116248908A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • H04N21/2187Live feed
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • H04N21/44008Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving operations for analysing video streams, e.g. detecting features or characteristics in the video stream
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/462Content or additional data management, e.g. creating a master electronic program guide from data received from the Internet and a Head-end, controlling the complexity of a video stream by scaling the resolution or bit-rate based on the client capabilities
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

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

Abstract

The present disclosure provides a data distribution method, apparatus, device and medium, and relates to the field of computer surgery, where the data distribution method includes: acquiring a live broadcast pendant distribution rule set associated with a current live broadcast scene; analyzing a target distribution rule in the live pendant distribution rule set to obtain at least one target data source identifier and a target display condition associated with the target distribution rule; if the target live broadcast data associated with the account number of the live broadcasting room to be processed is determined to meet the target display condition, determining target live broadcast pendant parameters according to the target live broadcast data; and sending the target live broadcast pendant parameters to a live broadcast terminal corresponding to the account number of the live broadcast room to be processed. And the live broadcast pendant development and live broadcast pendant display efficiency are improved.

Description

Data distribution method, device, equipment and medium
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a data distribution method, a data distribution device, an electronic apparatus, and a computer readable storage medium.
Background
Live broadcasting is a common service in internet services, and in the live broadcasting process, various live broadcasting data of a live broadcasting room account to be processed in a live broadcasting scene, such as a current live broadcasting room ranking of a host broadcasting, and the like, can be displayed through a live broadcasting pendant.
In the related art, in the live broadcast scene process, live broadcast hanging pieces corresponding to different live broadcast participation forms can be displayed according to different live broadcast participation forms of the live broadcast room account to be processed, so that a user can look up live broadcast data of the live broadcast room account to be processed in the current live broadcast participation form.
In a normal case, in a live broadcast scene, live broadcast pendants to be displayed in the live broadcast scene are required, live broadcast pendants in different modes and display logic of the live broadcast pendants are customized and developed, a great amount of labor cost is required to be consumed, the live broadcast pendants are required to be realized through complex codes in the display process, time is consumed, and the real-time performance of live broadcast pendant display is poor.
Disclosure of Invention
The disclosure provides a data distribution method, a device, equipment and a medium, which at least solve the problems of high time consumption and low display efficiency of live pendant development in the related technology. The technical scheme of the present disclosure is as follows:
according to a first aspect of an embodiment of the present disclosure, there is provided a data distribution method, including:
acquiring a live broadcast pendant distribution rule set associated with a current live broadcast scene;
analyzing a target distribution rule in the live broadcast pendant distribution rule set to obtain at least one target data source identifier and a target display condition associated with the target distribution rule, wherein the data source identifier is a live broadcast data identifier associated with a live broadcast participation form;
If the target live broadcast data associated with the account number of the live broadcasting room to be processed meets the target display condition, determining target live broadcast pendant parameters according to the target live broadcast data, wherein the target live broadcast data is the live broadcast data corresponding to the target data source identifier;
and sending the target live broadcast pendant parameters to a live broadcast terminal corresponding to the account number of the live broadcast room to be processed.
Optionally, the method further comprises:
if the target live broadcast data associated with the account number of the live broadcasting room to be processed does not meet the target display condition, determining an updated live broadcast pendant distribution rule set, wherein the updated live broadcast pendant distribution rule set does not comprise the target distribution rule;
analyzing an updated target distribution rule in the updated live pendant distribution rule set to obtain at least one updated target data source identifier and updated target display conditions associated with the updated target distribution rule;
if the updated target live broadcast data associated with the account number of the live broadcasting room to be processed meets the updated target display condition, determining updated target live broadcast pendant parameters according to the updated target live broadcast data, wherein the updated target live broadcast data is live broadcast data corresponding to the updated target data source identifier;
And sending the updated target live broadcast pendant parameters to a live broadcast terminal corresponding to the account number of the live broadcast room to be processed.
Optionally, after parsing the target distribution rule in the live pendant distribution rule set to obtain at least one target data source identifier and a target display condition associated with the target distribution rule, the method further includes:
acquiring the target live broadcast data associated with the account number of the live broadcasting room to be processed;
after parsing the updated target distribution rule in the updated live pendant distribution rule set to obtain at least one updated target data source identifier and an updated target display condition associated with the updated target distribution rule, the method further includes:
and if the target data source identification is determined to be the same as the updated target data source identification, determining the target live broadcast data as updated target live broadcast data associated with the account of the live broadcasting room to be processed.
Optionally, the number of the live-broadcasting room accounts to be processed includes a plurality of live-broadcasting hanging parameters, and if it is determined that the target live-broadcasting data associated with the live-broadcasting room accounts to be processed meets the target display condition, determining the target live-broadcasting hanging parameters according to the target live-broadcasting data includes:
Traversing each live broadcasting room account to be processed, and if the target live broadcasting data associated with the live broadcasting room account to be processed is determined to meet the target display condition, adding the live broadcasting room account to be processed to a first class live broadcasting room set;
and determining target live broadcast pendant parameters associated with each to-be-processed live broadcast room account in the first class live broadcast room set according to target live broadcast data associated with each to-be-processed live broadcast room account in the first class live broadcast room set.
Optionally, the method further comprises:
if the target live broadcast data associated with the live broadcast room account to be processed does not meet the target display condition, adding the live broadcast room account to be processed to a second class live broadcast room set;
analyzing an updated target distribution rule in the updated live pendant distribution rule set to obtain at least one updated target data source identifier and updated target display conditions associated with the updated target distribution rule;
traversing each live-broadcasting-room account in the second-class live-broadcasting-room set, and adding the live-broadcasting-room account in the second-class live-broadcasting-room set to a third-class live-broadcasting-room set if updated target live-broadcasting data associated with the live-broadcasting-room account in the second-class live-broadcasting-room set is determined to meet the updated target display condition;
And determining updated target live broadcast pendant parameters associated with each to-be-processed live broadcast room account in the third class live broadcast room set according to the updated target live broadcast data associated with each to-be-processed live broadcast room account in the third class live broadcast room set.
Optionally, the method further comprises:
acquiring at least one of global parameters and target style parameters, wherein the global parameters are parameters contained in all live broadcast pendants associated with the current live broadcast scene, and the target style parameters are parameters unique to the live broadcast pendants displayed when the target display conditions are met;
the determining the target live broadcast pendant parameter according to the target live broadcast data comprises the following steps:
and determining at least one of the global parameter and the target style parameter and the target live broadcast data as the target live broadcast pendant parameter.
Optionally, the analyzing the target distribution rule in the live pendant distribution rule set to obtain at least one target data source identifier and a target display condition associated with the target distribution rule includes:
determining a data source keyword in the target distribution rule according to the analysis rule of the distribution rule to obtain at least one target data source identifier;
And determining display condition keywords in the target distribution rule according to the analysis rule of the distribution rule to obtain target display conditions associated with the target distribution rule.
According to a second aspect of the embodiments of the present disclosure, there is provided a data distribution apparatus including:
the acquisition module is configured to acquire a live broadcast pendant distribution rule set associated with a current live broadcast scene;
the analyzing module is configured to analyze the target distribution rules in the live broadcast pendant distribution rule set to obtain at least one target data source identifier and target display conditions associated with the target distribution rules, wherein the data source identifier is a live broadcast data identifier associated with a live broadcast participation form;
the determining module is configured to determine target live broadcast pendant parameters according to target live broadcast data if the target live broadcast data associated with the account of the live broadcast room to be processed meets the target display condition, wherein the target live broadcast data is live broadcast data corresponding to the target data source identifier;
and the sending module is configured to send the target live broadcast pendant parameters to a live broadcast terminal corresponding to the account number of the live broadcast room to be processed.
Optionally, the apparatus further includes an update module configured to:
If the target live broadcast data associated with the account number of the live broadcasting room to be processed does not meet the target display condition, determining an updated live broadcast pendant distribution rule set, wherein the updated live broadcast pendant distribution rule set does not comprise the target distribution rule;
analyzing an updated target distribution rule in the updated live pendant distribution rule set to obtain at least one updated target data source identifier and updated target display conditions associated with the updated target distribution rule;
if the updated target live broadcast data associated with the account number of the live broadcasting room to be processed meets the updated target display condition, determining updated target live broadcast pendant parameters according to the updated target live broadcast data, wherein the updated target live broadcast data is live broadcast data corresponding to the updated target data source identifier;
and sending the updated target live broadcast pendant parameters to a live broadcast terminal corresponding to the account number of the live broadcast room to be processed.
Optionally, the apparatus further includes another acquisition module configured to:
acquiring the target live broadcast data associated with the account number of the live broadcasting room to be processed;
The apparatus further comprises another determination module configured to:
and if the target data source identification is determined to be the same as the updated target data source identification, determining the target live broadcast data as updated target live broadcast data associated with the account of the live broadcasting room to be processed.
Optionally, the number of live room accounts to be processed includes a plurality of live room accounts, and the determining module is configured to:
traversing each live broadcasting room account to be processed, and if the target live broadcasting data associated with the live broadcasting room account to be processed is determined to meet the target display condition, adding the live broadcasting room account to be processed to a first class live broadcasting room set;
and determining target live broadcast pendant parameters associated with each to-be-processed live broadcast room account in the first class live broadcast room set according to target live broadcast data associated with each to-be-processed live broadcast room account in the first class live broadcast room set.
Optionally, the apparatus further includes a further determining module configured to:
if the target live broadcast data associated with the live broadcast room account to be processed does not meet the target display condition, adding the live broadcast room account to be processed to a second class live broadcast room set;
Analyzing an updated target distribution rule in the updated live pendant distribution rule set to obtain at least one updated target data source identifier and updated target display conditions associated with the updated target distribution rule;
traversing each live-broadcasting-room account in the second-class live-broadcasting-room set, and adding the live-broadcasting-room account in the second-class live-broadcasting-room set to a third-class live-broadcasting-room set if updated target live-broadcasting data associated with the live-broadcasting-room account in the second-class live-broadcasting-room set is determined to meet the updated target display condition;
and determining updated target live broadcast pendant parameters associated with each to-be-processed live broadcast room account in the third class live broadcast room set according to the updated target live broadcast data associated with each to-be-processed live broadcast room account in the third class live broadcast room set.
Optionally, the apparatus further includes a further acquisition module configured to:
acquiring at least one of global parameters and target style parameters, wherein the global parameters are parameters contained in all live broadcast pendants associated with the current live broadcast scene, and the target style parameters are parameters unique to the live broadcast pendants displayed when the target display conditions are met;
The determining the target live broadcast pendant parameter according to the target live broadcast data comprises the following steps:
and determining at least one of the global parameter and the target style parameter and the target live broadcast data as the target live broadcast pendant parameter.
Optionally, the parsing module is configured to:
determining a data source keyword in the target distribution rule according to the analysis rule of the distribution rule to obtain at least one target data source identifier;
and determining display condition keywords in the target distribution rule according to the analysis rule of the distribution rule to obtain target display conditions associated with the target distribution rule.
According to a third aspect of embodiments of the present disclosure, there is provided 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 data distribution method according to the first aspect.
According to a third aspect of embodiments of the present disclosure, there is provided a computer readable storage medium, which when executed by a processor of an electronic device, causes the electronic device to perform the data distribution method as described in the first aspect.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects:
according to the data distribution method, device, equipment and medium provided by the embodiment of the disclosure, on one hand, complex codes are not required to be developed, but the live pendant display logic is abstracted into the live pendant distribution rule, so that the workload of developing the live pendant is reduced, and the live pendant development efficiency is improved; on the other hand, the display parameters in the live pendant are decoupled from the live scene, live broadcast data corresponding to the same live broadcast participation form are marked by a data source identifier, multiplexing is facilitated in the live pendant distribution rule writing process corresponding to different activities, and the difficulty in live pendant distribution rule writing is further reduced; in the live pendant parameter distribution process, the live pendant parameters can be distributed by analyzing the distribution rules, complex code logic is not required to be processed, the data volume in the live pendant display process can be reduced, and the live pendant display efficiency and instantaneity are improved.
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 disclosure and together with the description, serve to explain the principles of the disclosure and do not constitute an undue limitation on the disclosure.
FIG. 1 is a schematic architecture diagram of a data distribution system shown in accordance with an exemplary embodiment;
FIG. 2 is a flow chart illustrating a method of data distribution according to an exemplary embodiment;
FIG. 3 is a schematic diagram of a live pendant, according to an example embodiment;
FIG. 4 is a flowchart illustrating another data distribution method according to an example embodiment;
FIG. 5 is a block diagram of a data distribution device according to an exemplary embodiment;
fig. 6 is a block diagram of an electronic device, according to an example embodiment.
Detailed Description
In order to enable those skilled in the art to better understand the technical solutions of the present disclosure, the technical solutions of 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 foregoing figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the disclosure described herein may be capable of operation in sequences other than those illustrated or described herein. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as detailed in the accompanying claims.
In the related art, for different live broadcast scenes, a live broadcast pendant to be displayed in the live broadcast process and display logic of the live broadcast pendant are required to be customized according to the characteristics of live broadcast pendant display in the live broadcast scene. For example, for a christmas live broadcast scene, a live broadcast pendant to be displayed in the christmas live broadcast scene and display logic of the live broadcast pendant need to be independently developed; aiming at annual awarding live broadcast scenes, live broadcast pendants which need to be displayed in the annual awarding live broadcast scenes and display logic of the live broadcast pendants are required to be independently developed.
Therefore, in the related art, the development and display process of the live broadcast pendant are strongly coupled with the live broadcast scene, the live broadcast pendant and the display logic need to be independently developed for different live broadcast scenes, the live broadcast pendant cannot be reused similarly, and the development process of the live broadcast pendant for different live broadcast scenes needs to consume labor cost and time cost; under the condition that the number of live broadcast participation forms in a live broadcast scene is large, live broadcast pendants which need to be displayed after different live broadcast participation forms meet different conditions are generally different, and the live broadcast pendants which are large in number and complex in display logic need to be developed, so that the complexity of codes and the operation and maintenance cost are increased.
In view of the foregoing, exemplary embodiments of the present disclosure provide a data distribution method, an application scenario of which includes, but is not limited to: aiming at a live broadcast pendant distribution scene of a live broadcast scene, a live broadcast pendant distribution rule set associated with the current live broadcast scene can be obtained; analyzing the target distribution rule in the distribution rule set to obtain at least one target data source identifier and target display conditions associated with the target distribution rule; if the target live broadcast data associated with the account number of the live broadcasting room to be processed is determined to meet the target display condition, determining target live broadcast pendant parameters according to the target live broadcast data; the target live broadcast pendant parameters are sent to a live broadcast terminal corresponding to the account number of the live broadcast room to be processed; the data source identifier is a live broadcast data identifier associated with a live broadcast participation form, and the target live broadcast data is live broadcast data corresponding to the target data source identifier. The live broadcast pendant to be displayed in different states of the live broadcast room can be summarized into the distribution rule of the live broadcast pendant, and when the live broadcast data of the live broadcast room meets the distribution rule, the pendant parameters to be displayed are issued to the terminal equipment of the live broadcast room for display.
In order to implement the above-described data distribution method, exemplary embodiments of the present disclosure provide a data distribution system. Fig. 1 shows a schematic architecture diagram of the data distribution system. As shown in fig. 1, the data distribution system 100 may include a server 110 and a live terminal 120. Wherein the server 110 is a background server deployed by a live server. The live terminal 120 is a terminal device used by a live user, and more specifically, the terminal device may be, for example, a smart phone, a personal computer, a tablet computer, or the like. The server 110 and the live terminal 120 can establish a connection through a network to realize data distribution.
It should be understood that the server 110 may be one server or may be a cluster formed by a plurality of servers, and the specific architecture of the server 110 is not limited in this disclosure.
Fig. 2 is a flowchart illustrating a data distribution method according to an exemplary embodiment, and as shown in fig. 2, the data distribution method may be applied to a server, including the steps of:
step S201, acquiring a live broadcast pendant distribution rule set associated with a current live broadcast scene;
step S202, analyzing target distribution rules in a live pendant distribution rule set to obtain at least one target data source identifier and target display conditions associated with the target distribution rules;
The data source identifier is a live broadcast data identifier associated with a live broadcast participation form;
step S203, if the target live broadcast data associated with the account number of the live broadcasting room to be processed is determined to meet the target display condition, determining target live broadcast pendant parameters according to the target live broadcast data;
the target live broadcast data is live broadcast data corresponding to the target data source identifier;
and step S204, the target live broadcast pendant parameters are sent to a live broadcast terminal corresponding to the account number of the live broadcast room to be processed.
In summary, in the embodiment of the present disclosure, on one hand, no complex code needs to be developed, but the workload of developing the live pendant is reduced and the development efficiency of the live pendant is improved by abstracting the live pendant display logic into the live pendant distribution rule; on the other hand, the display parameters in the live pendant are decoupled from the live scene, live broadcast data corresponding to the same live broadcast participation form are marked by a data source identifier, multiplexing is facilitated in the live pendant distribution rule writing process corresponding to different activities, and the difficulty in live pendant distribution rule writing is further reduced; in the live pendant parameter distribution process, the live pendant parameters can be distributed by analyzing the distribution rules, complex code logic is not required to be processed, the data volume in the live pendant display process can be reduced, and the live pendant display efficiency and instantaneity are improved.
Each step in fig. 2 is described in detail below:
in step S201, the server may acquire a live pendant distribution rule set associated with a current live scene.
In the embodiment of the present disclosure, the current live broadcast scene is an ongoing live broadcast scene, and the live broadcast pendant distribution rule set includes a pre-written distribution rule, where the distribution rule may include a data source identifier and a display condition associated with the distribution rule; the data source identifier is a live broadcast data identifier associated with a live broadcast participation form, and when live broadcast data corresponding to the data source identifier meets display conditions, it is determined that live broadcast data corresponding to the data source identifier is displayed in a live broadcast pendant.
The live participation form may be determined based on a live participation form supported by a live scene, which is not limited by the embodiment of the present disclosure. For example, the live participation form may include participation in live broadcast in a time-limited task form, and the data source identifier is an identifier of live broadcast data generated in the process of participation in live broadcast in the time-limited task form; the live participation form may include participation in live broadcast in a fight form, the data source identification is an identification of live broadcast data generated in the process of participation in live broadcast in a fight form, or the live participation form may include participation in live broadcast in a list form, and the data source identification is an identification of live broadcast data generated in the process of participation in live broadcast in a list form.
In an alternative embodiment, the process of obtaining, by the server, the live pendant distribution rule set associated with the current live scene may include: and acquiring a live broadcast pendant distribution rule set associated with the current live broadcast scene in response to acquiring the live broadcast start information. The live broadcast pendant distribution rule set associated with the current live broadcast scene can be obtained after live broadcast is started, live broadcast pendant parameters to be displayed are conveniently determined for the live broadcast terminal, and the live broadcast pendant parameters are sent to the live broadcast terminal for display after live broadcast is started.
In an alternative embodiment, in the live broadcast process, the live broadcast participation form of the live broadcast room to be processed and the live broadcast data associated with the live broadcast participation form are changed, so that in order to facilitate users to intuitively check the live broadcast data in different live broadcast participation forms in the live broadcast process, a service end is required to update a live broadcast pendant displayed by a live broadcast terminal according to the state of the live broadcast room to be processed; therefore, the server may be preconfigured with a live pendant update period, and the live pendant update period may be determined based on actual needs, which is not limited by the embodiments of the present disclosure. By way of example, the live pendant update period may be 5 seconds or 10 seconds, etc. The process of the server obtaining the live pendant distribution rule set associated with the current live scene may include: and in the current live broadcast key updating period, the server acquires a live broadcast pendant distribution rule set associated with the current live broadcast scene. The live broadcasting room to be processed is any live broadcasting room for live broadcasting in the current live broadcasting scene.
In step S202, the server may parse the target distribution rule in the live pendant distribution rule set to obtain at least one target data source identifier and a target display condition associated with the target distribution rule.
In the embodiment of the present disclosure, the target distribution rule may be any one distribution rule in the live pendant distribution rule set, or may be one distribution rule with a higher priority in the live pendant distribution rule set, where the priority of the distribution rule is configured when the distribution rule is written.
In an optional embodiment, the distribution rule may be written according to an expression of a preset structure, where the expression of the preset structure has a parsing rule corresponding to the expression, and the process of parsing the target distribution rule in the live pendant distribution rule set by the server to obtain at least one target data source identifier and a target display condition associated with the target distribution rule may include: determining a data source keyword in a target distribution rule according to an analysis rule of the distribution rule to obtain at least one target data source identifier; and determining the display condition keywords in the target distribution rule according to the analysis rule of the distribution rule to obtain the target display condition associated with the target distribution rule. The expression with special rules can be used for compiling distribution rules, so that rule analysis is convenient, the data source identification and the display conditions can be rapidly determined, and the processing efficiency of the live broadcast pendant parameters is improved.
For example, the distribution rule may be written according to an averager expression, and if the target distribution rule is cityrank @ inrank @ and cyclenrank @ and addcard @ notusing, determining, according to an parsing rule of the averager expression, a data source keyword in the target distribution rule includes: cityRank, cycleRank and AddCard, the obtaining the target data source identifier includes: cityRank, cycleRank and AddCard, wherein, cityRank is a live data identifier associated with participating in live broadcast in a form of a city list, cyclrank is a live data identifier associated with participating in live broadcast in a form of a period list, and AddCard is a live data identifier associated with participating in live broadcast in a form of an addition card; meanwhile, display condition keywords in a target distribution rule can be determined, namely, cityRank, cycleRank, inRank, addBoard, notusing and & &, so as to obtain target display conditions, wherein CityRank, inRank represent that a live broadcasting room is in a city list, cycleRank, inRank represent that the live broadcasting room is in a period list, addBoard, notusing represent that no addition card is used in the live broadcasting room, and & & represents that logical AND, the target display conditions are as follows: the live broadcasting room is in the city list and also in the period list, and does not use an add-on card.
In an alternative embodiment, the distribution rule may be written based on a non-compiled programming language, and the process of parsing the target distribution rule in the live pendant distribution rule set to obtain at least one target data source identifier, and the target display condition associated with the target distribution rule may include: and analyzing the target distribution rule based on the language rule of the non-compiled programming language to obtain at least one target data source identifier and a target display condition associated with the target distribution rule.
In step S203, if the server determines that the target live broadcast data associated with the account number of the live broadcasting room to be processed meets the target display condition, determining a target live broadcast pendant parameter according to the target live broadcast data.
In the embodiment of the present disclosure, the target live data is live data corresponding to the target data source identifier, where the live data corresponding to the target data source identifier may be determined based on live data generated in a live participation form associated with the target data source identifier, and the embodiment of the present disclosure is not limited thereto. Target live data representation associated with a live room account to be processed: live broadcast data corresponding to the target data source identification in live broadcast data of the account number of the live broadcast room to be processed.
For example, if the target data source identifier includes a live data identifier associated with participating in live broadcast in the form of a city list, the category of live data generated by participating in live broadcast in the form of the city list may include: city name, ranking of living broadcasting room, score gap, countdown, etc.; the target live data associated with the live-broadcasting-room account to be processed includes live data generated in the live-broadcasting process in the form of a city list, for example: city name ("a city competition area"); live room ranking ("100+"); score gap ("last note also gap 9999"); countdown ("23:59:00"), etc.;
if the target data source identifier includes a live data identifier associated with participating in live broadcast in a period list form, the types of live data that may be generated when participating in live broadcast in the period list form may include: rewarding the text, ranking the living broadcast room, and the difference of the scores; the target live data associated with the live-room account to be processed includes live data generated in the live-broadcasting process in the form of a period list, for example: rewarding the literature ("23-point first 1 ten thousand yuan of red packet"); live room ranking ("2"); score gap ("distance first name also difference 9999"), etc.
If the target data source identifier includes a live data identifier associated with participating in a live broadcast in a time-limited task form, the types of live data that may be generated by participating in the live broadcast in the time-limited task form may include: score gap; counting down, etc.; the target live data associated with the live-room account to be processed includes live data generated in the live-room account to be processed in a time-limited task form, for example: score gap ("redpack return difference 9999"); countdown ("23:59"), etc.
If the target data source identification includes a live data identification associated with participating in a live broadcast in the form of a use addition card, the types of live data that may be generated to participate in a live broadcast in the form of a use addition card may include: adding card multiples; counting down, etc.; the target live data associated with the live-room account to be processed includes live data generated in the process of participating in live broadcasting using the addition card, for example: addition card fold ("1.2 fold"); count down ("00:30").
In an alternative embodiment, the process of determining, by the server, whether the target live data associated with the live room account to be processed meets the target display condition may include: and judging whether the target live broadcast data associated with the account of the live broadcasting room to be processed meets the display requirements in the target display conditions, if so, determining that the target live broadcast data associated with the account of the live broadcasting room to be processed meets the target display conditions, and determining target live broadcast pendant parameters according to the target live broadcast data.
For example, if the target distribution rule is cityrank @ inrank @ and cyclehank @ and addcard @ notusing, the target display condition is: the live broadcasting room is in the city list and also in the period list, and does not use an add-on card.
Suppose that, in the live broadcast data of the live broadcast room B1 to be processed, live broadcast data corresponding to participation in live broadcast in a form of a city list includes: city name ("B city competition area"); live room ranking ("66"); score gap ("last note also gap 8799"); countdown ("22:52:00"), etc.; the live broadcast data corresponding to the live broadcast participated in the form of the period list in the live broadcast data of the live broadcast room B1 to be processed comprises: rewarding the literature ("23-point first 1 ten thousand yuan of red packet"); live room ranking ("2"); score gap ("distance first name also difference 7899"), etc.; and in the live broadcast data of the live broadcast room B1 to be processed, the live broadcast data corresponding to the live broadcast participation in the form of an addition card is empty.
Regarding the target display condition, for the live broadcast data corresponding to the live broadcast participated in the form of the city list, whether the live broadcast room B1 to be processed is in the city list or not can be judged through the ranking of the live broadcast room, and the live broadcast room with the ranking of the live broadcast room within 100 in the target display condition can be displayed in the city list, and since the ranking of the live broadcast room B1 to be processed is 66, the live broadcast room B1 to be processed can be determined to be in the city list; for live broadcast data corresponding to the live broadcast participated in the form of the period list, whether the live broadcast room B1 to be processed is in the period list or not can be judged through the ranking of the live broadcast room, and the live broadcast room with the ranking of the live broadcast room B1 to be processed can be displayed in the period list under the assumption that the display requirement in the target display condition is that the live broadcast room with the ranking of less than 10 can be displayed in the period list, and the live broadcast room B1 to be processed can be determined to be in the period list because the ranking of the live broadcast room B1 to be processed is 2; in the live broadcast data of the live broadcast room B1 to be processed, the live broadcast data corresponding to the live broadcast participation form using the addition card is empty, so that the situation that the addition card is not used in the live broadcast process of the live broadcast room B1 to be processed can be determined; it may be determined that the target live data associated with the live room B1 to be processed satisfies the target display condition.
In an alternative embodiment, the process of determining, by the server, the target live pendant parameter according to the target live data may include: and determining the target live broadcast data as target live broadcast pendant parameters. The live broadcast terminal is convenient to display target live broadcast data, and a user can conveniently determine the live broadcast data after participating in a live broadcast participation mode.
In an optional embodiment, in order to further improve the richness of the display content in the live broadcast pendant, the server may further obtain at least one of a global parameter and a target style parameter, where the global parameter is a parameter contained in all live broadcast pendants associated with the current live broadcast scene, and the target style parameter is a parameter unique to the live broadcast pendant displayed when the target display condition is satisfied; the process of determining the target live pendant parameter by the server according to the target live data may include: and determining at least one of the global parameter and the target style parameter and the target live broadcast data as target live broadcast pendant parameters. It should be noted that, all live broadcast pendants associated with the current live broadcast scene represent all live broadcast pendants that can be displayed in the current live broadcast scene. More information can be displayed in the live pendant, so that a user can intuitively acquire richer live information related to a live scene and a live participation form.
It should be noted that, in the embodiment of the present disclosure, the global parameter and the target style parameter are predetermined, and the process of obtaining the global parameter may include: and in response to acquiring the live broadcast start information, acquiring global parameters in live broadcast pendant configuration information of the current live broadcast scene.
The process of obtaining the target style parameter may include: and when the target live broadcast data associated with the account number of the live broadcasting room to be processed meets the target display condition, acquiring style parameters corresponding to the target distribution rule from the live broadcast key configuration information to obtain target style parameters.
For example, assuming that the current live scene is an active live scene, fig. 3 shows a schematic diagram of a live pendant that may be displayed in the live scene, including: style parameters 301, target live data 302 associated with a city list, target live data 303 associated with a time-limited task, and global parameters 304.
In step S204, the server sends the target live pendant parameter to a live terminal corresponding to the account number of the live room to be processed.
In the embodiment of the present disclosure, the target live pendant parameter is a parameter to be displayed in the live pendant.
In an alternative embodiment, the process of sending, by the server, the target live pendant parameter to the live terminal corresponding to the live room account to be processed may include: and the server assembles the target live broadcast pendant parameters into pendant signaling, and sends the pendant signaling to the live broadcast terminal of the account of the live broadcast room to be processed, so that the live broadcast terminal builds and displays the live broadcast pendant in the live broadcast interface according to the pendant signaling.
In an alternative embodiment, if it is determined that the target live broadcast data associated with the live broadcast room account to be processed does not meet the target display condition, determining an updated live broadcast pendant distribution rule set; analyzing the updated target distribution rule in the updated live pendant distribution rule set to obtain at least one updated target data source identifier and updated target display conditions associated with the updated target distribution rule; if the updated target live broadcast data associated with the account number of the live broadcasting room to be processed is determined to meet the updated target display condition, determining updated target live broadcast pendant parameters according to the updated target live broadcast data; the updated target live broadcast pendant parameters are sent to a live broadcast terminal corresponding to the account number of the live broadcast room to be processed, wherein the updated live broadcast pendant distribution rule set does not comprise target distribution rules, and the updated target live broadcast data are live broadcast data corresponding to the updated target data source identification; the updated target distribution rule is a distribution rule with high priority or any distribution rule in the updated live pendant distribution rule set; the updated target live broadcast data is live broadcast data corresponding to the updated target data source identifier. And when the live broadcast data of the account number of the live broadcast room to be processed meets the display condition of the new distribution rule, the live broadcast data corresponding to the data source identifier in the new distribution rule is determined to be the live broadcast pendant parameter, so that the reliability of determining the live broadcast pendant to be displayed based on the live broadcast pendant distribution rule set is improved.
It can be understood that, in the process of determining the updated target live pendant parameters by using the updated live pendant distribution rule set, the specific implementation principle of each step is similar to the specific implementation principle of each step in the process of determining the target live pendant parameters by using the live pendant distribution rule set, which is not described in detail in the embodiment of the present disclosure.
It should be noted that, in the embodiment of the present disclosure, if it is determined that the updated target live broadcast data associated with the account of the live broadcasting room to be processed meets the updated target display condition, the live broadcasting pendant distribution rule set is updated again, when the live broadcasting parameters to be displayed in the live broadcasting room to be processed cannot be obtained by using the updated live broadcasting pendant distribution rule set, the live broadcasting pendant distribution rule set is continuously updated, and the above process is repeated until each distribution rule in the live broadcasting pendant distribution rule set is traversed, and the live broadcasting parameters to be displayed in the live broadcasting room to be processed are determined, wherein the live broadcasting pendant distribution rule set after each update does not include the live broadcasting pendant distribution rule that has been used.
In an optional implementation manner, different data sources in the embodiment of the present disclosure may be maintained by different data source servers, and after the server analyzes a target distribution rule in a live broadcast pendant distribution rule set to obtain at least one target data source identifier and a target display condition associated with the target distribution rule, target live broadcast data associated with an account number of a live broadcast room to be processed may also be obtained; the process of obtaining target live broadcast data associated with the account number of the live broadcast room to be processed may include: a live broadcast data acquisition request is sent to a target data source server associated with a target data source identifier, wherein the live broadcast data acquisition request can contain a live broadcast room account number to be processed; further, the server can receive target live broadcast data which is returned by the target data source server and is associated with the account number of the live broadcast room to be processed.
Further, when the live broadcast pendant parameters corresponding to the live broadcast room account to be processed are determined by using the updated live broadcast pendant distribution rule set, after analyzing the updated target distribution rule in the updated live broadcast pendant distribution rule set to obtain at least one updated target data source identifier and the updated target display condition associated with the updated target distribution rule, if the server determines that the target data source identifier is the same as the updated target data source identifier, the target live broadcast data is determined to be the updated target live broadcast data associated with the live broadcast room account to be processed. The live broadcast data from the same data source is not required to be repeatedly acquired, the performance waste of the server is reduced, and the efficiency of determining the live broadcast pendant parameters can be further improved due to the fact that an interaction flow between the server and the data source server is omitted.
In an alternative embodiment, in a live broadcast scene, the number of the live broadcast room accounts to be processed includes a plurality, for example ten thousand, so that in order to improve the data distribution efficiency, live broadcast parameters of each live broadcast room account to be processed can be determined and distributed at the same time; if the server determines that the target live broadcast data associated with the account of the live broadcasting room to be processed meets the target display condition, determining the target live broadcast pendant parameter according to the target live broadcast data may include: traversing each live broadcasting room account, and adding the live broadcasting room account to be processed to the first class live broadcasting room set if the target live broadcasting data associated with the live broadcasting room account to be processed is determined to meet the target display condition; and determining target live broadcast pendant parameters associated with each to-be-processed live broadcast room account in the first class live broadcast room set according to the target live broadcast data associated with each to-be-processed live broadcast room account in the first class live broadcast room set. The live broadcast pendant data of a plurality of live broadcast room accounts to be processed can be determined simultaneously, the time difference of live broadcast pendant parameters is determined for each live broadcast room account to be processed when the live broadcast room accounts to be processed are reduced, the time consistency of live broadcast pendant display of a live broadcast terminal is improved, and the use experience of a user is improved.
In an alternative embodiment, if it is determined that the target live broadcast data associated with the live broadcast room account to be processed does not meet the target display condition, adding the live broadcast room account to be processed to the second class live broadcast room set; analyzing the updated target distribution rule in the updated live pendant distribution rule set to obtain at least one updated target data source identifier and updated target display conditions associated with the updated target distribution rule; traversing each to-be-processed live broadcast room account in the second-class live broadcast room set, and adding the to-be-processed live broadcast room account in the second-class live broadcast room set to the third-class live broadcast room set if the updated target live broadcast data associated with the to-be-processed live broadcast room account in the second-class live broadcast room set is determined to meet the updated target display condition; and determining updated target live broadcast pendant parameters associated with each to-be-processed live broadcast room account in the third class live broadcast room set according to the updated target live broadcast data associated with each to-be-processed live broadcast room account in the third class live broadcast room set. And when the live broadcasting data of the live broadcasting room to be processed does not meet the target display condition, the account numbers of the live broadcasting room to be processed, which do not determine the corresponding live broadcasting pendant parameters, form a new live broadcasting room set, the live broadcasting room set of the live broadcasting pendant parameters can be determined in the new live broadcasting set by utilizing the new distribution rule, and the live broadcasting pendant parameters are determined as the live broadcasting pendant parameters for each live broadcasting room to be processed in the live broadcasting room set of the live broadcasting pendant parameters, so that the reliability of the live broadcasting pendant to be displayed for each live broadcasting room account number to be processed can be improved based on the live broadcasting pendant distribution rule set.
It should be noted that, in the embodiment of the present disclosure, if it is determined that the updated target live broadcast data associated with the second live broadcast room meets the updated target display condition, then the live broadcast room account to be processed is continuously added to the fourth live broadcast room set, and the live broadcast pendant distribution rule set is updated again, when the live broadcast parameters to be displayed by the live broadcast room account in the fourth live broadcast room set cannot be obtained by using the live broadcast pendant distribution rule set after the re-update, the live broadcast pendant distribution rule set is continuously updated, and the above process is repeated until each distribution rule in the live broadcast pendant distribution rule set is traversed, and the live broadcast parameters to be displayed by each live broadcast room account to be processed are determined; and the live pendant distribution rule set updated each time does not contain the used live pendant distribution rule.
Fig. 4 is a flowchart illustrating another data distribution method according to an exemplary embodiment, as shown in fig. 4, the data distribution method including:
step S401, acquiring a live broadcast pendant distribution rule set associated with a current live broadcast scene;
step S402, analyzing a target distribution rule in a live pendant distribution rule set to obtain at least one target data source identifier and a target display condition associated with the target distribution rule;
Step S403, judging whether target live broadcast data associated with the account number of the live broadcasting room to be processed meets target display conditions;
step S404, if the target live broadcast data associated with the account number of the live broadcasting room to be processed is determined to meet the target display condition, determining target live broadcast pendant parameters according to the target live broadcast data;
and step S405, the target live broadcast pendant parameters are sent to a live broadcast terminal corresponding to the account number of the live broadcast room to be processed.
Step S406, if it is determined that the target live broadcast data associated with the live broadcast room account to be processed does not meet the target display condition, determining an updated live broadcast pendant distribution rule set and an updated target distribution rule in the updated live broadcast pendant distribution rule set;
and step S407, determining the updated live broadcast pendant distribution rule set as a live broadcast pendant distribution rule set, determining the updated target distribution rule as a target distribution rule, repeating the steps S402 to S407 until obtaining target live broadcast pendant parameters corresponding to the live broadcast room account to be processed, and transmitting the target live broadcast pendant parameters to the live broadcast terminal corresponding to the live broadcast room account to be processed.
Fig. 5 is a block diagram illustrating a data distribution apparatus according to an exemplary embodiment. Referring to fig. 5, the data distribution apparatus 500 includes:
An acquisition module 501 configured to acquire a live pendant distribution rule set associated with a current live scene;
the parsing module 502 is configured to parse the target distribution rule in the live broadcast pendant distribution rule set to obtain at least one target data source identifier and a target display condition associated with the target distribution rule, where the data source identifier is a live broadcast data identifier associated with a live broadcast participation form;
a determining module 503, configured to determine a target live broadcast pendant parameter according to target live broadcast data if it is determined that target live broadcast data associated with the account of the live broadcast room to be processed meets a target display condition, where the target live broadcast data is live broadcast data corresponding to a target data source identifier;
and the sending module 504 is configured to send the target live pendant parameters to a live terminal corresponding to the account number of the live room to be processed.
Optionally, the apparatus further comprises an updating module 505 configured to:
if the target live broadcast data associated with the account number of the live broadcasting room to be processed does not meet the target display condition, determining an updated live broadcast pendant distribution rule set, wherein the updated live broadcast pendant distribution rule set does not comprise a target distribution rule;
analyzing the updated target distribution rule in the updated live pendant distribution rule set to obtain at least one updated target data source identifier and updated target display conditions associated with the updated target distribution rule;
If the updated target live broadcast data associated with the account number of the live broadcasting room to be processed meets the updated target display condition, determining updated target live broadcast pendant parameters according to the updated target live broadcast data, wherein the updated target live broadcast data is live broadcast data corresponding to the updated target data source identifier;
and sending the updated target live broadcast pendant parameters to a live broadcast terminal corresponding to the account number of the live broadcast room to be processed.
Optionally, the apparatus further includes another obtaining module 506 configured to:
acquiring target live broadcast data associated with an account number of a live broadcast room to be processed;
the apparatus further comprises a further determination module 507 configured to:
and if the target data source identification is the same as the updated target data source identification, determining the target live broadcast data as updated target live broadcast data associated with the account number of the live broadcast room to be processed.
Optionally, the number of live room accounts to be processed includes a plurality of, and the determining module 503 is configured to:
traversing each live broadcasting room account, and adding the live broadcasting room account to be processed to the first class live broadcasting room set if the target live broadcasting data associated with the live broadcasting room account to be processed is determined to meet the target display condition;
and determining target live broadcast pendant parameters associated with each to-be-processed live broadcast room account in the first class live broadcast room set according to the target live broadcast data associated with each to-be-processed live broadcast room account in the first class live broadcast room set.
Optionally, the apparatus further includes a further determining module 508 configured to:
if the target live broadcast data associated with the live broadcast room account to be processed does not meet the target display condition, adding the live broadcast room account to be processed to a second class live broadcast room set;
analyzing the updated target distribution rule in the updated live pendant distribution rule set to obtain at least one updated target data source identifier and updated target display conditions associated with the updated target distribution rule;
traversing each to-be-processed live broadcast room account in the second-class live broadcast room set, and adding the to-be-processed live broadcast room account in the second-class live broadcast room set to the third-class live broadcast room set if the updated target live broadcast data associated with the to-be-processed live broadcast room account in the second-class live broadcast room set is determined to meet the updated target display condition;
and determining updated target live broadcast pendant parameters associated with each to-be-processed live broadcast room account in the third class live broadcast room set according to the updated target live broadcast data associated with each to-be-processed live broadcast room account in the third class live broadcast room set.
Optionally, the apparatus further comprises a further acquisition module 509 configured to:
Acquiring at least one of global parameters and target style parameters, wherein the global parameters are parameters contained in all live broadcast pendants associated with a current live broadcast scene, and the target style parameters are parameters unique to the live broadcast pendants displayed when target display conditions are met;
determining target live broadcast pendant parameters according to target live broadcast data, including:
and determining at least one of the global parameter and the target style parameter and the target live broadcast data as target live broadcast pendant parameters.
Optionally, the parsing module 502 is configured to:
determining a data source keyword in a target distribution rule according to an analysis rule of the distribution rule to obtain at least one target data source identifier;
and determining the display condition keywords in the target distribution rule according to the analysis rule of the distribution rule to obtain the target display condition associated with the target distribution rule.
The specific manner in which the various modules perform the operations in the apparatus of the above embodiments have been described in detail in connection with the embodiments of the method, and will not be described in detail herein.
The exemplary embodiments of the present disclosure also provide an electronic device, which may be a server. The electronic device is described below with reference to fig. 6. It should be understood that the electronic device is described below with reference to fig. 6. It should be understood that the electronic device 600 shown in fig. 6 is merely an example and should not be construed to limit the functionality and scope of use of embodiments of the present disclosure in any way.
As shown in fig. 6, the electronic device 600 is in the form of a general purpose computing device. Components of electronic device 600 may include, but are not limited to: at least one processing unit 610, at least one memory unit 620, a bus 630 that connects the different system components, including the memory unit 620 and the processing unit 610.
Wherein the storage unit stores program code that is executable by the processing unit 610 such that the processing unit 610 performs steps according to various exemplary embodiments of the present invention described in the above-described "exemplary methods" section of the present specification. For example, the processing unit 610 may perform method steps as shown in fig. 2 or fig. 4, etc.
The storage unit 620 may include volatile storage units such as a Random Access Memory (RAM) 621 and/or a cache memory 622, and may further include a Read Only Memory (ROM) 623.
The storage unit 620 may also include a program/utility 624 having a set (at least one) of program modules 625, such program modules 625 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each or some combination of which may include an implementation of a network environment.
Bus 630 may include a data bus, an address bus, and a control bus.
The electronic device 600 may also communicate with one or more external devices 700 (e.g., keyboard, pointing device, bluetooth device, etc.) via an input/output (I/O) interface 640. The electronic device 600 may also communicate with one or more networks such as a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network such as the internet via a network adapter 680. As shown, network adapter 680 communicates with other modules of electronic device 600 over bus 630. It should be appreciated that although not shown, other hardware and/or software modules may be used in connection with electronic device 600, including, but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, data backup storage systems, and the like.
It should be noted that although in the above detailed description several modules or units of a device for action execution are mentioned, such a division is not mandatory. Indeed, the features and functionality of two or more modules or units described above may be embodied in one module or unit in accordance with exemplary embodiments of the present disclosure. Conversely, the features and functions of one module or unit described above may be further divided into a plurality of modules or units to be embodied.
Those skilled in the art will appreciate that the various aspects of the present disclosure may be implemented as a system, method, or program product. Accordingly, various aspects of the disclosure may be embodied in the following forms, namely: an entirely hardware embodiment, an entirely software embodiment (including firmware, micro-code, etc.) or an embodiment combining hardware and software aspects may be referred to herein as a "circuit," module "or" system. 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 adaptations, uses, or adaptations of the disclosure following the general 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.
In addition, the present disclosure also provides a computer-readable storage medium, which when executed by a processor of an electronic device, enables the electronic device to perform the data distribution method as provided by the above-described embodiments.
In addition, the present disclosure also provides a computer program product comprising computer instructions which, when run on an electronic device, cause the electronic device to perform the data distribution method as provided by the above embodiments.
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 application is intended to cover any adaptations, 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.

Claims (10)

1. A data distribution method, comprising:
acquiring a live broadcast pendant distribution rule set associated with a current live broadcast scene;
analyzing a target distribution rule in the live broadcast pendant distribution rule set to obtain at least one target data source identifier and a target display condition associated with the target distribution rule, wherein the data source identifier is a live broadcast data identifier associated with a live broadcast participation form;
If the target live broadcast data associated with the account number of the live broadcasting room to be processed meets the target display condition, determining target live broadcast pendant parameters according to the target live broadcast data, wherein the target live broadcast data is the live broadcast data corresponding to the target data source identifier;
and sending the target live broadcast pendant parameters to a live broadcast terminal corresponding to the account number of the live broadcast room to be processed.
2. The data distribution method according to claim 1, characterized in that the method further comprises:
if the target live broadcast data associated with the account number of the live broadcasting room to be processed does not meet the target display condition, determining an updated live broadcast pendant distribution rule set, wherein the updated live broadcast pendant distribution rule set does not comprise the target distribution rule;
analyzing an updated target distribution rule in the updated live pendant distribution rule set to obtain at least one updated target data source identifier and updated target display conditions associated with the updated target distribution rule;
if the updated target live broadcast data associated with the account number of the live broadcasting room to be processed meets the updated target display condition, determining updated target live broadcast pendant parameters according to the updated target live broadcast data, wherein the updated target live broadcast data is live broadcast data corresponding to the updated target data source identifier;
And sending the updated target live broadcast pendant parameters to a live broadcast terminal corresponding to the account number of the live broadcast room to be processed.
3. The data distribution method according to claim 2, wherein after parsing a target distribution rule in the set of live pendant distribution rules to obtain at least one target data source identifier and a target display condition associated with the target distribution rule, the method further comprises:
acquiring the target live broadcast data associated with the account number of the live broadcasting room to be processed;
after parsing the updated target distribution rule in the updated live pendant distribution rule set to obtain at least one updated target data source identifier and an updated target display condition associated with the updated target distribution rule, the method further includes:
and if the target data source identification is determined to be the same as the updated target data source identification, determining the target live broadcast data as updated target live broadcast data associated with the account of the live broadcasting room to be processed.
4. The data distribution method according to claim 1, wherein the number of the live-room accounts to be processed includes a plurality of, and the determining, if it is determined that the target live-broadcast data associated with the live-room accounts to be processed satisfies the target display condition, the target live-broadcast pendant parameter according to the target live-broadcast data includes:
Traversing each live broadcasting room account to be processed, and if the target live broadcasting data associated with the live broadcasting room account to be processed is determined to meet the target display condition, adding the live broadcasting room account to be processed to a first class live broadcasting room set;
and determining target live broadcast pendant parameters associated with each to-be-processed live broadcast room account in the first class live broadcast room set according to target live broadcast data associated with each to-be-processed live broadcast room account in the first class live broadcast room set.
5. The data distribution method according to claim 4, characterized in that the method further comprises:
if the target live broadcast data associated with the live broadcast room account to be processed does not meet the target display condition, adding the live broadcast room account to be processed to a second class live broadcast room set;
analyzing an updated target distribution rule in the updated live pendant distribution rule set to obtain at least one updated target data source identifier and updated target display conditions associated with the updated target distribution rule;
traversing each live-broadcasting-room account in the second-class live-broadcasting-room set, and adding the live-broadcasting-room account in the second-class live-broadcasting-room set to a third-class live-broadcasting-room set if updated target live-broadcasting data associated with the live-broadcasting-room account in the second-class live-broadcasting-room set is determined to meet the updated target display condition;
And determining updated target live broadcast pendant parameters associated with each to-be-processed live broadcast room account in the third class live broadcast room set according to the updated target live broadcast data associated with each to-be-processed live broadcast room account in the third class live broadcast room set.
6. The data distribution method according to claim 1, characterized in that the method further comprises:
acquiring at least one of global parameters and target style parameters, wherein the global parameters are parameters contained in all live broadcast pendants associated with the current live broadcast scene, and the target style parameters are parameters unique to the live broadcast pendants displayed when the target display conditions are met;
the determining the target live broadcast pendant parameter according to the target live broadcast data comprises the following steps:
and determining at least one of the global parameter and the target style parameter and the target live broadcast data as the target live broadcast pendant parameter.
7. The data distribution method according to claim 1, wherein said parsing a target distribution rule in the live pendant distribution rule set to obtain at least one target data source identifier and a target display condition associated with the target distribution rule includes:
Determining a data source keyword in the target distribution rule according to the analysis rule of the distribution rule to obtain at least one target data source identifier;
and determining display condition keywords in the target distribution rule according to the analysis rule of the distribution rule to obtain target display conditions associated with the target distribution rule.
8. A data distribution apparatus, comprising:
the acquisition module is configured to acquire a live broadcast pendant distribution rule set associated with a current live broadcast scene;
the analyzing module is configured to analyze the target distribution rules in the live broadcast pendant distribution rule set to obtain at least one target data source identifier and target display conditions associated with the target distribution rules, wherein the data source identifier is a live broadcast data identifier associated with a live broadcast participation form;
the determining module is configured to determine target live broadcast pendant parameters according to target live broadcast data if the target live broadcast data associated with the account of the live broadcast room to be processed meets the target display condition, wherein the target live broadcast data is live broadcast data corresponding to the target data source identifier;
and the sending module is configured to send the target live broadcast pendant parameters to a live broadcast terminal corresponding to the account number of the live broadcast room to be processed.
9. 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 data distribution method of any of claims 1 to 7.
10. A computer readable storage medium, characterized in that instructions in the computer readable storage medium, when executed by a processor of an electronic device, enable the electronic device to perform the data distribution method of any one of claims 1 to 7.
CN202310101544.6A 2023-01-28 2023-01-28 Data distribution method, device, equipment and medium Pending CN116248908A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310101544.6A CN116248908A (en) 2023-01-28 2023-01-28 Data distribution method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310101544.6A CN116248908A (en) 2023-01-28 2023-01-28 Data distribution method, device, equipment and medium

Publications (1)

Publication Number Publication Date
CN116248908A true CN116248908A (en) 2023-06-09

Family

ID=86632572

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310101544.6A Pending CN116248908A (en) 2023-01-28 2023-01-28 Data distribution method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN116248908A (en)

Similar Documents

Publication Publication Date Title
JP7397094B2 (en) Resource configuration method, resource configuration device, computer equipment, and computer program
CN112527848B (en) Report data query method, device and system based on multiple data sources and storage medium
JP2022021294A (en) Method and device for user communication in live broadcasting room, electronic apparatus, storage medium and computer program
CN114675987A (en) Cache data processing method and device, computer equipment and storage medium
CN113688002A (en) Log collection method and related device
US8095489B2 (en) System and method of real-time group intelligence creation with mass volume of web-based thinking grids
CN108847948B (en) Method and device for creating activity group, medium and computing equipment
CN113254217A (en) Service message processing method and device and electronic equipment
CN111372089B (en) Method, device and storage medium for updating activity list
CN116248908A (en) Data distribution method, device, equipment and medium
CN108304245B (en) Interface processing method and device, computer readable medium and electronic equipment
CN114928566B (en) Function test method and device of client, storage medium and electronic equipment
CN116089048A (en) Service processing method and device, storage medium and electronic equipment
US11714699B2 (en) In-app failure intelligent data collection and analysis
CN113204425B (en) Method, device, electronic equipment and storage medium for process management internal thread
CN111625250B (en) Application updating method and device, storage medium and electronic equipment
CN114429145A (en) Entry translation method and device, electronic equipment and computer readable storage medium
CN113568687A (en) Method for displaying Web page, related equipment and computer readable storage medium
CN113688334A (en) Content display method and device and computer readable storage medium
CN115297336B (en) Task processing method and device, electronic equipment, storage medium and program product
CN111352832B (en) Method and device for automatically testing page
CN111258560B (en) Data storage device, system and method
CN117085334B (en) Online script killing template construction method and online script killing operation method and device
CN112748980B (en) Message pushing method, device, equipment and computer readable storage medium
US20240169448A1 (en) High performance computing architectures for work of art competitions

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