CN109391838B - Broadcast processing method and device and computer readable storage medium - Google Patents

Broadcast processing method and device and computer readable storage medium Download PDF

Info

Publication number
CN109391838B
CN109391838B CN201710654609.4A CN201710654609A CN109391838B CN 109391838 B CN109391838 B CN 109391838B CN 201710654609 A CN201710654609 A CN 201710654609A CN 109391838 B CN109391838 B CN 109391838B
Authority
CN
China
Prior art keywords
broadcast
instruction
data
obtaining
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.)
Active
Application number
CN201710654609.4A
Other languages
Chinese (zh)
Other versions
CN109391838A (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.)
Wuhan Douyu Network Technology Co Ltd
Original Assignee
Wuhan Douyu Network 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 Wuhan Douyu Network Technology Co Ltd filed Critical Wuhan Douyu Network Technology Co Ltd
Priority to CN201710654609.4A priority Critical patent/CN109391838B/en
Publication of CN109391838A publication Critical patent/CN109391838A/en
Application granted granted Critical
Publication of CN109391838B publication Critical patent/CN109391838B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/435Processing of additional data, e.g. decrypting of additional data, reconstructing software from modules extracted from the transport stream
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/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/47End-user applications
    • H04N21/475End-user interface for inputting end-user data, e.g. personal identification number [PIN], preference data

Abstract

The invention provides a broadcast processing method and a broadcast processing device, which relate to the technical field of information processing, and the method comprises the following steps: obtaining a data model of a first broadcast, wherein the data model comprises attribute information of the broadcast; obtaining content information of the first broadcast; matching the content information into the attribute information to form first data; obtaining a broadcast type of the first broadcast; matching the first data into the first broadcast type, wherein the first broadcast type comprises a first instruction; operating on the first data through the first instruction. The technical problems that the broadcast coding in the prior art is complex, the development efficiency of coding personnel is greatly reduced, the code amount is increased, and the later maintenance is not facilitated are solved. The technical effects of releasing research personnel, reducing development codes, improving development efficiency and reducing the production difficulty of broadcasting are achieved.

Description

