CN112884526A - Gift presentation method, device, equipment and storage medium in live broadcast - Google Patents
Gift presentation method, device, equipment and storage medium in live broadcast Download PDFInfo
- Publication number
- CN112884526A CN112884526A CN202110301479.2A CN202110301479A CN112884526A CN 112884526 A CN112884526 A CN 112884526A CN 202110301479 A CN202110301479 A CN 202110301479A CN 112884526 A CN112884526 A CN 112884526A
- Authority
- CN
- China
- Prior art keywords
- gift
- target
- gifting
- presentation
- target gift
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 56
- 230000004044 response Effects 0.000 claims abstract description 52
- 230000001960 triggered effect Effects 0.000 claims abstract description 38
- 230000015654 memory Effects 0.000 claims description 23
- 230000006870 function Effects 0.000 claims description 22
- 230000000694 effects Effects 0.000 claims description 10
- 230000008569 process Effects 0.000 abstract description 12
- 230000003993 interaction Effects 0.000 abstract description 10
- 238000010586 diagram Methods 0.000 description 11
- 238000004891 communication Methods 0.000 description 5
- 238000012545 processing Methods 0.000 description 4
- 230000008859 change Effects 0.000 description 2
- 238000004590 computer program Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 238000007667 floating Methods 0.000 description 2
- 230000014509 gene expression Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 238000013515 script Methods 0.000 description 2
- 238000003491 array Methods 0.000 description 1
- 238000013473 artificial intelligence Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000002457 bidirectional effect Effects 0.000 description 1
- 238000012790 confirmation Methods 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 235000019800 disodium phosphate Nutrition 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- PCHJSUWPFVWCPO-UHFFFAOYSA-N gold Chemical compound [Au] PCHJSUWPFVWCPO-UHFFFAOYSA-N 0.000 description 1
- 239000010931 gold Substances 0.000 description 1
- 229910052737 gold Inorganic materials 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/02—Marketing; Price estimation or determination; Fundraising
- G06Q30/0207—Discounts or incentives, e.g. coupons or rebates
- G06Q30/0209—Incentive being awarded or redeemed in connection with the playing of a video game
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/50—Controlling the output signals based on the game progress
- A63F13/52—Controlling the output signals based on the game progress involving aspects of the displayed game scene
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/85—Providing additional services to players
- A63F13/86—Watching games played by other players
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Business, Economics & Management (AREA)
- Strategic Management (AREA)
- Accounting & Taxation (AREA)
- Development Economics (AREA)
- Finance (AREA)
- Economics (AREA)
- Game Theory and Decision Science (AREA)
- Marketing (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Entrepreneurship & Innovation (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The application provides a gift presentation method, device and equipment in live broadcast and a computer readable storage medium; the method comprises the following steps: presenting a gift panel comprising at least one gift in a live interface; presenting presentation information of a target gift in the live interface in response to a presentation instruction for the target gift triggered based on the gift panel; the presentation information is used for indicating that the target gift has been presented to a main broadcasting terminal; displaying a presentation control corresponding to the target gift at a position in the live interface associated with the presentation information; and the giving control is used for giving at least one target gift to the anchor terminal again. Through the application, the man-machine interaction efficiency in the gift presentation process can be improved.
Description
Technical Field
The present application relates to the field of internet technologies, and in particular, to a method, an apparatus, a device, and a storage medium for presenting a gift in live broadcasting.
Background
With the development of the live broadcast industry, in order to improve the interaction between users, each live broadcast platform is provided with a gift giving function. For example, the viewer may select a gift via a gift panel and present the selected gift to the anchor, which is the primary way of interaction between the viewer and the anchor.
Because the present giving function in the related art is realized through the present panel, after a user gives a certain present, if the user needs to give the present again, the user needs to select the present again through the present panel, which results in a complex present giving process and low man-machine interaction efficiency.
Disclosure of Invention
The embodiment of the application provides a gift presentation method, device and equipment in live broadcast and a storage medium, and the man-machine interaction efficiency in the gift presentation process can be improved.
The technical scheme of the embodiment of the application is realized as follows:
the embodiment of the application provides a gift giving method in live broadcasting, which comprises the following steps:
presenting a gift panel comprising at least one gift in a live interface;
presenting presentation information of a target gift in the live interface in response to a presentation instruction for the target gift triggered based on the gift panel;
the presentation information is used for indicating that the target gift has been presented to a main broadcasting terminal;
displaying a presentation control corresponding to the target gift at a position in the live interface associated with the presentation information;
and the giving control is used for giving at least one target gift to the anchor terminal again.
The embodiment of the application provides a gift present device in live broadcast, includes:
a presentation module to present a gift panel comprising at least one gift in a live interface;
the presentation module is used for responding to a presentation instruction for a target gift triggered based on the gift panel and presenting presentation information of the target gift in the live broadcast interface;
the presentation information is used for indicating that the target gift has been presented to a main broadcasting terminal;
the display module is used for displaying a presentation control corresponding to the target gift at a position in the live broadcast interface associated with the presentation information;
and the giving control is used for giving at least one target gift to the anchor terminal again.
In the above scheme, the presentation module is further configured to present a sliding area in the live broadcast interface in response to a trigger operation for the presentation control;
responding to a sliding operation triggered in the sliding area, and presenting the target number corresponding to the sliding distance according to the sliding distance corresponding to the sliding operation;
in response to a determination instruction triggered based on the target number, gifting the target gift of the target number to a host.
In the above scheme, the presentation module is further configured to, in response to a trigger operation for the gifting control, present a quantity selection prop in the live broadcast interface, and present a pointer associated with the quantity selection prop, where the pointer is used to indicate a gifting quantity of the target gift;
controlling the pointer to move relative to the quantity selection prop and updating the presentation quantity indicated by the pointer as the sliding operation progresses based on the sliding operation triggered in the quantity selection prop;
determining that the present quantity indicated by the pointer is the target quantity when the sliding operation is finished, and
gifting the target gift of the target amount to the anchor.
In the above scheme, the presentation module is further configured to present a quantity selection prop including at least two quantity selection items in response to a trigger operation for the gifting control;
receiving selection operation of a target quantity option in the quantity selection prop;
presenting the target gift in the target amount to the anchor terminal in response to the selection operation.
In the above scheme, the display module is further configured to receive a rotation operation for the wheel disc when the number selection prop is the wheel disc;
and in response to the rotating operation, rotating the wheel disc clockwise or anticlockwise according to the rotating direction indicated by the rotating operation so as to update the quantity selection items displayed in the wheel disc.
In the above scheme, the display module is further configured to present a rotation function key for controlling the rotation of the wheel disc in the live broadcast interface when the quantity selection prop is the wheel disc;
and receiving a triggering operation aiming at the rotating function key, and rotating the wheel disc clockwise or anticlockwise to update the quantity selection items displayed in the wheel disc.
In the above scheme, when the quantity selection prop is a wheel disc, the wheel disc includes at least two display positions for displaying quantity selection items, and the display positions and the quantity selection items are in a one-to-one correspondence relationship;
the display module is further used for receiving a dragging operation aiming at the giving control;
when the presentation control is dragged to enable the presentation control to cover one display position, the selection operation of the target number selection items in the roulette wheel is triggered, and
and taking the number selection item corresponding to the covered display position as a target number selection item.
In the foregoing solution, the presentation module is further configured to, in response to a pressing operation on the gifting control, periodically gift the target gift to the anchor terminal until the pressing operation is released.
In the above scheme, the presentation module is further configured to respond to a pressing operation for the presentation control, and present a target number corresponding to a pressure value corresponding to the pressing operation according to the pressure value corresponding to the pressing operation;
presenting the target gift of the target amount to an anchor terminal when the pressing operation is released.
In the above scheme, the presentation module is further configured to receive continuous click operations for the presentation control, where the continuous click operations include at least two click operations, and a time interval between two adjacent click operations is smaller than a time threshold;
and in response to the continuous clicking operation, gifting the target gifts with the target quantity to the anchor terminal every time the clicking operation is received.
In the above scheme, the presentation module is further configured to present at least one target gift to the anchor terminal in response to a trigger operation for the presentation control, and present continuous presentation information of the target gift in the live interface;
wherein the continuous gifting information is used to instruct resupplying the target gift to the anchor terminal;
moving a gifting control corresponding to the target gift from a location associated with the gifting information to a location associated with the continuous gifting information.
In the foregoing solution, the presentation module is further configured to present at least one target gift to the anchor terminal in response to a trigger operation for the presentation control, and present the target gift to the anchor terminal
Presenting a continuous delivery special effect of the target gift in the live broadcast interface;
wherein the continuous delivery special effect is used for showing the total amount of the gifted target gifts.
In the above scheme, the display module is further configured to present, in the live broadcast interface, the presenting information of the first target gift and the presenting information of the second target gift;
the displaying a presentation control corresponding to the target gift at a position associated with the presentation information in the live interface includes:
presenting a gifting control corresponding to the first target gift at a location in the live interface associated with the gifting information for the first target gift, an
And displaying a give-away control corresponding to the second target gift at a position in the live interface associated with the give-away information of the second target gift.
In the above scheme, the display module is further configured to present, in the live broadcast interface, the presentation information of the target gift in a bullet screen form;
after the presentation control corresponding to the target gift is displayed at the position associated with the presentation information in the live interface, the method includes:
synchronously moving the gifting control displayed at the location associated with the gifting information as the gifting information moves in position in the live interface.
In the above scheme, the display module is further configured to obtain at least one of the following live broadcast information of the live broadcast: live content, live type, live name;
and displaying the presentation control corresponding to the target gift by adopting a display style matched with the live broadcast information.
An embodiment of the present application provides a computer device, including:
a memory for storing executable instructions;
and the processor is used for realizing the gift giving method in the live broadcast provided by the embodiment of the application when the executable instructions stored in the memory are executed.
The embodiment of the application provides a computer-readable storage medium, which stores executable instructions and is used for causing a processor to execute the executable instructions so as to realize the gift giving method in live broadcast provided by the embodiment of the application.
The embodiment of the application has the following beneficial effects:
applying the above embodiment, by presenting a gift panel including at least one gift in a live interface; presenting presentation information of a target gift in the live interface in response to a presentation instruction for the target gift triggered based on the gift panel; the presentation information is used for indicating that the target gift has been presented to a main broadcasting terminal; displaying a presentation control corresponding to the target gift at a position in the live interface associated with the presentation information; the gifting control is used for enabling at least one target gift to be gifted to the anchor terminal again; so, when the user need present the target gift once more, can be directly through triggering the present controlling part realization that corresponds the target gift, and need not select the target gift through the gift panel again, present the target gift again, improved the human-computer interaction efficiency who improves the present presentation in-process.
Drawings
FIG. 1 is an architectural diagram of a live gift-giving system 100 provided by an embodiment of the present application;
fig. 2 is a schematic structural diagram of a computer device 500 provided in an embodiment of the present application;
fig. 3 is a flowchart illustrating a gift giving method in live broadcasting according to an embodiment of the present invention;
FIG. 4 is a schematic interface diagram of a gift-giving process provided by an embodiment of the present application;
FIG. 5 is a schematic view of a live interface provided in an embodiment of the present application;
FIG. 6 is a schematic view of a live interface provided in an embodiment of the present application;
FIG. 7 is a schematic view of a live interface provided in an embodiment of the present application;
FIG. 8 is a schematic view of a live interface provided in an embodiment of the present application;
FIG. 9 is a schematic view of a live interface provided in an embodiment of the present application;
FIG. 10 is a schematic view of a live interface provided by an embodiment of the present application;
FIG. 11 is a schematic view of a live interface provided in an embodiment of the present application;
FIG. 12 is a schematic view of a live interface provided in an embodiment of the present application;
FIG. 13 is a schematic view of a live interface provided in an embodiment of the present application;
FIG. 14 is a schematic view of a live interface provided by an embodiment of the present application;
FIG. 15 is a schematic view of a live interface provided in an embodiment of the present application;
FIG. 16 is a flow chart illustrating a gift-giving method in live broadcasting according to an embodiment of the present application;
FIG. 17 is a schematic diagram of a network architecture of a live gift-giving system according to an embodiment of the present application;
FIG. 18 is a schematic view of a live interface provided by an embodiment of the present application;
FIG. 19 is a schematic view of a sliding region provided by an embodiment of the present application;
FIG. 20 is a schematic diagram of a determination process of a gift quantity provided by an embodiment of the present application;
fig. 21 is a schematic diagram of a gift-giving interface provided in an embodiment of the present application.
Detailed Description
In order to make the objectives, technical solutions and advantages of the present application clearer, the present application will be described in further detail with reference to the attached drawings, the described embodiments should not be considered as limiting the present application, and all other embodiments obtained by a person of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.
In the following description, reference is made to "some embodiments" which describe a subset of all possible embodiments, but it is understood that "some embodiments" may be the same subset or different subsets of all possible embodiments, and may be combined with each other without conflict.
In the following description, references to the terms "first \ second \ third" are only to distinguish similar objects and do not denote a particular order, but rather the terms "first \ second \ third" are used to interchange specific orders or sequences, where appropriate, so as to enable the embodiments of the application described herein to be practiced in other than the order shown or described herein.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing embodiments of the present application only and is not intended to be limiting of the application.
Before further detailed description of the embodiments of the present application, terms and expressions referred to in the embodiments of the present application will be described, and the terms and expressions referred to in the embodiments of the present application will be used for the following explanation.
1) Live broadcast, which is to make and release information synchronously with the occurrence and development process of events on site, and has an information network release mode of bidirectional circulation process.
2) Gifts are virtual articles on the live broadcast platform, such as digital flowers, digital cakes and the like, users of the live broadcast platform purchase through legal currency on the live broadcast platform, and the purchased gifts can be presented to the anchor.
3) In response to the condition or state on which the performed operation depends, one or more of the performed operations may be in real-time or may have a set delay when the dependent condition or state is satisfied; there is no restriction on the order of execution of the operations performed unless otherwise specified.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a gift-giving system 100 in live broadcasting provided in an embodiment of the present application, in order to support an exemplary application, terminals include a first terminal 400 and a second terminal (an exemplary second terminal 500-1 and a second terminal 500-2 are shown), where the first terminal is located at a main broadcasting end, and the second terminal is located at a spectator end; the terminal is connected to the server 200 through a network 300, and the network 300 may be a wide area network or a local area network, or a combination of both. In practical application, a client can be arranged on a terminal, such as a live client, and a main broadcast can be live broadcast through the client; the viewer may watch the live broadcast through the client.
A second terminal 500-1 for presenting a gift panel including at least one gift in a live interface; in response to a gifting instruction for a target gift triggered based on the gift panel, sending a gifting request corresponding to the target gift to a server;
a server 200 for putting a target gift into an account of the anchor terminal and transmitting presentation information of the target gift to the first terminal 400 and the second terminal;
wherein, the presentation information is used for indicating that the target gift has been presented to the anchor terminal;
the first terminal 400 and the second terminal present the presentation information in the live interface after receiving the presentation information;
here, the manner in which the first terminal 400 and the second terminal present the gifted information may be the same or different;
the second terminal 500-2 is further configured to display a presentation control corresponding to the target gift at a position in the live interface associated with the presentation information;
and the gifting control is used for realizing the gifting of at least one target gift to the anchor terminal again.
In some embodiments, the server 200 may be an independent physical server, may also be a server cluster or a distributed system formed by a plurality of physical servers, and may also be a cloud server providing basic cloud computing services such as a cloud service, a cloud database, cloud computing, a cloud function, cloud storage, a Network service, cloud communication, a middleware service, a domain name service, a security service, a Content Delivery Network (CDN), a big data and artificial intelligence platform, and the like. The terminal may be, but is not limited to, a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a smart watch, and the like. The terminal and the server may be directly or indirectly connected through wired or wireless communication, and the embodiment of the present application is not limited.
Referring to fig. 2 and fig. 2 are schematic structural diagrams of a computer device 500 provided in this embodiment, in practical applications, the computer device 500 may be a terminal (e.g., 500-1) or a server 200 in fig. 1, and a computer device implementing the method for giving a gift in live broadcast in this embodiment is described by taking the computer device as the terminal shown in fig. 1 as an example. The computer device 500 shown in fig. 2 includes: at least one processor 510, memory 550, at least one network interface 520, and a user interface 530. The various components in computer device 500 are coupled together by a bus system 540. It is understood that the bus system 540 is used to enable communications among the components. The bus system 540 includes a power bus, a control bus, and a status signal bus in addition to a data bus. For clarity of illustration, however, the various buses are labeled as bus system 540 in fig. 2.
The Processor 510 may be an integrated circuit chip having Signal processing capabilities, such as a general purpose Processor, a Digital Signal Processor (DSP), or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, or the like, wherein the general purpose Processor may be a microprocessor or any conventional Processor, or the like.
The user interface 530 includes one or more output devices 531 enabling presentation of media content, including one or more speakers and/or one or more visual display screens. The user interface 530 also includes one or more input devices 532, including user interface components to facilitate user input, such as a keyboard, mouse, microphone, touch screen display, camera, other input buttons and controls.
The memory 550 may be removable, non-removable, or a combination thereof. Exemplary hardware devices include solid state memory, hard disk drives, optical disk drives, and the like. Memory 550 optionally includes one or more storage devices physically located remote from processor 510.
The memory 550 may comprise volatile memory or nonvolatile memory, and may also comprise both volatile and nonvolatile memory. The nonvolatile Memory may be a Read Only Memory (ROM), and the volatile Memory may be a Random Access Memory (RAM). The memory 550 described in embodiments herein is intended to comprise any suitable type of memory.
In some embodiments, memory 550 can store data to support various operations, examples of which include programs, modules, and data structures, or subsets or supersets thereof, as exemplified below.
An operating system 551 including system programs for processing various basic system services and performing hardware-related tasks, such as a framework layer, a core library layer, a driver layer, etc., for implementing various basic services and processing hardware-based tasks;
a network communication module 552 for communicating to other computing devices via one or more (wired or wireless) network interfaces 520, exemplary network interfaces 520 including: bluetooth, wireless compatibility authentication (WiFi), and Universal Serial Bus (USB), etc.;
a presentation module 553 for enabling presentation of information (e.g., a user interface for operating peripherals and displaying content and information) via one or more output devices 531 (e.g., a display screen, speakers, etc.) associated with the user interface 530;
an input processing module 554 to detect one or more user inputs or interactions from one of the one or more input devices 532 and to translate the detected inputs or interactions.
In some embodiments, the live gift-giving device provided by the embodiments of the present application may be implemented in software, and fig. 2 shows a live gift-giving device 555 stored in a memory 550, which may be software in the form of programs and plug-ins, and includes the following software modules: a presentation module 5551, a presentation module 5552 and a presentation module 5553, which are logical and thus can be arbitrarily combined or further split depending on the functions implemented.
The functions of the respective modules will be explained below.
In other embodiments, the live gift-giving Device provided in this embodiment may be implemented in hardware, and for example, the live gift-giving Device provided in this embodiment may be a processor in the form of a hardware decoding processor, which is programmed to execute the live gift-giving method provided in this embodiment, for example, the processor in the form of the hardware decoding processor may employ one or more Application Specific Integrated Circuits (ASICs), DSPs, Programmable Logic Devices (PLDs), Complex Programmable Logic Devices (CPLDs), Field Programmable Gate Arrays (FPGAs), or other electronic components.
The gift giving method in live broadcast provided by the embodiment of the present application will be described in conjunction with exemplary application and implementation of the terminal provided by the embodiment of the present application.
Referring to fig. 3, fig. 3 is a flowchart illustrating a gift giving method in live broadcasting according to an embodiment of the present invention, which will be described with reference to the steps shown in fig. 3.
Step 301: the terminal presents a gift panel including at least one gift in a live interface.
In actual implementation, a client is arranged on a terminal, such as a live broadcast client, a user can watch live broadcast through the client, when the user wants to present gifts to a main broadcast in the process of watching the live broadcast, the user can trigger a display instruction of a gift panel, and after the terminal receives the display instruction, the terminal presents the gift panel comprising at least one gift in a live broadcast interface; after the terminal presents the gift panel, the user may select one or more gifts as target gifts according to the gifts presented in the gift panel to give the selected target gifts to the anchor.
Step 302: presenting presentation information of the target gift in the live interface in response to a presentation instruction for the target gift triggered based on the gift panel.
Wherein the gifting information is used for indicating that the target gift has been gifted to the anchor terminal. Here, the terminal cancels the presentation of the gift panel after receiving the presentation instruction for the target gift, and then presents the presentation information of the target gift in the live interface.
In actual implementation, a user triggers selection operation aiming at a target gift based on a gift panel, and a terminal determines the target gift to be presented; after the target gift is determined, a presentation instruction for the target gift can be automatically triggered, or a presentation instruction for the target gift can be triggered by a user; and after receiving the presentation instruction, the terminal presents the target gift to the anchor terminal.
As an example, the selection operation may be a click operation for the target gift, that is, the user clicks the target gift in the gift panel to trigger the selection operation for the target gift, and after receiving the selection operation for the target gift, the terminal may directly trigger a presentation instruction for the target gift, present the target gift to the anchor terminal, and present presentation information of the target gift in the live broadcast interface after the presentation is completed.
As an example, the selecting operation may be a clicking operation for the target gift, that is, the user clicks the target gift in the gift panel to trigger the selecting operation for the target gift, and the terminal performs differentiated display on the target gift after receiving the selecting operation for the target gift, at this time, the user may further change the selected gift, and after determining to select the target gift, trigger a presentation instruction for the target gift by triggering the confirmation function item.
In practical application, after the terminal receives a presentation instruction for the target gift, the terminal sends a presentation request carrying identification information of the target gift to the server; the server analyzes the presentation request, deducts virtual money corresponding to the target gift from the account of the terminal or deducts the target gift, and adds the target gift to the account of the main broadcasting terminal; then sending a notification message of the target gift to the anchor terminal to prompt the anchor terminal to receive the target gift, and sending a notification message to other audience terminals of the live broadcast room to prompt the live broadcast room to give the gift to the anchor terminal.
As an example, the server may parse the gifting request to determine the target gift to be gifted according to the identification information carried in the gifting request; after determining the target gift, determining the amount of virtual currency required to purchase the target gift according to the value of the target gift; drawing a corresponding amount of virtual currency from an account of the terminal; after the corresponding amount of virtual money is deducted, the virtual gift is added to the account of the host end to complete the presentation of the target gift.
As an example, the server may parse the gifting request to determine the target gift to be gifted according to the identification information carried in the gifting request; after the target gift is determined, judging whether the account of the terminal already has the target gift, if so, indicating that the user has purchased the target gift, and directly deducting the target gift from the account; if not, the target gift is required to be purchased, and prompt information is presented to prompt the user to purchase the target gift. For example, if there are 3 target gifts in the account of the terminal and the gift request is for requesting to gift 1 target gift to the anchor, 1 target gift is deducted from the account of the terminal, and there are 2 target gifts remaining in the account.
In some embodiments, the terminal may also present an entry for the gift amount in the gift panel to receive the user-entered gift amount to gift the target gift of the entered gift amount based on the user-entered gift amount.
Step 303: and displaying the give-away control corresponding to the target gift at the position associated with the give-away information in the live broadcast interface.
And the gifting control is used for realizing the gifting of the at least one target gift to the anchor terminal again. In practical implementation, the position of the presentation control is associated with the presentation information, that is, the position of the presentation information may be determined according to the presentation position of the presentation information, for example, the presentation control corresponding to the target gift may be presented on the right side of the presentation information.
As an example, fig. 4 is an interface schematic diagram of a gift giving process provided by an embodiment of the present application, referring to fig. 4, a gift panel 401 is presented, a user selects a target gift through the gift panel 401, and after the selection is completed, clicking a give button 402 triggers a give instruction for the target gift to give the target gift to a host; after the gift is finished, the terminal retracts the gift panel 401 to cancel presenting the gift panel 401, presents a chat interface, and presents the gift information 403 of the target gift and the gift control 404 corresponding to the target gift in the chat interface, wherein the gift control 404 of the target gift is positioned at the right side of the gift information 403.
In some embodiments, the terminal may present the gifting information for the target gift in the live interface by: presenting presentation information of the target gift in a bullet screen form in a live broadcast interface; correspondingly, after the terminal displays the presentation control corresponding to the target gift at the position associated with the presentation information in the live interface, the terminal can synchronously move the presentation control displayed at the position associated with the presentation information along with the movement of the position of the presentation information in the live interface.
In actual implementation, the location at which the gifting control is shown is associated with the location of the gifting information, and changes with the location of the gifting information. When the presentation information is presented in a bullet screen form, after the presentation information is presented, the presentation information can move in the live broadcast interface, for example, the presentation information moves in from one side of the live broadcast interface and moves along a preset direction; or when a user sends a new barrage, controlling the presentation information to move in the live broadcast interface so as to present newly sent barrage information; here, the gifting control moves along with the movement of the gifting information in the live interface, and if the gifting information moves upwards, the gifting control also moves upwards along with the movement of the gifting information, so that the relative position between the gifting information and the gifting control is not changed.
By way of example, fig. 5 is a schematic view of a live interface provided by an embodiment of the present application, referring to fig. 5, the gifting information moves in from the right side of the live interface and moves to the left, and accordingly, the control moves to the left, for example, the gifting information moves from the position shown in 501 to the position shown in 502, and accordingly, the gifting control moves from the position shown in 503 to the position shown in 504.
As an example, fig. 6 is a schematic view of a live broadcast interface provided in an embodiment of the present application, referring to fig. 6, presenting the gifted information in a chat area in the live broadcast interface, when a user sends a new barrage, the gifted information moves upward, and accordingly, the control moves upward, for example, the gifted information moves from a position shown in 601 to a position shown in 602, and accordingly, the gifted control moves from a position shown in 603 to a position shown in 604.
In some embodiments, after the presentation control corresponding to the target gift is displayed, the terminal may further present a sliding region in the live interface in response to a trigger operation for the presentation control; responding to the sliding operation triggered in the sliding area, and presenting the target number corresponding to the sliding distance according to the sliding distance corresponding to the sliding operation; and in response to a determination instruction triggered based on the target amount, gifting the target gift of the target amount to the anchor terminal.
In practical implementation, the sliding region may be presented in a floating layer form, or a window may be newly created, and the sliding region is presented through the newly created window, where the presentation form of the sliding region and the shape of the sliding region are not limited. After presenting the slide area, the user may trigger a slide operation in the slide area, and it is understood that the terminal can be used to determine the gift amount of the target gift by triggering the slide operation only in the slide area.
Here, after the number of targets is determined, the number of targets may be presented so that the user can intuitively know the number of targets selected.
In practical applications, the sliding distance and the target number may be linearly changed or non-linearly changed, where the target number corresponding to the sliding distance is determined according to a changing relationship between the sliding distance and the target number. Wherein the slide distance refers to a distance between the slide operation start position and the slide operation end position.
For example, when the sliding distance and the target number may be linearly changed, a linear coefficient is obtained, and the target number may be a product of the sliding distance and the linear coefficient.
In some embodiments, after the terminal displays the presentation control corresponding to the target gift, the terminal may further present, in response to a trigger operation for the presentation control, a quantity selection prop in the live interface, and present a pointer associated with the quantity selection prop, the pointer being used to indicate the presentation quantity of the target gift; controlling the pointer to move relative to the quantity selection prop and updating the presentation quantity indicated by the pointer along with the sliding operation based on the sliding operation triggered in the quantity selection prop; and when the sliding operation is determined to be finished, the gifting amount indicated by the pointer is the target amount, and the target gifts with the target amount are gifted to the anchor terminal.
In actual implementation, when receiving a trigger operation for a give-away control, the terminal presents a quantity selection prop, where the quantity selection prop is used for receiving a sliding operation triggered by a user, and controls a pointer to move relative to the quantity selection prop. The present number indicated by the pointer is associated with the position of the pointer, and different positions correspond to different present numbers.
In practical application, the terminal can present the presentation quantity indicated by the pointer in real time so that the user can know the presentation quantity indicated by the pointer, and then adjust the sliding operation to select the correct presentation quantity, thereby avoiding the selection error of the presentation quantity.
As an example, fig. 7 is a schematic view of a live broadcast interface provided in an embodiment of the present application, and referring to fig. 7, a quantity selection item 701 is presented in the live broadcast interface, and a pointer 702 associated with the quantity selection item is presented, and when a sliding operation is received and the pointer is controlled to move, if the sliding operation is an upward sliding operation, the pointer is controlled to move upward relative to the quantity selection item, and accordingly, the gift quantity indicated by the pointer changes from 1 to 25.
In some embodiments, after the terminal displays the give control corresponding to the target gift, the terminal may further present a quantity selection prop including at least two quantity selection items in response to a trigger operation for the give control; receiving selection operation of a target quantity option in the quantity selection prop; in response to the selection operation, a target gift of a target quantity is gifted to the anchor.
Here, each quantity option corresponds to a present quantity, and after receiving a selection operation for a target quantity option in the quantity selection items, the terminal takes the present quantity corresponding to the target quantity option as the target quantity and presents the target gift of the target quantity to the anchor terminal.
As an example, fig. 8 is a schematic view of a live broadcast interface provided in an embodiment of the present application, and referring to fig. 8, a quantity selection item 801 is presented in the live broadcast interface, and a plurality of quantity selection items 802, such as 10, 20, and 50, are presented, where a user may trigger a selection operation for a target quantity selection item based on the presented quantity selection item, such as the user clicks the quantity selection item "20," trigger a selection operation for the quantity selection item "20," and send 20 target gifts to a host.
In some embodiments, before the terminal receives the selection operation of the target number selection item in the number selection props, the terminal may also receive the rotation operation of the wheel disc when the number selection props are wheel discs; in response to the turning operation, the wheel is rotated clockwise or counterclockwise to update the number selection items displayed in the wheel, depending on the turning direction indicated by the turning operation.
In practical implementation, the roulette includes at least two display positions for displaying the number options, the display positions are in one-to-one correspondence with the number options, and only the number options carried by the roulette are updated and displayed during rotation, while the display positions themselves are unchanged.
Here, the rotation operation may also indicate a rotation angle, and when receiving the rotation operation, the control wheel rotates according to the rotation direction and the rotation angle indicated by the rotation operation, for example, the rotation operation may indicate that the wheel rotates 30 degrees counterclockwise.
Correspondingly, after the quantity options displayed in the roulette wheel are updated, the selection operation for the target quantity option in the quantity selection prop can be received in the following manner: and receiving the selection operation of the target quantity option in the quantity selection prop after the quantity option is updated.
In some embodiments, before the terminal receives the selection operation of the target number selection item in the number selection props, when the number selection props are wheel discs, a rotation function key for controlling the wheel discs to rotate is presented in a live broadcast interface; and receiving a triggering operation aiming at the rotating function key, and rotating the wheel disc clockwise or anticlockwise to update the quantity selection items displayed in the wheel disc.
In practical implementation, the selection direction corresponding to the rotation function key can be preset, and when the triggering operation aiming at the rotation function key is received, the wheel disc is controlled to rotate according to the rotation direction corresponding to the rotation function key. Here, two rotation function keys may be provided, one for controlling the clockwise rotation of the wheel and one for controlling the counterclockwise rotation of the wheel.
In practical application, the rotation angle of the wheel disc may be fixed or may be selected by a user, for example, the wheel disc is controlled to rotate clockwise by 30 degrees each time a trigger operation for rotating the function key is received; or, the triggering operation for the rotation function item may be a pressing operation, and the rotation angle of the wheel is determined according to the pressing time length.
As an example, fig. 9 is a schematic view of a live interface provided in an embodiment of the present application, and referring to fig. 9, a wheel 901 and a rotation function key 902 are presented in the live interface, and a plurality of quantity selection items 903, such as 10, 20, and 50, are presented in the wheel, when a trigger operation for the rotation function key 902 is received, the wheel is rotated clockwise, and after the rotation, an updated plurality of quantity selection items 904, such as 20, 50, and 80, are presented in the wheel, at this time, a selection operation of a target quantity item triggered based on the updated plurality of quantity selection items may be received.
In some embodiments, the rotation operation may also be a sliding operation, and in practical applications, the terminal may receive a sliding operation triggered based on the wheel disc, and rotate the wheel disc clockwise or counterclockwise according to a sliding direction of the sliding operation, so as to update the sharing entry displayed in the sharing interface.
Here, when the sliding direction of the sliding operation is clockwise, the wheel disc is rotated clockwise; when the sliding direction of the sliding operation is counterclockwise, the wheel is rotated counterclockwise.
In some embodiments, when the quantity selection prop is a wheel disc, the wheel disc includes at least two display bits for displaying the quantity selection items, the display bits and the quantity selection items having a one-to-one correspondence; the terminal may receive a selection operation for a target number option in the number selection prop in the following manner: receiving a dragging operation aiming at the presentation control; when the giving control is dragged to enable the giving control to cover one display position, the selection operation of the target quantity selection items in the roulette wheel is triggered, and the quantity selection items corresponding to the covered display positions are used as the target quantity selection items.
Here, the giving control may be presented in a floating manner, and accordingly, the selection operation for the target number of the selection items in the roulette wheel may be implemented by a dragging operation for the giving control. When the dragging operation for the presentation control is received, the presentation control is moved along with the dragging operation, when the presentation control moves to the display position corresponding to the target quantity selection item and covers the display position, the dragging operation is released, and the selection operation for the target quantity selection item in the wheel disc is triggered.
As an example, fig. 10 is a schematic view of a live interface provided in an embodiment of the present application, and referring to fig. 10, a gifting control 1001 and a roulette 1002 are presented in the live interface, a plurality of quantity selection items are presented in the roulette, and when the gifting control is dragged to a display position corresponding to an overlay target quantity selection item 1003, 20 target gifts are gifted to a main broadcast end.
In some embodiments, after the terminal presents the gifting control corresponding to the target gift, the terminal may also periodically gift the target gift to the anchor terminal in response to a pressing operation for the gifting control until the pressing operation is released.
In practical applications, the triggering operation for the gifting control may be a pressing operation, where, in a time period executed according to the pressing operation, the target gift is periodically gifted to the anchor terminal, so that the longer the time duration corresponding to the pressing operation is, the more gifted gifts are. The gift number of the target gift may be the same or different in each period, for example, the gift number may be sequentially increased.
For example, in the execution process of the pressing operation, one target gift is given to the anchor every 0.1 second, and if the time duration corresponding to the pressing operation is 1 second, 10 target gifts are sent to the anchor when the pressing operation is released.
In some embodiments, after the terminal displays the presentation control corresponding to the target gift, the terminal may further present, in response to a pressing operation for the presentation control, a target number corresponding to a pressure value according to the pressure value corresponding to the pressing operation; when the pressing operation is released, a target gift of a target number is gifted to the anchor.
In practical implementation, the amount may be presented according to the pressure value corresponding to the pressing operation, for example, the pressure value may be in direct proportion to the amount presented, and the greater the pressure value is, the greater the amount presented, and then the target amount corresponding to the pressure value may be determined according to the corresponding relationship between the pressure value and the amount presented.
Here, in order to make the user better perceive the pressure value, a target number corresponding to the pressure value is presented, and if the user is not satisfied with the pressure value, the pressure value corresponding to the pressing operation may be adjusted to update the presented target number corresponding to the pressure value; releasing the pressing operation when it is determined that the target number is the gift number desired to be gifted; and when the terminal determines to release the pressing operation, the terminal presents the target gifts with the target quantity to the anchor terminal.
In some embodiments, after the terminal displays the presentation control corresponding to the target gift, the terminal may further receive continuous click operations for the presentation control, where the continuous click operations include at least two click operations, and a time interval between two adjacent click operations is smaller than a time threshold; in response to the continuous clicking operation, a target gift of a target number is gifted to the anchor terminal every time the clicking operation is received.
In practical implementation, only if the time interval between two adjacent click operations is less than 0.1 second, the continuous click operations are considered to be received; otherwise, the click operation is not considered to be a continuous click operation, and then the operation of gifting the target gift of the target number to the anchor is not performed.
The time threshold may be preset, and if the time threshold may be set to 0.1 second, it is determined that the consecutive click operations are received only if the time interval between two adjacent click operations is less than 0.1 second; and if the time interval of two adjacent click operations is greater than or equal to 0.1 second, stopping giving the target gift.
As an example, the terminal may receive successive click operations for a gifting control, gifting 1 target gift to the anchor terminal each time a click operation is received; and when the time threshold value is within the time threshold value, the click operation is not received again, and the presentation operation is determined to be finished.
In some embodiments, after the terminal displays the presentation control corresponding to the target gift, the terminal may further present at least one target gift to the anchor terminal in response to a trigger operation for the presentation control, and present continuous presentation information of the target gift in a live interface; wherein the continuous gifting information is used for indicating that the target gift is gifted to the anchor terminal again; the gifting control corresponding to the target gift is moved from a location associated with the gifting information to a location associated with the continuous gifting information.
In practical application, the giving control corresponding to the target gift is shown only at the position associated with the giving information corresponding to the target gift given last time.
For example, fig. 11 is a schematic view of a live broadcast interface provided in an embodiment of the present application, and referring to fig. 11, a terminal receives a gifting instruction for a target gift triggered based on the gift panel, presents gifting information 1101 of the target gift in the live broadcast interface, and presents a gifting control 1102 in a position associated with the gifting information 1101 in the live broadcast interface; the terminal receives a trigger operation for the gifting control 1102, gifts the target gift to the anchor terminal, presents continuous gifting information 1103 of the target gift in the live interface, and presents the gifting control 1104 at a position associated with the continuous gifting information, so as to move the gifting control corresponding to the target gift from the position associated with the gifting information to a position associated with the continuous gifting information.
In some embodiments, after the terminal displays the presentation control corresponding to the target gift, the terminal may further present at least one target gift to the anchor terminal in response to a trigger operation for the presentation control, and present a continuous delivery special effect of the target gift in a live interface; the continuous delivery special effect is used for displaying the total amount of the gift of the presentation target.
In actual practice, the total number of gifted target gifts includes the number of target gifts gifted through the gift panel and the number of target gifts gifted through the gifting control. For example, fig. 12 is a schematic view of a live broadcast interface provided in an embodiment of the present application, where 1 target gift is given through a gift panel, and 25 target gifts are given through a give control, and then a continuous-feed special effect 1201 that 26 target gifts are given is shown.
In some embodiments, when the gifting instructions for the at least two target gifts are received, after the at least two target gifts are gifted, the gifting information corresponding to each target gift may be respectively presented, and the corresponding gifting control may be respectively presented at a position associated with the gifting information of each target gift.
Here, the giving instructions of the at least two target gifts may be triggered simultaneously or sequentially, and the triggering time of the giving instructions of the at least two target gifts is not limited herein.
In some embodiments, when the target gift includes a first target gift and a second target gift, the terminal may present presentation information of the target gift in the live interface by: presenting presentation information of the first target gift and presentation information of the second target gift in a live broadcast interface; correspondingly, the terminal can display the presentation control corresponding to the target gift at the position associated with the presentation information in the live broadcast interface: and displaying the giving control corresponding to the first target gift at a position in the live interface associated with the giving information of the first target gift, and displaying the giving control corresponding to the second target gift at a position in the live interface associated with the giving information of the second target gift.
Here, a gifting control corresponding to a first target gift for enabling gifting of at least one first target gift to the anchor terminal again; and the giving control corresponding to the second target gift is used for realizing the giving of at least one second target gift to the anchor terminal again.
As an example, fig. 13 is a schematic view of a live broadcast interface provided in an embodiment of the present application, where when a target gift includes a first target gift and a second target gift, after a terminal receives a gifting instruction for the target gift, the terminal gifts the first target gift and the second target gift to a main broadcast terminal, in the live broadcast interface, gifting information 1301 of the first target gift and gifting information 1302 of the second target gift are presented, on the right side of the gifting information 1301, a gifting control 1303 corresponding to the first target gift is presented, and on the right side of the gifting information 1302, a gifting control 1304 corresponding to the second target gift is presented.
In some embodiments, the presentation control corresponding to the target gift may be presented by: acquiring at least one of the following live broadcast information of the live broadcast: live content, live type, live name; and displaying the presentation control corresponding to the target gift by adopting a display style matched with the live broadcast information.
In actual implementation, the presentation style of the presentation control can be matched with the live broadcast information, that is, the presentation style of the presentation control can be dynamically adjusted according to different live broadcast information, so that the presentation style of the presentation control is enriched.
In practical application, when the live broadcast information is in a live broadcast type, different display modes can be set for different live broadcast types, for example, when the live broadcast type is in a game live broadcast, a game role can be adopted to display a presentation control corresponding to a target gift; when the live broadcast type is shopping live broadcast, showing a presentation control corresponding to the target gift by adopting an article or a main broadcast head portrait; when the live broadcast information is a live broadcast name, a graph related to the content in the live broadcast name can be adopted, for example, the live broadcast name is a brand A fitting room, and a presentation control corresponding to a target gift can be displayed by adopting a brand of the brand A; when the live content is live content, the object in the live content can be adopted according to the specific live content to display the presentation control corresponding to the target gift.
As an example, fig. 14 is a schematic view of a live broadcast interface provided in an embodiment of the present application, and referring to fig. 14, when a game with "marrio" live broadcast content is played, a gifting control 1401 is shown in a marrio form, and when the gifting control 1401 is clicked, an animation that marrio bumps up is shown, and each bump displays a gold coin icon and the number of bumps 1402 to indicate the number of times that a target gift is continuously gifted.
Fig. 15 is a schematic view of a live broadcast interface provided by an embodiment of the present application, and referring to fig. 15, when a game with "bubble dragon" as a live broadcast content is displayed, a gifting control 1501 is displayed in a bubble dragon form, when a sliding operation for the gifting control 1501 is performed, an animation that the bubble dragon pushes a pointer in a reel is displayed, and as the pushing is performed, a gifting amount of a target gift to be gifted is displayed.
Applying the above embodiment, by presenting a gift panel including at least one gift in a live interface; presenting presentation information of a target gift in the live interface in response to a presentation instruction for the target gift triggered based on the gift panel; the presentation information is used for indicating that the target gift has been presented to a main broadcasting terminal; displaying a presentation control corresponding to the target gift at a position in the live interface associated with the presentation information; the gifting control is used for enabling at least one target gift to be gifted to the anchor terminal again; so, when the user need present the target gift once more, can be directly through triggering the present controlling part realization that corresponds the target gift, and need not select the target gift through the gift panel again, present the target gift again, improved the human-computer interaction efficiency who improves the present presentation in-process.
Next, an exemplary application of the embodiment of the present application in a practical application scenario will be described. Fig. 16 is a flowchart illustrating a gift giving method in a live broadcast according to an embodiment of the present application, and referring to fig. 16, the gift giving method in a live broadcast according to an embodiment of the present application includes:
step 1601: the terminal presents a gift panel.
In practical application, a terminal presents a live broadcast interface, and a user watches live broadcast through the live broadcast interface; when a user needs to give away a gift, a display instruction for the gift panel is triggered, the terminal presents the gift panel comprising at least one gift in a live interface, and therefore the user can trigger the giving instruction for the target gift through the gift panel.
Step 1602: and receiving a presentation instruction for the target gift triggered based on the gift panel, and presenting the target gift to the anchor terminal.
In practical applications, a main broadcast is live through a main broadcast end, and viewers watch the live broadcast by entering a live broadcast room of the main broadcast. Fig. 17 is a schematic diagram of a network architecture of a gift-giving system in live broadcast according to an embodiment of the present application, and referring to fig. 17, the network architecture includes a sender 1701, a host 1702, other viewers 1703-1, other viewers 1703-2, and a server 1704; in the process of watching live broadcast, a user triggers a presentation instruction aiming at a target gift based on a gift panel, wherein a terminal (a current terminal) receiving the presentation instruction of the target gift is used as a sending terminal; after receiving the presentation instruction, the sending end sends a presentation request of the target gift to the server, and the server deducts virtual money from an account of the sending end and puts the target gift into an account of the anchor end; then, the server sends a notification message to the anchor terminal to prompt the anchor terminal to receive the target gift, and sends a notification message to other audience terminals to prompt the live broadcast room to give the gift to the anchor terminal.
Step 1603: and displaying the presentation information of the corresponding target gift in a bullet screen form, and displaying the presentation control of the corresponding target gift.
Here, after presenting the target gift to the anchor, the terminal cancels presentation of the gift panel, and then presents presentation information of the target gift in a bullet screen form to indicate that the target gift has been presented to the anchor, and presents a presentation control of the corresponding target gift in an area associated with the presentation information, such as presenting the presentation control of the corresponding target gift on the right side of the presentation information.
And the giving control is used for giving the target gift again after receiving the trigger operation.
Referring to fig. 4, a gift panel 401 is presented, a user selects a target gift through the gift panel 401, and after the selection is completed, clicking a present button 402 triggers a present instruction for the target gift to present the target gift to a host; after the gifting is completed, the terminal collapses the gift panel 401 to cancel presenting the gift panel 1401, presents a chat interface, and presents the gifting information 403 of the target gift and the gifting control 404 corresponding to the target gift in the chat interface, wherein the gifting control 404 of the target gift is located at the right side of the gifting information 403.
Step 1604: a click operation for the gifting control is received.
Step 1605: a wheel disc is presented.
For example, fig. 18 is a schematic view of a live broadcast interface provided in an embodiment of the present application, referring to fig. 18, after a user clicks a gifting control, a terminal presents a roulette 1801, and the user may perform a sliding operation in a sliding area corresponding to the roulette to select a gifting amount of a target gift. Fig. 19 is a schematic view of a sliding region provided in an embodiment of the present application, and referring to fig. 19, a portion shown in a gray region 1901 is a sliding region corresponding to a wheel disc.
Step 1606: a sliding operation in the wheel is received.
Step 1607: and determining the presentation quantity corresponding to the sliding operation.
In practical applications, during the execution of the sliding operation, the terminal presents the present amount corresponding to the sliding operation, and the present amount changes along with the offset corresponding to the sliding operation.
Fig. 20 is a schematic diagram of a procedure for determining a gift quantity provided by an embodiment of the present application, and referring to fig. 18, the procedure for determining a gift quantity provided by an embodiment of the present application includes:
step 2001: the terminal receives a sliding operation triggered based on the sliding region.
Step 2002: the start position of the sliding operation.
Here, the start position of the slide operation refers to a position at which the finger starts to touch the slide region, and may be represented by an ordinate value corresponding to the start position, i.e., yPosition.
Step 2003: and recording the position of the finger in real time.
Here, the ordinate value corresponding to the Position where the finger is located, i.e., y2Position, is recorded.
Step 2004: and calculating the offset corresponding to the sliding operation.
Here, the offset corresponding to the slide operation is calculated by y2 Position-yPosition, where deltaY is the offset.
Step 2005: the comp number is calculated based on the current offset.
Here, when the presentation amount and the offset change linearly, the presentation amount may be calculated by giftCount ═ f × deltaY, where giftCount is the presentation amount, f is the coefficient, and deltaY is the offset.
In practical applications, the coefficients may be determined by: the height of the roulette region and the maximum bonus number are obtained, and then the bonus number is calculated according to f ═ maxCount/height, wherein height is the height of the roulette region and maxCount is the maximum bonus number.
For example, referring to fig. 7, a sliding operation is triggered in a sliding region corresponding to the roulette wheel, and as the sliding operation progresses, a complimentary number corresponding to the sliding operation is presented, such as a finger slides upwards, and the complimentary number increases from 1 to 25.
Step 1608: when the sliding operation is finished, the target gift is presented to the anchor terminal according to the determined presentation quantity.
Here, when the finger is lifted, it is determined that the sliding operation is ended, and the final gift number is calculated based on the offset when the sliding operation is ended, and if the final gift number is the target number, the target gift of the target number is gifted to the anchor.
For example, fig. 21 is a schematic view of a gift-giving interface provided in an embodiment of the present application, and referring to fig. 21, a finger slides upward to present a gift-giving number corresponding to the sliding operation, for example, the gift-giving number corresponding to the sliding operation is 25, at this time, the finger is released, the sliding operation is determined to be finished, and 25 target gifts are given to the broadcaster side.
By applying the embodiment, the presentation control is presented in the area associated with the presentation information of the target gift, so that the user can directly present the target gift again based on the presentation control, and the man-machine interaction efficiency in the process of presenting the gift is improved; and moreover, the presentation quantity is selected in a wheel disc mode, the selection mode of the presentation quantity is enriched, the user can better perceive the presentation quantity, the participation sense of the user is improved, and the activity of the user can be further improved.
Continuing with the exemplary structure provided by the embodiments of the present application for implementing the live gift-giving device 555 as a software module, in some embodiments, as shown in fig. 2, the software modules stored in the live gift-giving device 555 in the memory 550 may include:
a presentation module 5551 for presenting a gift panel including at least one gift in a live interface;
a gifting module 5552 for presenting gifting information of a target gift in the live interface in response to a gifting instruction for the target gift triggered based on the gift panel;
the presentation information is used for indicating that the target gift has been presented to a main broadcasting terminal;
a presentation module 5553, configured to present, at a location in the live interface associated with the gifting information, a gifting control corresponding to the target gift;
and the giving control is used for giving at least one target gift to the anchor terminal again.
In some embodiments, the presentation module is further configured to present a sliding region in the live interface in response to a triggering operation for the gifting control;
responding to a sliding operation triggered in the sliding area, and presenting the target number corresponding to the sliding distance according to the sliding distance corresponding to the sliding operation;
in response to a determination instruction triggered based on the target number, gifting the target gift of the target number to a host.
In some embodiments, the presentation module is further configured to present a quantity selection prop in the live interface in response to a triggering operation for the gifting control, and present a pointer associated with the quantity selection prop, the pointer being used to indicate the gifting quantity of the target gift;
controlling the pointer to move relative to the quantity selection prop and updating the presentation quantity indicated by the pointer as the sliding operation progresses based on the sliding operation triggered in the quantity selection prop;
and when the sliding operation is determined to be finished, the gifting amount indicated by the pointer is the target amount, and the target gifts with the target amount are gifted to the anchor terminal.
In some embodiments, the presentation module is further configured to present a quantity selection prop including at least two quantity selection items in response to a triggering operation for the gifting control;
receiving selection operation of a target quantity option in the quantity selection prop;
presenting the target gift in the target amount to the anchor terminal in response to the selection operation.
In some embodiments, the display module is further configured to receive a rotation operation for the wheel disc when the number selection prop is the wheel disc;
and in response to the rotating operation, rotating the wheel disc clockwise or anticlockwise according to the rotating direction indicated by the rotating operation so as to update the quantity selection items displayed in the wheel disc.
In some embodiments, the display module is further configured to present, when the quantity selection prop is a wheel disc, a rotation function key for controlling rotation of the wheel disc in the live broadcast interface;
and receiving a triggering operation aiming at the rotating function key, and rotating the wheel disc clockwise or anticlockwise to update the quantity selection items displayed in the wheel disc.
In some embodiments, when the quantity selection prop is a wheel, the wheel includes at least two display positions for displaying quantity selection items, the display positions being in a one-to-one correspondence with the quantity selection items;
the display module is further used for receiving a dragging operation aiming at the giving control;
when the presentation control is dragged to enable the presentation control to cover one display position, the selection operation of the target number selection items in the roulette wheel is triggered, and
and taking the number selection item corresponding to the covered display position as a target number selection item.
In some embodiments, the presentation module is further configured to, in response to a press operation on the gifting control, periodically gifting the target gift to the anchor until the press operation is released.
In some embodiments, the presentation module is further configured to, in response to a pressing operation for the presentation control, present, according to a pressure value corresponding to the pressing operation, a target number corresponding to the pressure value;
presenting the target gift of the target amount to an anchor terminal when the pressing operation is released.
In some embodiments, the presentation module is further configured to receive a continuous clicking operation for the gifting control, where the continuous clicking operation includes at least two clicking operations, and a time interval between two adjacent clicking operations is smaller than a time threshold;
and in response to the continuous clicking operation, gifting the target gifts with the target quantity to the anchor terminal every time the clicking operation is received.
In some embodiments, the presentation module is further configured to present at least one target gift to the anchor terminal in response to a triggering operation for the presentation control, and present continuous presentation information of the target gift in the live interface;
wherein the continuous gifting information is used to instruct resupplying the target gift to the anchor terminal;
moving a gifting control corresponding to the target gift from a location associated with the gifting information to a location associated with the continuous gifting information.
In some embodiments, the presentation module is further configured to present at least one of the target gifts to the anchor terminal in response to a triggering operation for the presentation control, and
presenting a continuous delivery special effect of the target gift in the live broadcast interface;
wherein the continuous delivery special effect is used for showing the total amount of the gifted target gifts.
In some embodiments, the presentation module is further configured to present, in the live interface, the gifting information for the first target gift and the gifting information for the second target gift;
the displaying a presentation control corresponding to the target gift at a position associated with the presentation information in the live interface includes:
presenting a gifting control corresponding to the first target gift at a location in the live interface associated with the gifting information for the first target gift, an
And displaying a give-away control corresponding to the second target gift at a position in the live interface associated with the give-away information of the second target gift.
In some embodiments, the presentation module is further configured to present, in the live interface, the presentation information of the target gift in a bullet screen form;
after the presentation control corresponding to the target gift is displayed at the position associated with the presentation information in the live interface, the method includes:
synchronously moving the gifting control displayed at the location associated with the gifting information as the gifting information moves in position in the live interface.
Embodiments of the present application provide a computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions to cause the computer device to execute the method for gifting a gift in a live broadcast according to the embodiment of the present application.
Embodiments of the present application provide a computer-readable storage medium having stored therein executable instructions that, when executed by a processor, cause the processor to perform a method provided by embodiments of the present application, for example, the method as illustrated in fig. 3.
In some embodiments, the computer-readable storage medium may be memory such as FRAM, ROM, PROM, EPROM, EEPROM, flash, magnetic surface memory, optical disk, or CD-ROM; or may be various devices including one or any combination of the above memories.
In some embodiments, executable instructions may be written in any form of programming language (including compiled or interpreted languages), in the form of programs, software modules, scripts or code, and may be deployed in any form, including as a stand-alone program or as a module, component, subroutine, or other unit suitable for use in a computing environment.
By way of example, executable instructions may correspond, but do not necessarily have to correspond, to files in a file system, and may be stored in a portion of a file that holds other programs or data, such as in one or more scripts in a hypertext Markup Language (HTML) document, in a single file dedicated to the program in question, or in multiple coordinated files (e.g., files that store one or more modules, sub-programs, or portions of code).
By way of example, executable instructions may be deployed to be executed on one computing device or on multiple computing devices at one site or distributed across multiple sites and interconnected by a communication network.
The above description is only an example of the present application, and is not intended to limit the scope of the present application. Any modification, equivalent replacement, and improvement made within the spirit and scope of the present application are included in the protection scope of the present application.
Claims (18)
1. A gift giving method in live broadcasting is characterized by comprising the following steps:
presenting a gift panel comprising at least one gift in a live interface;
presenting presentation information of a target gift in the live interface in response to a presentation instruction for the target gift triggered based on the gift panel;
the presentation information is used for indicating that the target gift has been presented to a main broadcasting terminal;
displaying a presentation control corresponding to the target gift at a position in the live interface associated with the presentation information;
and the giving control is used for giving at least one target gift to the anchor terminal again.
2. The method of claim 1, wherein after presenting the gifting control corresponding to the target gift, further comprising:
presenting a sliding area in the live interface in response to a triggering operation for the gifting control;
responding to a sliding operation triggered in the sliding area, and presenting the target number corresponding to the sliding distance according to the sliding distance corresponding to the sliding operation;
in response to a determination instruction triggered based on the target number, gifting the target gift of the target number to a host.
3. The method of claim 1, wherein after presenting the gifting control corresponding to the target gift, further comprising:
presenting a quantity selection prop in the live interface in response to a triggering operation for the gifting control, and presenting a pointer associated with the quantity selection prop, the pointer being used to indicate the gifting quantity of the target gift;
controlling the pointer to move relative to the quantity selection prop and updating the presentation quantity indicated by the pointer as the sliding operation progresses based on the sliding operation triggered in the quantity selection prop;
and when the sliding operation is determined to be finished, the gifting amount indicated by the pointer is the target amount, and the target gifts with the target amount are gifted to the anchor terminal.
4. The method of claim 1, wherein after presenting the gifting control corresponding to the target gift, further comprising:
in response to a triggering operation for the gifting control, presenting a quantity selection prop containing at least two quantity selections;
receiving selection operation of a target quantity option in the quantity selection prop;
presenting the target gift in the target amount to the anchor terminal in response to the selection operation.
5. The method of claim 4, wherein prior to receiving a selection operation for a target number of the number of selection items, further comprising:
when the quantity selection prop is a wheel disc, receiving a rotation operation aiming at the wheel disc;
and in response to the rotating operation, rotating the wheel disc clockwise or anticlockwise according to the rotating direction indicated by the rotating operation so as to update the quantity selection items displayed in the wheel disc.
6. The method of claim 4, wherein prior to receiving a selection operation for a target number of the number of selection items, further comprising:
when the quantity selection prop is a wheel disc, a rotation function key for controlling the wheel disc to rotate is presented in the live broadcast interface;
and in response to the triggering operation of the rotating function key, rotating the wheel clockwise or anticlockwise to update the quantity selection items displayed in the wheel.
7. The method of claim 4, wherein when the quantity selection prop is a wheel, the wheel includes at least two display bits for displaying a quantity selection item, the display bits in a one-to-one correspondence with the quantity selection item;
the receiving of the selection operation of the target quantity selection item in the quantity selection prop includes:
receiving a dragging operation aiming at the giving control;
when the presentation control is dragged to enable the presentation control to cover one display position, the selection operation of the target number selection items in the roulette wheel is triggered, and
and taking the number selection item corresponding to the covered display position as a target number selection item.
8. The method of claim 1, wherein after presenting the gifting control corresponding to the target gift, further comprising:
and in response to the pressing operation of the giving control, periodically giving the target gift to the anchor terminal until the pressing operation is released.
9. The method of claim 1, wherein after presenting the gifting control corresponding to the target gift, further comprising:
responding to the pressing operation of the giving control, and presenting a target quantity corresponding to the pressure value according to the pressure value corresponding to the pressing operation;
presenting the target gift of the target amount to an anchor terminal when the pressing operation is released.
10. The method of claim 1, wherein after presenting the gifting control corresponding to the target gift, further comprising:
receiving continuous clicking operations aiming at the giving control, wherein the continuous clicking operations comprise at least two clicking operations, and the time interval between every two adjacent clicking operations is smaller than a time threshold;
and in response to the continuous clicking operation, gifting the target gifts with the target quantity to the anchor terminal every time the clicking operation is received.
11. The method of claim 1, wherein after presenting the gifting control corresponding to the target gift, further comprising:
in response to the triggering operation aiming at the giving control, giving at least one target gift to the anchor terminal, and presenting continuous giving information of the target gift in the live broadcast interface;
wherein the continuous gifting information is used to instruct resupplying the target gift to the anchor terminal;
moving a gifting control corresponding to the target gift from a location associated with the gifting information to a location associated with the continuous gifting information.
12. The method of claim 1, wherein the presenting the gifting control corresponding to the target gift comprises:
in response to a triggering operation for the gifting control, gifting at least one of the target gifts to the anchor, and
presenting a continuous delivery special effect of the target gift in the live broadcast interface;
wherein the continuous delivery special effect is used for showing the total amount of the gifted target gifts.
13. The method of claim 1, wherein when the target gift comprises a first target gift and a second target gift, the presenting the gifting information of the target gift in the live interface comprises:
presenting presentation information of the first target gift and presentation information of the second target gift in the live interface;
the displaying a presentation control corresponding to the target gift at a position associated with the presentation information in the live interface includes:
presenting a gifting control corresponding to the first target gift at a location in the live interface associated with the gifting information for the first target gift, an
And displaying a give-away control corresponding to the second target gift at a position in the live interface associated with the give-away information of the second target gift.
14. The method of claim 1, wherein the presenting the gifting information for the target gift in the live interface comprises:
presenting presentation information of the target gift in a bullet screen form in the live broadcast interface;
after the presentation control corresponding to the target gift is displayed at the position associated with the presentation information in the live interface, the method includes:
synchronously moving the gifting control displayed at the location associated with the gifting information as the gifting information moves in position in the live interface.
15. The method of claim 1, wherein the presenting the gifting control corresponding to the target gift comprises:
acquiring at least one of the following live broadcast information of the live broadcast: live content, live type, live name;
and displaying the presentation control corresponding to the target gift by adopting a display style matched with the live broadcast information.
16. A gift giving device in live broadcasting, comprising:
a presentation module to present a gift panel comprising at least one gift in a live interface;
the presentation module is used for responding to a presentation instruction for a target gift triggered based on the gift panel and presenting presentation information of the target gift in the live broadcast interface;
the presentation information is used for indicating that the target gift has been presented to a main broadcasting terminal;
the display module is used for displaying a presentation control corresponding to the target gift at a position in the live broadcast interface associated with the presentation information;
and the giving control is used for giving at least one target gift to the anchor terminal again.
17. A computer device, comprising:
a memory for storing executable instructions;
a processor for implementing the method of gifting a gift on live of any one of claims 1 to 15 when executing executable instructions stored in the memory.
18. A computer-readable storage medium storing executable instructions for implementing the method of gifting a gift on a live broadcast of any one of claims 1 to 15 when executed by a processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110301479.2A CN112884526B (en) | 2021-03-22 | 2021-03-22 | Method, device, equipment and storage medium for giving gift in live broadcast |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110301479.2A CN112884526B (en) | 2021-03-22 | 2021-03-22 | Method, device, equipment and storage medium for giving gift in live broadcast |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112884526A true CN112884526A (en) | 2021-06-01 |
CN112884526B CN112884526B (en) | 2023-12-01 |
Family
ID=76041546
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110301479.2A Active CN112884526B (en) | 2021-03-22 | 2021-03-22 | Method, device, equipment and storage medium for giving gift in live broadcast |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112884526B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113766290A (en) * | 2021-10-20 | 2021-12-07 | 广州方硅信息技术有限公司 | Live broadcast interaction method and device, storage medium and computer equipment |
Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1732033A (en) * | 2002-12-13 | 2006-02-08 | Wigwalk | Wheel-type game device and method for gaming thereof with a plurality of wheel discs |
CN104797310A (en) * | 2012-09-28 | 2015-07-22 | 巴利游戏公司 | Systems, methods, and devices for displaying historical roulette information |
CN107277559A (en) * | 2017-06-20 | 2017-10-20 | 武汉斗鱼网络科技有限公司 | Rotating disk interactive approach and device |
WO2018059353A1 (en) * | 2016-09-29 | 2018-04-05 | 广州华多网络科技有限公司 | Message processing method and apparatus |
CN108156507A (en) * | 2017-12-27 | 2018-06-12 | 广州酷狗计算机科技有限公司 | Virtual objects presentation method, device and storage medium |
CN109218842A (en) * | 2018-10-31 | 2019-01-15 | 广州华多网络科技有限公司 | Virtual present interactive approach, device, computer storage medium and terminal |
CN110337025A (en) * | 2019-07-15 | 2019-10-15 | 网易(杭州)网络有限公司 | Interaction control method and device, storage medium and electronic equipment in network direct broadcasting |
CN110418155A (en) * | 2019-08-08 | 2019-11-05 | 腾讯科技(深圳)有限公司 | Living broadcast interactive method, apparatus, computer readable storage medium and computer equipment |
CN110572572A (en) * | 2019-09-16 | 2019-12-13 | Oppo广东移动通信有限公司 | Shooting parameter selection method and device, mobile terminal and storage medium |
US20200143447A1 (en) * | 2016-12-26 | 2020-05-07 | Hong Kong Liveme Corporation Limited | Method and device for recommending gift and mobile terminal |
CN111225226A (en) * | 2019-12-31 | 2020-06-02 | 广州华多网络科技有限公司 | Interactive method, electronic equipment and device for presenting virtual gift |
CN111757135A (en) * | 2020-06-24 | 2020-10-09 | 北京字节跳动网络技术有限公司 | Live broadcast interaction method and device, readable medium and electronic equipment |
CN111934985A (en) * | 2020-07-31 | 2020-11-13 | 腾讯科技(深圳)有限公司 | Media content sharing method, device and equipment and computer readable storage medium |
-
2021
- 2021-03-22 CN CN202110301479.2A patent/CN112884526B/en active Active
Patent Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1732033A (en) * | 2002-12-13 | 2006-02-08 | Wigwalk | Wheel-type game device and method for gaming thereof with a plurality of wheel discs |
CN104797310A (en) * | 2012-09-28 | 2015-07-22 | 巴利游戏公司 | Systems, methods, and devices for displaying historical roulette information |
WO2018059353A1 (en) * | 2016-09-29 | 2018-04-05 | 广州华多网络科技有限公司 | Message processing method and apparatus |
US20200143447A1 (en) * | 2016-12-26 | 2020-05-07 | Hong Kong Liveme Corporation Limited | Method and device for recommending gift and mobile terminal |
CN107277559A (en) * | 2017-06-20 | 2017-10-20 | 武汉斗鱼网络科技有限公司 | Rotating disk interactive approach and device |
CN108156507A (en) * | 2017-12-27 | 2018-06-12 | 广州酷狗计算机科技有限公司 | Virtual objects presentation method, device and storage medium |
CN109218842A (en) * | 2018-10-31 | 2019-01-15 | 广州华多网络科技有限公司 | Virtual present interactive approach, device, computer storage medium and terminal |
CN110337025A (en) * | 2019-07-15 | 2019-10-15 | 网易(杭州)网络有限公司 | Interaction control method and device, storage medium and electronic equipment in network direct broadcasting |
CN110418155A (en) * | 2019-08-08 | 2019-11-05 | 腾讯科技(深圳)有限公司 | Living broadcast interactive method, apparatus, computer readable storage medium and computer equipment |
CN110572572A (en) * | 2019-09-16 | 2019-12-13 | Oppo广东移动通信有限公司 | Shooting parameter selection method and device, mobile terminal and storage medium |
CN111225226A (en) * | 2019-12-31 | 2020-06-02 | 广州华多网络科技有限公司 | Interactive method, electronic equipment and device for presenting virtual gift |
CN111757135A (en) * | 2020-06-24 | 2020-10-09 | 北京字节跳动网络技术有限公司 | Live broadcast interaction method and device, readable medium and electronic equipment |
CN111934985A (en) * | 2020-07-31 | 2020-11-13 | 腾讯科技(深圳)有限公司 | Media content sharing method, device and equipment and computer readable storage medium |
Non-Patent Citations (1)
Title |
---|
常力: "基于iOS视频直播APP设计与实现的管理研究", 管理观察, no. 17, pages 173 - 174 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113766290A (en) * | 2021-10-20 | 2021-12-07 | 广州方硅信息技术有限公司 | Live broadcast interaction method and device, storage medium and computer equipment |
CN113766290B (en) * | 2021-10-20 | 2023-10-31 | 广州方硅信息技术有限公司 | Live interaction method and device, storage medium and computer equipment |
Also Published As
Publication number | Publication date |
---|---|
CN112884526B (en) | 2023-12-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5817900B1 (en) | Information processing apparatus, program, and information processing system | |
CN110337025B (en) | Interaction control method and device in live webcasting, storage medium and electronic equipment | |
CN112860148B (en) | Medal icon editing method, device, equipment and computer readable storage medium | |
US7000180B2 (en) | Methods, systems, and processes for the design and creation of rich-media applications via the internet | |
US20150026573A1 (en) | Media Editing and Playing System and Method Thereof | |
WO2009039326A1 (en) | Systems and methods for creating, collaborating, and presenting software demonstrations, and methods of marketing of the same | |
US20230013601A1 (en) | Program trial method, system, apparatus, and device, and medium | |
US20120089499A1 (en) | Methods, systems, and processes for the design and creation of rich-media applications via the internet | |
CN113225581B (en) | Live broadcast interaction method and device and electronic equipment | |
CN111450527A (en) | Information processing method and device | |
JP2018029986A (en) | Information processing unit | |
US10534832B1 (en) | Server-side tracking and selection of rotating content | |
CN114143572A (en) | Live broadcast interaction method and device, storage medium and electronic equipment | |
CN112884526A (en) | Gift presentation method, device, equipment and storage medium in live broadcast | |
CN114130011A (en) | Object selection method, device, storage medium and program product for virtual scene | |
CN112667328A (en) | Stock quote device and method with multiple graphic user interface | |
US20220182725A1 (en) | Method and system for providing contents | |
US20160266743A1 (en) | System, method, and storage medium storing program for distributing video or audio | |
TW201428658A (en) | Device and method for positioning a scroll view to the best display position automatically in a stock quoting software | |
CN111934985A (en) | Media content sharing method, device and equipment and computer readable storage medium | |
CN113797527B (en) | Game processing method, device, equipment, medium and program product | |
CN113126863B (en) | Object selection implementation method and device, storage medium and electronic equipment | |
US20140225809A1 (en) | Method, system, and device for generating, distributing, and maintaining mobile applications | |
CN112755510A (en) | Mobile terminal cloud game control method, system and computer readable storage medium | |
US20180089877A1 (en) | Method and apparatus for producing virtual reality content |
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 | ||
REG | Reference to a national code |
Ref country code: HK Ref legal event code: DE Ref document number: 40046475 Country of ref document: HK |
|
GR01 | Patent grant | ||
GR01 | Patent grant |