Embodiment
Below in conjunction with accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Ground is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.Generally exist
The component of the embodiment of the present invention described and illustrated in accompanying drawing can be arranged and designed with a variety of configurations herein.Cause
This, the detailed description of the embodiments of the invention to providing in the accompanying drawings is not intended to limit claimed invention below
Scope, but it is merely representative of the selected embodiment of the present invention.Based on embodiments of the invention, those skilled in the art are not doing
The every other embodiment obtained on the premise of going out creative work, belongs to the scope of protection of the invention.
It should be noted that:Similar label and letter represents similar terms in following accompanying drawing, therefore, once a certain Xiang Yi
It is defined in individual accompanying drawing, then it further need not be defined and explained in subsequent accompanying drawing.Meanwhile, the present invention's
In description, term " first ", " second " etc. are only used for distinguishing description, and it is not intended that indicating or implying relative importance.
As shown in figure 1, being the server 100 and showing that local terminal 200 is interacted that present pre-ferred embodiments are provided
It is intended to.The server 100 is communicatively coupled by network with one or more local terminals 200, to enter row data communication
Or interaction.The server 100 can be one or more servers, such as management server, web server
(WebSserver), client server, the webserver, database server etc.., should if server 100 is multiple servers
It can be cooperated between multiple servers, carry out data interaction.The local terminal 200 can be PC
(personal computer, PC), tablet personal computer, smart mobile phone etc..Also, client is installed, the client in local terminal
End be can be browser, live application program, player, program request application program or other.In the present embodiment, the first visitor
Family end and the second client can be installed on same local terminal, can also be installed on different local terminals.It is preferred that,
First client is management client, and the client as used in the administrative staff such as the super pipe of direct broadcasting room, the second client is use
Family client, the client as used in live spectators.
Fig. 2 shows a kind of structured flowchart for the server 100 that can be applied to the embodiment of the present invention.As shown in Fig. 2 service
Device 100 includes memory 102, storage control 104, one or more (one is only shown in figure) processors 106, Peripheral Interface
108th, radio-frequency module 110 etc..These components are in communication with each other by one or more communication bus/signal wire 116.
The homepage that memory 102 can be used in storage software program and module, such as embodiment of the present invention recommend method and
Corresponding programmed instruction/the module of device, processor 106 is stored in software program and module in memory 102 by operation,
So as to perform various function application and data processing, such as homepage provided in an embodiment of the present invention recommends method.
Memory 102 may include high speed random access memory, may also include nonvolatile memory, such as one or more magnetic
Property storage device, flash memory or other non-volatile solid state memories.Processor 106 and other possible components are to storage
The access of device 102 can be carried out under the control of storage control 104.
Peripheral Interface 108 connects processor 106 and memory 102.In certain embodiments, Peripheral Interface 108, processing
Device 106 and storage control 104 can be realized in one single chip.In some other example, they can be respectively by only
Vertical chip is realized.
Radio-frequency module 110 is used to receiving and sending electromagnetic wave, realizes the mutual conversion of electromagnetic wave and electric signal, so that with
Communication network or other equipment are communicated.
It is appreciated that the structure shown in Fig. 2 is only signal, server 100 may also include more more than shown in Fig. 2 or more
Few component, or with the configuration different from shown in Fig. 2.Each component shown in Fig. 2 can use hardware, software or its group
Close and realize.
Homepage provided in an embodiment of the present invention recommends method and device, applied to the homepage recommendation in direct broadcasting room.Certainly, originally
Also the homepage is not excluded in inventive embodiments recommends method and device to be used to that in player, program request application program etc. video can be carried out
Homepage recommendation is carried out under the scene that the homepage of content is recommended, the embodiment of the present invention is mainly illustrated by taking direct broadcasting room as an example.Below
Method and device will be recommended to be described in detail the homepage by specific embodiment.
Administrative staff log in the first client by identity, and the first client is according to the identity institute of administrative staff
Corresponding authority carries out authority loading, can pass through function code LogoUser USERID=new
WebUserServer.Jurisdiction.user (UserID) realizes that UserID represents the identity of administrative staff.Loading
After authority, the rights parameters of administrative staff can band into direct broadcasting room.
When administrative staff carry out the inspection of full room, can carry out direct broadcasting room whether violation inspection or direct broadcasting room whether have
The preliminary judgement of premium content.Whether direct broadcasting room has the preliminary judgement of premium content can be by checking the dynamic sectional drawing of direct broadcasting room
And the popularity of direct broadcasting room is realized, so as to tentatively judge whether direct broadcasting room can carry out homepage recommendation.
After administrative staff tentatively judge that certain direct broadcasting room has premium content, it can check live in detail into the direct broadcasting room
Between content, however, it is determined that the video content of direct broadcasting room can carry out homepage recommendation without violation situation and content high-quality to it.Specifically push away
Recommend process as described below.
First embodiment
Present embodiments provide a kind of homepage and recommend method, correspondence administrative staff carry out processing procedure during homepage recommendation.
As shown in figure 3, this method includes:
Step S110:The homepage recommendation request of the first client transmission is received, it is live that the request includes being recommended
Between room identification.
Manage user and homepage recommendation is carried out to direct broadcasting room by the first client, homepage recommendation request is sent to server.
Specifically, can open the actions menu of the first client, then the recommendation button in clicking operation menu, letter can be passed through
Number code Show.Administrators.Menu (JurlogID) is realized.
After recommendation button is clicked on, the first client is first between server obtains current live, that is, is recommended straight
Room identification between broadcasting.Specifically, server includes management server, the first client can be by calling management server
Interface obtains room identification, can pass through function code SlideShow sLamp=new
WebRoomServers.Available.List (RoomID) realizes that RoomID represents the room identification of direct broadcasting room.First client
The homepage recommendation request of the identity of the room identification for carrying recommended direct broadcasting room and administrative staff is sent to by end again
Server.Wherein, room identification is sent into server can be by function code Exhibition ERoomID=new
SlideShow.Exhibition.Content (sLamp), the identity of administrative staff is sent into server to pass through
Function code USERID, PersonCharge PuserID=new SlideShow.Exhibition.PersonCharge
(USERID) realize together.
Corresponding, server receives the homepage recommendation request.
Step S120:Judge whether the direct broadcasting room meets default recommendation condition according to the room identification.
Server is received after homepage recommendation request, determines that the room identification is corresponding live according to room identification therein
Between, that is, the direct broadcasting room that administrative staff are recommended is determined, then judge whether the direct broadcasting room meets default recommendation condition.
Specifically, in the present embodiment, the live situation with corresponding points-scoring system in direct broadcasting room is entered to main broadcaster
Row marking, scoring criterion can be dressing situation, main broadcaster's dressing, main broadcaster's expressive force, the intention of live content, the video matter of main broadcaster
In terms of amount, it is not intended to limit in the present embodiment.Therefore, judging whether direct broadcasting room meets the mode of default recommendation condition can be with
It is the score for the main broadcaster for obtaining the corresponding direct broadcasting room of the room identification, judges whether the score is more than default score value, if
Divide and be more than default score value, then judge to meet and preset recommendation condition.In the present embodiment, the occurrence of the default score value is not intended as
Limit, can be predetermined value, can be calculated to determine according to full marks and preset percentage, or other.Certainly, sentence
Whether disconnected score is more than default score value, and correspondence each single item scoring criteria judges respectively.
In addition, judging that the mode whether direct broadcasting room meets default recommendation condition can also be, the room identification pair is obtained
Whether in violation of rules and regulations the live content for the direct broadcasting room answered, judge the live content, if not in violation of rules and regulations, judging to meet to preset and recommending bar
Part.Judge live content whether can be in violation of rules and regulations judge live content whether relate to it is yellow, relate to it is cruelly or illegal or unhealthy with other
Content.Specifically, can be by calling video violation content to judge corresponding API (Application Programming
Interface, application programming interface) judged, calling for the external interface can be by function code Illegal
Legal=new WebIdentifyServers.Illegal.Parameter (ERoomID) are realized.In violation of rules and regulations whether live content
Specific judgment mode be a kind of prior art, will not be described here.
In the present embodiment can apply above two judgment mode in any one be judged, can also two kinds sentence
Disconnected mode is all used to judge whether direct broadcasting room meets default recommendation condition.If two kinds of judgment modes are all used for whether judging direct broadcasting room
Default recommendation condition is met, then when two kinds of judgment mode judged results are all to meet default recommendation condition, just judges that this is live
Between meet default recommendation condition.
Step S130:If the direct broadcasting room meets default recommendation condition, the room identification of the direct broadcasting room is stored to pushing away
Recommend list.
In the case where direct broadcasting room meets default recommendation condition, the direct broadcasting room can be used for carrying out homepage recommendation, first will
The room identification of the direct broadcasting room is added in recommendation list.
Further, in the present embodiment, when the default recommendation condition of judgement direct broadcasting room satisfaction, in addition to establishment application flow
Journey, can specifically be created in advertising management platform, can pass through function code Process Pid=new
AdvertisementServer.Process () is realized.Also, during establishment, pass through server (such as web server)
The identity of the room identification of direct broadcasting room and administrative staff are transferred to advertising management platform, function code can be passed through
New Process.Innovate (EROOMID, PuserID) are realized, the application process of establishment is included the room of direct broadcasting room
Mark and the identity of administrative staff.Also, the application process examined of generation correspondence, specifically, can be will be above-mentioned
Pid in function code is entered as " processed ", i.e. Pid=" processed ".After application process is successfully created, in the second client
The operation interface display reminding information at end, the direct broadcasting room for pointing out administrative staff to be recommended has been put into recommendation list.Also, live
Between live picture in, display reminding information, such as prompting bubble, point out the direct broadcasting room to have been enter into recommendation list.
Step S140:When homepage recommends the quantity of room identification in queue to be less than predetermined number, from the recommendation list
Middle selection room identification recommends queue added to the homepage, wherein, the homepage recommends the room identification in queue corresponding
Direct broadcasting room is the direct broadcasting room that homepage recommendation is carried out in the second client.
In the present embodiment, the predetermined number recommends queue to store the maximum quantity of room identification for the homepage set,
When homepage recommends the quantity of room identification in queue to be less than predetermined number, illustrate that homepage recommends vacancy occur in queue, now may be used
Conventional homepage recommends to add room identification in queue.
Therefore, when homepage recommends the quantity of room identification in queue to be less than predetermined number, selected from the recommendation list
Room identification is taken to recommend queue added to the homepage.It is preferred that, the quantity for the room identification chosen from recommendation list is equal to
Homepage recommends the quantity and the difference of predetermined number of room identification in queue.
Further, room identification is added to homepage recommend queue in after, to should room identification addition locking mark
Know, recommendation list is added to identify the room identification.
In the present embodiment, the specific selection standard chosen from recommendation list, which can be that preferential selection enters, to be pushed away
Recommend the time preceding room identification of list, that is to say, that the room identification of oldest stored is chosen from recommendation list.
In addition, selection standard can also be, it is preferential to choose the high corresponding room identification of direct broadcasting room of temperature, that is to say, that
The corresponding room identification of current temperature highest direct broadcasting room is chosen from recommendation list.It should be understood that the temperature of direct broadcasting room can
To be determined according to the attendance in direct broadcasting room.
In addition, selection standard is also possible that room identification is randomly selected from recommendation list recommends queue added to homepage.
In the present embodiment, room identification is chosen from the recommendation list and recommends the specific selection mode of queue at this added to homepage
Limitation is not intended as in embodiment.
Further, in the present embodiment, in addition to, server obtain the second client in carry out homepage recommendation
The room identification of direct broadcasting room, and the room identification setting recommendation mark of the direct broadcasting room of homepage recommendation is being carried out described in correspondence.
Wherein, the room identification for the direct broadcasting room for carrying out homepage recommendation that server is obtained can be by the second client
Send.
In addition, recommending being provided with the corresponding direct broadcasting room degree of establishment of room identification of mark, such as A grades.Specific function generation
Code can be, if (RoomMark==" 1 "), RoomID=new SlideShow.ArrayList.RoomID.Tpye (S).
In the present embodiment, the room identification for being not provided with recommending mark is chosen from the recommendation list and is put into the head
Page recommends queue, so as to will not be repeated in the direct broadcasting room that the second client carries out homepage recommendation.
Further, before selection room identification recommends queue added to the homepage from the recommendation list, then
It is secondary to judge whether the corresponding direct broadcasting room of the room identification violation content occurs, if it is not, by the room identification described in
Homepage recommends queue, carries out homepage recommendation, and can send prompt message to the main broadcaster of direct broadcasting room.Certainly, if now live
Between there is violation content, it is impossible to by the direct broadcasting room carry out homepage recommendation, now point out direct broadcasting room main broadcaster enter for violation situation
Row rectification, can be closed or adjusted for violation content, until in direct broadcasting room without violation content.
Second client gets the room identification in homepage recommendation queue, and specific acquisition modes can be that server will
Homepage recommends the room identification in queue to be sent to the second client to carry out homepage recommendation, and either, the second client is from homepage
Crawl room identification in queue is recommended to carry out homepage recommendation.Second client recommends the room identification in queue corresponding homepage
Direct broadcasting room carries out homepage recommendation, that is to say, that room identification pair in homepage recommendation list is shown in the homepage of the second client
The direct broadcasting room answered.
In addition, the second client get can also include room identification corresponding direct broadcasting room in homepage recommendation list
Recommend displaying figure, the recommendation displaying figure is that can represent the picture of direct broadcasting room live content.Second client is carried out to direct broadcasting room
The mode that homepage is recommended can be that the recommendation of the classification each direct broadcasting room of static state display shows the key of figure and each direct broadcasting room
Word, or the recommendation displaying figure progress magic lantern of direct broadcasting room is shown.
Further, in the present embodiment, when homepage recommends to have the corresponding direct broadcasting room of room identification in queue described the
Two clients recommend to terminate, and the room identification of the direct broadcasting room for recommending to terminate is recommended into queue from the homepage and described pushed away
Recommend in list and delete.Wherein, direct broadcasting room is recommended to terminate be that direct broadcasting room is pushed away in the homepage of the second client in the second client
Recommend duration and reach preset duration, either, the temperature of direct broadcasting room less than preset value or, be periodically detected in the second visitor
Family end carries out whether there is violation content in the direct broadcasting room of homepage recommendation, if so, the recommendation of the direct broadcasting room terminates.Direct broadcasting room is
Two clients recommend the standard terminated to be not intended as limiting in the present embodiment, can set according to the actual requirements.
In summary, homepage provided in an embodiment of the present invention recommends method, when administrative staff are carrying out room inspection process
In, discovery has direct broadcasting room to have premium content, when can carry out homepage recommendation, directly initiates to take to server by the first client
Homepage recommendation request with direct broadcasting room room identification.Server is receiving the homepage recommendation request of the first client transmission
Afterwards, judge whether the corresponding direct broadcasting room of the room identification carried in homepage recommendation request meets default recommendation condition, if meeting,
The room identification is stored to recommendation list.When homepage recommends that room identification quantity is less than predetermined number in queue, then from pushing away
Recommend and room identification is chosen in list added to homepage recommendation queue, make the room identification being added in homepage recommendation queue corresponding
Direct broadcasting room carries out homepage recommendation in the second client.In this programme, the room inspection of administrative staff is recommended to be combined with homepage,
Homepage recommendation process is simple, it is not necessary to complicated examination & approval, recommends the cycle short, is conducive to the timely of direct broadcasting room of content high-quality to push away
Recommend, improve recommendation efficiency.
Second embodiment
A kind of homepage recommendation apparatus 200 is present embodiments provided, Fig. 4 is referred to, the device 200 includes:Receiving module
210, for receiving the homepage recommendation request that the first client is sent, the request includes the room mark of recommended direct broadcasting room
Know;Condition judgment module 220, for judging whether the direct broadcasting room meets default recommendation condition according to the room identification;Deposit
Module 230 is stored up, if meeting default recommendation condition for the direct broadcasting room, the room identification of the direct broadcasting room is stored to recommendation and arranged
Table;Add module 240, when the quantity for recommending room identification in queue when homepage is less than predetermined number, row are recommended from described
Room identification is chosen in table and recommends queue added to the homepage, wherein, the homepage recommends the room identification correspondence in queue
Direct broadcasting room be the second client carry out homepage recommendation direct broadcasting room.
Further, in the present embodiment, the condition judgment module 220 can include:Score judging unit, for obtaining
The score of the main broadcaster of the corresponding direct broadcasting room of the room identification is taken, judges whether the score is more than default score value;And/or, disobey
Judging unit is advised, the live content for obtaining the corresponding direct broadcasting room of the room identification judges whether the live content is disobeyed
Rule.
Further, if violation content occurs in direct broadcasting room, homepage recommendation can not be carried out, therefore, in the present embodiment, also
Violation judge module 250 can be included, for choosing room identification from the recommendation list added to homepage recommendation
Before queue, judge whether the corresponding direct broadcasting room of the room identification violation content occurs, if it is not, the room identification is added
Recommend queue to the homepage.
Further, when the corresponding direct broadcasting room of certain room identification homepage recommend terminate after, it is necessary to by the room identification from
Homepage recommends to delete in queue and recommendation list, and therefore, the device 200 that the present embodiment is provided can also include:Removing module
260, will be described for recommending there is the corresponding direct broadcasting room of room identification to recommend to terminate in second client in queue when homepage
The room identification of the direct broadcasting room terminated is recommended to be deleted from homepage recommendation queue and the recommendation list.
Further, the device that the present embodiment is provided can also include mark setting unit, for obtaining the second client
In carrying out homepage recommendation direct broadcasting room room identification, and correspondence described in carrying out homepage recommendation direct broadcasting room room
Mark, which is set, recommends mark.Room identification is chosen from the recommendation list when add module and is put into the homepage recommendation queue
When, the room identification for being not provided with recommending mark is chosen from the recommendation list and is put into the homepage recommendation queue.
It should be noted that each embodiment in this specification is described by the way of progressive, each embodiment weight
Point explanation be all between difference with other embodiment, each embodiment identical similar part mutually referring to,
In same embodiment identical similar part also can mutually referring to.For device class embodiment, because it is real with method
Apply that example is substantially similar, so description is fairly simple, the relevent part can refer to the partial explaination of embodiments of method.
In several embodiments provided herein, it should be understood that disclosed apparatus and method, it can also pass through
Other modes are realized.Device embodiment described above is only schematical, for example, flow chart and block diagram in accompanying drawing
Show according to the device of multiple embodiments of the present invention, the architectural framework in the cards of method and computer program product,
Function and operation.At this point, each square frame in flow chart or block diagram can represent the one of a module, program segment or code
Part a, part for the module, program segment or code is used to realize holding for defined logic function comprising one or more
Row instruction.It should also be noted that in some implementations as replacement, the function of being marked in square frame can also with different from
The order marked in accompanying drawing occurs.For example, two continuous square frames can essentially be performed substantially in parallel, they are sometimes
It can perform in the opposite order, this is depending on involved function.It is also noted that every in block diagram and/or flow chart
The combination of individual square frame and block diagram and/or the square frame in flow chart, can use the special base for performing defined function or action
Realize, or can be realized with the combination of specialized hardware and computer instruction in the system of hardware.
In addition, each functional module in each embodiment of the invention can integrate to form an independent portion
Point or modules individualism, can also two or more modules be integrated to form an independent part.
If the function is realized using in the form of software function module and is used as independent production marketing or in use, can be with
It is stored in a computer read/write memory medium.Understood based on such, technical scheme is substantially in other words
The part contributed to prior art or the part of the technical scheme can be embodied in the form of software product, the meter
Calculation machine software product is stored in a storage medium, including some instructions are to cause a computer equipment (can be individual
People's computer, server, or network equipment etc.) perform all or part of step of each of the invention embodiment methods described.
And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), arbitrary access are deposited
Reservoir (RAM, Random Access Memory), magnetic disc or CD etc. are various can be with the medium of store program codes.Need
Illustrate, herein, such as first and second or the like relational terms be used merely to by an entity or operation with
Another entity or operation make a distinction, and not necessarily require or imply between these entities or operation there is any this reality
The relation or order on border.Moreover, term " comprising ", "comprising" or its any other variant are intended to the bag of nonexcludability
Contain, so that process, method, article or equipment including a series of key elements are not only including those key elements, but also including
Other key elements being not expressly set out, or also include for this process, method, article or the intrinsic key element of equipment.
In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including the key element
Process, method, article or equipment in also there is other identical element.
The preferred embodiments of the present invention are the foregoing is only, are not intended to limit the invention, for the skill of this area
For art personnel, the present invention can have various modifications and variations.Within the spirit and principles of the invention, that is made any repaiies
Change, equivalent substitution, improvement etc., should be included in the scope of the protection.It should be noted that:Similar label and letter exists
Similar terms is represented in following accompanying drawing, therefore, once being defined in a certain Xiang Yi accompanying drawing, is then not required in subsequent accompanying drawing
It is further defined and explained.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any
Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained
Cover within protection scope of the present invention.Therefore, protection scope of the present invention described should be defined by scope of the claims.