CN108540818A - Direct broadcasting room footmark setting method, device, terminal and computer-readable medium - Google Patents
Direct broadcasting room footmark setting method, device, terminal and computer-readable medium Download PDFInfo
- Publication number
- CN108540818A CN108540818A CN201810291215.1A CN201810291215A CN108540818A CN 108540818 A CN108540818 A CN 108540818A CN 201810291215 A CN201810291215 A CN 201810291215A CN 108540818 A CN108540818 A CN 108540818A
- Authority
- CN
- China
- Prior art keywords
- icon
- current live
- priority
- footmark
- direct broadcasting
- 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/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/262—Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
- H04N21/26291—Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists for providing content or additional data updates, e.g. updating software modules, stored at the client
-
- 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/47—End-user applications
- H04N21/482—End-user interface for program selection
Abstract
The embodiment of the invention discloses a kind of direct broadcasting room footmark setting method, device, terminal and computer-readable medium, wherein this method to include:Icon between type and current live between current live between acquisition current live;The corresponding icon aggregate list of type between acquisition current live, the priority of icon between current live is determined according to icon aggregate list;By priority, icon is set as the footmark between current live between the current live of pre-set priority.A kind of direct broadcasting room footmark setting method, device, terminal and computer-readable medium provided in an embodiment of the present invention, reduce code redundancy, so that priority is judged more accurate quick, and simplify priority update step, reduce maintenance cost.
Description
Technical field
The present embodiments relate to data processing technique more particularly to a kind of direct broadcasting room footmark setting method, device, terminals
And computer-readable medium.
Background technology
With the fast development of internet and stream media technology, online live streaming application, which not only provides for main broadcaster, shows self
Platform, abundant in content, various informative live media data are also provided for spectators, therefore receive more and more users'
Like.After main broadcaster creates direct broadcasting room, spectators can ask to enter the direct broadcasting room, be uploaded with watching the corresponding main broadcaster of the direct broadcasting room
Live media data.
In general, may exist multiple icons in direct broadcasting room, for identifying the currently processed activity of the direct broadcasting room or direct broadcasting room
Type, such as can guess, draw a lottery, looking for me to represent with emperor recommending etc., however but only there are one footmark position outside direct broadcasting room,
Therefore, footmark controller needs the selection higher icon of priority to be shown as footmark.
Nowadays, generally icon is described by building entity class, the preferential of icon is contained in the entity class
Grade field information.In footmark controller before choosing the higher icon of priority, need to carry out the priority of multiple entity class
It writes, so as to cause code redundancy, and being readily incorporated problem keeps judgement priority abnormal.In addition, promoting mainly work in operation department
It is dynamic that the priority of icon needs correspondence to change in direct broadcasting room, needs to be updated multiple entity class at this time when changing,
To increase code maintenance time and efforts, maintenance cost is substantially increased.
Invention content
It can in view of this, an embodiment of the present invention provides a kind of direct broadcasting room footmark setting method, device, terminal and computers
Medium is read, code redundancy is reduced, so that priority is judged more accurate quick, and simplify priority update step, is reduced
Maintenance cost.
In a first aspect, an embodiment of the present invention provides a kind of direct broadcasting room footmark setting methods, including:
Icon between type and current live between current live between acquisition current live;
Obtain the corresponding icon aggregate list of type between the current live, determined according to the icon aggregate list described in
The priority of icon between current live;
By priority, icon is set as the footmark between the current live between the current live of pre-set priority.
Second aspect, an embodiment of the present invention provides a kind of direct broadcasting room footmarks, and device is arranged, including:
Direct broadcasting room data obtaining module is schemed between the current live between current live for obtaining between type and current live
Mark;
Priority Determination module, for obtaining the corresponding icon aggregate list of type between the current live, according to described
Icon aggregate list determines the priority of icon between the current live;
Footmark setup module, for icon to be set as described current straight between the current live of pre-set priority by priority
Footmark between broadcasting.
The third aspect, an embodiment of the present invention provides a kind of terminals, including:
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 footmark setting method as described in any embodiment of the present invention.
Fourth aspect, an embodiment of the present invention provides a kind of computer readable storage mediums, are stored thereon with computer journey
Sequence realizes the direct broadcasting room footmark setting method as described in any embodiment of the present invention when the program is executed by processor.
A kind of direct broadcasting room footmark setting method, device, terminal and computer-readable medium provided in an embodiment of the present invention, root
According to the corresponding icon aggregate list of type between current live, the priority of icon between current live is determined, and set according to priority
Direct broadcasting room footmark is set, code redundancy is reduced, priority is made to judge more accurate quick, and simplifies priority update step
Suddenly, reduce maintenance cost.
Description of the drawings
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 technology description to do one simply to introduce, it should be apparent that, the accompanying drawings in the following description is this hair
Some bright 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 footmark setting method flow chart that the embodiment of the present invention one provides;
Fig. 2 is a kind of direct broadcasting room footmark setting apparatus 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 implementation mode
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, technical scheme of the present invention is clearly and completely described 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
Go out the every other embodiment obtained under the premise of creative work, shall fall within the protection scope of the present invention.
Embodiment one
Fig. 1 is a kind of direct broadcasting room footmark setting method flow chart that the embodiment of the present invention one provides, and the present embodiment is applicable
In direct broadcasting room footmark is arranged the case where, this method can be realized by terminal, specifically can by software in terminal and/or hardware come
Implement.Referring to Fig. 1, which includes the following steps:
Icon between type and current live between current live between S110, acquisition current live.
Wherein, direct broadcasting room type is related to live streaming application, and the classification of the direct broadcasting room type of difference live streaming application is different,
For example, bucket fish live streaming is divided into network game sports, education of science and technology, positive energy and the areas Yan Zhi etc.;The live streaming of six rooms be divided into song area, dance area,
Merely area and retail shop etc.;Chinese prickly ash live streaming is divided into goddess, man god, dancing and game etc., these are only illustrative examples, it is intended to illustrate not
It is different with direct broadcasting room type in live streaming application, and the restriction not to direct broadcasting room type.Wherein, direct broadcasting room type can be in main broadcaster
It is arranged when creating direct broadcasting room, and can be modified by reserved inlet porting after creating direct broadcasting room.Wherein, each direct broadcasting room
A kind of direct broadcasting room type can uniquely be corresponded to.
Wherein, the set of the corresponding direct broadcasting room icon of each direct broadcasting room type, and different direct broadcasting room types pair
The set for the direct broadcasting room icon answered is different.Wherein, the set of certain corresponding direct broadcasting room icon of class direct broadcasting room type, it can be understood as
The collection of the corresponding whole direct broadcasting room icons of such direct broadcasting room type.Wherein, type is one in direct broadcasting room type between current live
Kind, and the collection of icon is combined into the subset of the set of the corresponding direct broadcasting room icon of type between current live between current live, that is,
Say the quantity of the corresponding whole direct broadcasting room icons of type between the quantity of icon between current live is less than or equal to current live.
Illustratively, the set of the corresponding direct broadcasting room icon of network game sports type can be { 1,2,3,4 }, and education of science and technology
The set of the corresponding direct broadcasting room icon of type can be { 1,2,4,5 }, and wherein different digital refers to different icons.Wherein, when
Preceding direct broadcasting room type is one kind in direct broadcasting room type, such as can be network game sports type, wherein icon between current live
Set can be { 1,2,3,4 } subset, such as can be { 1,2,3,4 }, { 1,2,3 }, { 1,2,4 }, { 2,3,4 }, 1,3,
4 }, { 1,3 }, { 2 }, { 4 } or empty set etc., it is numerous to list herein.
S120, the corresponding icon aggregate list of type between current live is obtained, is determined according to icon aggregate list current straight
Broadcast the priority of an icon.
Wherein it is possible to icon aggregate list is generated according to the set of the different corresponding direct broadcasting room icons of direct broadcasting room type,
An icon aggregate list is corresponded to per one kind direct broadcasting room type, and the different corresponding icon aggregate lists of direct broadcasting room type is not
Together.Wherein, include the precedence information of icon in icon aggregate list, it can be corresponding by searching for type between current live
Icon aggregate list determines the priority of icon between each current live.
Optionally, the priority of icon between current live is determined according to icon aggregate list, including:
Icon between traversal current live judges in icon aggregate list with the presence or absence of icon between current live;If so, in
The corresponding priority of icon between lookup current live in icon aggregate list;If it is not, then by the priority of icon between current live
It is set as default priority, default priority is less than the priority of any icon in icon aggregate list.
Wherein, icon is likely to be present between current live in the corresponding icon aggregate list of type between current live, and
When direct broadcasting room icon updates but icon aggregate list does not update, it is also possible to which icon is not present in current live between there is current live
Between situation in the corresponding icon aggregate list of type.To make the setting of direct broadcasting room footmark exception do not occur, can will not deposit at this time
It is between current live that icon is set as default priority between the current live of the corresponding icon aggregate list of type.
Illustratively, icon is 1,2 and 5 between current live, and between current live in the corresponding icon aggregate list of type
Icon is 1,2,3,4, and icon 5 is not present in icon aggregate list, then sets the priority of icon 5 to default priority,
And default priority is less than the priority of any icon in icon aggregate list.For example, the numerical priority value of icon 1,2,3,4 is
0,1,2,3, the wherein bigger priority of numerical value is higher, then the priority of icon 5 could be provided as sky between current live at this time, live streaming
Between footmark directly icon 5 is ignored when being arranged, icon 2 is then set as current more than icon 1 by 2 priority of icon that directly sorts
The footmark of direct broadcasting room.
The priority that icon between current live can be confirmed by icon aggregate list makes to reduce code redundancy
Priority judges more accurate quick, and list update is more convenient, is conducive to simplify priority update step, reduce
Maintenance cost.
S130, by priority, icon is set as the footmark between current live between the current live of pre-set priority.
Wherein, pre-set priority is highest priority under normal conditions, i.e., is the current straight of highest priority by priority
Broadcast the footmark that an icon is set as between current live.Wherein, highest priority can be that the corresponding numerical priority value of icon is maximum
Value, can also be the corresponding numerical priority value minimum value of icon, can also be special specified in the corresponding numerical priority value of icon
Fixed number value, research staff can be configured according to specifically used scene.For example, the numerical priority value of icon 1,2,3,4 is 0,1,
2,3, can be 3 corresponding icon 4 of numerical value be highest priority icon, can also be 0 corresponding icon 1 of numerical value be highest it is preferential
Grade icon can also be that 2 corresponding icon 3 of defined numerical value is the icon of highest priority.
In addition, priority can be corresponding with the sequence of icon in icon aggregate list, such as can be icon set row
The icon highest priority for sorting most preceding in table can also be the icon highest priority for sorting last in icon aggregate list,
It can also be the intermediate icon highest priority that sorts in icon aggregate list, do not limit herein.
Optionally, between the current live between obtaining current live between type and current live before icon, further include:
Build the icon data pond of enumeration type, wherein icon order is corresponding with priority orders in icon data pond;
Obtain the corresponding direct broadcasting room type of each icon in icon data pond;It is according to priority suitable by the icon of the same direct broadcasting room type of correspondence
Sequence is added in icon aggregate list, generates the corresponding icon aggregate list of each direct broadcasting room type.
Wherein, the icon data pond of enumeration type includes all icons in live streaming application, and each icon is enumeration object.
There are one-to-one relationships with enumerated value for enumeration object, that is to say, that the corresponding enumerated value of each icon all differs.Wherein,
The priority orders of icon can be determined according to enumerated value, such as can be that the bigger priority of enumerated value is bigger, can also be piece
The smaller priority of act value is bigger, does not limit herein, and so as to avoid priority, unanimously abnormal problem is arranged in caused footmark.
Wherein it is possible to by inquiring preset icon type table, the corresponding live streaming of each icon in icon data pond is determined
Between type.Wherein, a kind of icon can correspond to a kind of direct broadcasting room type, may correspond to a variety of direct broadcasting room types.
Wherein it is possible to which all icons that will belong to same direct broadcasting room type, it is straight to be added to such according to priority orders
It broadcasts in the corresponding icon aggregate list of a type.Wherein, overlapping can occur in icon present in different icons aggregate list
Situation.Wherein, according to priority icon is added to icon aggregate list by sequence, is more advantageous to the judgement of icon priority.
Wherein, the icon data pond of enumeration type is built, including:
Enum sentence builder icon datas pond is called, icon includes description information and resource text wherein in icon data pond
Part information.
Preferably, method of giving a definition such as may be used and design icon data pool:
Public enum Corner Tag{}。
Correspondingly, following constructed fuction, which may be used, defines icon:
Corner Tag(String info,int res)。
Wherein, what info was indicated is the description information of an icon, which, which can be used for debugging, uses or use
In the alias use for uniquely determining footmark information.Wherein, the res variables of int types can be used for the id value informations of markup resources.
Illustratively, guess icon can be defined as:
GUESS (" guess ", R.drawable.guess_icon)
Wherein, what GUESS was indicated is the enumeration object enumerated in class Corner Tag, i.e. icon.Wherein " guess "
What is indicated is the description information of icon, and what R.drawable.guess_icon was indicated is the resource file information of icon.
All icon informations are all programmed into Corner Tag classes in the same fashion, one can be formed
Icon data pond, store in the icon data pond in current application displaying and display in need icon information.
Optionally, it is determined between current live after the priority of icon according to icon aggregate list, further includes:
The idsplay order that server is sent is obtained, idsplay order includes icon information to be shown;
Correspondingly, icon is set as the footmark between current live between the current live of pre-set priority by priority, wrap
It includes:
Icon between the current live that screening and icon information to be shown match;Icon is excellent between the current live of screening
First grade is ranked up, and icon between the current live of default serial number is determined as the footmark between current live.
Wherein, the relevant information of at least one icon to be shown is included in icon information to be shown, such as can be at least
The description information of one icon.Wherein by icon between the current live filtered out, the size sequence of priority can be carried out, it can be with
The most preceding icon that sorts is determined as to the footmark of direct broadcasting room, the last icon that sorts can be also determined as to the footmark of direct broadcasting room.
Illustratively, icon is 1,2,3,4,5 between current live, and wherein priority value is 0,1,2,3,4, and priority value is got over
It is big to indicate that priority is higher, then the wherein highest priority of icon 5.It needs to show icon 2 and icon at this point, getting server
4, then the priority of icon 2 and icon 4 need to be only ranked up, and the icon 4 of sequence rearward is determined as between current live
Footmark.
Icon between the current live to be matched by icon information to be shown in screening and idsplay order, you can aobvious to needing
The icon shown carries out the restriction of further range, i.e., need not be modified to priority in icon aggregate list, and need to only lead to
Idsplay order is crossed, the update of footmark can be completed, to simplify priority update step, reduces maintenance cost.
Optionally, by priority be pre-set priority current live between icon be set as the footmark between current live it
Afterwards, further include:
The control instruction that server is sent is obtained, the type of control instruction is that special icon idsplay order or icon hiding refer to
It enables;It is replaced according to footmark of the type of icon information and control instruction in control instruction between current live or hidden
It hides.
Wherein, may include the description information or resource file information of special icon, the spy in special icon idsplay order
Determine icon to can reside between current live in the corresponding icon aggregate list of type, icon aggregate list can not also be present in
In.For example, during the Spring Festival, need mandatory when setting all direct broadcasting room footmarks to the Spring Festival special icon, specific pattern can be used
Mark idsplay order, the mandatory footmark replaced between current live.Wherein, it can also be instructed by icon hiding, it is mandatory to hide
Footmark between current live.
Illustratively, angle can be realized by calling set Visiable (true) and set Visiable (false)
The pressure display of mark mutation and hiding business function.
By being broadcast live the replacement of a footmark according to control instruction and hiding, to increase the setting of direct broadcasting room footmark
Diversity is not only conducive to footmark updating maintenance, while also greatly improving user experience.
Optionally, by priority be pre-set priority current live between icon be set as the footmark between current live it
Afterwards, further include:
The more new command that server is sent is obtained, more new command includes the fresh information of icon aggregate list;According to update
Information update icon aggregate list, and reset according to updated icon aggregate list the footmark between current live.
Wherein, more new command can be the update of icon in icon aggregate list, or suitable in icon aggregate list
The update of sequence, the i.e. update of priority.Icon aggregate list can be updated by more new command, is reset according to aggregate list
Footmark between current live simplifies priority update step, reduces maintenance cost.
Direct broadcasting room footmark setting method provided in this embodiment is arranged according to the corresponding icon set of type between current live
Table determines the priority of icon between current live, and direct broadcasting room footmark is arranged according to priority, reduces code redundancy, makes excellent
First grade judges more accurate quick, and simplifies priority update step, reduces maintenance cost.
Embodiment two
Fig. 2 is a kind of direct broadcasting room footmark setting apparatus structure schematic diagram provided by Embodiment 2 of the present invention, and the present embodiment can
It is arranged suitable for direct broadcasting room footmark.
Referring to Fig. 2, device is arranged in direct broadcasting room footmark in the present embodiment, including:
Direct broadcasting room data obtaining module 210, for obtaining between the current live between current live between type and current live
Icon;
Priority Determination module 220, for obtaining the corresponding icon aggregate list of type between current live, according to icon sets
Close the priority that list determines icon between current live;
Footmark setup module 230, for icon to be set as current straight between the current live of pre-set priority by priority
Footmark between broadcasting.
Optionally, Priority Determination module 220 includes:
Priority determination sub-module judges in icon aggregate list with the presence or absence of working as traversing icon between current live
Preceding direct broadcasting room icon;If so, searching the corresponding priority of icon between current live in icon aggregate list;If it is not, then will
The priority of icon is set as default priority between current live, and default priority is less than any icon in icon aggregate list
Priority.
Optionally, device is arranged in direct broadcasting room footmark, further includes:
Chart data pond builds module, the icon data pond for building enumeration type, wherein icon in icon data pond
Sequence is corresponding with priority orders;
Direct broadcasting room type acquisition module, for obtaining the corresponding direct broadcasting room type of each icon in icon data pond;
Icon set List Generating Module, the icon for same direct broadcasting room type will to be corresponded to, according to priority sequence addition
Into icon aggregate list, the corresponding icon aggregate list of each direct broadcasting room type is generated.
Wherein, icon data pond builds module, is specifically used for:Call enum sentence builder icon datas pond, wherein icon
Icon includes description information and resource file information in data pool.
Optionally, device is arranged in direct broadcasting room footmark, further includes:
Idsplay order acquisition module, the idsplay order for obtaining server transmission, idsplay order include icon to be shown
Information;
Correspondingly, footmark setup module 230, is specifically used for:The current live that screening matches with icon information to be shown
Between icon;The priority of icon is ranked up between the current live of screening, and icon between the current live of default serial number is determined
Footmark between current live.
Optionally, device is arranged in direct broadcasting room footmark, further includes:
The type of control instruction acquisition module, the control instruction for obtaining server transmission, control instruction is specific pattern
Mark idsplay order or icon hiding instruction;
Correspondingly, footmark setup module 230, is specifically used for:According to the icon information and control instruction in control instruction
Footmark of the type between current live be replaced or hide.
Optionally, device is arranged in direct broadcasting room footmark, further includes:
Update module, the more new command for obtaining server transmission, more new command include the update of icon aggregate list
Information;Icon aggregate list is updated according to fresh information, and current live is reset according to updated icon aggregate list
Between footmark.
Device is arranged in direct broadcasting room footmark provided in this embodiment, the direct broadcasting room footmark setting method 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
One advantageous effect having the same of embodiment.
Embodiment three
A kind of terminal is present embodiments provided, the setting of direct broadcasting room footmark is can be used for.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 footmark setting method 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, computer can perform journey
Sequence and module, such as the corresponding program instruction/module of direct broadcasting room footmark setting method in the embodiment of the present invention.Processor 310
Be stored in software program, instruction and module in memory 320 by operation, to execute the various function application of terminal with
And data processing, that is, realize above-mentioned direct broadcasting room footmark setting method.
Memory 320 can include mainly storing program area and storage data field, wherein storing program area can store operation system
Application program needed for system, at least one function;Storage data field 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 not limited to internet, intranet, LAN, mobile radio communication and combinations thereof.
The direct broadcasting room footmark setting method that the terminal that the present embodiment proposes is proposed with embodiment one 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
Advantageous effect.
Example IV
The present embodiment provides a kind of computer readable storage mediums, are stored thereon with computer program, which is handled
The direct broadcasting room footmark setting method proposed such as embodiment one is realized when device executes.
The direct broadcasting room footmark setting method category that the computer readable storage medium that the present embodiment proposes is 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
One advantageous effect having the same of embodiment.
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 the former is more in many cases
Good embodiment.Based on this understanding, technical scheme of the present invention substantially in other words contributes to the prior art
Part can be expressed in the form of software products, which can be stored in computer readable storage medium
In, such as the floppy disk of computer, read-only memory (Read-Only Memory, ROM), random access memory (Random
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 the method described in each embodiment of the present invention.
Note that above are only presently preferred embodiments of the present invention and institute's application technology principle.It will be appreciated by those skilled in the art that
The present invention is not limited to specific embodiments described here, can 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 to the present invention by above example
It is described in further detail, but the present invention is not limited only to above example, without departing from the inventive concept, also
May include other more equivalent embodiments, and the scope of the present invention is determined by scope of the appended claims.
Claims (10)
1. a kind of direct broadcasting room footmark setting method, which is characterized in that including:
Icon between type and current live between current live between acquisition current live;
The corresponding icon aggregate list of type between the current live is obtained, is determined according to the icon aggregate list described current
The priority of direct broadcasting room icon;
By priority, icon is set as the footmark between the current live between the current live of pre-set priority.
2. according to the method described in claim 1, it is characterized in that, it is described determined according to the icon aggregate list it is described current
The priority of direct broadcasting room icon, including:
Icon between the current live is traversed, is judged in the icon aggregate list with the presence or absence of icon between current live;
If so, searching the corresponding priority of icon between the current live in the icon aggregate list;
If it is not, then setting the priority of icon between the current live to default priority, the default priority is less than institute
State the priority of any icon in icon aggregate list.
3. according to the method described in claim 1, it is characterized in that, it is described acquisition current live between current live between type
Between current live before icon, further include:
Build the icon data pond of enumeration type, wherein icon order is corresponding with priority orders in the icon data pond;
Obtain the corresponding direct broadcasting room type of each icon in icon data pond;
It by the icon of the same direct broadcasting room type of correspondence, is according to priority sequentially added in icon aggregate list, generates each direct broadcasting room
The corresponding icon aggregate list of type.
4. according to the method described in claim 3, it is characterized in that, it is described structure enumeration type icon data pond, including:
Enum sentence builder icon datas pond is called, wherein icon includes description information and resource text in the icon data pond
Part information.
5. according to the method described in claim 1, it is characterized in that, working as according to described in icon aggregate list determination described
After the priority of preceding direct broadcasting room icon, further include:
The idsplay order that server is sent is obtained, the idsplay order includes icon information to be shown;
Correspondingly, icon is set as the footmark between the current live between the current live of pre-set priority by priority, wrap
It includes:
Icon between the current live that screening and the icon information to be shown match;
The priority of icon is ranked up between the current live of screening, and icon between the current live of default serial number is determined as institute
State the footmark between current live.
6. according to the method described in claim 1, it is characterized in that, scheming between the current live of pre-set priority by priority
Mark is set as after the footmark between the current live, further includes:
The control instruction that server is sent is obtained, the type of the control instruction is that special icon idsplay order or icon hiding refer to
It enables;
According to footmark of the type of icon information and the control instruction in the control instruction between the current live
It is replaced or hides.
7. according to the method described in claim 1, it is characterized in that, scheming between the current live of pre-set priority by priority
Mark is set as after the footmark between the current live, further includes:
The more new command that server is sent is obtained, the more new command includes the fresh information of icon aggregate list;
The icon aggregate list is updated according to the fresh information, and institute is reset according to updated icon aggregate list
State the footmark between current live.
8. device is arranged in a kind of direct broadcasting room footmark, which is characterized in that including:
Direct broadcasting room data obtaining module, for obtaining between the current live between current live icon between type and current live;
Priority Determination module, for obtaining the corresponding icon aggregate list of type between the current live, according to the icon
Aggregate list determines the priority of icon between the current live;
Footmark setup module, for icon to be set as between the current live between the current live of pre-set priority by priority
Footmark.
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 footmark setting method 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 footmark setting method as described in any in claim 1-7 is realized when execution.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810291215.1A CN108540818B (en) | 2018-04-03 | 2018-04-03 | Live broadcast room corner mark setting method and device, terminal and computer readable medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810291215.1A CN108540818B (en) | 2018-04-03 | 2018-04-03 | Live broadcast room corner mark setting method and device, terminal and computer readable medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108540818A true CN108540818A (en) | 2018-09-14 |
CN108540818B CN108540818B (en) | 2020-09-08 |
Family
ID=63482305
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810291215.1A Active CN108540818B (en) | 2018-04-03 | 2018-04-03 | Live broadcast room corner mark setting method and device, terminal and computer readable medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108540818B (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109271229A (en) * | 2018-09-30 | 2019-01-25 | 武汉斗鱼网络科技有限公司 | The method and apparatus that icon is shown based on mutual exclusion manager |
CN109309858A (en) * | 2018-09-30 | 2019-02-05 | 武汉斗鱼网络科技有限公司 | A kind of display methods, device, equipment and the medium of mutual exclusion icon |
CN109343758A (en) * | 2018-09-30 | 2019-02-15 | 武汉斗鱼网络科技有限公司 | The method and apparatus for showing icon by mutual exclusion manager |
CN109407922A (en) * | 2018-09-30 | 2019-03-01 | 武汉斗鱼网络科技有限公司 | A kind of control method that icon is shown, device, equipment and medium |
CN110971954A (en) * | 2018-09-30 | 2020-04-07 | 武汉斗鱼网络科技有限公司 | Method, device, equipment and medium for displaying icons at different positions |
CN111782101A (en) * | 2020-07-08 | 2020-10-16 | 网易(杭州)网络有限公司 | Display control method of live broadcast room, electronic device and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090132960A1 (en) * | 2007-11-21 | 2009-05-21 | Lg Electronics Inc. | Terminal, method of controlling the same and recording medium for the method |
CN101677375A (en) * | 2008-08-07 | 2010-03-24 | 索尼株式会社 | Display apparatus and display method |
CN105159661A (en) * | 2015-07-24 | 2015-12-16 | 小米科技有限责任公司 | Corner mark display method and apparatus for icon |
CN106648310A (en) * | 2016-11-17 | 2017-05-10 | 深圳市金立通信设备有限公司 | Icon loading method and terminal |
-
2018
- 2018-04-03 CN CN201810291215.1A patent/CN108540818B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090132960A1 (en) * | 2007-11-21 | 2009-05-21 | Lg Electronics Inc. | Terminal, method of controlling the same and recording medium for the method |
CN101677375A (en) * | 2008-08-07 | 2010-03-24 | 索尼株式会社 | Display apparatus and display method |
CN105159661A (en) * | 2015-07-24 | 2015-12-16 | 小米科技有限责任公司 | Corner mark display method and apparatus for icon |
CN106648310A (en) * | 2016-11-17 | 2017-05-10 | 深圳市金立通信设备有限公司 | Icon loading method and terminal |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109271229A (en) * | 2018-09-30 | 2019-01-25 | 武汉斗鱼网络科技有限公司 | The method and apparatus that icon is shown based on mutual exclusion manager |
CN109309858A (en) * | 2018-09-30 | 2019-02-05 | 武汉斗鱼网络科技有限公司 | A kind of display methods, device, equipment and the medium of mutual exclusion icon |
CN109343758A (en) * | 2018-09-30 | 2019-02-15 | 武汉斗鱼网络科技有限公司 | The method and apparatus for showing icon by mutual exclusion manager |
CN109407922A (en) * | 2018-09-30 | 2019-03-01 | 武汉斗鱼网络科技有限公司 | A kind of control method that icon is shown, device, equipment and medium |
CN110971954A (en) * | 2018-09-30 | 2020-04-07 | 武汉斗鱼网络科技有限公司 | Method, device, equipment and medium for displaying icons at different positions |
CN109407922B (en) * | 2018-09-30 | 2020-12-15 | 武汉斗鱼网络科技有限公司 | Icon display control method, device, equipment and medium |
CN109271229B (en) * | 2018-09-30 | 2021-11-09 | 武汉斗鱼网络科技有限公司 | Method and device for displaying icon based on mutual exclusion manager |
CN110971954B (en) * | 2018-09-30 | 2022-06-17 | 武汉斗鱼网络科技有限公司 | Method, device, equipment and medium for displaying icons at different positions |
CN111782101A (en) * | 2020-07-08 | 2020-10-16 | 网易(杭州)网络有限公司 | Display control method of live broadcast room, electronic device and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN108540818B (en) | 2020-09-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108540818A (en) | Direct broadcasting room footmark setting method, device, terminal and computer-readable medium | |
CN107569848B (en) | Game classification method and device and electronic equipment | |
JP6026169B2 (en) | Program, recording medium, information processing apparatus, and control method | |
CN110209843A (en) | Multimedia resource playback method, device, equipment and storage medium | |
CN111385594B (en) | Virtual character interaction method, device and storage medium | |
US20220086522A1 (en) | Display method, display terminal and non-transitory computer readable storage medium | |
CN108777806B (en) | User identity recognition method, device and storage medium | |
CN104182232A (en) | Method for establishing context-aware applications and user terminal | |
CN113617034B (en) | Array capacity recommendation method, device, equipment and computer readable storage medium | |
CN109582904B (en) | Published content modification method, device, server, terminal and storage medium | |
CN115685765A (en) | Equipment linkage scheme recommendation method, equipment and medium | |
CN103763587A (en) | Method and device for playing multimedia data | |
CN114286156A (en) | Live broadcast interaction method and device, storage medium and computer equipment | |
CN108829486B (en) | Background setting method, device, equipment and storage medium | |
CN113810777B (en) | Playing method and device | |
CN107609065B (en) | A kind of game classification method, apparatus and electronic equipment | |
CN103561289A (en) | Interface configuration method and device | |
CN105903191A (en) | Data processing method and system across terminals | |
CN104837065A (en) | Television terminal-to-mobile terminal two-dimensional code information sharing method and system | |
CN110575670A (en) | Game data configuration strategy generation method and related product | |
CN115562556A (en) | Interface display method, device, terminal and storage medium | |
CN206183959U (en) | Game station and interaction system | |
CN109992178A (en) | Control method, device, storage medium and the electronic device of target element | |
CN107087215A (en) | The application process and device of identification code | |
CN113158029A (en) | Content display method and device and computer readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |