CN107888965B - Image gift display method and device, terminal, system and storage medium - Google Patents

Image gift display method and device, terminal, system and storage medium Download PDF

Info

Publication number
CN107888965B
CN107888965B CN201711227400.6A CN201711227400A CN107888965B CN 107888965 B CN107888965 B CN 107888965B CN 201711227400 A CN201711227400 A CN 201711227400A CN 107888965 B CN107888965 B CN 107888965B
Authority
CN
China
Prior art keywords
image gift
image
gift
live broadcast
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201711227400.6A
Other languages
Chinese (zh)
Other versions
CN107888965A (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.)
Guangzhou Kugou Computer Technology Co Ltd
Original Assignee
Guangzhou Kugou Computer Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Kugou Computer Technology Co Ltd filed Critical Guangzhou Kugou Computer Technology Co Ltd
Priority to CN201711227400.6A priority Critical patent/CN107888965B/en
Publication of CN107888965A publication Critical patent/CN107888965A/en
Application granted granted Critical
Publication of CN107888965B publication Critical patent/CN107888965B/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/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
    • H04N21/4314Generation 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 for fitting data in a restricted space on the screen, e.g. EPG data in a rectangular grid
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • 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

Abstract

The invention discloses an image gift display method and device, a terminal, a system and a storage medium, and belongs to the field of live video. The method comprises the following steps: detecting whether a target position is identified from a live video upon receiving first image gift information indicating a first image gift, the first image gift being a virtual gift displayed according to the target position in the live video; when the target position is identified from the live video, displaying the first image gift within a first preset time length from the moment when the target position is identified, wherein the display time length of the first image gift is equal to the first preset time length. The invention is beneficial to solving the problem of poor image gift display effect and improving the image gift display effect. The invention is used for displaying the image gifts.

Description

