Nothing Special   »   [go: up one dir, main page]

CN111698523B - Method, device, equipment and storage medium for presenting text virtual gift - Google Patents

Method, device, equipment and storage medium for presenting text virtual gift Download PDF

Info

Publication number
CN111698523B
CN111698523B CN201911243383.4A CN201911243383A CN111698523B CN 111698523 B CN111698523 B CN 111698523B CN 201911243383 A CN201911243383 A CN 201911243383A CN 111698523 B CN111698523 B CN 111698523B
Authority
CN
China
Prior art keywords
gift
text
virtual
virtual gift
target
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
CN201911243383.4A
Other languages
Chinese (zh)
Other versions
CN111698523A (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 Cubesili Information Technology Co Ltd
Original Assignee
Guangzhou Cubesili Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Cubesili Information Technology Co Ltd filed Critical Guangzhou Cubesili Information Technology Co Ltd
Priority to CN201911243383.4A priority Critical patent/CN111698523B/en
Priority to PCT/CN2020/113376 priority patent/WO2021109652A1/en
Publication of CN111698523A publication Critical patent/CN111698523A/en
Application granted granted Critical
Publication of CN111698523B publication Critical patent/CN111698523B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • H04N21/2187Live feed
    • 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/4316Generation 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 displaying supplemental content in a region of the screen, e.g. an advertisement in a separate window
    • 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/4318Generation of visual interfaces for content selection or interaction; Content or additional data rendering by altering the content in the rendering process, e.g. blanking, blurring or masking an image region
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/435Processing of additional data, e.g. decrypting of additional data, reconstructing software from modules extracted from the transport stream
    • H04N21/4355Processing of additional data, e.g. decrypting of additional data, reconstructing software from modules extracted from the transport stream involving reformatting operations of additional data, e.g. HTML pages on a television screen
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/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
    • H04N21/44213Monitoring of end-user related data
    • H04N21/44222Analytics of user selections, e.g. selection of programs or purchase activity
    • 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/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/4508Management of client data or end-user data
    • H04N21/4532Management of client data or end-user data involving end-user characteristics, e.g. viewer profile, preferences
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47205End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for manipulating displayed content, e.g. interacting with MPEG-4 objects, editing locally
    • 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/4784Supplemental services, e.g. displaying phone caller identification, shopping application receiving rewards
    • 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
    • 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/488Data services, e.g. news ticker
    • H04N21/4884Data services, e.g. news ticker for displaying subtitles

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Social Psychology (AREA)
  • Health & Medical Sciences (AREA)
  • Business, Economics & Management (AREA)
  • Marketing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The method comprises the steps of receiving a text virtual gift sent by a live broadcast room, and displaying the text virtual gift through a virtual gift column; determining the content type of the virtual text gift selected by the user, and displaying a text content list matched with the content type of the virtual text gift; acquiring target text content selected from the text content list as a target text virtual gift to be presented to a target anchor; and synthesizing the target character virtual gift to a target position of the video image anchor image for rendering display according to the display template of the character virtual gift issued by the live broadcast room. The method and the device have the advantages that the types of virtual gifts are enriched through the character virtual gifts, the emotion of the user is expressed more closely, and the enthusiasm of the user for the anchor show sending is improved.

Description

Method, device, equipment and storage medium for presenting text virtual gift
Technical Field
The application relates to the technical field of live broadcast, in particular to a method, a device, equipment and a storage medium for presenting a text virtual gift.
Background
With the development of network technology, real-time video communication such as live webcast and video chat room becomes an increasingly popular entertainment mode. In the real-time video communication process, the interactivity among users can be increased by giving away the virtual gift to show the special effect.
The traditional virtual gift has a single expression form, usually, the visual expression is carried out by the graphical gift, the visual expression of the graphical gift is difficult to meet different emotional expressions of different users, under some specific live scenes, such as praise, laugh and scene scenes, the mood of the users is difficult to be clearly expressed by the graphical gift, so that the users cannot select proper gifts to give away, meanwhile, the anchor broadcaster or audiences sometimes cannot directly understand the true meaning of the graphics from the graphical gift, the enthusiasm of the gifts given away by the users is reduced, and the interactivity between the anchor and the audiences is influenced.
Disclosure of Invention
The object of the present application is to solve at least one of the above technical drawbacks, in particular the problem of single format of virtual gifts for live rooms.
In a first aspect, an embodiment of the present application provides a method for presenting a text virtual gift, including the following steps:
receiving a character virtual gift sent by a live broadcast room, and displaying the character virtual gift through a virtual gift bar;
determining the content type of the virtual text gift selected by the user, and displaying a text content list matched with the content type of the virtual text gift;
acquiring target text contents selected from the text content list as target text virtual gifts, and presenting the target text virtual gifts to a target anchor through the live broadcast room;
and synthesizing the target character virtual gift to a target position of a video picture anchor image for rendering display according to a display template of the character virtual gift issued by a live broadcast room.
In one embodiment, the step of determining the content type of the text virtual gift selected by the user and displaying the text content list matched with the content type of the text virtual gift comprises the following steps:
receiving a selection instruction of the content type of the text virtual gift, extracting matched text content according to the selection instruction, and generating a text content list;
and displaying the text content list at the specified position of the virtual gift box.
In an embodiment, the step of synthesizing the target text virtual gift to a target position of a video interface anchor image for rendering and displaying according to a display template of the text virtual gift sent by a live broadcast room includes:
identifying a target position of the text virtual gift displayed on the video picture anchor image;
and sending the target position to a rendering layer, and synthesizing and displaying the target position according to the display template of the virtual text gift.
In one embodiment, the step of identifying a target location for the textual virtual gift to be presented on the video frame anchor image comprises:
acquiring a characteristic area displayed in the video picture corresponding to the character virtual gift according to the character virtual gift identification;
identifying at least two characteristic key points and a first position of a main broadcasting face image in the video picture;
and determining the target position of the text virtual gift synthesized on the video picture according to the first position and the relative position relation between the characteristic key point and the characteristic area.
In one embodiment, the step of determining the target position of the text virtual gift composition on the video picture according to the first position and the relative position relationship between the feature key point and the feature area comprises:
determining the relative orientation of the feature region with respect to any of the feature keypoints;
and determining the target position of the virtual text gift on the video picture according to the proportional relation between the second position distance and the first position distance between the feature region and any feature key point based on the relative orientation and the position information of the feature key point.
In one embodiment, the step of composing the target text virtual gift into a target position of the video frame anchor image for rendering and displaying comprises:
storing the target character virtual gift in a cache queue according to the presentation time of the target character virtual gift;
when the number of the target character virtual gifts in the cache queue reaches a preset number threshold value, merging the target character virtual gifts with virtual values lower than preset values in the cache queue;
and displaying the gift special effect corresponding to the number according to the number of the merged target character virtual gifts.
In one embodiment, the live broadcast room is a multi-user live broadcast room;
the step of giving the target text virtual gift to the target anchor through the live broadcast room comprises the following steps:
acquiring sliding operation of a user on the target character virtual gift, and determining a target anchor from a multi-player anchor according to a sliding track;
and giving the target text virtual gift to the target anchor.
In an embodiment, the step of determining a target anchor from the multi-person live interface according to a sliding track includes:
extracting target key points of the sliding track, and determining the sliding direction according to the target key points;
and determining the target anchor by using the azimuth angle range to which the sliding direction belongs based on the azimuth angle range of each anchor.
In an embodiment, the step of determining a target anchor from the multi-person live interface according to a sliding track includes:
obtaining a termination point of the sliding track, and determining the position of the termination point on the multi-user live broadcast interface;
and determining the target anchor by using the area range to which the position of the termination point belongs based on the area range of each anchor.
In an embodiment, before the step of receiving the text virtual gift delivered by the live broadcast, the method further includes:
and acquiring the characteristic information of the current live broadcast room through the live broadcast room, and matching the corresponding text virtual gift from the virtual gift content library according to the characteristic information.
In an embodiment, the characteristic information includes at least one of a live scene type of a live room, anchor gender information, anchor rating, and anchor facial action information.
In a second aspect, an embodiment of the present application provides a method for presenting a text virtual gift, including the following steps:
issuing a literal virtual gift to a client, so that the client displays the literal virtual gift on a virtual gift bar;
receiving the content type of the virtual text gift selected by the user and sent by the client, and displaying a text content list matched with the content type of the virtual text gift through the client;
acquiring target text contents selected from the text content list as target text virtual gifts, and giving the target text virtual gifts to a target anchor;
and the target character virtual gifts are synthesized to the target positions of the video picture anchor images through the client side to be rendered and displayed by the display template of the character virtual gifts issued to the client side.
In a third aspect, an embodiment of the present application provides a presentation device for a text virtual gift, including:
the gift receiving module is used for receiving the literal virtual gift sent by the live broadcast room and displaying the literal virtual gift through the virtual gift column;
the content display module is used for determining the content type of the virtual text gift selected by the user and displaying a text content list matched with the content type of the virtual text gift;
a gift acquisition module, configured to acquire a target text content selected from the text content list as a target text virtual gift, and present the target text virtual gift to a target anchor through the live broadcast room;
and the gift synthesizing module is used for synthesizing the target character virtual gift to a target position of the video picture anchor image for rendering display according to the display template of the character virtual gift issued by the live broadcast room.
In a fourth aspect, an embodiment of the present application provides a presentation device for a text virtual gift, including:
the system comprises a gift issuing module, a virtual gift display module and a virtual gift display module, wherein the gift issuing module is used for issuing a literal virtual gift to a client side so that the client side displays the literal virtual gift on a virtual gift bar;
the type receiving module is used for receiving the content type of the virtual text gift selected by the user and sent by the client and displaying a text content list matched with the content type of the virtual text gift through the client;
the gift giving module is used for acquiring target text contents selected from the text content list as target text virtual gifts and giving the target text virtual gifts to a target anchor;
and the template issuing module is used for issuing a display template of the virtual text gifts to a client, and synthesizing the target virtual text gifts to a target position of the video picture anchor image through the client for rendering and displaying.
In a fifth aspect, the present application provides a computer device, including a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the method for giving a virtual gift according to any of the above-mentioned embodiments when executing the program.
In a sixth aspect, the present application provides a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform the steps of the method for giving a textual virtual gift according to any of the embodiments mentioned above.
The method, the device, the equipment and the storage medium for presenting the text virtual gifts provided by the embodiment receive the text virtual gifts sent by the live broadcast room, and display the text virtual gifts through the virtual gift column; determining the content type of the virtual text gift selected by the user, and displaying a text content list matched with the content type of the virtual text gift; acquiring target text content selected from the text content list as a target text virtual gift to be presented to a target anchor; according to the display template of the character virtual gifts issued by the live broadcast room, the target character virtual gifts are synthesized to the target positions of the video image anchor broadcast images for rendering display, so that the types of the virtual gifts are enriched through the character virtual gifts, the emotion of a user is expressed more closely, and the enthusiasm of the user for anchor broadcast gifts is improved.
Additional aspects and advantages of the present application will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the present application.
Drawings
The foregoing and/or additional aspects and advantages of the present application will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
fig. 1 is a schematic frame diagram of a webcast system according to an embodiment;
FIG. 2 is a first flowchart of a method for presenting a textual virtual gift, according to an embodiment;
FIG. 3 is a diagram of a live interface for textual virtual gift gifting, provided by an embodiment;
FIG. 4 is a diagram illustrating the special effect of a textual virtual gift according to one embodiment;
FIG. 5 is a flowchart of a method for determining a target location of a textual virtual gift, according to one embodiment;
fig. 6 is another flowchart of a method for determining a target location of a textual virtual gift according to an embodiment;
FIG. 7 is a schematic diagram illustrating an exemplary embodiment of a detection of a display position of a virtual gift;
FIG. 8 is a diagram illustrating the composite effect of a textual virtual gift according to one embodiment;
FIG. 9 is a flow chart of a process for composing a textual virtual gift provided in accordance with one embodiment;
FIG. 10 is a second flowchart of a method for presenting a textual virtual gift, as provided by one embodiment;
FIG. 11 is a diagram illustrating a first sliding gift presentation interface of a live multi-user interface according to an embodiment;
FIG. 12 is a diagram illustrating a second interface of a sliding gift delivery with a live multi-user interface according to an embodiment;
FIG. 13 is a diagram illustrating a third sliding gift presentation interface of a live multi-user interface according to an embodiment;
FIG. 14 is a schematic diagram illustrating another interface of a method for presenting a textual virtual gift according to one embodiment;
FIG. 15 is a first flowchart of a method for recommending a textual virtual gift, as provided by one embodiment;
FIG. 16 is a second flowchart of a method for recommending a textual virtual gift, provided by an embodiment;
FIG. 17 is a third flowchart of a method for recommending a textual virtual gift, provided by an embodiment;
FIG. 18 is a third flowchart of a method for gifting a textual virtual gift, as provided by one embodiment;
FIG. 19 is a schematic diagram of an embodiment of a textual virtual gift-giving device;
FIG. 20 is a schematic structural diagram of a textual virtual gift giving device according to an embodiment.
Detailed Description
Reference will now be made in detail to embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are exemplary only for the purpose of explaining the present application and are not to be construed as limiting the present application.
As used herein, the singular forms "a", "an", "the" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. As used herein, the term "and/or" includes all or any element and all combinations of one or more of the associated listed items.
It will be understood by those within the art that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the prior art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.
Before describing the method provided by the embodiment of the present application, an application scenario of the embodiment of the present application is described first. Referring to fig. 1, fig. 1 is a schematic diagram of a framework of a live webcast system provided in an embodiment, where the system framework may include a server and a client, the client includes one or more anchor clients 10 and a plurality of viewer clients 20, a live platform located on the server may include a plurality of virtual live webcasts and a server 30, and each anchor 110 and each viewer 120 establish a communication connection with the server 30 through a wired network or a wireless network.
Generally speaking, each virtual live broadcast room correspondingly plays different live broadcast contents, the anchor broadcasts are live broadcast through the anchor client 10, and audiences select to enter a certain virtual live broadcast room through the audience client 20 to watch the anchor broadcast for live broadcast. The viewer client 20 and the anchor client 10 may enter the live platform through a live Application (APP) installed on the terminal device.
The anchor client 10 and the audience client 20 are terminal devices, such as a smart phone, a tablet computer, an e-reader, a desktop computer, or a notebook computer, and the like, which is not limited thereto. The server 30 is a background server for providing background services for the terminal device, and may be implemented by an independent server or a server cluster composed of a plurality of servers. In one embodiment, the server 30 may be a live web platform.
Fig. 2 is a first flowchart of a method for presenting a virtual gift, which can be executed on a device for presenting a virtual gift, according to an embodiment of the present invention, which takes the device for presenting a virtual gift as an example of a viewer client, and the following technical solutions are described in the present embodiment.
Specifically, as shown in fig. 2, the method for presenting a text virtual gift may include the following steps:
s110, receiving the character virtual gift sent by the live broadcast room, and displaying the character virtual gift through a virtual gift bar.
For textual virtual gifts, it may be a gift presented in a textual style, such as a textual virtual gift presented in a textual style of "beauty like flower". In this embodiment, the user triggers a display instruction of the text virtual gift through the viewer client, and requests the text virtual gift from the live broadcast room. And after receiving the display instruction, the live broadcasting room acquires the character virtual gift of the live broadcasting room and sends the character virtual gift to the audience client. And the audience client receives the character virtual gift sent by the live broadcast room and displays the character virtual gift through the virtual gift bar.
Generally, when a display instruction is not received, the virtual gift box is hidden, and after the display instruction is received, the virtual gift box is expanded on the live broadcast interface. The virtual gift fence can support page turning, and if the virtual gift fence slides left and right to turn left or right, the virtual gift fence slides up and down to turn up or down.
S120 determines the content type of the text virtual gift selected by the user, and displays a text content list matching the content type of the text virtual gift.
Different content types of the literal virtual gifts are displayed on the virtual gift bars, and the content types can be presented in the form of graphic information or literal information. The content type may include festival blessings, praise words, daily phrases, etc.
In an embodiment, different content types correspond to different text content lists. Further, receiving a selection instruction of the content type of the virtual gift, extracting matched text content according to the selection instruction, and generating a text content list; and displaying the text content list at the specified position of the virtual gift box.
Optionally, the user makes a selection instruction on a certain content type of the text virtual gift on the virtual gift bar by clicking or long-pressing, extracts text content matched with the selected content type through a server where the live broadcast room is located according to the selection instruction, and integrates the text content to generate a text content list. And after receiving the text content list, the audience client pops up a corresponding window at the specified position of the virtual gift bar so as to display the text content list. The designated position can be a window suspended above the virtual gift bar, and can also be arranged at other positions of the live broadcast interface.
Fig. 3 is a schematic diagram of a live broadcast interface of a text virtual gift giving provided in an embodiment, as shown in fig. 3, a user selects one of a plurality of different content types presented in a virtual gift box 101, for example, clicks a content type "zam words", pops up a window above the virtual gift box 101 to show a preconfigured text content list 102 corresponding to the "zam words", such as "handsome and sank", "jasper and sank", "zilian and sank" and the like.
Optionally, the text content list 102 supports scrolling, such as displaying all text content in the text content list 102 by scrolling in a horizontal direction. Optionally, the text content list 102 may further include a custom content box, and the user inputs text content by himself through the custom content box, and stores the text content locally, and when the user selects the content type again, the text content pushed by the server and the text content input by the user in a custom manner are displayed at the same time. It should be noted that the text content list 102 may be understood as a part of the virtual gift certificate 101. The text content list 102 does not pop up when the content type of the text virtual gift of the virtual gift bar 101 is not clicked, and the corresponding text content list 102 pops up when the user clicks any one of the content types of the text virtual gift of the virtual gift bar 101.
And S130, acquiring target text contents selected from the text content list as target text virtual gifts, and giving the target text virtual gifts to a target anchor through the live broadcast room.
In one embodiment, the user makes a selection operation by touch or voice, and the like, selects one or more target text contents from the text content list, and presents the target text contents as target text virtual gifts to the target anchor through the live broadcast room.
In another embodiment, after the user selects the content type of the virtual text gift, the user does not further select text content from a text content list corresponding to the content type, but directly triggers a presentation instruction, at this time, obtains attribute information of the current live broadcast room, such as the gender of the live broadcast, the expression action of the live broadcast, the scene type of the live broadcast room, and the like, analyzes the attribute information of the current live broadcast room based on the content type of the virtual text gift selected by the user, automatically selects one or more target text contents most suitable for matching from the text content list of the content type, and optionally, may also randomly select one or more target text contents according to the text content list of the content type. And the target text content is given to the target anchor through the live broadcast room as the target text virtual gift.
And S140, synthesizing the target character virtual gift to a target position of a video image anchor image for rendering display according to a display template of the character virtual gift issued by a live broadcast room.
In this embodiment, the display template refers to a template for displaying the virtual gift of characters on the video frame, and may include the color, shape, special effect, display duration, and the like of the characters during display. Optionally, each text virtual gift corresponds to a different display template, or each text virtual gift is the same in display template and different in text content.
The method comprises the steps that after a client selects a target character virtual gift, a characteristic area corresponding to the target character virtual gift is obtained, an anchor image in a video picture is identified, a target position of the characteristic area on the video picture is determined, then the target character virtual gift is synthesized to the target position according to a display template corresponding to the target character virtual gift, a character virtual gift special effect is obtained, and the character virtual gift special effect is rendered in the video area, so that a user can view the character virtual gift special effect.
Fig. 4 is a schematic diagram of a special effect of a text virtual gift provided in an embodiment, as shown in fig. 4, a user selects a content type of a "admire word" in the text virtual gift, selects "seemingly flower" from a popped-up text content list to be presented to a anchor, and combines the text content of "seemingly flower" into a display template of the target text virtual gift to be displayed at the top of the anchor.
The method for presenting a virtual text gift provided in this embodiment receives a virtual text gift delivered from a live broadcast room, and displays the virtual text gift through a virtual gift column; determining the content type of the virtual text gift selected by the user, and displaying a text content list matched with the content type of the virtual text gift; acquiring target text content selected from the text content list as a target text virtual gift to be presented to a target anchor; according to the display template of the character virtual gifts issued by the live broadcast room, the target character virtual gifts are synthesized to the target positions of the video image anchor broadcast images for rendering display, so that the types of the virtual gifts are enriched through the character virtual gifts, the emotion of a user is expressed more closely, and the enthusiasm of the user for anchor broadcast gifts is improved.
In order to make the technical scheme of the present invention clearer and more easily understood, specific implementation processes and modes of a plurality of steps in the technical scheme are described in detail below.
In an embodiment, the step S130 of synthesizing the target text virtual gift to a target position of a video interface anchor image for rendering and displaying according to the display template of the text virtual gift sent by the live broadcast room may include the following steps:
and S1301, identifying the target position of the character virtual gift displayed on the video picture anchor image.
In this embodiment, a characteristic region of the text virtual gift on the anchor image can be obtained through the text virtual gift identification, and further, a target position of the characteristic position on the video frame is identified.
Optionally, as shown in fig. 5, fig. 5 is a flowchart of a method for determining a target position of a text virtual gift according to an embodiment, and the step may include the following sub-steps:
s301, obtaining a characteristic area displayed in the live video picture corresponding to the character virtual gift according to the character virtual gift identification.
The method comprises the steps that a user presents a character virtual gift to a target anchor in the process of watching a live video, a relevant function key is triggered at an audience client to select the character virtual gift, a presenting instruction of the character virtual gift is sent to a server, the server receives the presenting instruction and forwards the presenting instruction to the anchor client, and the presenting request of the character virtual gift carries information such as a character virtual gift identifier and a target anchor identifier.
And the anchor client receives a presentation instruction of the character virtual gift sent by the audience client, analyzes the information carried by the presentation instruction and acquires the character virtual gift corresponding to the character virtual gift identifier. For the text virtual gift identification, which is used to distinguish different text virtual gifts, generally speaking, the same text virtual gift has a unique text virtual gift identification. In some embodiments, the text virtual gift may be a two-dimensional display form special effect gift, or may be a three-dimensional display form special effect gift, that is, a three-dimensional special effect gift, and a three-dimensional special effect is created by the three-dimensional special effect gift, so that the reality feeling is enhanced, and the processing effect of the special effect of the text virtual gift is improved.
In the embodiment, the character virtual gifts are subjected to effect display according to character characteristics, and different character virtual gifts correspond to respective characteristic areas, wherein the characteristic areas are areas which are correspondingly arranged on a live video picture of the character virtual gifts. Illustratively, the characteristic region corresponding to the literal virtual gift "seemingly flower" is the head, the characteristic region of the literal virtual gift "haha ha" is the position of the mouth of the anchor, and the like. Generally, the characteristic region corresponding to the same text virtual gift is fixed. According to the effect characteristics of different virtual gifts, the corresponding characteristic areas are set for different virtual gifts to display, and the effect expressive force of the virtual gifts can be improved.
S302, at least two characteristic key points and first positions of the face images in the live video pictures are identified.
For the first location, there may be location coordinates corresponding to the at least two feature keypoints and a location distance determined by the location coordinates.
In some embodiments, the feature keypoints may be keypoints that outline a anchor face. Preferably, in some embodiments, the at least two feature key points are key points with symmetric characteristics in the face image, so as to accurately identify the relative size and feature area of the anchor face through the symmetric characteristics. For example, in some embodiments, the feature keypoints may include keypoints corresponding to any one of eyes, nostrils, ears, corners of the mouth, and eyebrows. Further, taking the eye as an example, the feature key points may be key points at the outer canthus, key points at the inner canthus, or key points at the middle pupil of the eye.
And S303, determining a target position of the text virtual gift synthesized on the live video picture according to the first position and the relative position relation between the characteristic key point and the characteristic area.
In an embodiment, the characteristic region of the text virtual gift is generally set according to the body characteristics of the main character, for example, the characteristic region may include a back contour, a face contour, an eye contour, a vertex, lips, and the like. The feature regions can be determined by taking some feature key points of the face image as a reference and by the relative positions of the feature regions and the feature key points, wherein the relative position relationship comprises a relative direction relationship, a relative distance relationship and the like.
Taking the anchor face as an example, first the size of the anchor face affects the relative positions of the feature region and the feature keypoints. Optionally, in an embodiment, the position coordinates of the feature key points and the distance between the feature key points are determined by identifying at least two feature key points in the live video picture. Further, the characteristic key point of the text virtual gift is the vertex, which is located right above the left eye, by the relative position relationship of the predetermined characteristic region and the characteristic key point. And determining the distance between the vertex of the head and the left eye by using the relative position relationship of the five sense organs of the face of the existing common people. Because the face sizes of different people are different, the distance from the top of the head to the left eye is also different, generally speaking, the face is also large, and the distance from the top of the head to the eyes is larger. Preferably, the target position of the text virtual gift synthesized on the live video picture, that is, the target position of the feature region on the live video picture, can be determined by synthesizing the relative direction of the feature region with respect to a certain feature key point through the proportional relationship between the distance between the feature key points and the distance between the certain feature key point and the feature region.
In this embodiment, an example in which the display position is determined by detecting the position information of the eye will be described. Optionally, fig. 6 is another flowchart of a method for determining a target position of a text virtual gift according to an embodiment, and as shown in fig. 6, the method may include the following steps:
s101, recognizing a face image in the live video picture, and determining position information of eyes in the face image.
In this embodiment, a face image in a live video picture is recognized, some target key points in the face image are determined, for example, the face image is detected, the region where the eyes are located is determined through recognition of the contour points of the eye parts, and the position information of the eyes is determined. Further, the position information of the eye may be position information of the pupil.
It should be noted that the determination of the position information of the eyes in the face image can be determined by the existing eye positioning algorithm, and the specific operation method can be known by those skilled in the relevant field, and will not be described in detail herein.
Fig. 7 is a schematic diagram illustrating a detection principle of the display position of the virtual gift with characters according to an embodiment, as shown in fig. 7, the face image in the live video frame is identified, and the position information of the two eyes of the user located in the live video frame is respectively represented by a point a1 and a point a 2.
S102, calculating a first position distance between the two eyes according to the position information of the eyes.
Here, the position information of the eye includes the name of the eye and the position coordinates of the eye, as shown in fig. 7, such as the position coordinates (x1, y1) of the left eye a1 and the position coordinates (x2, y2) of the right eye a 2. According to the position information of the eyes, such as the position coordinates of the pupil of the eye on the live video frame, in an embodiment, the position coordinates of the two eyes may be subjected to a difference processing to obtain a first position distance L1 between the two eyes.
With continued reference to fig. 6, in this embodiment, the process of determining the target position of the virtual gift on the live video frame according to the first position and the relative position relationship between the feature key point and the feature area may include the following steps:
s103, determining the relative position of the characteristic region relative to any eye.
In this embodiment, the characteristic region of the virtual gift is obtained by obtaining the virtual gift identification. And determining the relative orientation of any eye corresponding to the characteristic region by taking the position of the eye as a reference. If the characteristic region is a left ear, and the left eye is taken as a reference object, the relative orientation of the left ear to the left eye from the user perspective is as follows: a horizontal left direction; if the feature region is directly above the vertex, the left eye is used as a reference, and the relative position of the directly above vertex with respect to the left eye is the northeast direction from the user's perspective.
S104, determining the target position of the target character virtual gift on a live video picture according to the proportional relation between the second position distance between the feature area and any one of the eyes and the first position distance based on the relative orientation and the position information of the eyes.
The distance from the eyes to the top of the head of a person is typically in the range of about 5-15 cm, which is affected by the width between the eyes or the eyebrows. In other words, the second positional distance between the feature region and either eye is also greatly affected by the size of the user's face. In the embodiment, a first position distance between two feature key points, such as a position distance between two eyes, is calculated, a preset proportional relationship between a second position distance between a feature region and any eye and the first position distance is utilized to obtain the position distance of the feature region relative to the eye, and a target position of the feature region on a live video picture is obtained on the basis of determining a relative position of the feature region relative to any eye and position information of the eye.
As can be known from experience, since the distance from the eye to the vertex is about 1.5 to 2 times the distance between the pupils of the two eyes, in this embodiment, taking the feature region of the virtual gift as the vertex, and continuing to refer to fig. 7, the vertex is located in the northeast direction of the left eye, that is, θ is 45 °, the first position distance L1 between the left eye a1 and the right eye a2 is 1000 pixels, and the proportional relationship between the second position distance and the first position distance is 1.5, and the second position distance L2 between the feature region and the left eye is 1500 pixels. And taking the position of the left eye as a reference point, and extending the length of 1500 pixel points along the northeast direction to obtain a target position B of the vertex.
In the detection method for the display position of the virtual text gift provided by this embodiment, a characteristic region displayed in a live video picture corresponding to the virtual text gift is obtained according to the virtual text gift identifier; identifying at least two characteristic key points and a first position of a face image in a live video picture; according to the first position and the relative position relation between the feature key point and the feature area, the target position of the text virtual gift composition on the live video picture is determined, the feature key point with less data volume is detected, and the target position of the text virtual gift composition is determined according to the relative position relation between the feature key point and the feature area, so that the data processing amount and the transmission amount in the process of displaying the special effect of the virtual gift are reduced, and the subsequent data transmission is facilitated.
And S1302, sending the target position to a rendering layer, and synthesizing and displaying the target position according to the display template of the virtual gift.
In this embodiment, after the target position is detected by the audience client, the display template of the virtual gift is obtained, the virtual gift is synthesized at the target position, and the virtual gift is displayed according to the corresponding style, color and special effect of the display template.
Fig. 8 is a schematic diagram illustrating the composite effect of the virtual gift with characters provided in an embodiment, as shown in fig. 8, the position coordinates (x1, y1) of the left eye a1 and the position coordinates (x2, y2) of the right eye a 2. According to the position information of the eyes, such as the position coordinates of the pupil of the eye on the live video frame, in an embodiment, the position coordinates of the two eyes may be subjected to a difference processing to obtain a first position distance L1 between the two eyes.
Taking the feature region of the virtual gift as an example of the vertex, with continued reference to fig. 8, the vertex is located in the northeast direction of the left eye, that is, θ is 45 °, the first position distance L1 between the left eye a1 and the right eye a2 is 1000 pixels, the proportional relationship between the second position distance and the first position distance is 1.5, and then the second position distance L2 between the feature region and the left eye is 1500 pixels. And taking the position of the left eye as a reference point, and extending the length of 1500 pixel points along the northeast direction to obtain a target position B of the vertex. Sending target position B to the rendering layer to synthesize the virtual text gift "handsome, unrestrained" to target position B through the rendering layer, optionally, target position B corresponds to the position of "unrestrained" in "handsome, unrestrained", so that the virtual text gift "handsome, unrestrained" carries out the effect demonstration according to the display template of preconfiguration at target position B.
Fig. 9 is a flowchart of a text virtual gift composition process provided by an embodiment, as shown in fig. 9, in an embodiment, the composition of the target text virtual gift to the target position of the video frame anchor image in step S130 for rendering and displaying may include the following steps:
and S1303, storing the target character virtual gift in a cache queue according to the presentation time of the target character virtual gift.
When a plurality of audience users send the character virtual gifts to the same anchor, the character virtual gifts received by the anchor are too large in number and cannot be displayed one by one in time. At this time, the target character virtual gifts are stored in the buffer queue according to the presentation time of each target character virtual gift, and are displayed before and after the presentation time.
And S1304, merging the target character virtual gifts with the virtual values lower than the preset value in the cache queue when the number of the target character virtual gifts in the cache queue reaches a preset number threshold value.
And when the number of the target character virtual gifts in the cache queue reaches a preset number threshold value, acquiring the target character virtual gifts with the virtual value lower than the preset value from the cache queue, and merging the target character virtual gifts.
For example, the number of the target text virtual gifts in the buffer queue is 20, the 20 target text virtual gifts are sequentially numbered according to the serial numbers in the buffer queue, the preset number threshold value is 20, the preset value is 10YB, the numbers of the extracted target text virtual gifts with the virtual values lower than 10YB are respectively 2, 5, 24 and 19, the four target text virtual gifts are combined into a new special effect gift, and the four target text virtual gifts are removed from the buffer queue.
And S1305, displaying a gift special effect corresponding to the number according to the number of the combined target character virtual gifts.
In this embodiment, the number of the merged target text virtual gifts is different, and the corresponding generated gift special effects are also different, for example, if the number of the merged target text virtual gifts is 4, the corresponding gift special effect a is provided, and if the number of the merged target text virtual gifts is 6, the corresponding gift special effect B is provided. And calling gift special effects corresponding to the number according to the number of the combined target character virtual gifts, and displaying in a live broadcast room, so that the expression effect of the character virtual gifts is enhanced, and the enthusiasm of the user for delivering the gifts is improved.
In an embodiment, when the live broadcast room is a multi-user live broadcast room, a multi-user live broadcast interface is presented on the video frame, and the multi-user live broadcast interface may include a multi-user live broadcast interface of different live broadcast rooms in a live broadcast connection state, or a multi-user live broadcast interface in which multiple live broadcasts exist in the same live broadcast room. It should be noted that the anchor here can be understood as a user who enters the live room through the anchor client.
Furthermore, a target anchor corresponding to the target character virtual gift can be determined in a sliding mode in a scene of a multi-user live broadcast room. Optionally, as shown in fig. 10, fig. 10 is a second flowchart of a method for giving a text virtual gift according to an embodiment, where giving the target text virtual gift to a target anchor through the live broadcast room includes the following steps:
s210, obtaining sliding operation of the user on the target character virtual gift, and determining a target anchor from multi-player anchors according to a sliding track.
When the audience user selects the target character virtual gift, the sliding operation is performed to give the character virtual gift. Firstly, the sliding operation of a user on the target character virtual gift is identified and acquired, a corresponding sliding track is generated, and sliding parameters corresponding to the sliding track, such as sliding speed, sliding direction, sliding position, starting point and ending point of sliding, are extracted. For example, the user long-presses the target text virtual gift and drags the target text virtual gift from the virtual gift bar to the video area to perform a sliding operation of the target text virtual gift, and further determines a target anchor from the multi-player live broadcast interface according to a sliding track.
Further, in some embodiments, it may specifically include the following steps:
s201a, extracting target key points of the sliding track, and determining the sliding direction according to the target key points.
In this embodiment, the sliding track is composed of a plurality of rows of sliding track points, and generally, the pixel points through which the sliding track passes can be used as the sliding track points. Further, target key points of the sliding track are extracted to determine the sliding direction. In some embodiments, the sliding track points of the obtained sliding track may be extracted at set intervals as the target key points, and in other embodiments, the start points and the end points of the sliding track may be directly extracted as the target key points. Further, the sliding direction of the sliding trajectory can be determined by calculating a direction vector between the target key points. For example, the sliding direction of the sliding track is determined according to the direction vector of the connecting line of the starting point and the end point of the sliding track.
S202a, determining the target anchor by using the azimuth angle range to which the sliding direction belongs based on the azimuth angle range of each anchor.
For example, when the double live interface presents in a sliding manner with the horizontal right direction being 0 ° and the horizontal left direction being 180 °, the right anchor is determined as the target anchor if the azimuth angle range to which the sliding direction belongs is between (0 ° and 90 °), and the left anchor is determined as the target anchor if the azimuth angle range to which the sliding direction belongs is (90 ° and 180 °).
Similarly, if the number of anchor people on the multi-person live broadcast interface is three, the horizontal right direction is 0 degrees, the horizontal left direction is 180 degrees, when the gift is delivered in a sliding mode, the azimuth angle range of the sliding direction is (0 degrees, 60 degrees), the anchor on the right side is determined as the target anchor, if the azimuth angle range of the sliding direction is (60 degrees, 120 degrees), the anchor in the middle is determined as the target anchor, and if the azimuth angle range of the sliding direction is (120 degrees, 180 degrees), the anchor on the left side is determined as the target anchor.
Fig. 11 is a schematic view of a first interface of a sliding gift delivery on a multi-user live interface according to an embodiment of the present invention, where as shown in fig. 11, a target anchor delivered by a target text virtual gift is determined according to a sliding direction and a relative azimuth range of each anchor on the live interface, and the sliding direction of a sliding track points to an angle range to which a user B belongs, so that the user B is taken as the target anchor.
In other embodiments, it may specifically include the following steps:
s201b, obtaining a termination point of the sliding track, and determining the position of the termination point on the multi-user live broadcast interface.
In this embodiment, after the target text virtual gift is selected, the sliding operation is released after the target text virtual gift is continuously and uninterruptedly dragged to the area where the target anchor is located on the live video picture, so that the termination point of the sliding track falls in the area where the target anchor is located. The spectator client identifies the sliding operation, identifies the sliding track, extracts the termination point of the sliding operation, and determines the position coordinate of the termination point
S202b, determining the target anchor by using the area range to which the position of the termination point belongs based on the area range of each anchor.
After the position coordinates of the termination point are obtained, the area of the anchor to which the termination point belongs is determined, and the anchor corresponding to the area to which the termination point belongs is determined as the target anchor.
Fig. 12 is a schematic diagram of a second interface of the sliding gift presentation on the multi-user live broadcast interface according to an embodiment, and as shown in fig. 12, when a termination point Q of a sliding track is located in an area range where a user B is located, the user B is taken as a target anchor, and a target text of "seeming as a flower" is presented to the user B virtually.
And S220, giving the target character virtual gift to the target anchor.
And after the target anchor is determined, giving the target character virtual gift to the target anchor. In some embodiments, the target text virtual gift is synthesized at a target position corresponding to the target anchor according to the characteristic attribute of the target text virtual gift.
In the method for presenting a text virtual gift provided by the embodiment, a gift icon is displayed in a virtual gift area of a multi-user live broadcast interface; receiving the selection operation of a user on gift icons on the virtual gift area, and determining a target character virtual gift; acquiring sliding operation of a user on the target character virtual gift, and determining a target anchor from a multi-user live broadcast interface according to a sliding track; the target character virtual gift is presented to the target anchor to accurately identify the presentation object of the target character virtual gift on the multi-player live broadcast interface, and the audience user only needs to make a sliding gesture on the target character virtual gift, and then the character virtual gift is directly presented to the target anchor, so that the method is simple and rapid.
In one embodiment, a plurality of different target text virtual gifts can be simultaneously selected and sent to the same target anchor or different target anchors respectively. Optionally, the sending method of the text virtual gift may be implemented by the following steps:
s401, receiving selection operations of a plurality of gift icons on the virtual gift area by a user through a multi-point touch mode, and setting a plurality of selected character virtual gifts as target character virtual gifts.
The user simultaneously selects a plurality of gift icons in the virtual gift area, for example, the user simultaneously touches the plurality of gift icons of the selected virtual gift area by a plurality of fingers, and the text virtual gifts corresponding to the selected plurality of gift icons are determined as the target text virtual gifts.
S402, respectively obtaining sliding operation of a user on each target character virtual gift, and determining a target anchor corresponding to the target character virtual gift in the multi-user live broadcast interface according to a sliding track corresponding to each sliding operation.
Further, when the target text virtual gift is selected, the gift icon is dragged to perform a sliding operation. In this embodiment, the target text virtual gifts selected by each touch operation respectively and correspondingly generate corresponding sliding tracks, and the sliding tracks are independent from each other and do not interfere with each other. And determining a target anchor on the multi-user live broadcast interface corresponding to the target character virtual gift corresponding to each sliding track according to the sliding direction corresponding to each sliding track.
Fig. 13 is a schematic diagram of a third interface of sliding gift presentation on a multi-user live broadcast interface according to an embodiment of the present invention, where as shown in fig. 13, a sliding direction of a sliding track L3 corresponding to a target character virtual gift 1 "dison the face" is on the left, and a left user a on the multi-user live broadcast interface is taken as a target anchor a presented corresponding to the target character virtual gift 1; if the sliding direction of the sliding track L4 corresponding to the target character virtual gift 2 is left right, the right user B on the multi-player live broadcast interface is taken as the target anchor B presented by the target character virtual gift 2 correspondingly. The method for sending the virtual text gifts can send different virtual text gifts to different anchor broadcasters on a multi-player live interface in a sliding mode, and is simple, convenient and fast.
In one embodiment, a plurality of different target text virtual gifts can be simultaneously selected and simultaneously transmitted to the same target anchor. Optionally, the sending method of the text virtual gift may be implemented by the following steps:
s501, receiving a selection operation sequentially performed by a user on at least two gift icons on the virtual gift area, setting a plurality of selected text virtual gifts as target text virtual gifts, and generating a target text virtual gift queue.
In an embodiment, a continuous selection operation may be performed by pressing a certain gift icon, specifically, the virtual gift area may enter a multiple-item selection interface by pressing a certain gift icon, for example, a hollow circle appears at the upper left of each gift icon, if the gift icon is selected, the hollow circle of the gift icon is changed into a solid circle, further, an arabic numeral may be presented on the solid circle to indicate the order in which the gift icons are selected, and after a "determination" instruction is triggered, a plurality of selected text virtual gifts are determined as the target text virtual gifts, and a target text virtual gift queue is generated according to the selected order.
In another embodiment, a gift icon may be touched, a sliding operation may be performed in the virtual gift area with the gift icon as a starting point to select a plurality of gift icons, and further, when a gift icon is slid, a selected sequence number is added to the upper right of the gift icon, the selected text virtual gift is set as a target text virtual gift, and a target text virtual gift queue is generated in the selected sequence.
And S502, triggering sliding operation on any gift icon of the target character virtual gift queue.
In this embodiment, any gift icon on the target text virtual gift queue is used as a starting point of the sliding operation, the sliding operation is performed on the video area on the multi-user live broadcast interface, and the target text virtual gift on the target text virtual gift queue is sent.
S503, obtaining the sliding operation and determining the target anchor according to the sliding track of the sliding operation.
And obtaining a sliding track corresponding to the sliding operation, for example, obtaining a starting point and an ending point of the sliding track, calculating a direction vector of the sliding track through the starting point and the ending point as a sliding direction of the sliding operation, and determining a target anchor presented by the target character virtual gift queue by using an azimuth angle range to which the sliding direction belongs based on the azimuth angle range of each anchor.
And S504, sending the target character virtual gifts in the target character virtual gift queue to a live broadcast picture of the target anchor along the sliding track.
After the target anchor is determined, after the target anchor is determined on the live broadcast interface along the sliding track corresponding to the sliding operation, a sending track of the target character virtual gift pointing to the target anchor is generated, and each target character virtual gift is sent to the anchor picture along the sending track.
Fig. 14 is another interface schematic diagram of a method for giving away a virtual text gift according to an embodiment, and as shown in fig. 14, a user performs a continuous sliding operation on a virtual gift bar, takes "seeming as a flower" and "laughing as a target virtual text gift in a text content list, generates a target text virtual gift queue, performs a sliding operation on a anchor, and sends" seeming as a flower "and" laughing as a laughing "to the anchor, so that continuous sending of the text virtual gifts is realized, and the method is simple and fast.
In an embodiment, before the step S110 of receiving the text virtual gift sent from the live broadcast, the method may further include the following steps:
s100, acquiring feature information of the current live broadcast room through the live broadcast room, and matching corresponding character virtual gifts from a virtual gift content library according to the feature information.
The feature information of the live broadcast room may be feature information used for representing parameters corresponding to the live broadcast room, and the feature information of the live broadcast room may be at least one of a live broadcast scene type of the live broadcast room, anchor gender information corresponding to the live broadcast room, an anchor level, and anchor face action information during live broadcast. Further, the live scene type may be a game scene type, a singing scene type, a dancing scene type, a talk show scene type, etc.; anchor gender information may be male and female; the higher the experience value of the anchor, the higher the anchor grade; the anchor face action information may be different face action information such as smile, laugh, cry, frown, etc.
In this embodiment, the characteristic information of the live broadcast room is different, and the matching corresponding virtual gift contents from the virtual gift content library are also different. For example, according to the live scene type of the live broadcast room, if the scene type is the live broadcast scene type of the game, virtual gift contents related to the game, such as character virtual gift contents like "win again", "refuel", etc., are matched from the virtual gift content library. If the scene type is the live scene type of singing, virtual gift contents related to the singing are matched from the virtual gift content library, such as character virtual gift contents of 'sound like yellowbird' and 'singing one song again'.
Fig. 15 is a first flowchart of a method for recommending a text virtual gift according to an embodiment, as shown in fig. 15, the process of matching the text content of the corresponding text virtual gift from the virtual gift content library according to the characteristic information may include the following steps:
s1001, scene type information corresponding to the live broadcast room is obtained.
In this embodiment, the scene type information corresponding to the live broadcast room may be determined by a content tag of the live broadcast room, and if the content tag is a game type, the scene type information of the live broadcast room is determined as a game scene type, and may also be determined by channel information of the anchor room, for example, if the channel of the live broadcast room belongs to a dancing channel, the scene type information of the live broadcast room is determined as a dancing scene type.
And S1002, calling a corresponding first virtual gift style from a virtual gift content library according to the scene type information to generate first virtual gift content.
The virtual gift content library is pre-configured with virtual gift styles suitable for various scene types, each virtual gift style can correspond to at least one gift tag for identifying which scene type information the virtual gift style can belong to, for example, the character virtual gift content of 'lollipop' can be suitable for both a game scene type and a dance scene type, the number A001 corresponds to the game scene type, the number A002 corresponds to the dance scene type, and the gift tags corresponding to the character virtual gift content of 'lollipop' are A001 and A002. If the text virtual gift content of "win again" is only applicable to the game scene type, the corresponding gift label is a 001.
Optionally, in an embodiment, a gift tag corresponding to the scene type information is obtained, each virtual gift pattern in the virtual gift content library is traversed according to the gift tag, a first virtual gift pattern identical to the scene type gift tag is extracted from the virtual gift pattern, and the extracted virtual gift pattern is used to generate first virtual gift content.
Further, fig. 16 is a second flowchart of a recommendation method of a text virtual gift provided in an embodiment, and as shown in fig. 16, the process of matching corresponding virtual gift contents from the virtual gift content library according to the characteristic information may further include the following steps:
and S1003, acquiring the gender information of the anchor of the live broadcast room.
Due to different genders, the corresponding virtual gifts have different styles, and taking the text style as an example, the text style can be politely played, the text virtual gifts corresponding to the man's anchor can be ' handsome, natural and unrestrained ', and the text virtual gifts corresponding to the woman's anchor can be ' wild goose, etc.
Optionally, the gender information of the anchor may be determined by obtaining anchor authentication information of the live broadcast room, for example, from identity card number information of the anchor real-name authentication, the gender is determined by the parity of the last but one digit, and if the gender information is an odd number, the gender information is a male, and if the gender information is an even number, the gender information is a female. In some embodiments, the gender of the anchor can also be determined by means of face recognition. The judgment of the anchor gender by the face recognition mode can be realized by the existing algorithm, which is not described in detail herein.
And S1004, calling a corresponding second virtual gift style from a virtual gift content library according to the gender information of the anchor, and generating second virtual gift content according to the second virtual gift style and the first virtual gift content.
The virtual gift contents library is pre-configured with virtual gift patterns suitable for different sexes, including a virtual gift pattern for males, a virtual gift pattern for females and a neutral virtual gift pattern suitable for both males and females, the virtual gift patterns for different sexes can correspond to different gift labels, each virtual gift pattern can correspond to at least one gift label, if the text virtual gift contents of 'inviting and unresolved' is suitable for males, the corresponding gift label is B001, the text virtual gift contents of 'polite and beautiful' is suitable for females, the corresponding gift label is B002, the text virtual gift contents of 'talent and cross overflow' are suitable for both males and females, and the neutral vocabulary, the corresponding gift label is B003.
Optionally, in an embodiment, a gift tag corresponding to the gender information of the anchor is obtained, each virtual gift pattern in the virtual gift content library is traversed according to the gift tag, a second virtual gift pattern identical to the gift tag of the gender information is extracted from the virtual gift pattern, the extracted second virtual gift pattern is extracted, and the second virtual gift content is generated by combining the first virtual gift content. That is, the second virtual gift contents include virtual gift contents of scene type information and virtual gift contents of sex information.
Further, fig. 17 is a third flowchart of a method for recommending a text virtual gift according to an embodiment, and as shown in fig. 17, the process of matching corresponding virtual gift contents from a virtual gift content library according to the characteristic information may further include the following steps:
s1005, carrying out face recognition on the anchor, and extracting face action information of the anchor.
In one embodiment, a anchor face image in a live broadcast picture is acquired, the face image is input into a pre-trained neural network model to obtain face action information of the face image, and if the anchor face image is in a laugh, the face image of the laugh is input into the pre-trained neural network model to obtain the face action information of the laugh. In other embodiments, a main broadcast face image in a live broadcast picture is acquired, facial feature information is extracted from the face image, the facial feature information is matched with a plurality of preset facial action information, and the preset facial action information with the highest matching degree is used as the facial action information corresponding to the face image.
And S1006, calling a corresponding third virtual gift style from the virtual gift content library according to the facial action information, and generating third virtual gift content according to the third virtual gift style and the second virtual gift content.
Virtual gift styles suitable for different facial action information are pre-configured in the virtual gift content library, and the virtual gift styles comprise virtual gift styles aiming at different facial action information such as smile, laugh, cry, embarrassment and frown. The virtual gift patterns aiming at different face action information can correspond to different gift labels, each virtual gift pattern can correspond to at least one gift label, if the character virtual gift content of ' laugh ' is suitable for the face action information of ' laugh ', the corresponding gift label is C001, the character virtual gift content of ' laugh can be scooped ' is suitable for the face action information of ' smile ', the corresponding gift label is C002, the character virtual gift content of ' laugh can be suitable for the face action information of ' frown ', and the corresponding gift label is C003.
Optionally, in an embodiment, a gift tag corresponding to the face action information of the anchor is obtained, each virtual gift pattern in the virtual gift content library is traversed according to the gift tag, a third virtual gift pattern identical to the gift tag of the face action information is extracted from the virtual gift pattern, and the extracted third virtual gift pattern is combined with the second virtual gift content to generate third virtual gift content. That is, the third virtual gift contents include virtual gift contents of scene type information, virtual gift contents of gender information, and virtual gift contents of facial movement information.
In the method for recommending virtual gift contents provided by this embodiment, corresponding virtual gift contents are generated according to at least one of the live broadcast scene type, the anchor gender information, and the anchor facial action information of the live broadcast room, so that the recommended virtual gift contents can meet the personalized requirements of the user. In other embodiments, the user can also select the feature information of one or more live broadcast rooms, set the priority for the feature information of each live broadcast room, recommend the virtual gift contents in the corresponding proportion according to the priority level, and display the virtual gift contents on the virtual gift column, so as to further meet the personalized requirements of the user and be beneficial to providing the enthusiasm of the user for gift delivery.
In one embodiment, the method for recommending a text virtual gift further comprises the following steps:
and S107, obtaining presentation record data of the virtual gift contents presented by the live broadcast platform user in the set time period.
In this embodiment, the set time period may be a time period set according to the characteristics of the live broadcast service, for example, three days, one week, half a month, and the like. Generally, the more gifting records of the virtual gift contents, the more popular the virtual gift contents are with the user. The comp record data may include a number of categories of information, such as: identification of the virtual gifts, the quantity, time of presentation, the value of each virtual gift, and the value of the presentation revenue generated by each virtual gift, etc.
And S108, sequencing the virtual gift contents according to the presentation record data, and selecting and recommending the virtual gift contents from the virtual gift contents according to the sequencing sequence.
In this embodiment, one or more information categories may be extracted from the presentation record data to sort the virtual gift contents, for example, the virtual gift contents may be sorted with "number of virtual gift contents" as the only primary key, and the virtual gift contents sorted in the top twenty may be taken as the recommended virtual gift contents.
For another example, the present profit value of the virtual gift may be calculated by using the "present profit value of the virtual gift" as the main key, for example, by multiplying the unit profit value of the virtual gift by the present amount of the virtual gift to obtain the present profit value of the virtual gift. Further, the virtual gift contents are sorted according to the presentation profit values of the various virtual gift contents, and optionally, the higher the presentation profit value of the virtual gift is, the higher the virtual gift contents are. In this embodiment, the sorting may be performed based on different feature information of the live broadcast room, such as sorting the presentation profit values of the virtual gifts belonging to the same live broadcast scene type, and further, selecting recommended virtual gift contents from the virtual gift contents according to the sorting order, selecting the virtual gift contents with the presentation profit values located in the top five of the feature information as the recommended virtual gift contents, and integrating the recommended virtual gift contents based on different feature information to obtain the recommended virtual gift content list.
And S109, pushing the recommended virtual gift content to an initial login user.
The initial login user refers to a user who logs in the live broadcast room for the first time after logging out of the audience client. And the server pushes the latest obtained recommended virtual gift content or the recommended virtual gift content list to the initial login user when the user logs in the live broadcast room so as to more accurately push the virtual gift content in the live broadcast room to the user.
In the recommendation method of virtual gift contents provided by this embodiment, presentation record data of virtual gift contents presented by a live broadcast platform user in a set time period is acquired, the virtual gift contents are sorted according to the presentation record data, recommended virtual gift contents are selected from the virtual gift contents according to a sorting sequence, and the recommended virtual gift contents are pushed to an initial login user, so that a gift sending tendency of the initial login user is predicted according to a gift interest of the live broadcast platform user, and the virtual gift contents which meet personalized requirements of the user and earnings are pushed.
Fig. 18 is a third flowchart of a method for presenting a virtual gift including a function executed by a device for presenting a virtual gift, which is described below with reference to the server as an example.
Specifically, as shown in fig. 18, the method for presenting a text virtual gift may include the following steps:
and S510, issuing the literal virtual gift to the client, so that the client displays the literal virtual gift in a virtual gift bar.
In this embodiment, the user triggers a display instruction of the text virtual gift through the viewer client, and requests the text virtual gift from the server in the live broadcast room. And after receiving the display instruction, the server of the live broadcast room acquires the character virtual gift of the live broadcast room and sends the character virtual gift to the audience client. And the audience client receives the character virtual gift sent by the live broadcast room and displays the character virtual gift through the virtual gift bar.
And S520, receiving the content type of the virtual text gift selected by the user and sent by the client, and displaying a text content list matched with the content type of the virtual text gift through the client.
Different content types of the literal virtual gifts are displayed on the virtual gift bars, and the content types can be presented in the form of graphic information or literal information. The content type may include festival blessings, praise words, daily phrases, etc.
In an embodiment, different content types correspond to different text content lists. Further, receiving a selection instruction of the content type of the virtual gift, extracting matched text content according to the selection instruction, and generating a text content list; and displaying the text content list at the specified position of the virtual gift box.
Optionally, the user makes a selection instruction on a certain content type of the text virtual gift on the virtual gift bar by clicking or long-pressing, extracts text content matched with the selected content type through a server where the live broadcast room is located according to the selection instruction, and integrates the text content to generate a text content list. And after receiving the text content list, the audience client pops up a corresponding window at the specified position of the virtual gift bar so as to display the text content list. The designated position can be a window suspended above the virtual gift bar, and can also be arranged at other positions of the live broadcast interface.
Optionally, the text content list supports scrolling display, for example, all text contents in the text content list are displayed in a horizontal scrolling manner. Optionally, the text content list may further include a custom content box, the user inputs text content by himself through the custom content box, and stores the text content locally, and when the user selects the content type again, the text content pushed by the server and the text content input by the user in a custom mode are displayed at the same time.
And S530, acquiring the target text content selected from the text content list as a target text virtual gift, and giving the target text virtual gift to a target anchor.
In one embodiment, a user performs selection operation by touch or voice, selects one or more target text contents from the text content list, and presents the target text contents as target text virtual gifts to a target anchor through a live broadcast room.
In another embodiment, after the user selects the content type of the virtual text gift, the user does not further select text content from a text content list corresponding to the content type, but directly triggers a presentation instruction, at this time, the server acquires attribute information of the current live broadcast room, such as the sex of the live broadcast, the expression action of the live broadcast, the scene type of the live broadcast room, and the like, analyzes the attribute information of the current live broadcast room based on the content type of the virtual text gift selected by the user, automatically selects one or more target text contents most suitable for matching from the text content list of the content type, and optionally, the server may also randomly select one or more target text contents according to the text content list of the content type. And the target text content is given to the target anchor through the live broadcast room as the target text virtual gift.
And S540, the target character virtual gift is synthesized to the target position of the video image anchor image through the client side to be rendered and displayed by the display template of the character virtual gift issued to the client side.
In this embodiment, the display template refers to a template for displaying the virtual gift of characters on the video frame, and may include the color, shape, special effect, display duration, and the like of the characters during display. Optionally, each text virtual gift corresponds to a different display template, or each text virtual gift is the same in display template and different in text content.
The method comprises the steps that after a client selects a target character virtual gift, a characteristic area corresponding to the target character virtual gift is obtained, an anchor image in a video picture is identified, a target position of the characteristic area on the video picture is determined, then the target character virtual gift is synthesized to the target position according to a display template corresponding to the target character virtual gift, a character virtual gift special effect is obtained, and the character virtual gift special effect is rendered in the video area, so that a user can view the character virtual gift special effect.
The following describes in detail embodiments related to the presentation device of the literal virtual gift.
Fig. 19 is a schematic structural diagram of a presentation apparatus of a virtual gift, according to an embodiment, which is applied to a presentation device of a virtual gift, such as a mobile terminal, on which a spectator client is installed.
Specifically, as shown in fig. 19, the virtual gift-giving device 100 includes: a gift receiving module 110, a content presentation module 120, a gift acquisition module 130, and a gift composition module 140.
The gift receiving module 110 is configured to receive a text virtual gift sent from a live broadcast room, and display the text virtual gift through a virtual gift bar; a content display module 120, configured to determine a content type of a text virtual gift selected by a user, and display a text content list matching the content type of the text virtual gift; a gift acquisition module 130, configured to acquire a target text content selected from the text content list as a target text virtual gift, and present the target text virtual gift to a target anchor through the live broadcast; and the gift composition module 140 is configured to compose the target text virtual gift to a target position of the video image anchor image for rendering and displaying according to the display template of the text virtual gift sent by the live broadcast room.
The present embodiment provides a device for presenting a text virtual gift, which receives a text virtual gift delivered by a live broadcast room through a gift receiving module 110, and displays the text virtual gift through a virtual gift column; the content display module 120 determines the content type of the virtual text gift selected by the user, and displays a text content list matching the content type of the virtual text gift; the gift acquisition module 130 acquires target text content selected from the text content list as a target text virtual gift to be presented to the target anchor; the gift composition module 140 composes the target text virtual gift into the target position of the video image anchor image for rendering display according to the display template of the text virtual gift delivered by the live broadcast room, so as to enrich the variety of the virtual gift through the text virtual gift, more appropriately express the emotion of the user, and improve the enthusiasm of the user for the anchor delivery.
In one embodiment, the content presentation module 120 includes: the device comprises a list generating unit and a list display unit; the list generating unit is used for receiving a selection instruction of the content type of the text virtual gift, extracting matched text content according to the selection instruction and generating a text content list; and the list display unit is used for displaying the text content list at the specified position of the virtual gift bar.
In one embodiment, the gift composition module 140 includes: a target position identification unit and a gift composition unit; the target position identification unit is used for identifying the target position of the character virtual gift displayed on the video picture anchor image; and the gift synthesizing unit is used for sending the target position to a rendering layer, and synthesizing and displaying the target position according to the display template of the character virtual gift.
In one embodiment, the target position identifying unit includes: the system comprises a characteristic region acquisition subunit, a first position identification subunit and a target position determination subunit; the characteristic region acquisition subunit is used for acquiring a characteristic region displayed in the video picture corresponding to the text virtual gift according to the text virtual gift identifier; the first position identification subunit is used for identifying at least two characteristic key points and first positions of the anchor face images in the video pictures; and the target position determining subunit is used for determining the target position of the text virtual gift synthesized on the video picture according to the first position and the relative position relationship between the characteristic key point and the characteristic area.
In one embodiment, the target position determining subunit is used for determining the relative orientation of the feature region relative to any feature key point; and determining the target position of the virtual text gift on the video picture according to the proportional relation between the second position distance and the first position distance between the feature region and any feature key point based on the relative orientation and the position information of the feature key point.
In one embodiment, the gift composition module 140 includes: the system comprises a gift caching module, a gift merging module and a special effect display module; the gift caching module is used for storing the target character virtual gift in a caching queue according to the presentation time of the target character virtual gift; the gift merging module is used for merging the target character virtual gifts with virtual values lower than the preset value in the cache queue when the number of the target character virtual gifts in the cache queue reaches a preset number threshold value; and the special effect display module is used for displaying the gift special effects corresponding to the combined number of the target character virtual gifts.
In one embodiment, the live broadcast room is a multi-user live broadcast room; the gift-acquiring module 130 includes: a target anchor determining unit and a gift giving unit; the target anchor determining unit is used for acquiring the sliding operation of the user on the target character virtual gift and determining the target anchor from the multi-player anchors according to the sliding track; and the gift giving unit is used for giving the target character virtual gift to the target anchor.
In an embodiment, the target anchor determining unit is configured to extract a target key point of the sliding track, and determine the sliding direction according to the target key point; and determining the target anchor by using the azimuth angle range to which the sliding direction belongs based on the azimuth angle range of each anchor.
In an embodiment, the target anchor determining unit is configured to obtain a termination point of the sliding track, and determine a position of the termination point on the multi-user live broadcast interface; and determining the target anchor by using the area range to which the position of the termination point belongs based on the area range of each anchor.
In one embodiment, the apparatus for presenting a text virtual gift comprises: a gift matching module; the gift matching module is used for acquiring the characteristic information of the current live broadcast room through the live broadcast room and matching the corresponding text virtual gift from the virtual gift content library according to the characteristic information.
In an embodiment, the characteristic information includes at least one of a live scene type of a live room, anchor gender information, anchor rating, and anchor facial action information.
The following describes in detail embodiments related to the presentation device of the literal virtual gift.
Fig. 20 is a schematic structural diagram of a virtual gift-presenting device according to an embodiment of the present invention, which is applied to a virtual gift-presenting device, such as a server. As shown in fig. 20, the text virtual gift giving device 500 includes: a gift issuing module 510, a type receiving module 520, a gift giving module 530, and a template issuing module 540.
The gift issuing module 510 is configured to issue a text virtual gift to a client, so that the client displays the text virtual gift on a virtual gift bar; a type receiving module 520, configured to receive a content type of a virtual text gift selected by a user from the client, and display, by the client, a text content list matching the content type of the virtual text gift; a gift giving module 530, configured to obtain a target text content selected from the text content list as a target text virtual gift, and give the target text virtual gift to a target anchor; the template issuing module 540 is configured to issue a display template of the virtual text gift to a client, and synthesize the target virtual text gift at a target position of a video image anchor image through the client to perform rendering display.
When the device for presenting a virtual gift provided by the above embodiment executes the method for presenting a virtual gift provided by any of the above embodiments, the device has corresponding functions and advantages.
The embodiment of the invention also provides a device for giving the virtual text gift, which comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor, wherein when the processor executes the program, the method for giving the virtual text gift is realized.
Optionally, the giving device of the virtual gift may be a mobile terminal, a tablet computer, a server, or the like. When the presenting device of the virtual gift provided by the embodiment executes the presenting method of the virtual gift provided by any embodiment, the presenting device of the virtual gift has corresponding functions and beneficial effects.
An embodiment of the present invention further provides a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform a method for giving a text virtual gift, including:
receiving a character virtual gift sent by a live broadcast room, and displaying the character virtual gift through a virtual gift bar;
determining the content type of the virtual text gift selected by the user, and displaying a text content list matched with the content type of the virtual text gift;
acquiring target text contents selected from the text content list as target text virtual gifts, and presenting the target text virtual gifts to a target anchor through the live broadcast room;
and synthesizing the target character virtual gift to a target position of a video picture anchor image for rendering display according to a display template of the character virtual gift issued by a live broadcast room.
The computer-executable instructions, when executed by a computer processor, for performing a method of gifting a textual virtual gift, further comprising:
issuing a literal virtual gift to a client, so that the client displays the literal virtual gift on a virtual gift bar;
receiving the content type of the virtual text gift selected by the user and sent by the client, and displaying a text content list matched with the content type of the virtual text gift through the client;
acquiring target text contents selected from the text content list as target text virtual gifts, and giving the target text virtual gifts to a target anchor;
and the target character virtual gifts are synthesized to the target positions of the video picture anchor images through the client side to be rendered and displayed by the display template of the character virtual gifts issued to the client side.
Of course, the storage medium containing the computer-executable instructions provided by the embodiments of the present invention is not limited to the above-mentioned operations of the method for presenting a text virtual gift, and may also perform related operations in the method for presenting a text virtual gift provided by any embodiments of the present invention, and has corresponding functions and advantages.
From the above description of the embodiments, it is obvious for those skilled in the art that the present invention can be implemented by software and necessary general hardware, and certainly, can also be implemented by hardware, but the former is a better embodiment in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which may be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes instructions for enabling a computer device (which may be a personal computer, a server, or a network device) to execute the method for giving a text virtual gift according to any embodiment of the present invention.
It should be understood that, although the steps in the flowcharts of the figures are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and may be performed in other orders unless explicitly stated herein. Moreover, at least a portion of the steps in the flow chart of the figure may include multiple sub-steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, which are not necessarily performed in sequence, but may be performed alternately or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
The foregoing is only a partial embodiment of the present application, and it should be noted that, for those skilled in the art, several modifications and decorations can be made without departing from the principle of the present application, and these modifications and decorations should also be regarded as the protection scope of the present application.

Claims (16)

1. A method for presenting a text virtual gift is characterized by comprising the following steps:
responding to a display instruction of the literal virtual gift, and displaying a content type corresponding to the literal virtual gift through a virtual gift bar; the text virtual gift is a gift presented in a text style;
responding to the selection operation of the user on the virtual gift bar on the control of the content type of the literal virtual gift, and displaying a literal content list matched with the content type of the literal virtual gift selected by the user;
acquiring target text contents selected from the text content list as target text virtual gifts, and giving the target text virtual gifts to a target anchor;
and synthesizing the target character virtual gift to a target position of a video picture anchor image for rendering display according to a display template of the character virtual gift issued by a live broadcast room.
2. The method for giving a textual virtual gift according to claim 1, wherein the step of presenting a textual content list matching the content type of the textual virtual gift selected by the user in response to the user's selection of the control of the content type of the textual virtual gift on the virtual gift certificate comprises:
receiving a selection instruction of the content type of the text virtual gift, extracting matched text content according to the selection instruction, and generating a text content list;
and displaying the text content list at the specified position of the virtual gift box.
3. The method for presenting a text virtual gift as claimed in claim 1, wherein the step of synthesizing the target text virtual gift into a target position of a video interface anchor image for rendering and displaying according to a display template of the text virtual gift delivered from a live broadcast room comprises:
identifying a target position of the text virtual gift displayed on the video picture anchor image;
and sending the target position to a rendering layer, and synthesizing and displaying the target position according to the display template of the virtual text gift.
4. The method of claim 3, wherein the step of identifying the target position of the textual virtual gift presented on the video picture anchor image comprises:
acquiring a characteristic area displayed in the video picture corresponding to the character virtual gift according to the character virtual gift identification;
identifying at least two characteristic key points and a first position of a main broadcasting face image in the video picture;
and determining the target position of the text virtual gift synthesized on the video picture according to the first position and the relative position relation between the characteristic key point and the characteristic area.
5. The method for presenting a textual virtual gift according to claim 4, wherein the step of determining a target position of the textual virtual gift composed on the video screen according to the first position and the relative position relationship between the feature key point and the feature area comprises:
determining the relative orientation of the feature region with respect to any of the feature keypoints;
and determining the target position of the virtual text gift on the video picture according to the proportional relation between the second position distance and the first position distance between the feature region and any feature key point based on the relative orientation and the position information of the feature key point.
6. The method for giving a text virtual gift as claimed in claim 1, wherein the step of composing the target text virtual gift at a target position of a video image on a video screen anchor image for rendering display comprises:
storing the target character virtual gift in a cache queue according to the presentation time of the target character virtual gift;
when the number of the target character virtual gifts in the cache queue reaches a preset number threshold value, merging the target character virtual gifts with virtual values lower than preset values in the cache queue;
and displaying the gift special effect corresponding to the number according to the number of the merged target character virtual gifts.
7. The method of giving a literal virtual gift according to claim 1, characterized in that the live broadcast room is a multi-person live broadcast room;
the step of giving the target text virtual gift to the target anchor through the live broadcast room comprises the following steps:
acquiring sliding operation of a user on the target character virtual gift, and determining a target anchor from a multi-player anchor according to a sliding track;
and giving the target text virtual gift to the target anchor.
8. The method for giving away a textual virtual gift according to claim 7, wherein the step of determining the target anchor from the multi-player live interface according to the slide track comprises:
extracting target key points of the sliding track, and determining a sliding direction according to the target key points;
and determining the target anchor by using the azimuth angle range to which the sliding direction belongs based on the azimuth angle range of each anchor.
9. The method for giving away a textual virtual gift according to claim 7, wherein the step of determining the target anchor from the multi-player live interface according to the slide track comprises:
obtaining a termination point of the sliding track, and determining the position of the termination point on the multi-user live broadcast interface;
and determining the target anchor by using the area range to which the position of the termination point belongs based on the area range of each anchor.
10. The method for presenting a textual virtual gift according to claim 1, wherein the step of receiving a textual virtual gift delivered from a live broadcast is preceded by the steps of:
and acquiring the characteristic information of the current live broadcast room through the live broadcast room, and matching the corresponding text virtual gift from the virtual gift content library according to the characteristic information.
11. The method of giving a literal virtual gift as claimed in claim 10, wherein said characteristic information includes at least one of a live scene type of a live room, anchor gender information, anchor rating, and anchor facial action information.
12. A method for presenting a text virtual gift is characterized by comprising the following steps:
receiving a display instruction of the virtual text gift, and issuing the virtual text gift to a client, so that the client displays a content type corresponding to the virtual text gift on a virtual gift bar; the text virtual gift is a gift presented in a text style;
receiving the content type of the virtual text gift selected by the user and sent by the client, and displaying a text content list matched with the content type of the virtual text gift selected by the user through the client;
acquiring target text contents selected from the text content list as target text virtual gifts, and giving the target text virtual gifts to a target anchor;
and the target character virtual gifts are synthesized to the target positions of the video picture anchor images through the client side to be rendered and displayed by the display template of the character virtual gifts issued to the client side.
13. A presentation device for a textual virtual gift, comprising:
the gift receiving module is used for responding to a display instruction of the character virtual gift and displaying a content type corresponding to the character virtual gift through a virtual gift bar; the text virtual gift is a gift presented in a text style;
the content display module is used for responding to the selection operation of the user on the control of the content type of the character virtual gift on the virtual gift bar and displaying a character content list matched with the content type of the character virtual gift selected by the user;
a gift acquisition module, configured to acquire a target text content selected from the text content list as a target text virtual gift, and present the target text virtual gift to a target anchor;
and the gift synthesizing module is used for synthesizing the target character virtual gift to a target position of the video picture anchor image for rendering display according to the display template of the character virtual gift issued by the live broadcast room.
14. A presentation device for a textual virtual gift, comprising:
the gift issuing module is used for receiving a display instruction of the character virtual gift and issuing the character virtual gift to the client so that the client displays the content type corresponding to the character virtual gift on a virtual gift bar; the text virtual gift is a gift presented in a text style;
the type receiving module is used for receiving the content type of the virtual text gift selected by the user and sent by the client and displaying a text content list matched with the content type of the virtual text gift selected by the user through the client;
the gift giving module is used for acquiring target text contents selected from the text content list as target text virtual gifts and giving the target text virtual gifts to a target anchor;
and the template issuing module is used for issuing a display template of the virtual text gifts to a client, and synthesizing the target virtual text gifts to a target position of the video picture anchor image through the client for rendering and displaying.
15. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the steps of the method of giving a textual virtual gift according to any one of claims 1-12 when executing the program.
16. A storage medium containing computer-executable instructions for performing the steps of the method of gifting a textual virtual gift recited in any one of claims 1-12 when executed by a computer processor.
CN201911243383.4A 2019-12-06 2019-12-06 Method, device, equipment and storage medium for presenting text virtual gift Active CN111698523B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201911243383.4A CN111698523B (en) 2019-12-06 2019-12-06 Method, device, equipment and storage medium for presenting text virtual gift
PCT/CN2020/113376 WO2021109652A1 (en) 2019-12-06 2020-09-04 Method and apparatus for giving character virtual gift, device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911243383.4A CN111698523B (en) 2019-12-06 2019-12-06 Method, device, equipment and storage medium for presenting text virtual gift

Publications (2)

Publication Number Publication Date
CN111698523A CN111698523A (en) 2020-09-22
CN111698523B true CN111698523B (en) 2021-11-12

Family

ID=72476165

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911243383.4A Active CN111698523B (en) 2019-12-06 2019-12-06 Method, device, equipment and storage medium for presenting text virtual gift

Country Status (2)

Country Link
CN (1) CN111698523B (en)
WO (1) WO2021109652A1 (en)

Families Citing this family (29)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112087645B (en) * 2020-09-30 2022-12-02 广州繁星互娱信息科技有限公司 Virtual article presenting method, device, terminal and storage medium
CN112437338B (en) * 2020-11-24 2022-01-04 腾讯科技(深圳)有限公司 Virtual resource transfer method, device, electronic equipment and storage medium
CN114827637B (en) * 2021-01-21 2024-05-31 北京陌陌信息技术有限公司 Virtual customization gift display method, system, equipment and storage medium
CN113392268B (en) * 2021-03-31 2024-07-23 百果园技术(新加坡)有限公司 Special effect text rendering method and device, electronic equipment and storage medium
CN114501041B (en) * 2021-04-06 2023-07-14 抖音视界有限公司 Special effect display method, device, equipment and storage medium
CN113128906B (en) * 2021-05-11 2024-02-27 广州博冠信息科技有限公司 Live broadcast data processing method and device, electronic equipment and computer readable medium
CN113286164B (en) * 2021-05-26 2023-03-17 广州市百果园网络科技有限公司 Display method, device and equipment based on live broadcast and storage medium
CN113438490A (en) * 2021-05-27 2021-09-24 广州方硅信息技术有限公司 Live broadcast interaction method, computer equipment and storage medium
CN113448466B (en) * 2021-07-09 2023-06-20 腾讯科技(深圳)有限公司 Animation display method, device, electronic equipment and storage medium
CN113518239A (en) * 2021-07-09 2021-10-19 珠海云迈网络科技有限公司 Live broadcast interaction method and system, computer equipment and storage medium thereof
CN113596603B (en) * 2021-07-28 2023-03-21 北京达佳互联信息技术有限公司 Virtual article display control method, virtual article display method and device
CN113596504A (en) * 2021-08-05 2021-11-02 广州方硅信息技术有限公司 Live broadcast room virtual gift presenting method and device and computer equipment
CN113727132A (en) * 2021-08-31 2021-11-30 广州方硅信息技术有限公司 Virtual gift display method, server, storage medium and computer device
CN113727129B (en) * 2021-08-31 2023-06-13 广州方硅信息技术有限公司 Live interaction method, device, system, equipment and storage medium
CN113747225A (en) * 2021-09-01 2021-12-03 北京达佳互联信息技术有限公司 Interface processing method and device, electronic equipment and computer readable storage medium
CN113992927B (en) * 2021-10-22 2024-05-24 广州方硅信息技术有限公司 Method and device for generating secondary virtual gift, electronic equipment and storage medium
CN114071177B (en) * 2021-11-16 2023-09-26 网易(杭州)网络有限公司 Virtual gift sending method and device and terminal equipment
CN114390362B (en) * 2022-01-05 2024-04-05 武汉斗鱼鱼乐网络科技有限公司 Interaction information processing method of live broadcasting room, live broadcasting client and live broadcasting server
CN114125490B (en) * 2022-01-19 2023-09-26 阿里巴巴(中国)有限公司 Live broadcast playing method and device
CN114501103B (en) * 2022-01-25 2023-05-23 腾讯科技(深圳)有限公司 Live video-based interaction method, device, equipment and storage medium
CN114760531B (en) * 2022-03-31 2024-03-12 广州方硅信息技术有限公司 Team interaction method, device, system, equipment and storage medium for live broadcasting room
CN117640516A (en) * 2022-08-09 2024-03-01 抖音视界有限公司 Message processing method, device, electronic equipment and storage medium
CN115914753A (en) * 2022-10-10 2023-04-04 北京达佳互联信息技术有限公司 Data processing method and device, electronic equipment and storage medium
CN115883911A (en) * 2022-12-01 2023-03-31 广州方硅信息技术有限公司 Method and device for displaying gift information of live broadcast room, electronic equipment and storage medium
CN115967839B (en) * 2022-12-30 2024-10-29 北京华心维联网络科技有限公司 Live gift recommendation method and device
CN116132702A (en) * 2022-12-30 2023-05-16 广州方硅信息技术有限公司 Method, device and equipment for processing giving of virtual gift in virtual reality live broadcasting room
CN116095387A (en) * 2023-01-05 2023-05-09 北京达佳互联信息技术有限公司 Information display method and device, electronic equipment and storage medium
JP7540614B1 (en) 2024-03-28 2024-08-27 株式会社セガ PROGRAM AND INFORMATION PROCESSING APPARATUS
JP7540612B1 (en) 2024-03-28 2024-08-27 株式会社セガ PROGRAM AND INFORMATION PROCESSING APPARATUS

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102722334A (en) * 2012-06-06 2012-10-10 中兴通讯股份有限公司 Control method and device of touch screen
CN106709762A (en) * 2016-12-26 2017-05-24 乐蜜科技有限公司 Virtual gift recommendation method, virtual gift recommendation device used in direct broadcast room, and mobile terminal
CN107040822A (en) * 2017-03-22 2017-08-11 北京潘达互娱科技有限公司 Virtual gift display method and system
CN107483892A (en) * 2017-09-08 2017-12-15 北京奇虎科技有限公司 Video data real-time processing method and device, computing device
CN110493630A (en) * 2019-09-11 2019-11-22 广州华多网络科技有限公司 The treating method and apparatus of virtual present special efficacy, live broadcast system

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040226047A1 (en) * 2003-05-05 2004-11-11 Jyh-Bor Lin Live broadcasting method and its system for SNG webcasting studio
CN106454481B (en) * 2016-09-30 2019-08-23 广州华多网络科技有限公司 A kind of method and device of live broadcast of mobile terminal interaction
CN106658035A (en) * 2016-12-09 2017-05-10 武汉斗鱼网络科技有限公司 Dynamic display method and device for special effect gift
CN109391851B (en) * 2018-01-09 2020-04-07 深圳市珍爱网信息技术有限公司 Video live broadcast method and device, computer equipment and storage medium
CN110475150B (en) * 2019-09-11 2021-10-08 广州方硅信息技术有限公司 Rendering method and device for special effect of virtual gift and live broadcast system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102722334A (en) * 2012-06-06 2012-10-10 中兴通讯股份有限公司 Control method and device of touch screen
CN106709762A (en) * 2016-12-26 2017-05-24 乐蜜科技有限公司 Virtual gift recommendation method, virtual gift recommendation device used in direct broadcast room, and mobile terminal
CN107040822A (en) * 2017-03-22 2017-08-11 北京潘达互娱科技有限公司 Virtual gift display method and system
CN107483892A (en) * 2017-09-08 2017-12-15 北京奇虎科技有限公司 Video data real-time processing method and device, computing device
CN110493630A (en) * 2019-09-11 2019-11-22 广州华多网络科技有限公司 The treating method and apparatus of virtual present special efficacy, live broadcast system

Also Published As

Publication number Publication date
WO2021109652A1 (en) 2021-06-10
CN111698523A (en) 2020-09-22

Similar Documents

Publication Publication Date Title
CN111698523B (en) Method, device, equipment and storage medium for presenting text virtual gift
CN111010585B (en) Virtual gift sending method, device, equipment and storage medium
CN111031334A (en) Recommendation method, device and equipment for text virtual gift content and storage medium
KR102053128B1 (en) Live streaming image generating method and apparatus, live streaming service providing method and apparatus, live streaming system
US8963926B2 (en) User customized animated video and method for making the same
CN111147877B (en) Virtual gift presenting method, device, equipment and storage medium
CN110868635B (en) Video processing method and device, electronic equipment and storage medium
CN107911736B (en) Live broadcast interaction method and system
CN111246232A (en) Live broadcast interaction method and device, electronic equipment and storage medium
WO2013120851A1 (en) Method for sharing emotions through the creation of three-dimensional avatars and their interaction through a cloud-based platform
CN108109010A (en) A kind of intelligence AR advertisement machines
CN111586426B (en) Panoramic live broadcast information display method, device, equipment and storage medium
CN114025188B (en) Live advertisement display method, system, device, terminal and readable storage medium
CN111314730A (en) Virtual resource searching method, device, equipment and storage medium for live video
CN108683954A (en) Pop-up animation producing method and device, pop-up animation, network direct broadcasting server
CN108769775A (en) Data processing method and device, network direct broadcasting system in network direct broadcasting
CN114979682B (en) Method and device for virtual live broadcasting of multicast
CN112866577B (en) Image processing method and device, computer readable medium and electronic equipment
JP2023115840A (en) Information processing system, information processing method and information processing program
KR102149035B1 (en) Advertising page creation and management system for performance marketing
KR102384182B1 (en) Method, apparatus and computer program for providing bidirectional interaction broadcasting service with viewer participation
CN108573056B (en) Content data processing method and device, electronic equipment and storage medium
CN115086693A (en) Virtual object interaction method and device, electronic equipment and storage medium
KR102561198B1 (en) Platform system usiing contents, method for manufacturing image output based on augmented reality
CN114584824A (en) Data processing method and system, electronic equipment, server and client equipment

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
TA01 Transfer of patent application right

Effective date of registration: 20210113

Address after: 511442 3108, 79 Wanbo 2nd Road, Nancun Town, Panyu District, Guangzhou City, Guangdong Province

Applicant after: GUANGZHOU CUBESILI INFORMATION TECHNOLOGY Co.,Ltd.

Address before: 29th floor, building B-1, Wanda Plaza, Wanbo business district, Nancun Town, Panyu District, Guangzhou City, Guangdong Province

Applicant before: GUANGZHOU HUADUO NETWORK TECHNOLOGY Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant