CN113630615A - Live broadcast room virtual gift display method and device - Google Patents

Live broadcast room virtual gift display method and device Download PDF

Info

Publication number
CN113630615A
CN113630615A CN202110914636.7A CN202110914636A CN113630615A CN 113630615 A CN113630615 A CN 113630615A CN 202110914636 A CN202110914636 A CN 202110914636A CN 113630615 A CN113630615 A CN 113630615A
Authority
CN
China
Prior art keywords
virtual gift
live broadcast
virtual
broadcast room
icon
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
Application number
CN202110914636.7A
Other languages
Chinese (zh)
Other versions
CN113630615B (en
Inventor
王胜
周勇
林鲜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Bilibili Technology Co Ltd
Original Assignee
Shanghai Bilibili Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Bilibili Technology Co Ltd filed Critical Shanghai Bilibili Technology Co Ltd
Priority to CN202110914636.7A priority Critical patent/CN113630615B/en
Publication of CN113630615A publication Critical patent/CN113630615A/en
Application granted granted Critical
Publication of CN113630615B publication Critical patent/CN113630615B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • H04N21/2187Live feed
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/4788Supplemental services, e.g. displaying phone caller identification, shopping application communicating with other users, e.g. chatting

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • General Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application provides a live broadcast room virtual gift display method and device, wherein the live broadcast room virtual gift display method comprises the following steps: receiving and responding to a gift sending request of a user, and triggering a virtual gift panel in a live broadcast room; acquiring continuous clicking operation of the user on a target virtual gift in the virtual gift panel, wherein the continuous clicking operation carries an identifier of the target virtual gift; determining an icon to be displayed of the target virtual gift according to the identification; and dynamically moving the icons to be displayed along a pre-established virtual track in the live broadcast room. The method has the advantages that the dynamic movement of the icons to be displayed along the virtual tracks is realized, the presentation form of the target virtual gift is enriched, the interestingness of the virtual gift display in the live broadcast room is improved, the retention amount of a user and the enthusiasm of displaying the virtual gift are improved, the user experience is effectively enhanced, the user consumption can be effectively promoted, and the win-win purpose of experience are realized.

Description

Live broadcast room virtual gift display method and device
Technical Field
The application relates to the technical field of computers, in particular to a live broadcast room virtual gift display method. The application also relates to a live broadcast room virtual gift display device, a computing device and a computer readable storage medium.
Background
With the rapid development of computer technology, various live webcasts are emerging. In order to increase the interactivity between the user and the main broadcast, the user can interact with the main broadcast in the modes of voice, video, characters and pictures, virtual gift sending and the like when watching the network live broadcast.
In the prior art, when a user presents a virtual gift to a main broadcast, the user needs to click a gift option of a live broadcast interface, a gift panel pops up at the moment, and then the user clicks an icon corresponding to the virtual gift which the user wants to present on the gift panel, so that the purpose of presenting the virtual gift to the main broadcast is achieved. However, in the above method, when the user sends out the virtual gift, the gift panel cannot remind the user of successful gift sending, or the virtual gift is directly displayed in the bullet screen area or the comment area in the form of pictures and texts, resulting in a single display mode of the virtual gift.
Disclosure of Invention
In view of this, the embodiment of the present application provides a method for displaying a virtual gift in a live broadcast room. The application simultaneously relates to a live broadcast room virtual gift display device, a computing device and a computer readable storage medium, so as to solve the defect that the virtual gift display mode in the prior art is single.
According to a first aspect of the embodiments of the present application, a live broadcast room virtual gift display method is provided, including:
receiving and responding to a gift sending request of a user, and triggering a virtual gift panel in a live broadcast room;
acquiring continuous clicking operation of the user on a target virtual gift in the virtual gift panel, wherein the continuous clicking operation carries an identifier of the target virtual gift;
determining an icon to be displayed of the target virtual gift according to the identification;
and dynamically moving the icons to be displayed along a pre-established virtual track in the live broadcast room.
According to a second aspect of the embodiments of the present application, there is provided a live broadcast room virtual gift display device, including:
the trigger module is configured to receive and respond to a gift sending request of a user and trigger the virtual gift panel in the live broadcast room;
an obtaining module, configured to obtain a continuous click operation of the user on a target virtual gift in the virtual gift panel, where the continuous click operation carries an identifier of the target virtual gift;
a determining module configured to determine an icon to be presented of the target virtual gift according to the identification;
and the display module is configured to dynamically move the icons to be displayed along a pre-established virtual track in the live broadcast room.
According to a third aspect of embodiments of the present application, there is provided a computing device comprising a memory, a processor, and computer instructions stored on the memory and executable on the processor, the processor implementing the steps of the live room virtual gift presenting method when executing the computer instructions.
According to a fourth aspect of embodiments herein, there is provided a computer readable storage medium storing computer instructions which, when executed by a processor, implement the steps of the live room virtual gift presentation method.
The method for displaying the virtual gifts in the live broadcast room receives and responds to a gift sending request of a user, and triggers a virtual gift panel in the live broadcast room; acquiring continuous clicking operation of the user on a target virtual gift in the virtual gift panel, wherein the continuous clicking operation carries an identifier of the target virtual gift; determining an icon to be displayed of the target virtual gift according to the identification; and dynamically moving the icons to be displayed along a pre-established virtual track in the live broadcast room. The method has the advantages that the dynamic movement of the icons to be displayed along the virtual tracks is realized, the presentation form of the target virtual gift is enriched, the interestingness of the virtual gift display in the live broadcast room is improved, the retention amount of a user and the enthusiasm of displaying the virtual gift are improved, the user experience is effectively enhanced, the user consumption can be effectively promoted, and the win-win purpose of experience are realized.
Drawings
Fig. 1 is a flowchart of a method for displaying a virtual gift in a live broadcast room according to an embodiment of the present application;
fig. 2A is a schematic interface diagram of a live broadcast room according to an embodiment of the present application;
fig. 2B is a schematic interface diagram of a continuous click button according to an embodiment of the present application;
fig. 2C is a schematic view of an interface of another live broadcast room provided in an embodiment of the present application;
fig. 2D is a schematic interface diagram of another live broadcast room provided in an embodiment of the present application;
fig. 2E is a schematic diagram of establishing a virtual track according to an embodiment of the present application;
FIG. 2F is a schematic diagram of another embodiment of the present application for creating a virtual track;
fig. 3 is a processing flow chart of a live broadcast room virtual gift display method applied to a game live broadcast room according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a live broadcast room virtual gift display device according to an embodiment of the present application;
fig. 5 is a block diagram of a computing device according to an embodiment of the present application.
Detailed Description
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present application. This application is capable of implementation in many different ways than those herein set forth and of similar import by those skilled in the art without departing from the spirit of this application and is therefore not limited to the specific implementations disclosed below.
The terminology used in the one or more embodiments of the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the one or more embodiments of the present application. As used in one or more embodiments of the present application and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used in one or more embodiments of the present application refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It will be understood that, although the terms first, second, etc. may be used herein in one or more embodiments of the present application to describe various information, these information should not be limited by these terms. These terms are only used to distinguish one type of information from another. For example, a first aspect may be termed a second aspect, and, similarly, a second aspect may be termed a first aspect, without departing from the scope of one or more embodiments of the present application. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
First, the noun terms to which one or more embodiments of the present application relate are explained.
Bezier curve: the Bezier curve, also known as the Betz curve or the Bezier curve, is a mathematical curve applied to two-dimensional graphics applications. The general vector graphic software accurately draws a curve through the curve, the Betz curve consists of line segments and nodes, the nodes are draggable pivots, and the line segments are like telescopic rubber bands. Bezier curves are fairly important parametric curves in computer graphics.
And (4) live broadcasting: in the internet era, live network programs opened by a certain person or an organization are mainly referred. The live broadcast room is a room in which a radio station and a television station broadcast programs to audiences, has good sound insulation and silencing functions, and is derived as a name of live broadcast programs on the internet, for example, a certain live broadcast room refers to live broadcast programs on the internet opened by a certain person or an organization.
And (4) live broadcast: the network interaction live broadcast is often referred to at present, and is a social and commercial mode. The computer or the mobile phone is used by the anchor to synchronously broadcast the things which are done by the anchor, audiences can watch the live broadcasts or the contents through the website or the APP, and the favorite anchor or the contents can be enjoyed, so that the aim of entertainment or teaching is fulfilled.
The present application provides a live broadcast room virtual gift display method, and the present application also relates to a live broadcast room virtual gift display device, a computing device, and a computer readable storage medium, which are described in detail in the following embodiments one by one.
Fig. 1 shows a flowchart of a live broadcast room virtual gift display method according to an embodiment of the present application, which specifically includes the following steps:
step 102: and receiving and responding to a gift sending request of a user, and triggering a virtual gift panel in the live broadcast room.
Specifically, the gift sending request refers to a request for giving a main virtual gift to a user in a live broadcast room; the virtual gift panel is an interface used for displaying various virtual gifts in a live broadcast room and can also be used as a virtual gift library; the live broadcast room is the interface that corresponds when the user needs to show the virtual gift of target, as shown in fig. 2A, fig. 2A shows an interface schematic diagram of a live broadcast room that this application embodiment provided, and the live broadcast room includes live broadcast content display area, continuous click information display area and virtual gift panel, and wherein, live broadcast content display area is used for showing live broadcast content, and continuous click information display area is used for showing the number of times that the user clicked the virtual gift of target, and the virtual gift panel includes the icon of a plurality of virtual gifts.
In practical application, when a user watches live broadcast content in a live broadcast room, the user can click a gift sending button or a gift icon button of the live broadcast room to generate a gift sending request, namely the gift sending request of the user is locally received. In response to the gift sending request, a virtual gift control panel is displayed in the live broadcast, i.e., a virtual gift panel is triggered in the live broadcast, the virtual gift panel including a plurality of virtual gifts.
For example, the user clicks on the gift icon case of the live room, at which time a virtual gift panel will be displayed on the live room.
It should be noted that the virtual gift panel may have a plurality of virtual gift pages, and the virtual gift pages in the virtual gift panel are switched according to a preset operation on the virtual gift panel. For example, the preset operation is a leftward swipe and a rightward swipe, and when the user swipes leftward on the virtual gift panel, the current virtual gift page is switched to the next virtual gift page; when the user slides right on the virtual gift panel, the current virtual gift page is switched to the previous virtual gift page. As another example, the preset operation is a slide up and a slide down, and when the user slides up on the virtual gift panel, the current virtual gift page is switched to the next virtual gift page; when the user slides down on the virtual gift panel, the current virtual gift page will be switched to the previous virtual gift page.
Step 104: and acquiring continuous clicking operation of the user on the target virtual gift in the virtual gift panel, wherein the continuous clicking operation carries the identification of the target virtual gift.
And further acquiring continuous clicking operation of the user on the target virtual gift in the virtual gift panel on the basis of triggering the virtual gift panel in the live broadcast room after receiving and responding to the gift sending request of the user.
Specifically, the target virtual gift may be a virtual gift waiting to be displayed in the live broadcast room, that is, a virtual gift selected by the user to be presented to the anchor on the virtual gift panel; the mark is a mark representing the target virtual gift, namely a virtual gift mark, for example, the mark of 'smiling face' represents the target virtual gift-smiling face, and the mark of 'balloon' represents the target virtual gift-balloon; the continuous clicking operation refers to an operation that the user continuously clicks the same target virtual gift within a preset interval time, for example, if the preset interval time is 0.5 seconds, the user clicks the target virtual gift within the 1 st second and clicks the target virtual gift again within the 1.2 nd second, and then the user performs a double continuous clicking operation.
In practical application, in the process of watching live broadcast content, a user can select a virtual gift, namely a target virtual gift, which the user wants to present in a virtual gift panel of a live broadcast room, and after the user continuously clicks the same virtual gift within a preset interval time, a continuous click operation for the virtual gift, namely the target virtual gift is generated, and at this moment, the continuous click operation carrying the identifier of the target virtual gift is locally obtained. The live content can be videos, games, cartoons, anchor shows, teaching and the like.
It should be noted that, in the process of viewing the live content, the user may present the anchor target virtual gift to express the favorite degree of the live content, and perform interaction.
For example, if the user "small Q" clicks "flower" three times in the virtual gift panel, three continuous clicks of the user "small Q" on the target virtual gift "flower" in the virtual gift panel are obtained locally, wherein the three continuous clicks carry the identifier of the target virtual gift- "flower".
Step 106: and determining an icon to be displayed of the target virtual gift according to the identification.
After the continuous-click operation instruction carrying the identifier of the target virtual gift is acquired, the icon to be displayed of the target virtual gift can be determined according to the identifier.
Specifically, the icon to be displayed refers to an icon of a virtual gift to be displayed in a live broadcast room, for example, when the user presents the virtual gift of the anchor rocket, the icon to be displayed is a rocket icon, and when the user presents the virtual gift of the anchor cry, the icon to be displayed is a crying face icon.
In practical application, the identifiers correspond to the target virtual gifts one to one, and the target virtual gifts correspond to the icons to be displayed one to one, that is, the identifiers correspond to the icons to be displayed one to one. On the basis of obtaining the identification, the target virtual gift can be determined according to the identification, and the icon to be displayed is further determined according to the target virtual gift; the icon to be displayed of the target virtual gift can be directly determined according to the identification.
For example, if the identifier is "red flower green leaf", the target virtual gift red flower green leaf corresponding to the "red flower green leaf" is determined according to the identifier of the "red flower green leaf", and then the icon to be displayed is determined according to the target virtual gift red flower green leaf; or directly determining the icon to be displayed of the target virtual gift according to the identifier 'safflower green leaf'.
In an optional implementation manner of this embodiment, after the identifier is obtained, the icon to be displayed corresponding to the identifier may be searched based on the virtual gift panel, that is, the icon to be displayed of the target virtual gift is determined according to the identifier, and a specific implementation process may be as follows: and determining an icon to be displayed matched with the identifier in the virtual gift panel according to the identifier.
Specifically, the virtual gift panel may also represent a correspondence between a preset identifier and an icon of the virtual gift. The identifier may be used to uniquely determine a virtual gift, and the icon of the corresponding virtual gift may be acquired according to the identifier, where the identifier may be a location identifier of the virtual gift in the virtual gift panel, or may be a name of the virtual gift.
In practical application, the virtual gift panel comprises a plurality of icons of the virtual gifts, and further, on the basis of the obtained identification, the virtual gift panel is matched with the icons of the virtual gifts according to the identification, and the successfully matched icon of the virtual gift is determined as the icon to be displayed.
For example, as shown in fig. 2A, fig. 2A illustrates an interface schematic diagram of a live broadcast provided by an embodiment of the present application. The live broadcast room comprises a live broadcast content display area, a continuous-click information display area and a virtual gift panel, wherein the live broadcast content display area is used for displaying live broadcast content, the virtual gift panel comprises icons of a plurality of virtual gifts, and the continuous-click information display area is used for displaying the times of clicking a target virtual gift by a user, namely the continuous-click number. Assuming that the acquired identification is "virtual gift 3", matching is performed with the icon of each virtual gift in the virtual gift panel according to the identification of "virtual gift 3". And finally, if the mark "virtual gift 3" is successfully matched with the icon "virtual gift 3", the icon "virtual gift 3" is the icon to be displayed.
After the identification is obtained, the icon of each virtual gift can be searched in the virtual gift panel in a traversing mode, so that the icon to be displayed is determined based on the identification, the icon to be displayed is screened through processing the identification, the process of determining the icon to be displayed of the target virtual gift is greatly simplified, the time for determining the icon to be displayed is saved, and the efficiency for displaying the virtual gift is improved.
In an optional implementation manner of this embodiment, in the process of viewing the live content, after continuously clicking the target virtual gift in the virtual gift panel, the user then uses a continuous click key to cover an image area of the target virtual gift, that is, after determining an icon to be displayed of the target virtual gift according to the identifier, the method further includes:
and covering the image area of the target virtual gift by using the continuous click key.
Specifically, a continuous stroke, a continuous verb, expresses the state and behavior of a continuous stroke. And continuously clicking the key to represent the key operated by continuous clicking.
In practical application, after the continuous click operation of the user on the target virtual gift is acquired, in order to remind the user that the continuous click operation is being performed and improve the continuous click enjoyment, the continuous click key can be covered in the image area of the target virtual gift clicked by the user.
For example, as shown in fig. 2B, fig. 2B is a schematic interface diagram of a continuous click button according to an embodiment of the present application. The live broadcast room comprises a live broadcast content display area, a continuous-click information display area and a virtual gift panel, wherein the live broadcast content display area is used for displaying live broadcast content, the virtual gift panel comprises icons of a plurality of virtual gifts, and the continuous-click information display area is used for displaying the times of clicking the target virtual gift by a user, namely the continuous-click number of the target virtual gift by the user. Assume that the user makes three continuous clicks on the target virtual gift "virtual gift 3" of the virtual gift panel, that is, obtains the continuous clicking operation of the user on the target virtual gift "virtual gift 3" in the virtual gift panel, and then covers the continuous clicking key on the image area of the target virtual gift "virtual gift 3".
Step 108: and dynamically moving the icons to be displayed along a pre-established virtual track in the live broadcast room.
On the basis of determining the icons to be displayed of the target virtual gifts according to the identifiers, further, in the current live broadcast room, a plurality of icons to be displayed are dynamically moved along a virtual track established in advance.
Specifically, the virtual track refers to a moving path of the icon to be displayed when the icon to be displayed is displayed.
In practical application, after the icons to be displayed of the target virtual gifts are determined, in a live broadcast room, the icons to be displayed are sequentially and dynamically moved from the starting point of the virtual track to the end point of the virtual track at a preset moving speed to form the display effects of trailing and floating screens, so that a plurality of icons to be displayed are displayed, namely a plurality of continuous target virtual gifts given by a user are displayed.
For example, the preset moving speed is 10cm/s, and in the current live broadcast room, each icon to be displayed is sequentially moved from the starting point of the virtual track to the end point of the virtual track at the moving speed of 10cm/s along the virtual track, so that a trailing display effect of a plurality of icons to be displayed is formed.
It should be noted that the continuous-click frequency of the continuous-click operation will affect the frequency of each icon to be displayed moving from the start point of the virtual track in turn: when the continuous clicking frequency of the continuous clicking operation is greater than the preset frequency, each icon to be displayed sequentially moves from the starting point of the virtual track to the end point of the virtual track according to the preset frequency; and when the continuous clicking frequency of the continuous clicking operation is less than or equal to the preset frequency, each icon to be displayed sequentially moves from the starting point of the virtual track to the end point of the virtual track according to the continuous clicking frequency.
For example, the preset frequency is 3/s, when the continuous clicking frequency of the continuous clicking operation is 5/s, one icon to be displayed appears from the starting point according to the frequency of 3/s, and the icon to be displayed moves from the starting point to the end point of the virtual track; when the continuous clicking frequency of the continuous clicking operation is 1/second, one icon to be displayed appears from the starting point according to the frequency of 1/second, and moves from the starting point to the end point of the virtual track.
In an optional implementation manner of this embodiment, it is further required to determine a start point and an end point, and establish a virtual track according to the start point and the end point, so that in a live broadcast room, a plurality of icons to be displayed are dynamically moved along the virtual track, that is, before the plurality of icons to be displayed are dynamically moved along a virtual track established in advance in the live broadcast room, the method further includes:
determining a central point of an image area of the target virtual gift and any point of a continuous click information display area in the live broadcast room;
and establishing a virtual track by taking the central point as a starting point and any one point as an end point.
Specifically, the image area of the target virtual gift refers to an area where the target virtual gift is displayed, such as an area covered by "virtual gift 1", "virtual gift 2", "virtual gift 4", etc. in the virtual gift panel in fig. 2A or 2B. The continuous-click information display area is used for displaying the number of times that the user clicks the target virtual gift, that is, the number of continuous clicks of the target virtual gift by the user, as shown in fig. 2A or 2B, "virtual gift 3" and "x 3" in the continuous-click information display area indicate that the target virtual gift "virtual gift 3" is continuously clicked 3 times. The center point refers to a point at the center of the image area.
In practical applications, an image area of the target virtual gift may be determined, where the image area is generally in a regular shape, such as a rectangle, a square, a circle center, and the like, and a central point of the image area of the target virtual gift is used as a starting point. Determining any point of the continuous click information display area in the live broadcast room, where the any point may be any point in a bullet screen area inside the continuous click information display area in the live broadcast room, as shown in fig. 2C, fig. 2C shows another interface schematic diagram of the live broadcast room provided by an embodiment of the present application. Live broadcast room is including live content display area, continuous hit information display area and virtual gift panel, and live content display area shows there is live content, and continuous hit information display area contains the barrage district, and shows the number of times that the user clicked the virtual gift in the barrage district, and the virtual gift panel includes a plurality of virtual gifts. And selecting any point in the bullet screen area as an end point, and generating a virtual track by using a certain algorithm in combination with a starting point.
In addition, any point of the continuous click information display area in the live broadcast room is determined, and the any point may also be any point of a continuous click bar on a bullet screen area inside the continuous click information display area in the live broadcast room, as shown in fig. 2D, fig. 2D shows an interface schematic diagram of another live broadcast room provided by an embodiment of the present application. Live broadcast room is including live content display area, continuous hit information display area and virtual gift panel, and live content display area shows that live broadcast content, and continuous hit information display area contains the barrage district, and the virtual gift panel includes a plurality of virtual gifts, and when obtaining continuous hit operation back, the continuous hit strip will appear in the barrage district for show user clicks the number of times of the virtual gift of target. And after any point is determined, taking the any point as an end point. And establishing a virtual track according to a certain algorithm based on the starting point and the end point.
Therefore, after the virtual track is established, under the condition that continuous clicking operation aiming at the target virtual gift is identified, the icons to be displayed can be moved along the virtual track, animation of trailing and floating screen of the target virtual gift is generated, and the display form of the virtual gift in the live broadcast room is more diversified.
In order to make the virtual track more attractive and enrich the display modes of the virtual gifts in the live broadcast room, two reference points are required to be set after the starting point and the end point are determined, and then the virtual track is established according to a preset curve algorithm based on the starting point, the end point and the two reference points.
In an optional implementation manner of this embodiment, two reference points may be selected according to an axis of a vertical position of the starting point, that is, a longitudinal axis, and then a virtual benefit is established by using a preset curve algorithm based on the starting point, the ending point, and the two reference points, that is, a virtual track is established by using the central point as the starting point and any one point as the ending point, and a specific implementation process may be as follows:
respectively setting a reference point at two sides of a longitudinal axis where the starting point is located to obtain two reference points;
and establishing a virtual track by utilizing a preset curve algorithm according to the starting point, the end point and the two reference points.
Specifically, the preset curve algorithm may be an elliptic curve algorithm, a hilbert curve algorithm, or a bezier curve algorithm, which is not limited in this application.
In practical application, a longitudinal axis where the starting point is located may be determined, and then one reference point is respectively set on both sides of the longitudinal axis, that is, one reference point is respectively set on both left and right sides of the longitudinal axis, and a left reference point may be set on the left side of the longitudinal axis first, and then a right reference point is set on the right side of the longitudinal axis; the right reference point may be set on the right side of the longitudinal axis, and the left reference point may be set on the left side of the longitudinal axis. After the two reference points are determined, a virtual trajectory is established based on four points, namely a start point, an end point and the two reference points, by using a preset curve algorithm.
For example, referring to fig. 2E, fig. 2E shows a schematic diagram of establishing a virtual track according to an embodiment of the present application: and determining a longitudinal axis where the starting point is located by taking the starting point as a standard, then setting a reference point 1 on the left side of the longitudinal axis, setting a reference point 2 on the right side of the longitudinal axis, and generating a virtual track by utilizing a preset curve algorithm.
In another optional implementation manner of this embodiment, two reference points may be selected according to a connection line between the starting point and the ending point, and then a virtual benefit is established by using a preset curve algorithm based on the starting point, the ending point, and the two reference points, that is, a virtual track is established by using the central point as the starting point and any one of the points as the ending point, and the specific implementation process may be as follows:
respectively setting a reference point at two sides of a connecting line of the starting point and the end point to obtain two reference points;
and establishing a virtual track by utilizing a preset curve algorithm according to the starting point, the end point and the two reference points.
Specifically, the preset curve algorithm may be an elliptic curve algorithm, a hilbert curve algorithm, or a bezier curve algorithm, which is not limited in this application.
In practical application, a connection line between the starting point and the ending point, that is, a connection line between the starting point and the ending point, may be determined, and then one reference point may be respectively set at two sides of the connection line, that is, one reference point may be respectively set at two sides of the connection line. After the two reference points are determined, a virtual trajectory is established based on four points, namely a start point, an end point and the two reference points, by using a preset curve algorithm.
For example, referring to fig. 2F, fig. 2F shows another schematic diagram for establishing a virtual track according to an embodiment of the present application: determining a connecting line according to the starting point and the end point, setting a reference point 1 at the left lower side of the connecting line, setting a reference point 2 at the right upper side of the longitudinal axis, and generating a virtual track by utilizing a preset curve algorithm.
In addition, no matter two sides of a longitudinal axis where the starting point is located are respectively provided with a reference point, or two sides of a connecting line of the starting point and the end point are respectively provided with a reference point, when the virtual track is established by using a preset curve algorithm according to the starting point, the end point and the two reference points, the virtual track is established by preferably using a bezier curve algorithm, and the specific implementation process can be as follows:
determining coordinates of a starting point, an end point and two reference points;
and inputting each coordinate into a Bezier curve formula, and determining the coordinate of each point on the virtual track to obtain the virtual track.
For example, the starting point is determined to be P0The coordinate thereof is (X)0,Y0) (ii) a The first reference point being P1The coordinate thereof is (X)1,Y1) The second reference point is P2The coordinate thereof is (X)2,Y2) End point is P3The coordinate thereof is (X)3,Y3). Further, P is added0、P1、P2And the coordinates of P3 are input into a Bezier curve formula, as shown in formula 1, the coordinates of each point on the virtual track are obtained, each point is determined according to the coordinates of each point, and the virtual track is obtained according to each point.
X=(1-t)3X0+3t(1-t)2X1+3t2(1-t)X2+t3 X3
Y=(1-t)3Y0+3t(1-t)2Y1+3t2(1-t)Y2+t3 Y3(formula 1)
In formula 1, X is the abscissa of each point on the virtual trajectory, Y is the ordinate of each point on the virtual trajectory, t is a parameter, i.e., a spacing value, and its effective range is [0, 1 ].
It should be noted that the coordinates of the corresponding point on the curve can be obtained by substituting each interval value t into equation 1.
In an optional implementation manner of this embodiment, the coordinates are input into a bezier curve formula, and the coordinates of each point on the virtual track are determined, so that a specific implementation process of obtaining the virtual track may be as follows:
inputting each coordinate into a Bezier curve formula;
setting interval values and determining the coordinates of each point on the virtual track;
and connecting the points corresponding to the coordinates to obtain the virtual track.
In practical applications, when each coordinate is input into the bezier curve formula, the coordinates of each point on the virtual trajectory can be determined by setting the interval value t according to an appropriate interval, and then connecting the points corresponding to these values by a straight line to obtain the virtual trajectory. For the calculation of equation 1, the calculation can be performed by the decastes algorithm, and the calculation of the higher power is not necessary.
In another optional implementation manner of this embodiment, since the magnitude of the interval value t is not well determined in the above method, and the shape of the curve may be strange, if the interval value t is too large, the error is too large, and if the interval value t is too small, the calculation efficiency is too low, and it is difficult to determine an interval value t suitable for all situations. Therefore, a recursive approach can be used to solve this problem. Namely, each coordinate is input into a bezier curve formula, the coordinate of each point on the virtual track is determined, and the specific implementation process of obtaining the virtual track can be as follows:
inputting each coordinate into a Bezier curve formula;
determining the coordinates of each point on the virtual track by using a recursion method;
and connecting the points corresponding to the coordinates to obtain the virtual track.
In practical application, when each coordinate is input into the bezier curve formula, the coordinates of each point on the virtual track can be determined by using a recursive algorithm, and then the points corresponding to the values are connected by a straight line to obtain the virtual track.
It should be noted that, when the virtual trajectory is created by using the bezier curve algorithm, the starting point and the end point are on the virtual trajectory, but the two reference points are mainly used for controlling the shape of the virtual trajectory and are not necessarily on the virtual trajectory. Fig. 2E and 2F are only illustrated with two reference points also on the virtual trajectory.
In addition, since the virtual track is made of a certain length, the number of icons to be displayed that can be accommodated on the virtual track is limited. When the number of the continuous clicks of the user does not exceed the number of the icons to be displayed which can be accommodated by the virtual track, namely the number of the icons to be displayed does not exceed the number of the icons to be displayed which can be accommodated by the virtual track, a plurality of icons to be displayed can be directly displayed on the virtual track; when the number of the continuous clicks of the user is too large and exceeds the number of the icons to be displayed which can be accommodated by the virtual track, that is, the number of the icons to be displayed is required to exceed the number of the icons to be displayed which can be accommodated by the virtual track, the interval of each icon to be displayed needs to be determined. Namely, in the live broadcast room, dynamically moving the plurality of icons to be displayed along a pre-established virtual track, and specifically implementing the following process:
determining the number of continuous clicks of the continuous click operation;
if the continuous clicking number is smaller than or equal to a preset number, dynamically moving a plurality of icons to be displayed along a pre-established virtual track in the live broadcast room;
if the continuous clicking number is larger than the preset number, acquiring an icon interval; and in the live broadcast room, dynamically moving a plurality of icons to be displayed along a pre-established virtual rail according to the icon intervals.
Specifically, the number of continuous clicks refers to the number of times that the user clicks the target virtual gift within a preset interval time; the preset number refers to the maximum number of icons capable of being contained in the virtual track to be displayed; icon spacing refers to the distance of the spacing between icons to be shown on a virtual track.
In practical application, when a plurality of icons to be displayed are dynamically moved along a pre-established virtual track, the number of times of continuous clicking operation, namely the number of continuous clicking, needs to be determined; and then comparing the continuous hit number with a preset number, if the continuous hit number is not more than the preset number, only dynamically moving a plurality of icons to be displayed along a preset virtual track in a live broadcast room to display the target virtual gift, wherein the number of the icons to be displayed is the same as the continuous hit number, namely, the icons to be displayed with the same number as the continuous hit number are dynamically moved along the preset virtual track. If the number of continuous clicks is larger than the preset number, icon intervals need to be acquired, then a plurality of icons to be displayed are dynamically moved along a pre-established virtual track according to the icon intervals, so that the target virtual gift is displayed, at the moment, the number of the icons to be displayed is the same as the preset number, namely, the icons to be displayed in the same number as the preset number are dynamically moved along the pre-established virtual track according to the icon intervals.
For example, the preset number is 5: when the number of the continuous clicks is 3, dynamically moving 3 icons to be displayed along a pre-established virtual track in a live broadcast room; and when the number of the continuous clicks is 8, acquiring an icon interval, and dynamically moving 5 icons to be displayed along a pre-established virtual track in a live broadcast room according to the icon interval.
It should be noted that, when the icon interval is obtained, the target interval is determined according to the path length of the virtual track, the icon size of the icon to be displayed and the preset number, so that each icon to be displayed can be accurately displayed, and the effect of displaying the virtual gift in the live broadcast room is better, richer and diversified. That is, if the number of consecutive clicks is greater than the preset number, the specific implementation process of obtaining the icons may be as follows:
if the continuous clicking number is larger than the preset number, determining the path length of the virtual track and the icon size of the icon to be displayed;
and determining the icon interval according to the path length, the preset number and the icon size.
Specifically, the icon size refers to the size, such as length and width, of the icon to be displayed. In practical application, when the number of continuous clicks is greater than the preset number, in order to determine the icon interval of the icon to be displayed on the virtual track, first, the path length of the virtual track and the icon size of each icon to be displayed need to be determined, and further, the icon interval is calculated according to the path length, the preset number and the icon size, and the calculation formula is as shown in formula 2.
J ═ L-C)/(S-1) -C (formula 2)
In formula 2, J is the icon interval, L is the path length of the virtual track, C is the icon size of the icon to be displayed, and S is the preset number.
For example, the preset number is 5, the number of continuous clicks is 8, it is determined that the path length of the virtual track is 23, the icon size of the icon to be displayed is 3, and (23-3)/(5-1) -3 is calculated to be 2, that is, the icon interval is 2, and in the live broadcast, 5 icons to be displayed are dynamically moved along the virtual track established in advance with the icon interval being 2.
In addition, in order to further improve the diversification and interest of the display of the virtual gifts in the live broadcast room, the preset attribute information aiming at the icons to be displayed can be arranged at different positions, so that the icons to be displayed change in the dynamic moving process according to the preset attribute information, namely, the live broadcast room is provided with a plurality of concrete implementation processes of dynamically moving the icons to be displayed along the pre-established virtual track, and the concrete implementation processes can be as follows:
acquiring preset attribute information of an icon to be displayed at different positions, wherein the preset attribute information comprises at least one of an angle attribute, a zooming attribute and a transparency attribute;
and in the live broadcast room, dynamically moving a plurality of icons to be displayed along a pre-established virtual track based on the preset attribute information.
Specifically, the preset attribute information at different positions refers to attribute information at different positions on a preset virtual track of each icon to be displayed; the angle attribute refers to the attributes of rotation, turning and the like of the icon to be displayed; the zooming attribute refers to an attribute of magnifying or reducing the icon to be displayed to several times of the size of the normal initial icon to be displayed; the transparency attribute refers to an attribute that sets the transparency degree of an icon to be displayed.
In practical application, when the icon to be displayed is displayed, at least one of an angle attribute, a zooming attribute and a transparency attribute of the icon to be displayed at different positions can be obtained firstly; then, in the live broadcast room, when the plurality of icons to be displayed are dynamically moved along the pre-established virtual track, each icon to be displayed needs to be displayed based on the angle attribute, the zoom attribute and/or the transparency attribute of the position where the icon to be displayed is located.
It should be noted that the preset attribute information at different positions may be preset attribute information within a certain range, for example, the path length of the virtual track is 3, and on the virtual track, starting from the starting point, within the position range of [0-1), the preset attribute information at different positions is the first preset attribute information; in the position range of [1-2), the preset attribute information at different positions is second preset attribute information; and in the position range of [2-3], the preset attribute information at different positions is third preset attribute information.
The method for displaying the virtual gifts in the live broadcast room receives and responds to a gift sending request of a user, and triggers a virtual gifts panel in the live broadcast room; acquiring continuous clicking operation of the user on a target virtual gift in the virtual gift panel, wherein the continuous clicking operation carries an identifier of the target virtual gift; determining an icon to be displayed of the target virtual gift according to the identification; and dynamically moving the icons to be displayed along a pre-established virtual track in the live broadcast room. The method has the advantages that the dynamic movement of the icons to be displayed along the virtual tracks is realized, the presentation form of the target virtual gift is enriched, the interestingness of the virtual gift display in the live broadcast room is improved, the retention amount of a user and the enthusiasm of displaying the virtual gift are improved, the user experience is effectively enhanced, the user consumption can be effectively promoted, and the win-win purpose of experience are realized.
The following description will further explain the method for displaying a virtual gift in a live broadcast room by taking the application of the method for displaying a virtual gift in a live broadcast room in the present application as an example with reference to fig. 3. Fig. 3 shows a processing flow chart of a live broadcast room virtual gift display method applied to a game live broadcast room according to an embodiment of the present application, which specifically includes the following steps:
step 302: receiving and responding to a gift sending request of a user, and triggering a virtual gift panel in a game live broadcast room;
step 304: and acquiring continuous clicking operation of the user on the target virtual gift in the virtual gift panel, wherein the continuous clicking operation carries the identification of the target virtual gift.
Step 306: and determining the icon to be displayed matched with the identifier in the virtual gift panel according to the identifier.
Step 308: and covering the image area of the target virtual gift by using the continuous click key.
Step 310: and determining the central point of the image area of the target virtual gift and any point of the continuous-click information display area in the game live broadcast room.
Step 312: and establishing a virtual track by taking the central point as a starting point and any one point as an end point.
Optionally, the specific implementation process of establishing the virtual trajectory with the central point as a starting point and any one point as an end point is as follows:
respectively setting a reference point at two sides of a longitudinal axis where the starting point is located to obtain two reference points;
and establishing a virtual track by utilizing a preset curve algorithm according to the starting point, the end point and the two reference points.
Optionally, the specific implementation process of establishing the virtual trajectory with the central point as a starting point and any one point as an end point is as follows:
respectively setting a reference point at two sides of a connecting line of the starting point and the end point to obtain two reference points;
and establishing a virtual track by utilizing a preset curve algorithm according to the starting point, the end point and the two reference points.
Step 314: and determining the number of continuous clicks of the continuous clicking operation.
Step 316: and judging whether the continuous hit number is larger than the preset number or not.
If not, go to step 318, if yes, go to step 320.
Step 318: and in the game live broadcast room, dynamically moving the icons to be displayed along a pre-established virtual track.
Optionally, in the live game room, a specific implementation process of dynamically moving the plurality of icons to be displayed along a pre-established virtual track is as follows:
acquiring preset attribute information of an icon to be displayed at different positions, wherein the preset attribute information comprises at least one of an angle attribute, a zooming attribute and a transparency attribute;
and in the game live broadcast room, dynamically moving the icons to be displayed along a pre-established virtual track based on the preset attribute information.
Step 320: and determining the path length of the virtual track and the icon size of the icon to be displayed.
Step 322: and determining the icon interval according to the path length, the preset number and the icon size.
Step 324: and in the game live broadcast room, dynamically moving the icons to be displayed along a pre-established virtual track according to the icon intervals.
Optionally, in the live game room, the specific implementation process of dynamically moving the plurality of icons to be displayed along a pre-established virtual track according to the icon interval is as follows:
acquiring preset attribute information of an icon to be displayed at different positions, wherein the preset attribute information comprises at least one of an angle attribute, a zooming attribute and a transparency attribute;
and in the game live broadcast room, dynamically moving a plurality of icons to be displayed along a pre-established virtual track according to the icon intervals based on the preset attribute information.
It should be noted that step 308 and step 310 to step 318, or step 308 and step 310 to step 324 are performed simultaneously.
According to the live broadcast room virtual gift display method applied to the game live broadcast room, a virtual gift panel is triggered in the game live broadcast room by receiving and responding to a gift sending request of a user; acquiring continuous clicking operation of the user on a target virtual gift in the virtual gift panel, wherein the continuous clicking operation carries an identifier of the target virtual gift; determining an icon to be displayed of the target virtual gift according to the identification; and in the game live broadcast room, dynamically moving the icons to be displayed along a pre-established virtual track. The dynamic movement of a plurality of icons to be displayed along the virtual track is realized, the presentation form of the virtual gift in the game live broadcast room is enriched, the interestingness of presenting the virtual gift is improved, the remaining amount of a user and the enthusiasm of presenting the gift are improved, the user experience is effectively enhanced, the user consumption can be effectively promoted, and the purposes of earning and experiencing win-win are realized.
Corresponding to the above method embodiment, the present application further provides a live broadcast room virtual gift display device embodiment, and fig. 4 shows a schematic structural diagram of a live broadcast room virtual gift display device provided in an embodiment of the present application. As shown in fig. 4, the apparatus includes:
a triggering module 402 configured to receive and respond to a gift sending request of a user, and trigger a virtual gift panel in a live broadcast room;
an obtaining module 404, configured to obtain a continuous click operation of the user on a target virtual gift in the virtual gift panel, where the continuous click operation carries an identifier of the target virtual gift;
a determining module 406 configured to determine an icon to be presented of the target virtual gift according to the identification;
a presentation module 408 configured to dynamically move the icons to be presented along a pre-established virtual track in the live broadcast room.
In one or more implementations of this embodiment, the apparatus further includes an establishing module configured to:
determining a central point of an image area of the target virtual gift and any point of a continuous click information display area in the live broadcast room;
and establishing a virtual track by taking the central point as a starting point and any one point as an end point.
In one or more implementations of this embodiment, the establishing module is further configured to:
respectively setting a reference point at two sides of a longitudinal axis where the starting point is located to obtain two reference points;
and establishing a virtual track by utilizing a preset curve algorithm according to the starting point, the end point and the two reference points.
In one or more implementations of this embodiment, the establishing module is further configured to:
respectively setting a reference point at two sides of a connecting line of the starting point and the end point to obtain two reference points;
and establishing a virtual track by utilizing a preset curve algorithm according to the starting point, the end point and the two reference points.
In one or more implementations of this embodiment, the presentation module 408 is further configured to:
determining the number of continuous clicks of the continuous click operation;
if the continuous clicking number is smaller than or equal to a preset number, dynamically moving a plurality of icons to be displayed along a pre-established virtual track in the live broadcasting room;
if the continuous clicking number is larger than the preset number, acquiring an icon interval; and in the live broadcast room, dynamically moving a plurality of icons to be displayed along a pre-established virtual track according to the icon intervals.
In one or more implementations of this embodiment, the presentation module 408 is further configured to:
if the continuous clicking number is larger than the preset number, determining the path length of the virtual track and the icon size of the icon to be displayed;
and determining the icon interval according to the path length, the preset number and the icon size.
In one or more implementations of this embodiment, the determining module 406 is further configured to:
and determining an icon to be displayed matched with the identifier in the virtual gift panel according to the identifier.
In one or more implementations of this embodiment, the apparatus further includes a covering module configured to:
and covering the image area of the target virtual gift by using the continuous click key.
In one or more implementations of this embodiment, the presentation module 408 is further configured to:
acquiring preset attribute information of an icon to be displayed at different positions, wherein the preset attribute information comprises at least one of an angle attribute, a zooming attribute and a transparency attribute;
and in the live broadcast room, dynamically moving a plurality of icons to be displayed along a pre-established virtual track based on the preset attribute information.
The virtual gift display device of the live broadcast room provided by the application triggers the virtual gift panel in the live broadcast room by receiving and responding to a gift sending request of a user; acquiring continuous clicking operation of the user on a target virtual gift in the virtual gift panel, wherein the continuous clicking operation carries an identifier of the target virtual gift; determining an icon to be displayed of the target virtual gift according to the identification; and dynamically moving the icons to be displayed along a pre-established virtual track in the live broadcast room. The method has the advantages that the dynamic movement of the icons to be displayed along the virtual tracks is realized, the presentation form of the target virtual gift is enriched, the interestingness of the virtual gift display in the live broadcast room is improved, the retention amount of a user and the enthusiasm of displaying the virtual gift are improved, the user experience is effectively enhanced, the user consumption can be effectively promoted, and the win-win purpose of experience are realized.
The above is a schematic scheme of a live broadcast room virtual gift display device of this embodiment. It should be noted that the technical solution of the live broadcast virtual gift display apparatus and the technical solution of the live broadcast virtual gift display method belong to the same concept, and details of the technical solution of the live broadcast virtual gift display apparatus, which are not described in detail, can be referred to in the description of the technical solution of the live broadcast virtual gift display method.
FIG. 5 illustrates a block diagram of a computing device 500 provided in accordance with one embodiment of the present description. The components of the computing device 500 include, but are not limited to, a memory 510 and a processor 520. Processor 520 is coupled to memory 510 via bus 530, and database 550 is used to store data.
Computing device 500 also includes access device 540, access device 540 enabling computing device 500 to communicate via one or more networks 560. Examples of such networks include the Public Switched Telephone Network (PSTN), a Local Area Network (LAN), a Wide Area Network (WAN), a Personal Area Network (PAN), or a combination of communication networks such as the internet. The access device 540 may include one or more of any type of network interface, e.g., a Network Interface Card (NIC), wired or wireless, such as an IEEE802.11 Wireless Local Area Network (WLAN) wireless interface, a worldwide interoperability for microwave access (Wi-MAX) interface, an ethernet interface, a Universal Serial Bus (USB) interface, a cellular network interface, a bluetooth interface, a Near Field Communication (NFC) interface, and so forth.
In one embodiment of the present description, the above-described components of computing device 500, as well as other components not shown in FIG. 5, may also be connected to each other, such as by a bus. It should be understood that the block diagram of the computing device architecture shown in FIG. 5 is for purposes of example only and is not limiting as to the scope of the present description. Those skilled in the art may add or replace other components as desired.
Computing device 500 may be any type of stationary or mobile computing device, including a mobile computer or mobile computing device (e.g., tablet, personal digital assistant, laptop, notebook, netbook, etc.), mobile phone (e.g., smartphone), wearable computing device (e.g., smartwatch, smartglasses, etc.), or other type of mobile device, or a stationary computing device such as a desktop computer or PC. Computing device 500 may also be a mobile or stationary server.
Wherein, the processor 520, when executing the computer instructions, implements the steps of the live room virtual gift displaying method.
The above is an illustrative scheme of a computing device of the present embodiment. It should be noted that the technical solution of the computing device and the technical solution of the live broadcast room virtual gift display method belong to the same concept, and details that are not described in detail in the technical solution of the computing device can all be referred to in the description of the technical solution of the live broadcast room virtual gift display method.
An embodiment of the present application further provides a computer readable storage medium storing computer instructions, which when executed by a processor, implement the steps of the live broadcast room virtual gift displaying method as described above.
The above is an illustrative scheme of a computer-readable storage medium of the present embodiment. It should be noted that the technical solution of the storage medium and the technical solution of the above live broadcast room virtual gift display method belong to the same concept, and details that are not described in detail in the technical solution of the storage medium can be referred to the description of the technical solution of the above live broadcast room virtual gift display method.
The foregoing description of specific embodiments of the present application has been presented. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
The computer instructions comprise computer program code which may be in the form of source code, object code, an executable file or some intermediate form, or the like. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
It should be noted that, for the sake of simplicity, the above-mentioned method embodiments are described as a series of acts or combinations, but those skilled in the art should understand that the present application is not limited by the described order of acts, as some steps may be performed in other orders or simultaneously according to the present application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
The preferred embodiments of the present application disclosed above are intended only to aid in the explanation of the application. Alternative embodiments are not exhaustive and do not limit the invention to the precise embodiments described. Obviously, many modifications and variations are possible in light of the above teaching. The embodiments were chosen and described in order to best explain the principles of the application and its practical applications, to thereby enable others skilled in the art to best understand and utilize the application. The application is limited only by the claims and their full scope and equivalents.

Claims (12)

1. A live broadcast room virtual gift display method is characterized by comprising the following steps:
receiving and responding to a gift sending request of a user, and triggering a virtual gift panel in a live broadcast room;
acquiring continuous clicking operation of the user on a target virtual gift in the virtual gift panel, wherein the continuous clicking operation carries an identifier of the target virtual gift;
determining an icon to be displayed of the target virtual gift according to the identification;
and dynamically moving the icons to be displayed along a pre-established virtual track in the live broadcast room.
2. The method according to claim 1, wherein before dynamically moving the plurality of icons to be shown along a pre-established virtual track in the live broadcast room, the method further comprises:
determining a central point of an image area of the target virtual gift and any point of a continuous click information display area in the live broadcast room;
and establishing a virtual track by taking the central point as a starting point and any one point as an end point.
3. The method according to claim 2, wherein the establishing a virtual trajectory with the center point as a starting point and any one point as an ending point comprises:
respectively setting a reference point at two sides of a longitudinal axis where the starting point is located to obtain two reference points;
and establishing a virtual track by utilizing a preset curve algorithm according to the starting point, the end point and the two reference points.
4. The method according to claim 2, wherein the establishing a virtual trajectory with the center point as a starting point and any one point as an ending point comprises:
respectively setting a reference point at two sides of a connecting line of the starting point and the end point to obtain two reference points;
and establishing a virtual track by utilizing a preset curve algorithm according to the starting point, the end point and the two reference points.
5. The method according to claim 1, wherein the dynamically moving, in the live broadcast room, the plurality of icons to be displayed along a pre-established virtual track comprises:
determining the number of continuous clicks of the continuous click operation;
if the continuous clicking number is smaller than or equal to a preset number, dynamically moving a plurality of icons to be displayed along a pre-established virtual track in the live broadcast room;
if the continuous clicking number is larger than the preset number, acquiring an icon interval; and in the live broadcast room, dynamically moving a plurality of icons to be displayed along a pre-established virtual track according to the icon intervals.
6. The method of claim 5, wherein the obtaining the icon spacing if the number of consecutive clicks is greater than the predetermined number comprises:
if the continuous clicking number is larger than the preset number, determining the path length of the virtual track and the icon size of the icon to be displayed;
and determining the icon interval according to the path length, the preset number and the icon size.
7. The method of claim 1, wherein said determining an icon to be presented for the target virtual gift based on the identification comprises:
and determining an icon to be displayed matched with the identifier in the virtual gift panel according to the identifier.
8. The method of claim 1, wherein after determining the icon to be presented of the target virtual gift according to the identification, further comprising:
and covering the image area of the target virtual gift by using the continuous click key.
9. The method according to any one of claims 1 to 8, wherein the dynamically moving the plurality of icons to be shown along a pre-established virtual track in the live broadcast room comprises:
acquiring preset attribute information of an icon to be displayed at different positions, wherein the preset attribute information comprises at least one of an angle attribute, a zooming attribute and a transparency attribute;
and in the live broadcast room, dynamically moving a plurality of icons to be displayed along a pre-established virtual track based on the preset attribute information.
10. A live broadcast room virtual gift display device, comprising:
the trigger module is configured to receive and respond to a gift sending request of a user and trigger the virtual gift panel in the live broadcast room;
an obtaining module, configured to obtain a continuous click operation of the user on a target virtual gift in the virtual gift panel, where the continuous click operation carries an identifier of the target virtual gift;
a determining module configured to determine an icon to be presented of the target virtual gift according to the identification;
and the display module is configured to dynamically move the icons to be displayed along a pre-established virtual track in the live broadcast room.
11. A computing device comprising a memory, a processor, and computer instructions stored on the memory and executable on the processor, wherein the processor implements the steps of the method of any one of claims 1-9 when executing the computer instructions.
12. A computer-readable storage medium storing computer instructions, which when executed by a processor, perform the steps of the method of any one of claims 1 to 9.
CN202110914636.7A 2021-08-10 2021-08-10 Live broadcast room virtual gift display method and device Active CN113630615B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110914636.7A CN113630615B (en) 2021-08-10 2021-08-10 Live broadcast room virtual gift display method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110914636.7A CN113630615B (en) 2021-08-10 2021-08-10 Live broadcast room virtual gift display method and device

Publications (2)

Publication Number Publication Date
CN113630615A true CN113630615A (en) 2021-11-09
CN113630615B CN113630615B (en) 2023-05-23

Family

ID=78384202

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110914636.7A Active CN113630615B (en) 2021-08-10 2021-08-10 Live broadcast room virtual gift display method and device

Country Status (1)

Country Link
CN (1) CN113630615B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114090167A (en) * 2021-11-30 2022-02-25 东风汽车有限公司东风日产乘用车公司 Festival color egg display method, device, equipment and storage medium
CN114449332A (en) * 2022-03-15 2022-05-06 卓米私人有限公司 Live in-broadcast interactive resource display method and device, electronic equipment and storage medium
CN114630137A (en) * 2022-03-10 2022-06-14 北京乐我无限科技有限责任公司 Virtual gift display method, system and device
CN115767117A (en) * 2022-10-26 2023-03-07 腾讯音乐娱乐科技(深圳)有限公司 Method, equipment and storage medium for live broadcast interactive operation
CN115914724A (en) * 2022-12-28 2023-04-04 北京达佳互联信息技术有限公司 Virtual resource display method and device, electronic equipment and storage medium
WO2023169183A1 (en) * 2022-03-11 2023-09-14 北京字跳网络技术有限公司 Live streaming room interaction method and apparatus, electronic device, medium and program product
WO2023140783A3 (en) * 2022-01-20 2023-10-19 脸萌有限公司 Video generation method, apparatus and device, and storage medium
WO2024107117A1 (en) * 2022-11-17 2024-05-23 脸萌有限公司 Image processing method and apparatus, and device and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105653167A (en) * 2015-12-23 2016-06-08 广州华多网络科技有限公司 Online live broadcast-based information display method and client
CN107241636A (en) * 2017-05-25 2017-10-10 北京潘达互娱科技有限公司 A kind of virtual gift display method and device
CN109194973A (en) * 2018-09-26 2019-01-11 广州华多网络科技有限公司 A kind of more main broadcaster's direct broadcasting rooms give the methods of exhibiting, device and equipment of virtual present
CN109756787A (en) * 2018-12-29 2019-05-14 广州华多网络科技有限公司 The conferring system of the generation method of virtual present, device and virtual present
US20200143447A1 (en) * 2016-12-26 2020-05-07 Hong Kong Liveme Corporation Limited Method and device for recommending gift and mobile terminal
CN111541909A (en) * 2020-04-30 2020-08-14 广州华多网络科技有限公司 Panoramic live broadcast gift delivery method, device, equipment and storage medium
CN111698570A (en) * 2020-05-29 2020-09-22 广州华多网络科技有限公司 Virtual gift display method, device, equipment and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105653167A (en) * 2015-12-23 2016-06-08 广州华多网络科技有限公司 Online live broadcast-based information display method and client
US20200143447A1 (en) * 2016-12-26 2020-05-07 Hong Kong Liveme Corporation Limited Method and device for recommending gift and mobile terminal
CN107241636A (en) * 2017-05-25 2017-10-10 北京潘达互娱科技有限公司 A kind of virtual gift display method and device
CN109194973A (en) * 2018-09-26 2019-01-11 广州华多网络科技有限公司 A kind of more main broadcaster's direct broadcasting rooms give the methods of exhibiting, device and equipment of virtual present
CN109756787A (en) * 2018-12-29 2019-05-14 广州华多网络科技有限公司 The conferring system of the generation method of virtual present, device and virtual present
CN111541909A (en) * 2020-04-30 2020-08-14 广州华多网络科技有限公司 Panoramic live broadcast gift delivery method, device, equipment and storage medium
CN111698570A (en) * 2020-05-29 2020-09-22 广州华多网络科技有限公司 Virtual gift display method, device, equipment and storage medium

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114090167A (en) * 2021-11-30 2022-02-25 东风汽车有限公司东风日产乘用车公司 Festival color egg display method, device, equipment and storage medium
CN114090167B (en) * 2021-11-30 2024-02-27 东风汽车有限公司东风日产乘用车公司 Festival color egg display method, device, equipment and storage medium
WO2023140783A3 (en) * 2022-01-20 2023-10-19 脸萌有限公司 Video generation method, apparatus and device, and storage medium
CN114630137A (en) * 2022-03-10 2022-06-14 北京乐我无限科技有限责任公司 Virtual gift display method, system and device
WO2023169183A1 (en) * 2022-03-11 2023-09-14 北京字跳网络技术有限公司 Live streaming room interaction method and apparatus, electronic device, medium and program product
CN114449332A (en) * 2022-03-15 2022-05-06 卓米私人有限公司 Live in-broadcast interactive resource display method and device, electronic equipment and storage medium
CN115767117A (en) * 2022-10-26 2023-03-07 腾讯音乐娱乐科技(深圳)有限公司 Method, equipment and storage medium for live broadcast interactive operation
WO2024107117A1 (en) * 2022-11-17 2024-05-23 脸萌有限公司 Image processing method and apparatus, and device and storage medium
CN115914724A (en) * 2022-12-28 2023-04-04 北京达佳互联信息技术有限公司 Virtual resource display method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN113630615B (en) 2023-05-23