Image gift display method and device, terminal, system and storage medium
Technical Field
The invention relates to the field of live video, in particular to an image gift display method and device, a terminal, a system and a storage medium.
Background
The video live broadcast system is an internet system which broadcasts live broadcast video collected by an anchor client to audience clients. The video live broadcast system comprises a live broadcast server and a live broadcast client, the live broadcast client comprises an anchor client and at least one audience client, the anchor client can collect live broadcast video of an anchor and send the collected live broadcast video to the live broadcast server, and the live broadcast server broadcasts the live broadcast video to the audience clients for audience watching. In the process of watching the live video, the audience can give an image gift to the anchor through the audience client so as to interact with the anchor. The image gift refers to a virtual gift displayed according to a target position in a live video, for example, a crown displayed at a position of a head of a human face, a cat beard displayed at a position of a nose wing of the human face, or clothing displayed on a human body, and the crown displayed at the position of the head of the human face and the cat beard displayed at the position of the nose wing of the human face may also be referred to as a human face gift.
In the related technology, when the audience presents the image gift to the anchor broadcast, the audience client can send the image gift information to the live broadcast server, the live broadcast server sends the image gift information to each live broadcast client after receiving the image gift information, each live broadcast client starts a timer to count down for preset duration after receiving the image gift information, resources of the image gift are loaded according to the image gift information, after the resources of the image gift are loaded, the live broadcast client identifies the target position of a live broadcast video, the image gift is displayed at the identified target position according to the resources of the image gift, and when the preset duration is over, the live broadcast client stops displaying the image gift.
In the process of implementing the invention, the inventor finds that the related art has at least the following problems:
in practical application, the time consumed in the process of identifying the target position by the live client may be long, which results in short time for actually displaying the image gift, and therefore, the image gift display effect is poor.
Disclosure of Invention
The invention provides an image gift display method and device, a terminal, a system and a storage medium, which can solve the problem of poor image gift display effect. The technical scheme of the invention is as follows:
in a first aspect, a method for displaying an image gift is provided, the method comprising:
upon receiving first image gift information indicating a first image gift that is a virtual gift displayed according to a target position in a live video, detecting whether the target position is identified from the live video;
when the target position is identified from a live video, the first image gift is displayed within a first preset time length from the moment when the target position is identified, and the display time length of the first image gift is equal to the first preset time length.
Optionally, before the detecting whether the target position is identified from the live video, the method further includes: detecting whether the resource of the first image gift is loaded;
whether a target position is identified from the live video in the detection includes: when the resource of the first image gift is loaded, whether a target position is identified from the live video is detected.
Optionally, the detecting whether the resource of the first image gift is loaded is finished includes: detecting whether the resource of the first image gift is loaded within a second preset time length from the moment when the first image gift information is received;
the detecting whether the target position is identified from the live video includes: and when the resource of the first image gift is loaded within the second preset time length, detecting whether a target position is identified from a live video within a third preset time length from the moment when the resource of the first image gift is loaded.
Optionally, the first image gift information is sent by a live server, and the method further includes:
and when the resource of the first image gift is not loaded within the second preset time length, or the target position is not identified from the live video within the third preset time length, forbidding displaying the first image gift.
And sending feedback information to the live broadcast server, wherein the live broadcast server is used for sending second image gift information according to the feedback information, the second image gift information indicates a second image gift, and the second image gift is a next image gift of the first image gift.
Optionally, the first image gift information is sent by a live server, and the method further includes:
when the first preset duration is over, sending feedback information to the live broadcast server, wherein the live broadcast server is used for sending second image gift information according to the feedback information, the second image gift information indicates a second image gift, and the second image gift is a next image gift of the first image gift.
In a second aspect, there is provided a method of presenting an image gift, the method comprising:
the live broadcast server sends first image gift information to a live broadcast client;
when the live client receives the first image gift information, the live client detects whether a target position is identified from a live video, wherein the first image gift information indicates a first image gift, and the first image gift is a virtual gift displayed according to the target position in the live video;
when the live broadcast client identifies the target position from the live broadcast video, the live broadcast client displays the first image gift within a first preset time length from the moment of identifying the target position, and the display time length of the first image gift is equal to the first preset time length.
Optionally, before the live client detects whether the target location is identified from the live video, the method further includes: the live broadcast client detects whether the resource of the first image gift is loaded or not;
the live broadcast client detects whether a target position is identified from a live broadcast video, and the method comprises the following steps: and when the live client finishes loading the resource of the first image gift, the live client detects whether a target position is identified from a live video.
Optionally, the detecting, by the live client, whether the resource of the first image gift is loaded completely includes: the live broadcast client detects whether the resource of the first image gift is loaded within a second preset time length from the moment of receiving the first image gift information;
the live broadcast client detects whether a target position is identified from a live broadcast video, and the method comprises the following steps: when the live broadcast client finishes loading the resource of the first image gift within the second preset time, the live broadcast client detects whether a target position is identified from a live broadcast video within a third preset time from the moment when the resource of the first image gift is loaded.
Optionally, the method further comprises:
when the live broadcast client does not load the resource of the first image gift within the second preset time length, or the live broadcast client does not recognize the target position from the live broadcast video within the third preset time length, the live broadcast client forbids to display the first image gift;
the live broadcast client sends feedback information to the live broadcast server;
and the live broadcast server sends second image gift information to the live broadcast client according to the feedback information, wherein the second image gift information indicates a second image gift, and the second image gift is a next image gift of the first image gift.
Optionally, the method further comprises:
the live broadcast client sends feedback information to the live broadcast server when the first preset duration is over;
and the live broadcast server sends second image gift information to the live broadcast client according to the feedback information, wherein the second image gift information indicates a second image gift, and the second image gift is a next image gift of the first image gift.
In a third aspect, there is provided an image gift display device, the device comprising:
a first detection module, configured to detect whether a target position is identified from a live video when first image gift information is received, where the first image gift information indicates a first image gift, and the first image gift is a virtual gift displayed according to the target position in the live video;
the display module is used for identifying the target position from the live video, displaying the first image gift in a first preset time length from the moment of identifying the target position, wherein the display time length of the first image gift is equal to the first preset time length.
Optionally, the apparatus further comprises:
the second detection module is used for detecting whether the resource of the first image gift is loaded or not;
the first detection module is used for detecting whether a target position is identified from a live video or not when the resource of the first image gift is loaded.
Optionally, the second detecting module is configured to detect whether the resource of the first image gift is loaded within a second preset time period from the time when the first image gift information is received;
the first detection module is configured to detect whether a target position is identified from a live video within a third preset time period from a time when the resource of the first image gift is loaded within the second preset time period.
Optionally, the first image gift information is sent by a live server, and the apparatus further includes:
and the forbidding module is used for forbidding to display the first image gift when the resource of the first image gift is not loaded in the second preset time length or the target position is not identified from the live video in the third preset time length.
The live broadcast server is used for sending second image gift information according to the feedback information, wherein the second image gift information indicates a second image gift, and the second image gift is a next image gift of the first image gift.
Optionally, the first image gift information is sent by a live server, and the apparatus further includes:
the second sending module is used for sending feedback information to the live broadcast server when the first preset duration is over, the live broadcast server is used for sending second image gift information according to the feedback information, the second image gift information indicates a second image gift, and the second image gift is the next image gift of the first image gift.
In a fourth aspect, there is provided an image gift display system, the system comprising: a live broadcast server and a terminal, wherein the terminal is provided with a live broadcast client,
the live broadcast server is used for sending first image gift information to the live broadcast client;
the live broadcast client is used for detecting whether a target position is identified from a live broadcast video or not when the first image gift information is received, wherein the first image gift information indicates a first image gift, and the first image gift is a virtual gift displayed according to the target position in the live broadcast video;
the live broadcast client is used for displaying the first image gift within a first preset time length from the moment of identifying the target position when the target position is identified from a live broadcast video, and the display time length of the first image gift is equal to the first preset time length.
Optionally, the live client is further configured to detect whether the resource of the first image gift is loaded;
and the live broadcast client is further used for detecting whether a target position is identified from a live broadcast video or not when the live broadcast client finishes loading the resource of the first image gift.
Optionally, the live broadcast client is further configured to detect whether the resource of the first image gift is loaded within a second preset duration from the time when the first image gift information is received;
the live broadcast client is further configured to detect whether a target position is identified from a live broadcast video within a third preset time period from a time when the resource of the first image gift is loaded within the second preset time period.
Optionally, the live broadcast client is further configured to prohibit displaying of the first image gift when the resource of the first image gift is not loaded within the second preset time period, or the target position is not identified from the live broadcast video within the third preset time period;
the live broadcast client is also used for sending feedback information to the live broadcast server;
the live broadcast server is further configured to send second image gift information to the live broadcast client according to the feedback information, where the second image gift information indicates a second image gift, and the second image gift is a next image gift of the first image gift.
Optionally, the live broadcast client is further configured to send feedback information to the live broadcast server when the first preset duration is over;
the live broadcast server is further configured to send second image gift information to the live broadcast client according to the feedback information, where the second image gift information indicates a second image gift, and the second image gift is a next image gift of the first image gift.
In a fifth aspect, a terminal is provided, which includes:
a processor;
a memory for storing executable instructions of the processor;
wherein the processor is configured to:
upon receiving first image gift information indicating a first image gift that is a virtual gift displayed according to a target position in a live video, detecting whether the target position is identified from the live video;
when the target position is identified from a live video, the first image gift is displayed within a first preset time length from the moment when the target position is identified, and the display time length of the first image gift is equal to the first preset time length.
In a sixth aspect, there is provided an image gift display system, the system comprising: the system comprises a live broadcast server and a terminal, wherein a live broadcast client is installed in the terminal and comprises the image gift display device in the third aspect or any optional mode of the third aspect; or, the terminal is the terminal according to the fifth aspect.
In a seventh aspect, there is provided a computer-readable storage medium having stored therein instructions, which, when run on a processing component of a computer, cause the processing component to execute the method for presenting an image gift as set forth in the first aspect or any of the alternatives of the first aspect.
The technical scheme provided by the invention has the beneficial effects that:
the image gift display method and device, the terminal, the system and the storage medium provided by the invention detect whether the target position is identified from the live video or not when the first image gift information is received, and display the first image gift within a first preset time length from the moment of identifying the target position when the target position is identified from the live video, wherein the display time length of the first image gift is equal to the first preset time length. Because just begin to demonstrate the image gift after discerning the target location, consequently can avoid the target location identification process to the long occupation of time of image gift show, help solving the relatively poor problem of image gift bandwagon effect, improve image gift bandwagon effect.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention, as claimed.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a schematic illustration of an implementation environment in which various embodiments of the invention are implemented;
fig. 2 is a flowchart of a method for displaying a gift image according to an embodiment of the present invention;
fig. 3 is a flowchart of another method for displaying a graphical gift according to an embodiment of the present invention;
FIG. 4 is a diagram of an image gift display interface provided by an embodiment of the present invention;
fig. 5 is a flowchart of a method for displaying a gift image according to another embodiment of the present invention;
fig. 6 is a block diagram of an image gift display device provided by an embodiment of the present invention;
FIG. 7 is a block diagram of another graphical gift display device provided by an embodiment of the present invention;
fig. 8 is a block diagram of still another image gift displaying apparatus provided in an embodiment of the present invention;
fig. 9 is a block diagram of yet another image gift displaying apparatus provided by an embodiment of the present invention;
fig. 10 is a schematic structural diagram of a terminal according to an embodiment of the present invention;
fig. 11 is a schematic structural diagram of an image gift display system according to an embodiment of the present invention.
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the present invention will be described in further detail with reference to the accompanying drawings, and it is apparent that the described embodiments are only a part of the embodiments of the present invention, not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, which is a schematic diagram illustrating an implementation environment according to various embodiments of the present invention, referring to fig. 1, the implementation environment may include: the present embodiment is described with an example that the at least two terminals include a terminal 140, a terminal 160, and a terminal 180, and then the terminal 140, the terminal 160, and the terminal 180 are all provided with live broadcast clients. It should be noted that, in some implementation scenarios, the live server 120 may also be referred to as a front-end server.
The terminal 140, the terminal 160, and the terminal 180 may be electronic devices with a video live broadcast function, and the electronic devices may be smart phones, tablet computers, smart televisions, smart watches, motion Picture Experts Group Audio Layer 5 (english: Moving Picture Experts Group Audio Layer V; abbreviated as MP5) players, laptop portable computers, desktop computers, and the like. And the terminals 140, 160 and 180 may be the same type of electronic device or different types of electronic devices.
The live server 120 may be connected to the terminals 140, 160, and 180 through a wired network or a wireless network, respectively, which may include but is not limited to: a Wireless Fidelity (WIFI) network, a bluetooth network, an infrared network, a Zigbee (Zigbee) network, or a data network. The live broadcast server 120 may be a server, a server cluster composed of several servers, or a cloud computing service center, and the live broadcast server 120 may transmit live video among the terminals 140, 160, and 180.
In this implementation environment, the live client installed in any terminal may be a main client or an audience client. When a user watches live videos of other users through the live client on the terminal, the live client installed on the terminal is called a spectator client, and the user is called a spectator. In this embodiment, the anchor client 140 is installed in the terminal 140, the viewer client 160 is installed in the terminal 160, and the viewer client 180 is installed in the terminal 180, for example, in the case that the anchor (the user of the terminal 140) performs video live broadcasting, both the viewer 160 (the user of the terminal 160) and the viewer 180 (the user of the terminal 180) may present image gifts to the anchor, where the image gifts refer to virtual gifts displayed according to a target position in the live video, for example, the image gifts are virtual gifts dynamically displayed according to a position of a face in the live video.
Illustratively, the viewer 160 gifts an image gift to the anchor. The audience 160 may operate the audience client 160 to enable the audience client 160 to send the image gift information to the live broadcast server 120, after the live broadcast server 120 receives the image gift information, the image gift information is sent to the anchor client 140, the audience client 160 and the audience client 180, when the anchor client 140 receives the image gift information, whether a target position is identified from the live broadcast video is detected, and when the target position is identified from the live broadcast video, the anchor client 140 displays the image gift indicated by the image gift information within a first preset duration from a time when the target position is identified. Optionally, before detecting whether the target position is identified from the live video, the anchor client 140 may further detect whether the resource of the image gift indicated by the image gift information is loaded, and when the resource of the image gift is loaded, the anchor client 140 detects whether the target position is identified from the live video, and then displays the image gift within a first preset duration from the time when the target position is identified. Alternatively, the anchor client 140 may detect whether the resource of the image gift is loaded for a second preset duration from the time when the image gift information is received, and when the resource of the image gift is loaded for the second preset duration, the anchor client 140 detects whether the target position is identified from the live video for a third preset duration from the time when the resource of the image gift is loaded.
After the presentation of the image gift is completed, the anchor client 140 may send feedback information to the live server 120 to facilitate the live server 120 to issue the next image gift information. In this implementation environment, when the anchor client 140 does not recognize the target position from the live video within the second preset duration, or the anchor client 140 does not load the resource of the image gift within the third preset duration, the anchor client 140 may prohibit displaying the image gift, and send feedback information to the live server 120, so that the live server 120 issues the next image gift information. In this implementation environment, the image gift information may include an image gift identifier and a display duration, the image gift identifier indicates the image gift, and the first preset duration, the second preset duration, and the third preset duration may all be equal to the display duration in the image gift information.
It should be noted that, in the embodiment, the anchor client 140 receives the image gift information and then displays the image gift as an example for explanation, and the processes of the viewer client 160 and the viewer client 180 receiving the image gift information and then displaying the image gift are similar to this, and therefore are not described again.
Referring to fig. 2, a flowchart of a method for displaying an image gift according to an embodiment of the present invention is shown, where the method for displaying an image gift can be used in a live client, and the live client can be an anchor client or a viewer client. Referring to fig. 2, the image gift displaying method includes:
step 201, when receiving first image gift information, detecting whether a target position is identified from a live video, wherein the first image gift information indicates a first image gift, and the first image gift is a virtual gift displayed according to the target position in the live video.
Step 202, when the target position is identified from the live video, displaying the first image gift within a first preset time length from the moment when the target position is identified, wherein the display time length of the first image gift is equal to the first preset time length.
In summary, in the image gift display method provided in the embodiment of the present invention, when the first image gift information is received, it is detected whether the target position is identified from the live video, and when the target position is identified from the live video, the first image gift is displayed within a first preset time period from a time when the target position is identified. Because just begin to demonstrate the image gift after discerning the target location, consequently can avoid the target location identification process to the long occupation of time of image gift show, help solving the relatively poor problem of image gift bandwagon effect, improve image gift bandwagon effect.
Referring to fig. 3, a flowchart of another method for presenting an image gift provided by an embodiment of the present invention is shown, where the method for presenting an image gift can be used in a live client, and the live client can be an anchor client or a viewer client. For example, the live client may be the anchor client 140 installed in the terminal 140, or the viewer client 160 installed in the terminal 160, or the viewer client 180 installed in the terminal 180 in the implementation environment shown in fig. 1. Referring to fig. 3, the image gift displaying method includes:
step 301, when receiving the first image gift information, the live broadcast client detects whether the resource of the first image gift is loaded. When the resource of the first image gift is loaded, executing step 302; when the resource of the first image gift is not loaded, step 305 is performed.
During the live video, each viewer may give a gift of an image to the main broadcast, the gift of the image refers to a virtual gift displayed according to a target position in the live video, and the gift of the image may be displayed dynamically or statically, the target position is, for example, a position of a human face, the gift of the image is, for example: the crown displayed at the position of the head of the human face, the cat beard displayed at the position of the nose wing of the human face, the clothes displayed on the human body and the like, wherein the crown displayed at the position of the head of the human face and the cat beard displayed at the position of the nose wing of the human face can also be called human face gifts. When presenting the image gifts to the anchor broadcast, the audience client can be operated to enable the audience client to send the image gifts to the live broadcast server, after the live broadcast server receives the image gifts sent by the audience client, the image gifts can be sequenced, and the image gifts are sent to the live broadcast client (comprising the anchor broadcast client and the audience client) according to the sequencing sequence, so that the live broadcast client displays the image gifts, and the presentation of the image gifts is realized. Alternatively, the live server may sort the image gift information in a temporal order in which the image gift information was received, or sort the image gift information in another manner.
In the embodiment of the invention, the first image gift information is sent to the live broadcast server by the audience client, and is forwarded to the live broadcast client by the live broadcast server, and the live broadcast client can be an anchor client or the audience client. The first image gift information indicates a first image gift, and the first image gift is a virtual gift displayed according to a target position in the live video, such as a position of a human face. When receiving the first image gift information sent by the live broadcast server, the live broadcast client may load the resource of the first image gift according to the first image gift information, and detect whether the resource of the first image gift is loaded. Alternatively, the live client may detect whether the resource of the first image gift is loaded within a second preset time period from the time when the first image gift information is received.
Optionally, the first image gift information includes a first image gift identifier and a display duration, the first image gift identifier indicates the first image gift, the display duration is the display duration of the first image gift, the display duration may be preset by the system, or may be set by the audience through the audience client when presenting the first image gift to the anchor, and the second preset duration may be equal to the display duration. The live broadcast client may start a timer to count down a second preset duration from a time when the first image gift information is received, and load the resource of the first image gift according to the first image gift identifier while starting the timer, and in the counting down process, the live broadcast client continuously detects whether the resource of the first image gift is loaded, and if the live broadcast client finishes loading the resource of the first image gift in the counting down process, the live broadcast client stops counting down and performs the following step 302, and if the live broadcast client does not finish loading the resource of the first image gift at the end of the second preset duration, the live broadcast client terminates the resource loading process of the first image gift, and performs the following step 305. It should be noted that the live broadcast client may load the resource of the first image gift from the server or may load the resource of the first image gift locally, and a process of the live broadcast client loading the resource of the first image gift may refer to related technologies, which is not described herein again in the embodiments of the present invention.
Step 302, the live client detects whether a target position is identified from the live video. When the target position is identified from the live video, executing step 303; when the target location is not identified from the live video, step 305 is performed.
If the live client finishes loading the resource of the first image gift in step 301, the live client detects whether the target position is identified from the live video. Alternatively, the live client may detect whether the target position is identified from the live video within a third preset time period from the moment when the resource of the first image gift is loaded. In an embodiment of the present invention, the third preset time period may be equal to a presentation time period in the first image gift information.
Optionally, the live broadcast client may start a timer to count down a third preset duration from a time when the resource of the first image gift is loaded, start the identification of the target position from the live broadcast video while starting the timer, and during the counting down, the live broadcast client continuously detects whether the target position is identified from the live broadcast video, if the live broadcast client identifies the target position from the live broadcast video during the counting down process, the live broadcast client stops counting down and executes the following step 303, and if the live broadcast client does not identify the target position from the live broadcast video yet after the third preset duration ends, the live broadcast client terminates the target position identification process and executes the following step 305. It should be noted that the target position may be a position where a human face is located, the live broadcast client may identify the human face from the live broadcast video by using a human face identification technology, and a process of identifying the human face from the live broadcast video by the live broadcast client may refer to a related technology, which is not described herein again in the embodiments of the present invention.
Step 303, the live broadcast client displays the first image gift within a first preset duration from the moment when the target position is identified, where the display duration of the first image gift is equal to the first preset duration.
If the live broadcast client identifies the target position from the live broadcast video in step 302, the live broadcast client displays the first image gift within a first preset time period from the time when the target position is identified, where the display time period of the first image gift is equal to the first preset time period. In an embodiment of the present invention, the first preset duration may be equal to a presentation duration in the first image gift information. The live client may present the first image gift according to the resource of the loaded first image gift.
Optionally, the live broadcast client may start a timer to count down for a first preset duration from the time when the target position is identified, and display the first image gift according to the resource of the first image gift while starting the timer, and when the count down ends for the first preset duration, the live broadcast client stops displaying the first image gift, so that the display duration of the first image gift is equal to the first preset duration. For example, please refer to fig. 4, which shows an image gift display interface diagram provided by an embodiment of the present invention, where fig. 4 illustrates that a target position is a position of a face, and an image gift is a face gift, referring to fig. 4, a live video interface 410 displays a main playing face, the position of the face displays a face gift 420, the face gift 420 includes a cat ear at the head of the face and a cat beard at the nasal side of the face, and the face gift 420 can be dynamically or statically displayed.
It should be noted that the face gift 420 shown in fig. 4 is merely an example, in practical applications, the first image gift may be any virtual gift dynamically or statically presented according to a target position in a live video, and the embodiment of the present invention does not limit the first image gift. In addition, the process of the live broadcast client displaying the first image gift according to the resource of the first image gift may refer to related technologies, and details of the embodiment of the present invention are not repeated herein.
And step 304, when the first preset duration is over, the live broadcast client sends feedback information to the live broadcast server, and the live broadcast server is used for sending second image gift information to the live broadcast client according to the feedback information.
In this embodiment of the present invention, the first image gift information may be sent by the live broadcast server to the live broadcast client, and the live broadcast client has shown the first image gift after the first preset duration ends, so that the live broadcast client may send feedback information to the live broadcast server, so that the live broadcast server sends second image gift information to the live broadcast client, where the second image gift information indicates a second image gift, and the second image gift is a next image gift of the first image gift. Of course, similar to the first image gift information, the second image gift information may also include a second image gift identification and a display duration, the second image gift identification indicates a second image gift, and the display duration is the display duration of the second image gift.
Optionally, when the first preset duration is over, the live client may generate feedback information and then send the feedback information to the live server. In this embodiment of the present invention, the feedback information may be set according to actual needs, for example, the feedback information may be "the present gift is shown and the gift is requested to be continuously issued", or the feedback information may be "the first image gift is shown and the second image gift information is requested to be sent", or the feedback information may be "the next gift information is requested to be sent", and the like, which is not limited in this embodiment of the present invention.
Step 305, the live client prohibits the presentation of the first image gift.
If the live broadcast client does not load the resource of the first image gift in step 301, or the live broadcast client does not recognize the target position from the live broadcast video in step 302, the live broadcast client prohibits the display of the first image gift, so as to avoid the influence of the display of the first image gift on the display of the subsequent image gift, and strike the enthusiasm of the audience for presenting the gift to the main broadcast. Alternatively, the live client may inhibit presentation of the first image gift by terminating download of the resource of the first image gift or terminating identification of the target location.
And step 306, the live broadcast client sends feedback information to the live broadcast server, and the live broadcast server is used for sending second image gift information to the live broadcast client according to the feedback information.
In this embodiment of the present invention, the first image gift information may be sent by the live broadcast server to the live broadcast client, and after the live broadcast client prohibits the presentation of the first image gift, the live broadcast client may currently have no gift to present, so that the live broadcast client may send feedback information to the live broadcast server, so that the live broadcast server sends the second image gift information to the live broadcast client, where the second image gift information indicates a second image gift, and the second image gift is a next image gift of the first image gift. Of course, similar to the first image gift information, the second image gift information may also include a second image gift identification and a display duration, the second image gift identification indicates a second image gift, and the display duration is the display duration of the second image gift.
Alternatively, after the live client prohibits the presentation of the first image gift, feedback information may be generated and then transmitted to the live server. In this embodiment of the present invention, the feedback information may be set according to actual needs, for example, the feedback information may be "the present gift display fails, please continue to send the gift", or the feedback information may be "the first image gift display fails, please send the second image gift information", or the feedback information may be "please send the next gift information", and the like, which is not limited in this embodiment of the present invention.
It should be noted that after step 304 or step 306 is completed, the live broadcast server may send the second image gift information to the anchor client, and the anchor client may perform corresponding processing after receiving the second image gift information, where the processing procedure is similar to that in steps 301 to 306, and is not described herein again in this embodiment of the present invention.
In the image gift display method in the related art, a live broadcast client starts to display the image gift immediately after receiving image gift information, but the live broadcast client does not identify a target position at the moment, so that the image gift display fails, and the actual display time of the image gift is short due to the occupation of the display time in the target position identification process, so that the enthusiasm of audience for presenting the gift is attacked; according to the image gift display method provided by the embodiment of the invention, the live broadcast client starts to display the image gift after identifying the target position, so that the failure of image gift display is avoided, the target position identification process does not occupy the display time, the image gift display method can display the image gift according to the required display time, and the attack of enthusiasm for presenting the gift to audiences is avoided.
In summary, in the image gift display method provided in the embodiment of the present invention, when the first image gift information is received, it is detected whether the target position is identified from the live video, and when the target position is identified from the live video, the first image gift is displayed within a first preset time period from a time when the target position is identified. Because just begin to demonstrate the image gift after discerning the target location, consequently can avoid the target location identification process to the long occupation of time of image gift show, help solving the relatively poor problem of image gift bandwagon effect, improve image gift bandwagon effect.
Referring to fig. 5, a flowchart of a method for displaying an image gift according to another embodiment of the present invention is shown, and the embodiment takes the image gift displaying method applied to the embodiment environment shown in fig. 1 as an example for description. The live server in this embodiment may be the live server 120 in the implementation environment shown in fig. 1, the viewer client may be the viewer client 160 installed in the terminal 160, and/or the viewer client 180 installed in the terminal 180, and the anchor client may be the anchor client 140 installed in the terminal 140. Referring to fig. 5, the image gift displaying method includes:
step 501, the viewer client sends the first image gift information to the live broadcast server.
In the process of live video, the audience can give a gift of an image to the anchor, and when the audience gives the gift of the image to the anchor, the audience client can be operated to enable the audience client to send the information of the image gift to the live broadcast server, wherein the information of the image gift can be first image gift information. For the description of the image gift and the first image gift information, reference may be made to step 301 in the embodiment shown in fig. 3, and this embodiment is not described herein again.
Step 502, after receiving the first image gift information sent by the viewer client, the live broadcast server sends the first image gift information to the live broadcast client. The live broadcast client comprises a main broadcast client and a spectator client.
When the audience client sends the first image gift information to the live broadcast server, the live broadcast server can receive the first image gift information, after the first image gift information is received, the live broadcast server can sequence the first image gift information and the image gift information received by the live broadcast server before, and send the image gift information to the live broadcast client (including the anchor client and the audience client) according to the sequencing order, and in the process of sending the image gift information to the live broadcast client according to the sequencing order, the live broadcast server can send the first image gift information to the live broadcast client.
In step 503, the anchor client detects whether the resource of the first image gift is loaded when receiving the first image gift information sent by the live broadcast server.
Optionally, the detecting, by the anchor client, whether the resource of the first image gift is loaded includes: the anchor client detects whether the resource of the first image gift is loaded within a second preset time period from the moment when the first image gift information is received.
Step 504, when the resource of the first image gift is loaded, the anchor client detects whether the target position is identified from the live video.
Optionally, the detecting, by the anchor client, whether the target position is identified from the live video includes: when the anchor client finishes loading the resource of the first image gift within the second preset time length, the anchor client detects whether a target position is identified from the live video within a third preset time length from the moment when the resource of the first image gift is loaded.
Step 505, when the target position is identified from the live video, the anchor client displays the first image gift within a first preset time length from the time when the target position is identified, wherein the display time length of the first image gift is equal to the first preset time length.
Step 506, when the first preset duration is over, the anchor client sends feedback information to the live broadcast server.
The execution subject of steps 301 to 304 in the embodiment shown in fig. 3 may be a main client or a viewer client, and when the execution subject of steps 301 to 304 is the main client, the implementation process of steps 503 to 506 may refer to steps 301 to 304 in the embodiment shown in fig. 3, which is not described herein again.
And step 507, the live broadcast server sends second image gift information to the live broadcast client according to the feedback information. The live broadcast client comprises a main broadcast client and a spectator client.
After receiving the feedback information sent by the anchor client, the live broadcast server may send second image gift information to the live broadcast client (including the anchor client and the viewer client) according to the sorting order of the image gift information, where the second image gift information indicates a second image gift, and the second image gift is a next image gift of the first image gift.
Step 508, the anchor client prohibits presentation of the first image gift when the resource of the first image gift is not loaded or the target location is not identified from the live video.
Step 509, the anchor client sends feedback information to the live server.
The main body of the step 305 to the step 306 in the embodiment shown in fig. 3 may be an anchor client or a viewer client, and when the main body of the step 305 to the step 306 is the anchor client, the implementation process of the step 508 to the step 509 may refer to the step 305 to the step 306 in the embodiment shown in fig. 3, which is not described herein again.
And step 510, the live broadcast server sends the second image gift information to the live broadcast client according to the feedback information. The live broadcast client comprises a main broadcast client and a spectator client.
The implementation process of step 510 is similar to that of step 507, and this embodiment is not described herein again.
In step 511, when receiving the first image gift information sent by the live broadcast server, the viewer client detects whether the resource of the first image gift is loaded.
Optionally, the detecting, by the viewer client, whether the resource of the first image gift is loaded comprises: the viewer client detects whether the resource of the first image gift is loaded within a second preset time period from the time when the first image gift information is received.
When the resource of the first image gift is loaded, the viewer client detects whether the target position is identified from the live video, step 512.
Optionally, the detecting, by the viewer client, whether the target location is identified from the live video includes: when the spectator client finishes loading the resource of the first image gift within the second preset time length, the spectator client detects whether the target position is identified from the live video within a third preset time length from the moment when the resource of the first image gift is loaded.
Step 513, when the target position is identified from the live video, the viewer client displays the first image gift within a first preset time length from the time when the target position is identified, where the display time length of the first image gift is equal to the first preset time length.
And 514, when the first set time length is over, the audience client sends feedback information to the live broadcast server.
And step 515, the live broadcast server sends the second image gift information to the live broadcast client according to the feedback information. The live broadcast client comprises a main broadcast client and a spectator client.
In step 516, the viewer client prohibits the presentation of the first image gift when the resource of the first image gift is not loaded or the target location is not identified from the live video.
And 517, the audience client sends feedback information to the live broadcast server.
And step 518, the live broadcast server sends the second image gift information to the live broadcast client according to the feedback information. The live broadcast client comprises a main broadcast client and a spectator client.
The implementation process of steps 511 to 518 is similar to the implementation process of steps 503 to 510, and this embodiment is not described herein again.
It should be noted that, the order of the steps of the image gift display method provided in the embodiment of the present invention may be appropriately adjusted, and the steps may also be increased or decreased according to the circumstances, for example, the order of the steps 503 to 510 and the order of the steps 511 to 518 may be reversed, or the steps 503 to 510 and the steps 511 to 518 may be executed simultaneously, and any method that can be easily conceived by those skilled in the art within the technical scope of the present disclosure should be included in the protection scope of the present invention, and therefore, no further description is given.
In summary, in the image gift display method provided in the embodiment of the present invention, when the first image gift information is received, it is detected whether the target position is identified from the live video, and when the target position is identified from the live video, the first image gift is displayed within a first preset time period from a time when the target position is identified. Because just begin to demonstrate the image gift after discerning the target location, consequently can avoid the target location identification process to the long occupation of time of image gift show, help solving the relatively poor problem of image gift bandwagon effect, improve image gift bandwagon effect.
The following are embodiments of the apparatus of the present invention that may be used to perform embodiments of the method of the present invention. For details which are not disclosed in the embodiments of the apparatus of the present invention, reference is made to the embodiments of the method of the present invention.
Referring to fig. 6, a block diagram of an image gift display apparatus 600 according to an embodiment of the present invention is shown, where the image gift display apparatus 600 may be a functional unit in a live client, and is configured to execute the image gift display method according to any one of fig. 2 to 5. Referring to fig. 6, the image gift display apparatus 600 may include, but is not limited to:
a first detecting module 610, configured to detect whether a target position is identified from the live video when first image gift information is received, where the first image gift information indicates a first image gift, and the first image gift is a virtual gift displayed according to the target position in the live video;
the display module 620 is configured to, when the target location is identified from the live video, display the first image gift within a first preset duration from the time when the target location is identified, where the display duration of the first image gift is equal to the first preset duration.
In summary, the image gift display apparatus provided in the embodiment of the present invention detects whether the target position is identified from the live video when the first image gift information is received, and displays the first image gift within a first preset duration from the time when the target position is identified from the live video. Because just begin to demonstrate the image gift after discerning the target location, consequently can avoid the target location identification process to the long occupation of time of image gift show, help solving the relatively poor problem of image gift bandwagon effect, improve image gift bandwagon effect.
Further, referring to fig. 7, which shows a block diagram of another image gift display apparatus 600 according to an embodiment of the present invention, referring to fig. 7, on the basis of fig. 6, the image gift display apparatus 600 further includes:
a second detecting module 630, configured to detect whether the resource of the first image gift is loaded;
a first detecting module 610, configured to detect whether a target location is identified from the live video when the resource of the first image gift is loaded.
Optionally, the second detecting module 630 is configured to detect whether the resource of the first image gift is loaded within a second preset time period from the time when the first image gift information is received;
the first detecting module 610 is configured to detect whether a target position is identified from the live video within a third preset time period from a time when the resource of the first image gift is loaded within the second preset time period.
Further, the first image gift information is sent by the live broadcast server, please refer to fig. 8, which shows a block diagram of another image gift displaying apparatus 600 provided by an embodiment of the present invention, referring to fig. 8, and on the basis of fig. 7, the image gift displaying apparatus 600 further includes:
and a prohibiting module 640, configured to prohibit displaying the first image gift when the resource of the first image gift is not loaded within the second preset time period, or when the target position is not identified from the live video within the third preset time period.
A first sending module 650, configured to send feedback information to the live server, where the live server is configured to send second image gift information according to the feedback information, where the second image gift information indicates a second image gift, and the second image gift is a next image gift of the first image gift.
Further, referring to fig. 9, which shows a block diagram of another image gift displaying apparatus 600 according to an embodiment of the present invention, referring to fig. 9, on the basis of fig. 8, the image gift displaying apparatus 600 further includes:
a second sending module 660, configured to send feedback information to the live broadcast server when the first preset duration ends, where the live broadcast server is configured to send second image gift information according to the feedback information, where the second image gift information indicates a second image gift, and the second image gift is a next image gift of the first image gift.
In summary, the image gift display apparatus provided in the embodiment of the present invention detects whether the target position is identified from the live video when the first image gift information is received, and displays the first image gift within a first preset duration from the time when the target position is identified from the live video. Because just begin to demonstrate the image gift after discerning the target location, consequently can avoid the target location identification process to the long occupation of time of image gift show, help solving the relatively poor problem of image gift bandwagon effect, improve image gift bandwagon effect.
Referring to fig. 10, a schematic structural diagram of a terminal 1000 according to an embodiment of the invention is shown. The terminal 1000 can be a mobile telephone, computer, digital broadcast terminal, messaging device, game console, tablet device, medical device, fitness device, or personal digital assistant, among others.
Referring to FIG. 10, terminal 1000 can include one or more of the following components: processing component 1002, memory 1004, power component 1006, multimedia component 1008, audio component 1010, input/output (I/O) interface 1012, sensor component 1014, and communications component 1016.
Processing component 1002 generally controls overall operation of terminal 1000, such as operations associated with live, display, phone calls, data communications, positioning, camera operations, and recording operations. The processing components 1002 may include one or more processors 1020 to execute instructions to perform all or a portion of the steps of the image gift presentation method described above. Further, processing component 1002 may include one or more modules that facilitate interaction between processing component 1002 and other components. For example, the processing component 1002 may include a multimedia module to facilitate interaction between the multimedia component 1008 and the processing component 1002.
Memory 1004 is configured to store various types of data to support operations on terminal 1000. Examples of such data include instructions for any application or method operating on terminal 1000, contact data, phonebook data, messages, pictures and videos, and so forth. The Memory 1004 may be implemented by any type of volatile or non-volatile Memory device or combination thereof, such as a Static Random Access Memory (SRAM), an Electrically Erasable Programmable Read-Only Memory (EEPROM), an Erasable Programmable Read-Only Memory (EPROM), a Programmable Read-Only Memory (PROM) or a ROM.
Power supply component 1006 provides power to the various components of terminal 1000. Power components 1006 can include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for terminal 1000.
Multimedia component 1008 includes a screen that provides an output interface between terminal 1000 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 1008 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera can receive external multimedia data when the terminal 1000 is in an operation mode, such as a photographing mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 1010 is configured to output and/or input audio signals. For example, audio component 1010 may include a Microphone (MIC) configured to receive external audio signals when terminal 1000 is in an operational mode, such as a call mode, a record mode, and a voice recognition mode. The received audio signal may further be stored in the memory 1004 or transmitted via the communication component 1016. In some embodiments, audio component 1010 also includes a speaker for outputting audio signals.
I/O interface 1012 provides an interface between processing component 1002 and peripheral interface modules, which may be keyboards, click wheels or buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
Sensor assembly 1014 includes one or more sensors for providing various aspects of status assessment for terminal 1000. For example, sensor assembly 1014 can detect an open/closed state of terminal 1000, relative positioning of components such as a display and keypad of terminal 1000, sensor assembly 1014 can also detect a change in position of terminal 1000 or a component of terminal 1000, presence or absence of user contact with terminal 1000, orientation or acceleration/deceleration of terminal 1000, and a change in temperature of terminal 1000. The sensor assembly 1014 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 1014 may also include a photosensor, such as a Complementary Metal Oxide Semiconductor (CMOS) or Charge-coupled Device (CCD) image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1014 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
Communications component 1016 is configured to facilitate communications between terminal 1000 and other devices in a wired or wireless manner. Terminal 1000 can access a WIreless network based on a communication standard, such as WIreless FIdelity (WIFI), 2G, 3G, or a combination thereof. In an exemplary embodiment, the communication component 1016 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, communications component 1016 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, Infrared Data Association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, terminal 1000 can be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components for performing the above-described graphical gift display method.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as memory 1004 comprising instructions, executable by processor 1020 of terminal 1000 to perform the image gift presenting method described above is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a Compact disc Read-only Memory (CD-ROM), a magnetic tape, a floppy Disk, an optical data storage device, and the like.
A non-transitory computer readable storage medium having instructions therein, which when executed by a processor of terminal 1000, enable terminal 1000 to perform a method of presenting an image gift, the method comprising:
detecting whether a target position is identified from a live video upon receiving first image gift information indicating a first image gift, the first image gift being a virtual gift displayed according to the target position in the live video;
when the target position is identified from the live video, displaying the first image gift within a first preset time length from the moment when the target position is identified, wherein the display time length of the first image gift is equal to the first preset time length.
In summary, the terminal provided in the embodiment of the present invention detects whether the target position is identified from the live video when receiving the first image gift information, and displays the first image gift within a first preset duration from the time when the target position is identified from the live video. Because just begin to demonstrate the image gift after discerning the target location, consequently can avoid the target location identification process to the long occupation of time of image gift show, help solving the relatively poor problem of image gift bandwagon effect, improve image gift bandwagon effect.
An embodiment of the present invention further provides a terminal, where the terminal includes:
a processor;
a memory for storing executable instructions of the processor;
wherein the processor is configured to:
detecting whether a target position is identified from a live video upon receiving first image gift information indicating a first image gift, the first image gift being a virtual gift displayed according to the target position in the live video;
when the target position is identified from the live video, displaying the first image gift within a first preset time length from the moment when the target position is identified, wherein the display time length of the first image gift is equal to the first preset time length.
Referring to fig. 11, which is a schematic structural diagram illustrating an image gift display system 1100 according to an embodiment of the present invention, referring to fig. 11, the image gift display system includes a live server 1110 and a terminal 1120, the terminal 1120 has a live client installed therein, and the live client includes the image gift display apparatus 600 shown in any one of fig. 6 to 9; alternatively, terminal 1120 is terminal 1000 shown in FIG. 10.
In the image gift display system 1100 provided in the embodiment of the present invention:
a live broadcast server 1110, configured to send first image gift information to a live broadcast client;
the live broadcast client is used for detecting whether a target position is identified from a live broadcast video or not when first image gift information is received, wherein the first image gift information indicates a first image gift, and the first image gift is a virtual gift displayed according to the target position in the live broadcast video;
and the live broadcast client is used for displaying the first image gift within a first preset time length from the moment of identifying the target position when the target position is identified from the live broadcast video, and the display time length of the first image gift is equal to the first preset time length.
Optionally, the live client is further configured to detect whether the resource of the first image gift is loaded;
and the live broadcast client is also used for detecting whether the target position is identified from the live broadcast video or not when the live broadcast client finishes loading the resource of the first image gift.
Optionally, the live broadcast client is further configured to detect whether the resource of the first image gift is loaded within a second preset duration from the time when the first image gift information is received;
and the live broadcast client is further used for detecting whether the target position is identified from the live broadcast video within a third preset time length from the moment when the resource of the first image gift is loaded within a second preset time length.
Optionally, the live broadcast client is further configured to prohibit displaying the first image gift when the resource of the first image gift is not loaded within a second preset duration, or when the target position is not identified from the live broadcast video within a third preset duration;
the live broadcast client is further configured to send feedback information to the live broadcast server 1110;
the live broadcast server 1110 is further configured to send second image gift information to the live broadcast client according to the feedback information, where the second image gift information indicates a second image gift, and the second image gift is a next image gift of the first image gift.
Optionally, the live client is further configured to send feedback information to the live server 1110 when the first preset duration is over;
the live broadcast server 1110 is further configured to send second image gift information to the live broadcast client according to the feedback information, where the second image gift information indicates a second image gift, and the second image gift is a next image gift of the first image gift.
In summary, the image gift display system provided in the embodiment of the present invention detects whether the target position is identified from the live video when the first image gift information is received, and displays the first image gift within a first preset duration from the time when the target position is identified from the live video. Because just begin to demonstrate the image gift after discerning the target location, consequently can avoid the target location identification process to the long occupation of time of image gift show, help solving the relatively poor problem of image gift bandwagon effect, improve image gift bandwagon effect.
Embodiments of the present invention also provide a computer-readable storage medium, which stores instructions that, when executed on a processing component of a computer, cause the processing component to perform the image gift display method shown in fig. 2 or 3, or cause the processing component to perform the relevant steps of the image gift display method shown in fig. 5.
The term "and/or" in the embodiment of the present invention is only one kind of association relationship describing an associated object, and indicates that three relationships may exist, for example, a and/or B may indicate: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The invention is not to be considered as limited to the particular embodiments shown and described, but is to be understood that various modifications, equivalents, improvements and the like can be made without departing from the spirit and scope of the invention.