Broadcast processing method and device and computer readable storage medium
Technical Field
The present invention relates to the field of information processing technologies, and in particular, to a method and an apparatus for processing a broadcast.
Background
In the existing live broadcast field, basically all live broadcast platforms adopt broadcasting in order to improve the information propagation ecology. Broadcast is a very important link in the field of live broadcast, then, with the iteration of services and the progress of business activities, broadcast types will be more and more, and a new broadcast type is added each time, and research and development personnel need to make a set of scheme for each broadcast.
The existing technical scheme is to make a separate broadcast resource loading class, a separate view and a separate broadcast playing class for each broadcast.
Because the broadcast coding in the prior art is complicated, the development efficiency of coding personnel is greatly reduced, the code amount is increased, and the later maintenance is not facilitated.
Disclosure of Invention
The embodiment of the invention provides a broadcast processing method and a broadcast processing device, and solves the technical problems that in the prior art, broadcast coding is complicated, the development efficiency of coding personnel is greatly reduced, the code amount is increased, and later maintenance is not facilitated.
In view of the foregoing problems, embodiments of the present application are proposed to provide a processing method and apparatus for broadcasting.
In a first aspect, the present invention provides a method for processing a broadcast, where the method includes: obtaining a data model of a first broadcast, wherein the data model comprises attribute information of the broadcast; obtaining content information of the first broadcast; matching the content information into the attribute information to form first data; obtaining a broadcast type of the first broadcast; matching the first data into the first broadcast type, wherein the first broadcast type comprises a first instruction; operating on the first data through the first instruction.
Preferably, the method further comprises: the first broadcast type matches the first data model, and/or the first broadcast type matches the content information, and/or the first data type matches the content information.
Preferably, the first instruction includes: judging whether the first broadcast is positioned at the head of a broadcast queue; if the first broadcast is positioned at the head of the broadcast queue, playing the first broadcast according to the first instruction; and if the first broadcast is not positioned at the head of the broadcast queue, the first broadcast is delayed to be played according to the first instruction.
Preferably, the method further comprises: detecting whether the first broadcast is played completely, and if the first broadcast is played completely, obtaining a second instruction, wherein the first broadcast type comprises the second instruction, and the second instruction is used for deleting the broadcast; and deleting the first broadcast according to the second instruction.
Preferably, the data model, the content information and the broadcast type belong to a first broadcast model, wherein the first broadcast model has a first number, wherein before obtaining the data model of the first broadcast, the method further comprises: obtaining an application environment of a flash player; and calling a first broadcast model by the flash player according to the first number.
Preferably, the method further comprises: and the flash player loads the first broadcast model in an asynchronous loading mode.
Preferably, the method further comprises: and judging whether the tail picture of the first data is misplaced, if so, stretching the middle bitmap of the first data.
In a second aspect, the present invention provides a broadcast processing apparatus, including:
a first obtaining unit configured to obtain a data model of a first broadcast, wherein the data model includes attribute information of the broadcast;
a second obtaining unit configured to obtain content information of the first broadcast;
the first matching unit is used for matching the content information into the attribute information to form first data;
a third obtaining unit configured to obtain a broadcast type of the first broadcast;
a second matching unit for matching the first data into the first broadcast type, wherein the first broadcast type includes a first instruction;
a first operation unit for operating on the first data by the first instruction.
Preferably, the apparatus further comprises:
a third matching unit for matching the first broadcast type with the first data model, and/or,
a fourth matching unit for matching the first broadcast type and the content information, and/or,
a fifth matching unit for matching the first data type with the content information.
Preferably, the first instruction includes:
the first judging unit is used for judging whether the first broadcast is positioned at the head of a broadcast queue;
the first playing unit is used for playing the first broadcast according to the first instruction if the first broadcast is positioned at the head of the broadcast queue;
and the second playing unit is used for playing the first broadcast in a delayed manner according to the first instruction if the first broadcast is not positioned at the head of the broadcast queue.
Preferably, the apparatus further comprises:
a first detecting unit for detecting whether the first broadcast is played completely,
a fourth obtaining unit, configured to obtain a second instruction if the first broadcast is played completely, where the first broadcast type includes the second instruction, and the second instruction is used to delete a broadcast;
a first deleting unit, configured to delete the first broadcast according to the second instruction.
Preferably, the data model, the content information, and the broadcast type belong to a first broadcast model, wherein the first broadcast model has a first number, and before obtaining the data model of the first broadcast, the apparatus further includes:
a fifth obtaining unit, configured to obtain an application environment of a flash player;
and the first calling unit is used for calling a first broadcast model by the flash player according to the first serial number.
Preferably, the apparatus further comprises:
the first loading unit is used for loading the first broadcast model by the flash player in an asynchronous loading mode.
Preferably, the apparatus further comprises:
a first judging unit for judging whether the tail picture of the first data is misplaced,
and a first stretching unit for performing stretching processing on the intermediate bitmap of the first data if the position is misaligned.
In a third aspect, the present invention provides a computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of: obtaining a data model of a first broadcast, wherein the data model comprises attribute information of the broadcast; obtaining content information of the first broadcast; matching the content information into the attribute information to form first data; obtaining a broadcast type of the first broadcast; matching the first data into the first broadcast type, wherein the first broadcast type comprises a first instruction; operating on the first data through the first instruction.
In a fourth aspect, the present invention provides a processing apparatus for broadcasting, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the following steps: obtaining a data model of a first broadcast, wherein the data model comprises attribute information of the broadcast; obtaining content information of the first broadcast; matching the content information into the attribute information to form first data; obtaining a broadcast type of the first broadcast; matching the first data into the first broadcast type, wherein the first broadcast type comprises a first instruction; operating on the first data through the first instruction.
One or more technical solutions in the embodiments of the present application have at least one or more of the following technical effects:
1. according to the broadcast processing method and device provided by the embodiment of the application, a data model of a first broadcast is obtained, wherein the data model comprises attribute information of the broadcast; obtaining content information of the first broadcast; matching the content information into the attribute information to form first data; obtaining a broadcast type of the first broadcast; matching the first data into the first broadcast type, wherein the first broadcast type comprises a first instruction; operating on the first data through the first instruction. The technical problems that the broadcast coding in the prior art is complex, the development efficiency of coding personnel is greatly reduced, the code amount is increased, and the later maintenance is not facilitated are solved. The technical effects of releasing research personnel, reducing development codes, improving development efficiency and reducing the production difficulty of broadcasting are achieved.
2. According to the embodiment of the application, whether the tail picture of the first data is misplaced or not is judged, and if the tail picture of the first data is misplaced, stretching processing is carried out on the middle bitmap of the first data. The technical problem of the situation that the tail pictures of the broadcast are staggered due to different lengths of the broadcast texts in the prior art is further solved. The technical effects of stretching the middle pictures in the broadcast and effectively preventing the dislocation of the tail pictures in the broadcast are further achieved.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
Fig. 1 is a flowchart illustrating a broadcast processing method according to an embodiment of the present invention;
FIG. 2 is a schematic structural diagram of a broadcast processing apparatus according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of another broadcast processing apparatus according to an embodiment of the present invention.
Detailed Description
The embodiment of the invention provides a broadcast processing method and a broadcast processing device, which are used for solving the technical problems that in the prior art, broadcast coding is complicated, the development efficiency of coding personnel is greatly reduced, the code amount is increased and later maintenance is not facilitated. The technical scheme provided by the invention has the following general idea:
in the technical scheme of the embodiment of the invention, a data model of a first broadcast is obtained, wherein the data model comprises attribute information of the broadcast; obtaining content information of the first broadcast; matching the content information into the attribute information to form first data; obtaining a broadcast type of the first broadcast; matching the first data into the first broadcast type, wherein the first broadcast type comprises a first instruction; operating on the first data through the first instruction. The technical problems that the broadcast coding in the prior art is complex, the development efficiency of coding personnel is greatly reduced, the code amount is increased, and the later maintenance is not facilitated are solved. The technical effects of releasing research personnel, reducing development codes, improving development efficiency and reducing the production difficulty of broadcasting are achieved.
The technical solutions of the present invention are described in detail below with reference to the drawings and specific embodiments, and it should be understood that the specific features in the embodiments and examples of the present invention are described in detail in the technical solutions of the present application, and are not limited to the technical solutions of the present application, and the technical features in the embodiments and examples of the present application may be combined with each other without conflict.
The term "and/or" herein is merely an association describing an associated object, meaning that three relationships may exist, e.g., a and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.
Example one
Fig. 1 is a flowchart illustrating a broadcast processing method according to an embodiment of the present invention. As shown in fig. 1, the method includes:
step 110: obtaining a data model of a first broadcast, wherein the data model comprises attribute information of the first broadcast;
specifically, in the live broadcast software, in order to improve the ecological propagation of information, messages or news are broadcast all the time, for example, a high-value gift is broadcast to a certain owner by a fish platform user, and at this time, the broadcast all the time improves the virtual honor of a gift-sending user, exposes a live broadcast room of the gift-sending owner, increases the exposure rate of the gift-sending owner, and enables more users to have an entrance for recognizing the owner, or some types of broadcasts are used in some commercial activities to improve the commercial exposure rate, and the like. The data model includes attribute information of the first broadcast, for example, the attribute information may include a broadcast resource address (swfUrl), a broadcast resource class name (className), whether the broadcast can click to skip (canClick), a click to skip room number (RoomID), whether click to skip requires dotting (clikNedAddLog), click to skip dotting data (clikAddLogData), whether show time dotting (ShowNedAddLog), whether show time dotting data (ShowAddLogData), whether queue broadcast (isQieen), a Y coordinate (BCY) of the broadcast, a play speed (speed) of the broadcast resource (speed), a designation (BCID) of the broadcast resource, a broadcast content data array (BCcontentList), and the like.
Step 120: obtaining content information of the first broadcast;
specifically, the content information of the first broadcast is the content that the first broadcast needs to be broadcast, for example, XX sends an airplane in YY live broadcasting, and one text in one broadcast may use several different styles, for example, the font color of "XX" and "YY" is red, and the font color of "XX" and "YY" sends an airplane in "and" live broadcasting is white, so for the first broadcast, the content information includes information such as a font color, a font size, a font style, and a content, that is, the content information is implemented by the following codes: bccontent List { { Color: red size18 content: xx font: song body }, { Color1: black size 1: 16 content 1: at font 1: microsoft elegant Black }, { Color2: Red siz: 2: 18 content: 2: YY font 2: body of Song }, { Color3: red size 3: 16 content: 3: the live broadcast room sent an airplane font 3: microsoft elegant black } }.
Step 130: matching the content information into the attribute information to form first data;
specifically, the specific content information of the first broadcast is matched into the frame of the attribute information to form first data, and the specific style, content and the like of the first broadcast can be obtained through the first data, that is, the first data contains all the characteristics of the first broadcast.
Step 140: obtaining a broadcast type of the first broadcast;
specifically, the same broadcast type includes the same basic attributes, i.e., attributes that the same type of broadcast has, e.g., the font size, broadcast color, and broadcast resource name of all broadcasts of the same type are the same. And obtaining the broadcast type of the first broadcast, wherein the broadcast type comprises attribute information matched with the first broadcast.
Step 150: matching the first data into the first broadcast type, wherein the broadcast type of the first broadcast comprises a first instruction;
further, the data model, the content information, and the broadcast type belong to a first broadcast model, wherein the first broadcast model has a first number, and before obtaining the data model of the first broadcast, the method further includes: obtaining an application environment of a flash player; and calling a first broadcast model by the flash player according to the first number.
Specifically, the first broadcast type has the first number, that is, according to an application environment of a flash player, a broadcast type adapted to the application environment is found and numbered, so that after the application environment of the flash player is obtained, according to the first number, the first broadcast model adapted to the application environment is found, the first broadcast type is matched with the first data, the first broadcast is obtained, and when the first data is matched with the first broadcast type, the first instruction controls the first broadcast to be played.
Further, the method further comprises: and the flash player loads the first broadcast model in an asynchronous loading mode.
Specifically, the load Moder Data method for loading asynchronous Data models primarily uses instantiating a system loader and calling its load method to load the asynchronous Data model file. The loaded asynchronous model file is assumed to be loader Data, a system level json decode method can be called to convert the loaded asynchronous model file into a common object Data type, and the common object Data type is stored in a Moder Data List array for later use.
Step 160: operating on the first data through the first instruction.
Further, the first instructions include: judging whether the first broadcast is positioned at the head of a broadcast queue; if the first broadcast is positioned at the head of the broadcast queue, playing the first broadcast according to the first instruction; and if the first broadcast is not positioned at the head of the broadcast queue, the first broadcast is delayed to be played according to the first instruction.
Specifically, the first instruction includes a broadcast initialization completion callback method create Complet, the above method is used to identify whether a new broadcast has been successfully created, determine whether the first broadcast is at the head of the broadcast queue, i.e. determine whether there are other broadcasts in front of the first broadcast that are playing, if the first broadcast is not at the head of the broadcast queue, using set Time OUT for delay processing, Time OUT Complete as a delay completion calling method, clearing the set Time OUT delayer in the Time Out Complete, judging whether the length of Moder Data List is greater than 0, if the length of Moder Data List is greater than 0, it is identified that other broadcasts are being played before the first broadcast, set Time OUT is called for delay processing, and when the other broadcasts are played completely, calling a time Out Complete delay calling method to play the first broadcast. If the first broadcast is at the head of the broadcast queue, in other words, there is no other broadcast in front of the first broadcast that is playing or waiting to be played, the first broadcast can be directly played.
Further, the method further comprises: the first broadcast type matches the first data model, and/or the first broadcast type matches the content information, and/or the first data type matches the content information.
Specifically, the first broadcast type, the first data model and the content information are matched with one another, so that the direct application effect is achieved, and therefore, when a research and development worker develops a new broadcast, the technical effects of greatly reducing the workload, reducing the development difficulty and improving the development efficiency can be achieved.
Further, the method further comprises: detecting whether the first broadcast is played completely, and if the first broadcast is played completely, obtaining a second instruction, wherein the first broadcast type comprises the second instruction, and the second instruction is used for deleting the broadcast; and deleting the first broadcast according to the second instruction.
Specifically, the second instruction is used to delete the broadcast, that is, delete the broadcast after the broadcast is detected to be played. And the broadcast type of the first broadcast has the second instruction, so that the broadcast is not required to be repeatedly set every time the broadcast is newly developed, and the development efficiency is improved.
Further, the method further comprises: and judging whether the tail picture of the first data is misplaced, if so, stretching the middle bitmap of the first data.
Specifically, because the broadcast text contents are different, the broadcast text lengths are different, the situation of picture dislocation of the tail part of the broadcast can occur, and the tail part is newly laid out by stretching the middle bitmap of the broadcast, so that the picture dislocation phenomenon is eliminated, and the method specifically comprises the following steps:
frontBg.width=(txt.x-frontBg.x+txt.textWidth+ data.frontBgdeviation);
afterBg.x=frontBg.x+frontBg.width+data.afterBgdeviation;
frontBg is the broadcast intermediate bitmap and afferbg is the tail bitmap.
Example 2
Based on the same inventive concept as the broadcast processing method in the foregoing embodiment, the present invention further provides a broadcast processing apparatus, as shown in fig. 2, including:
a first obtaining unit 11, where the first obtaining unit 11 is configured to obtain a data model of a first broadcast, where the data model includes attribute information of the broadcast;
a second obtaining unit 12, the second obtaining unit 12 being configured to obtain content information of the first broadcast;
a first matching unit 13, where the first matching unit 13 is configured to match the content information into the attribute information to form first data;
a third obtaining unit 14, wherein the third obtaining unit 14 is configured to obtain a broadcast type of the first broadcast;
a second matching unit 15, said second matching unit 15 being configured to match said first data into said first broadcast type, wherein said first broadcast type comprises a first instruction;
a first operation unit 16, wherein the first operation unit 16 is used for operating the first data through the first instruction.
Preferably, the apparatus further comprises:
a third matching unit for matching the first broadcast type with the first data model, and/or,
a fourth matching unit for matching the first broadcast type and the content information, and/or,
a fifth matching unit for matching the first data type with the content information.
Preferably, the first instruction includes:
the first judging unit is used for judging whether the first broadcast is positioned at the head of a broadcast queue;
the first playing unit is used for playing the first broadcast according to the first instruction if the first broadcast is positioned at the head of the broadcast queue;
and the second playing unit is used for playing the first broadcast in a delayed manner according to the first instruction if the first broadcast is not positioned at the head of the broadcast queue.
Preferably, the apparatus further comprises:
a first detecting unit for detecting whether the first broadcast is played completely,
a fourth obtaining unit, configured to obtain a second instruction if the first broadcast is played completely, where the first broadcast type includes the second instruction, and the second instruction is used to delete a broadcast;
a first deleting unit, configured to delete the first broadcast according to the second instruction.
Preferably, the data model, the content information, and the broadcast type belong to a first broadcast model, wherein the first broadcast model has a first number, and before obtaining the data model of the first broadcast, the apparatus further includes:
a fifth obtaining unit, configured to obtain an application environment of a flash player;
and the first calling unit is used for calling a first broadcast model by the flash player according to the first serial number.
Preferably, the apparatus further comprises:
the first loading unit is used for loading the first broadcast model by the flash player in an asynchronous loading mode.
Preferably, the apparatus further comprises:
a first judging unit for judging whether the tail picture of the first data is misplaced,
and a first stretching unit for performing stretching processing on the intermediate bitmap of the first data if the position is misaligned.
Various changes and specific examples of the broadcast processing method in embodiment 1 of fig. 1 are also applicable to the broadcast processing apparatus of this embodiment, and a person skilled in the art can clearly know the implementation method of the broadcast processing apparatus in this embodiment through the foregoing detailed description of the broadcast processing method, so that details are not described here for the sake of brevity of the description.
Example 3
Based on the same inventive concept as the processing method of one broadcast in the foregoing embodiments, the present invention also provides a computer-readable storage medium having stored thereon a computer program that, when executed by a processor, implements the steps of any one of the foregoing processing methods of one broadcast.
Where in fig. 3 a bus architecture (represented by bus 300), bus 300 may include any number of interconnected buses and bridges, bus 300 linking together various circuits including one or more processors, represented by processor 302, and memory, represented by memory 304. The bus 300 may also link together various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. A bus interface 306 provides an interface between the bus 300 and the receiver 301 and transmitter 303. The receiver 301 and the transmitter 303 may be the same element, i.e., a transceiver, providing a means for communicating with various other apparatus over a transmission medium.
The processor 302 is responsible for managing the bus 300 and general processing, and the memory 304 may be used for storing data used by the processor 302 in performing operations.
One or more technical solutions in the embodiments of the present application have at least one or more of the following technical effects:
1. according to the broadcast processing method and device provided by the embodiment of the application, a data model of a first broadcast is obtained, wherein the data model comprises attribute information of the broadcast; obtaining content information of the first broadcast; matching the content information into the attribute information to form first data; obtaining a broadcast type of the first broadcast; matching the first data into the first broadcast type, wherein the first broadcast type comprises a first instruction; operating on the first data through the first instruction. The technical problems that the broadcast coding in the prior art is complex, the development efficiency of coding personnel is greatly reduced, the code amount is increased, and the later maintenance is not facilitated are solved. The technical effects of releasing research personnel, reducing development codes, improving development efficiency and reducing the production difficulty of broadcasting are achieved.
2. According to the embodiment of the application, whether the tail picture of the first data is misplaced or not is judged, and if the tail picture of the first data is misplaced, stretching processing is carried out on the middle bitmap of the first data. The technical problem of the situation that the tail pictures of the broadcast are staggered due to different lengths of the broadcast texts in the prior art is further solved. The technical effects of stretching the middle pictures in the broadcast and effectively preventing the dislocation of the tail pictures in the broadcast are further achieved.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (9)

1. A method for processing a broadcast, the method comprising:
obtaining a data model of a first broadcast, wherein the data model comprises attribute information of the broadcast;
obtaining content information of the first broadcast;
matching the content information into the attribute information to form first data;
obtaining a broadcast type of the first broadcast;
matching the first data into the first broadcast type, wherein the first broadcast type comprises a first instruction;
operating on the first broadcast by the first instruction;
wherein the first instruction comprises:
judging whether the first broadcast is positioned at the head of a broadcast queue;
if the first broadcast is positioned at the head of the broadcast queue, playing the first broadcast according to the first instruction;
and if the first broadcast is not positioned at the head of the broadcast queue, the first broadcast is delayed to be played according to the first instruction.
2. The method of claim 1, wherein the method further comprises:
the first broadcast type and the first data model match, and/or,
the first broadcast type and the content information are matched, and/or,
the first data model and the content information are matched.
3. The method of claim 1, wherein the method further comprises:
detecting whether the first broadcast is played completely,
if the first broadcast is played completely, obtaining a second instruction, wherein the first broadcast type comprises the second instruction, and the second instruction is used for deleting the broadcast;
and deleting the first broadcast according to the second instruction.
4. The method of claim 1, wherein the data model, the content information, the broadcast type belong to a first broadcast model, wherein the first broadcast model has a first number, wherein prior to obtaining the data model of the first broadcast, the method further comprises:
obtaining an application environment of a flash player;
and calling a first broadcast model by the flash player according to the first number.
5. The method of claim 4, wherein the method further comprises:
and the flash player loads the first broadcast model in an asynchronous loading mode.
6. The method of claim 1, wherein the method further comprises:
judging whether the tail picture of the first data is misplaced,
if the position is staggered, stretching processing is carried out on the intermediate bitmap of the first data.
7. An apparatus for processing a broadcast, the apparatus comprising:
a first obtaining unit configured to obtain a data model of a first broadcast, wherein the data model includes attribute information of the broadcast;
a second obtaining unit configured to obtain content information of the first broadcast;
the first matching unit is used for matching the content information into the attribute information to form first data;
a third obtaining unit configured to obtain a broadcast type of the first broadcast;
a second matching unit for matching the first data into the first broadcast type, wherein the first broadcast type includes a first instruction;
a first operation unit for operating the first data by the first instruction;
wherein the first instruction comprises:
the first judging unit is used for judging whether the first broadcast is positioned at the head of a broadcast queue;
the first playing unit is used for playing the first broadcast according to the first instruction if the first broadcast is positioned at the head of the broadcast queue;
and the second playing unit is used for playing the first broadcast in a delayed manner according to the first instruction if the first broadcast is not positioned at the head of the broadcast queue.
8. A computer-readable storage medium, on which a computer program is stored, which program, when executed by a processor, carries out the steps of:
obtaining a data model of a first broadcast, wherein the data model comprises attribute information of the broadcast;
obtaining content information of the first broadcast;
matching the content information into the attribute information to form first data;
obtaining a broadcast type of the first broadcast;
matching the first data into the first broadcast type, wherein the first broadcast type comprises a first instruction;
operating on the first data through the first instruction;
the first instructions include:
judging whether the first broadcast is positioned at the head of a broadcast queue;
if the first broadcast is positioned at the head of the broadcast queue, playing the first broadcast according to the first instruction;
and if the first broadcast is not positioned at the head of the broadcast queue, the first broadcast is delayed to be played according to the first instruction.
9. A processing apparatus for broadcasting comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor executes the program to perform the steps of:
obtaining a data model of a first broadcast, wherein the data model comprises attribute information of the broadcast;
obtaining content information of the first broadcast;
matching the content information into the attribute information to form first data;
obtaining a broadcast type of the first broadcast;
matching the first data into the first broadcast type, wherein the first broadcast type comprises a first instruction;
operating on the first data through the first instruction;
wherein the first instruction comprises:
judging whether the first broadcast is positioned at the head of a broadcast queue;
if the first broadcast is positioned at the head of the broadcast queue, playing the first broadcast according to the first instruction;
and if the first broadcast is not positioned at the head of the broadcast queue, the first broadcast is delayed to be played according to the first instruction.
CN201710654609.4A 2017-08-03 2017-08-03 Broadcast processing method and device and computer readable storage medium Active CN109391838B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710654609.4A CN109391838B (en) 2017-08-03 2017-08-03 Broadcast processing method and device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710654609.4A CN109391838B (en) 2017-08-03 2017-08-03 Broadcast processing method and device and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN109391838A CN109391838A (en) 2019-02-26
CN109391838B true CN109391838B (en) 2021-05-28

Family

ID=65413799

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710654609.4A Active CN109391838B (en) 2017-08-03 2017-08-03 Broadcast processing method and device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN109391838B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109919213A (en) * 2019-02-27 2019-06-21 上海六界信息技术有限公司 Determination method, apparatus, equipment and the storage medium of type is broadcast live
CN113347467B (en) * 2021-06-01 2022-07-05 武汉斗鱼鱼乐网络科技有限公司 Loudspeaker information adjusting method and device, server and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105406974A (en) * 2015-12-15 2016-03-16 武汉斗鱼网络科技有限公司 Method and system for increasing popularity value in chat room
KR20170008180A (en) * 2015-07-13 2017-01-23 (주)보성전자 Module type broadcast equipment integrated control system and its control method
CN106846040A (en) * 2016-12-22 2017-06-13 武汉斗鱼网络科技有限公司 Virtual present display methods and system in a kind of direct broadcasting room
CN106911937A (en) * 2017-03-31 2017-06-30 武汉斗鱼网络科技有限公司 The collocation method and system of a kind of live middle present banner background colour
CN106973319A (en) * 2017-03-28 2017-07-21 武汉斗鱼网络科技有限公司 A kind of virtual gift display method and system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9374183B2 (en) * 2011-08-30 2016-06-21 Iheartmedia Management Services, Inc. Broadcast source identification based on matching via bit count
CN106210857A (en) * 2016-08-03 2016-12-07 北京金山安全软件有限公司 Message display method and device and electronic equipment
CN106790043B (en) * 2016-12-17 2020-12-25 北京小米移动软件有限公司 Method and device for sending message in live broadcast application

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20170008180A (en) * 2015-07-13 2017-01-23 (주)보성전자 Module type broadcast equipment integrated control system and its control method
CN105406974A (en) * 2015-12-15 2016-03-16 武汉斗鱼网络科技有限公司 Method and system for increasing popularity value in chat room
CN106846040A (en) * 2016-12-22 2017-06-13 武汉斗鱼网络科技有限公司 Virtual present display methods and system in a kind of direct broadcasting room
CN106973319A (en) * 2017-03-28 2017-07-21 武汉斗鱼网络科技有限公司 A kind of virtual gift display method and system
CN106911937A (en) * 2017-03-31 2017-06-30 武汉斗鱼网络科技有限公司 The collocation method and system of a kind of live middle present banner background colour

