CN114025194A - Virtual gift presenting method, system, device, equipment and storage medium - Google Patents

Virtual gift presenting method, system, device, equipment and storage medium Download PDF

Info

Publication number
CN114025194A
CN114025194A CN202111405427.6A CN202111405427A CN114025194A CN 114025194 A CN114025194 A CN 114025194A CN 202111405427 A CN202111405427 A CN 202111405427A CN 114025194 A CN114025194 A CN 114025194A
Authority
CN
China
Prior art keywords
virtual gift
sliding
presenting
information
identification
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.)
Pending
Application number
CN202111405427.6A
Other languages
Chinese (zh)
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.)
Guangzhou Cubesili Information Technology Co Ltd
Original Assignee
Guangzhou Cubesili Information Technology 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 Guangzhou Cubesili Information Technology Co Ltd filed Critical Guangzhou Cubesili Information Technology Co Ltd
Priority to CN202111405427.6A priority Critical patent/CN114025194A/en
Publication of CN114025194A publication Critical patent/CN114025194A/en
Pending legal-status Critical Current

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/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • 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/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/435Processing of additional data, e.g. decrypting of additional data, reconstructing software from modules extracted from the transport stream
    • H04N21/4355Processing of additional data, e.g. decrypting of additional data, reconstructing software from modules extracted from the transport stream involving reformatting operations of additional data, e.g. HTML pages on a television screen
    • 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/475End-user interface for inputting end-user data, e.g. personal identification number [PIN], preference data
    • 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/4788Supplemental services, e.g. displaying phone caller identification, shopping application communicating with other users, e.g. chatting

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Databases & Information Systems (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The application relates to a virtual gift presenting method, a virtual gift presenting system, a virtual gift presenting device, virtual gift presenting equipment and a virtual gift presenting storage medium, and belongs to the technical field of network live broadcast. The method comprises the steps that a spectator terminal responds to a sliding event of first virtual gift presenting information sent in a live broadcasting room to obtain sliding track information corresponding to the sliding event, a server terminal obtains a response presenting rule corresponding to the sliding track information according to a preset virtual gift response presenting rule, and generates second virtual gift presenting information and sends the second virtual gift presenting information to the spectator terminal according to the response presenting rule, the first virtual gift identification, a presenting object user identification, the first presenting quantity and a user identification corresponding to the spectator terminal.

Description

Virtual gift presenting method, system, device, equipment and storage medium
Technical Field
The present application relates to the field of live webcasting technologies, and in particular, to a method, a system, an apparatus, a device, and a storage medium for presenting a virtual gift.
Background
With the progress of network communication technology, live webcast becomes a new network interaction mode, and live webcast is popular with more and more audiences due to the characteristics of instantaneity, interactivity and the like.
Currently, when presenting a virtual gift to a main broadcast, a viewer often needs to select the virtual gift to be presented, input the presentation amount, click to confirm the presentation and other series of operations to finish the presentation of the virtual gift, the operation is inconvenient, and the enthusiasm of interaction between the viewer and the main broadcast is influenced.
Disclosure of Invention
Based on this, an object of the present application is to provide a method, a system, an apparatus, a device and a storage medium for presenting a virtual gift, which can improve live broadcast interactive experience and user participation.
According to a first aspect of embodiments of the present application, there is provided a virtual gift giving method including:
the method comprises the steps that a spectator terminal responds to a sliding event of first virtual gift presenting information sent in a direct broadcasting room, sliding track information corresponding to the sliding event is obtained, and a first virtual gift identification, a presenting object user identification, a first presenting quantity, the sliding track information and a user identification corresponding to the spectator terminal, which correspond to the first virtual gift presenting information, are sent to a server terminal;
the server side acquires a response presenting rule corresponding to the sliding track information according to a preset virtual gift response presenting rule, generates second virtual gift presenting information according to the response presenting rule, the first virtual gift identification, the presenting object user identification, the first presenting quantity and the user identification corresponding to the audience side, and sends the second virtual gift presenting information to the audience side; wherein the second virtual gift giving information includes a second virtual gift identification and a second giving number;
and the audience terminal presents the second virtual gift to the user corresponding to the presented user identification according to the second virtual gift presenting information.
According to a second aspect of embodiments of the present application, there is provided a virtual gift giving system, comprising a server side and a viewer side;
the audience terminal responds to a sliding event of first virtual gift presenting information sent in a live broadcasting room, acquires sliding track information corresponding to the sliding event, and sends a first virtual gift identifier, a presenting object user identifier, a first presenting quantity, the sliding track information and a user identifier corresponding to the audience terminal, which correspond to the first virtual gift presenting information, to a server terminal;
the server side acquires a response presenting rule corresponding to the sliding track information according to a preset virtual gift response presenting rule, generates second virtual gift presenting information according to the response presenting rule, the first virtual gift identification, the presenting object user identification, the first presenting quantity and the user identification corresponding to the audience side, and sends the second virtual gift presenting information to the audience side; wherein the second virtual gift giving information includes a second virtual gift identification and a second giving number;
and the audience terminal presents the second virtual gift to the user corresponding to the presented user identification according to the second virtual gift presenting information.
According to a third aspect of embodiments of the present application, there is provided a virtual gift giving apparatus comprising:
the system comprises a sliding track information acquisition module, a server side and a display module, wherein the sliding track information acquisition module is used for responding to a sliding event of first virtual gift presentation information sent in a direct broadcasting room, acquiring sliding track information corresponding to the sliding event, and sending a first virtual gift identifier corresponding to the first virtual gift presentation information, a presentation object user identifier, a first presentation quantity, the sliding track information and a user identifier corresponding to the audience side to the server side;
the presentation information acquisition module is used for acquiring a response presentation rule corresponding to the sliding track information according to a preset virtual gift response presentation rule, generating second virtual gift presentation information according to the response presentation rule, the first virtual gift identification, the presentation object user identification, the first presentation quantity and the user identification corresponding to the audience terminal, and sending the second virtual gift presentation information to the audience terminal; wherein the second virtual gift giving information includes a second virtual gift identification and a second giving number;
and the giving module is used for giving the second virtual gift to the user corresponding to the giving object user identification according to the second virtual gift giving information.
According to a fourth aspect of embodiments of the present application, there is provided an electronic apparatus, including: a processor and a memory; wherein the memory stores a computer program adapted to be loaded by the processor and to execute any one of the virtual gift giving methods.
According to a fifth aspect of embodiments herein, there is provided a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements any one of the virtual gift giving methods described herein.
In the application, the audience terminal responds to a sliding event of first virtual gift presenting information sent in a live broadcasting room to obtain sliding track information corresponding to the sliding event, the server terminal obtains a response presenting rule corresponding to the sliding track information according to a preset virtual gift response presenting rule, and generates second virtual gift presenting information and sends the second virtual gift presenting information to the audience terminal according to the response presenting rule and the first virtual gift identification, the presenting object user identification, the first presenting quantity and the user identification corresponding to the audience terminal, and the audience terminal can quickly present the second virtual gift to the user corresponding to the presenting object user identification along with the first virtual gift presenting information, so that a gift presenting flow is simplified, and the efficiency and the interactive experience of gift presentation are improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application.
For a better understanding and practice, the present application is described in detail below with reference to the accompanying drawings.
Drawings
Fig. 1 is a schematic diagram of an application environment of a virtual gift giving method according to an embodiment of the present application;
FIG. 2 is a flow chart of a virtual gift giving method provided by one embodiment of the present application;
FIG. 3 is an exemplary diagram of a live view display interface provided by an embodiment of the present application;
FIG. 4 is an exemplary diagram of a live view display interface provided in accordance with another embodiment of the present application;
FIG. 5 is an exemplary diagram of a live view display interface provided in accordance with another embodiment of the present application;
FIG. 6 is a schematic structural diagram of a virtual gift-giving device according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
It should be understood that the embodiments described are only a few embodiments of the present application, and not all embodiments. 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 application.
When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the application, as detailed in the appended claims.
In the description of the present application, it is to be understood that the terms "first," "second," "third," and the like are used solely to distinguish one from another and are not necessarily used to describe a particular order or sequence, nor are they to be construed as indicating or implying relative importance. The specific meaning of the above terms in the present application can be understood by those of ordinary skill in the art as appropriate. As used in this application 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. The word "if/if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination". Further, in the description of the present application, "a plurality" means two or more unless otherwise specified. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
Referring to fig. 1, fig. 1 is a schematic view of an application scenario of a virtual gift giving method according to an embodiment of the present application, where the application scenario includes a host 20, a server 10, and a viewer 30 according to an embodiment of the present application. The anchor side 20 interacts with the viewer side 30 via the server side 10.
The anchor terminal 20 is a terminal that transmits a live video, and is typically a viewer terminal used by an anchor in a live network.
The viewer side 30 is a side that receives and views the webcast video, and is typically a viewer side used by a viewer viewing the video in the webcast.
The hardware at which the anchor 20 and the viewer 30 are directed is essentially a computer device, and in particular, as shown in fig. 1, it may be a computer device of the type of a smart phone, a smart interactive tablet, a personal computer, and so on. Both the anchor terminal 20 and the viewer terminal 30 can access the internet through a well-known network access manner to establish a data communication link with the server terminal 10.
The server 10 is a service server, and may be responsible for further connecting with related audio data servers, video streaming servers, and other servers providing related support, so as to form a logically associated server cluster for providing services to related terminal devices, such as the anchor terminal 20 and the viewer terminal 30 shown in fig. 1.
The spectator end 30, in response to a sliding event of first virtual gift giving information sent in a live broadcasting room, acquires sliding track information corresponding to the sliding event, and sends a first virtual gift identifier corresponding to the first virtual gift giving information, a user identifier of a giving object, a first giving quantity, the sliding track information, and a user identifier corresponding to the spectator end to the server end 10;
the server 10 acquires a response presenting rule corresponding to the sliding track information according to a preset virtual gift response presenting rule, generates second virtual gift presenting information according to the response presenting rule, the first virtual gift identifier, the presenting object user identifier, the first presenting quantity and the user identifier corresponding to the audience, and sends the second virtual gift presenting information to the audience; wherein the second virtual gift giving information includes a second virtual gift identification and a second giving number;
the spectator terminal 30 presents the second virtual gift to the user corresponding to the presentation-target user identifier according to the second virtual gift presenting information.
The first embodiment is as follows:
a virtual gift giving method provided by an embodiment of the present application will be described in detail below with reference to the accompanying drawings.
Referring to fig. 2, an embodiment of the present application provides a virtual gift giving method, including the following steps:
s101: the method comprises the steps that a spectator terminal responds to a sliding event of first virtual gift presenting information sent in a direct broadcasting room, sliding track information corresponding to the sliding event is obtained, and a first virtual gift identification, a presenting object user identification, a first presenting quantity, the sliding track information and a user identification corresponding to the spectator terminal, which correspond to the first virtual gift presenting information, are sent to a server terminal;
the first virtual gift-presenting information may be streaming information displayed in the live broadcast room after the audience member in the live broadcast room presents the first virtual gift to the anchor member. It should be noted that the audience in the live broadcast room includes all audiences in the live broadcast room, including the current audience and other audiences in the live broadcast room.
Specifically, the first virtual gift presentation information may include a first virtual gift identification, a presentation target user identification, and a first presentation amount, and the first virtual gift identification may be used to determine a specific virtual gift, and specifically, the first virtual gift identification may be a uid of the first virtual gift. The donor object user identification may be used to determine a specific donor object, and may include a uid of at least one donor object, which may be a host within a live broadcast room or a moderator of the live broadcast room.
The sliding event may be a touch event that one or more fingers of the user slide on the device with the touch function, in which case, the sliding track information may be a touch track that one or more fingers of the user slide on the device with the touch function, or the sliding event may be an operation event that the user slides on the display device by using the interaction device, and the sliding track information may be a sliding track of the interaction device or a cursor of the interaction device on the display device; the sliding track information may include information such as a sliding direction and a sliding distance. The device with the touch function can be a touch screen, a mobile phone and other devices, and the interaction device can be a mouse, a laser pen and other devices.
In the embodiment of the application, the sliding event is an operation event that a user presses a mouse and then slides the mouse by using a terminal connected with a display, and the sliding track information is a sliding track of a cursor of the mouse on the display, specifically, the sliding track information includes sliding direction information;
the step that the audience terminal responds to the sliding event of the first virtual gift giving information sent in the direct broadcasting room and acquires the sliding track information corresponding to the sliding event comprises the following steps:
responding to a long-press event of first virtual gift giving information sent in a direct broadcasting room by a spectator end, and if the duration time of the long-press event reaches a preset time length, acquiring an initial position point and an end position point of the long-press event within a preset time interval;
and acquiring sliding direction information according to the initial position point and the end position point.
When the audience detects that the cursor of the mouse moves to the position of the first virtual gift-presenting information and the mouse is pressed down, the time for pressing the mouse is calculated, at the moment, the time for pressing the mouse is the duration time of the long-press event, and when the time for pressing the mouse reaches the preset time, the sliding event of the first virtual gift-presenting information is considered to be triggered. The preset time period may be set according to actual requirements, and may be set to 500ms, for example. Preferably, in this embodiment of the present application, a countdown module may be arranged to determine whether the duration of the long press event reaches a preset duration, where the countdown duration is the preset duration, and when it is detected that the mouse is pressed, the countdown module is triggered to count down, and when it is detected that the remaining countdown duration of the countdown module is 0, the duration of the long press event is determined to reach the preset duration.
The initial position point of the long press event may be position information after the duration of the long press event reaches the preset duration, and when the countdown assembly is used to determine whether the duration of the long press event reaches the preset duration, the initial position point of the long press event may be a position where a cursor of a mouse is located when the remaining countdown time of the countdown assembly is 0.
The end position point of the long-press event may be a position where a finger of the user or a cursor of the interactive device is located at the end of the long-press event.
And determining the sliding direction of the audience on the live broadcast room picture according to the position moving conditions of the initial position point and the end position point to obtain sliding direction information.
Specifically, a coordinate system may be established with a display interface of the display device as a plane, a horizontal direction as an X axis, and a direction perpendicular to the ground as a Y axis, coordinate information (X1, Y1), (X2, Y2) of the initial position point and the end position point in the coordinate system may be obtained, and a sliding direction of the viewer end on the live broadcast room screen may be obtained according to the coordinate information of the initial position point and the end position point in the coordinate system; the sliding directions comprise upward sliding, downward sliding, leftward sliding and rightward sliding;
if y1 is y2 and x1 > x2, the sliding direction is leftward sliding; if y1 is y2 and x1 < x2, the sliding direction is rightward.
If x1 is x2, y1 > y2, the sliding direction is downward sliding, and if x1 is x2, y1 < y2, the sliding direction is upward sliding;
if y1 ≠ y2, x1 ≠ x2, let diffx ═ x1-x2, diffy ≠ y1-y 2;
if | diffx | > | diffy |, it is considered as sliding left and right; if x1 > x2, the sliding direction is leftward sliding, and if x1 < x2, the sliding direction is rightward sliding;
if | diffx | < | diffy |, it is considered to slide up or down; if y1 > y2, the sliding direction is downward sliding; if y1 < y2, the sliding direction is upward sliding.
S102: the server side acquires a response presenting rule corresponding to the sliding track information according to a preset virtual gift response presenting rule, generates second virtual gift presenting information according to the response presenting rule, the first virtual gift identification, the presenting object user identification, the presenting quantity and the user identification corresponding to the audience side, and sends the second virtual gift presenting information to the audience side; wherein the second virtual gift giving information includes a second virtual gift identification and a second giving number;
the virtual gift response presenting rule is used for acquiring a second virtual gift identifier and a second presenting quantity according to a first virtual gift identifier, a presenting object user identifier, a presenting quantity and a user identifier corresponding to the audience end, which are sent by the audience end, and generating second virtual gift presenting information, so that the audience end can present the virtual gift to a user corresponding to the presenting object user identifier according to the second virtual gift presenting information.
The second virtual gift identification and the second gift amount determined according to the reply presentation rule and the first virtual gift identification, the user identification of the presentation object, the first presentation amount, and the user identification corresponding to the audience terminal may be the same as the first virtual gift identification and the first presentation amount, or may be partially the same, for example, the second virtual gift identification is the same as the first virtual gift identification, and the second presentation amount is different from the first presentation amount, or the second virtual gift identification is different from the first virtual gift identification, and the second presentation amount is the same as the first presentation amount; alternatively, it may be completely different, i.e., the second virtual gift identification is different from the first virtual gift identification and the second gift amount is different from the first gift amount. The second virtual gift presenting information may be generated according to a virtual gift response presenting rule specifically set by the user, and the corresponding second virtual gift presenting information may be generated according to the corresponding virtual gift response presenting rule.
S103: and the audience terminal presents the second virtual gift to the user corresponding to the presented user identification according to the second virtual gift presenting information.
The donor object user identification is used to determine the user that received the second virtual gift. In the embodiment of the application, the user receiving the second virtual gift is the same as the user receiving the first virtual gift, the second virtual gift giving information is generated at the server side according to the sliding track information of the first virtual gift giving information sent by the audience side to the live broadcast room, the audience side gives the second virtual gift to the user corresponding to the giving object user identifier according to the second virtual gift giving information, the gift sending step is simplified, and the gift sending efficiency and the gift sending enthusiasm are improved.
After giving a corresponding number of second virtual gifts to the corresponding anchor terminal, the method further comprises the following steps:
and the audience terminal displays a presentation special effect for presenting the second virtual gift.
The audience terminal can generate a presentation special effect for presenting the second virtual gift according to the presentation special effect data stored locally or in the cloud, so that the live broadcast interactive experience of the user is improved, and the viscosity of the audience is increased. The presentation special effect data may include one or more elements such as video data, animation data, music data, text data, and picture data.
As shown in fig. 3-4, which are exemplary diagrams of a display interface of a live broadcast room in an embodiment in which the first virtual gift identification is the same as the second virtual gift identification; the second presenting quantity is determined by the server side according to the sliding direction information of the audience side.
Specifically, the step of generating, by the server, second virtual gift presenting information according to the response presenting rule, the first virtual gift identifier, the user identifier of the presenting object, the presenting quantity, and the user identifier corresponding to the audience terminal includes:
determining the sliding direction of the audience on the live broadcast room picture according to the sliding direction information; wherein the sliding direction comprises sliding up, sliding down, sliding left and sliding right;
if the sliding direction of the audience side on the live broadcast room picture is leftward or rightward sliding, enabling the second virtual gift identification to be the same as the first virtual gift identification, determining a second gift presenting quantity according to the leftward or rightward sliding direction, and generating second virtual gift presenting information;
or,
and if the sliding direction of the audience side on the live broadcast room picture is upward or downward sliding, enabling the second virtual gift identification to be the same as the first virtual gift identification, determining a second gift presenting quantity according to the upward or downward sliding direction, and generating second virtual gift presenting information.
The user may determine the second presenting quantity according to the left-right sliding direction or the up-down direction according to the actual requirement setting.
If the second presenting quantity is determined according to the left-right sliding direction, the second presenting quantity can be increased when the left sliding is performed, the second presenting quantity is reduced or the second presenting quantity is the same as the first presenting quantity when the right sliding is performed, or the second presenting quantity is reduced or the second presenting quantity is the same as the first presenting quantity when the left sliding is performed, and the second presenting quantity is increased when the right sliding is performed.
Specifically, in this embodiment of the application, the step of determining the second donation amount according to whether the sliding direction is leftward sliding or rightward sliding includes:
if the sliding direction is leftward sliding, making the second presentation quantity the same as the first presentation quantity;
if the sliding direction is rightward sliding, increasing the second presentation quantity according to a preset added value to enable the second presentation quantity to be larger than the first presentation quantity;
or,
if the sliding direction is leftward sliding, increasing the second presentation quantity according to a preset added value to enable the second presentation quantity to be larger than the first presentation quantity;
if the sliding direction is rightward sliding, enabling the second presentation quantity to be the same as the first presentation quantity;
if the second presenting quantity is determined according to the up-down sliding direction, the second presenting quantity can be increased when the sliding platform slides up, the second presenting quantity is reduced when the sliding platform slides down or the second presenting quantity is the same as the first presenting quantity, or the second presenting quantity is reduced when the sliding platform slides up or the second presenting quantity is the same as the first presenting quantity, and the second presenting quantity is increased when the sliding platform slides down.
Specifically, the step of determining the second gift number according to whether the sliding direction is an upward sliding or a downward sliding includes:
if the sliding direction is upward sliding, the second presentation quantity is the same as the first presentation quantity;
if the sliding direction is downward sliding, increasing the second presentation quantity according to a preset added value to enable the second presentation quantity to be larger than the first presentation quantity;
or,
if the sliding direction is upward sliding, increasing the second presentation quantity according to a preset added value to enable the second presentation quantity to be larger than the first presentation quantity;
and if the sliding direction is downward sliding, enabling the second presentation quantity to be the same as the first presentation quantity.
The added value of the second gift number may be set to a natural number greater than 1 according to the actual demand of the user, and may be set to 1, for example.
As shown in fig. 3, when the user B holds down the first virtual gift-offering information 401 in the live broadcast room and slides to the left, second virtual gift-offering information is generated that is the same as the first virtual gift identification, the presentation-target user identification, and the first presentation amount in the first virtual gift-offering information 401.
After the user B sends 1 flower to the user a corresponding to the presenting object user identifier, the second virtual gift presenting information 402 including the user identifier "user B" corresponding to the audience, the presenting object user identifier "user a", the second virtual gift dynamic map, and the presentation serial number "1" is displayed on the display interface of the live broadcast room. Wherein the gift-offering sequence number may be determined by the second gift-offering amount.
As shown in fig. 4, when the user C holds down the first virtual gift-offering information 401 in the live broadcast room and slides to the right, the second virtual gift-offering information is generated, which is the same as the first virtual gift identification and the presentation target user identification in the first virtual gift-offering information 401, wherein the second presentation amount is obtained by increasing the first presentation amount by 1.
After the user C sends 2 flowers to the user a, second virtual gift giving information including a user identifier "user C" corresponding to the audience, a user identifier "user a" to be given, a second virtual gift identifier, and a second giving amount is displayed on a display interface of the live broadcast room.
It should be noted that, in this embodiment of the application, each time a flower is sent out, second virtual gift giving information including a user identifier "user B" corresponding to the audience, a user identifier "user a" to be given, a second virtual gift dynamic diagram, and a serial number of the gift to be given is displayed on the display interface of the live broadcast room.
In the present application, user C sends 2 flowers to user a, and generates and displays second virtual gift-presenting information 403 including a user identifier "user C" corresponding to the audience, a presentation-target user identifier "user a", a second virtual gift dynamic graph, and a presentation sequence number "1", and second virtual gift-presenting information 404 including a user identifier "user B" corresponding to the audience, a presentation-target user identifier "user a", a second virtual gift dynamic graph, and a presentation sequence number "2" on a display interface of the live broadcast room. According to the gift-offering sequence number, the fact that the user C sends 2 flowers to the user a can be determined.
When the live broadcast room is interactive, the user can give a negative gift to the anchor to express dissatisfaction, the attractive value of the anchor is reduced after receiving the negative gift, and other users in the live broadcast room can keep the attractive value of the anchor end unaffected by giving a positive gift to the anchor. However, in the prior art, the user is required to select the virtual gift and input the gift amount to send out the virtual gift. Especially, when the live broadcast room is in PK activity, the scoring of the live broadcast room may be affected by the negative effect of the negative gift being unable to be timely offset, so that PK failure affects the interaction experience of the audience.
In view of the above problem, an embodiment of the present invention provides a method for presenting a virtual gift of a fast-sending anti-gift, as shown in fig. 5, which is a schematic view of a display interface of a live broadcast room in an embodiment, in which the second virtual gift identifier and the second presentation amount are determined by a server according to sliding direction information of an audience, a response presentation rule, and a first virtual gift identifier.
Specifically, the step of generating, by the server, second virtual gift presenting information according to the response presenting rule, the first virtual gift identifier, the user identifier of the presenting object, the presenting quantity, and the user identifier corresponding to the audience terminal includes:
determining the sliding direction of the audience on the live broadcast room picture according to the sliding direction information; wherein the sliding direction comprises sliding up, sliding down, sliding left and sliding right;
if the sliding direction of the audience side in the live broadcast room picture is upward or downward sliding, searching a preset virtual gift information table, acquiring a second virtual gift identification and a second presentation quantity corresponding to the first virtual gift identification, and generating second virtual gift presentation information;
or if the sliding direction of the viewer side on the live broadcast room picture is leftward or rightward sliding, searching a preset virtual gift information table, acquiring a second virtual gift corresponding to the first virtual gift and a second presenting quantity, and generating second virtual gift presenting information.
The virtual gift information table is used for obtaining a second virtual gift, and the gift attribute of each virtual gift in the virtual gift information table comprises an addition attribute and an effect value; wherein the addition attribute is an attribute that a user receiving the virtual gift will increase or decrease experience or charm, etc.; the addition attribute includes addition and subtraction of two opposite addition attributes, the effect value refers to an increased or decreased experience value or charm value including a specific numerical value, and the gift attribute of the virtual gift can be obtained by reading the information of the virtual gift in the virtual gift database.
As shown in table 1 below, the preset virtual gift information table includes several first virtual gift identifications giftId, addition property giftpropety, effect value giftValue of a single first virtual gift, and confrontation virtual gift identifications oppsiteId corresponding to each first virtual gift identification;
wherein an addition attribute of the confrontation virtual gift corresponding to the confrontation virtual gift identification oppsiteId is opposite to an addition attribute of the first virtual gift corresponding to the first virtual gift identification giftId;
table 1 virtual gift information table
Figure BDA0003372050270000101
As shown in table 1, the confrontation virtual gift of virtual gift "pill" identified with virtual gift "1" is identified with "2", i.e., the confrontation virtual gift of virtual gift "pill" is "bomb", and so on. The virtual gifts and the corresponding confrontation virtual gifts in table 1 may be set according to the actual operation requirements of the user, and are only shown as examples.
The steps of searching a preset virtual gift information table and acquiring a second virtual gift identification and a second presenting quantity corresponding to the first virtual gift identification comprise:
acquiring an addition attribute of the first virtual gift, a single first virtual gift effect value and a confrontation virtual gift identifier corresponding to the first virtual gift from the preset virtual gift information table according to the first virtual gift identifier;
taking the confrontation virtual gift identification as the second virtual gift identification, and obtaining the effect value of the single second virtual gift;
and acquiring the total effect value of the first virtual gift according to the first presentation quantity and the single first virtual gift effect value, and acquiring the second presentation quantity according to the total effect value of the first virtual gift and the single second virtual gift effect value.
Specifically, the second comp number is calculated as follows:
Figure BDA0003372050270000111
wherein giftCount2 is the second gift amount, giftCount1 is the first gift amount, giftValue1 is the single first virtual gift effect value, and giftValue2 is the single second virtual gift effect value.
In one embodiment, if the first virtual gift identification is not in the preset virtual gift information table, the presenting of the second virtual gift to the user corresponding to the presentation target user identification is stopped.
In a preferred embodiment, the added attribute of the virtual gift in the virtual gift information table has a corresponding relation with the sliding direction of the viewer end on the live broadcast room picture; wherein each of the added attributes corresponds to a sliding direction, and specifically, before the confrontation virtual gift identification is taken as the second virtual gift identification, the method further comprises the following steps:
if the sliding direction of the viewer side on the live broadcast room picture corresponds to the addition attribute of the first virtual gift, taking the confrontation virtual gift identifier as the second virtual gift identifier; otherwise, stopping presenting the second virtual gift to the user corresponding to the presented user identifier;
the sliding direction of the viewer side on the live broadcast room picture may correspond to the addition attribute of the confrontation virtual gift of the first virtual gift, that is, the sliding direction of the viewer side on the live broadcast room picture may be in an opposite corresponding relationship with the addition attribute of the first virtual gift.
Specifically, if the addition attribute of the virtual gift in the virtual gift information table corresponds to the upward or downward sliding direction of the viewer on the live broadcast screen, it may be set that if the sliding direction of the viewer on the live broadcast screen is upward sliding, the front virtual gift with the increased effect value is sent, that is, at this time, the addition attribute of the confrontation virtual gift corresponding to the first virtual gift is increased by "1", the addition attribute of the first virtual gift is decreased by "-1", and at this time, if the addition attribute of the first virtual gift corresponding to the first virtual gift in the first virtual gift presentation information is increased by "1", the confrontation virtual gift with the addition attribute increased by "1" cannot be obtained, and the sending of the second virtual gift to the user corresponding to the presentation target user identifier is stopped.
As shown in fig. 5, when the user B presses the first virtual gift-presenting information 406 in the live broadcast room and slides upward, the first virtual gift-presenting information 406 includes "the user a sends the user a smelly egg", the server searches the preset virtual gift information table to obtain the confrontation virtual gift of the smelly egg as a flower, and the second gift-presenting number calculated according to the presentation number of the smelly egg, the effect value of the smelly egg, and the effect value of the flower is 2, so as to generate second virtual gift-presenting information.
In the application, the user B sends 2 flowers to the user a, and generates and displays the second virtual gift-presenting information 406 including the user identifier "user B" corresponding to the audience, the presentation object user identifier "user a", the second virtual gift dynamic graph, and the presentation serial number "1", and the second virtual gift-presenting information 407 including the user identifier "user B" corresponding to the audience, the presentation object user identifier "user a", the second virtual gift dynamic graph, and the presentation serial number "2" on the display interface of the live broadcast room. According to the gift-offering sequence number, the fact that the user B sends 2 flowers to the user a can be determined.
In another embodiment, the sliding direction of the viewer on the live broadcast picture is sliding upwards or downwards, and the sliding direction of the viewer on the live broadcast picture is sliding leftwards or rightwards, which respectively correspond to two different response giving rules. Specifically, the step of generating, by the server, second virtual gift presenting information according to the response presenting rule, the first virtual gift identifier, the user identifier of the presenting object, the presenting quantity, and the user identifier corresponding to the audience terminal includes:
determining the sliding direction of the audience on the live broadcast room picture according to the sliding direction information; wherein the sliding direction comprises sliding up, sliding down, sliding left and sliding right;
if the sliding direction of the audience side in the live broadcast room picture is upward or downward sliding, searching a preset virtual gift information table, acquiring a second virtual gift identification and a second presentation quantity corresponding to the first virtual gift identification, and generating second virtual gift presentation information;
if the sliding direction of the audience side on the live broadcast room picture is leftward or rightward sliding, enabling the second virtual gift identification to be the same as the first virtual gift identification, determining a second gift presenting quantity according to the leftward or rightward sliding direction, and generating second virtual gift presenting information;
or,
if the sliding direction of the audience side on the live broadcast room picture is upward or downward sliding, enabling the second virtual gift identification to be the same as the first virtual gift identification, determining a second gift presenting quantity according to the upward or downward sliding direction, and generating second virtual gift presenting information;
and if the sliding direction of the audience side on the live broadcast room picture is leftward or rightward, searching a preset virtual gift information table, acquiring a second virtual gift corresponding to the first virtual gift identifier and a second presentation quantity, and generating second virtual gift presentation information.
Two different response presenting rules are set for two different sliding directions of up-down sliding and left-right sliding in the embodiment of the application, so that the audience can send out a second virtual gift with a first virtual gift added with an attribute opposite to that of the second virtual gift when sliding up-down, the influence of the first virtual gift on a user receiving the gift is quickly offset, and the interestingness of live broadcast interactive activity and the viscosity of the user are improved.
In the embodiment of the present application, two different response presenting rules set for two different sliding directions of up-down sliding and left-right sliding are substantially the same as the response presenting rules of the embodiment described above, and for details not disclosed in the embodiment, please refer to the embodiment described above of the present application, which is not described herein again.
In the embodiment of the application, the audience terminal responds to a sliding event of first virtual gift presenting information sent in a live broadcast room to obtain sliding track information corresponding to the sliding event, the server terminal obtains a response presenting rule corresponding to the sliding track information according to a preset virtual gift response presenting rule, generates second virtual gift presenting information according to the response presenting rule and the first virtual gift identification, the presenting object user identification, the first presenting quantity and the user identification corresponding to the audience terminal, and sends the second virtual gift presenting information to the audience terminal, and the audience terminal can quickly present the second virtual gift to the user corresponding to the presenting object user identification along with the first virtual gift presenting information, so that a gift presenting flow is simplified, and the efficiency of gift presenting and the interactive experience of the user are improved.
The present embodiment further provides a virtual gift-giving system, as shown in fig. 1, including a broadcaster side 20, a server side 10 and a viewer side 30, for details not disclosed in the present embodiment, please refer to the method embodiment of the present application.
The spectator terminal 30, in response to a sliding event of first virtual gift giving information sent in a live broadcasting room, acquires sliding track information corresponding to the sliding event, and sends a first virtual gift identifier corresponding to the first virtual gift giving information, a user identifier of a giving object, a first giving quantity, the sliding track information, and a user identifier corresponding to the spectator terminal to the server terminal;
the server 10 acquires a response presenting rule corresponding to the sliding track information according to a preset virtual gift response presenting rule, generates second virtual gift presenting information according to the response presenting rule, the first virtual gift identifier, the presenting object user identifier, the first presenting quantity and the user identifier corresponding to the audience, and sends the second virtual gift presenting information to the audience; wherein the second virtual gift giving information includes a second virtual gift identification and a second giving number;
the spectator terminal 30 presents the second virtual gift to the user corresponding to the presentation-target user identifier according to the second virtual gift presenting information.
The present embodiment provides a virtual gift-giving device, which can be used to execute the virtual gift-giving method of the present embodiment. For details not disclosed in the present embodiment, please refer to the method embodiments of the present application.
Referring to fig. 6, fig. 6 is a schematic structural diagram of a virtual gift-giving device according to an embodiment of the present disclosure. The virtual gift giving device includes:
a sliding track information obtaining module 501, configured to obtain sliding track information corresponding to a sliding event in response to the sliding event of first virtual gift giving information sent in a live broadcast room, and send a first virtual gift identifier corresponding to the first virtual gift giving information, a user identifier of a given object, a first giving number, the sliding track information, and a user identifier corresponding to a viewer to a server;
a presentation information obtaining module 502, configured to obtain a response presentation rule corresponding to the sliding track information according to a preset virtual gift response presentation rule, generate second virtual gift presentation information according to the response presentation rule, the first virtual gift identifier, the presentation object user identifier, the first presentation amount, and a user identifier corresponding to the audience, and send the second virtual gift presentation information to the audience; wherein the second virtual gift giving information includes a second virtual gift identification and a second giving number;
the presenting module 503 is configured to present the second virtual gift to the user corresponding to the presented user identifier according to the second virtual gift presenting information.
The present embodiment provides an electronic device, which may be used to execute all or part of the steps of the virtual gift-giving method according to the first embodiment of the present application. For details not disclosed in the present embodiment, please refer to embodiment one of the present application.
Referring to fig. 7, fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure. The electronic device 900 may be, but is not limited to, a combination of one or more of various servers, personal computers, laptops, smartphones, tablets, and the like.
In the preferred embodiment of the present application, the electronic device 900 comprises a memory 901, at least one processor 902, at least one communication bus 903, and a transceiver 904.
Those skilled in the art will appreciate that the configuration of the electronic device shown in fig. 7 is not limited to the embodiments of the present application, and may be a bus-type configuration or a star-type configuration, and that the electronic device 900 may include more or less hardware or software than those shown, or a different arrangement of components.
In some embodiments, the electronic device 900 is a device capable of automatically performing numerical calculations and/or information processing according to instructions set or stored in advance, and the hardware includes but is not limited to a microprocessor, an application specific integrated circuit, a programmable gate array, a digital processor, an embedded device, and the like. The electronic device 900 may also include a client device, which includes, but is not limited to, any electronic product capable of interacting with a client through a keyboard, a mouse, a remote controller, a touch pad, or a voice control device, for example, a personal computer, a tablet computer, a smart phone, a digital camera, and the like.
It should be noted that the electronic device 900 is only an example, and other existing or future electronic products, such as those that may be adapted to the present application, are also included in the scope of the present application and are incorporated by reference herein.
In some embodiments, the memory 901 stores therein a computer program that, when executed by the at least one processor 902, implements all or part of the steps of the virtual gift giving method of the first embodiment. 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 electronically Erasable rewritable Read-Only Memory (Electrically-Erasable Programmable Read-Only Memory (EEPROM)), an optical Read-Only Memory (CD-ROM) or other optical disk Memory, a magnetic disk Memory, a tape Memory, or any other medium readable by a computer that can be used to carry or store data.
In some embodiments, the at least one processor 902 is a Control Unit (Control Unit) of the electronic device 900, connects various components of the electronic device 900 by various interfaces and lines, and executes various functions and processes data of the electronic device 900 by running or executing programs or modules stored in the memory 901 and calling data stored in the memory 901. For example, the at least one processor 902, when executing the computer program stored in the memory, implements all or a portion of the steps of the virtual gift giving method described in the embodiments of the present application; or to implement all or part of the functionality of the virtual gift-giving device. The at least one processor 902 may be composed of an integrated circuit, for example, a single packaged integrated circuit, or may be composed of a plurality of integrated circuits packaged with the same or different functions, including one or more Central Processing Units (CPUs), microprocessors, digital processing chips, graphics processors, and combinations of various control chips.
In some embodiments, the at least one communication bus 903 is arranged to enable connective communication between the memory 901 and the at least one processor 902, etc.
The electronic device 900 may further include various sensors, a bluetooth module, a Wi-Fi module, and the like, which are not described herein again.
The present embodiment provides a computer-readable storage medium, on which a computer program is stored, where the instructions are suitable for being loaded by a processor and executing the virtual gift giving method according to the first embodiment of the present application, and specific execution processes may refer to specific descriptions of the first embodiment, which are not described herein again.
For the apparatus embodiment, since it basically corresponds to the method embodiment, reference may be made to the partial description of the method embodiment for relevant points. The above-described device embodiments are merely illustrative, wherein the components described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the scheme of the application. One of ordinary skill in the art can understand and implement it without inventive effort.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above are merely examples of the present application and are not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (14)

1. A virtual gift giving method, characterized in that the method comprises:
the method comprises the steps that a spectator terminal responds to a sliding event of first virtual gift presenting information sent in a direct broadcasting room, sliding track information corresponding to the sliding event is obtained, and a first virtual gift identification, a presenting object user identification, a first presenting quantity, the sliding track information and a user identification corresponding to the spectator terminal, which correspond to the first virtual gift presenting information, are sent to a server terminal;
the server side acquires a response presenting rule corresponding to the sliding track information according to a preset virtual gift response presenting rule, generates second virtual gift presenting information according to the response presenting rule, the first virtual gift identification, the presenting object user identification, the first presenting quantity and the user identification corresponding to the audience side, and sends the second virtual gift presenting information to the audience side; wherein the second virtual gift giving information includes a second virtual gift identification and a second giving number;
and the audience terminal presents the second virtual gift to the user corresponding to the presented user identification according to the second virtual gift presenting information.
2. The virtual gift giving method of claim 1, wherein the slide trajectory information includes slide direction information;
the step that the audience terminal responds to the sliding event of the first virtual gift giving information sent in the direct broadcasting room and acquires the sliding track information corresponding to the sliding event comprises the following steps:
responding to a long-press event of first virtual gift giving information sent in a direct broadcasting room by a spectator end, and if the duration time of the long-press event reaches a preset time length, acquiring an initial position point and an end position point of the long-press event within a preset time interval;
and acquiring sliding direction information according to the initial position point and the end position point.
3. The virtual gift giving method of claim 1, wherein the first virtual gift identification is the same as the second virtual gift identification;
alternatively, the first virtual gift identification is different from the second virtual gift identification.
4. The virtual gift giving method of claim 1, wherein the step of the server side generating the second virtual gift giving information according to the response giving rule and the first virtual gift identification, the giving object user identification, the giving quantity, and the user identification corresponding to the audience side comprises:
determining the sliding direction of the audience on the live broadcast room picture according to the sliding direction information; wherein the sliding direction comprises sliding up, sliding down, sliding left and sliding right;
if the sliding direction of the audience side on the live broadcast room picture is leftward or rightward sliding, enabling the second virtual gift identification to be the same as the first virtual gift identification, determining a second gift presenting quantity according to the leftward or rightward sliding direction, and generating second virtual gift presenting information;
or,
and if the sliding direction of the audience side on the live broadcast room picture is upward or downward sliding, enabling the second virtual gift identification to be the same as the first virtual gift identification, determining a second gift presenting quantity according to the upward or downward sliding direction, and generating second virtual gift presenting information.
5. The virtual gift giving method of claim 4, wherein the step of determining the second gift amount according to whether the sliding direction is a leftward sliding or a rightward sliding comprises:
if the sliding direction is leftward sliding, making the second presentation quantity the same as the first presentation quantity;
if the sliding direction is rightward sliding, increasing the second presentation quantity according to a preset added value to enable the second presentation quantity to be larger than the first presentation quantity;
or,
if the sliding direction is leftward sliding, increasing the second presentation quantity according to a preset added value to enable the second presentation quantity to be larger than the first presentation quantity;
if the sliding direction is rightward sliding, enabling the second presentation quantity to be the same as the first presentation quantity;
determining a second donation quantity according to whether the sliding direction is upward sliding or downward sliding, comprising:
if the sliding direction is upward sliding, the second presentation quantity is the same as the first presentation quantity;
if the sliding direction is downward sliding, increasing the second presentation quantity according to a preset added value to enable the second presentation quantity to be larger than the first presentation quantity;
or,
if the sliding direction is upward sliding, increasing the second presentation quantity according to a preset added value to enable the second presentation quantity to be larger than the first presentation quantity;
and if the sliding direction is downward sliding, enabling the second presentation quantity to be the same as the first presentation quantity.
6. The virtual gift giving method of claim 1, wherein the step of the server side generating the second virtual gift giving information according to the response giving rule and the first virtual gift identification, the giving object user identification, the giving quantity, and the user identification corresponding to the audience side comprises:
determining the sliding direction of the audience on the live broadcast room picture according to the sliding direction information; wherein the sliding direction comprises sliding up, sliding down, sliding left and sliding right;
if the sliding direction of the audience side in the live broadcast room picture is upward or downward sliding, searching a preset virtual gift information table, acquiring a second virtual gift identification and a second presentation quantity corresponding to the first virtual gift identification, and generating second virtual gift presentation information;
or if the sliding direction of the viewer side on the live broadcast room picture is leftward or rightward sliding, searching a preset virtual gift information table, acquiring a second virtual gift identification and a second presentation quantity corresponding to the first virtual gift identification, and generating second virtual gift presentation information.
7. The virtual gift giving method of claim 6, wherein the preset virtual gift information table comprises a plurality of first virtual gift identifications, an addition attribute, an effect value of a single first virtual gift, and a confrontation virtual gift identification corresponding to each first virtual gift identification; wherein the addition attribute of the confrontation virtual gift corresponding to the confrontation virtual gift identification is opposite to the addition attribute of the first virtual gift corresponding to the first virtual gift identification;
the steps of searching a preset virtual gift information table and acquiring a second virtual gift identification and a second presenting quantity corresponding to the first virtual gift identification comprise:
acquiring an addition attribute of the first virtual gift, a single first virtual gift effect value and a confrontation virtual gift identifier corresponding to the first virtual gift from the preset virtual gift information table according to the first virtual gift identifier;
taking the confrontation virtual gift identification as the second virtual gift identification, and obtaining the effect value of the single second virtual gift;
and acquiring the total effect value of the first virtual gift according to the first presentation quantity and the single first virtual gift effect value, and acquiring the second presentation quantity according to the total effect value of the first virtual gift and the single second virtual gift effect value.
8. The virtual gift giving method of claim 7, wherein an addition attribute of a virtual gift in the virtual gift information table has a corresponding relationship with a sliding direction of the viewer's side in the live view screen;
prior to identifying the confrontation virtual gift as the second virtual gift identification, further comprising the steps of:
if the sliding direction of the viewer side on the live broadcast room picture corresponds to the addition attribute of the first virtual gift, taking the confrontation virtual gift identifier as the second virtual gift identifier; and otherwise, stopping presenting the second virtual gift to the user corresponding to the presented user identification.
9. The virtual gift giving method of claim 1, wherein the step of the server side generating the second virtual gift giving information according to the response giving rule and the first virtual gift identification, the giving object user identification, the giving quantity, and the user identification corresponding to the audience side comprises:
determining the sliding direction of the audience on the live broadcast room picture according to the sliding direction information; wherein the sliding direction comprises sliding up, sliding down, sliding left and sliding right;
if the sliding direction of the audience side in the live broadcast room picture is upward or downward sliding, searching a preset virtual gift information table, acquiring a second virtual gift identification and a second presentation quantity corresponding to the first virtual gift identification, and generating second virtual gift presentation information;
if the sliding direction of the audience side on the live broadcast room picture is leftward or rightward sliding, enabling the second virtual gift identification to be the same as the first virtual gift identification, determining a second gift presenting quantity according to the leftward or rightward sliding direction, and generating second virtual gift presenting information;
or,
if the sliding direction of the audience side on the live broadcast room picture is upward or downward sliding, enabling the second virtual gift identification to be the same as the first virtual gift identification, determining a second gift presenting quantity according to the upward or downward sliding direction, and generating second virtual gift presenting information;
and if the sliding direction of the audience side on the live broadcast room picture is leftward or rightward, searching a preset virtual gift information table, acquiring a second virtual gift identification and a second presentation quantity corresponding to the first virtual gift identification, and generating second virtual gift presentation information.
10. The virtual gift giving method of any one of claims 1-9, wherein after giving a corresponding number of second virtual gifts to the corresponding anchor side, further comprising the steps of:
and the audience terminal displays a presentation special effect for presenting the second virtual gift.
11. A virtual gift giving system comprising a server side and a viewer side, characterized in that:
the audience terminal responds to a sliding event of first virtual gift presenting information sent in a live broadcasting room, acquires sliding track information corresponding to the sliding event, and sends a first virtual gift identifier, a presenting object user identifier, a first presenting quantity, the sliding track information and a user identifier corresponding to the audience terminal, which correspond to the first virtual gift presenting information, to a server terminal;
the server side acquires a response presenting rule corresponding to the sliding track information according to a preset virtual gift response presenting rule, generates second virtual gift presenting information according to the response presenting rule, the first virtual gift identification, the presenting object user identification, the first presenting quantity and the user identification corresponding to the audience side, and sends the second virtual gift presenting information to the audience side; wherein the second virtual gift giving information includes a second virtual gift identification and a second giving number;
and the audience terminal presents the second virtual gift to the user corresponding to the presented user identification according to the second virtual gift presenting information.
12. A virtual gift giving apparatus, comprising:
the system comprises a sliding track information acquisition module, a server side and a display module, wherein the sliding track information acquisition module is used for responding to a sliding event of first virtual gift presentation information sent in a direct broadcasting room, acquiring sliding track information corresponding to the sliding event, and sending a first virtual gift identifier corresponding to the first virtual gift presentation information, a presentation object user identifier, a first presentation quantity, the sliding track information and a user identifier corresponding to the audience side to the server side;
the presentation information acquisition module is used for acquiring a response presentation rule corresponding to the sliding track information according to a preset virtual gift response presentation rule, generating second virtual gift presentation information according to the response presentation rule, the first virtual gift identification, the presentation object user identification, the first presentation quantity and the user identification corresponding to the audience terminal, and sending the second virtual gift presentation information to the audience terminal; wherein the second virtual gift giving information includes a second virtual gift identification and a second giving number;
and the giving module is used for giving the second virtual gift to the user corresponding to the giving object user identification according to the second virtual gift giving information.
13. An electronic device, comprising: a processor and a memory; wherein the memory stores a computer program adapted to be loaded by the processor and to perform the virtual gift giving method of any one of claims 1 through 10.
14. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out a virtual gift giving method according to any one of claims 1 to 10.
CN202111405427.6A 2021-11-24 2021-11-24 Virtual gift presenting method, system, device, equipment and storage medium Pending CN114025194A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111405427.6A CN114025194A (en) 2021-11-24 2021-11-24 Virtual gift presenting method, system, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111405427.6A CN114025194A (en) 2021-11-24 2021-11-24 Virtual gift presenting method, system, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114025194A true CN114025194A (en) 2022-02-08

Family

ID=80066195

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111405427.6A Pending CN114025194A (en) 2021-11-24 2021-11-24 Virtual gift presenting method, system, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114025194A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104363519A (en) * 2014-11-21 2015-02-18 广州华多网络科技有限公司 Online-live-broadcast-based information display method, device and system
CN105373306A (en) * 2015-10-13 2016-03-02 广州酷狗计算机科技有限公司 Virtual goods presenting method and device
CN108900858A (en) * 2018-08-09 2018-11-27 广州酷狗计算机科技有限公司 A kind of method and apparatus for giving virtual present
CN110418155A (en) * 2019-08-08 2019-11-05 腾讯科技(深圳)有限公司 Living broadcast interactive method, apparatus, computer readable storage medium and computer equipment
CN112130945A (en) * 2020-09-17 2020-12-25 广州繁星互娱信息科技有限公司 Gift presenting method, device, equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104363519A (en) * 2014-11-21 2015-02-18 广州华多网络科技有限公司 Online-live-broadcast-based information display method, device and system
CN105373306A (en) * 2015-10-13 2016-03-02 广州酷狗计算机科技有限公司 Virtual goods presenting method and device
CN108900858A (en) * 2018-08-09 2018-11-27 广州酷狗计算机科技有限公司 A kind of method and apparatus for giving virtual present
CN110418155A (en) * 2019-08-08 2019-11-05 腾讯科技(深圳)有限公司 Living broadcast interactive method, apparatus, computer readable storage medium and computer equipment
CN112130945A (en) * 2020-09-17 2020-12-25 广州繁星互娱信息科技有限公司 Gift presenting method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
US10348795B2 (en) Interactive control management for a live interactive video game stream
CN108156507B (en) Virtual article presenting method, device and storage medium
CN111107417B (en) Virtual gift giving method, device, system, computer equipment and storage medium
CN113225572B (en) Page element display method, device and system of live broadcasting room
CN109688418A (en) Interface function bootstrap technique, equipment and storage medium is broadcast live
US11706485B2 (en) Display device and content recommendation method
US11743529B2 (en) Display control method, terminal, and non-transitory computer readable recording medium storing a computer program
CN113824977B (en) Live broadcast room virtual gift giving method, system, device, equipment and storage medium
US9204205B1 (en) Viewing advertisements using an advertisement queue
CN112616064B (en) Live broadcasting room information processing method and device, computer storage medium and electronic equipment
CN113170216A (en) Live broadcast-based gift delivery method and device, equipment and storage medium
CN113209616A (en) Object marking method, device, terminal and storage medium in virtual scene
CN112511849A (en) Game display method, device, equipment, system and storage medium
CN111104551A (en) Live broadcast room label determination method and device, storage medium and electronic equipment
CN105744338B (en) A kind of method for processing video frequency and its equipment
CN113727129B (en) Live interaction method, device, system, equipment and storage medium
CN114760519A (en) Interaction method, device and equipment based on gift special effect of live broadcast room and storage medium
CN113490061B (en) Live broadcast interaction method and equipment based on bullet screen
CN105025320B (en) Operable desktop system with hybrid architecture and implementation method thereof
CN113852834A (en) Content display method, device, equipment and storage medium
CN114885199B (en) Real-time interaction method, device, electronic equipment, storage medium and system
CN114025194A (en) Virtual gift presenting method, system, device, equipment and storage medium
CN109561050B (en) Method and device for identifying batch account numbers
CN116688526A (en) Virtual character interaction method and device, terminal equipment and storage medium
CN111225266A (en) User interface interaction method and system

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