Claims (15)

1. A method of displaying a graphical gift, the method comprising:
when first image gift information is received, detecting whether resources of a first image gift are loaded within a second preset time length from the moment when the first image gift information is received, wherein the first image gift information is sent according to a sorting sequence after a live broadcast server sorts a plurality of image gift information according to the time sequence of receiving the image gift information after receiving the image gift information, the first image gift information indicates the first image gift, the first image gift is a virtual gift displayed according to a target position in a live broadcast video, and the first image gift information comprises a display time length;
when the resource of the first image gift is loaded within the second preset time length, detecting whether the target position is identified from a live video within a third preset time length from the moment when the resource of the first image gift is loaded;
when the target position is identified from the live video within the third preset time, the first image gift is displayed within a first preset time from the moment of identifying the target position, and the display time of the first image gift is equal to the first preset time.
2. The method of claim 1, wherein the first image gift information is sent by a live server, the method further comprising:
when the resource of the first image gift is not loaded within the second preset time length or the target position is not identified from the live video within the third preset time length, forbidding displaying the first image gift;
and sending feedback information to the live broadcast server, wherein the live broadcast server is used for sending second image gift information according to the feedback information, the second image gift information indicates a second image gift, and the second image gift is a next image gift of the first image gift.
3. The method of claim 1 or 2, wherein the first image gift information is sent by a live server, the method further comprising:
when the first preset duration is over, sending feedback information to the live broadcast server, wherein the live broadcast server is used for sending second image gift information according to the feedback information, the second image gift information indicates a second image gift, and the second image gift is a next image gift of the first image gift.
4. A method of displaying a graphical gift, the method comprising:
after receiving a plurality of image gift information, a live broadcast server sorts the plurality of image gift information according to the time sequence of receiving the plurality of image gift information, and sends first image gift information to a live broadcast client according to the sorting sequence, wherein the first image gift information indicates a first image gift, the first image gift is a virtual gift displayed according to a target position in a live broadcast video, and the first image gift information comprises display duration;
when the live client receives the first image gift information, the live client detects whether the resource of the first image gift is loaded within a second preset time length from the moment of receiving the first image gift information;
when the live broadcast client finishes loading the resource of the first image gift within the second preset time length, the live broadcast client detects whether the target position is identified from a live broadcast video within a third preset time length from the moment when the resource of the first image gift is loaded;
when the live broadcast client identifies the target position from the live broadcast video within the third preset time, the live broadcast client displays the first image gift within the first preset time from the moment of identifying the target position, and the display time of the first image gift is equal to the first preset time.
5. The method of claim 4, further comprising:
when the live broadcast client does not load the resource of the first image gift within the second preset time length, or the live broadcast client does not recognize the target position from the live broadcast video within the third preset time length, the live broadcast client forbids to display the first image gift;
the live broadcast client sends feedback information to the live broadcast server;
and the live broadcast server sends second image gift information to the live broadcast client according to the feedback information, wherein the second image gift information indicates a second image gift, and the second image gift is a next image gift of the first image gift.
6. The method according to claim 4 or 5, characterized in that the method further comprises:
the live broadcast client sends feedback information to the live broadcast server when the first preset duration is over;
and the live broadcast server sends second image gift information to the live broadcast client according to the feedback information, wherein the second image gift information indicates a second image gift, and the second image gift is a next image gift of the first image gift.
7. An image gift display device, comprising:
a second detecting module, configured to detect, when first image gift information is received, whether a resource of a first image gift is loaded within a second preset duration from a time when the first image gift information is received, where the first image gift information is sent according to a sorting order after a live broadcast server sorts a plurality of pieces of image gift information according to a time sequence in which the plurality of pieces of image gift information are received after receiving the plurality of pieces of image gift information, the first image gift information indicates the first image gift, the first image gift is a virtual gift displayed according to a target position in a live video, and the first image gift information includes a display duration;
a first detection module, configured to detect, when the resource of the first image gift is loaded within the second preset duration, whether the target position is identified from a live video within a third preset duration from a time when the resource of the first image gift is loaded;
the display module is used for displaying the first image gift in a first preset time length from the moment of identifying the target position when the target position is identified from the live broadcast video in a third preset time length, and the display time length of the first image gift is equal to the first preset time length.
8. The apparatus of claim 7, wherein the first image gift information is sent by a live server, the apparatus further comprising:
a prohibition module, configured to prohibit displaying of the first image gift when the resource of the first image gift is not loaded within the second preset duration, or the target position is not identified from the live video within the third preset duration;
the live broadcast server is used for sending second image gift information according to the feedback information, wherein the second image gift information indicates a second image gift, and the second image gift is a next image gift of the first image gift.
9. The apparatus of claim 7 or 8, wherein the first image gift information is sent by a live server, the apparatus further comprising:
the second sending module is used for sending feedback information to the live broadcast server when the first preset duration is over, the live broadcast server is used for sending second image gift information according to the feedback information, the second image gift information indicates a second image gift, and the second image gift is the next image gift of the first image gift.
10. An image gift presentation system, comprising: a live broadcast server and a terminal, wherein the terminal is provided with a live broadcast client,
the live broadcast server is used for sequencing a plurality of image gift information according to the time sequence of the received image gift information after receiving the image gift information, and sending first image gift information to the live broadcast client according to the sequencing sequence, wherein the first image gift information indicates a first image gift, the first image gift is a virtual gift displayed according to a target position in a live broadcast video, and the first image gift information comprises display duration;
the live broadcast client is used for detecting whether the resource of the first image gift is loaded within a second preset time length from the moment of receiving the first image gift information when the first image gift information is received;
the live broadcast client is further configured to detect whether the target position is identified from a live broadcast video within a third preset time period from a time when the resource of the first image gift is loaded within the second preset time period;
the live broadcast client is further used for displaying the first image gift within a first preset time length from the moment when the target position is identified from the live broadcast video within a third preset time length, wherein the display time length of the first image gift is equal to the first preset time length.
11. The system of claim 10,
the live broadcast client is further configured to prohibit displaying of the first image gift when the resource of the first image gift is not loaded within the second preset duration, or the target position is not identified from the live broadcast video within the third preset duration;
the live broadcast client is also used for sending feedback information to the live broadcast server;
the live broadcast server is further configured to send second image gift information to the live broadcast client according to the feedback information, where the second image gift information indicates a second image gift, and the second image gift is a next image gift of the first image gift.
12. The system of claim 10 or 11,
the live broadcast client is further used for sending feedback information to the live broadcast server when the first preset duration is over;
the live broadcast server is further configured to send second image gift information to the live broadcast client according to the feedback information, where the second image gift information indicates a second image gift, and the second image gift is a next image gift of the first image gift.
13. A terminal, characterized in that the terminal comprises:
a processor;
a memory for storing executable instructions of the processor;
wherein the processor is configured to:
when first image gift information is received, detecting whether resources of a first image gift are loaded within a second preset time length from the moment when the first image gift information is received, wherein the first image gift information is sent according to a sorting sequence after a live broadcast server sorts a plurality of image gift information according to the time sequence of receiving the image gift information after receiving the image gift information, the first image gift information indicates the first image gift, the first image gift is a virtual gift displayed according to a target position in a live broadcast video, and the first image gift information comprises a display time length;
when the resource of the first image gift is loaded within the second preset time length, detecting whether the target position is identified from a live video within a third preset time length from the moment when the resource of the first image gift is loaded;
when the target position is identified from the live video within the third preset time, the first image gift is displayed within a first preset time from the moment of identifying the target position, and the display time of the first image gift is equal to the first preset time.
14. An image gift presentation system, comprising: a live broadcast server and a terminal, wherein a live broadcast client is installed in the terminal, and the live broadcast client comprises the image gift display device of any one of claims 7 to 9; alternatively, the terminal is the terminal of claim 13.
15. A computer-readable storage medium having stored therein instructions which, when run on a processing component of a computer, cause the processing component to perform the method of presenting an image gift recited in any one of claims 1 through 3.
CN201711227400.6A 2017-11-29 2017-11-29 Image gift display method and device, terminal, system and storage medium Active CN107888965B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711227400.6A CN107888965B (en) 2017-11-29 2017-11-29 Image gift display method and device, terminal, system and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711227400.6A CN107888965B (en) 2017-11-29 2017-11-29 Image gift display method and device, terminal, system and storage medium

Publications (2)

Publication Number Publication Date
CN107888965A CN107888965A (en) 2018-04-06
CN107888965B true CN107888965B (en) 2020-02-14

Family

ID=61775973

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711227400.6A Active CN107888965B (en) 2017-11-29 2017-11-29 Image gift display method and device, terminal, system and storage medium

Country Status (1)

Country Link
CN (1) CN107888965B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108521599B (en) * 2018-04-11 2021-01-01 武汉斗鱼网络科技有限公司 Virtual gift display method, device, terminal and storage medium
CN110337023B (en) * 2019-07-02 2022-05-13 游艺星际(北京)科技有限公司 Animation display method, device, terminal and storage medium
CN110493630B (en) * 2019-09-11 2020-12-01 广州华多网络科技有限公司 Processing method and device for special effect of virtual gift and live broadcast system
CN110557649B (en) * 2019-09-12 2021-12-28 广州方硅信息技术有限公司 Live broadcast interaction method, live broadcast system, electronic equipment and storage medium
CN110933454B (en) * 2019-12-06 2021-11-02 广州酷狗计算机科技有限公司 Method, device, equipment and storage medium for processing live broadcast budding gift
CN111131850A (en) * 2019-12-27 2020-05-08 广州华多网络科技有限公司 Method and device for displaying special effect of virtual gift and electronic equipment
CN116489442A (en) * 2023-04-04 2023-07-25 北京优酷科技有限公司 Live broadcast interaction method and device, electronic equipment and computer storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9077844B2 (en) * 2012-04-06 2015-07-07 Realtek Semiconductor Corp. Multi-screen video playback system and related computer program product
CN106658035A (en) * 2016-12-09 2017-05-10 武汉斗鱼网络科技有限公司 Dynamic display method and device for special effect gift

