The content of the invention
For drawbacks described above, the present invention provides the method and apparatus that a kind of direct broadcasting room content is promoted.
An aspect of of the present present invention provides a kind of method that direct broadcasting room content is promoted, including:If believed according to the subregion of direct broadcasting room
Breath gets corresponding partition identification, then displaying and the live picture in the top figure layer of the live picture of the direct broadcasting room
Synchronous broadcasting and the Masking animation including promotional content.
Wherein, the Masking animation covers the live picture completely or partially, and the Masking animation is shown as translucent
It is or opaque.
Wherein, the partition information according to direct broadcasting room get corresponding to partition identification include:Pass through Front End Server
The partition information of the direct broadcasting room is obtained, the live subregion according to belonging to the partition information obtains the direct broadcasting room, according to institute
State the partition identification that live subregion obtains the live subregion.
Wherein, the displaying in the top figure layer of the live picture of the direct broadcasting room plays with the live picture synchronization
And the Masking animation including promotional content includes:The shade work(associated with the partition identification is accessed by Front End Server
Can, obtain the Masking animation set in the shade function;Flash servers are called described straight by Front End Server
Displaying and the live picture synchronization broadcasting and the Masking animation including promotional content in the top figure layer of live picture between broadcasting.
Methods described also includes:The effective time for setting the Masking animation to be shown;If judge system time with opening
Begin to show that the difference at the time of Masking animation is more than effective time, then stop showing the Masking animation;Otherwise, continue to show
The Masking animation.
Methods described also includes:If the click request to the Masking animation is got, from the page of the direct broadcasting room
The promotional content page linked with the Masking animation is jumped to, and stops showing the Masking animation.
Methods described also includes:The partition identification is added to the live subregion, establish the partition identification with it is described
The incidence relation of shade function and the effective time that the Masking animation is set.
Another aspect of the present invention provides the device that a kind of direct broadcasting room content is promoted, including:Display module, if for judging
The partition information of the direct broadcasting room of acquisition has corresponding partition identification, then in the top figure layer of the live picture of the direct broadcasting room
Displaying is played with the live picture synchronization and the Masking animation including promotional content.
Another aspect of the present invention provides the equipment that a kind of direct broadcasting room content is promoted, including:At least one processor;And
At least one memory being connected with the processor communication, wherein:The memory storage has can be by the computing device
Programmed instruction, the processor calls described program instruction to be able to carry out following method:If according to the partition information of direct broadcasting room
Corresponding partition identification is got, then is shown in the top figure layer of the live picture of the direct broadcasting room same with the live picture
Step plays and the Masking animation including promotional content.
Another aspect of the present invention provides a kind of non-transient computer readable storage medium storing program for executing, and the non-transient computer is readable
Storage medium stores computer instruction, and the computer instruction makes the computer perform following method:If according to direct broadcasting room
Partition information gets corresponding partition identification, then in the top figure layer of the live picture of the direct broadcasting room displaying with it is described straight
Broadcast picture synchronization broadcasting and the Masking animation including promotional content.
The method and apparatus that direct broadcasting room content provided by the invention is promoted, by being shown in the figure layer above live picture
Play and Masking animation including promotional content, animation effect and promotional content are combined, utilization with live picture synchronization
Masking animation carries out content popularization, adds the channels of live platform, improves the effect of content popularization.
Embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention
In accompanying drawing, the technical scheme in the embodiment of the present invention is explicitly described, it is clear that described embodiment be the present invention
Part of the embodiment, rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art are not having
The every other embodiment obtained under the premise of creative work is made, belongs to the scope of protection of the invention.
The method that direct broadcasting room content provided in an embodiment of the present invention is promoted, including:If obtained according to the partition information of direct broadcasting room
Corresponding partition identification is got, then displaying and the live picture synchronization in the top figure layer of the live picture of the direct broadcasting room
Broadcasting and the Masking animation including promotional content.
Wherein, direct broadcasting room is the page that live picture is played in live platform;, can be by same type in live platform
Multiple direct broadcasting rooms be divided into same live subregion, such as mobile phone games direct broadcasting room and PC ends game direct broadcasting room can be divided into
Play live subregion, therefore live platform can include multiple live subregions, each live subregion can include multiple direct broadcasting rooms;
Each direct broadcasting room has partition information, and the partition information shows which live subregion direct broadcasting room belongs to.
Partition identification (PartitionMark) is pre-set in background server (WebBackstageServer)
, the live subregion that shows this be provided with the mark of displaying Masking animation;Figure layer is to include the picture frame layer of the elements such as word or figure,
Such as live picture can be shown in a figure layer, and Masking animation can be in the top figure layer of the figure layer where live picture
In be shown;Promotional content can be the picture or word of commercial advertisement.
After user logs in live platform and enters direct broadcasting room, server can obtain the related ginseng of user's login first
Number, wherein the relevant parameter logged in can include the login ID (LogoID) of user and the partition information of direct broadcasting room
(PartitionValue).Server can go to attempt partition identification corresponding to acquisition according to the partition information got, if
Get, then Masking animation (RecommendAnimation) is shown;Otherwise without operation.
For live picture while playing, Masking animation is also in synchronous broadcasting, and because Masking animation is in live picture
Shown in the figure layer of top, therefore Masking animation has certain effect of blocking to live picture, the promotional content energy in Masking animation
Enough attentions for easily causing spectators.
The method that direct broadcasting room content provided in an embodiment of the present invention is promoted, by being shown in the figure layer above live picture
Play and Masking animation including promotional content, animation effect and promotional content are combined, utilization with live picture synchronization
Masking animation carries out content popularization, adds the channels of live platform, improves the effect of content popularization.
Based on above-described embodiment, the Masking animation covers the live picture completely or partially, and the Masking animation shows
It is shown as translucent or opaque.
Wherein, when live picture is completely covered in Masking animation, and Masking animation is shown as opaque.Due to Masking animation
It is shown in the top figure layer of live picture, therefore Masking animation can cover live picture completely;Now, although shade
Animation and live picture are in synchronous broadcasting, but spectators can only see Masking animation, realize that the pressure to promotional content pushes with this,
With preferable promotion effect.
Correspondingly, Masking animation can also be shown as translucent, that is, illustrate Masking animation and live picture is superimposed
Picture;Masking animation can also partly cover live picture, such as animation can be carried out in the left-half of live window
Displaying, and the right half part of live window normally shows live picture.
Fig. 1 is the schematic flow sheet for the method that direct broadcasting room content provided in an embodiment of the present invention is promoted, as shown in figure 1, base
In above-described embodiment, the partition information according to direct broadcasting room get corresponding to partition identification include:S1, serviced by foreground
Device obtains the partition information of the direct broadcasting room, the live subregion according to belonging to the partition information obtains the direct broadcasting room, according to
The live subregion obtains the partition identification of the live subregion.
In step sl, the direct broadcasting room of user's login is got by Front End Server (WebReceptionServer)
Partition information, the live subregion where direct broadcasting room is got by the partition information.If judge that this is straight in background server
Broadcasting subregion has the partition identification pre-set, then shows the partition information of the direct broadcasting room and have corresponding partition identification.
Subregion where partition identification shows the direct broadcasting room is already provided with Masking animation, can be hidden in direct broadcasting room
The displaying of cover animation;If the live subregion is not provided with partition identification, the direct broadcasting room is not previously set Masking animation, can
Not operated to direct broadcasting room., can be to belonging to the multiple of same live subregion by adding partition identification to live subregion
Direct broadcasting room carries out the setting of shade function.
Based on above-described embodiment, the displaying in the top figure layer of the live picture of the direct broadcasting room and the live picture
Face synchronously plays and the Masking animation including promotional content includes:S2, accessed and the partition identification phase by Front End Server
The shade function of association, obtain the Masking animation set in the shade function;S3, called by Front End Server
Flash servers shown in the top figure layer of the live picture of the direct broadcasting room played with the live picture synchronization and including
The Masking animation of promotional content.
In step s 2, if in step sl, corresponding partition identification being got according to partition information, then can be led to
Front End Server is crossed to go to access the shade function (RecommendShade) associated with partition identification.Wherein, in shade function
With the Masking animation pre-set, Front End Server goes to obtain the Masking animation by accessing shade function.
In step s3, after Masking animation is got, Front End Server is by calling flash servers
(WebflashServer), Masking animation is loaded in direct broadcasting room, so as to be realized by animation effect to content recommendation
Displaying and popularization.
Based on above-described embodiment, methods described also includes:The effective time for setting the Masking animation to be shown;If sentence
Disconnected system time and start to show that the difference at the time of Masking animation is more than effective time, then the stopping displaying shade moves
Draw;Otherwise, continue to show the Masking animation.
Wherein, at the time of system time refers to current;Effective time is the lasting duration of the Masking animation pre-set.
After Masking animation starts displaying in direct broadcasting room, system time (System.date can be got by Front End Server
(timeValue));Difference at the time of can further obtaining system time according to system time and start to show Masking animation,
That is the shown duration of Masking animation.And in shade function, effective time is pre-set to Masking animation
(DisappearTime), can be by the shown duration of the Masking animation compared with effective time.
If the shown duration of above-mentioned Masking animation is more than effective time, stops displaying Masking animation, otherwise continue
Show Masking animation.It can prevent animated show overlong time from influenceing user's viewing for cartoon setting effective time, make user's body
Test decline.
Based on above-described embodiment, methods described also includes:If the click request to the Masking animation is got, from institute
The page jump of direct broadcasting room is stated to the promotional content page linked with the Masking animation, and stops showing the Masking animation.
Wherein, it is interested in the promotional content in Masking animation after click request refers to that user sees Masking animation, and it is right
The click request that Masking animation is sent;The promotional content page can be the webpage for showing detailed promotional content, and the webpage is with hiding
Cover animation is previously provided with link;Redirect and refer to open a new page, and the current page switched to show the new page.
It can be asked by the monitor function (MonitorServer) of Front End Server to obtain the click of user.If
User clicks Masking animation, then can direct the user to the content recommendation page, you can is recommended with opening new having
The page of content, and the Masking animation closed in direct broadcasting room.Can be by promotional content by jumping to the content recommendation page
Details are further shown to user, improve promotion effect;On the other hand, after user is not desired to see Masking animation again,
Animation can be closed by clicking on Masking animation, improve Consumer's Experience.
Based on above-described embodiment, methods described also includes:The partition identification is added to the live subregion, described in foundation
Partition identification and the incidence relation of the shade function and the effective time of the setting Masking animation.
In order to realize shade function, live subregion can be selected in background server first, by desired realization
The live subregion addition partition identification of shade function, such as shade function, other subregions are set in game subregion and motion subregion
It is not provided with shade function;After adding partition identification, the incidence relation established between partition identification and shade function, and association is closed
System is stored in the relation list of background server so that Front End Server can get shade function by the incidence relation
In Masking animation, to show Masking animation in direct broadcasting room;, can also be to being set in shade function after shade function is set
Masking animation set effective time, Masking animation displaying effective time after, disappeared automatically in direct broadcasting room.
Further, since the default conditions of shade function are closed mode (RecommendShade.State (Close)), because
Shade function is adjusted to opening (RecommendShade.State (Open)) by this mode that can manually click on.
In the direct broadcasting room for being already provided with shade function, if wanting to stop using shade function, opening can be set off
State.
The embodiment of the present invention also provides the device that a kind of direct broadcasting room content is promoted, including:Display module, if for judging to obtain
The partition information of the direct broadcasting room taken has corresponding partition identification, then is opened up in the top figure layer of the live picture of the direct broadcasting room
Show and played with the live picture synchronization and the Masking animation including promotional content.
After user logs in live platform and enters direct broadcasting room, display module can obtain the related ginseng of user's login first
Number, wherein the relevant parameter logged in can include the login ID (LogoID) of user and the partition information of direct broadcasting room
(PartitionValue).Display module can go to obtain corresponding partition identification according to the partition information got;If obtain
Get, then Masking animation (RecommendAnimation) is shown;Otherwise without operation.
While playing, Masking animation is also playing live picture, and because Masking animation is in the top of live picture
Shown in figure layer, therefore Masking animation has certain effect of blocking to live picture, enables a viewer to easily notice that shade
Promotional content in animation.
The device that direct broadcasting room content provided in an embodiment of the present invention is promoted, by being shown in the figure layer above live picture
Play and Masking animation including promotional content, animation effect and promotional content are combined, utilization with live picture synchronization
Masking animation carries out content popularization, adds the channels of live platform, improves the effect of content popularization.
Fig. 2 is the structural representation for the equipment that direct broadcasting room content provided in an embodiment of the present invention is promoted, as shown in Fig. 2 should
Equipment includes:At least one processor (processor) 201;And at least one the depositing with the processor 201 communication connection
Reservoir (memory) 202, wherein:The memory 202 is stored with the programmed instruction that can be performed by the processor 201, described
Processor 201 calls described program instruction to be able to carry out the method that the direct broadcasting room content that the various embodiments described above are provided is promoted, example
Such as include:If get corresponding partition identification according to the partition information of direct broadcasting room, in the live picture of the direct broadcasting room
Displaying and the live picture synchronization broadcasting and the Masking animation including promotional content in the figure layer of top.
The embodiment of the present invention also provides a kind of non-transient computer readable storage medium storing program for executing, the non-transient computer readable storage
Medium storing computer instructs, and the computer instruction makes computer perform what the direct broadcasting room content that corresponding embodiment is provided was promoted
Method, such as including:If getting corresponding partition identification according to the partition information of direct broadcasting room, in the live of the direct broadcasting room
Displaying and the live picture synchronization broadcasting and the Masking animation including promotional content in the top figure layer of picture.
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 execution includes above method embodiment;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 live display of processing described above sets the embodiments such as the test equipment of device only schematical, wherein
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.Based on such understanding, 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 store in a computer-readable storage medium, such as ROM/RAM, magnetic disc, CD, including some fingers
Make to cause a computer equipment (can be personal computer, server, or network equipment etc.) to perform each implementation
Some Part Methods of example or embodiment.
The method and apparatus that direct broadcasting room content provided in an embodiment of the present invention is promoted, pass through the figure layer above live picture
Middle displaying is played with live picture synchronization and the Masking animation including promotional content, and animation effect and promotional content are tied
Close, carry out content popularization using Masking animation, add the channels of live platform, improve the effect of content popularization.
Finally it should be noted that:The above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although
The present invention is described in detail with reference to the foregoing embodiments, it will be understood by those within the art that:It still may be used
To be modified to the technical scheme described in foregoing embodiments, or equivalent substitution is carried out to which part technical characteristic;
And these modification or replace, do not make appropriate technical solution essence depart from various embodiments of the present invention technical scheme spirit and
Scope.