Also Published As

Publication number Publication date
CN109391838A (en) 2019-02-26

Similar Documents

Publication Publication Date Title
WO2017084283A1 (en) Data processing method and apparatus for mobile game
CN110192210A (en) Building and processing are used for the calculating figure of dynamic, structured machine learning model
CN111045655A (en) Page rendering method and device, rendering server and storage medium
JP2017062767A5 (en)
WO2018058811A1 (en) Virtual reality scene loading method and device
CN112988400B (en) Video memory optimization method and device, electronic equipment and readable storage medium
CN112035238A (en) Task scheduling processing method and device, cluster system and readable storage medium
CN111158866A (en) Engine system and rendering method thereof
CN109391838B (en) Broadcast processing method and device and computer readable storage medium
CN107172501A (en) Recommend methods of exhibiting and system in a kind of live room
CN109582904B (en) Published content modification method, device, server, terminal and storage medium
EP3050605B1 (en) A method for event detection in real-time graphic applications
CN107526623A (en) A kind of data processing method and device
CN104052626A (en) Method, device and system for configuring network element data
CN111111201A (en) Skill creating method, skill creating device, skill creating server and skill creating medium based on game
CN112418259A (en) Method for configuring real-time rules based on user behaviors in live broadcast process, computer equipment and readable storage medium
CN111401566A (en) Machine learning training method and system
CN107688582B (en) Resource recommendation model obtaining method and device
CN114385951A (en) Site content management method and device, computer equipment and storage medium
CN113312104A (en) Advertisement conversion method and system based on small program
US9483332B2 (en) Event processing method in stream processing system and stream processing system
WO2017028728A1 (en) Determining method and device for click through rate (ctr)
CN114546424A (en) Application release method, device and equipment
CN110960858B (en) Game resource processing method, device, equipment and storage medium
US20130305219A1 (en) Apparatus and method for providing custom software, and method for software customization

Legal Events

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