Similar Documents

Publication Publication Date Title
CN113630615B (en) Live broadcast room virtual gift display method and device
CN111010585B (en) Virtual gift sending method, device, equipment and storage medium
CN109525885B (en) Information processing method, information processing device, electronic equipment and computer readable storage medium
CN111294663B (en) Bullet screen processing method and device, electronic equipment and computer readable storage medium
CN110708589B (en) Information sharing method and device, storage medium and electronic device
US20170285922A1 (en) Systems and methods for creation and sharing of selectively animated digital photos
CN108924622B (en) Video processing method and device, storage medium and electronic device
CN111857923B (en) Special effect display method and device, electronic equipment and computer readable medium
CN111970571B (en) Video production method, device, equipment and storage medium
CN112965780B (en) Image display method, device, equipment and medium
CN110519645B (en) Video content playing method and device, electronic equipment and computer readable medium
CN114401443B (en) Special effect video processing method and device, electronic equipment and storage medium
CN112700518B (en) Method for generating trailing visual effect, method for generating video and electronic equipment
WO2022143525A1 (en) Video playing method and apparatus, and electronic device
CN112035195A (en) Application interface display method and device, electronic equipment and storage medium
US20240273732A1 (en) Method, apparatus, computer device and storage medium for image display
US20140282000A1 (en) Animated character conversation generator
CN114449355B (en) Live interaction method, device, equipment and storage medium
CN114706512B (en) Three-dimensional live-action information display method, equipment and storage medium
JP7427786B2 (en) Display methods, devices, storage media and program products based on augmented reality
CN112800360A (en) Object control method and device
WO2024051467A1 (en) Image processing method and apparatus, electronic device, and storage medium
CN110662104B (en) Video dragging bar generation method and device, electronic equipment and storage medium
WO2022183967A1 (en) Video picture display method and apparatus, and device, medium and program product
US11766617B2 (en) Non-transitory medium and video game processing system

Legal Events

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