The content of the invention
For drawbacks described above present in prior art, the present invention provides a kind of method for showing virtual present animation and set
It is standby.
An aspect of of the present present invention provides a kind of method for showing virtual present animation, including:If judging the virtual gift received
Thing is target present, then so as to show animation corresponding with the target present in the live picture of main broadcaster side and point out main broadcaster
The user position of main broadcaster user in the live picture according to the position adjustment of the animation.
Methods described also includes:The target present is added in present list, the target present and present valency is set up
The incidence relation of value and so as to the icon of the target present is set in viewer side.
Wherein, it is described that the target present is added in present list, set up the pass of the target present and present value
Connection relation and so that the icon for setting the target present in viewer side includes:In the present list of background server
The target present is added, and the ID of the target present is set;What the ID and the present for setting up the target present were worth
First incidence relation, and first incidence relation is sent to present server archive;The mesh is set up by partition management
The second incidence relation of present and the icon is marked, and preserves second incidence relation to background server.
Methods described also includes:The ID for sending out the target present is obtained, and by calling the target present
The incidence relation that ID is worth with the present, obtains the present value;It is worth, is deducted according to the ID and the present
Present value in the corresponding account of the ID.
Wherein, if the virtual present for judging to receive is target present, so as to be opened up in the live picture of main broadcaster side
Show that animation corresponding with the target present includes:The ID of the virtual present is obtained by Front End Server, and judges described
Whether the ID of virtual present is identical with the ID of the target present;If the ID of the virtual present and the target present ID phases
Together, then flash servers are called so that in the main broadcaster side and the live picture of the viewer side by the Front End Server
It is middle to show the animation respectively.
Wherein, it is described prompting main broadcaster user according to the position adjustment of the animation main broadcaster user in the live picture
In position include:By pointing out main broadcaster user according to institute including one or more forms in voice, word, picture and animation
State position of the main broadcaster user described in the position adjustment of animation in the live picture.
Wherein, the target present is paster present.
Another aspect of the present invention provides a kind of method for showing virtual present animation, including:It regard target present as void
Intend present to send out, so as to show animation corresponding with the target present in the live picture of main broadcaster side and point out main broadcaster user
Position of the main broadcaster user in the live picture according to the position adjustment of the animation;Play the main broadcaster user and institute
State animation and carry out interactive live picture.
Another aspect of the present invention provides a kind of equipment for showing virtual present animation, including:At least one processor;With
And at least one memory being connected with the processor communication, wherein:The memory storage, which has, to be held by the processor
Capable programmed instruction, the processor calls described program instruction to be able to carry out following method:If judging the virtual present received
For target present, then so as to show animation corresponding with the target present in the live picture of main broadcaster side and point out main broadcaster to use
The family position of main broadcaster user in the live picture according to the position adjustment of the animation.
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 judging the void received
Plan present is target present, then so as to show animation corresponding with the target present in the live picture of main broadcaster side and point out
The main broadcaster user position of main broadcaster user in the live picture according to the position adjustment of the animation.
The present invention provide displaying virtual present animation method and apparatus, by by target present animation in the exhibition of main broadcaster side
Show, and point out main broadcaster to be adjusted according to the position of animation to self-position, can build what main broadcaster was combined with animation actual situation
Live effect, enhances the interaction of main broadcaster and spectators, improves live interest, makes the usage experience of spectators more preferably, and increase
The attraction of live platform is added.
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
A part of 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, the scope of protection of the invention is belonged to.
The embodiment of the present invention provides a kind of method for showing virtual present animation, including:If judging the virtual present received
For target present, then so as to show animation corresponding with the target present in the live picture of main broadcaster side and point out main broadcaster to use
The family position of main broadcaster user in the live picture according to the position adjustment of the animation.
Based on above-described embodiment, the target present is paster present.
Wherein, target present can be a kind of paster present, and paster present is a kind of virtual gift for imitating paster in life
Thing.Paster in reality can be pasted onto people on the face, with interest.Paster present can be image or animation etc., displaying
After live picture, main broadcaster's image had just both been contained in the live picture that spectators see, paster present correspondence is also contains
Animation.By animated show in place, such as main broadcaster is live in the profile of paster present, it is possible to realize paster gift
Effect of the thing " stickup " in main broadcaster on the face.For convenience, hereafter target present is represented with paster present to carry out embodiment
Illustrate, but the protection domain of the embodiment of the present invention is not limited to this.
After the animation of paster present is shown in the live picture of main broadcaster side, user can be pointed out to be drawn according to paster present
Display location in face, to being adjusted from the display location in picture, so as to realize what true man were combined with animation actual situation
Live effect.
It is provided in an embodiment of the present invention displaying virtual present animation method, by by target present animation in the exhibition of main broadcaster side
Show, and point out main broadcaster to be adjusted according to the position of animation to self-position, can build what main broadcaster was combined with animation actual situation
Live effect, enhances the interaction of main broadcaster and spectators, improves live interest, makes the usage experience of spectators more preferably, and increase
The attraction of live platform is added.
Based on above-described embodiment, methods described also includes:The target present is added in present list, the mesh is set up
Mark the incidence relation of present and present value and so as to the icon of the target present is set in viewer side.
It is described that the target present is added in present list based on above-described embodiment, set up the target present and gift
The incidence relation of price value and so that the icon for setting the target present in viewer side includes:Described in background server
The target present is added in present list, and the ID of the target present is set;Set up the ID of the target present with it is described
First incidence relation of present value, and first incidence relation is sent to present server archive;Pass through partition management
The second incidence relation of the target present and the icon is set up, and preserves second incidence relation to background server.
Specifically, it can be entered first by management staff (Administrators) in background server
(WebBackstageServer) the present management module (GiftFunction) in, in the present list of the present management module
Middle addition paster present (StickerExample), and the present ID (GiftID) of the paster present is set.
Added in present list after paster present, the corresponding present value of the paster present can be set
(AmountValue), present value is the quantity for the ideal money that spectators' purchase paster present is spent.Present is set to be worth
By setting the first incidence relation to complete present value and present ID.
After first incidence relation is provided with, called by background server in present server (WebGiftServer)
Present interface (GiftParameter) is set, the first incidence relation that the ID of paster present and present are worth is sent to gift
(FileFunction) is achieved in thing server, the archive of present value and paster present incidence relation is realized with this.
In order to enable a viewer to see paster present in the direct broadcasting room of viewer side, it is necessary to set paster in Front End Server
The icon of present, so that main broadcaster is opened after direct broadcasting room, spectators are it can be seen that and send out paster present.Specifically, by dividing
The paster present set is pushed to the subregion specified by area's management (PartitionManage), and the subregion can be live
Between in the position specified.By choosing, paster present and the subregion in partition management are set up into present subregion and associated
(StickerRelaPartitionMack), and by above-mentioned association indicated, be stored in background server, can be foreground
The Show Styles of the paster present of subregion provides control parameter.So as to realize the association of the icon of paster present and paster present.
After main broadcaster starts live, Front End Server by being conducted interviews to the present management module in background service,
Obtain after present subregion association (StickerRelaPartitionMack), be associated according to the present subregion in different subregions
Load present list (StickerList).Spectators can give paster by clicking on the paster present in present list to main broadcaster
Present.
Based on above-described embodiment, methods described also includes:The ID for sending out the target present is obtained, and by calling
The incidence relation that the ID of the target present is worth with the present, obtains the present value;According to the ID and institute
Present value is stated, the present value in the corresponding account of the ID is deducted.
Specifically, method provided in an embodiment of the present invention can also include the virtual goods for deducting the spectators for sending out paster present
The step of coin.This step can be carried out before or after displaying present animation, below in conjunction with Fig. 1 exemplified by before displaying present animation
Illustrate, but the protection domain not limited to this of the embodiment of the present invention.
Fig. 1 is the schematic flow sheet for the method that virtual present provided in an embodiment of the present invention is shown, as shown in figure 1, in step
In rapid S1, if it is determined that the virtual present that spectators send out is paster present, then it can be obtained by Front End Server and send out paster
The ID (logoID) of present.The consumer record interface provided by present server, calls what is achieved in present server
The incidence relation of paster present and present value, obtains present value corresponding with paster present.
In step s 2, according to the ID obtained in step S1, the corresponding account of the ID is further obtained, according to
The corresponding present value of paster present, reduces the ideal money amount of money in the account in present server.After reducing successfully,
Front End Server is back to by consumer record interface, the paster present of the spectators has consumed success, can as described in step S3,
Show the corresponding animation of paster present.
Based on above-described embodiment, if the virtual present for judging to receive is target present, so that in the straight of main broadcaster side
Broadcast and show that animation corresponding with the target present includes in picture:The ID of the virtual present is obtained by Front End Server,
And judge whether the ID of the virtual present is identical with the ID of the target present;If the ID of the virtual present and the target
The ID of present is identical, then calls flash servers by Front End Server so that in the straight of the main broadcaster side and the viewer side
Broadcast and show the animation in picture respectively.
Specifically, the present provided by Front End Server is clicked on monitor function (GiftMonitor) and specified to monitor
In differentiation, whether the virtual present ID that user gives is identical with the ID of paster present.If identical, displaying paster present correspondence
Animation.During the displaying of animation, flash servers (WebFlashServer) are called by Front End Server, in master
Broadcast and the corresponding animation of paster present is loaded in the live picture of side.At the same time it can also in the live picture of viewer side, increase
Flash floating layers, show the corresponding animation of paster present in floating layer.
Based on above-described embodiment, the prompting main broadcaster user according to the position adjustment of the animation main broadcaster user in institute
The position stated in live picture includes:By pointing out main broadcaster including one or more forms in voice, word, picture and animation
The user position of main broadcaster user in the live picture according to the position adjustment of the animation.Specifically, user is entered
Row prompting can use various ways, for example, can be displayed next to text prompt in the live picture of main broadcaster side, or can be straight
Connect and be shown on live picture, or voice message.A variety of prompting modes disclosure satisfy that the different demands of main broadcaster user.
Based on above-described embodiment, methods described can also include:The displaying time of the animation is set;If judge system
Between be not more than the displaying time, then continue to show the animation;Otherwise, the displaying animation is terminated.Specifically, first can be with
The displaying time of paster present animation is set.When the animation of live picture exhibition paster present, Front End Server can be passed through
In system set (System.date (Value)) to obtain system time, system time and the paster pre-set are moved
The displaying time (EffectDate) of picture is contrasted, if system time>The displaying time, then terminate displaying paster present pair
The animation answered;If system time≤displaying time, continue to load the corresponding animation of paster present.By setting holding for animation
The continuous time can rationally show the animation effect of paster present, be unlikely to displaying and hinder spectators' viewing live long very much.
Based on above-described embodiment, methods described can also include:Carried out by system broadcasts in the barrage area of direct broadcasting room wide
Broadcast, so as to notify all spectators in room to give the ID of the donor of the paster present.
Specifically, in the corresponding animation of loading paster present, Front End Server can be called in the room of current room
Broadcast (RoomNotice), all user's donors between current live are informed by the form of notice in barrage service area
Information, such as donor ID, paster present ID or paster present value, so as to increase the viewing experience of donor.
Furthermore it is also possible to increase present consumer record in the individual center for obtaining paster present main broadcaster/donor.
The embodiment of the present invention also provides a kind of method for showing virtual present animation, including:Using target present as virtual
Present is sent out, so as to show animation corresponding with the target present in the live picture of main broadcaster side and point out main broadcaster user root
According to position of the main broadcaster user described in the position adjustment of the animation in the live picture;Play the main broadcaster user with it is described
Animation carries out interactive live picture.
Specifically, when spectators are live in direct broadcasting room viewing, spectators can select paster present to give by way of click
Give main broadcaster so that after the animation of paster present is shown in the live picture of main broadcaster side, and point out user according to paster present
Display location in picture, to being adjusted from the display location in picture.Main broadcaster and animation are subjected to interaction again
Picture is shown in the live picture of viewer side, so as to realize the live effect that true man are combined with animation actual situation.
It is provided in an embodiment of the present invention displaying virtual present animation method, by by target present animation in the exhibition of main broadcaster side
Show, and point out main broadcaster to be adjusted according to the position of animation to self-position, can build what main broadcaster was combined with animation actual situation
Live effect, enhances the interaction of main broadcaster and spectators, improves live interest, makes the usage experience of spectators more preferably, and increase
The attraction of live platform is added.
Fig. 2 is the structural representation of the equipment of displaying virtual present animation provided in an embodiment of the present invention, as shown in Fig. 2
Including:At least one processor (processor) 201;And at least one memory communicated to connect with the processor 201
(memory) 202, wherein:The memory 202 is stored with the programmed instruction that can be performed by the processor 201, the processing
Device 201 calls the method that described program instruction is able to carry out the displaying virtual present animation that the various embodiments described above are provided, for example
Including:If it is target present to judge the virtual present received, so that displaying and the target in the live picture of main broadcaster side
The corresponding animation of present and point out main broadcaster user according to the position adjustment of the animation main broadcaster user in the live picture
In position.
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 is instructed, and the computer instruction makes computer perform the displaying virtual present animation that correspondence embodiment is provided
Method, for example including:If it is target present to judge the virtual present received, so as to be shown in the live picture of main broadcaster side
Animation corresponding with the target present and point out main broadcaster user according to the position adjustment of the animation main broadcaster user in institute
State the position in live 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 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 live display of processing described above sets the embodiments such as the test equipment of device to be 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.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
Some Part Methods of example or embodiment.
The present invention provide displaying virtual present animation method and apparatus, by by target present animation in the exhibition of main broadcaster side
Show, and point out main broadcaster to be adjusted according to the position of animation to self-position, can build what main broadcaster was combined with animation actual situation
Live effect, enhances the interaction of main broadcaster and spectators, improves live interest, makes the usage experience of spectators more preferably, and increase
The attraction of live platform is added.
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.