CN109462769A - Direct broadcasting room pendant display methods, device, terminal and computer-readable medium - Google Patents
Direct broadcasting room pendant display methods, device, terminal and computer-readable medium Download PDFInfo
- Publication number
- CN109462769A CN109462769A CN201811276096.9A CN201811276096A CN109462769A CN 109462769 A CN109462769 A CN 109462769A CN 201811276096 A CN201811276096 A CN 201811276096A CN 109462769 A CN109462769 A CN 109462769A
- Authority
- CN
- China
- Prior art keywords
- pendant
- view object
- pendant view
- priority
- display
- 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
- G06F3/1454—Digital output to display device ; Cooperation and interconnection of the display device with other functional units involving copying of the display data of a local workstation or window to a remote workstation or window so that an actual copy of the data is displayed simultaneously on two or more displays, e.g. teledisplay
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
-
- 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/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/21—Server components or server architectures
- H04N21/218—Source of audio or video content, e.g. local disk arrays
- H04N21/2187—Live feed
-
- 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/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/25—Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
- H04N21/254—Management at additional data server, e.g. shopping server, rights management server
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Software Systems (AREA)
- Databases & Information Systems (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The embodiment of the invention discloses a kind of direct broadcasting room pendant display methods, device, terminal and computer-readable mediums, wherein this method comprises: receiving the pendant that server is sent shows message, message trigger pendant explicit function is shown according to pendant, and pendant view object is generated according to pendant explicit function;Pendant view object is added in priority management object, determines the priority of each pendant view object in the priority management object, each pendant view object is ranked up according to priority;Status information is generated according to ranking results, the pendant view object that status information is display state as target pendant view object and is shown.A kind of direct broadcasting room pendant display methods, device, terminal and computer-readable medium provided in an embodiment of the present invention, reduce code redundancy, are decoupled to the display logic of each pendant, improve pendant display efficiency.
Description
Technical field
The present embodiments relate to data processing technique more particularly to a kind of direct broadcasting room pendant display methods, device, terminal
And computer-readable medium.
Background technique
With the fast development of internet and stream media technology, all kinds of live streaming platforms come into being, and bring more to user
For excellent entertainment abundant and social experience.Direct broadcasting room pendant type is different in difference live streaming platform, and direct broadcasting room pendant can
To include precious case pendant, prize drawing pendant, advertisement pendant and movable pendant etc., and since client display interface space limits, respectively
Direct broadcasting room pendant shares an entry position, therefore there are mutual exclusion logics for the display between direct broadcasting room pendant.
Nowadays, usual direct broadcasting room pendant display methods is, when certain pendant needs to show, to refresh in addition to the pendant
All other pendants then show the pendant when other pendants are not necessarily to and show, need pendant to be shown when existing in other pendants
When, compare the pendant of display in need priority, and the pendant that display priority is high.
Existing direct broadcasting room pendant display methods is disadvantageous in that, when certain each pendant needs to show, refreshes other
Whole pendants will lead to code redundancy, and need to handle the display logic of other pendants in the display logic of each pendant, each to hang
The coupling of display logic between part is high, causes pendant display efficiency lower.
Summary of the invention
It can in view of this, the embodiment of the invention provides a kind of direct broadcasting room pendant display methods, device, terminal and computers
Medium is read, reduces code redundancy, the display logic of each pendant is decoupled, improve pendant display efficiency.
In a first aspect, the embodiment of the invention provides a kind of direct broadcasting room pendant display methods, comprising:
It receives the pendant that server is sent and shows message, message trigger pendant explicit function, root are shown according to the pendant
Pendant view object is generated according to pendant explicit function;
Pendant view object is added in priority management object, determines each pendant view in the priority management object
The priority of figure object is ranked up each pendant view object according to the priority;
Status information is generated according to ranking results, the pendant view object that status information is display state is hung as target
Part view object is simultaneously shown.
It is optionally, described that pendant view object is generated according to pendant explicit function, comprising:
The pendant view parameter in pendant explicit function is obtained, initial pendant view pair is generated according to pendant view parameter
As;
Whether judge in pendant explicit function comprising animation display parameters;
If so, animation display parameters are added in initial pendant view object, pendant view object is generated;If
It is no, then using initial pendant view object as pendant view object.
Optionally, described that pendant view object is added in priority management object, determine the priority management pair
The priority of each pendant view object as in is ranked up each pendant view object according to the priority, comprising:
Pendant view object is added to the first empty storage in the pendant array of priority management object according to index order
Position;
According to pendant priority predetermined library, the priority of each pendant view object in pendant array is determined;
Each pendant view object is ranked up according to the priority every preset time.
It is optionally, described to generate status information according to ranking results, comprising:
The status information for the pendant view object for being ordered as predetermined order is determined as display state, will remove and be ordered as presetting
The status information of other pendant view objects outside the pendant view object of sequence is determined as hidden state.
Optionally, described as target pendant view object and to show the pendant view object that status information is display state
Show, comprising:
Using the pendant view object that status information is display state as target pendant view object, target pendant view is obtained
The display number of figure object, and the target pendant view object is shown according to the display number.
Optionally, it is described using status information be display state pendant view object as target pendant view object simultaneously
After display, further includes:
When receiving removal message, call the removing method of priority management object that will remove the corresponding pendant view of message
Figure object is removed;
The pendant view removed in the priority management object after operating is re-started into sequence, according to rearrangement result
It chooses target pendant view object and shows.
Further, the removal message terminates display or not shown pendant view object in target pendant view object
It is triggered when overtime;
Correspondingly, removing the corresponding pendant view object of message includes target pendant view object or not shown pendant view
Figure object.
Second aspect, the embodiment of the invention provides a kind of direct broadcasting room pendant display devices, comprising:
Pendant view object generation module, the pendant for receiving server transmission shows message, aobvious according to the pendant
Show message trigger pendant explicit function, pendant view object is generated according to pendant explicit function;
Pendant view object sorting module determines institute for pendant view object to be added in priority management object
The priority for stating each pendant view object in priority management object arranges each pendant view object according to the priority
Sequence;
Status information is display shape for generating status information according to ranking results by pendant view object display module
The pendant view object of state as target pendant view object and is shown.
The third aspect, the embodiment of the invention provides a kind of terminals, comprising:
One or more processors;
Memory, for storing one or more programs;
When one or more of programs are executed by one or more of processors, so that one or more of processing
Device realizes the direct broadcasting room pendant display methods as described in any embodiment of the present invention.
Fourth aspect, the embodiment of the invention provides a kind of computer readable storage mediums, are stored thereon with computer journey
Sequence realizes the direct broadcasting room pendant display methods as described in any embodiment of the present invention when the program is executed by processor.
A kind of direct broadcasting room pendant display methods, device, terminal and computer-readable medium provided in an embodiment of the present invention, root
Message trigger pendant explicit function is shown according to the pendant that server is sent, and pendant view object is generated according to pendant explicit function;
Pendant view object is added in priority management object, determines each pendant view object in the priority management object
Priority is ranked up each pendant view object according to priority;Status information is generated according to ranking results, by status information
To show that the pendant view object of state as target pendant view object and is shown.By by pendant view object to be shown
It is added in priority management object and is according to priority ranked up, target pendant view object can be obtained and shows, to subtract
Lack code redundancy, the display logic of each pendant has been decoupled, improves pendant display efficiency.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to do one simply to introduce, it should be apparent that, the accompanying drawings in the following description is this hair
Bright some embodiments for those of ordinary skill in the art without creative efforts, can be with root
Other attached drawings are obtained according to these attached drawings.
Fig. 1 is a kind of direct broadcasting room pendant display methods flow chart that the embodiment of the present invention one provides;
Fig. 2 is a kind of direct broadcasting room pendant display device structure schematic diagram provided by Embodiment 2 of the present invention;
Fig. 3 is a kind of structural schematic diagram for terminal that the embodiment of the present invention three provides.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, hereinafter with reference to attached in the embodiment of the present invention
Figure, clearly and completely describes technical solution of the present invention by embodiment, it is clear that described embodiment is the present invention one
Section Example, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not doing
Every other embodiment obtained under the premise of creative work out, shall fall within the protection scope of the present invention.
Embodiment one
Fig. 1 is a kind of direct broadcasting room pendant display methods flow chart that the embodiment of the present invention one provides, and the present embodiment is applicable
In direct broadcasting room pendant display the case where, this method can be realized by terminal, specifically can by the software and/or hardware in terminal come
Implement.Referring to Fig. 1, which includes the following steps:
S110, the pendant display message that server is sent is received, message trigger pendant explicit function, root is shown according to pendant
Pendant view object is generated according to pendant explicit function.
Wherein, the corresponding direct broadcasting room pendant types of different live streaming platform are different, direct broadcasting room pendant can be understood as into
After entering direct broadcasting room, triggered shown view object, direct broadcasting room pendant be can wrap in the interface that viewing main broadcaster is broadcast live
Precious case pendant, prize drawing pendant, advertisement pendant and movable pendant etc. are included, such as precious case pendant can watch live streaming user to master at certain
Triggering when default value present is sent in increasing is broadcast, the client end interface for watching main broadcaster live streaming can all carry out precious case pendant and show, use
Family can get present by clicking precious case pendant at random, other users can be attracted to enter main broadcaster's direct broadcasting room by precious case pendant
Viewing live streaming, to increase direct broadcasting room popularity.Since client display interface space limits, there are multiple direct broadcasting room pendants to share
The case where one entry position.
Wherein, the display message that server is sent may include pendant mark to be shown, and corresponding client can basis
It shows the pendant to be shown mark triggering pendant explicit function in message, and pendant view pair is generated according to pendant explicit function
As to be shown.Illustratively, when the pendant mark in the display message that server is sent comprising precious case pendant, visitor
Family end can trigger the explicit function of precious case pendant when receiving display message according to the precious case pendant mark in display message,
And the view object of precious case pendant can be generated according to the explicit function of precious case pendant, and carry out to the view object of precious case pendant
Display.In addition, pendant mark can also be prize drawing pendant mark, advertisement pendant mark and movable pendant mark etc., corresponding visitor
Family end can generate the view pair of prize drawing pendant according to prize drawing pendant mark, advertisement pendant mark and movable pendant mark respectively
As the view object of, advertisement pendant and the view object of movable pendant and shown.
Optionally, pendant view object is generated according to pendant explicit function, comprising:
The pendant view parameter in pendant explicit function is obtained, initial pendant view pair is generated according to pendant view parameter
As;Whether judge in pendant explicit function comprising animation display parameters;If so, animation display parameters are added to initial pendant
In view object, pendant view object is generated;If it is not, then using initial pendant view object as pendant view object.
Wherein, the pendant view parameter in pendant explicit function can be understood as pendant view class, such as precious case pendant
View parameter can be precious case view TreasureBoxView class predetermined;Wherein, it is generated just according to pendant view parameter
Beginning pendant view object can be understood as generating the initial pendant view object of pendant view class.Illustratively, precious case is generated to hang
The initial precious case view object of part can specifically call TreasureBoxView mTreasureBoxView=new
TreasureBoxView () sentence, wherein mTreasureBoxView is the title of initial precious case view object, can be indicated
Initial treasured case view object, and the title of initial precious case view object is not limited to mTreasureBoxView, i.e., by preparatory
Initial precious case view object can be generated in the new method of the TreasureBoxView class of definition.
Wherein, after generating initial pendant view object, if in explicit function further including the initial pendant view object
It shows animation parameters, then can be added to animation display parameters in initial pendant view object, so that initial pendant view pair
It is shown as carrying out animation.Wherein, after generating initial pendant view object, if in explicit function not including the initial pendant view
The display animation parameters of object, then using initial pendant view object as pendant view object.Illustratively, it is regarded in initial precious case
Animation parameters are added in figure object can specifically call mTreasureBoxView.startAnimation (animation) language
Animation display parameters animation is added in initial precious case view object by sentence, generates precious case view object.Wherein it is possible to
Animation display parameters are added in pendant view object by view animation system view animation system;Its
In, animation display parameters may include at least one of following animation types: scaling animation ScaleAnimation, translation are dynamic
Draw TranslateAnimation, gradual-change animation AlphaAnimation and rotation animation RotateAnimation.
S120, pendant view object is added in priority management object, determines each pendant in priority management object
The priority of view object is ranked up each pendant view object according to priority.
Wherein, priority management object is the object of predefined priority management class, can be stored to priority
Manage the display management of each pendant view object in object.Wherein it is possible to when receiving the display message of server transmission
Pendant view object is generated, and is added to pendant view object is generated in priority management object.Wherein, priority management pair
As a memory headroom can be opened up in advance, for storing each pendant view object.Wherein it is possible to by each pendant view object assignment
It is stored in the memory headroom opened up to priority management object to a variable parameter, and by variable parameter, to complete pendant view
The addition of object.Wherein, priority management object can carry out pendant view object and press in addition pendant view object every time
The sequence of priority, and the display of each pendant view is controlled according to sequence and is hidden.
Optionally, pendant view object is added in priority management object, determines and is respectively hung in priority management object
The priority of part view object is ranked up each pendant view object according to priority, comprising:
Pendant view object is added to the first empty storage in the pendant array of priority management object according to index order
Position;According to pendant priority predetermined library, the priority of each pendant view object in pendant array is determined;Every default
Time is ranked up each pendant view object according to priority.
Wherein, priority management object opens up a memory headroom in advance, specifically can be by pre-defining pendant array
Open up memory headroom;Wherein, pendant view object is added in priority management object, is specifically can be pendant view pair
As being added in pendant array the smallest storage location of index number in the storage location of not stored data, i.e., according to index order
First sky storage location.Illustratively, the array length of pendant array list be 10, if first storage location list [0] and
Pendant has been stored in second storage location list [1], then the pendant view object of generation has been added to not stored data
Storage location in the smallest storage location of index number, that is, be added in third storage location list [2], to facilitate to extension
Hanger view object carries out sorting by priority operation in number of packages group.
Wherein, pendant priority predetermined library can be form, be also possible to textual form, can be with
It is to be stored by global variable to system program, is not specifically limited herein;Wherein, pendant priority library may include pendant
Corresponding relationship between view object, priority tag and pendant view object and priority tag, preferred pendant view
The corresponding relationship of existence anduniquess between object and priority tag;Wherein, priority tag can be number, letter, text or
Other identifier can be used for indicating the sequence of the priority of each pendant view object;Wherein, pendant priority library can basis
The business demand for running side carries out real-time update.
Wherein, preset time can according to actual displayed demand be arranged set time, such as can be 0.5s, 1s or
2s can also be the display time proportion relation with pendant view object, such as can be pendant view object and show
10%, 20% or the 50% of time.It, can be with by being ranked up according to priority to each pendant view object every preset time
The priority ranking of the multiple pendant view object carried out when client continuously receives multiple display message is avoided, so as to
Optimal scheduling operation avoids operation exception caused by sorting because of continuous several times.
S130, according to ranking results generate status information, using status information be display state pendant view object as
Target pendant view object is simultaneously shown.
Wherein, status information can be understood as the state that each pendant view object shows with hides, each pendant view object
After the status information that priority management object generates is adjusted back, and it can be shown according to the display state of readjustment.
By the way that priority management object is arranged, pendant view object can be carried out when receiving server and showing message
The display management for adding and carrying out each pendant view when needing to show so as to avoid certain pendant, refreshes other whole pendants, subtracts
Lack code redundancy, the display logic of each pendant has been decoupled, improves pendant display efficiency.
Optionally, status information is generated according to ranking results, comprising:
The status information for the pendant view object for being ordered as predetermined order is determined as display state, will remove and be ordered as presetting
The status information of other pendant view objects outside the pendant view object of sequence is determined as hidden state.
Wherein, when the sequence of each pendant view object according to priority from high to low is ranked up, then predetermined order can be with
It is N before sorting, when the sequence of each pendant view object according to priority from low to high is ranked up, then predetermined order can be row
Sequence falls N;The quantity N for wherein including in predetermined order is related to entry position quantity in client end interface, specifically can be N and is equal to
Entry position quantity in client end interface.
Optionally, the pendant view object that status information is display state as target pendant view object and is shown,
Include:
Using the pendant view object that status information is display state as target pendant view object, target pendant view is obtained
The display number of figure object, and target pendant view object is shown according to display number.
Wherein, when pendant view object is display state, then the pendant view object can be used as target pendant view
Object is shown in client pendant entry position, and can show that the display number of object is repeatedly shown according to pendant
Show.
Optionally, it as target pendant view object and is shown using the pendant view object that status information is display state
Later, further includes:
When receiving removal message, call the removing method of priority management object that will remove the corresponding pendant view of message
Figure object is removed;The pendant view removed in the priority management object after operating is re-started into sequence, according to again
Ranking results are chosen target pendant view object and are shown.
Wherein, removing in message may include pendant view object mark to be removed, according to pendant view to be removed
Object identity can remove corresponding pendant view object from priority management object;Wherein, calling can specifically be passed through
The remove function of priority management object removes pendant view object to be removed from priority management object.Wherein,
The pendant in priority management object can be regarded after being removed in priority management object in pendant view object to be removed
Figure is according to priority ranked up again, is chosen target pendant view object according to rearrangement result and is shown.
Further, removing message terminates display or not shown pendant view object time-out in target pendant view object
When trigger;Correspondingly, removing the corresponding pendant view object of message includes target pendant view object or not shown pendant view
Figure object.
Wherein, shifting can be triggered when target pendant view object terminates display or not shown pendant view object time-out
Except message, i.e., whenever target pendant view object terminates display or other pendants regard during the display of target pendant view object
Triggering removes message when figure time-out.It can be to the target pendant view for terminating display in priority management object by removing message
The pendant view object of object or not shown time-out is removed, extension that can be high to avoid priority in priority management object
Part view object is shown always, to optimize the display methods of direct broadcasting room pendant.
Direct broadcasting room pendant display methods provided in this embodiment shows message trigger pendant according to the pendant that server is sent
Explicit function generates pendant view object according to pendant explicit function;Pendant view object is added to priority management object
In, it determines the priority of each pendant view object in priority management object, each pendant view object is carried out according to priority
Sequence;Status information is generated according to ranking results, using the pendant view object that status information is display state as target pendant
View object is simultaneously shown.By the way that pendant view object to be shown is added in priority management object and is according to priority carried out
Sequence, can obtain target pendant view object and show, to reduce code redundancy, carry out to the display logic of each pendant
Decoupling, improves pendant display efficiency.
Embodiment two
Fig. 2 is a kind of direct broadcasting room pendant display device structure schematic diagram provided by Embodiment 2 of the present invention, and the present embodiment can
It is shown suitable for direct broadcasting room pendant.
Referring to fig. 2, direct broadcasting room pendant display device in the present embodiment, comprising:
Pendant view object generation module 210, the pendant for receiving server transmission show message, are shown according to pendant
Message trigger pendant explicit function generates pendant view object according to pendant explicit function;
Pendant view object sorting module 220 is determined for pendant view object to be added in priority management object
The priority of each pendant view object in priority management object is ranked up each pendant view object according to priority;
Status information is display for generating status information according to ranking results by pendant view object display module 230
The pendant view object of state as target pendant view object and is shown.
Optionally, pendant view object generation module 210, comprising:
Initial pendant view object generates submodule, for obtaining the pendant view parameter in pendant explicit function, according to
Pendant view parameter generates initial pendant view object;
Animation display parameters judging submodule, for whether judging in pendant explicit function comprising animation display parameters;
Pendant view object generates submodule, for animation display parameters if it exists, is then added to animation display parameters
In initial pendant view object, pendant view object is generated;Animation display parameters if it does not exist, then by initial pendant view pair
As pendant view object.
Optionally, pendant view object sorting module 220, comprising:
Pendant view object adds submodule, for pendant view object to be added to the pendant number of priority management object
According to the first empty storage location of index order in group;
Priority determines submodule, for determining each pendant in pendant array according to pendant priority predetermined library
The priority of view object;
Pendant view object sorting sub-module, for being carried out according to priority to each pendant view object every preset time
Sequence.
Optionally, pendant view object display module 230, comprising:
Status information determines submodule, for the status information for being ordered as the pendant view object of predetermined order to be determined as
The status information of other pendant view objects in addition to the pendant view object for being ordered as predetermined order is determined as by display state
Hidden state.
Optionally, pendant view object display module 230, further includes:
Pendant view object display sub-module, for using the pendant view object that status information is display state as target
Pendant view object obtains the display number of target pendant view object, and according to display number to target pendant view object
It is shown.
Optionally, direct broadcasting room pendant display device, further includes:
Pendant view object removes module, for calling the removal of priority management object when receiving removal message
Method will remove the corresponding pendant view object of message and remove;
Correspondingly, pendant view object sorting module 220, is also used to remove in the priority management object after operating
Pendant view re-starts sequence;Pendant view object display module 230 is also used to choose target according to rearrangement result and hang
Part view object is simultaneously shown.
Further, removing message terminates display or not shown pendant view object time-out in target pendant view object
When trigger;Correspondingly, removing the corresponding pendant view object of message includes target pendant view object or not shown pendant view
Figure object.
Direct broadcasting room pendant display device provided in this embodiment, the direct broadcasting room pendant display methods category proposed with embodiment one
In same inventive concept, the technical detail of detailed description not can be found in embodiment one in the present embodiment, and the present embodiment with
The beneficial effect having the same of embodiment one.
Embodiment three
A kind of terminal is present embodiments provided, can be used for direct broadcasting room pendant and show.Fig. 3 is that the embodiment of the present invention three provides
A kind of terminal structural schematic diagram.Referring to Fig. 3, which includes:
One or more processors 310;
Memory 320, for storing one or more programs;
When one or more of programs are executed by one or more of processors 310, so that one or more of
Processor 310 realizes the direct broadcasting room pendant display methods proposed such as embodiment one.
In Fig. 3 by taking a processor 310 as an example;Processor 310 and memory 320 can be connected by bus or other modes
It connects, in Fig. 3 for being connected by bus.
Memory 320 is used as a kind of computer readable storage medium, can be used for storing software program, journey can be performed in computer
Sequence and module, such as the corresponding program instruction/module of direct broadcasting room pendant display methods in the embodiment of the present invention.Processor 310
By running the software program, instruction and the module that are stored in memory 320, thereby executing terminal various function application with
And data processing, that is, realize above-mentioned direct broadcasting room pendant display methods.
Memory 320 can mainly include storing program area and storage data area, wherein storing program area can store operation system
Application program needed for system, at least one function;Storage data area, which can be stored, uses created data etc. according to terminal.This
Outside, memory 320 may include high-speed random access memory, can also include nonvolatile memory, for example, at least one
Disk memory, flush memory device or other non-volatile solid state memory parts.In some instances, memory 320 can be into one
Step includes the memory remotely located relative to processor 310, these remote memories can pass through network connection to terminal.On
The example for stating network includes but is not limited to internet, intranet, local area network, mobile radio communication and combinations thereof.
The direct broadcasting room pendant display methods that the terminal and embodiment one that the present embodiment proposes propose belongs to same inventive concept,
The technical detail of detailed description not can be found in embodiment one in the present embodiment, and the present embodiment have with embodiment one it is identical
Beneficial effect.
Example IV
The present embodiment provides a kind of computer readable storage mediums, are stored thereon with computer program, and the program is processed
The direct broadcasting room pendant display methods proposed such as embodiment one is realized when device executes.
The direct broadcasting room pendant display methods category that the computer readable storage medium and embodiment one that the present embodiment proposes propose
In same inventive concept, the technical detail of detailed description not can be found in embodiment one in the present embodiment, and the present embodiment with
The beneficial effect having the same of embodiment one.
By the description above with respect to embodiment, it is apparent to those skilled in the art that, the present invention
It can be realized by software and required common hardware, naturally it is also possible to which by hardware realization, but in many cases, the former is more
Good embodiment.Based on this understanding, technical solution of the present invention substantially in other words contributes to the prior art
Part can be embodied in the form of software products, which can store in computer readable storage medium
In, floppy disk, read-only memory (Read-Only Memory, ROM), random access memory (Random such as computer
Access Memory, RAM), flash memory (FLASH), hard disk or CD etc., including some instructions are with so that a computer is set
Standby (can be personal computer, server or the network equipment etc.) executes method described in each embodiment of the present invention.
Note that the above is only a better embodiment of the present invention and the applied technical principle.It will be appreciated by those skilled in the art that
The invention is not limited to the specific embodiments described herein, be able to carry out for a person skilled in the art it is various it is apparent variation,
It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out by above embodiments to the present invention
It is described in further detail, but the present invention is not limited to the above embodiments only, without departing from the inventive concept, also
It may include more other equivalent embodiments, and the scope of the invention is determined by the scope of the appended claims.
Claims (10)
1. a kind of direct broadcasting room pendant display methods characterized by comprising
It receives the pendant that server is sent and shows message, message trigger pendant explicit function is shown according to the pendant, according to extension
Part explicit function generates pendant view object;
Pendant view object is added in priority management object, determines each pendant view pair in the priority management object
The priority of elephant is ranked up each pendant view object according to the priority;
Status information is generated according to ranking results, the pendant view object that status information is display state is regarded as target pendant
Figure object is simultaneously shown.
2. the method according to claim 1, wherein described generate pendant view pair according to pendant explicit function
As, comprising:
The pendant view parameter in pendant explicit function is obtained, initial pendant view object is generated according to pendant view parameter;
Whether judge in pendant explicit function comprising animation display parameters;
If so, animation display parameters are added in initial pendant view object, pendant view object is generated;If it is not, then
Using initial pendant view object as pendant view object.
3. the method according to claim 1, wherein described be added to priority management pair for pendant view object
As in, the priority of each pendant view object in the priority management object is determined, each pendant is regarded according to the priority
Figure object is ranked up, comprising:
Pendant view object is added to the first empty storage location in the pendant array of priority management object according to index order;
According to pendant priority predetermined library, the priority of each pendant view object in pendant array is determined;
Each pendant view object is ranked up according to the priority every preset time.
4. the method according to claim 1, wherein described generate status information according to ranking results, comprising:
The status information for the pendant view object for being ordered as predetermined order is determined as display state, will remove and be ordered as predetermined order
Pendant view object outside the status informations of other pendant view objects be determined as hidden state.
5. the method according to claim 1, wherein it is described by status information be display state pendant view pair
As target pendant view object and showing, comprising:
Using the pendant view object that status information is display state as target pendant view object, target pendant view pair is obtained
The display number of elephant, and the target pendant view object is shown according to the display number.
6. the method according to claim 1, wherein it is described by status information be display state pendant view
Object is as target pendant view object and after showing, further includes:
When receiving removal message, call the removing method of priority management object that will remove the corresponding pendant view pair of message
As being removed;
The pendant view removed in the priority management object after operating is re-started into sequence, is chosen according to rearrangement result
Target pendant view object is simultaneously shown.
7. according to the method described in claim 6, it is characterized in that, the removal message terminates to show in target pendant view object
Show or triggering when not shown pendant view object time-out;
Correspondingly, removing the corresponding pendant view object of message includes target pendant view object or not shown pendant view pair
As.
8. a kind of direct broadcasting room pendant display device characterized by comprising
Pendant view object generation module, the pendant for receiving server transmission show message, are shown and disappeared according to the pendant
Breath triggering pendant explicit function, generates pendant view object according to pendant explicit function;
Pendant view object sorting module determines described excellent for pendant view object to be added in priority management object
The priority of each pendant view object, is ranked up each pendant view object according to the priority in first grade management object;
Status information is display state for generating status information according to ranking results by pendant view object display module
Pendant view object is as target pendant view object and shows.
9. a kind of terminal, which is characterized in that the terminal includes:
One or more processors;
Memory, for storing one or more programs;
When one or more of programs are executed by one or more of processors, so that one or more of processors are real
The now direct broadcasting room pendant display methods as described in any in claim 1-7.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor
The direct broadcasting room pendant display methods as described in any in claim 1-7 is realized when execution.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811276096.9A CN109462769B (en) | 2018-10-30 | 2018-10-30 | Live broadcast room pendant display method and device, terminal and computer readable medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811276096.9A CN109462769B (en) | 2018-10-30 | 2018-10-30 | Live broadcast room pendant display method and device, terminal and computer readable medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109462769A true CN109462769A (en) | 2019-03-12 |
CN109462769B CN109462769B (en) | 2021-03-16 |
Family
ID=65608824
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811276096.9A Active CN109462769B (en) | 2018-10-30 | 2018-10-30 | Live broadcast room pendant display method and device, terminal and computer readable medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109462769B (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109947488A (en) * | 2019-03-19 | 2019-06-28 | 武汉斗鱼鱼乐网络科技有限公司 | Object initialization method, apparatus, equipment and the storage medium of general utility functions module |
CN110493629A (en) * | 2019-08-22 | 2019-11-22 | 北京达佳互联信息技术有限公司 | Cover pendant display methods, device, electronic equipment and storage medium is broadcast live |
CN111212314A (en) * | 2020-01-17 | 2020-05-29 | 广州华多网络科技有限公司 | Method and device for displaying special effect of virtual gift and electronic equipment |
CN111343493A (en) * | 2020-02-20 | 2020-06-26 | 北京达佳互联信息技术有限公司 | Live broadcast interface processing method and device, electronic equipment and storage medium |
CN112463017A (en) * | 2020-12-17 | 2021-03-09 | 中国农业银行股份有限公司 | Interactive element synthesis method and related device |
CN113157366A (en) * | 2021-04-01 | 2021-07-23 | 北京达佳互联信息技术有限公司 | Animation playing method and device, electronic equipment and storage medium |
WO2021169809A1 (en) * | 2020-02-28 | 2021-09-02 | 北京达佳互联信息技术有限公司 | Widget display method and apparatus |
CN113645508A (en) * | 2021-08-10 | 2021-11-12 | 北京读我科技有限公司 | Message output method, device and system |
CN115022699A (en) * | 2022-04-29 | 2022-09-06 | 北京达佳互联信息技术有限公司 | Business pendant display method and device, electronic equipment and storage medium |
CN117119259A (en) * | 2023-09-07 | 2023-11-24 | 北京优贝在线网络科技有限公司 | Scene analysis-based special effect self-synthesis system |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030070061A1 (en) * | 2001-09-28 | 2003-04-10 | Wong Hoi Lee Candy | Transformation of platform specific graphical user interface widgets migrated between heterogeneous device platforms |
US20120110480A1 (en) * | 2010-10-31 | 2012-05-03 | Sap Portals Israel Ltd | Method and apparatus for rendering a web page |
US20120253662A1 (en) * | 2009-11-05 | 2012-10-04 | Clarion Co., Ltd. | Information terminal device, information terminal management system, and storage medium in which program is stored |
CN107908336A (en) * | 2017-11-13 | 2018-04-13 | 平安科技(深圳)有限公司 | Method for refreshing, device, storage medium and the terminal of list control |
CN108228207A (en) * | 2016-12-22 | 2018-06-29 | 珠海金山办公软件有限公司 | control state updating method and device |
CN108712672A (en) * | 2018-04-28 | 2018-10-26 | 广州虎牙信息科技有限公司 | Virtual present shows processing method, device, storage medium and the server of material |
-
2018
- 2018-10-30 CN CN201811276096.9A patent/CN109462769B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030070061A1 (en) * | 2001-09-28 | 2003-04-10 | Wong Hoi Lee Candy | Transformation of platform specific graphical user interface widgets migrated between heterogeneous device platforms |
US20120253662A1 (en) * | 2009-11-05 | 2012-10-04 | Clarion Co., Ltd. | Information terminal device, information terminal management system, and storage medium in which program is stored |
US20120110480A1 (en) * | 2010-10-31 | 2012-05-03 | Sap Portals Israel Ltd | Method and apparatus for rendering a web page |
CN108228207A (en) * | 2016-12-22 | 2018-06-29 | 珠海金山办公软件有限公司 | control state updating method and device |
CN107908336A (en) * | 2017-11-13 | 2018-04-13 | 平安科技(深圳)有限公司 | Method for refreshing, device, storage medium and the terminal of list control |
CN108712672A (en) * | 2018-04-28 | 2018-10-26 | 广州虎牙信息科技有限公司 | Virtual present shows processing method, device, storage medium and the server of material |
Cited By (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109947488A (en) * | 2019-03-19 | 2019-06-28 | 武汉斗鱼鱼乐网络科技有限公司 | Object initialization method, apparatus, equipment and the storage medium of general utility functions module |
CN109947488B (en) * | 2019-03-19 | 2022-05-10 | 武汉斗鱼鱼乐网络科技有限公司 | Object initialization method, device, equipment and storage medium of universal function module |
CN110493629A (en) * | 2019-08-22 | 2019-11-22 | 北京达佳互联信息技术有限公司 | Cover pendant display methods, device, electronic equipment and storage medium is broadcast live |
CN110493629B (en) * | 2019-08-22 | 2021-12-07 | 北京达佳互联信息技术有限公司 | Live broadcast cover hanging part display method and device, electronic equipment and storage medium |
CN111212314A (en) * | 2020-01-17 | 2020-05-29 | 广州华多网络科技有限公司 | Method and device for displaying special effect of virtual gift and electronic equipment |
CN111343493A (en) * | 2020-02-20 | 2020-06-26 | 北京达佳互联信息技术有限公司 | Live broadcast interface processing method and device, electronic equipment and storage medium |
WO2021169809A1 (en) * | 2020-02-28 | 2021-09-02 | 北京达佳互联信息技术有限公司 | Widget display method and apparatus |
CN112463017B (en) * | 2020-12-17 | 2021-12-14 | 中国农业银行股份有限公司 | Interactive element synthesis method and related device |
CN112463017A (en) * | 2020-12-17 | 2021-03-09 | 中国农业银行股份有限公司 | Interactive element synthesis method and related device |
CN113157366A (en) * | 2021-04-01 | 2021-07-23 | 北京达佳互联信息技术有限公司 | Animation playing method and device, electronic equipment and storage medium |
CN113645508A (en) * | 2021-08-10 | 2021-11-12 | 北京读我科技有限公司 | Message output method, device and system |
CN113645508B (en) * | 2021-08-10 | 2023-09-19 | 北京读我科技有限公司 | Message output method, device and system |
CN115022699A (en) * | 2022-04-29 | 2022-09-06 | 北京达佳互联信息技术有限公司 | Business pendant display method and device, electronic equipment and storage medium |
CN117119259A (en) * | 2023-09-07 | 2023-11-24 | 北京优贝在线网络科技有限公司 | Scene analysis-based special effect self-synthesis system |
CN117119259B (en) * | 2023-09-07 | 2024-03-08 | 北京优贝在线网络科技有限公司 | Scene analysis-based special effect self-synthesis system |
Also Published As
Publication number | Publication date |
---|---|
CN109462769B (en) | 2021-03-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109462769A (en) | Direct broadcasting room pendant display methods, device, terminal and computer-readable medium | |
CN104935497B (en) | Communication session method and device | |
US9686329B2 (en) | Method and apparatus for displaying webcast rooms | |
CN104933084B (en) | A kind of method, apparatus and equipment for obtaining answer information | |
CN111385594B (en) | Virtual character interaction method, device and storage medium | |
CN113727130B (en) | Message prompting method, system and device for live broadcasting room and computer equipment | |
WO2014183427A1 (en) | Method and apparatus for displaying webcast rooms | |
CN105763420B (en) | A kind of method and device of automatic information reply | |
CN113825031A (en) | Live content generation method and device | |
US10885105B2 (en) | Image search based on message history | |
CN104079999A (en) | Video screenshot preview method and system used on smart television | |
AU2012225062A1 (en) | Method, system and computer storage medium for displaying microblog wall | |
CN109582904B (en) | Published content modification method, device, server, terminal and storage medium | |
CN111079529A (en) | Information prompting method and device, electronic equipment and storage medium | |
US9369536B1 (en) | Event-based user behavior timeline, predictions, and recommendations | |
CN109903359A (en) | A kind of display methods of particle, device, mobile terminal and storage medium | |
CN117041623A (en) | Digital person live broadcasting method and device | |
US9906485B1 (en) | Apparatus and method for coordinating live computer network events | |
CN105610849B (en) | Method and device for generating sharing label and method and device for displaying attribute information | |
CN114449301B (en) | Item sending method, item sending device, electronic equipment and computer-readable storage medium | |
US9229610B2 (en) | Methods and systems for visually forming relationships between electronic content | |
CN112804273B (en) | Multimedia content recommendation and interaction system and method under ubiquitous scene | |
CN109299240B (en) | Chat robot knowledge display method and device | |
US20160315885A1 (en) | Activity beacon | |
CN111897441A (en) | Expression adding method and device 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 |