Virtual gift giving method, system, device and equipment and storage medium

By using sliding events to obtain sliding track information in the live broadcast online and generating the second virtual gift gift information according to the sliding direction, the problem of cumbersome virtual gift gift gift process is solved, and the effect of simplifying the process, improving interactive experience and user participation is achieved.

CN120091151APending Publication Date: 2025-06-03GUANGZHOU FANGGUI INFORMATION TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510376026.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2021-11-24
Publication Date
2025-06-03

AI Technical Summary

Technical Problem

The virtual gift gift process in existing live broadcasts is cumbersome, which affects the enthusiasm of the audience and the anchor to interact.

Method used

The viewer side obtains the sliding track information in response to the sliding event and sends the relevant data to the server side. The server responds to the gift rules based on the sliding direction and the preset virtual gift, generates the second virtual gift gift information and sends it back to the audience. The audience gives the second virtual gift to the user corresponding to the user ID of the given object based on the information.

Benefits of technology

The virtual gift gift process has been simplified, the live interactive experience and user participation have been improved, the ability to quickly offset gifts has been enhanced, and the fun and user stickiness of live interactive activities have been improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120091151A_ABST
    Figure CN120091151A_ABST
Patent Text Reader

Abstract

The invention relates to a virtual gift giving method, system and device, equipment and a storage medium, and belongs to the technical field of network live broadcast. The audience side responds to a sliding event of first virtual gift giving information sent in the live broadcast room, sliding track information corresponding to the sliding event is obtained, and the server side determines the sliding direction of the audience side on the picture of the live broadcast room according to the sliding track information; according to the sliding direction, obtaining a second virtual gift identifier corresponding to the first virtual gift identifier and a second gift giving number to generate second virtual gift giving information, and sending the second virtual gift giving information to the audience side; the audience side can follow the first virtual gift giving information to quickly give the second virtual gift to the user corresponding to the giving object user identifier, so that the gift giving process is simplified, and the gift giving efficiency and the interactive experience are improved.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application is a divisional application of the application with the application number 202111405427.6, the application date of November 24, 2021, and the invention title of "Virtual Gift Giving Method, System, Device, Equipment and Storage Medium". Technical Field

[0002] This application relates to the field of network live broadcast technology, and particularly relates to a virtual gift giving method, system, device, equipment and storage medium. Background Art

[0003] With the progress of network communication technology, network live broadcast has become a new type of network interaction method, and network live broadcast is also loved by more and more audiences because of its characteristics such as real-time and interactivity.

[0004] Currently, when a viewer gives a virtual gift to a live streamer, a series of operations such as selecting the virtual gift to be given, inputting the number of gifts to be given, and clicking to confirm the gift giving are often required to complete the giving of the virtual gift. The operation is rather inconvenient and affects the enthusiasm of the viewer to interact with the live streamer. Summary of the Invention

[0005] Based on this, the purpose of this application is to provide a virtual gift giving method, system, device, equipment and storage medium, and propose a virtual gift giving method, which can improve the live broadcast interaction experience and user participation.

[0006] According to the first aspect of the embodiments of this application, a virtual gift giving method is provided. The virtual gift giving method includes:

[0007] The viewer terminal responds to a sliding event of the first virtual gift giving information sent in the live broadcast room, obtains the sliding trajectory information corresponding to the sliding event, and sends the first virtual gift identifier, the recipient user identifier, the first number of gifts, the sliding trajectory information, and the user identifier corresponding to the viewer terminal corresponding to the first virtual gift giving information to the server terminal;

[0008] The server terminal determines the sliding direction of the viewer terminal on the live broadcast room screen according to the sliding trajectory information; obtains a second virtual gift identifier and a second number of gifts corresponding to the first virtual gift identifier according to the sliding direction, generates second virtual gift giving information and sends it to the viewer terminal; wherein, the second virtual gift identifier is determined according to the sliding direction information, the preset virtual gift response giving rule and the first virtual gift identifier;

[0009] The viewer terminal gives a second virtual gift to the user corresponding to the recipient user identifier according to the second virtual gift giving information.

[0010] According to the second aspect of the embodiments of the present application, a virtual gift giving system is provided, including a server side and an audience side;

[0011] In response to a sliding event of the first virtual gift giving information sent in the live broadcast room, the audience side obtains the sliding trajectory information corresponding to the sliding event, and sends the first virtual gift identifier, the recipient user identifier, the first giving quantity, the sliding trajectory information, and the user identifier corresponding to the audience side corresponding to the first virtual gift giving information to the server side;

[0012] The server side determines the sliding direction of the audience side on the live broadcast room screen according to the sliding trajectory information; obtains a second virtual gift identifier and a second giving quantity corresponding to the first virtual gift identifier according to the sliding direction, generates second virtual gift giving information, and sends it to the audience side; wherein, the second virtual gift identifier is determined according to the sliding direction information, a preset virtual gift response giving rule, and the first virtual gift identifier;

[0013] The audience side gives a second virtual gift to the user corresponding to the recipient user identifier according to the second virtual gift giving information.

[0014] According to the third aspect of the embodiments of the present application, a virtual gift giving device is provided, and the device includes:

[0015] A sliding trajectory information obtaining module, configured to obtain the sliding trajectory information corresponding to the sliding event in response to a sliding event of the first virtual gift giving information sent in the live broadcast room, and send the first virtual gift identifier, the recipient user identifier, the first giving quantity, the sliding trajectory information, and the user identifier corresponding to the audience side corresponding to the first virtual gift giving information to the server side;

[0016] A gift giving information obtaining module, configured to determine the sliding direction of the audience side on the live broadcast room screen by the server side according to the sliding trajectory information; obtain a second virtual gift identifier and a second giving quantity corresponding to the first virtual gift identifier according to the sliding direction, generate second virtual gift giving information, and send it to the audience side; wherein, the second virtual gift identifier is determined according to the sliding direction information, a preset virtual gift response giving rule, and the first virtual gift identifier;

[0017] A giving module, configured to give a second virtual gift to the user corresponding to the recipient user identifier according to the second virtual gift giving information.

[0018] According to a fourth aspect of an embodiment of the present application, there is provided an electronic device, including: a processor and a memory; wherein, the memory stores a computer program, and the computer program is adapted to be loaded and executed by the processor to perform any one of the virtual gift giving methods.

[0019] According to a fifth aspect of an embodiment of the present application, there is provided a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, it implements any one of the virtual gift giving methods.