Also Published As

Publication number Publication date
CN107888965A (en) 2018-04-06

Similar Documents

Publication Publication Date Title
CN107888965B (en) Image gift display method and device, terminal, system and storage medium
CN106961526B (en) Notification message display method and device and electronic equipment
EP3276976A1 (en) Method, apparatus, host terminal, server and system for processing live broadcasting information
CN105843615B (en) Notification message processing method and device
EP3188066A1 (en) A method and an apparatus for managing an application
EP3113466A1 (en) Method and device for warning
CN109274510B (en) Message processing method, device, client, server and storage medium
US10334282B2 (en) Methods and devices for live broadcasting based on live broadcasting application
CN107040591B (en) Method and device for controlling client
CN109521918B (en) Information sharing method and device, electronic equipment and storage medium
CN105786507B (en) Display interface switching method and device
US20180144546A1 (en) Method, device and terminal for processing live shows
US10922444B2 (en) Method and apparatus for displaying application interface
CN112468833A (en) Live broadcast interactive information processing method, device, terminal, server and storage medium
US11321280B2 (en) Multimedia file sharing method and terminal device
CN110262692B (en) Touch screen scanning method, device and medium
EP4054198A1 (en) Live broadcast method and apparatus, electronic device, and storage medium
CN109302341B (en) Instant messaging method, instant messaging device, electronic equipment and storage medium
CN112291631A (en) Information acquisition method, device, terminal and storage medium
CN105912204B (en) Method and device for starting application interface
US20220159336A1 (en) Method and system for displaying screen
CN110769275B (en) Method, device and system for processing live data stream
US20170201479A1 (en) Group message display method, device and medium
CN109245992B (en) Request processing method and device, electronic equipment and storage medium
CN107483605B (en) File downloading method and device and storage medium

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