A kind of live room information methods of exhibiting and system
Technical field
The present invention relates to net cast technical field, more particularly, to a kind of live room information methods of exhibiting and it is
System.
Background technology
Net cast is as a kind of social mode of Novel Internet, and known to more people, it is it is intended that user
The conveniently video sharing service whenever and wherever possible of offer.Each net cast room is searched engine as a url
Included, the quantity that the searched engine in a net cast website includes url is more, and the time included is faster, it was demonstrated that this website
It is more friendly to search engine, so that the user that the net cast website is easier searched engine is searched, improve
User's clicking rate of the net cast website, and then improve website promotion and publicity.
In most of net cast websites, each net cast room belongs to the room classes of different stage, respectively
Room and the room classes at different levels belonging to it all include the text information field such as respective title, keyword and description information.
However, the related keyword information field majority in live room is initial setting up in the prior art, initial live room key message
The setting of field is unfavorable for the searched engine in each room and included, and then is unfavorable for the popularization and publicity of webcast website.
The content of the invention
The present invention is overcomes above mentioned problem or solves the above problems that there is provided a kind of live room information exhibition at least in part
Show method and system.
According to an aspect of the present invention there is provided a kind of live room information methods of exhibiting, based on the live room page
Dynamic refresh mechanism, carries out live room information displaying, comprises the following steps:
Step 1, the room classes at different levels numbering belonging to the live room is obtained based on live room number;
Step 2, based on the room classes at different levels numbering belonging to the live room number and the live room, institute is obtained
State live room and all kinds of text informations corresponding to room classes at different levels belonging to the live room;
Step 3, based on all kinds of texts corresponding to the room classes at different levels belonging to the live room and the live room
Word information, rule is shown using live room information, is selected all kinds of text informations in the live room and is shown.
Further, also include before the step 1:By the rooms at different levels belonging to the live room number, the live room
Between all kinds of text informations corresponding to room classes at different levels described in classifying and numbering, the live room and the live room close
Stored in the server after connection.
Further, the live room and text information corresponding to room classes at different levels belonging to the live room be extremely
Include less:Caption text information, keyword text information and descriptive text information.
Further, the live room information displaying rule further comprises:
When there is non-NULL caption text information in the room classes at different levels belonging to the live room and the live room
When, any one of non-NULL caption text information is selected as the caption text information in the live room;
Believe when there is non-NULL keyword text in the room classes at different levels belonging to the live room and the live room
During breath, any one of non-NULL keyword text information is selected as the keyword text information in the live room;
When there is non-NULL descriptive text information in the room classes at different levels belonging to the live room and the live room
When, any one of non-NULL descriptive text information is selected as the descriptive text information in the live room.
Further, the live room information displaying rule further comprises:
According to the order of the room classes ranks at different levels belonging to current live room, the live room from low to high, according to
It whether there is non-NULL caption text information in room classes at different levels belonging to the secondary judgement live room and the live room;
If there is non-NULL caption text information, using first non-NULL heading message as the live room caption text information;
According to the order of the room classes ranks at different levels belonging to current live room, the live room from low to high, according to
With the presence or absence of non-NULL keyword text letter in room classes at different levels belonging to the secondary judgement live room and the live room
Breath;If there is non-NULL keyword text information, using first non-NULL key word information as the live room keyword
Text information;
According to the order of the room classes ranks at different levels belonging to current live room, the live room from low to high, according to
It whether there is non-NULL descriptive text information in room classes at different levels belonging to the secondary judgement live room and the live room;
If there is non-NULL descriptive text information, using first non-NULL description information as the live room descriptive text information.
Further, also include after the step 3:Do not include when in the live room and the live affiliated classification at different levels
When caption text information, keyword text information and/or descriptive text information, the caption text information, keyword text are selected
Caption text information, keyword text information of the preset value of word information and/or descriptive text information as the live room
And/or descriptive text information.
Further, the step 2 further comprises:Based on each belonging to the live room number and the live room
Level room classes numbering, finds the live room and the heading-text corresponding to room classes at different levels belonging to the live room
Word information, keyword text information and descriptive text information.
Further, the live room number and the room classes numbering associated storages at different levels belonging to the live room exist
Step in database further comprises:Room classes at different levels belonging to the live room number, the live room are compiled
Number, the live room and all kinds of text informations corresponding to room classes at different levels described in the live room are with Redis
The form of hash mapping tables is stored after being associated.
Further, the dynamic refresh mechanism of the live room page further comprises:The live room page repeatedly
For flush mechanism and/or the live flush mechanism of the room page based on user request information.
According to a further aspect of the present invention there is provided a kind of live room information display systems, based on the live room page
Dynamic refresh mechanism, carries out live room information displaying, including classifying and numbering acquisition module, text information acquisition module and selection
Display module:
The classifying and numbering acquisition module is connected with the text information acquisition module, for being obtained based on live room number
The room classes at different levels belonging to the live room are taken to number;
The text information acquisition module respectively with the numbering acquisition module, selection display module be connected, for based on
Room classes at different levels numbering belonging to the live room number and the live room, obtains the live room and described straight
Broadcast all kinds of text informations corresponding to the room classes at different levels belonging to room;
The selection display module is connected with the text information acquisition module, for based on the live room and described
All kinds of text informations corresponding to room classes at different levels belonging to live room, rule, selection are shown using live room information
All kinds of text informations in the live room are simultaneously shown.
The application proposes a kind of live room information methods of exhibiting and system, and the present invention has increases live room text in real time
Word information diversity, and then increase net cast website can be searched the quantity that engine is included, and then cause belonging to it
Net cast website is preferably expanded with publicizing.
Brief description of the drawings
Fig. 1 is according to a kind of overall procedure schematic diagram of live room information methods of exhibiting of the embodiment of the present invention;
Fig. 2 is according to a kind of overall framework schematic diagram of live room information display systems of the embodiment of the present invention;
Fig. 3 is according to a kind of structural framing schematic diagram of the equipment of live room information methods of exhibiting of the embodiment of the present invention.
Embodiment
With reference to the accompanying drawings and examples, the embodiment to the present invention is described in further detail.Implement below
Example is used to illustrate the present invention, but is not limited to the scope of the present invention.
In Fig. 1, show in a specific embodiment of the invention, a kind of live room information methods of exhibiting overall flow signal
Figure.Generally, the dynamic refresh mechanism based on the live room page, carries out live room information displaying, comprises the following steps:
Step 1, the room classes at different levels numbering belonging to the live room is obtained based on live room number;
Step 2, based on the room classes at different levels numbering belonging to the live room number and the live room, institute is obtained
State live room and all kinds of text informations corresponding to room classes at different levels belonging to the live room;
Step 3, based on all kinds of texts corresponding to the room classes at different levels belonging to the live room and the live room
Word information, rule is shown using live room information, is selected all kinds of text informations in the live room and is shown.
In another of the invention specific embodiment, a kind of live room information methods of exhibiting is also wrapped before the step 1
Include:By the room classes at different levels numbering belonging to the live room number, the live room, the live room and described straight
Stored in the server after broadcasting the association of all kinds of text informations corresponding to the room classes at different levels described in room.In this specific implementation
In example, by room classes at different levels numbering, the live room and the institute belonging to the live room number, the live room
State all kinds of text informations corresponding to the room classes at different levels described in live room and facilitate mutual lookup, it is necessary to set up above-mentioned
The mutual incidence relation of information is stored in the server so as to quick lookup.
In another of the invention specific embodiment, a kind of live room information methods of exhibiting, the live room and institute
Stating the text information corresponding to the room classes at different levels belonging to live room at least includes:Caption text information, keyword text
Information and descriptive text information.In the specific embodiment of the invention, above-mentioned three kinds of text informations are given, are also current major straight
Most text informations included in each live room of website are broadcast, but are not limited in the specific embodiment of the invention using upper
Three kinds of text informations are stated as the word corresponding to the room classes at different levels belonging to the live room and the live room to believe
The refinement of breath.
In another specific embodiment of the invention, a kind of live room information methods of exhibiting, the live room information
Displaying rule further comprises:
When there is non-NULL caption text information in the room classes at different levels belonging to the live room and the live room
When, any one of non-NULL caption text information is selected as the caption text information in the live room;
Believe when there is non-NULL keyword text in the room classes at different levels belonging to the live room and the live room
During breath, any one of non-NULL keyword text information is selected as the keyword text information in the live room;
When there is non-NULL descriptive text information in the room classes at different levels belonging to the live room and the live room
When, any one of non-NULL descriptive text information is selected as the descriptive text information in the live room.
In the specific embodiment of the invention, first to above-mentioned three kinds present in the live room and room classes at different levels
Whether text information is that null value is judged, and three judgment steps of the present embodiment do not have the priority in sequential to require, such as
When fruit confirms text information all kinds of comprising non-NULL, one is respectively randomly selected from all kinds of non-NULL text informations as described straight
Broadcast the corresponding text information in room.Judgment rule in the specific embodiment of the invention can effectively cause the live room text
The displaying of word information is more diversified, so as to play the beneficial effect that searched engine is captured well.
In another specific embodiment of the invention, a kind of live room information methods of exhibiting, the live room information
Displaying rule further comprises:
According to the order of the room classes ranks at different levels belonging to current live room, the live room from low to high, according to
It whether there is non-NULL caption text information in room classes at different levels belonging to the secondary judgement live room and the live room;
If there is non-NULL caption text information, using first non-NULL heading message as the live room caption text information;
According to the order of the room classes ranks at different levels belonging to current live room, the live room from low to high, according to
With the presence or absence of non-NULL keyword text letter in room classes at different levels belonging to the secondary judgement live room and the live room
Breath;If there is non-NULL keyword text information, using first non-NULL key word information as the live room keyword
Text information;
According to the order of the room classes ranks at different levels belonging to current live room, the live room from low to high, according to
It whether there is non-NULL descriptive text information in room classes at different levels belonging to the secondary judgement live room and the live room;
If there is non-NULL descriptive text information, using first non-NULL description information as the live room descriptive text information.
In this specific embodiment of the invention, a kind of rule different from given by a upper specific embodiment is given:Press
Rank according to the room classes at different levels described in the live room, the live room judges the various word letters from low to high
Breath whether non-NULL, more refined due to the lower text information of category level, can more react the true content in the live room, institute
Using according to above-mentioned judgement order take first non-NULL text information as the live room corresponding text information be one kind very
Good selection.
In another of the invention specific embodiment, a kind of live room information methods of exhibiting is also wrapped after the step 3
Include:When the live room and it is described it is live belonging to do not include in classification at different levels caption text information, keyword text information and/
Or during descriptive text information, select the preset value of the caption text information, keyword text information and/or descriptive text information
It is used as the caption text information, keyword text information and/or descriptive text information in the live room.
This specific embodiment give when it is above-mentioned it is various selection rule judgment it is complete after, finally found that in the text information
It is one or more and when in the absence of non-NULL content, it is necessary to call default analog value as the corresponding word in the live room
Content.
In another specific embodiment of the invention, a kind of live room information methods of exhibiting, the step 2 is further wrapped
Include:Based on the room classes at different levels numbering belonging to the live room number and the live room, the live room is found
With the caption text information corresponding to the room classes at different levels belonging to the live room, keyword text information and descriptive text
Information.
In another specific embodiment of the invention, a kind of live room information methods of exhibiting, the live room number
Further comprise with step of the room classes numbering associated storages at different levels in database belonging to the live room:Will be described
Room classes at different levels numbering, the live room and the live room institute belonging to live room number, the live room
All kinds of text informations corresponding to room classes at different levels stated are stored after being associated in the form of Redis hash mapping tables.
In the specific embodiment of the invention, Redis-hash is the field and value of a string type mapping
Table, is a kind of mode of storage organization in redis, he can on demand be asked for for field.Pass through redis's
Hash structures, can disposably obtain out all desired all kinds of text informations, reduce the number of times of network request.
In another of the invention specific embodiment, a kind of live room information methods of exhibiting selects institute in the step 3
Stating live room needs the keyword of displaying and further comprises the step of being shown:Under php development environments, echo is utilized
Live room needs the keyword shown to be shown described in () function pair.Echo is carry in php LISP program LISPs a kind of defeated
Go out method, the function performance is the one or more character strings of output.
In another specific embodiment of the invention, a kind of live room information methods of exhibiting, the live room page
Dynamic refresh mechanism further comprise:The iteration flush mechanism of the live room page and/or the live room page
Flush mechanism based on user request information.
The iteration flush mechanism of the live room page refers in web page or the software page where the live room,
The page with live video play and customer interaction information repeat feedback procedure activity, its purpose be typically in time more
The information of the new live page." iteration " is referred to as once to the process that live page updates each time, and iteration is obtained each time
The result arrived can as page iteration next time initial value.
Live flush mechanism of the room page based on user request information refers to, during the live room displaying, institute
Solicited message of the live page based on user is stated, the mechanism of part or all of refresh page is carried out to the live page.
In another specific embodiment of the invention, a kind of live room information methods of exhibiting.The live room information
Methods of exhibiting is as follows in detail:
Net cast website web terminal needs to title, the keywords in each room page in an iterative process,
The text informations such as description are configured, and need dynamic according to the affiliated first-level class in room, secondary classification, three
Level classifies to be adjusted, if the title that background server is classified for room, first-level class, secondary classification, three-level,
Keywords, description are configured, it then follows room>Three-level is classified>Secondary classification>The principle of first-level class shows
Title, keywords, description.
Institute roomed title, keywords, description is identical in the prior art, is unfavorable for search and draws
That holds up includes.
This specific embodiment, a kind of title of the live dynamic configuration room of room information methods of exhibiting, keywords,
The text informations such as description, it is to avoid unicity, the uniformity of live room text information, Jin Erti in original scheme
High website title, keywords and description diversity, can more preferable including beneficial to search engine,
Increase the general light rate of website.
In this specific embodiment, when user enter room after, server can be obtained out according to room number room one, two,
The id, abbreviation cid1, cid2, cid3 below of three-level classification.Server selects displaying to need by customized a set of flow
Title, keywords, the description to be shown.
Because the function point of demand is that the interface display of front end can be configured by backstage.If background server is directed to
Room, first-level class, secondary classification, the title of three-level classification, keywords, description are configured, it then follows room>
Three-level is classified>Secondary classification>The principle of first-level class shows title, keywords, description.If do not matched somebody with somebody
Put, then title, keywords, the description for needing displaying to give tacit consent to
In order to support the control of backstage dynamic configuration, and can according to classification come oneself selection title,
Self-defined a set of selection flow in keywords and description, this programme, being capable of dynamic configuration page by the flow
Title, keywords and the description in face.When user enters direct broadcasting room, server can be obtained out according to room number
The id, abbreviation cid1, cid2, cid3 below of one, two, three classification in room.Server passes through customized a set of flow
Title, keywords, the description shown to select displaying to need.
Technical scheme needs what is shown in order to the discrimination room for making background server more friendly in this specific embodiment
Title, keywords, description, self-defined a set of flow, controlled for specially room title,
keywords、description.This agreement comprising 3 parts, implements step as follows altogether:
First, cid1, cid2, the cid3 in room are obtained;
Specifically, cid1, the cid2 in room are obtained by customizing method getRoomInfo ($ field, $ roomId),
Cid3 information, wherein $ field is need the field name set taken, and $ roomId are room numbers.
getRoomInfo:It is a kind of customized method in a program, for obtaining the data in room, room information is
It is stored in redis, this method is gone and a kind of customized method in order to which room data is taken out from redis, only
Used in present procedure, $ field are the set for the field name that needs are gone, and $ roomId are room numbers.
Above-mentioned steps dynamic access room information, reducing the output of flow, can fast and effectively to obtain out room corresponding
Information (main here to obtain cid1, cid2, cid3).
Secondly, obtain room in itself and the corresponding title of cid1, cid2, cid3 in room, keywords,
description;
Specifically, obtaining out room, according to each corresponding key value, room by the redis-hash structures set
Key value be room_ $ roomid, one-level, two grades, classify corresponding key value of three-level be respectively one_ $ id, two_ $ id,
Three_ $ id, method hMget () is carried by redis come obtain the corresponding title of room cid1, cid2, cid3,
keywords、description。
Redis-hash:Redis hash are the field and value of a string type mapping table, in being redis
A kind of storage organization mode, he can on demand be asked for for field
Example room number is that 401, cid1 is that 10, cid2 is that 11, cid3 is 14, then corresponding key value is respectively:room_
401,one_10,two_11,three_14,hMget(array(‘room_401’,’one_10’,’tw o_11’,’three_
14’))。
Above-mentioned steps by redis hash structures, can disposably obtain out all desired title,
Keywords, description, reduce the number of times of network request.
Again, according to sequencing room>cid3>cid2>Cid1 standard, therefrom match need show title,
keywords、description。
Specifically, default value is carried out to title, keywords, description respectively first, then according to room
The priority of rank carries out dynamically distributes to judge to title, keywords, description.
Above-mentioned steps returned data is simple, title, keywords, description required for direct back page,
Other unnecessary title, keywords, description are abandoned, it is ensured that the legitimacy of data.
Finally, the output at interface:
Specifically, the title, the keywords that are finally shown in above the page can be got by previous step,
description。
The output work echo that caller is carried can be by title, keywords, description output on the page.
Echo is a kind of output intent carried in php LISP program LISPs, and the function performance is the one or more characters of output
String.
Above-mentioned steps 1, obtain result and directly export, without any Asynchronous Request, reduce the pressure of server;2nd, tied
Fruit directly exports, and the page is rendered faster, it is not necessary to wait;3rd, it is more beneficial for the caching of the page.
It is dynamic to obtain in a kind of live room information methods of exhibiting specific embodiment in still another embodiment of the present invention
Illustrated exemplified by state configuration title, the acquisition modes of keywords, description dynamic configuration are similar.
Implementation process in above-mentioned specific implementation is customized for getRoomTdk ($ roomid), when the page is initialized, this
Three customizing methods are called to obtain last display title, keywords, description in method respectively, they are respectively
GetLastTitle, getLastKeys (), getLastDes (), title, keywords required for then directly returning,
Description, returning result is such as:
{
Title:’1111’,
Keywords:’22222’,
Description:’333333’
}
Example:Room number is 401, when calling getRoomTdk (401), can be obtained according in the flow of Protocol Design in 1
Room title, keywords, description;
By taking title as an example:If room title is roomtitle, cid1 title is title1, and cid2 title is
Title2, Cid3 title are title3, then flow judgement are carried out to title, according to customizing method getLastTitle
(roomtitle, title1, title2, title3) come judge need show title.
Next getLastTitle function implementation method is analyzed.
The function of getLastTitle functions:The function major function is to obtain finally to need to be shown on the page
title。
Judge process analysis:
1st, if (roomtitle are passed through!=") judge whether roomtitle is empty, if not to return if empty
Roomtitle is as the title being finally shown in above the page, otherwise into 2;
2nd, if (title1 are passed through!=") judge whether title1 is empty, if not to return to title1 as most if empty
The title above the page is shown in afterwards, otherwise into 3;
3rd, if (title3 are passed through!=") judge whether title3 is empty, if not to return to title3 as most if empty
The title above the page is shown in afterwards, otherwise into 4;
4th, if (title3 are passed through!=") judge whether title3 is empty, if not to return to title3 as most if empty
The title above the page is shown in afterwards, otherwise terminates to judge, to give tacit consent to title as the title being finally shown on the page;
With above-mentioned flow, when keywords, description is obtained customizing method getLastKeys (),
GetLastDes () obtains the last keywords and description being illustrated on the page.
Above-mentioned specific embodiment:1st, initialization definitions acquiescence title, after judgement if roomtitle, title1,
Title2, title3 to title again assignment, need not save the flow of program when being not present.2nd, the step is at most only needed
4 judgements are carried out, the number of times that can be judged in the case where title is met with the reduction of high degree.3rd, the envelope of function is passed through
Dress, simply call later getRoomTdk () can just be rapidly obtained need to be shown in title above the page,
keywords、description.4th, returning result is clear, and obtained result can directly be used without secondary operation,
The time of program output is saved.
Such as Fig. 2, in another specific embodiment of the invention, a kind of live room information display systems, based on live room
Between the page dynamic refresh mechanism, carry out live room information displaying, including classifying and numbering acquisition module A, text information are obtained
Modules A 2 and selection display module A3:
The classifying and numbering acquisition module A1 is connected with the text information acquisition module A2, for being compiled based on live room
Number obtain the room classes at different levels numbering belonging to the live room;
The text information acquisition module A2 is connected with the numbering acquisition module A1, selection display module A3 respectively, uses
In based on the room classes at different levels numbering belonging to the live room number and the live room, obtain the live room and
All kinds of text informations corresponding to room classes at different levels belonging to the live room;
The selection display module A3 is connected with the text information acquisition module A2, for based on the live room and
All kinds of text informations corresponding to room classes at different levels belonging to the live room, rule is shown using live room information,
Select all kinds of text informations in the live room and be shown.
In another specific embodiment of the invention, a kind of live room information display systems, in addition to memory module, use
In by the room classes at different levels numbering belonging to the live room number, the live room, the live room and described straight
Stored in the server after broadcasting the association of all kinds of text informations corresponding to the room classes at different levels described in room.
In another of the invention specific embodiment, a kind of live room information display systems, the live room and institute
Stating the text information corresponding to the room classes at different levels belonging to live room at least includes:Caption text information, keyword text
Information and descriptive text information.
In another specific embodiment of the invention, a kind of live room information display systems, the live room information
Displaying rule further comprises:
When there is non-NULL caption text information in the room classes at different levels belonging to the live room and the live room
When, any one of non-NULL caption text information is selected as the caption text information in the live room;
Believe when there is non-NULL keyword text in the room classes at different levels belonging to the live room and the live room
During breath, any one of non-NULL keyword text information is selected as the keyword text information in the live room;
When there is non-NULL descriptive text information in the room classes at different levels belonging to the live room and the live room
When, any one of non-NULL descriptive text information is selected as the descriptive text information in the live room.
The above three judgment step of present invention specific implementation embodiment does not have the priority requirement in sequential.
In another specific embodiment of the invention, a kind of live room information display systems, the live room information
Displaying rule further comprises:
According to the order of the room classes ranks at different levels belonging to current live room, the live room from low to high, according to
It whether there is non-NULL caption text information in room classes at different levels belonging to the secondary judgement live room and the live room;
If there is non-NULL caption text information, using first non-NULL heading message as the live room caption text information;
According to the order of the room classes ranks at different levels belonging to current live room, the live room from low to high, according to
With the presence or absence of non-NULL keyword text letter in room classes at different levels belonging to the secondary judgement live room and the live room
Breath;If there is non-NULL keyword text information, using first non-NULL key word information as the live room keyword
Text information;
According to the order of the room classes ranks at different levels belonging to current live room, the live room from low to high, according to
It whether there is non-NULL descriptive text information in room classes at different levels belonging to the secondary judgement live room and the live room;
If there is non-NULL descriptive text information, using first non-NULL description information as the live room descriptive text information.
In another specific embodiment of the invention, a kind of live room information display systems, in addition to presetting module, use
In when the live room and it is described it is live belonging to do not include in classification at different levels caption text information, keyword text information and/
Or during descriptive text information, select the preset value of the caption text information, keyword text information and/or descriptive text information
It is used as the caption text information, keyword text information and/or descriptive text information in the live room.
In another specific embodiment of the invention, a kind of live room information display systems, the text information is obtained
Module is additionally operable to, based on the room classes at different levels numbering belonging to the live room number and the live room, find described straight
Broadcast room and caption text information corresponding to room classes at different levels belonging to the live room, keyword text information and retouch
State text information.
In another specific embodiment of the invention, a kind of live room information display systems, the memory module is also used
In by the room classes at different levels numbering belonging to the live room number, the live room, the live room and described straight
All kinds of text informations corresponding to the room classes at different levels described in room are broadcast to be associated in the form of Redis hash mapping tables
After store.In another specific embodiment of the invention, a kind of live room information display systems,
In another specific embodiment of the invention, a kind of live room information display systems, the selection display module
It is additionally operable under php development environments, needs the keyword shown to be shown using live room described in echo () function pair.
In another specific embodiment of the invention, a kind of live room information display systems, the live room page
Dynamic refresh mechanism further comprise:The iteration flush mechanism of the live room page and/or the live room page
Flush mechanism based on user request information.
The iteration flush mechanism of the live room page refers in web page or the software page where the live room,
The page with live video play and customer interaction information repeat feedback procedure activity, its purpose be typically in time more
The information of the new live page." iteration " is referred to as once to the process that live page updates each time, and iteration is obtained each time
The result arrived can as page iteration next time initial value.
Live flush mechanism of the room page based on user request information refers to, during the live room displaying, institute
Solicited message of the live page based on user is stated, the mechanism of part or all of refresh page is carried out to the live page.
Fig. 3 shows the structured flowchart of the equipment of the live room information methods of exhibiting of the embodiment of the present application.
Reference picture 3, the equipment of the live room information methods of exhibiting, including:Processor (processor) 301, storage
Device (memory) 302, communication interface (Communications Interface) 303 and bus 304;
Wherein,
The processor 301, memory 302, communication interface 303 complete mutual communication by the bus 304;
The information that the communication interface 303 is used between the equipment and the communication equipment of live room information methods of exhibiting is passed
It is defeated;
The processor 301 is used to call the programmed instruction in the memory 302, to perform above-mentioned each method embodiment
The method provided, for example including:Step 1, the rooms at different levels point belonging to the live room are obtained based on live room number
Class is numbered;Step 2, based on the room classes at different levels numbering belonging to the live room number and the live room, institute is obtained
State live room and all kinds of text informations corresponding to room classes at different levels belonging to the live room;Step 3, based on described
All kinds of text informations corresponding to room classes at different levels belonging to live room and the live room, utilize live room information
Displaying rule, selects all kinds of text informations in the live room and is shown.
The present embodiment discloses a kind of computer program product, and the computer program product includes being stored in non-transient calculating
Computer program on machine readable storage medium storing program for executing, the computer program includes programmed instruction, when described program instruction is calculated
When machine is performed, computer is able to carry out the method that above-mentioned each method embodiment is provided, such as dynamic based on the live room page
State flush mechanism, carries out live room information displaying, comprises the following steps:Step 1, obtain described straight based on live room number
Broadcast the room classes at different levels numbering belonging to room;Step 2, based on each belonging to the live room number and the live room
Level room classes numbering, all kinds of texts corresponding to room classes at different levels belonging to the acquisition live room and the live room
Word information;Step 3, based on all kinds of words corresponding to the room classes at different levels belonging to the live room and the live room
Information, rule is shown using live room information, is selected all kinds of text informations in the live room and is shown.
The present embodiment provides a kind of non-transient computer readable storage medium storing program for executing, the non-transient computer readable storage medium storing program for executing
Computer instruction is stored, the computer instruction makes the computer perform the method that above-mentioned each method embodiment is provided, example
Dynamic refresh mechanism such as based on the live room page, carries out live room information displaying, comprises the following steps:Step 1, it is based on
Live room number obtains the room classes at different levels numbering belonging to the live room;Step 2, based on the live room number
Numbered with the room classes at different levels belonging to the live room, it is at different levels belonging to the acquisition live room and the live room
All kinds of text informations corresponding to room classes;Step 3, based on the rooms at different levels belonging to the live room and the live room
Between classify corresponding all kinds of text informations, utilize live room information displaying rule, select all kinds of texts in the live room
Word information is simultaneously shown.
One of ordinary skill in the art will appreciate that:Realizing all or part of step of above method embodiment can pass through
Programmed instruction related hardware is completed, and foregoing program can be stored in a computer read/write memory medium, the program
Upon execution, the step of including above method embodiment is performed;And foregoing storage medium includes:ROM, RAM, magnetic disc or light
Disk etc. is various can be with the medium of store program codes.
The embodiments such as the equipment of live room information methods of exhibiting described above are only schematical, wherein described
The unit illustrated as separating component can be or may not be physically separate, and the part shown as unit can be with
It is or may not be physical location, you can with positioned at a place, or can also be distributed on multiple NEs.Can
To select some or all of module therein to realize the purpose of this embodiment scheme according to the actual needs.This area is common
Technical staff is not in the case where paying performing creative labour, you can to understand and implement.
Through the above description of the embodiments, those skilled in the art can be understood that each embodiment can
Realized by the mode of software plus required general hardware platform, naturally it is also possible to pass through hardware.Understood based on such, on
The part that technical scheme substantially in other words contributes to prior art is stated to embody in the form of software product, should
Computer software product can be stored in a computer-readable storage medium, such as ROM/RAM, magnetic disc, CD, including some fingers
Order is to cause a computer equipment (can be personal computer, server, or network equipment etc.) to perform each implementation
Method described in some parts of example or embodiment.
Finally, the present processes are only preferably embodiment, are not intended to limit the scope of the present invention.It is all
Within the spirit and principles in the present invention, any modification, equivalent substitution and improvements made etc. should be included in the protection of the present invention
Within the scope of.