[0020] In the present application, in response to a sliding event of the first virtual gift giving information sent in the live broadcast room, the viewer end obtains the sliding trajectory information corresponding to the sliding event, and the server end determines the sliding direction of the viewer end on the live broadcast room screen according to the sliding trajectory information; according to the sliding direction, a second virtual gift identifier and a second giving quantity corresponding to the first virtual gift identifier are obtained to generate a second virtual gift giving information and sent to the viewer end. The viewer end can quickly give a second virtual gift to the user corresponding to the recipient user identifier following the first virtual gift giving information, simplifying the gift giving process and improving the efficiency and interactive experience of gift giving.

[0021] It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and cannot limit the present application.

[0022] For better understanding and implementation, the present application will be described in detail below with reference to the accompanying drawings. Description of the Drawings

[0023] Figure 1 It is a schematic diagram of an application environment of a virtual gift giving method provided by an embodiment of the present application;

[0024] Figure 2 It is a flowchart of a virtual gift giving method provided by an embodiment of the present application;

[0025] Figure 3 It is an example diagram of a live broadcast room display interface provided by an embodiment of the present application;

[0026] Figure 4 It is an example diagram of a live broadcast room display interface provided by another embodiment of the present application;

[0027] Figure 5 It is an example diagram of a live broadcast room display interface provided by another embodiment of the present application;

[0028] Figure 6 It is a schematic structural diagram of a virtual gift giving device provided by an embodiment of the present application;

[0029] Figure 7A schematic structural diagram of an electronic device provided by an embodiment of the present application. Detailed implementation manners

[0030] To make the objectives, technical solutions, and advantages of the present application clearer, the following will further describe in detail the embodiments of the present application in conjunction with the accompanying drawings.

[0031] It should be clear that the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts fall within the protection scope of the present application.

[0032] When the following description refers to the accompanying drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementation manners described in the following exemplary embodiments do not represent all the implementation manners consistent with the present application. On the contrary, they are only examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.

[0033] In the description of the present application, it should be understood that the terms "first", "second", "third", etc. are only used to distinguish similar objects, and do not have to be used to describe a specific order or sequence, nor can they be understood as indicating or implying relative importance. For those of ordinary skill in the art, the specific meanings of the above terms in the present application can be understood according to specific circumstances. The singular forms of "a", "the", and "said" used in the present application and the appended claims are also intended to include the plural forms unless the context clearly indicates otherwise. The word "if" / "when" used herein can be interpreted as "when...", "while...", or "in response to determining". In addition, in the description of the present application, unless otherwise stated, "a plurality of" means two or more. "And / or" describes the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist simultaneously, and B exists alone. The character " / " generally represents an "or" relationship between the associated objects before and after.

[0034] Please refer to Figure 1 , Figure 1 A schematic diagram of an application scenario of a virtual gift giving method provided by an embodiment of the present application. This application scenario includes a host side 20, a server side 10, and a viewer side 30 provided by the embodiments of the present application. The host side 20 interacts with the viewer side 30 through the server side 10.

[0035] Among them, the host side 20 refers to the end that sends network live videos, usually the viewer side used by the host in a network live broadcast.

[0036] The viewer terminal 30 refers to the end that receives and watches the live webcast video. Generally speaking, it is the viewer terminal used by the viewers watching the video in the live webcast.

[0037] The hardware pointed to by the host terminal 20 and the viewer terminal 30 essentially refers to computer devices. Specifically, as Figure 1 shown, it can be computer devices such as smartphones, intelligent interactive tablets, and personal computers. Both the host terminal 20 and the viewer terminal 30 can access the Internet through well-known network access methods and establish a data communication link with the server terminal 10.

[0038] As a service server, the server terminal 10 can be responsible for further connecting relevant audio data servers, video stream servers, and other servers providing relevant support, etc., to form a logically related service cluster to provide services for relevant terminal devices, such as Figure 1 the host terminal 20 and the viewer terminal 30 shown in

[0039] Among them, in response to a sliding event of the first virtual gift giving information sent in the live broadcast room, the viewer terminal 30 obtains the sliding trajectory information corresponding to the sliding event, and sends the first virtual gift identifier, the recipient user identifier, the first giving quantity, the sliding trajectory information, and the user identifier corresponding to the viewer terminal to the server terminal 10;

[0040] The server terminal 10 obtains the response gift giving rule corresponding to the sliding trajectory information according to the preset virtual gift response gift giving rule, and generates the second virtual gift giving information according to the response gift giving rule, the first virtual gift identifier, the recipient user identifier, the first giving quantity, and the user identifier corresponding to the viewer terminal, and sends it to the viewer terminal; wherein, the second virtual gift giving information includes a second virtual gift identifier and a second giving quantity;

[0041] The viewer terminal 30 gives the second virtual gift to the user corresponding to the recipient user identifier according to the second virtual gift giving information.

[0042] Embodiment 1:

[0043] Next, a virtual gift giving method provided by an embodiment of the present application will be introduced in detail with reference to the accompanying drawings.

[0044] Please refer to Figure 2 , an embodiment of the present application provides a virtual gift giving method, including the following steps:

[0045] S101: In response to a sliding event for the first virtual gift giving information sent in the live broadcast room, the viewer terminal obtains the sliding trajectory information corresponding to the sliding event, and sends the first virtual gift identifier, the recipient user identifier, the first gift quantity, the sliding trajectory information, and the user identifier corresponding to the viewer terminal to the server terminal;

[0046] The first virtual gift giving information may be the transaction information displayed in the live broadcast room after a viewer terminal in the live broadcast room gives a first virtual gift to the host terminal. It should be noted that the viewer terminals in the live broadcast room include all viewer terminals in the live broadcast room, including the current viewer terminal and other viewer terminals in the live broadcast room.

[0047] Specifically, the first virtual gift giving information may include a first virtual gift identifier, a recipient user identifier, and a first gift quantity. The first virtual gift identifier can be used to determine a specific virtual gift. Specifically, the first virtual gift identifier may be the uid of the first virtual gift. The recipient user identifier can be used to determine the specific recipient. The recipient user identifier may include the uids of at least one recipient. The recipient may be the host in the live broadcast room or the host of the live broadcast room.

