CN112492336B - Gift sending method, device, electronic equipment and readable medium - Google Patents

Gift sending method, device, electronic equipment and readable medium Download PDF

Info

Publication number
CN112492336B
CN112492336B CN202011312415.4A CN202011312415A CN112492336B CN 112492336 B CN112492336 B CN 112492336B CN 202011312415 A CN202011312415 A CN 202011312415A CN 112492336 B CN112492336 B CN 112492336B
Authority
CN
China
Prior art keywords
gift
sending
user
special effect
role information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011312415.4A
Other languages
Chinese (zh)
Other versions
CN112492336A (en
Inventor
徐昶
陈军英
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Perfect World Beijing Software Technology Development Co Ltd
Original Assignee
Perfect World Beijing Software Technology Development Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Perfect World Beijing Software Technology Development Co Ltd filed Critical Perfect World Beijing Software Technology Development Co Ltd
Priority to CN202011312415.4A priority Critical patent/CN112492336B/en
Publication of CN112492336A publication Critical patent/CN112492336A/en
Application granted granted Critical
Publication of CN112492336B publication Critical patent/CN112492336B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • H04N21/2187Live feed
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/4784Supplemental services, e.g. displaying phone caller identification, shopping application receiving rewards

Abstract

The invention discloses a gift sending method and device, electronic equipment and a readable medium. The method comprises the following steps: receiving gift track information and role information set by a user; generating a doodling gift based on the gift outline contained in the gift track information; and responding to a gift sending instruction sent by the user, and sending the scrawling gift according to the gift special effect matched with the role information. By the technical scheme, when the user wants to give a gift, the personalized doodle gift is generated according to the gift track information set by the user; in addition, when presenting, the corresponding gift special effect can be matched according to the role information of the user, so that the diversified demands of the user for presenting gifts can be met.

Description

Gift sending method, device, electronic equipment and readable medium
Technical Field
The embodiment of the invention relates to the technical field of internet, in particular to a gift sending method, a gift sending device, electronic equipment and a readable medium.
Background
With the development of live broadcast technology, more and more users participate in live broadcast interaction. In order to increase the interaction interest between the anchor and the audience, the audience can interact with the anchor through the bullet screen, and the anchor can interact with the audience according to the seen bullet screen. In addition, the audience may also interact with the anchor by gifting a gift.
In practical applications, in a gifting gift scenario, typically a viewer selects an appropriate gift from a gift bag to be gifted to a host as desired. Viewers in the same live room can see gifts given by other viewers with each other. Such customized gifts and gift-giving manners are relatively single, and for example, when a plurality of viewers give gifts at the same time, it is difficult to distinguish which viewer gives gifts. It is also difficult to get the attention of the anchor since the gifts are the same. Therefore, a solution is needed to meet the needs of viewers to personalize gifting anchor gifts.
Disclosure of Invention
The embodiment of the invention provides a gift sending method, a device, electronic equipment and a readable medium, and provides a gift sending scheme for improving the interaction effect between audiences and a main broadcast.
In a first aspect, an embodiment of the present invention provides a method for sending a gift, where the method includes:
receiving gift track information and role information set by a user;
generating a doodle gift based on a gift outline contained in the gift track information;
and responding to a gift sending instruction sent by the user, and sending the doodle gift according to a gift special effect matched with the role information.
Optionally, the generating a doodle gift based on the gift outline included in the gift track information includes: and filling the gift elements into the gift outline to obtain the doodling gift according to the gift elements and the number of the elements set by the user.
Optionally, after the gift element is filled into the gift outline to obtain the doodle gift, the method further includes: according to the number of the doodling gifts contained in the gift track information, splitting the doodling gifts to obtain a reduced doodling gift; and according to the gift formation included in the gift track information, arranging a plurality of the reduced doodling gifts in a formation manner.
Optionally, the sending the doodle gift according to a gift special effect matched with the role information in response to a gift sending instruction sent by the user includes: determining a corresponding action gift special effect from gift special effects matched with the role information in response to a gift sending action instruction sent by the user; and sending the scrawling gift according to the action gift special effect.
Optionally, the sending the graffiti gift according to the action gift special effect includes: determining a target limb corresponding to the gift sending action instruction; and in the motion process of the doodling gift matched with the motion trail of the target limb, sending the doodling gift according to the special effect of the action gift.
Optionally, the sending the doodling gift according to a gift special effect matched with the role information in response to a gift sending instruction sent by the user includes: determining a corresponding voice gift special effect from the gift special effects matched with the role information in response to a gift sending voice instruction sent by the user; and sending the scrawling gift according to the voice gift special effect.
Optionally, the sending the doodle gift according to a gift special effect matched with the role information in response to a gift sending instruction sent by the user includes: determining a gift sending path drawn by a user and carried in the gift sending instruction; and sending the doodle gift along the gift sending path according to the gift special effect matched with the role information.
In a second aspect, an embodiment of the present invention provides a method for sending a gift, where the method includes:
sending gift track information and role information to a server so that the server can generate a doodling gift according to a gift outline contained in the gift track information;
and sending a gift sending instruction based on the role information so that the server determines a gift special effect matched with the role information based on the gift sending instruction and sends the scrawling gift.
Optionally, after sending the gift track information and the role information to the server, the method further includes: determining a gift element and an element number for filling the gift outline so as to fill the gift element into the gift outline to generate the graffiti gift.
Optionally, the sending a gift sending instruction based on the role information includes: acquiring a gift sending action instruction displayed by the user based on the role information; and sending the collected motion trail of the target limb of the user to the server so that the server controls the doodle gift to be sent according to the special effect of the action gift in the motion process of matching the motion trail.
In a third aspect, an embodiment of the present invention provides a gift sending apparatus, including:
the receiving module is used for receiving gift track information and role information set by a user;
the generation module is used for generating a doodling gift based on the gift outline contained in the gift track information;
and the sending module is used for responding to a gift sending instruction sent by the user and sending the scrawling gift according to the gift special effect matched with the role information.
In a fourth aspect, an embodiment of the present invention provides another gift sending apparatus, including:
the system comprises a first sending module, a second sending module and a display module, wherein the first sending module is used for sending gift track information and role information to a server so that the server can generate a doodling gift according to a gift outline contained in the gift track information;
and the second sending module is also used for sending a gift sending instruction based on the role information so that the server determines a gift special effect matched with the role information based on the gift sending instruction and sends the doodle gift.
In a fifth aspect, an embodiment of the present invention further provides an electronic device, including a processor and a memory, where the memory stores at least one instruction, at least one program, a code set, or a set of instructions, and the at least one instruction, at least one program, a code set, or a set of instructions is loaded and executed by the processor to implement the gift sending method according to the first aspect or the second aspect.
In a sixth aspect, the present invention further provides a computer-readable medium, on which at least one instruction, at least one program, a code set, or a set of instructions are stored, which is loaded and executed by a processor to implement the gift transmitting method according to the first and second aspects.
In the embodiment of the invention, after receiving the gift track information set by the user and the role information of the user, the graffiti gift is generated according to the gift outline contained in the gift track information. When the user wants to give the gift, a gift sending instruction is sent to the server, the server can match the corresponding gift special effect according to the role information of the user, and the doodling gift is sent according to the gift special effect. By the technical scheme, when the user wants to give a gift, the personalized doodle gift is generated according to the gift track information set by the user; in addition, when presenting, the corresponding gift special effect can be matched according to the role information of the user, so that the diversified demands of the user for presenting gifts can be met.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a schematic flowchart of a method for sending a gift according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of a gift outline filling according to an embodiment of the present application;
fig. 3 is a schematic diagram of a gift-offering path drawing provided in the embodiment of the present application;
fig. 4 is a flowchart illustrating a method for delivering a gift based on a gift effect according to an embodiment of the present application;
fig. 5 is a flowchart illustrating a method for sending a special effect of a gift in action according to an embodiment of the present application;
fig. 6 is a schematic flowchart of another gift sending method according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a gift sending device according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of another gift sending device according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of an electronic device corresponding to the gift sending apparatus provided in the embodiment of fig. 7;
fig. 10 is a schematic structural diagram of an electronic device corresponding to another gift sending apparatus provided in the embodiment of fig. 8.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terminology used in the embodiments of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the examples of the present invention and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise, and "a plurality" typically includes at least two.
The words "if", as used herein, may be interpreted as "at … …" or "at … …" or "in response to a determination" or "in response to a detection", depending on the context. Similarly, the phrases "if determined" or "if detected (a stated condition or event)" may be interpreted as "when determined" or "in response to a determination" or "when detected (a stated condition or event)" or "in response to a detection (a stated condition or event)", depending on the context.
In addition, the sequence of steps in each method embodiment described below is only an example and is not strictly limited.
With the development of the live broadcast technology, the interaction mode between the audience and the anchor is more and more diversified. The present invention relates to a method for presenting gifts to a favorite main broadcast by audiences. However, in the existing live platform, gift packages are distributed uniformly. That is, when the audience has a gift giving requirement, the audience can only select a certain gift from the gift bag to give to the main broadcast. If the number of audiences is large in a certain live broadcast room, when a plurality of audiences present gifts with the same value and the like, other audiences and the anchor are difficult to distinguish which gift is presented by the audiences. If a viewer wants to attract the attention of a main broadcast, a high-value gift is given in a common method. For the financial limited audience, the need to attract the attention of the anchor through the gift cannot be met. Therefore, there is a need for a scheme capable of variously giving gifts based on existing gifts.
For ease of understanding, the gift giving method is specifically exemplified below. The user may be a viewer in a live broadcast room or a main broadcast in a live broadcast room. In a conventional live-air application scenario, the audience usually presents a main broadcast gift, but it is not excluded that the main broadcast presents the audience with the gift in order to increase the interactive effect or express the audience or the thank you to the audience. In the following embodiments, an application scenario in which an audience presents a main broadcast gift is taken as an example for description, and the application scenario is not limited by the technical solution of the present application, and in practical applications, a user may select the application scenario according to an actual requirement of the user. Fig. 1 is a schematic flowchart of a gift sending method according to an embodiment of the present application, where an execution subject of the method may be a server. The method specifically comprises the following steps:
101: and receiving gift track information and role information set by a user.
102: and generating the doodle gift based on the gift outline contained in the gift track information.
103: and responding to a gift sending instruction sent by the user, and sending the doodle gift according to a gift special effect matched with the role information.
The gift track information referred to herein may be a gift outline manually drawn by a user through a client. For example, the user manually draws a heart shape or a flower on the client interface. Because the gift outlines carried in the gift track information in the scheme are drawn manually by the user, the possibility of the occurrence of the duplicate gift outlines is greatly reduced. Can effectively realize the diversification of gifts.
The character information may be a character set directly by the user. For example, the anchor is a game anchor, and the viewer can set a game character in a game that the anchor likes. Of course, the user can purchase non-game characters according to the preference of the user. The gift giving capabilities corresponding to different role information may be different, and specifically, the manner in which the gift is given by different role information may be different, and the special effect of the gift display may be different.
After the server receives the gift profile provided by the user, the gift profile may be identified. For example, various types of gifts are pre-stored in the gift bag of the server, and the outline of the gift provided by the user is compared with the external outline of each gift in the gift bag, so as to determine which gift the user draws. And generating a corresponding scrawling gift according to the determination result. In the generation process, the gift outline is reasonably adjusted according to the actual situation (for example, if the boundary of the gift outline is not closed, the outline is closed according to the actual situation); the original gift outlines may also be preserved.
When gift giving is carried out, the gift giving is realized according to a gift giving instruction of a user. Specifically, when a doodle gift is generated, a corresponding sending action needs to be executed according to a user instruction. The gift giving instructions corresponding to different role information are different. The same role information can also adopt different gift sending instructions to send gift. If the user corresponding to certain role information wants to give a gift, the matched gift special effects may be different according to different gift giving instructions. The gift effect will be specifically exemplified in the following examples.
Through the scheme, the user can draw the personalized doodle gifts by himself, and the diversified gift sending requirements of the user are met. Meanwhile, when the gift is displayed, the corresponding special gift effect can be determined according to the role information set by the user. And further, the determined gift special effect is used for displaying the gift. The requirements of the user for presenting the gifts in a personalized manner can be met from the generation of the gifts to the display of the gifts.
The following exemplifies the process of generating the graffiti gift. The generating a doodle gift based on the gift outline contained in the gift track information comprises: and filling the gift elements into the gift outline to generate the doodling gift according to the gift elements and the number of the elements set by the user.
The gift elements referred to herein are various virtual gifts contained in the current gift bag, with different virtual gifts corresponding to different values. For example, the gift element may be a rose, love heart, star, airplane, yacht, sports car, and the like. These gift elements may be presented separately to the anchor as gifts, such as a single flower or a bunch of flowers.
Fig. 2 is a schematic structural diagram of a gift outline filling according to an embodiment of the present application. As can be seen from fig. 2, after the user draws the completed gift outline, a gift element for filling the gift outline may be selected. The gift elements can then be filled into the gift outline to generate a graffiti gift. Prior to filling, the user is also required to specify a total price for the gift element to be filled. If the total price of the gift elements is specified by the user, the number of elements needing to be filled in the gift outline at the time can be calculated according to the unit price of the gift elements. Of course, the number of at least one type of gift element to be filled may also be directly specified by the user.
Generally, the gift outlines are determined by a user when drawing, the size of the gift elements is fixed, and the number of the gift elements capable of being filled in the gift outlines is relatively fixed. Of course, when the number of the gift elements is smaller during the actual filling, the size of the gift outline can be adjusted, and the size of the gift elements is not adjusted. The gift elements and the gift outlines may be resized at the same time if the user agrees.
Based on the above embodiment, after the gift element is filled into the gift outline to obtain the doodle gift, the method further includes: according to the number of the doodling gifts contained in the gift track information, splitting the doodling gifts to obtain a reduced doodling gift;
and according to the gift formation included in the gift track information, arranging a plurality of the reduced doodling gifts in a formation manner.
In practical application, in order to improve the display effect of the gifts, the doodling gifts can be split. For example, the graffiti gift drawn by the user is relatively large, and 50 gift elements may be required to fill the graffiti gift. In order to improve the display effect, the user can reduce the outline of the gift, and the size of the gift element is kept unchanged. When the reduced gift outline is filled, the required amount can be half or one third of the amount before reduction if the reduced gift outline is filled, so that the amount in the gift outline is reduced. In this way, multiple graffiti gifts may be obtained. The user can also design the display effect of the plurality of doodle gifts, for example, the doodle gifts after being reduced are arranged in a queue. The display effect can be designed, for example, a plurality of doodle gifts are arranged in a long queue and float through the screen for display in a collective mode, and the doodle gifts can be displayed in batches.
When the gift is easy to understand, the outline of the gift can be reduced or enlarged. For example, some users may enlarge the gift outline and fill a large number of gift elements into the gift outline. The size of the gift elements can be adjusted according to the user's requirement, for example, if the gift elements are reduced to one half of the original size, the number of the gift elements that can be filled in the current gift outline can be doubled.
In one or more embodiments of the present application, the sending the doodling gift according to the gift special effect matched with the role information in response to the gift sending instruction sent by the user includes: determining a gift sending path drawn by a user and carried in the gift sending instruction; and sending the doodling gift along the gift sending path according to the gift special effect matched with the role information.
In practical application, the user can set a gift-offering path according to needs. The gift-offering path as referred to herein is a path that the gift is presented in each recipient display interface at the time of gift offering. This gift-offering path may be drawn by the user through their client interface. Fig. 3 is a schematic diagram of a gift-offering path drawing method according to an embodiment of the present disclosure. As can be seen from fig. 3, a gift-offering path similar to an S-shape is drawn from the display interface. The gift moves along the S-shaped trajectory to the left frame on the right frame of the display interface of the anchor and other viewers while being displayed.
And when the user moves according to the gift sending path set by the user, the scrawling gift can be sent according to the gift special effect matched with the role information. That is, in the process of exhibition, not only the movement is carried out along the gift-sending path, but also the exhibition is carried out according to the preset gift special effect.
It should be noted that, when the user draws a path, the gift display time needs to be limited. For example, if the user draws a more tortuous gift-presenting path, the graffiti gift will move quickly along the gift-presenting path due to the limited gift-presentation time. Of course, the moving speed may be kept unchanged during the display, and the gift-offering path drawn by the user may be adjusted, for example, the gift-offering path may be shortened, so as to ensure that the gift display is completed within a specified time.
The following is an example of a gift-specific correlation scheme. Fig. 4 is a flowchart illustrating a method for sending a gift based on a gift effect according to an embodiment of the present application. As can be seen from fig. 4, the sending the doodle gift according to the gift special effect matching with the role information in response to the gift sending instruction sent by the user includes: 401 determining a corresponding action gift effect from the gift effects matching the character information in response to a gift sending action instruction issued by the user. 402: and sending the doodling gift according to the action gift special effect.
It should be noted that the gift-offering instruction mentioned here may be a gesture of the user in front of the client. Such as an OK gesture, a palm gesture, and so forth. After the server receives a gift sending action instruction provided by the client, the corresponding gift special effect is matched according to the currently selected role information of the user. In practical applications, these salutation instructions are acquired by the client using an image acquisition device (e.g., a camera). For example, a user participates in live broadcasting through a mobile phone, the user wants to send a gift sending action instruction to a server, a corresponding action can be put in front of a camera of the mobile phone, and then the mobile phone sends an action image to the server, so that the server determines an action gift special effect corresponding to the action.
As described above, the role information is set by the user according to the needs, and different role information carries different role attributes. For example, if the character information set by the user is a game character, the gift effect of the user is an action gift effect related to the game character. For example, if the user sets the character as a swordsman character, the gift special effect of the user may be a special effect associated with the swordsman character.
In practical application, when the user sends the gift, various gift special effects can be used, and the user can also select the gift special effect related to the role information, namely, the action gift special effect. It is readily understood that a character may also have multiple associated action gift effects. When the user uses the device, different actions of the user can wake up different action gift special effects, and certainly, the user can manually select the action gift special effect.
As a specific example of sending the graffiti gift according to the action gift special effect in step 402, fig. 5 is a schematic flow chart illustrating a sending method of an action gift special effect provided in the embodiment of the present application.
402a: and determining a target limb corresponding to the gift sending action instruction.
402b: and in the motion process of the doodling gift matched with the motion trail of the target limb, sending the doodling gift according to the special effect of the action gift.
In practical application, after receiving a gift sending action instruction provided by a user, determining a target limb corresponding to the gift sending action instruction and a position of the target limb. In the process of the target limb movement of the user, the motion track of the target limb of the user and the position of each moment are acquired in real time. In the embodiment, the purpose of obtaining the movement track is to enable the doodling gift to be matched with the movement of the target limb and perform special effect display according to the special effect requirement of the action gift.
For example, the target limbs are determined to be the two hands of the user, and then the motion tracks of the two hands of the user are obtained. Assuming that the user role information is Qiao Feng of the eight parts of the dragon, the corresponding action gift special effect is eighteen palms of the dragon. Assume that the graffiti gift is a dragon pattern that is filled with gift elements. As the user's hands swing, the gift will form a dragon-shaped air mass and be sent out as the user pushes the palm. The graffiti gift can be seen on the terminals of other viewers to be displayed in a dragon-falling eighteen-palm effect.
For another example, the target limbs are determined to be the two hands of the user, and then the motion tracks of the two hands of the user are obtained. Assume that the graffiti gift is a flower basket. The action of the user can be the action of putting the left hand into a portable flower basket, and the action of picking flowers and scattering flowers by the right hand. At the moment, the flower basket moves along with the left hand, after the right hand of the user swings out of the flower basket to pick up the flowers, one flower moves along with the right hand of the user, and the flower spreading effect can be seen on the terminals of other viewers.
In one or more embodiments of the present application, the sending the doodle gift according to a gift special effect matched with the role information in response to a gift sending instruction sent by the user includes: determining a corresponding voice gift special effect from the gift special effects matched with the role information in response to a gift sending voice instruction sent by the user; and sending the scrawling gift according to the voice gift special effect.
In practical application, the user can also give a gift by a gift-giving voice instruction. Specifically, in some cases, the user may not be convenient to use both hands to perform the action demonstration, and then the voice instruction for generating gifting by the user may be obtained. For example, as in the previous embodiment, the user sets the role information to be Qiao Feng, the corresponding voice instruction for delivering gift is "delivering gift", and the graffiti gift is a dragon-shaped gift. After the server receives the voice instruction of 'delivering gift', the dragon-shaped gift is sent in a dragon-eighteen palm descending special effect mode.
For another example, if the role information set by the user is a cartoon character, the corresponding voice gift special effect is a flower, and the graffiti gift is a flower basket. The voice instruction of delivering the gift is also 'delivering the gift'. After the server receives the voice command of 'gifting', the scrawling gift is sent with the firework gift special effect of the firework according to the role information.
Based on the same idea, the embodiment of the application further provides a gift sending method. Fig. 6 is a flowchart of another gift sending method according to an embodiment of the present application. From fig. 6 it can be seen that the following steps are included:
601: and sending the gift track information and the role information to a server so that the server can generate a doodling gift according to the gift outline contained in the gift track information.
602: and sending a gift sending instruction based on the role information so that the server determines a gift special effect matched with the role information based on the gift sending instruction and sends the scrawling gift.
The gift trace information may be a gift trace drawn by the user on the client interface. The trajectory is a gift profile trajectory. For example, a user may directly hand-draw a gift outline on a live interface displayed by the client, or may call a drawing board control, and then draw a gift on the drawing board control.
In some application scenarios, the identification of the gift track information is also limited by the role information. For example, the gift outline drawn by the user is a five-pointed star, and if the user role information is a ninja, the corresponding five-pointed star pattern is considered as a dart; if the user role is a cartoon character of a magic, the corresponding five-pointed star pattern is considered as a flashing star.
After generating the graffiti gift, the user may send a gift giving instruction to the server. In practical applications, the gift giving instructions corresponding to different roles may be different. The same salutation may play a different role.
In one or more embodiments of the present application, after the sending the gift track information and the character information to the server, the method further includes: determining a gift element and an element number for filling the gift outline so as to fill the gift element into the gift outline to generate the graffiti gift.
After the user draws the gift track information, the gift element is filled in the gift outline carried by the gift track information. The specific filling manner can refer to the embodiments corresponding to fig. 1 and fig. 2. And will not be repeated here.
In one or more embodiments of the present application, the sending a gift sending instruction based on the role information includes: acquiring a gift sending action instruction displayed by the user based on the role information; and sending the collected motion trail of the target limb of the user to the server so that the server controls the doodle gift to be sent according to the special effect of the action gift in the motion process of matching the motion trail.
When the gift is sent, the corresponding gift special effect is determined according to the user role information, and then the corresponding action gift special effect is determined based on the received gift sending action instruction provided by the user. When the gift is sent, the movement track of the target limb of the user in the gift sending action instruction needs to be obtained in a trial mode, so that the server controls the doodling gift to be matched with the movement track to carry out relevant special effect display. Specific ways of sending the doodle gifts based on the gift sending action instructions may refer to the embodiments corresponding to fig. 4 and 5.
Based on the embodiment, after receiving the gift track information set by the user and the role information of the user, the graffiti gift is generated according to the gift outline contained in the gift track information. When the user wants to give a gift, a gift sending instruction is sent to the server, the server can match the corresponding gift special effect according to the role information of the user, and a doodling gift is sent according to the gift special effect. By the technical scheme, when the user wants to give a gift, the personalized doodle gift is generated according to the gift track information set by the user; in addition, when presenting, the corresponding gift special effect can be matched according to the role information of the user, so that the diversified demands of the user for presenting gifts can be met.
Based on the same thought, this application embodiment still provides a gift sending device. Fig. 7 is a schematic structural diagram of a gift sending device according to an embodiment of the present application. As can be seen from fig. 7, the apparatus comprises:
the receiving module 71 is configured to receive gift track information and character information set by a user.
And the generating module 72 is used for generating the doodling gift based on the gift outline contained in the gift track information.
And the sending module 73 is used for responding to a gift sending instruction sent by the user and sending the doodle gift according to the gift special effect matched with the role information.
Optionally, the generating module 72 may be further configured to fill the gift elements into the gift outline to obtain the doodle gift according to the gift elements and the number of elements set by the user.
Optionally, the generating module 72 may be further configured to narrow the outline of the gift according to the number of the graffiti gifts and the number of the elements set by the user;
and filling the gift elements into the reduced gift outlines respectively to generate a reduced graffiti gift.
A sending module 73, configured to determine, in response to a gift sending action instruction sent by the user, a corresponding action gift special effect from the gift special effects matched with the role information; and sending the doodling gift according to the action gift special effect.
The sending module 73 is further configured to determine a target limb corresponding to the gift sending action instruction; and in the motion process of the doodling gift matched with the motion trail of the target limb, sending the doodling gift according to the special effect of the action gift.
A sending module 73, configured to determine, in response to a gift sending voice instruction sent by the user, a corresponding voice gift special effect from the gift special effects matched with the role information; and sending the scrawling gift according to the voice gift special effect.
The sending module 73 is further configured to determine a gift sending path drawn by the user and carried in the gift sending instruction; and sending the doodle gift along the gift sending path according to the gift special effect matched with the role information.
Based on the same idea, the embodiment of the application also provides another gift sending device. Fig. 8 is a schematic structural diagram of another gift sending device according to an embodiment of the present application. As can be seen from fig. 8, the apparatus comprises:
a first sending module 81, configured to send gift track information and role information to a server, so that the server generates a doodle gift according to a gift outline included in the gift track information;
and a second sending module 82, configured to send a gift sending instruction based on the role information, so that the server determines, based on the gift sending instruction, a gift special effect matched with the role information to send the graffiti gift.
The determining module 83 is further configured to determine a gift element and an element number for filling the gift outline, so as to fill the gift element into the gift outline to generate the graffiti gift.
The second sending module 82 is further configured to obtain a gift sending action instruction displayed by the user based on the role information; and sending the collected motion trail of the target limb of the user to the server so that the server controls the doodle gift to be sent according to the special effect of the action gift in the motion process of matching the motion trail.
In one possible design, the structure of the gift sending apparatus shown in fig. 7 described above may be implemented as an electronic device. As shown in fig. 9, the electronic device may include: a processor 91, and a memory 92. Wherein the memory 92 has stored thereon executable code which, when executed by the processor 91, at least makes the processor 91 capable of implementing a gift sending method as provided in the previous embodiments. The electronic device may further include a communication interface 93 configured to communicate with other devices or a communication network.
In addition, an embodiment of the present invention provides a non-transitory machine-readable storage medium, on which executable code is stored, and when the executable code is executed by a processor in a server or a computer, the processor is caused to execute a gift sending method corresponding to fig. 1 provided in the foregoing embodiments.
In one possible design, the structure of the gift sending apparatus shown in fig. 8 described above may be implemented as an electronic device. As shown in fig. 10, the electronic device may include: a processor 1001 and a memory 1002. Wherein the memory 1002 has stored thereon executable code which, when executed by the processor 1001, at least enables the processor 1001 to implement a gift sending method as provided in the preceding embodiments. The electronic device may further include a communication interface 1003 used to communicate with another device or a communication network.
In addition, an embodiment of the present invention provides a non-transitory machine-readable storage medium, on which executable code is stored, and when the executable code is executed by a processor in a server or a computer, the processor is caused to execute a gift sending method corresponding to fig. 6 provided in the foregoing embodiments.
The above-described apparatus embodiments are merely illustrative, wherein the various modules illustrated as separate components may or may not be physically separate. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that the embodiments can be implemented by adding necessary general hardware platform, and of course, can also be implemented by a combination of hardware and software. With this understanding in mind, the above-described aspects may well be embodied in the form of a computer program product, which may be embodied on one or more computer-usable storage media having computer-usable program code embodied therein (including, but not limited to, disk storage, CD-ROM, optical storage, etc.).
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (14)

1. A method for sending a gift, the method comprising:
receiving gift track information and role information set by a user; wherein each of the role information corresponds to a specific gift special effect;
generating a doodling gift based on the gift outline contained in the gift track information; wherein the gift outline is used for filling gift elements therein;
and responding to a gift sending instruction sent by the user, and sending the scrawling gift according to the gift special effect matched with the role information.
2. The method of claim 1, wherein generating a graffiti gift based on a gift profile contained in the gift track information comprises:
and filling the gift elements into the gift outline to obtain the doodling gift according to the gift elements and the number of the elements set by the user.
3. The method of claim 2, wherein after populating the gift element into the gift outline to obtain the graffiti gift, further comprising:
according to the number of the doodling gifts contained in the gift track information, splitting the doodling gifts to obtain a reduced doodling gift;
and according to the gift formation included in the gift track information, arranging a plurality of the reduced doodling gifts in a formation manner.
4. The method of claim 1, wherein sending the graffiti gift with a gift special effect that matches the role information in response to a gift sending instruction issued by the user comprises:
determining a corresponding action gift special effect from gift special effects matched with the role information in response to a gift sending action instruction sent by the user;
and sending the scrawling gift according to the action gift special effect.
5. The method of claim 4, wherein the sending the graffiti gift in accordance with the action gift special effect comprises:
determining a target limb corresponding to the gift sending action instruction;
and in the motion process of the doodling gift matched with the motion trail of the target limb, sending the doodling gift according to the special effect of the action gift.
6. The method of claim 1, wherein the sending the doodle gift in accordance with a gift special effect matching the character information in response to a gift sending instruction issued by the user comprises:
determining a corresponding voice gift special effect from the gift special effects matched with the role information in response to a gift sending voice instruction sent by the user;
and sending the scrawling gift according to the voice gift special effect.
7. The method of claim 1, wherein sending the graffiti gift with a gift special effect that matches the role information in response to a gift sending instruction issued by the user comprises:
determining a gift sending path drawn by a user and carried in the gift sending instruction;
and sending the doodle gift along the gift sending path according to the gift special effect matched with the role information.
8. A method for sending a gift, the method comprising:
sending gift track information and role information to a server so that the server can generate a doodling gift according to a gift outline contained in the gift track information; wherein each of the character information corresponds to a particular gift special effect, wherein the gift outline is used to fill gift elements therein;
and sending a gift sending instruction based on the role information so that the server determines a gift special effect matched with the role information based on the gift sending instruction and sends the scrawling gift.
9. The method of claim 8, wherein after transmitting the gift track information and the character information to the server, further comprising:
determining a gift element and an element number for filling the gift outline so as to fill the gift element into the gift outline to generate the graffiti gift.
10. The method of claim 8, wherein sending a gift giving instruction based on the role information comprises:
acquiring a gift sending action instruction displayed by the user based on the role information;
and sending the collected movement track of the target limb of the user to the server so that the server can determine the corresponding action gift special effect from the gift special effects matched with the role information, and control the doodling gift to be matched with the movement track to send the doodling gift according to the action gift special effect in the movement process.
11. A gift sending apparatus, comprising:
the receiving module is used for receiving gift track information and role information set by a user; wherein each of the role information corresponds to a specific gift special effect;
the generation module is used for generating a doodling gift based on the gift outline contained in the gift track information; wherein the gift outline is used for filling gift elements therein;
and the sending module is used for responding to a gift sending instruction sent by the user and sending the scrawling gift according to the gift special effect matched with the role information.
12. A gift sending apparatus, comprising:
the system comprises a first sending module, a second sending module and a display module, wherein the first sending module is used for sending gift track information and role information to a server so that the server can generate a doodling gift according to a gift outline contained in the gift track information; wherein each of the character information corresponds to a particular gift special effect, wherein the gift outline is used to fill gift elements therein;
and the second sending module is further used for sending a gift sending instruction based on the role information so that the server can determine a gift special effect matched with the role information based on the gift sending instruction and send the scrawling gift.
13. An electronic device comprising a processor and a memory, the memory having stored therein at least one instruction, at least one program, set of codes, or set of instructions, which is loaded and executed by the processor to implement a gift sending method according to any one of claims 1 to 10.
14. A computer readable medium having stored thereon at least one instruction, at least one program, set of codes, or set of instructions, which is loaded and executed by a processor to implement a method of gift sending according to any one of claims 1-10.
CN202011312415.4A 2020-11-20 2020-11-20 Gift sending method, device, electronic equipment and readable medium Active CN112492336B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011312415.4A CN112492336B (en) 2020-11-20 2020-11-20 Gift sending method, device, electronic equipment and readable medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011312415.4A CN112492336B (en) 2020-11-20 2020-11-20 Gift sending method, device, electronic equipment and readable medium

Publications (2)

Publication Number Publication Date
CN112492336A CN112492336A (en) 2021-03-12
CN112492336B true CN112492336B (en) 2023-03-31

Family

ID=74932584

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011312415.4A Active CN112492336B (en) 2020-11-20 2020-11-20 Gift sending method, device, electronic equipment and readable medium

Country Status (1)

Country Link
CN (1) CN112492336B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113766258B (en) * 2021-07-27 2023-04-11 广州方硅信息技术有限公司 Live broadcast room virtual gift presentation processing method and equipment and storage medium
CN114598928A (en) * 2022-03-10 2022-06-07 卓米私人有限公司 Screen adaptation method and device for interactive elements in live broadcast room and electronic equipment
CN114866820B (en) * 2022-04-15 2023-12-08 北京量子之歌科技有限公司 Gift sending method, gift sending device and storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111107417A (en) * 2019-12-16 2020-05-05 广州华多网络科技有限公司 Virtual gift giving method, device, system, computer equipment and storage medium

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105653167B (en) * 2015-12-23 2019-02-12 广州华多网络科技有限公司 It is a kind of based on the information displaying method being broadcast live online and client
CN105610868B (en) * 2016-03-03 2019-08-06 腾讯科技(深圳)有限公司 A kind of method of information exchange, equipment and system
CN106331735B (en) * 2016-08-18 2020-04-21 北京奇虎科技有限公司 Special effect processing method, electronic equipment and server
CN106658038A (en) * 2016-12-19 2017-05-10 广州虎牙信息科技有限公司 Live broadcast interaction method based on video stream and corresponding device thereof
CN108683954A (en) * 2018-05-30 2018-10-19 广州华多网络科技有限公司 Pop-up animation producing method and device, pop-up animation, network direct broadcasting server
CN109547836A (en) * 2018-12-05 2019-03-29 网易(杭州)网络有限公司 Exchange method and device, electronic equipment, storage medium is broadcast live
CN111010585B (en) * 2019-12-06 2021-10-22 广州方硅信息技术有限公司 Virtual gift sending method, device, equipment and storage medium
CN111050189B (en) * 2019-12-31 2022-06-14 成都酷狗创业孵化器管理有限公司 Live broadcast method, device, equipment and storage medium

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111107417A (en) * 2019-12-16 2020-05-05 广州华多网络科技有限公司 Virtual gift giving method, device, system, computer equipment and storage medium

Also Published As

Publication number Publication date
CN112492336A (en) 2021-03-12

Similar Documents

Publication Publication Date Title
CN112492336B (en) Gift sending method, device, electronic equipment and readable medium
US11663765B2 (en) Animation control method for multiple participants
CN107750005B (en) Virtual interaction method and terminal
US11145125B1 (en) Communication protocol for streaming mixed-reality environments between multiple devices
KR101951761B1 (en) System and method for providing avatar in service provided in mobile environment
US20210191690A1 (en) Virtual Reality Device Control Method And Apparatus, And Virtual Reality Device And System
KR101907136B1 (en) System and method for avatar service through cable and wireless web
CN109885367B (en) Interactive chat implementation method, device, terminal and storage medium
CN109254650B (en) Man-machine interaction method and device
CN108024134B (en) Live broadcast-based data analysis method and device and terminal equipment
CN110162667A (en) Video generation method, device and storage medium
JP7046044B2 (en) Computer programs, server devices and methods
CN114257875B (en) Data transmission method, device, electronic equipment and storage medium
US20230298242A1 (en) Notification application for a computing device
CN114938459A (en) Virtual live broadcast interaction method and device based on barrage, storage medium and equipment
US11660542B2 (en) Fraud detection in electronic subscription payments
CN113332717A (en) Game equipment display method and device, electronic equipment and storage medium
KR102079321B1 (en) System and method for avatar service through cable and wireless web
US11465046B2 (en) Video game processing program and video game processing system
JP7329217B2 (en) Computer program, server device, terminal device, and method
CN114531406A (en) Interface display method and device and storage medium
CN114995927A (en) Information display processing method, device, terminal and storage medium
US20160154552A1 (en) Smart books
CN114730515B (en) Fraud detection in electronic subscription payments
CN116943243A (en) Interaction method, device, equipment, medium and program product based on virtual scene

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant