CN108462894A - Direct broadcasting room broadcast processing method, device and readable storage medium storing program for executing - Google Patents
Direct broadcasting room broadcast processing method, device and readable storage medium storing program for executing Download PDFInfo
- Publication number
- CN108462894A CN108462894A CN201810276455.4A CN201810276455A CN108462894A CN 108462894 A CN108462894 A CN 108462894A CN 201810276455 A CN201810276455 A CN 201810276455A CN 108462894 A CN108462894 A CN 108462894A
- Authority
- CN
- China
- Prior art keywords
- broadcast
- direct broadcasting
- broadcasting room
- added
- configuration information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/431—Generation of visual interfaces for content selection or interaction; Content or additional data rendering
- H04N21/4312—Generation 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/438—Interfacing the downstream path of the transmission network originating from a server, e.g. retrieving MPEG packets from an IP network
- H04N21/4383—Accessing a communication channel
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/443—OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
- H04N21/4431—OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB characterized by the use of Application Program Interface [API] libraries
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/60—Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client
- H04N21/63—Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
- H04N21/64—Addressing
- H04N21/6405—Multicasting
Abstract
A kind of direct broadcasting room broadcast processing method of offer of the embodiment of the present invention, device and readable storage medium storing program for executing.This method includes:When receiving broadcast addition request, the configuration information added in the acquisition broadcast addition request, the configuration information includes broadcast message, proxy information, broadcast type, the broadcast place direct broadcasting room type of broadcast to be added;The configuration information is configured in broadcast tool-class interface, and judges that the broadcast to be added in the validity of each direct broadcasting room, obtains judging result according to the configuration information;Effectively broadcast is obtained according to the judging result, and the corresponding broadcast of each direct broadcasting room is created in the broadcast tool-class interface;The broadcast of establishment is added on the broadcast channel of corresponding direct broadcasting room, and is shown queuing is carried out to each broadcast in broadcast channel addition current broadcast array.It is not necessarily to distinguish exploitation code in each direct broadcasting room as a result, substantially increases development efficiency.
Description
Technical field
The present invention relates to mobile terminal development field, in particular to a kind of direct broadcasting room broadcast processing method, device and can
Read storage medium.
Background technology
With the fast development of mobile phone mobile terminal, addition broadcast is frequently necessary in APP is broadcast live, conventional addition is wide at present
The scheme broadcast is to receive the message of broadcast by a message recipient first, then parse to this message, after parsing finishes
This message is thrown into direct broadcasting room using the mode of agency.Due to having main broadcaster end and user terminal, generally there are many live streamings of type
Between, corresponding agency agreement is in compliance in each direct broadcasting room, therefore the broadcast needs each added are realized in each direct broadcasting room
Agency agreement thus needs to be required for writing the relevant code of broadcast in each direct broadcasting room, to increase developer's
Workload causes development efficiency low.
Invention content
In order to overcome above-mentioned deficiency in the prior art, the purpose of the present invention is to provide a kind of direct broadcasting rooms to broadcast processing side
Method, device and readable storage medium storing program for executing, to improve development efficiency.
To achieve the goals above, technical solution used in the embodiment of the present invention is as follows:
With reference to first aspect, the embodiment of the present invention provides a kind of direct broadcasting room broadcast processing method, is applied to user terminal, institute
It states and is configured with broadcast tool-class interface in user terminal, the method includes:
When receiving broadcast addition request, the configuration information added in the broadcast addition request, the configuration are obtained
Information includes broadcast message, proxy information, broadcast type, the broadcast place direct broadcasting room type of broadcast to be added;
The configuration information is configured in the broadcast tool-class interface, and is waited for according to described in configuration information judgement
Addition broadcast obtains judging result in the validity of each direct broadcasting room;
Effectively broadcast is obtained according to the judging result, and each direct broadcasting room pair is created in the broadcast tool-class interface
The broadcast answered;
The broadcast of establishment is added on the broadcast channel of corresponding direct broadcasting room, and broadcast channel addition is current wide
It broadcasts and queuing is carried out to each broadcast in array shows.
Optionally, described when receiving broadcast addition request, that is added in the acquisition broadcast addition request matches confidence
The step of breath, including:
Broadcast addition request is parsed, the broadcast message of broadcast to be added is obtained;
Direct broadcasting room type and broadcast type where obtaining proxy information of the broadcast message in message manager, broadcast
Type, with the configuration information added.
Optionally, described that the configuration information is configured in the broadcast tool-class interface, and match confidence according to described
The step of ceasing the validity for judging the broadcast to be added in each direct broadcasting room, obtaining judging result, including:
Obtain proxy information of the configuration information in the broadcast tool-class interface;
Judge whether the proxy information is direct broadcasting room class;
If so, judging whether the broadcast type is direct broadcasting room type;
If so, creating the view to be added broadcasted in corresponding each direct broadcasting room;
Judge whether the broadcast to be added is shielded in the view of corresponding each direct broadcasting room according to the broadcast to be added
It covers;
If so, the judgement broadcast to be added is effective in the direct broadcasting room;
If it is not, then judging that the broadcast to be added is invalid in the direct broadcasting room, the broadcast to be added is abandoned.
Optionally, described that the broadcast of establishment is added on the broadcast channel of corresponding direct broadcasting room and the broadcast is logical
The step of each broadcast is carried out being lined up display in road addition current broadcast array, including:
Create the broadcast channel of each direct broadcasting room;
When the broadcast of establishment being added on the broadcast channel of corresponding direct broadcasting room, and the animation of each broadcast channel being set
Between;
After the animation time for setting up each broadcast channel, each broadcast channel is added into current broadcast array
In, it is shown with carrying out queuing to each broadcast in the broadcast array.
Optionally, the step of animation time of each broadcast channel of setting, including:
The animation time of each broadcast channel is calculated in content-length and broadcast based on each broadcast information of waving.
Optionally, described that the broadcast of establishment is added on the broadcast channel of corresponding direct broadcasting room and the broadcast is logical
After the step of carrying out being lined up display to each broadcast in road addition current broadcast array, the method further includes:
Judge each broadcast with the presence or absence of limitation parameter;
If in the presence of the click event of the broadcast is added, and when the click event for detecting the broadcast occurs that this is wide
Broadcast corresponding direct broadcasting room carry out broadcast redirect.
In conjunction with second aspect, the embodiment of the present invention also provides a kind of direct broadcasting room broadcast processing apparatus, is applied to user terminal,
Include configured with broadcast tool-class interface, described device in the user terminal:
Acquisition module, for when receiving broadcast addition request, obtaining the configuration added in the broadcast addition request
Information, the configuration information include broadcast message, proxy information, broadcast type, the broadcast place direct broadcasting room class of broadcast to be added
Type;
Configuration module, for the configuration information to be configured in the broadcast tool-class interface, and according to the configuration
Information judges that the broadcast to be added in the validity of each direct broadcasting room, obtains judging result;
Creation module for obtaining effectively broadcast according to the judging result, and is created in the broadcast tool-class interface
Build the corresponding broadcast of each direct broadcasting room;
It is lined up display module, the broadcast for that will create is added to the broadcast channel of corresponding direct broadcasting room, and will be described
Queuing is carried out in broadcast channel addition current broadcast array to each broadcast to show.
In conjunction with the third aspect, the embodiment of the present invention also provides a kind of readable storage medium storing program for executing, is deposited in the readable storage medium storing program for executing
Computer program is contained, the computer program, which is performed, realizes above-mentioned direct broadcasting room broadcast processing method.
In terms of existing technologies, the invention has the advantages that:
Direct broadcasting room broadcast processing method, device and readable storage medium storing program for executing provided in an embodiment of the present invention are receiving first
When broadcast addition request, the configuration information added in the broadcast addition request is obtained, the configuration information includes to be added wide
The configuration information is then configured to extensively by broadcast message, proxy information, broadcast type, the broadcast place direct broadcasting room type broadcast
It broadcasts in tool-class interface, and judges that the broadcast to be added in the validity of each direct broadcasting room, obtains according to the configuration information
Judging result then obtains effectively broadcast, and establishment is each straight in the broadcast tool-class interface according to the judging result
The broadcast of establishment is finally added on the broadcast channel of corresponding direct broadcasting room by corresponding broadcast between broadcasting, and the broadcast is logical
Queuing is carried out in road addition current broadcast array to each broadcast to show.As a result, by judging the broadcast to be added each
The validity of direct broadcasting room can will be needed to be dispersed in the logical code that each direct broadcasting room is write and once be completed, while by wide
Broadcasting tool-class interface internal realizes the establishment that multiple direct broadcasting rooms correspond to broadcast, and different broadcast is added to corresponding straight
On broadcast channel between broadcasting, it will need to execute multiple operation originally and once complete, without being opened respectively in each direct broadcasting room
Code is sent out, development efficiency is substantially increased.
Description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be to needed in the embodiment attached
Figure is briefly described, it should be understood that the following drawings illustrates only certain embodiments of the present invention, therefore is not construed as pair
The restriction of range for those of ordinary skill in the art without creative efforts, can also be according to this
A little attached drawings obtain other relevant attached drawings.
Fig. 1 is a kind of structural schematic block diagram of user terminal provided in an embodiment of the present invention;
Fig. 2 is a kind of functional block diagram of direct broadcasting room broadcast processing apparatus provided in an embodiment of the present invention;
Fig. 3 is a kind of flow diagram of direct broadcasting room broadcast processing method provided in an embodiment of the present invention;
Fig. 4 is another flow diagram of direct broadcasting room broadcast processing method provided in an embodiment of the present invention.
Icon:100- user terminals;110- buses;120- processors;130- storage mediums;140- bus interface;150-
Network adapter;160- user interfaces;200- direct broadcasting room broadcast processing apparatus;210- acquisition modules;220- configuration modules;230-
Creation module;240- is lined up display module.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation describes, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Usually herein
The component of the embodiment of the present invention described and illustrated in place's attached drawing can be arranged and be designed with a variety of different configurations.
Therefore, below the detailed description of the embodiment of the present invention to providing in the accompanying drawings be not intended to limit it is claimed
The scope of the present invention, but be merely representative of the present invention selected embodiment.Based on the embodiments of the present invention, this field is common
All other embodiment that technical staff is obtained without creative efforts belongs to the model that the present invention protects
It encloses.
It should be noted that:Similar label and letter indicate similar terms in following attached drawing, therefore, once a certain Xiang Yi
It is defined, then it further need not be defined and explained in subsequent attached drawing in a attached drawing.
Referring to Fig. 1, providing the structure diagram of user terminal 100 for the embodiment of the present invention.The user terminal 100 can be with
Signal is sent or received by modes such as wired or wireless networks, or by signal processing or can be deposited in such as memory
Storage is physical store state.Each user terminal 100 can be include hardware, software or embedded logic element or two or more
The electronic device of the combination of this class component, and it is able to carry out the suitable function of being implemented or supported by user terminal 100.It is optional
Ground, the user terminal 100 can be a kind of equipment with radio transmission-receiving function, including indoor or outdoors, hand-held, wearing or
Mobile unit.It is received for example, the user terminal 100 can be mobile phone (mobile phone), tablet computer (Pad), band is wireless
Send out the computer of function, virtual reality (Virtual Reality, VR) terminal device, augmented reality (Augmented Reality,
AR) in terminal device, the wireless terminal in Industry Control (industrial control), unmanned (self driving)
The wireless terminal, wireless terminal in tele-medicine (remote medical), wireless in intelligent grid (smart grid)
It is wireless in terminal, the wireless terminal in transportation safety (transportation safety), smart city (smart city)
Wireless terminal etc. in terminal, wisdom family (smart home).Embodiments herein does not limit application scenarios.
As shown in Figure 1, the user terminal 100 can make general bus architecture to realize by bus 110.Root
According to the concrete application and overall design constraints condition of user terminal 100, bus 110 may include any number of interconnection bus and
Bridge joint.Bus 110 is electrically connected to various together, these circuits include processor 120, storage medium 130 and bus interface
140.Optionally, user terminal 100 can use bus interface 140 to wait network adapter 150 and be connected via bus 110.Net
Network adapter 150 can be used for realizing the signal processing function of physical layer in user terminal 100, and realize radiofrequency signal by antenna
Send and receive.User interface 160 can connect external equipment, such as:Keyboard, display, mouse or control stick etc..Always
Line 110 can also connect various other circuits, such as timing source, peripheral equipment, voltage regulator or management circuit, this
A little circuits are known in the art, therefore are no longer described in detail.
It can replace, user terminal 100 may also be configured to generic processing system, such as be commonly referred to as chip, the general place
Reason system includes:The one or more microprocessors of processing function are provided, and at least part of of storage medium 130 is provided
External memory, it is all these all to be linked together by external bus architecture and other support circuits.
Alternatively, user terminal 100 can be realized using following:With processor 120, bus interface 140, user
The ASIC (application-specific integrated circuit) of interface 160;And it is integrated at least part of the storage medium 130 in one single chip, or
Person, user terminal 100 can be realized using following:One or more FPGA (field programmable gate array), PLD are (programmable
Logical device), controller, state machine, gate logic, discrete hardware components, any other suitable circuit or be able to carry out this
The arbitrary combination of the circuit of various functions described in invention in the whole text.
Wherein, processor 120 is responsible for bus 110 and general processing and (including executes and be stored on storage medium 130
Software).Processor 120 can be realized using one or more general processors and/or application specific processor.Processor 120
Example includes microprocessor, microcontroller, dsp processor and the other circuits for being able to carry out software.It should be by software broadly
Be construed to indicate instruction, data or its it is arbitrary combine, regardless of being called it as software, firmware, middleware, microcode, hard
Part description language or other.
Storage medium 130 is illustrated as detaching with processor 120 in Fig. 1, however, those skilled in the art be easy to it is bright
In vain, storage medium 130 or its arbitrary portion can be located at except user terminal 100.For example, storage medium 130 may include
Transmission line, the carrier waveform modulated with data, and/or the computer product that is separated with radio node, these media can be with
It is accessed by bus interface 140 by processor 120.Alternatively, storage medium 130 or its arbitrary portion are desirably integrated into place
It manages in device 120, for example, it may be cache and/or general register.
The processor 120 can perform above-described embodiment, and it is wide specifically, in the storage medium 130 to be stored with direct broadcasting room
Processing unit 200 is broadcast, the processor 120 can be used for executing the direct broadcasting room broadcast processing apparatus 200.
Referring to Fig. 2, for a kind of function module of above-mentioned direct broadcasting room broadcast processing apparatus 200 provided in an embodiment of the present invention
Figure, the direct broadcasting room broadcast processing apparatus 200 may include:
Acquisition module 210, for when receiving broadcast addition request, that is added in the acquisition broadcast addition request to match
Confidence ceases, and the configuration information includes the broadcast message of broadcast to be added, proxy information, broadcast type, broadcasts place direct broadcasting room
Type.
Configuration module 220 for the configuration information to be configured in the broadcast tool-class interface, and is matched according to described
Confidence breath judges that the broadcast to be added in the validity of each direct broadcasting room, obtains judging result.
Creation module 230, for obtaining effectively broadcast according to the judging result, and in the broadcast tool-class interface
Create the corresponding broadcast of each direct broadcasting room.
It is lined up display module 240, the broadcast for that will create is added to the broadcast channel of corresponding direct broadcasting room, and by institute
It states and queuing is carried out to each broadcast shows in broadcast channel addition current broadcast array.
Optionally, the acquisition module 210 is additionally operable to parse broadcast addition request, obtain to be added wide
The broadcast message broadcast;
Direct broadcasting room type and broadcast type where obtaining proxy information of the broadcast message in message manager, broadcast
Type, with the configuration information added.
Optionally, described that the configuration information is configured in the broadcast tool-class interface, and match confidence according to described
Breath judges that the broadcast to be added in the validity of each direct broadcasting room, obtains the mode of judging result, including:
Obtain proxy information of the configuration information in the broadcast tool-class interface;
Judge whether the proxy information is direct broadcasting room class;
If so, judging whether the broadcast type is direct broadcasting room type;
If so, creating the view to be added broadcasted in corresponding each direct broadcasting room;
Judge whether the broadcast to be added is shielded in the view of corresponding each direct broadcasting room according to the broadcast to be added
It covers;
If so, the judgement broadcast to be added is effective in the direct broadcasting room;
If it is not, then judging that the broadcast to be added is invalid in the direct broadcasting room, the broadcast to be added is abandoned.
Referring to Fig. 3, for a kind of flow diagram of direct broadcasting room broadcast processing method provided in an embodiment of the present invention, it is described
Method user terminal 100 shown in Fig. 1 executes, and includes to the direct broadcasting room broadcast processing apparatus 200 with reference to Fig. 3
Each function module is described in detail.It should be noted that direct broadcasting room broadcast processing method provided in an embodiment of the present invention is not
It is limitation with Fig. 3 and particular order as described below.The detailed process of the method is as follows:
Step S210 obtains the configuration information added in the broadcast addition request when receiving broadcast addition request.
In the present embodiment, user terminal 100 solves broadcast addition request when receiving broadcast addition request
Analysis, obtains the broadcast message of broadcast to be added, then obtains proxy information of the broadcast message in message manager, broadcast institute
In direct broadcasting room type and broadcast type, with the configuration information added.The configuration information includes the wide of broadcast to be added
Direct broadcasting room type where broadcasting information, proxy information, broadcast type, broadcast.
The broadcast message can refer to the info of dictionary type, some essential informations of broadcast are included in info, such as
The live streaming room at the place of broadcast presentation etc..The proxy information can refer to Agent Type delegate.The broadcast type
Can refer to regional broadcast type or full frame broadcast type etc..Direct broadcasting room type where the broadcast can multiple pattern, example
Such as half screen direct broadcasting room, transverse screen direct broadcasting room, full frame direct broadcasting room, main broadcaster end face value direct broadcasting room, the full transverse screen direct broadcasting room in main broadcaster end.
The configuration information is configured in the broadcast tool-class interface by step S220, and according to the configuration information
Judge that the broadcast to be added in the validity of each direct broadcasting room, obtains judging result.
In the present embodiment, configured with broadcast tool-class interface in the user terminal 100, which broadcasts tool-class and needs
Some parameter configurations namely the configuration of above-mentioned configuration information are provided, after position, need to be judged according to the configuration information
Validity of the broadcast to be added in each direct broadcasting room.
As an implementation, the user terminal 100 can obtain the configuration information in the broadcast tool first
Proxy information in class interface judges whether the proxy information is direct broadcasting room class, if so, whether judging the broadcast type
For direct broadcasting room type, if so, creating the view to be added broadcasted in corresponding each direct broadcasting room, and wait adding according to described
Broadcast is added to judge whether the broadcast to be added is shielded in the view of corresponding each direct broadcasting room, if so, being waited for described in judgement
Addition broadcast is effective in the direct broadcasting room, if it is not, then judging that the broadcast to be added is invalid in the direct broadcasting room, it is to be added wide to abandon this
It broadcasts.
In detail, proxy information and broadcast type showOptions are obtained when the user terminal 100 parses, judges generation
Manage whether information is direct broadcasting room class, judgment method can be isKindOfClass, because only that direct broadcasting room needs to broadcast, because
This incoming proxy information must be one kind in direct broadcasting room.Then, the broadcast type showOptions of each direct broadcasting room is checked
Whether correct, whether broadcast type showOptions is correctly to go to check corresponding direct broadcasting room according to different direct broadcasting room types
Broadcast type it is whether correct, such as half screen direct broadcasting room can only be the broadcast of half screen, the value of the showOptions of half screen direct broadcasting room
It is DYBroadcastShowHalf, the value of the showOptions of full frame direct broadcasting room is DYBroadcastShowLandscape,
It can check whether configuration parameter is correct by above-mentioned rule, and the channel for just getting direct broadcasting room later is finished checking
channal。
Optionally, the present embodiment can also continue to judge the type of broadcast, just be handled if it is activity broadcast,
Inactive broadcast then abandons.
By above-mentioned design, by judging that the broadcast to be added, can be in the validity of each direct broadcasting room in this step
It will need to be dispersed in the logical code that each direct broadcasting room is write and once complete, individually compiled in each direct broadcasting room without developer
Code is collected, development efficiency is greatly improved.
Step S230 obtains effectively broadcast according to the judging result, and is created often in the broadcast tool-class interface
The corresponding broadcast of a direct broadcasting room.
In the present embodiment, according to the judging result obtained in above-mentioned steps S220, after obtaining effectively broadcast, in the broadcast
The corresponding broadcast of each direct broadcasting room is created in tool-class interface, so can be realized in broadcast tool-class interface internal each straight
The establishment of corresponding broadcast between broadcasting once is completed the multiple operation for needing to execute in the prior art, without developing generation respectively
Code, and then significant increase development efficiency.
The broadcast of establishment is added on the broadcast channel of corresponding direct broadcasting room by step S240, and by the broadcast channel
Queuing is carried out in addition current broadcast array to each broadcast to show.
In the present embodiment, the above-mentioned setting for completing broadcast can show that the operation of broadcast executes in main thread, obtain
Broadcast type, broadcast type call broadcast explicit function addBloomWithDic, the realization process of the inside of this function as follows:
First, the broadcast channel of each direct broadcasting room is created, such as can be realized by allioc functions and init functions
Create broadcast channel.Then the broadcast of establishment is added on the broadcast channel of corresponding direct broadcasting room, and it is logical that each broadcast is arranged
The animation time in road, optionally, the content-length and broadcast that the present embodiment can be based on each broadcast information of waving are calculated
The animation time of each broadcast channel.Then, after the animation time for setting up each broadcast channel, each broadcast is logical
Road adds in current broadcast array, is shown with carrying out queuing to each broadcast in the broadcast array.
By above-mentioned design, different broadcast is added on the broadcast channel of corresponding direct broadcasting room by the present embodiment, will be former
This, which needs to execute multiple operation, once completes, and without distinguishing exploitation code in each direct broadcasting room, substantially increases exploitation
Efficiency.
Optionally, after the step S240, referring to Fig. 4, the direct broadcasting room broadcast processing method can also include such as
Lower step:
Step S250 judges each broadcast with the presence or absence of limitation parameter.
Step S260, and if it exists, then add the click event of the broadcast, and occur in the click event for detecting the broadcast
When by the corresponding direct broadcasting room of the broadcast carry out broadcast redirect.
In the present embodiment, after completing the display of broadcast, the broadcast can also be judged with the presence or absence of limitation block ginsengs
Number illustrates that broadcast needs are clicked if block parameters exist, needs the click event for adding the broadcast at this time.It is examining
When measuring the click event of the broadcast and occurring, general broadcast click after be all that the direct broadcasting room broadcasted redirects, if
Readjustment exists, and user clicks broadcast, then allows corresponding direct broadcasting room to execute broadcast and redirect.Hereby it is achieved that direct broadcasting room redirect or
Person's broadcast redirects, and enhances user experience.
Further, the embodiment of the present invention also provides a kind of readable storage medium storing program for executing, is stored in the readable storage medium storing program for executing
Computer program, user terminal 100 computer program controls the readable storage medium storing program for executing when running where execute above-mentioned
Direct broadcasting room broadcast processing method.
In conclusion direct broadcasting room broadcast processing method, device and readable storage medium storing program for executing provided in an embodiment of the present invention, first
First, when receiving broadcast addition request, the configuration information added in the broadcast addition request, the configuration information packet are obtained
Including broadcast message, proxy information, broadcast type, the broadcast place direct broadcasting room type of broadcast to be added then described will match confidence
Breath is configured in broadcast tool-class interface, and judges broadcast the having in each direct broadcasting room to be added according to the configuration information
Effect property, obtains judging result, then, obtains effectively broadcast according to the judging result, and in the broadcast tool-class interface
The corresponding broadcast of each direct broadcasting room is created, finally the broadcast of establishment is added on the broadcast channel of corresponding direct broadcasting room, and will
Queuing is carried out in the broadcast channel addition current broadcast array to each broadcast to show.It is described to be added by judging as a result,
The validity in each direct broadcasting room is broadcasted, can will need to be dispersed in the logical code that each direct broadcasting room is write and once complete, together
When by realizing the establishment that multiple direct broadcasting rooms correspond to broadcast in broadcast tool-class interface internal, and different broadcast is added
Onto the broadcast channel of corresponding direct broadcasting room, it will need to execute multiple operation originally and once complete, without each straight
Exploitation code is distinguished between broadcasting, and substantially increases development efficiency.
In embodiment provided by the present invention, it should be understood that disclosed device and method, it can also be by other
Mode realize.Device and method embodiment described above is only schematical, for example, the flow chart in attached drawing and frame
Figure shows the system frame in the cards of the system of multiple embodiments according to the present invention, method and computer program product
Structure, function and operation.In this regard, each box in flowchart or block diagram can represent a module, section or code
A part, the part of the module, section or code includes one or more for implementing the specified logical function
Executable instruction.It should also be noted that at some as in the realization method replaced, the function of being marked in box can also be with not
It is same as the sequence marked in attached drawing generation.For example, two continuous boxes can essentially be basically executed in parallel, they have
When can also execute in the opposite order, this is depended on the functions involved.It is also noted that in block diagram and or flow chart
Each box and the box in block diagram and or flow chart combination, the special of function or action as defined in executing can be used
Hardware based system realize, or can realize using a combination of dedicated hardware and computer instructions.
In addition, each function module in each embodiment of the present invention can integrate to form an independent portion
Point, can also be modules individualism, can also two or more modules be integrated to form an independent part.
It can replace, can be realized wholly or partly by software, hardware, firmware or its arbitrary combination.When
When using software realization, can entirely or partly it realize in the form of a computer program product.The computer program product
Including one or more computer instructions.It is all or part of when loading on computers and executing the computer program instructions
Ground is generated according to the flow or function described in the embodiment of the present invention.The computer can be all-purpose computer, special purpose computer,
Computer network or other programmable devices.The computer instruction can store in a computer-readable storage medium, or
Person is transmitted from a computer readable storage medium to another computer readable storage medium, for example, the computer instruction
Wired (such as coaxial cable, optical fiber, digital subscriber can be passed through from a web-site, computer, server or data center
Line (DSL)) or wireless (such as infrared, wireless, microwave etc.) mode to another web-site, computer, server or data
Center is transmitted.The computer readable storage medium can be that any usable medium that computer can access either is wrapped
The data storage devices such as server, the data center integrated containing one or more usable mediums.The usable medium can be magnetic
Property medium, (for example, floppy disk, hard disk, tape), optical medium (for example, DVD) or semiconductor medium (such as solid state disk
Solid State Disk (SSD)) etc.
It should be noted that herein, term " including ", " including " or its any other variant are intended to non-row
Its property includes, so that the process, method, article or equipment including a series of elements includes not only those elements, and
And further include the other elements being not explicitly listed, or further include for this process, method, article or equipment institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence " including one ... ", it is not excluded that including institute
State in the process, method, article or equipment of element that there is also other identical elements.
It is obvious to a person skilled in the art that invention is not limited to the details of the above exemplary embodiments, Er Qie
In the case of without departing substantially from spirit or essential attributes of the invention, the present invention can be realized in other specific forms.Therefore, no matter
From the point of view of which point, the present embodiments are to be considered as illustrative and not restrictive, and the scope of the present invention is by appended power
Profit requires rather than above description limits, it is intended that all by what is fallen within the meaning and scope of the equivalent requirements of the claims
Variation is included within the present invention.Any reference signs in the claims should not be construed as limiting the involved claims.
Claims (10)
1. a kind of direct broadcasting room broadcast processing method, which is characterized in that be applied to user terminal, be configured in the user terminal wide
Tool-class interface is broadcast, the method includes:
When receiving broadcast addition request, the configuration information added in the broadcast addition request, the configuration information are obtained
Direct broadcasting room type where broadcast message, proxy information, broadcast type, broadcast including broadcast to be added;
The configuration information is configured in the broadcast tool-class interface, and is judged according to the configuration information described to be added
The validity in each direct broadcasting room is broadcasted, judging result is obtained;
Effectively broadcast is obtained according to the judging result, and it is corresponding in the broadcast tool-class interface to create each direct broadcasting room
Broadcast;
The broadcast of establishment is added on the broadcast channel of corresponding direct broadcasting room, and the broadcast channel is added into current broadcast number
Queuing is carried out in group to each broadcast to show.
2. direct broadcasting room broadcast processing method according to claim 1, which is characterized in that it is described receive broadcast addition ask
When asking, the step of configuration information added in request is added in the broadcast is obtained, including:
Broadcast addition request is parsed, the broadcast message of broadcast to be added is obtained;
Direct broadcasting room type and broadcast type where obtaining proxy information of the broadcast message in message manager, broadcast,
With the configuration information added.
3. direct broadcasting room broadcast processing method according to claim 1, which is characterized in that described to configure the configuration information
Judge the broadcast to be added in the effective of each direct broadcasting room into the broadcast tool-class interface, and according to the configuration information
Property, the step of obtaining judging result, including:
Obtain proxy information of the configuration information in the broadcast tool-class interface;
Judge whether the proxy information is direct broadcasting room class;
If so, judging whether the broadcast type is direct broadcasting room type;
If so, creating the view to be added broadcasted in corresponding each direct broadcasting room;
Judge whether the broadcast to be added is shielded in the view of corresponding each direct broadcasting room according to the broadcast to be added;
If so, the judgement broadcast to be added is effective in the direct broadcasting room;
If it is not, then judging that the broadcast to be added is invalid in the direct broadcasting room, the broadcast to be added is abandoned.
4. direct broadcasting room broadcast processing method according to claim 1, which is characterized in that described to be added to the broadcast of establishment
On the broadcast channel of corresponding direct broadcasting room, and the broadcast channel is added in current broadcast array, each broadcast is lined up
The step of display, including:
Create the broadcast channel of each direct broadcasting room;
The broadcast of establishment is added on the broadcast channel of corresponding direct broadcasting room, and the animation time of each broadcast channel is set;
After the animation time for setting up each broadcast channel, each broadcast channel is added in current broadcast array, with
Queuing is carried out in the broadcast array to each broadcast to show.
5. direct broadcasting room broadcast processing method according to claim 4, which is characterized in that each broadcast channel of setting
The step of animation time, including:
The animation time of each broadcast channel is calculated in content-length and broadcast based on each broadcast information of waving.
6. direct broadcasting room broadcast processing method according to claim 1, which is characterized in that described to be added to the broadcast of establishment
On the broadcast channel of corresponding direct broadcasting room, and the broadcast channel is added in current broadcast array, each broadcast is lined up
After the step of display, the method further includes:
Judge each broadcast with the presence or absence of limitation parameter;
If in the presence of the click event of the broadcast is added, and when the click event for detecting the broadcast occurs by the broadcast pair
The direct broadcasting room answered carries out broadcast and redirects.
7. a kind of direct broadcasting room broadcast processing apparatus, which is characterized in that be applied to user terminal, be configured in the user terminal wide
Tool-class interface is broadcast, described device includes:
Acquisition module, for when receiving broadcast addition request, obtaining the configuration information added in the broadcast addition request,
The configuration information includes broadcast message, proxy information, broadcast type, the broadcast place direct broadcasting room type of broadcast to be added;
Configuration module, for the configuration information to be configured in the broadcast tool-class interface, and according to the configuration information
Judge that the broadcast to be added in the validity of each direct broadcasting room, obtains judging result;
Creation module, for obtaining effectively broadcast according to the judging result, and establishment is every in the broadcast tool-class interface
The corresponding broadcast of a direct broadcasting room;
It is lined up display module, the broadcast for that will create is added to the broadcast channel of corresponding direct broadcasting room, and by the broadcast
Queuing is carried out in channel addition current broadcast array to each broadcast to show.
8. direct broadcasting room broadcast processing apparatus according to claim 7, it is characterised in that:
The acquisition module is additionally operable to parse broadcast addition request, obtains the broadcast message of broadcast to be added;
Direct broadcasting room type and broadcast type where obtaining proxy information of the broadcast message in message manager, broadcast,
With the configuration information added.
9. direct broadcasting room broadcast processing apparatus according to claim 7, which is characterized in that described to configure the configuration information
Judge the broadcast to be added in the effective of each direct broadcasting room into the broadcast tool-class interface, and according to the configuration information
Property, the mode of judging result is obtained, including:
Obtain proxy information of the configuration information in the broadcast tool-class interface;
Judge whether the proxy information is direct broadcasting room class;
If so, judging whether the broadcast type is direct broadcasting room type;
If so, creating the view to be added broadcasted in corresponding each direct broadcasting room;
Judge whether the broadcast to be added is shielded in the view of corresponding each direct broadcasting room according to the broadcast to be added;
If so, the judgement broadcast to be added is effective in the direct broadcasting room;
If it is not, then judging that the broadcast to be added is invalid in the direct broadcasting room, the broadcast to be added is abandoned.
10. a kind of readable storage medium storing program for executing, which is characterized in that be stored with computer program, the meter in the readable storage medium storing program for executing
Calculation machine program is performed the direct broadcasting room broadcast processing method realized described in any one of claim 1-6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810276455.4A CN108462894B (en) | 2018-03-30 | 2018-03-30 | Live broadcast room broadcast processing method and device and readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810276455.4A CN108462894B (en) | 2018-03-30 | 2018-03-30 | Live broadcast room broadcast processing method and device and readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108462894A true CN108462894A (en) | 2018-08-28 |
CN108462894B CN108462894B (en) | 2020-07-31 |
Family
ID=63238283
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810276455.4A Active CN108462894B (en) | 2018-03-30 | 2018-03-30 | Live broadcast room broadcast processing method and device and readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108462894B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109618176A (en) * | 2018-12-14 | 2019-04-12 | 广州虎牙信息科技有限公司 | A kind of processing method of live broadcast service, equipment and storage medium |
CN110808844A (en) * | 2019-10-31 | 2020-02-18 | 广州心娱网络科技有限公司 | Broadcasting communication method, device and system of voice social platform |
CN111193935A (en) * | 2019-12-26 | 2020-05-22 | 广州华多网络科技有限公司 | Broadcast display method and device for live broadcast room, electronic equipment and storage medium |
CN113347467A (en) * | 2021-06-01 | 2021-09-03 | 武汉斗鱼鱼乐网络科技有限公司 | Loudspeaker information adjusting method and device, server and storage medium |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9491408B2 (en) * | 2005-12-13 | 2016-11-08 | Telefonaktiebolaget L M Ericsson (Publ) | Technique for distributing content via different bearer types |
CN106375799A (en) * | 2016-08-31 | 2017-02-01 | 广州华多网络科技有限公司 | Direct broadcasting room broadcast information customizing and pushing method and device and server |
CN106408379A (en) * | 2016-09-07 | 2017-02-15 | 广州华多网络科技有限公司 | Virtual item configuration method, device and mobile terminal |
CN106487781A (en) * | 2016-09-13 | 2017-03-08 | 腾讯科技(深圳)有限公司 | Based on live resource data processing method, device and system |
CN106549937A (en) * | 2016-10-09 | 2017-03-29 | 武汉斗鱼网络科技有限公司 | A kind of unified access methods and system suitable for different push SDK |
CN106648824A (en) * | 2016-12-30 | 2017-05-10 | 武汉斗鱼网络科技有限公司 | Broadcast processing method and broadcast processing device |
CN107092501A (en) * | 2017-03-20 | 2017-08-25 | 武汉斗鱼网络科技有限公司 | The implementation method and device of advertisement general-purpose interface in a kind of android system |
CN107124643A (en) * | 2017-03-27 | 2017-09-01 | 武汉斗鱼网络科技有限公司 | It is a kind of to handle the method and apparatus that live display is set |
GB2527116B (en) * | 2014-06-12 | 2017-09-20 | Canon Kk | Adaptative persistent push |
CN107222774A (en) * | 2017-05-26 | 2017-09-29 | 武汉斗鱼网络科技有限公司 | Information displaying method and device, computer-readable recording medium |
CN107231294A (en) * | 2017-05-24 | 2017-10-03 | 北京潘达互娱科技有限公司 | Message treatment method and device |
-
2018
- 2018-03-30 CN CN201810276455.4A patent/CN108462894B/en active Active
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9491408B2 (en) * | 2005-12-13 | 2016-11-08 | Telefonaktiebolaget L M Ericsson (Publ) | Technique for distributing content via different bearer types |
GB2527116B (en) * | 2014-06-12 | 2017-09-20 | Canon Kk | Adaptative persistent push |
CN106375799A (en) * | 2016-08-31 | 2017-02-01 | 广州华多网络科技有限公司 | Direct broadcasting room broadcast information customizing and pushing method and device and server |
CN106408379A (en) * | 2016-09-07 | 2017-02-15 | 广州华多网络科技有限公司 | Virtual item configuration method, device and mobile terminal |
CN106487781A (en) * | 2016-09-13 | 2017-03-08 | 腾讯科技(深圳)有限公司 | Based on live resource data processing method, device and system |
CN106549937A (en) * | 2016-10-09 | 2017-03-29 | 武汉斗鱼网络科技有限公司 | A kind of unified access methods and system suitable for different push SDK |
CN106648824A (en) * | 2016-12-30 | 2017-05-10 | 武汉斗鱼网络科技有限公司 | Broadcast processing method and broadcast processing device |
CN107092501A (en) * | 2017-03-20 | 2017-08-25 | 武汉斗鱼网络科技有限公司 | The implementation method and device of advertisement general-purpose interface in a kind of android system |
CN107124643A (en) * | 2017-03-27 | 2017-09-01 | 武汉斗鱼网络科技有限公司 | It is a kind of to handle the method and apparatus that live display is set |
CN107231294A (en) * | 2017-05-24 | 2017-10-03 | 北京潘达互娱科技有限公司 | Message treatment method and device |
CN107222774A (en) * | 2017-05-26 | 2017-09-29 | 武汉斗鱼网络科技有限公司 | Information displaying method and device, computer-readable recording medium |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109618176A (en) * | 2018-12-14 | 2019-04-12 | 广州虎牙信息科技有限公司 | A kind of processing method of live broadcast service, equipment and storage medium |
CN110808844A (en) * | 2019-10-31 | 2020-02-18 | 广州心娱网络科技有限公司 | Broadcasting communication method, device and system of voice social platform |
CN111193935A (en) * | 2019-12-26 | 2020-05-22 | 广州华多网络科技有限公司 | Broadcast display method and device for live broadcast room, electronic equipment and storage medium |
CN113347467A (en) * | 2021-06-01 | 2021-09-03 | 武汉斗鱼鱼乐网络科技有限公司 | Loudspeaker information adjusting method and device, server and storage medium |
CN113347467B (en) * | 2021-06-01 | 2022-07-05 | 武汉斗鱼鱼乐网络科技有限公司 | Loudspeaker information adjusting method and device, server and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN108462894B (en) | 2020-07-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11711670B2 (en) | Method for activating service based on user scenario perception, terminal device, and system | |
CN110908879B (en) | Reporting method, reporting device, reporting terminal and recording medium of buried point data | |
CN108462894A (en) | Direct broadcasting room broadcast processing method, device and readable storage medium storing program for executing | |
US8656021B2 (en) | Methods and apparatus for constructing an execution environment in which the application operates | |
WO2021259013A1 (en) | Data processing method and apparatus, electronic device, and computer-readable medium | |
WO2018103532A1 (en) | Monitoring method and related device free of burying-point deployment | |
US20110154297A1 (en) | Dynamic instrumentation | |
CN111177617A (en) | Web direct operation and maintenance method and device based on operation and maintenance management system and electronic equipment | |
CN107404418B (en) | Internet product testing method, device, equipment and storage medium | |
US20170083261A1 (en) | Electronic device and method of analyzing fragmentation of electronic device | |
CN112287216B (en) | Information pushing method and device, server and storage medium | |
CN110297658B (en) | Function component sharing method and device and computer equipment | |
CN105095023A (en) | Cloud host establishing device and method and calculating equipment | |
CN110377341B (en) | Method, device, medium and electronic equipment for monitoring no-response exception | |
CN106933589B (en) | Message queue assembly based on configuration and integration method thereof | |
WO2020132870A1 (en) | File update method, file update apparatus and terminal device | |
CN109542786A (en) | Visual testing method and device | |
CN109800030B (en) | Application program running method and device and terminal | |
CN110457132B (en) | Method and device for creating functional object and terminal equipment | |
CN111538922B (en) | Link jump method, application client, device and storage medium | |
CN109032693A (en) | Method and device for loading display information, electronic equipment and readable storage medium | |
CN110188308B (en) | Client automatic dotting reporting method, storage medium, equipment and system | |
KR20150085864A (en) | Advertising method of electronic apparatus and electronic apparatus thereof | |
CN110532494A (en) | Users' personal allocation method, system and the computer equipment of B/S application | |
CN111949862B (en) | Method and device for managing business task flow and electronic equipment |
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 |