[0048] The sliding event may be a touch event where one or more fingers of the user slide on a touch-enabled device. At this time, the sliding trajectory information may be the touch trajectory of one or more fingers of the user sliding on the touch-enabled device. Or, the sliding event may be an operation event where the user uses an interaction device to slide on the display device, and the sliding trajectory information may be the sliding trajectory of the interaction device or the cursor of the interaction device on the display device; among them, the sliding trajectory information may include information such as the sliding direction and distance. The touch-enabled device may be a touch screen, a mobile phone, etc. The interaction device may be a mouse, a laser pointer, etc.

[0049] In the embodiment of the present application, the sliding event is an operation event where the user presses the mouse and then slides the mouse using a terminal connected to the display. The sliding trajectory information is the sliding trajectory of the cursor of the mouse on the display. Specifically, the sliding trajectory information includes sliding direction information;

[0050] The steps for the viewer terminal to obtain the sliding trajectory information corresponding to the sliding event in response to the sliding event for the first virtual gift giving information sent in the live broadcast room include:

[0051] In response to a long-press event for the first virtual gift giving information sent in the live broadcast room, if the duration of the long-press event reaches a preset duration, the viewer terminal obtains the initial position point and the end position point of the long-press event within a preset time interval;

[0052] Obtain the sliding direction information based on the initial position point and the end position point.

[0053] When the cursor of the mouse on the viewer side is detected to move to the position where the first virtual gift giving information is located and the mouse is pressed, start calculating the time when the mouse is pressed. At this time, the time when the mouse is pressed is the duration of the long - press event. When the time when the mouse is pressed reaches the preset duration, it is considered that a sliding event for the first virtual gift giving information is triggered. Among them, the preset duration can be set according to actual needs. For example, it can be set to 500 ms. Preferably, in the embodiments of the present application, a countdown component can be set to determine whether the duration of the long - press event reaches the preset duration. Among them, the countdown duration is the preset duration. When it is detected that the mouse is pressed, trigger the countdown component to count down. When it is detected that the remaining countdown time of the countdown component is 0, it is determined that the duration of the long - press event reaches the preset duration.

[0054] The initial position point of the long - press event can be the position information after the duration of the long - press event reaches the preset duration. When using the countdown component to determine whether the duration of the long - press event reaches the preset duration, the initial position point of the long - press event can be the position where the cursor of the mouse is located when the remaining countdown time of the countdown component is 0.

[0055] The end position point of the long - press event can be the position where the user's finger or the cursor of the interaction device is located when the long - press event ends.

[0056] Determine the sliding direction of the viewer side on the live - broadcast room screen according to the position movement of the initial position point and the end position point, and obtain the sliding direction information.

[0057] Specifically, the display interface of the display device can be used as a plane, the horizontal direction can be used as the X - axis, and the direction perpendicular to the ground can be used as the Y - axis to establish a coordinate system. Obtain the coordinate information (x1, y1), (x2, y2) of the initial position point and the end position point in this coordinate system. According to the coordinate information of the initial position point and the end position point in this coordinate system, obtain the sliding direction of the viewer side on the live - broadcast room screen; the sliding direction includes sliding up, sliding down, sliding left, and sliding right;

[0058] If y1 = y2 and x1 > x2, the sliding direction is sliding left; if y1 = y2 and x1 < x2, the sliding direction is sliding right.

[0059] If x1 = x2 and y1 > y2, the sliding direction is sliding down; if x1 = x2 and y1 < y2, the sliding direction is sliding up;

[0060] If y1 ≠ y2 and x1 ≠ x2, let diffx = x1 - x2 and diffy = y1 - y2;

[0061] If |diffx| > |diffy|, it is regarded as a left - right swipe; if x1 > x2, the swipe direction is a left swipe, and if x1 < x2, the swipe direction is a right swipe;

[0062] If |diffx| < |diffy|, it is regarded as an up - down swipe; if y1 > y2, the swipe direction is a down swipe, and if y1 < y2, the swipe direction is an up swipe.

[0063] S102: The server - side obtains the response - giving rule corresponding to the sliding - trajectory information according to the preset virtual - gift response - giving rule, and generates second virtual - gift giving information based on the response - giving rule, the first virtual - gift identifier, the recipient - user identifier, the giving quantity, and the user identifier corresponding to the viewer - side, and sends it to the viewer - side; wherein, the second virtual - gift giving information includes a second virtual - gift identifier and a second giving quantity;

[0064] The virtual - gift response - giving rule is used to obtain a second virtual - gift identifier and a second giving quantity according to the first virtual - gift identifier, the recipient - user identifier, the giving quantity, and the user identifier corresponding to the viewer - side sent by the viewer - side, and generate second virtual - gift giving information, so that the viewer - side can give virtual gifts to the user corresponding to the recipient - user identifier according to the second virtual - gift giving information.

[0065] The second virtual - gift identifier and the second giving quantity determined according to the response - giving rule, the first virtual - gift identifier, the recipient - user identifier, the first giving quantity, and the user identifier corresponding to the viewer - side may be the same as the first virtual - gift identifier and the first giving quantity, or may be partially the same. For example, the second virtual - gift identifier is the same as the first virtual - gift identifier, and the second giving quantity is different from the first giving quantity, or the second virtual - gift identifier is different from the first virtual - gift identifier, and the second giving quantity is the same as the first giving quantity; or, they may also be completely different, that is, the second virtual - gift identifier is different from the first virtual - gift identifier, and the second giving quantity is different from the first giving quantity. The second virtual - gift giving information can be generated according to the virtual - gift response - giving rule specifically set by the user, and corresponding second virtual - gift giving information is generated according to the corresponding virtual - gift response - giving rule.

[0066] S103: The viewer - side gives a second virtual - gift to the user corresponding to the recipient - user identifier according to the second virtual - gift giving information.

[0067] The recipient user identifier is used to determine the user who receives the second virtual gift. In the embodiments of the present application, the user who receives the second virtual gift is the same as the user who receives the first virtual gift. According to the sliding track information of the first virtual gift giving information sent in the live broadcast room on the viewer side, the server side generates the second virtual gift giving information, and the viewer side gives the second virtual gift to the user corresponding to the recipient user identifier according to the second virtual gift giving information, which simplifies the gift giving steps and improves the efficiency and enthusiasm of gift giving.

[0068] After giving the corresponding number of second virtual gifts to the corresponding host side, the following steps are further included:

[0069] The viewer side displays the giving special effect of the second virtual gift.

[0070] The viewer side can generate the giving special effect of the second virtual gift according to the giving special effect data saved locally or in the cloud, so as to improve the user's live broadcast interaction experience and increase the viewer stickiness. Among them, the giving special effect data can include one or more elements such as video data, animation data, music data, text data, and picture data.

[0071] As Figure 3-4 shown, it is an example diagram of the display interface of the live broadcast room in an embodiment. In this embodiment, the first virtual gift identifier is the same as the second virtual gift identifier; the second giving quantity is determined by the server side according to the sliding direction information of the viewer side.

[0072] Specifically, the steps for the server side to generate the second virtual gift giving information according to the response giving rule, the first virtual gift identifier, the recipient user identifier, the giving quantity, and the user identifier corresponding to the viewer side include:

[0073] According to the sliding direction information, determine the sliding direction of the viewer side on the live broadcast room screen; wherein, the sliding direction includes sliding up, sliding down, sliding left, and sliding right;

[0074] If the sliding direction of the viewer side on the live broadcast room screen is sliding left or right, make the second virtual gift identifier the same as the first virtual gift identifier, and determine the second giving quantity according to whether it is sliding left or right, and generate the second virtual gift giving information;

[0075] Or,

[0076] If the sliding direction of the viewer side on the live broadcast room screen is sliding up or down, make the second virtual gift identifier the same as the first virtual gift identifier, and determine the second giving quantity according to whether it is sliding up or down, and generate the second virtual gift giving information.

[0077] The user can set the second gift quantity according to the actual needs, either by determining it based on the left - right sliding direction or based on the up - down direction.

[0078] If the second gift quantity is determined according to the left - right sliding direction, it can be set such that the second gift quantity increases when swiping left, decreases when swiping right or the second gift quantity is the same as the first gift quantity; or, conversely, the second gift quantity decreases when swiping left or the second gift quantity is the same as the first gift quantity, and increases when swiping right.

[0079] Specifically, in the embodiment of the present application, the steps of determining the second gift quantity according to the sliding direction being left - sliding or right - sliding include:

[0080] If the sliding direction is left - sliding, make the second gift quantity the same as the first gift quantity;

[0081] If the sliding direction is right - sliding, increase the second gift quantity by a preset increment value so that the second gift quantity is greater than the first gift quantity;

[0082] Or,

[0083] If the sliding direction is left - sliding, increase the second gift quantity by a preset increment value so that the second gift quantity is greater than the first gift quantity;

[0084] If the sliding direction is right - sliding, make the second gift quantity the same as the first gift quantity;

[0085] If the second gift quantity is determined according to the up - down sliding direction, it can be set such that the second gift quantity increases when swiping up, decreases when swiping down or the second gift quantity is the same as the first gift quantity; or, conversely, the second gift quantity decreases when swiping up or the second gift quantity is the same as the first gift quantity, and increases when swiping down.

[0086] Specifically, the steps of determining the second gift quantity according to the sliding direction being up - sliding or down - sliding include:

[0087] If the sliding direction is up - sliding, make the second gift quantity the same as the first gift quantity;

[0088] If the sliding direction is down - sliding, increase the second gift quantity by a preset increment value so that the second gift quantity is greater than the first gift quantity;

[0089] Or,

[0090] If the sliding direction is upward, increase the second gift quantity by a preset increment value so that the second gift quantity is greater than the first gift quantity;

[0091] If the sliding direction is downward, make the second gift quantity the same as the first gift quantity.

[0092] The increment value of the second gift quantity can be set as a natural number greater than 1 according to the actual needs of the user. For example, it can be set to 1.

[0093] As Figure 3 shown, when user B long-presses the first virtual gift giving information 401 in the live broadcast room and swipes left, a second virtual gift giving information is generated that is the same as the first virtual gift identifier, the recipient user identifier, and the first gift quantity in the first virtual gift giving information 401.

[0094] After user B sends 1 flower to user a corresponding to the recipient user identifier, a second virtual gift giving information 402 including the user identifier "user B" corresponding to the viewer side, the recipient user identifier "user a", the second virtual gift dynamic image, and the gift giving serial number "1" is displayed on the display interface of the live broadcast room. Among them, the gift giving serial number can be determined by the second gift quantity.

[0095] As Figure 4 shown, when user C long-presses the first virtual gift giving information 401 in the live broadcast room and swipes right, a second virtual gift giving information is generated that is the same as the first virtual gift identifier and the recipient user identifier in the first virtual gift giving information 401, where the second gift quantity is obtained by increasing the first gift quantity by 1.

[0096] After user C sends 2 flowers to user a, a second virtual gift giving information including the user identifier "user C" corresponding to the viewer side, the recipient user identifier "user a", the second virtual gift identifier, and the second gift quantity is displayed on the display interface of the live broadcast room.

[0097] It should be noted that in each embodiment of this application, every time a flower is sent, a second virtual gift giving information including the user identifier "user B" corresponding to the viewer side, the recipient user identifier "user a", the second virtual gift dynamic image, and the gift giving serial number is displayed on the display interface of the live broadcast room.

[0098] In this application, user C sends 2 fresh flowers to user a, and on the display interface of the live broadcast room, second virtual gift giving information 403 including the user identifier "user C" corresponding to the viewer side, the recipient user identifier "user a", the second virtual gift dynamic image, and the gift giving serial number "1", and second virtual gift giving information 404 including the user identifier "user B" corresponding to the viewer side, the recipient user identifier "user a", the second virtual gift dynamic image, and the gift giving serial number "2" are generated. According to the gift giving serial number, it can be determined that user C sends 2 fresh flowers to user a.

[0099] When interacting in the live broadcast room, users can send negative gifts to the anchor to express dissatisfaction. After receiving the negative gift, the charm value of the anchor decreases. Other users in the live broadcast room can send positive gifts to the anchor to keep the charm value of the anchor side unaffected. However, in the prior art, users often need to select virtual gifts and input the number of gifts to be sent. Especially when the live broadcast room is in a PK activity, the inability to offset the negative impact of negative gifts in a timely manner may affect the score of the live broadcast room, resulting in the failure of the PK and affecting the interactive experience of the audience.

[0100] In view of the above problems, in the embodiments of this application, a virtual gift giving method for quickly sending countermeasure gifts is proposed, as Figure 5 shown. It is a schematic diagram of the display interface of the live broadcast room in an embodiment. In this embodiment, the second virtual gift identifier and the second gift giving quantity are determined by the server side according to the sliding direction information of the viewer side, the response gift giving rule, and the first virtual gift identifier.

