Summary of the invention
Present disclose provides a kind of virtual gift display method, electronic equipment and computer readable storage mediums, can solve
When main broadcaster's virtual present is certainly given in direct broadcasting room as user, the problem of how showing the virtual present that user gives.The skill
Art scheme is as follows:
In a first aspect, a kind of virtual gift display method is provided, this method comprises:
When detecting that virtual present of the user in direct broadcasting room internal trigger gives instruction, virtual present pair to be given is determined
The sound special efficacy answered;
The corresponding sound special efficacy of virtual present to be given is exported, is shown with treating the virtual present given.
In one possible implementation, the corresponding sound special efficacy of virtual present to be given is exported, comprising:
Determine the output volume of sound special efficacy;
According to the output volume of sound special efficacy, the corresponding sound special efficacy of virtual present to be given is exported.
In alternatively possible implementation, determines the output volume of sound special efficacy, include at least one of the following:
Based on the corresponding relationship preset between each virtual present and the output volume of each sound special efficacy, sound is determined
The output volume of sound special efficacy;
The current wave volume of main broadcaster is detected, and determines the output sound of sound special efficacy based on the current wave volume of main broadcaster
Amount.
In alternatively possible implementation, the corresponding sound special efficacy of virtual present to be given is exported, comprising:
It determines whether to export the corresponding sound special efficacy of virtual present to be given;
If allowing, the corresponding sound special efficacy of virtual present to be given is exported.
In alternatively possible implementation, it is determined whether it is special to allow to export the corresponding sound of virtual present to be given
Effect, includes at least one of the following:
Based on the corresponding user gradation of user for giving virtual present, it is determined whether allow to export virtual present to be given
Corresponding sound special efficacy;
By currently whether allowing to export the corresponding sound special efficacy of virtual present to be given in detection direct broadcasting room, determination is
It is no to allow to export the corresponding sound special efficacy of virtual present to be given.
In alternatively possible implementation, it is determined whether it is special to allow to export the corresponding sound of virtual present to be given
Effect, later further include:
If not allowing, exports prompting message or returned according to payment path and buy the corresponding virtual money of the virtual present
It produces or is not responding to user and be directed to the payment request that the virtual present is initiated, prompting message is for prompting user, in direct broadcasting room not
Allow to export sound special efficacy or for prompting user, does not allow to export the corresponding sound special efficacy of virtual present in direct broadcasting room.
In alternatively possible implementation, when detecting that any user continuous trigger in the first preset time is multiple
When virtual present with sound special efficacy gives instruction,
Determine the corresponding sound special efficacy of virtual present to be given;Export the corresponding sound special efficacy of virtual present to be given
The step of, it includes at least one of the following:
Based on the quantity of the virtual present with sound special efficacy to be given, determines and export corresponding sound special efficacy;
The corresponding sound special efficacy of each virtual present with sound special efficacy is determined respectively, and is sequentially output each tool
There is the corresponding sound special efficacy of the virtual present of sound special efficacy;
The virtual present of sound special efficacy to be output is chosen from multiple virtual presents with sound special efficacy, and exports selection
Sound special efficacy to be output the corresponding sound special efficacy of virtual present.
In alternatively possible implementation, when detect multiple users the second preset time internal trigger have sound
When the virtual present of sound special efficacy gives instruction,
The step of exporting virtual present to be given corresponding sound special efficacy, includes at least one of the following:
Each user difference of instruction is given based on the virtual present in the second preset time internal trigger with sound special efficacy
Corresponding user gradation exports corresponding sound special efficacy;
Give the triggering of instruction with the virtual present of sound special efficacy in the second preset time internal trigger based on each user
Sequentially, corresponding sound special efficacy is exported.
In alternatively possible implementation, the corresponding sound special efficacy of virtual present to be given is exported, comprising:
It exports the corresponding sound special efficacy of virtual present to be given and gives the corresponding identity letter of user of virtual present
Breath.
In alternatively possible implementation, this method further include:
Determine the corresponding visual effect of virtual present to be given;
Export the corresponding visual effect of virtual present to be given.
In alternatively possible implementation, export the corresponding sound special efficacy of virtual present to be given and output to
The corresponding visual effect of the virtual present given, comprising:
Determine the output sequence of the corresponding sound special efficacy of virtual present and visual effect to be given;
According to determining output sequence, the corresponding sound special efficacy of virtual present to be given and visual effect are exported.
Second aspect, provides a kind of virtual present displaying device, which includes:
Determining module, for determining wait give when detecting that virtual present of the user in direct broadcasting room internal trigger gives instruction
The corresponding sound special efficacy of the virtual present sent;
First output module, the corresponding sound special efficacy of virtual present to be given determined for exporting determining module, with
The virtual present given is treated to be shown.
In one possible implementation, output module includes: the first determination unit and the first output unit,
In,
First determination unit, for determining the output volume of sound special efficacy;
First output unit, the output volume of the sound special efficacy for determining according to the first determination unit, exports wait give
The corresponding sound special efficacy of virtual present.
In alternatively possible implementation, the first determination unit, for based on preset each virtual present with
Corresponding relationship between the output volume of each sound special efficacy determines the output volume of sound special efficacy, and/or, detection main broadcaster works as
Preceding wave volume, and determine based on the current wave volume of main broadcaster the output volume of sound special efficacy.
In alternatively possible implementation, output module includes: the second determination unit and the second output unit,
In,
Second determination unit is used to determine whether to allow to export the corresponding sound special efficacy of virtual present to be given;
Second output unit, for allowing to export the corresponding sound of virtual present to be given when the determination of the second determination unit
When special efficacy, the corresponding sound special efficacy of virtual present to be given is exported.
In alternatively possible implementation, the second determination unit, specifically for based on the user for giving virtual present
Corresponding user gradation, it is determined whether allow to export the corresponding sound special efficacy of virtual present to be given, and/or, pass through detection
Currently whether allow to export the corresponding sound special efficacy of virtual present to be given in direct broadcasting room, it is determined whether allow to export wait give
The corresponding sound special efficacy of virtual present.
In alternatively possible implementation, device further include: the second output module or return module or response
Module, wherein
Second output module, it is defeated for when determining does not allow to export the corresponding sound special efficacy of virtual present wait give
Prompting message out, prompting message do not allow to export sound special efficacy or for prompting user for prompting user in direct broadcasting room, directly
Do not allow to export the corresponding sound special efficacy of virtual present in broadcasting;
Return module, for when determining does not allow to export the corresponding sound special efficacy of virtual present wait give, according to branch
It pays path return and buys the corresponding fictitious assets of the virtual present;
The respond module, for determining that being not responding to user is directed to the payment request that the virtual present is initiated.
In alternatively possible implementation, when detecting that any user continuous trigger in the first preset time is multiple
When virtual present with sound special efficacy gives instruction,
Determining module determines corresponding specifically for the quantity based on the virtual present with sound special efficacy to be given
Sound special efficacy;
First output module is specifically used for exporting corresponding sound special efficacy;
And/or
Determining module, specifically for determining that the corresponding sound of each virtual present with sound special efficacy is special respectively
Effect;
First output module is specifically also used to be sequentially output each corresponding sound of virtual present with sound special efficacy
Sound special efficacy;
And/or
Determining module, specifically for choosing the void of sound special efficacy to be output from multiple virtual presents with sound special efficacy
Quasi- present;
First output module, specifically for the corresponding sound spy of virtual present for the sound special efficacy to be output that output is chosen
Effect.
In alternatively possible implementation, when detect multiple users the second preset time internal trigger have sound
When the virtual present of sound special efficacy gives instruction,
First output module, specifically for based on the second preset time internal trigger have sound special efficacy virtual present give
The corresponding user gradation of each user for sending instruction exports corresponding sound special efficacy, and/or, based on each user the
There is the virtual present of sound special efficacy to give the trigger sequence of instruction for two preset time internal triggers, export corresponding sound special efficacy.
In alternatively possible implementation, the first output module, specifically for exporting virtual present pair to be given
The sound special efficacy answered and the corresponding identity information of user for giving virtual present.
In alternatively possible implementation, determining module is also used to determine the corresponding view of virtual present to be given
Feel special efficacy;
First output module is also used to export the corresponding visual effect of virtual present to be given.
In alternatively possible implementation, the first output module includes: that third determination unit and third output are single
Member, wherein
Third determination unit, for determining the output of the corresponding sound special efficacy of virtual present and visual effect to be given
Sequentially;
Third output unit, the output sequence for determining according to third determination unit, exports virtual present to be given
Corresponding sound special efficacy and visual effect.
The third aspect provides a kind of electronic equipment, which includes:
One or more processors;
Memory;
One or more application program, wherein one or more application programs be stored in memory and be configured as by
One or more processors execute, and one or more programs are configured to: executing any according to first aspect or first aspect
The corresponding operation of virtual gift display method shown in possible implementation.
Fourth aspect, provides a kind of computer readable storage medium, and storage medium is stored at least one instruction, at least
One Duan Chengxu, code set or instruction set, at least one instruction, an at least Duan Chengxu, code set or instruction set are loaded by processor
And it executes to realize the virtual gift display method as shown in first aspect or first aspect any possible implementation.
Technical solution provided by the present disclosure has the benefit that
It is and existing present disclose provides a kind of virtual gift display method, electronic equipment and computer readable storage medium
Technology is compared, and the disclosure determines void to be given when detecting that virtual present of the user in direct broadcasting room internal trigger gives instruction
The quasi- corresponding sound special efficacy of present, then exports the corresponding sound special efficacy of virtual present to be given, with treat give it is virtual
Present is shown.I.e. in the disclosure, when giving main broadcaster's virtual present in direct broadcasting room as user, the virtual gift can be passed through
The corresponding sound special efficacy of object shows the virtual present that the user gives in direct broadcasting room, so as to realize the exhibition to virtual present
Show, and then user experience can be promoted.
Specific embodiment
Embodiment of the disclosure is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning to end
Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attached
The embodiment of figure description is exemplary, and is only used for explaining the disclosure, and is not construed as limiting the claims.
Those skilled in the art of the present technique are appreciated that unless expressly stated, singular " one " used herein, " one
It is a ", " described " and "the" may also comprise plural form.It is to be further understood that being arranged used in the specification of the disclosure
Diction " comprising " refer to that there are the feature, integer, step, operation, element and/or component, but it is not excluded that in the presence of or addition
Other one or more features, integer, step, operation, element, component and/or their group.It should be understood that when we claim member
Part is " connected " or when " coupled " to another element, it can be directly connected or coupled to other elements, or there may also be
Intermediary element.In addition, " connection " used herein or " coupling " may include being wirelessly connected or wirelessly coupling.It is used herein to arrange
Diction "and/or" includes one or more associated wholes for listing item or any cell and all combinations.
To keep the purposes, technical schemes and advantages of the disclosure clearer, below in conjunction with attached drawing to disclosure embodiment party
Formula is described in further detail.
With the rise of live broadcast service, user can live streaming platform it is enterprising enter main broadcaster direct broadcasting room viewing, and user
Virtual present can also be given for the main broadcaster, the main broadcaster is liked with expression, but when user gives virtual present to main broadcaster,
How the virtual present that user is given in direct broadcasting room becomes a critical issue.
Virtual gift display method, device, electronic equipment and the computer readable storage medium that the disclosure provides, it is intended to solve
One of technical problem certainly as above.
How the technical solution of the disclosure and the technical solution of the disclosure are solved with specifically embodiment below above-mentioned
Technical problem is described in detail.These specific embodiments can be combined with each other below, for the same or similar concept
Or process may repeat no more in certain embodiments.Below in conjunction with attached drawing, embodiment of the disclosure is described.
The embodiment of the present disclosure provides a kind of virtual gift display method, as shown in Figure 1, this method comprises:
Step S101, when detecting that virtual present of the user in direct broadcasting room internal trigger gives instruction, determination is to be given
The corresponding sound special efficacy of virtual present.
For the embodiment of the present disclosure, after user enters direct broadcasting room, user can trigger present and show button, and display is virtual
Present shows interface, to show each virtual present.
For the embodiment of the present disclosure, the corresponding sound special efficacy of each virtual present is preset.Implement in the disclosure
In example, when detecting user when the virtual present of direct broadcasting room internal trigger gives instruction, determine that the virtual present has sound special efficacy,
And determine corresponding sound special efficacy.
For example, virtual present 1 corresponds to sound special efficacy 1 on a certain live streaming platform, the corresponding sound special efficacy 2 of virtual present 2 works as inspection
User is measured when direct broadcasting room triggering virtual present 1 gives instruction, determines that the corresponding sound special efficacy of virtual present 1 is that sound is special
Effect 1.
Step S102, the corresponding sound special efficacy of virtual present to be given is exported, is carried out with treating the virtual present given
It shows.
For the embodiment of the present disclosure, the corresponding sound special efficacy of the virtual present is exported in direct broadcasting room.For example, user gives
Virtual present to main broadcaster is virtual present 1, then (output) sound special efficacy 1 is played in direct broadcasting room.
The embodiment of the present disclosure provides a kind of virtual gift display method, and compared with prior art, the embodiment of the present disclosure is worked as
User is detected when the virtual present of direct broadcasting room internal trigger gives instruction, determines that the corresponding sound of virtual present to be given is special
Effect, then exports the corresponding sound special efficacy of virtual present to be given, is shown with treating the virtual present given.I.e. at this
It, can be special by the corresponding sound of the virtual present in open embodiment when user gives main broadcaster's virtual present in direct broadcasting room
Effect shows the virtual present that the user gives in direct broadcasting room, so as to realize the displaying to virtual present, and then can mention
Rise user experience.
A kind of possible implementation of the embodiment of the present disclosure exports the corresponding sound special efficacy of virtual present to be given,
It can specifically include: step S1021 (not shown) and step S1022 (not shown), wherein
Step S1021, the output volume of sound special efficacy is determined.
The alternatively possible implementation of the embodiment of the present disclosure, step S1021 can specifically include: step S10211
At least one of (not shown) and step S10212 (not shown), wherein
Step S10211, corresponding between each virtual present and the output volume of each sound special efficacy based on presetting
Relationship determines the output volume of sound special efficacy.
For the embodiment of the present disclosure, the corresponding output volume of each sound special efficacy is preset, when determining wait give
After the corresponding sound special efficacy of the virtual present sent, the corresponding output volume of sound special efficacy is determined.
The alternatively possible implementation of the embodiment of the present disclosure presets the corresponding fixed output of each sound special efficacy
Volume, it is determined that the output volume of sound special efficacy is fixed output volume.
Step S10212, the current wave volume of detection main broadcaster, and sound spy is determined based on the current wave volume of main broadcaster
The output volume of effect.
For the embodiment of the present disclosure, in the corresponding sound special efficacy of output virtual present, the current sound sound of detection main broadcaster
Amount, with the determination corresponding output volume of the sound special efficacy to be played wave volume current no more than main broadcaster.
For example, the current corresponding sound special efficacy of virtual present to be output is the corresponding sound special efficacy 1 of virtual present 1, and
And detect that the current wave volume of main broadcaster is 50 decibels, it is determined that the corresponding wave volume of sound special efficacy 1 is less than 50 decibels, example
For example 40 decibels.
For the embodiment of the present disclosure, the current wave volume of main broadcaster is detected, and is determined according to the current wave volume of main broadcaster
The output volume of sound special efficacy, to guarantee the output volume of the sound special efficacy sound special efficacy current no more than main broadcaster, so as to
The sound for avoiding output sound special efficacy from causing user that can not hear or catch main broadcaster, and then can be to avoid special in output sound
Effect leads to that quality decline is broadcast live, and can promote user experience.
Step S1022, according to the output volume of sound special efficacy, the corresponding sound special efficacy of virtual present to be given is exported.
For the embodiment of the present disclosure, according to the corresponding output volume of sound special efficacy determined, export to be given virtual
The corresponding sound special efficacy of present;And/or the output volume according to regulation, it is special to export the corresponding sound of virtual present to be given
Effect;And/or the wave volume current no more than main broadcaster according to the output volume of sound special efficacy, export virtual present to be given
Corresponding sound special efficacy.
It is special to export the corresponding sound of virtual present to be given for the alternatively possible implementation of the embodiment of the present disclosure
Effect, can specifically include: step S1021a (not shown) and step S1021b (not shown), wherein
Step S1021a, it determines whether to export the corresponding sound special efficacy of virtual present to be given.
For the embodiment of the present disclosure, main broadcaster can be arranged in oneself direct broadcasting room whether belong to output virtual present it is corresponding
Sound special efficacy, or the default each virtual present of setting with whether play the relationship of the corresponding sound special efficacy of the virtual present, or
Person presets the period for allowing to export sound special efficacy;Server or client, which can also be preset, to be allowed to export sound
The virtual present of special efficacy, perhaps setting allows the user for giving virtual present for exporting sound special efficacy or setting to allow to export
The period of sound special efficacy.In the embodiments of the present disclosure, if the settings such as main broadcaster or server do not allow to play each virtual present
Corresponding sound special efficacy, then user can not buy in the direct broadcasting room.
For the embodiment of the present disclosure, when the giving instruction of virtual present for detecting that user's triggering has sound special efficacy,
It first determines whether to export the corresponding sound special efficacy of virtual present to be given, if allowing, it is to be given virtual to export this
The corresponding sound special efficacy of present.
Specifically, step S1021a can specifically include: step S1021a1 (not shown) and step S1021a2
(not shown), wherein
Step S1021a1, based on the corresponding user gradation of user for giving virtual present, it is determined whether allow to export wait give
The corresponding sound special efficacy of the virtual present sent.
For example, the corresponding user gradation of user may include: level-one, second level, three-level and level Four, user etc. is preset
Grade is the user of three-level and level Four, allows to export the corresponding sound special efficacy of virtual present to be given, when giving virtual present
The corresponding user gradation of user be three-level, it is determined that allow to export the corresponding sound special efficacy of virtual present to be given;When giving
Sending the corresponding user gradation of the user of virtual present is level-one, it is determined that does not allow to export the corresponding sound of virtual present to be given
Sound special efficacy.
For the embodiment of the present disclosure, the tool can not be shown in the client that does not have the user for giving sound present permission
There is the virtual present of sound special efficacy, does not have by specifically identifying the present shown this with sound special efficacy or setting perhaps
The standby user for giving sound present permission cannot give the virtual present with sound special efficacy.
Step S1021a2, by currently whether allowing to export the corresponding sound of virtual present to be given in detection direct broadcasting room
Sound special efficacy, it is determined whether allow to export the corresponding sound special efficacy of virtual present to be given.
For the embodiment of the present disclosure, closing output void is can be set in main broadcaster or administrator before live streaming or when being broadcast live
The quasi- corresponding sound special efficacy of present.In the embodiments of the present disclosure, when main broadcaster or administrator close, to belong to virtual present corresponding
When sound special efficacy, there is the virtual present of sound special efficacy can show by different identification, or be set as user not giving
This has the virtual present of sound special efficacy.
For example, when setting cannot export the corresponding sound special efficacy of each virtual present, by each with sound special efficacy
Virtual present is identified as grey.
If step S1021b, allowing, the corresponding sound special efficacy of virtual present to be given is exported.
For the embodiment of the present disclosure, if determining to allow based on main broadcaster's setting or server setting or client setting
The corresponding sound special efficacy of virtual present to be given is exported, then is exported.
For the embodiment of the present disclosure, if allowing to export the corresponding sound special efficacy of the virtual present to be given, use is responded
Family is directed to the payment request of the virtual present to be given, and is successfully paid with realizing.
It further, can also include: step Sa (not shown) after step S1021a, wherein
If step Sa, not allowing, prompting message or corresponding according to payment path return purchase virtual present is exported
Fictitious assets or be not responding to user be directed to the virtual present initiate payment request.
Wherein, prompting message is for prompting user, does not allow to export sound special efficacy in direct broadcasting room or for prompting user,
The corresponding sound special efficacy of virtual present is not allowed to export in direct broadcasting room.
For the embodiment of the present disclosure, if not allowing to export the corresponding sound special efficacy of virtual present to be given, output is mentioned
Show information, giving with prompt does not allow to export in sound special efficacy or the direct broadcasting room in the user of the virtual present direct broadcasting room
Do not allow to export the corresponding sound special efficacy of the virtual present.
For the embodiment of the present disclosure, if not allowing to export the corresponding sound special efficacy of the virtual present to be given, according to
The payment path of the virtual present to be given returns to the fictitious assets for buying the virtual present, and can prompt user's purchase should
The fictitious assets of virtual present to be given is returned according to payment path.
For the embodiment of the present disclosure, when not allowing to export the corresponding sound special efficacy of virtual present or not in current live
When allowing to export the corresponding sound special efficacy of the virtual present, exports prompting message or return to purchase according to payment path this is virtual
The corresponding fictitious assets of present, so as to promote user experience.
For the embodiment of the present disclosure, when the corresponding sound special efficacy of the determining virtual present not allowed to export wait give, clothes
Business device is not responding to user and is directed to the payment request that the virtual present is initiated.In the embodiments of the present disclosure, client can also export
Notification message, to prompt to buy the user of the virtual present, server refusal is directed to the payment request that the virtual present is initiated, or
Person's server is not responding to user and is directed to the payment request that the virtual present is initiated.
For the embodiment of the present disclosure, when the corresponding sound special efficacy of the determining virtual present not allowed to export wait give, no
Respond user be directed to the virtual present payment request, can be avoided user payment purchase virtual present fictitious assets it
Afterwards, client does not export the situation that the corresponding sound special efficacy of virtual present causes user experience lower, so that letter can also be reduced
Interaction is enabled, user experience is promoted.
The alternatively possible implementation of the embodiment of the present disclosure, when detecting that any user connects in the first preset time
When the continuous multiple virtual presents with sound special efficacy of triggering give instruction, determine that the corresponding sound of virtual present to be given is special
Effect;The step of exporting virtual present to be given corresponding sound special efficacy, comprising: step Sb (not shown), step Sc (figure
In be not shown) and step Sd (not shown) at least one of, wherein
Step Sb, the quantity based on the virtual present with sound special efficacy to be given determines and exports corresponding sound
Special efficacy.
The embodiment of the present disclosure is exported if the quantity of the virtual present with sound special efficacy to be given is different
Sound special efficacy is not also identical.
For the embodiment of the present disclosure, the quantity of the virtual present with sound special efficacy and the sound special efficacy of output are preset
Relationship.
For example, the quantity of the virtual present with sound special efficacy to be given is 11, determine that sound special efficacy to be output is
Sound special efficacy a, the quantity of the virtual present with sound special efficacy to be given are 99, determine that sound special efficacy to be output is sound
Special efficacy b, the quantity of the virtual present with sound special efficacy to be given are 520, determine that sound special efficacy to be output is that sound is special
C is imitated, the quantity of the virtual present with sound special efficacy to be given is 1314, determines that sound special efficacy to be output is sound special efficacy
d。
For the embodiment of the present disclosure, when detecting the triggering command for giving virtual present, virtual gift to be given is determined
The quantity of object, and sound special efficacy to be output is determined based on the quantity of virtual present to be given, and export the sound special efficacy.
For the embodiment of the present disclosure, there is sound when detecting that any user continuous trigger in the first preset time is multiple
When the virtual present of special efficacy gives instruction, based on the quantity of the virtual present with sound special efficacy to be given, determines and export
The quantity of corresponding sound special efficacy, that is, virtual present to be given is different, different sound special efficacys is exported, so as to improve
The diversity of the corresponding sound special efficacy of virtual present is shown in direct broadcasting room, and then can further promote user experience.
Step Sc, the corresponding sound special efficacy of each virtual present with sound special efficacy is determined respectively, and successively defeated
The corresponding sound special efficacy of each virtual present with sound special efficacy out.
For the embodiment of the present disclosure, there is sound when detecting that any user continuous trigger in the first preset time is multiple
When the virtual present of special efficacy gives instruction, the corresponding sound special efficacy of each virtual present to be given successively is determined, and successively
Export the corresponding sound special efficacy of each virtual present determined.
For the embodiment of the present disclosure, the first preset time can be configured by client, can also be carried out by server
Setting.In the embodiments of the present disclosure without limitation.
For example, the first preset time can be 20 seconds, 30 seconds or 35 seconds.
Step Sd, the virtual present of sound special efficacy to be output is chosen from multiple virtual presents with sound special efficacy, and
Export the corresponding sound special efficacy of virtual present for the sound special efficacy to be output chosen.
For the embodiment of the present disclosure, there is sound when detecting that any user continuous trigger in the first preset time is multiple
When the virtual present of special efficacy gives instruction, the virtual of predetermined number can be chosen from multiple virtual presents with sound special efficacy
Present, and successively determine the corresponding sound special efficacy of each virtual present chosen, and be sequentially output.
For example, when detecting that any user continuous trigger 20 virtual presents with sound special efficacy give instruction, from
5 virtual presents with sound special efficacy are chosen in 20 virtual presents with sound special efficacy, and are sequentially output this 5 virtually
The corresponding sound special efficacy of present.
For the embodiment of the present disclosure, the void of sound special efficacy to be output is chosen from multiple virtual presents with sound special efficacy
When the virtual present that quasi- present, and exporting, even any user are given within a preset time is more, preset quantity is only therefrom chosen
Virtual present export sound special efficacy, it is too long to avoid output virtual present corresponding sound special efficacy time, influence the matter of live streaming
Amount, and then user experience can be promoted.
For the embodiment of the present disclosure, in the corresponding sound special efficacy of virtual present for the sound special efficacy to be output that output is chosen
When, in the actual quantity that the public practical virtual present given of the screen display user and each virtual present is broadcast live.In this public affairs
It opens in embodiment, the interaction that public screen refers to that main broadcaster and the user of all viewing live streamings can watch in direct broadcasting room is broadcast live
Interface.
For example, when exporting 5 virtual presents with sound special efficacy, in the practical void given of the public screen display user
Quasi- present is virtual present 1, quantity 20.
The alternatively possible implementation of the embodiment of the present disclosure, when detecting that multiple users touch in the second preset time
When the virtual present with sound special efficacy of hair gives instruction,
The step of exporting virtual present to be given corresponding sound special efficacy, can specifically include: step Se (does not show in figure
At least one of out) and in step Sf (not shown), wherein
Step Se, each use of instruction is given based on the virtual present in the second preset time internal trigger with sound special efficacy
The corresponding user gradation in family exports corresponding sound special efficacy.
For the embodiment of the present disclosure, the second preset time can be arranged by server, can also be arranged by client.At this
In open embodiment without limitation.
For example, the second preset time can be 5 seconds, 10 seconds and 15 seconds.
For the embodiment of the present disclosure, when detecting multiple users in the second preset time internal trigger with sound special efficacy
When virtual present gives instruction, based on the user gradation for giving virtual present, the present of output sound special efficacy is determined, and export.
For example, internal trigger in 5 seconds have sound special efficacy virtual present give instruction user include user 1, user 2 with
And user 3, corresponding user gradation are level Four, three-level and level-one, determine that the virtual present that output user 1 gives is corresponding
Sound special efficacy.
For the embodiment of the present disclosure, the virtual present for not exporting sound special efficacy can give virtual present in public screen display
User, the virtual present given and the virtual present quantity given.
It for the embodiment of the present disclosure, determines and gives these virtual present users for not exporting sound special efficacy, send prompt and disappear
Breath, or returned according to payment path and buy the corresponding fictitious assets of these virtual presents.
For the embodiment of the present disclosure, when detecting multiple users in the second preset time internal trigger with sound special efficacy
When virtual present gives instruction, based on the second preset time internal trigger have sound special efficacy virtual present give each of instruction
The corresponding user gradation of a user, exports corresponding sound special efficacy, to avoid frequent output sound special efficacy leads to that matter is broadcast live
Amount decline, and then can further promote user experience.
Step Sf, in the second preset time internal trigger there is the virtual present of sound special efficacy to give instruction based on each user
Trigger sequence, export corresponding sound special efficacy.
For the embodiment of the present disclosure, when detecting multiple users in the second preset time internal trigger with sound special efficacy
When virtual present gives instruction, determine that each user triggers the trigger sequence that virtual present gives instruction, and suitable according to the triggering
Sequence exports corresponding sound special efficacy.
For example, each user (user 1, user 2 and user 3) has sound special efficacy in the second preset time internal trigger
The trigger sequence that virtual present gives instruction is followed successively by user 1, user 3 and user 2, then first output user 1 give it is virtual
The sound special efficacy of present, then exports the sound special efficacy for the virtual present that user 3 gives, then exports the virtual gift that user 2 gives
The sound special efficacy of object.
It is special to export the corresponding sound of virtual present to be given for the alternatively possible implementation of the embodiment of the present disclosure
Effect, comprising: export the corresponding sound special efficacy of virtual present to be given and give the corresponding identity letter of user of virtual present
Breath.
It, can also be while exporting virtual present to be given corresponding sound special efficacy for the embodiment of the present disclosure
The virtual present information that public screen display is given the identity information of the user of the virtual present and given.
For the embodiment of the present disclosure, the corresponding identity information of the user for giving virtual present includes: user's pet name, User ID
Deng.
For the embodiment of the present disclosure, the virtual present information given includes: virtual present name information and virtual present
Identification information.
For the embodiment of the present disclosure, when exporting the corresponding sound special efficacy of the virtual present wait give, output is given virtual
The corresponding identity information of the user of present can make main broadcaster and direct broadcasting room user determine that the user for giving virtual present is corresponding
Identity information, and then user experience can be promoted.
The alternatively possible implementation of the embodiment of the present disclosure, this method comprises: determining virtual present pair to be given
The visual effect answered;Export the corresponding visual effect of virtual present to be given.
For the embodiment of the present disclosure, when detecting that virtual present of the user in direct broadcasting room internal trigger gives instruction, determine
The corresponding sound special efficacy of virtual present to be given and visual effect, and in the corresponding sound special efficacy of output virtual present,
Export the corresponding visual effect of the virtual present.It is corresponding that certain embodiment of the present disclosure can also only export virtual present to be given
Visual effect.
For the embodiment of the present disclosure, exports the corresponding sound special efficacy of virtual present and the corresponding vision of virtual present is special
Effect, so as to promote the abundant degree of the corresponding special efficacy of virtual present, and then can promote user experience.
For the embodiment of the present disclosure, the corresponding sound special efficacy of virtual present to be given can be exported simultaneously and vision is special
Effect can also determine sound special efficacy and the corresponding output sequence of visual effect in the following way certainly, and suitable according to exporting
Sequence is exported.
Specifically, the corresponding sound special efficacy of virtual present to be given and visual effect are exported, comprising: determine wait give
The corresponding sound special efficacy of virtual present and visual effect output sequence;According to determining output sequence, export wait give
The corresponding sound special efficacy of virtual present and visual effect.
For the embodiment of the present disclosure, server or client can preset the defeated of setting sound special efficacy and visual effect
Sequence out.For example, output sequence is first to export visual effect, sense of hearing special efficacy is then exported.
It is first defeated after determining the corresponding sense of hearing special efficacy of virtual present and visual effect for the embodiment of the present disclosure
Then the corresponding visual effect of the virtual present out exports the corresponding sense of hearing special efficacy of the virtual present.
Above-described embodiment describes virtual gift display method, following angles from virtual module from the angle of method flow
It describes virtual present and shows device, specific as follows shown:
The embodiment of the present disclosure provides a kind of virtual present displaying device, as shown in Fig. 2, the device 20 specifically can wrap
It includes: determining module 21, the first output module 22, wherein
Determining module 21, for when detecting that virtual present of the user in direct broadcasting room internal trigger gives instruction, determine to
The corresponding sound special efficacy of the virtual present given.
First output module 22, it is special for exporting the corresponding sound of virtual present to be given that determining module 21 determines
Effect, is shown with treating the virtual present given.
Specifically, the first output module 22 includes: the first determination unit and the first output unit, wherein
First determination unit, for determining the output volume of sound special efficacy.
First output unit, the output volume of the sound special efficacy for determining according to the first determination unit, exports wait give
The corresponding sound special efficacy of virtual present.
The alternatively possible implementation of the embodiment of the present disclosure, the first determination unit, for each based on presetting
Corresponding relationship between virtual present and the output volume of each sound special efficacy determines the output volume of sound special efficacy, and/or,
The current wave volume of main broadcaster is detected, and determines the output volume of sound special efficacy based on the current wave volume of main broadcaster.
The alternatively possible implementation of the embodiment of the present disclosure, the first output module 22 include: the second determination unit with
And second output unit, wherein
Second determination unit is used to determine whether to allow to export the corresponding sound special efficacy of virtual present to be given.
Second output unit, for allowing to export the corresponding sound of virtual present to be given when the determination of the second determination unit
When special efficacy, the corresponding sound special efficacy of virtual present to be given is exported.
The alternatively possible implementation of the embodiment of the present disclosure, the second determination unit, specifically for virtual based on giving
The corresponding user gradation of the user of present, it is determined whether allow to export the corresponding sound special efficacy of virtual present to be given, and/
Or, by currently whether allowing to export the corresponding sound special efficacy of virtual present to be given in detection direct broadcasting room, it is determined whether permit
Perhaps the corresponding sound special efficacy of virtual present to be given is exported.
The alternatively possible implementation of the embodiment of the present disclosure, the device 20 further include: the second output module returns
Return module or respond module, wherein
Second output module, it is defeated for when determining does not allow to export the corresponding sound special efficacy of virtual present wait give
Prompting message out.
Wherein, prompting message is for prompting user, does not allow to export sound special efficacy in direct broadcasting room or for prompting user,
The corresponding sound special efficacy of virtual present is not allowed to export in direct broadcasting room.
For the embodiment of the present disclosure, the first output module 22 and the second output module can be identical output module,
It can be different output modules.In the embodiments of the present disclosure without limitation.
Return module, for when determining does not allow to export the corresponding sound special efficacy of virtual present wait give, according to branch
It pays path return and buys the corresponding fictitious assets of the virtual present.
Respond module, for determining that being not responding to user is directed to the payment request that the virtual present is initiated.
The alternatively possible implementation of the embodiment of the present disclosure, when detecting that any user connects in the first preset time
When the continuous multiple virtual presents with sound special efficacy of triggering give instruction, determining module 21, specifically for based on tool to be given
There is the quantity of the virtual present of sound special efficacy, determines corresponding sound special efficacy;First output module 22 is specifically used for output and corresponds to
Sound special efficacy.
The alternatively possible implementation of the embodiment of the present disclosure, when detecting that any user connects in the first preset time
When the continuous multiple virtual presents with sound special efficacy of triggering give instruction, determining module 21, specifically for determining each tool respectively
There is the corresponding sound special efficacy of the virtual present of sound special efficacy;First output module 22 is specifically also used to be sequentially output each
The corresponding sound special efficacy of virtual present with sound special efficacy.
The alternatively possible implementation of the embodiment of the present disclosure, when detecting that any user connects in the first preset time
When the continuous multiple virtual presents with sound special efficacy of triggering give instruction, determining module 21 is specifically used for having sound from multiple
The virtual present of sound special efficacy to be output is chosen in the virtual present of special efficacy;First output module 22 is specifically used for output and chooses
Sound special efficacy to be output the corresponding sound special efficacy of virtual present.
The alternatively possible implementation of the embodiment of the present disclosure, when detecting that multiple users touch in the second preset time
When the virtual present with sound special efficacy of hair gives instruction, the first output module 22 is specifically used for based on when second is default
Between internal trigger there is the virtual present of sound special efficacy to give the corresponding user gradation of each user of instruction, export corresponding
Sound special efficacy, and/or, in the second preset time internal trigger there is the virtual present of sound special efficacy to give instruction based on each user
Trigger sequence, export corresponding sound special efficacy.
The alternatively possible implementation of the embodiment of the present disclosure, the first output module 22, specifically for exporting wait give
The corresponding sound special efficacy of virtual present and give the corresponding identity information of user of virtual present.
The alternatively possible implementation of the embodiment of the present disclosure, determining module 21 are also used to determine to be given virtual
The corresponding visual effect of present.
First output module 22 is also used to export the corresponding visual effect of virtual present to be given.
The alternatively possible implementation of the embodiment of the present disclosure, the first output module 22 include: third determination unit with
And third output unit, wherein
Third determination unit, for determining the output of the corresponding sound special efficacy of virtual present and visual effect to be given
Sequentially.
For the embodiment of the present disclosure, the first determination unit, the second determination unit and third determination unit can be identical
Determination unit, or different determination units, can also with any two be identical determination unit.Implement in the disclosure
In example without limitation.
Third output unit, the output sequence for determining according to third determination unit, exports virtual present to be given
Corresponding sound special efficacy and visual effect.
For the embodiment of the present disclosure, the first output unit, the second output unit and third output unit can be identical
Output unit, can also be different output units, can also with any two be identical output unit.In disclosure reality
It applies in example without limitation.
The embodiment of the present disclosure provides a kind of virtual present displaying device, and compared with prior art, the embodiment of the present disclosure is worked as
User is detected when the virtual present of direct broadcasting room internal trigger gives instruction, determines that the corresponding sound of virtual present to be given is special
Effect, then exports the corresponding sound special efficacy of virtual present to be given, is shown with treating the virtual present given.I.e. at this
In open embodiment, when user gives main broadcaster's virtual present in direct broadcasting room, the corresponding sound of the virtual present can be passed through
Special efficacy shows the virtual present that the user gives in direct broadcasting room, so as to realize the displaying to virtual present, and then can be with
Promote user experience.
The virtual present of the present embodiment shows that the virtual gift display method that above method embodiment provides can be performed in device,
Its realization principle is similar, and details are not described herein again.
Above-described embodiment from the angle of method flow describes virtual gift display method and from the angle of virtual module
It describes virtual present and shows device, following embodiments describe a kind of electronic device from the angle of entity module, for executing
Above method embodiment, specific as follows shown:
Below with reference to Fig. 3, it illustrates the structural representations for the electronic equipment 300 for being suitable for being used to realize the embodiment of the present disclosure
Figure.Electronic equipment in the embodiment of the present disclosure can include but is not limited to such as mobile phone, laptop, digital broadcasting and connect
Receive device, PDA (personal digital assistant), PAD (tablet computer), PMP (portable media player), car-mounted terminal (such as vehicle
Carry navigation terminal) etc. mobile terminal and such as number TV, desktop computer etc. fixed terminal.Electricity shown in Fig. 3
Sub- equipment is only an example, should not function to the embodiment of the present disclosure and use scope bring any restrictions.
As shown in figure 3, electronic equipment 300 may include processing unit (such as central processing unit, graphics processor etc.)
301, random access can be loaded into according to the program being stored in read-only memory (ROM) 302 or from storage device 308
Program in memory (RAM) 303 and execute various movements appropriate and processing.In RAM 303, it is also stored with electronic equipment
Various programs and data needed for 300 operations.Processing unit 301, ROM 302 and RAM 303 pass through the phase each other of bus 304
Even.Input/output (I/O) interface 305 is also connected to bus 304.
In general, following device can connect to I/O interface 305: including such as touch screen, touch tablet, keyboard, mouse, taking the photograph
As the input unit 306 of head, microphone, accelerometer, gyroscope etc.;Including such as liquid crystal display (LCD), loudspeaker, vibration
The output device 307 of dynamic device etc.;Storage device 308 including such as tape, hard disk etc.;And communication device 309.Communication device
309, which can permit electronic equipment 300, is wirelessly or non-wirelessly communicated with other equipment to exchange data.Although Fig. 3 shows tool
There is the electronic equipment 300 of various devices, it should be understood that being not required for implementing or having all devices shown.It can be with
Alternatively implement or have more or fewer devices.
Particularly, in accordance with an embodiment of the present disclosure, it may be implemented as computer above with reference to the process of flow chart description
Software program.For example, embodiment of the disclosure includes a kind of computer program product comprising be carried on computer-readable medium
On computer program, which includes the program code for method shown in execution flow chart.In such reality
It applies in example, which can be downloaded and installed from network by communication device 309, or from storage device 308
It is mounted, or is mounted from ROM 302.When the computer program is executed by processing unit 301, the embodiment of the present disclosure is executed
Method in the above-mentioned function that limits.
The embodiment of the present disclosure provides a kind of electronic equipment, the electronic equipment in the embodiment of the present disclosure include: memory and
Processor;At least one program is stored in the memory, when for being executed by the processor, compared with prior art
Can be achieved: the embodiment of the present disclosure is determined when detecting that virtual present of the user in direct broadcasting room internal trigger gives instruction wait give
The corresponding sound special efficacy of virtual present, then export the corresponding sound special efficacy of virtual present to be given, given with treating
Virtual present is shown.I.e. in the embodiments of the present disclosure, when main broadcaster's virtual present is given in direct broadcasting room as user, Ke Yitong
It crosses the corresponding sound special efficacy of the virtual present and shows the virtual present that the user gives in direct broadcasting room, so as to realize to void
The displaying of quasi- present, and then user experience can be promoted.
The embodiment of the present disclosure provides a kind of computer readable storage medium, is stored on the computer readable storage medium
Computer program allows computer to execute corresponding contents in preceding method embodiment when run on a computer.With
The prior art is compared, and the embodiment of the present disclosure is determined when detecting that virtual present of the user in direct broadcasting room internal trigger gives instruction
Then the corresponding sound special efficacy of virtual present to be given exports the corresponding sound special efficacy of virtual present to be given, to treat
The virtual present given is shown.I.e. in the embodiments of the present disclosure, when main broadcaster's virtual present is given in direct broadcasting room as user,
It can show the virtual present that the user gives, in direct broadcasting room by the corresponding sound special efficacy of the virtual present so as to reality
Now to the displaying of virtual present, and then user experience can be promoted.
It should be noted that the above-mentioned computer-readable medium of the disclosure can be computer-readable signal media or meter
Calculation machine readable storage medium storing program for executing either the two any combination.Computer readable storage medium for example can be --- but not
Be limited to --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor system, device or device, or any above combination.Meter
The more specific example of calculation machine readable storage medium storing program for executing can include but is not limited to: have the electrical connection, just of one or more conducting wires
Taking formula computer disk, hard disk, random access storage device (RAM), read-only memory (ROM), erasable type may be programmed read-only storage
Device (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic memory device,
Or above-mentioned any appropriate combination.In the disclosure, computer readable storage medium can be it is any include or storage journey
The tangible medium of sequence, the program can be commanded execution system, device or device use or in connection.And at this
In open, computer-readable signal media may include in a base band or as the data-signal that carrier wave a part is propagated,
In carry computer-readable program code.The data-signal of this propagation can take various forms, including but not limited to
Electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be computer-readable and deposit
Any computer-readable medium other than storage media, the computer-readable signal media can send, propagate or transmit and be used for
By the use of instruction execution system, device or device or program in connection.Include on computer-readable medium
Program code can transmit with any suitable medium, including but not limited to: electric wire, optical cable, RF (radio frequency) etc. are above-mentioned
Any appropriate combination.
Above-mentioned computer-readable medium can be included in above-mentioned electronic equipment;It is also possible to individualism, and not
It is fitted into the electronic equipment.
Above-mentioned computer-readable medium carries one or more program, when said one or multiple programs are by the electricity
When sub- equipment executes, so that the electronic equipment executes virtual gift display method shown in above method embodiment.
The calculating of the operation for executing the disclosure can be write with one or more programming languages or combinations thereof
Machine program code, above procedure design language include object oriented program language-such as Java, Smalltalk, C+
+, it further include conventional procedural programming language-such as " C " language or similar programming language.Program code can
Fully to execute, partly execute on the user computer on the user computer, be executed as an independent software package,
Part executes on the remote computer or executes on a remote computer or server completely on the user computer for part.
In situations involving remote computers, remote computer can pass through the network of any kind --- including local area network (LAN)
Or wide area network (WAN)-is connected to subscriber computer, or, it may be connected to outer computer (such as utilize Internet service
Provider is connected by internet).
Flow chart and block diagram in attached drawing are illustrated according to the system of the various embodiments of the disclosure, method and computer journey
The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation
A part of one module, program segment or code of table, a part of the module, program segment or code include one or more use
The executable instruction of the logic function as defined in realizing.It should also be noted that in some implementations as replacements, being marked in box
The function of note can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are actually
It can be basically executed in parallel, they can also be executed in the opposite order sometimes, and this depends on the function involved.Also it to infuse
Meaning, the combination of each box in block diagram and or flow chart and the box in block diagram and or flow chart can be with holding
The dedicated hardware based system of functions or operations as defined in row is realized, or can use specialized hardware and computer instruction
Combination realize.
Being described in unit involved in the embodiment of the present disclosure can be realized by way of software, can also be by hard
The mode of part is realized.Wherein, the title of unit does not constitute the restriction to the unit itself under certain conditions, for example, the
One output module is also described as " exporting the module of the corresponding sound special efficacy of virtual present to be given ".
Above description is only the preferred embodiment of the disclosure and the explanation to institute's application technology principle.Those skilled in the art
Member is it should be appreciated that the open scope involved in the disclosure, however it is not limited to technology made of the specific combination of above-mentioned technical characteristic
Scheme, while should also cover in the case where not departing from design disclosed above, it is carried out by above-mentioned technical characteristic or its equivalent feature
Any combination and the other technical solutions formed.Such as features described above has similar function with (but being not limited to) disclosed in the disclosure
Can technical characteristic replaced mutually and the technical solution that is formed.
It should be understood that although each step in the flow chart of attached drawing is successively shown according to the instruction of arrow,
These steps are not that the inevitable sequence according to arrow instruction successively executes.Unless expressly stating otherwise herein, these steps
Execution there is no stringent sequences to limit, can execute in the other order.Moreover, at least one in the flow chart of attached drawing
Part steps may include that perhaps these sub-steps of multiple stages or stage are not necessarily in synchronization to multiple sub-steps
Completion is executed, but can be executed at different times, execution sequence, which is also not necessarily, successively to be carried out, but can be with other
At least part of the sub-step or stage of step or other steps executes in turn or alternately.
The above is only some embodiments of the disclosure, it is noted that for the ordinary skill people of the art
For member, under the premise of not departing from disclosure principle, several improvements and modifications can also be made, these improvements and modifications are also answered
It is considered as the protection scope of the disclosure.