[0101] Specifically, the steps for the server side to generate the second virtual gift giving information according to the response gift giving rule, the first virtual gift identifier, the recipient user identifier, the gift giving quantity, and the user identifier corresponding to the viewer side include:

[0102] Determine the sliding direction of the viewer side on the live broadcast room screen according to the sliding direction information; wherein, the sliding direction includes upward sliding, downward sliding, leftward sliding, and rightward sliding;

[0103] If the sliding direction of the viewer side on the live broadcast room screen is upward or downward sliding, search the preset virtual gift information table, obtain the second virtual gift identifier and the second gift giving quantity corresponding to the first virtual gift identifier, and generate the second virtual gift giving information;

[0104] Or, if the sliding direction of the viewer side on the live broadcast room screen is leftward or rightward sliding, search the preset virtual gift information table, obtain the second virtual gift and the second gift giving quantity corresponding to the first virtual gift, and generate the second virtual gift giving information.

[0105] The virtual gift information table is used to obtain the second virtual gift. The gift attributes of each virtual gift in the virtual gift information table include bonus attributes and effect values. Among them, the bonus attribute means that the user who receives this virtual gift will increase or decrease attributes such as experience or charm. The bonus attribute includes two opposite bonus attributes: increase and decrease. The effect value refers to the increased or decreased experience value or charm value, which includes specific numerical values. The gift attributes of virtual gifts can be obtained by reading the information of virtual gifts in the virtual gift database.

[0106] As shown in Table 1 below, the preset virtual gift information table includes several first virtual gift identifiers giftId, bonus attributes giftProperty, the effect value giftValue of a single first virtual gift, and the corresponding opposing virtual gift identifier oppsiteId for each first virtual gift identifier;

[0107] Among them, the bonus attribute of the opposing virtual gift corresponding to the opposing virtual gift identifier oppsiteId is opposite to the bonus attribute of the first virtual gift corresponding to the first virtual gift identifier giftId;

[0108] Table 1 Virtual Gift Information Table

[0109]

[0110] As shown in Table 1, the opposing virtual gift identifier of the virtual gift "pill" with the virtual gift identifier "1" is "2", that is, the opposing virtual gift of the virtual gift "pill" is "bomb", and so on. The virtual gifts and their corresponding opposing virtual gifts in Table 1 can be set according to the actual operation needs of the user, and only exemplary displays are provided here.

[0111] The steps of searching the preset virtual gift information table to obtain the second virtual gift identifier and the second gift quantity corresponding to the first virtual gift identifier include:

[0112] According to the first virtual gift identifier, obtain the bonus attribute of the first virtual gift, the effect value of a single first virtual gift, and the opposing virtual gift identifier corresponding to the first virtual gift from the preset virtual gift information table;

[0113] Use the opposing virtual gift identifier as the second virtual gift identifier, and obtain the effect value of a single second virtual gift;

[0114] Obtain the total effect value of the first virtual gift according to the first gift quantity and the effect value of a single first virtual gift, and obtain the second gift quantity according to the total effect value of the first virtual gift and the effect value of a single second virtual gift.

[0115] Specifically, the second gift quantity is calculated in the following manner:

[0116]

[0117] Among them, giftCount2 is the second gift quantity, giftCount1 is the first gift quantity, giftValue1 is the effect value of a single first virtual gift, and giftValue2 is the effect value of a single second virtual gift.

[0118] In one embodiment, if the first virtual gift identifier is not in the preset virtual gift information table, then stop sending the second virtual gift to the user corresponding to the recipient user identifier.

[0119] In a preferred embodiment, there is a corresponding relationship between the bonus attribute of the virtual gift in the virtual gift information table and the sliding direction of the viewer client on the live broadcast room screen; specifically, before using the confrontation virtual gift identifier as the second virtual gift identifier, the following steps are further included:

[0120] If the sliding direction of the viewer client on the live broadcast room screen corresponds to the bonus attribute of the first virtual gift, then use the confrontation virtual gift identifier as the second virtual gift identifier; otherwise, stop sending the second virtual gift to the user corresponding to the recipient user identifier;

[0121] Among them, the sliding direction of the viewer client on the live broadcast room screen can correspond to the bonus attribute of the confrontation virtual gift of the first virtual gift, that is, the sliding direction of the viewer client on the live broadcast room screen and the bonus attribute of the first virtual gift can be an opposite corresponding relationship.

[0122] Specifically, when there is a corresponding relationship between the bonus attribute of the virtual gift in the virtual gift information table and the upward or downward sliding direction of the viewer client on the live broadcast room screen, it can be set that if the sliding direction of the viewer client on the live broadcast room screen is upward sliding, a positive virtual gift with an increased effect value is sent. That is, at this time, the bonus attribute of the confrontation virtual gift corresponding to the first virtual gift is an increase of "1", and the bonus attribute of the first virtual gift is a decrease of "-1". At this time, if the bonus attribute of the first virtual gift corresponding to the first virtual gift gift information is an increase of "1", then the confrontation virtual gift with a bonus attribute of an increase of "1" cannot be obtained, and stop sending the second virtual gift to the user corresponding to the recipient user identifier.

[0123] Such as Figure 5As shown, when user B long - presses the first virtual gift giving information 406 in the live - streaming room and swipes upward, the first virtual gift giving information 406 includes "User A gave user a a stinking egg". The server - side searches the preset virtual gift information table, and gets that the counter - virtual gift for the stinking egg is a flower. And according to the giving quantity of the stinking egg, the effect value of the stinking egg and the effect value of the flower, the calculated second giving quantity is 2, and the second virtual gift giving information is generated.

[0124] In this application, user B sends 2 flowers to user a, and in the display interface of the live - streaming room, the second virtual gift giving information 406 including the user identifier "user B" corresponding to the viewer - side, the recipient user identifier "user a", the second virtual gift dynamic picture and the gift - giving serial number "1" and the second virtual gift giving information 407 including the user identifier "user B" corresponding to the viewer - side, the recipient user identifier "user a", the second virtual gift dynamic picture and the gift - giving serial number "2" are generated. According to the gift - giving serial number, it can be determined that user B sends 2 flowers to user a.

[0125] In another embodiment, the sliding direction of the viewer - side on the live - streaming room screen is swiping upward or downward, and the sliding direction of the viewer - side on the live - streaming room screen is swiping left or right, which respectively correspond to two different response - giving rules. Specifically, the steps for the server - side to generate the second virtual gift giving information according to the response - giving rule, the first virtual gift identifier, the recipient user identifier, the giving quantity, and the user identifier corresponding to the viewer - side include:

[0126] According to the sliding - direction information, determine the sliding direction of the viewer - side on the live - streaming room screen; wherein, the sliding direction includes swiping upward, swiping downward, swiping left, and swiping right;

[0127] If the sliding direction of the viewer - side on the live - streaming room screen is swiping upward or downward, search the preset virtual gift information table, obtain the second virtual gift identifier and the second giving quantity corresponding to the first virtual gift identifier, and generate the second virtual gift giving information;

[0128] If the sliding direction of the viewer - side on the live - streaming room screen is swiping left or right, make the second virtual gift identifier the same as the first virtual gift identifier, and according to whether the sliding direction is swiping left or swiping right, determine the second giving quantity, and generate the second virtual gift giving information;

[0129] Or,

[0130] If the sliding direction of the viewer end on the live broadcast room screen is upward or downward, make the second virtual gift identifier the same as the first virtual gift identifier, determine the second gift-giving quantity according to whether the sliding direction is upward or downward, and generate second virtual gift giving information;

[0131] If the sliding direction of the viewer end on the live broadcast room screen is leftward or rightward, search for a preset virtual gift information table, obtain the second virtual gift and the second gift-giving quantity corresponding to the first virtual gift identifier, and generate second virtual gift giving information.

[0132] In the embodiment of the present application, two different response gift-giving rules are set for two different sliding directions of upward / downward sliding and leftward / rightward sliding, so that when the viewer end slides upward or downward, it can send a second virtual gift with an added attribute opposite to that of the first virtual gift, thereby quickly offsetting the impact brought by the first virtual gift to the user receiving the gift, and improving the interest and user viscosity of the live interactive activity.

[0133] The two different response gift-giving rules set for the two different sliding directions of upward / downward sliding and leftward / rightward sliding in the embodiment of the present application are substantially the same as the response gift-giving rules of the above embodiment. For the details not disclosed in this embodiment, please refer to the above embodiment of the present application and will not be elaborated here.

[0134] In the embodiment of the present application, in response to a sliding event of the first virtual gift giving information sent in the live broadcast room, the viewer end obtains the sliding trajectory information corresponding to the sliding event. The server end obtains the response gift-giving rule corresponding to the sliding trajectory information according to the preset virtual gift response gift-giving rule, and generates second virtual gift giving information according to the response gift-giving rule, the first virtual gift identifier, the recipient user identifier, the first gift-giving quantity, and the user identifier corresponding to the viewer end, and sends it to the viewer end. The viewer end can quickly give a second virtual gift to the user corresponding to the recipient user identifier following the first virtual gift giving information, simplifying the gift-giving process and improving the gift-giving efficiency and the user's interactive experience.

[0135] This embodiment also provides a virtual gift giving system, as Figure 1 shown, including a host end 20, a server end 10, and a viewer end 30. For the details not disclosed in this embodiment, please refer to the method embodiment of the present application.

[0136] In response to a sliding event of the first virtual gift giving information sent in the live broadcast room, the viewer end 30 obtains the sliding trajectory information corresponding to the sliding event, and sends the first virtual gift identifier, the recipient user identifier, the first gift-giving quantity, the sliding trajectory information, and the user identifier corresponding to the viewer end corresponding to the first virtual gift giving information to the server end;

[0137] The server 10 obtains a response gift-giving rule corresponding to the sliding trajectory information according to a preset virtual gift response gift-giving rule, and generates second virtual gift-giving information based on the response gift-giving rule, the first virtual gift identifier, the recipient user identifier, the first gift quantity, and the user identifier corresponding to the viewer side, and sends the second virtual gift-giving information to the viewer side; wherein, the second virtual gift-giving information includes a second virtual gift identifier and a second gift quantity.

[0138] The viewer side 30 gives a second virtual gift to the user corresponding to the recipient user identifier according to the second virtual gift-giving information.

[0139] This embodiment provides a virtual gift-giving device, which can be used to execute the virtual gift-giving method of the embodiments of the present application. For details not disclosed in this embodiment, please refer to the method embodiments of the present application.

[0140] Please refer to Figure 6 , Figure 6 which is a schematic structural diagram of a virtual gift-giving device disclosed in the embodiments of the present application. The virtual gift-giving device includes:

[0141] A sliding trajectory information acquisition module 501, configured to respond to a sliding event of the first virtual gift-giving information sent in the live broadcast room, acquire the sliding trajectory information corresponding to the sliding event, and send the first virtual gift identifier, the recipient user identifier, the first gift quantity, the sliding trajectory information, and the user identifier corresponding to the viewer side corresponding to the first virtual gift-giving information to the server side;

[0142] A gift-giving information acquisition module 502, configured to obtain a response gift-giving rule corresponding to the sliding trajectory information according to a preset virtual gift response gift-giving rule, and generate second virtual gift-giving information based on the response gift-giving rule, the first virtual gift identifier, the recipient user identifier, the first gift quantity, and the user identifier corresponding to the viewer side, and send the second virtual gift-giving information to the viewer side; wherein, the second virtual gift-giving information includes a second virtual gift identifier and a second gift quantity;

[0143] A gift-giving module 503, configured to give a second virtual gift to the user corresponding to the recipient user identifier according to the second virtual gift-giving information.

[0144] This embodiment provides an electronic device, which can be used to execute all or part of the steps of the virtual gift-giving method in Embodiment 1 of the present application. For details not disclosed in this embodiment, please refer to Embodiment 1 of the present application.

[0145] Please refer to Figure 7 , Figure 7Schematic diagram of the structure of the electronic device provided by the embodiment of the present application. The electronic device 900 may be, but is not limited to, a combination of one or more of various devices such as servers, personal computers, laptop computers, smart phones, and tablet computers.

[0146] In a preferred embodiment of the present application, the electronic device 900 includes a memory 901, at least one processor 902, at least one communication bus 903, and a transceiver 904.

[0147] Those skilled in the art should understand that Figure 7 The structure of the electronic device shown does not constitute a limitation on the embodiment of the present application. It can be a bus structure or a star structure. The electronic device 900 may further include more or fewer other hardware or software than shown, or different component arrangements.

[0148] In some embodiments, the electronic device 900 is a device capable of automatically performing numerical calculations and / or information processing according to pre-set or stored instructions. Its hardware includes, but is not limited to, microprocessors, application-specific integrated circuits, programmable gate arrays, digital processors, and embedded devices, etc. The electronic device 900 may further include a client device, and the client device includes, but is not limited to, any electronic product that can interact with the client through means such as a keyboard, mouse, remote control, touchpad, or voice control device. For example, personal computers, tablet computers, smart phones, digital cameras, etc.

[0149] It should be noted that the electronic device 900 is only an example. Other existing or future electronic products that can be adapted to the present application should also be included within the protection scope of the present application and are hereby incorporated by reference.

[0150] In some embodiments, a computer program is stored in the memory 901, and when the computer program is executed by the at least one processor 902, all or part of the steps in the virtual gift giving method as described in Embodiment 1 are implemented. The memory 901 includes a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), a one-time programmable read-only memory (OTPROM), an electrically-erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM), or other optical disc memories, magnetic disk memories, tape memories, or any other computer-readable medium that can be used to carry or store data.

[0151] In some embodiments, the at least one processor 902 is the control core of the electronic device 900, connecting various components of the entire electronic device 900 through various interfaces and lines. By running or executing programs or modules stored in the memory 901, and by invoking data stored in the memory 901, it performs various functions of the electronic device 900 and processes data. For example, when the at least one processor 902 executes the computer program stored in the memory, all or part of the steps of the virtual gift giving method described in the embodiments of the present application are implemented; or all or part of the functions of the virtual gift giving device are implemented. The at least one processor 902 may be composed of integrated circuits. For example, it may be composed of a single packaged integrated circuit, or may be composed of multiple integrated circuits with the same or different functions, including a combination of one or more central processing units (CPUs), microprocessors, digital processing chips, graphics processors, and various control chips.

[0152] In some embodiments, the at least one communication bus 903 is configured to enable connection communication between the memory 901 and the at least one processor 902, etc.

[0153] The electronic device 900 may further include various sensors, a Bluetooth module, a Wi-Fi module, etc., which will not be elaborated here.

[0154] This embodiment provides a computer-readable storage medium, on which a computer program is stored. The instructions are adapted to be loaded and executed by a processor to perform the virtual gift-giving method of Embodiment 1 of the present application. The specific execution process can refer to the specific description of Embodiment 1 and will not be elaborated here.

[0155] For the device embodiments, since they basically correspond to the method embodiments, the relevant parts can refer to the partial description of the method embodiments. The device embodiments described above are only illustrative. The components described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed to multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of the present application. Those of ordinary skill in the art can understand and implement it without creative efforts.

[0156] Those skilled in the art should understand that the embodiments of the present application can be provided as a method, a system, or a computer program product. Therefore, the present application can take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present application can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0157] The present application is described with reference to the flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or block in the flowchart and / or block diagram can be implemented by computer program instructions, and the combination of the processes and / or blocks in the flowchart and / or block diagram can also be implemented by computer program instructions. These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing devices to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing devices generate means for implementing the functions specified in Figure 1 one process or multiple processes and / or blocks Figure 1 one block or multiple blocks.

[0158] The above are only the embodiments of the present application and are not used to limit the present application. For those skilled in the art, various changes and modifications can be made to the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included within the scope of the claims of the present application.

Claims

1. A method for presenting virtual gifts, characterized in that, the method includes: In response to a sliding event for the first virtual gift presentation information sent in the live broadcast room, the viewer terminal obtains the sliding trajectory information corresponding to the sliding event, and sends the first virtual gift identifier, the recipient user identifier, the first presentation quantity, the sliding trajectory information, and the user identifier corresponding to the viewer terminal corresponding to the first virtual gift presentation information to the server terminal; The server terminal determines the sliding direction of the viewer terminal on the live broadcast room screen according to the sliding trajectory information; obtains a second virtual gift identifier and a second presentation quantity corresponding to the first virtual gift identifier according to the sliding direction, generates second virtual gift presentation information, and sends it to the viewer terminal; wherein, the second virtual gift identifier is determined according to the sliding direction information, a preset virtual gift response presentation rule, and the first virtual gift identifier; The viewer terminal presents a second virtual gift to the user corresponding to the recipient user identifier according to the second virtual gift presentation information.

2. The virtual gift presentation method according to claim 1, characterized in that, the step of the viewer terminal obtaining the sliding trajectory information corresponding to the sliding event in response to a sliding event for the first virtual gift presentation information sent in the live broadcast room includes: In response to a long-press event for the first virtual gift presentation information sent in the live broadcast room, if the duration of the long-press event reaches a preset duration, obtain the initial position point and the end position point of the long-press event within a preset time interval; Obtain sliding direction information according to the initial position point and the end position point.

3. The virtual gift presentation method according to claim 1, characterized in that, the sliding direction includes sliding up, sliding down, sliding left, and sliding right; Determine the sliding direction of the viewer terminal on the live broadcast room screen according to the sliding trajectory information; The step of obtaining a second virtual gift identifier and a second presentation quantity corresponding to the first virtual gift identifier according to the sliding direction, generating second virtual gift presentation information includes: If the sliding direction of the viewer terminal on the live broadcast room screen is sliding left or sliding right, make the second virtual gift identifier the same as the first virtual gift identifier, and determine the second presentation quantity according to whether the sliding direction is sliding left or sliding right, and generate second virtual gift presentation information; Or, If the sliding direction of the viewer terminal on the live broadcast room screen is sliding up or sliding down, make the second virtual gift identifier the same as the first virtual gift identifier, and determine the second presentation quantity according to whether the sliding direction is sliding up or sliding down, and generate second virtual gift presentation information.

4. The virtual gift presentation method according to claim 3, characterized in that, the step of determining the second presentation quantity according to whether the sliding direction is sliding left or sliding right includes: If the sliding direction is sliding left, make the second presentation quantity the same as the first presentation quantity; If the sliding direction is sliding right, increase the second presentation quantity by a preset increment value so that the second presentation quantity is greater than the first presentation quantity; Or, If the sliding direction is a leftward slide, increase the second gift quantity by a preset increment value so that the second gift quantity is greater than the first gift quantity; If the sliding direction is a rightward slide, make the second gift quantity the same as the first gift quantity; The steps of determining the second gift quantity according to whether the sliding direction is an upward slide or a downward slide include: If the sliding direction is an upward slide, make the second gift quantity the same as the first gift quantity; If the sliding direction is a downward slide, increase the second gift quantity by a preset increment value so that the second gift quantity is greater than the first gift quantity; Or, If the sliding direction is an upward slide, increase the second gift quantity by a preset increment value so that the second gift quantity is greater than the first gift quantity; If the sliding direction is a downward slide, make the second gift quantity the same as the first gift quantity.

5. The virtual gift giving method according to claim 1, wherein, the sliding direction includes an upward slide, a downward slide, a leftward slide, and a rightward slide; determining the sliding direction of the viewer terminal on the live broadcast room screen according to the sliding trajectory information; The steps of obtaining a second virtual gift identifier corresponding to the first virtual gift identifier and a second gift quantity according to the sliding direction to generate second virtual gift giving information include: If the sliding direction of the viewer terminal on the live broadcast room screen is an upward or downward slide, look up a preset virtual gift information table, obtain the second virtual gift identifier corresponding to the first virtual gift identifier and the second gift quantity, and generate second virtual gift giving information; Or, if the sliding direction of the viewer terminal on the live broadcast room screen is a leftward or rightward slide, look up a preset virtual gift information table, obtain the second virtual gift identifier corresponding to the first virtual gift identifier and the second gift quantity, and generate second virtual gift giving information.

6. The virtual gift giving method according to claim 5, wherein, the preset virtual gift information table includes a number of first virtual gift identifiers, bonus attributes, the effect value of a single first virtual gift, and the opposing virtual gift identifier corresponding to each first virtual gift identifier; The steps of looking up a preset virtual gift information table and obtaining the second virtual gift identifier corresponding to the first virtual gift identifier and the second gift quantity include: According to the first virtual gift identifier, obtain the bonus attribute of the first virtual gift, the effect value of a single first virtual gift, and the opposing virtual gift identifier corresponding to the first virtual gift from the preset virtual gift information table; Use the opposing virtual gift identifier as the second virtual gift identifier and obtain the effect value of a single second virtual gift; Obtain the total effect value of the first virtual gift according to the first gift quantity and the effect value of a single first virtual gift, and obtain the second gift quantity according to the total effect value of the first virtual gift and the effect value of a single second virtual gift.

7. The virtual gift giving method according to claim 6, wherein, There is a corresponding relationship between the bonus attribute of the virtual gift in the virtual gift information table and the sliding direction of the viewer client on the live broadcast room screen; Before using the anti-virtual gift identifier as the second virtual gift identifier, the following steps are also included: If the sliding direction of the viewer client on the live broadcast room screen corresponds to the bonus attribute of the first virtual gift, then use the anti-virtual gift identifier as the second virtual gift identifier; otherwise, stop sending the second virtual gift to the user corresponding to the recipient user identifier.

8. The virtual gift giving method according to claim 1, characterized in that the sliding direction includes sliding up, sliding down, sliding left, and sliding right; the sliding direction of the viewer client on the live broadcast room screen is determined according to the sliding trajectory information; The step of generating the second virtual gift giving information according to the sliding direction and obtaining the second virtual gift identifier and the second giving quantity corresponding to the first virtual gift identifier includes: If the sliding direction of the viewer client on the live broadcast room screen is sliding up or down, search the preset virtual gift information table, obtain the second virtual gift identifier and the second giving quantity corresponding to the first virtual gift identifier, and generate the second virtual gift giving information; If the sliding direction of the viewer client on the live broadcast room screen is sliding left or right, make the second virtual gift identifier the same as the first virtual gift identifier, and determine the second giving quantity according to whether the sliding direction is sliding left or right, and generate the second virtual gift giving information; Or, If the sliding direction of the viewer client on the live broadcast room screen is sliding up or down, make the second virtual gift identifier the same as the first virtual gift identifier, and determine the second giving quantity according to whether the sliding direction is sliding up or down, and generate the second virtual gift giving information; If the sliding direction of the viewer client on the live broadcast room screen is sliding left or right, search the preset virtual gift information table, obtain the second virtual gift identifier and the second giving quantity corresponding to the first virtual gift identifier, and generate the second virtual gift giving information.

9. The virtual gift giving method according to any one of claims 1-8, characterized in that After sending the corresponding number of second virtual gifts to the corresponding host client, the following steps are also included: The viewer client displays the giving special effect of the second virtual gift.

10. A virtual gift giving system, including a server side and a viewer side, characterized in that: In response to a sliding event of the first virtual gift giving information sent in the live broadcast room, the viewer client obtains the sliding trajectory information corresponding to the sliding event, and sends the first virtual gift identifier, the recipient user identifier, the first giving quantity, the sliding trajectory information, and the user identifier corresponding to the viewer client corresponding to the first virtual gift giving information to the server side; The server determines the sliding direction of the viewer end on the live broadcast room screen according to the sliding trajectory information; obtains a second virtual gift identifier corresponding to the first virtual gift identifier and a second gift quantity according to the sliding direction, generates second virtual gift giving information, and sends the information to the viewer end; wherein, the second virtual gift identifier is determined according to the sliding direction information, a preset virtual gift response giving rule, and the first virtual gift identifier. The viewer end gives a second virtual gift to the user corresponding to the gift recipient user identifier according to the second virtual gift giving information.

11. A virtual gift giving device characterized in that the device includes: a sliding trajectory information acquisition module, configured to, in response to a sliding event for first virtual gift giving information sent in a live broadcast room, acquire sliding trajectory information corresponding to the sliding event, and send the first virtual gift identifier, the gift recipient user identifier, the first gift quantity, the sliding trajectory information, and the user identifier corresponding to the viewer end corresponding to the first virtual gift giving information to the server end; a gift giving information acquisition module, configured to enable the server end to determine the sliding direction of the viewer end on the live broadcast room screen according to the sliding trajectory information; obtain a second virtual gift identifier corresponding to the first virtual gift identifier and a second gift quantity according to the sliding direction, generate second virtual gift giving information, and send the information to the viewer end; wherein, the second virtual gift identifier is determined according to the sliding direction information, a preset virtual gift response giving rule, and the first virtual gift identifier; a gift giving module, configured to give a second virtual gift to the user corresponding to the gift recipient user identifier according to the second virtual gift giving information.

12. An electronic device characterized in that it includes: a processor and a memory; wherein, the memory stores a computer program, and the computer program is adapted to be loaded and executed by the processor to perform the virtual gift giving method according to any one of claims 1 to 9.

13. A computer-readable storage medium, on which a computer program is stored characterized in that when the computer program is executed by a processor, the virtual gift giving method according to any one of claims 1 to 9 is implemented.