WO2021109650A1 - 虚拟礼物的发送方法、装置、设备及存储介质 - Google Patents
虚拟礼物的发送方法、装置、设备及存储介质 Download PDFInfo
- Publication number
- WO2021109650A1 WO2021109650A1 PCT/CN2020/113129 CN2020113129W WO2021109650A1 WO 2021109650 A1 WO2021109650 A1 WO 2021109650A1 CN 2020113129 W CN2020113129 W CN 2020113129W WO 2021109650 A1 WO2021109650 A1 WO 2021109650A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- virtual gift
- target
- gift
- virtual
- sliding
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/21—Server components or server architectures
- H04N21/218—Source of audio or video content, e.g. local disk arrays
- H04N21/2187—Live feed
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/431—Generation of visual interfaces for content selection or interaction; Content or additional data rendering
- H04N21/4312—Generation 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/435—Processing of additional data, e.g. decrypting of additional data, reconstructing software from modules extracted from the transport stream
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/472—End-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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/475—End-user interface for inputting end-user data, e.g. personal identification number [PIN], preference data
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/478—Supplemental services, e.g. displaying phone caller identification, shopping application
- H04N21/4788—Supplemental services, e.g. displaying phone caller identification, shopping application communicating with other users, e.g. chatting
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/81—Monomedia components thereof
Definitions
- the embodiments of this application relate to the field of live broadcast technology. Specifically, this application relates to a method, device, device, and storage medium for sending virtual gifts.
- the current webcasting method can be carried out by one or more anchors, and the audience can watch the live broadcast.
- the audience and the anchor can communicate and interact through voice, video, text, and pictures.
- one host can conduct the live broadcast, or multiple hosts can conduct the live broadcast at the same time.
- the user sends a virtual gift "hat” to user B in a multi-person live broadcast to synthesize the effect of "wearing a hat” on the head of user B.
- the user sends a virtual gift "hat" to user B in a multi-person live broadcast to synthesize the effect of "wearing a hat” on the head of user B.
- users B and C on the live broadcast interface at the same time, it is impossible to identify the gift object of the virtual gift on the live broadcast screen during effect synthesis, which affects the display effect.
- the purpose of this application is to solve at least one of the above technical shortcomings, especially the problem that the multi-user live broadcast interface cannot accurately identify the gift recipient of the virtual gift.
- an embodiment of the present application provides a method for sending a virtual gift, which includes the following steps:
- the target virtual gift is presented to the target anchor, so as to synthesize the target virtual gift into the target position obtained by recognizing the anchor image of the video screen for rendering and display.
- an embodiment of the present application provides a virtual gift sending device, including:
- the gift icon display module is used to obtain the feature information of the current live broadcast room, match the corresponding virtual gift from the virtual gift content library according to the feature information, and display the gift icon of the virtual gift on the virtual gift area of the multiplayer live broadcast interface ;
- the virtual gift determination module is used to receive the user's selection operation of the gift icon on the virtual gift area and determine the target virtual gift;
- the target anchor determination module is configured to obtain the user's sliding operation on the target virtual gift, and determine the target anchor from the multi-person live broadcast interface according to the sliding track;
- the virtual gift giving module is configured to gift the target virtual gift to the target anchor, so as to synthesize the target virtual gift into the target position obtained by recognizing the anchor image of the video screen for rendering and display.
- an embodiment of the present application provides a virtual gift sending device, including a memory, a processor, and a computer program stored in the memory and running on the processor.
- the processor executes the program, the implementation is as follows: On the one hand, the steps of the method for sending a virtual gift described in any embodiment.
- an embodiment of the present application provides a storage medium containing computer-executable instructions, which when executed by a computer processor are used to execute the virtual gift of any one of the embodiments of the first aspect The steps of the sending method.
- the virtual gift sending method, device, device, and storage medium provided in the above embodiments obtain the feature information of the current live broadcast room, and match the corresponding virtual gift from the virtual gift content library according to the feature information.
- the gift icon is displayed on the virtual gift area; the user's selection operation of the gift icon on the virtual gift area is received to determine the target virtual gift; the user's sliding operation on the target virtual gift is obtained, and the target anchor is determined from the multiplayer live broadcast interface according to the sliding track ; Present the target virtual gift to the target anchor to synthesize the target virtual gift to the target position obtained by recognizing the anchor image of the video screen for rendering display, so as to realize the push of the virtual gift through the personalized characteristics of the live broadcast room, and improve The giving rate of the virtual gift pushed by the user.
- the target virtual gift is accurately identified on the multiplayer live broadcast interface, and the audience user only needs to make a sliding gesture to the target virtual gift, then the target anchor will be presented directly Virtual gifts, simple and fast.
- FIG. 1 is a schematic diagram of the framework of a webcast system provided by an embodiment
- FIG. 2 is a flowchart of a method for sending a virtual gift provided by an embodiment
- FIG. 3 is a schematic diagram of a first interface for sliding gifts on a multi-person live broadcast interface provided by an embodiment
- FIG. 4 is a schematic diagram of a live broadcast interface for text virtual gift giving provided by an embodiment
- FIG. 5 is a flowchart of a method for determining a target anchor provided by an embodiment
- FIG. 6 is another flowchart of a method for determining a target anchor provided by an embodiment
- FIG. 7 is a schematic diagram of a second interface for sliding gifts on a multi-person live broadcast interface provided by an embodiment
- FIG. 8 is a flowchart of a multi-touch sliding method for gift giving according to an embodiment
- FIG. 9 is a schematic diagram of a third interface for sliding gifts on a multi-person live broadcast interface provided by an embodiment
- FIG. 10 is a flowchart of a multi-gift sliding gift giving method provided by an embodiment
- FIG. 11 is a schematic diagram of a fourth interface for sliding gifts on a multi-person live broadcast interface provided by an embodiment
- Fig. 12 is a schematic structural diagram of a virtual gift sending device provided by an embodiment.
- the user interface, display interface, and live broadcast interface referred to in the present invention generally refer to the display interface that can be used to send the control instruction to the smart terminal.
- the display interface may be the settings of the Android/IOS/Windows Phone system.
- An option on the page (or a button, which is added by the application, the same below), it can also be an option in the notification bar called from the desktop or an interactive page, or it can be an active component of the application.
- An option in the constructed page is an option in the notification bar called from the desktop or an interactive page, or it can be an active component of the application.
- FIG. 1 is a schematic diagram of the framework of the webcast system provided by an embodiment.
- the system framework may include a server and a client.
- the client includes one or For multiple anchor clients 10 and multiple audience clients 20, the live broadcast platform on the server may include multiple virtual live studios and servers 30, etc., wherein each anchor 110 and each viewer 120 are connected to the server 30 respectively.
- each virtual live room correspondingly plays different live content
- the host uses the host client 10 to perform the live broadcast, and the viewer selects to enter a certain virtual live room through the viewer client 20 to watch the host to perform the live broadcast.
- the audience client 20 and the host client 10 can enter the live broadcast platform through a live broadcast application (Application, APP) installed on the terminal device.
- APP live broadcast application
- the host 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, which is not limited.
- the server 30 is a background server used to provide background services for terminal devices, and can be implemented by an independent server or a server cluster composed of multiple servers. In an embodiment, the server 30 may be a webcast platform.
- the method for sending virtual gifts provided in the embodiments of the present application is suitable for the scenario of sliding gifts to the host, especially for the scenario of sending gifts to one or more selected hosts on the multi-person live broadcast interface.
- the multi-person live broadcast interface may be a multi-person live broadcast interface that presents hosts in different live broadcast rooms in a connected state, or a multi-person live broadcast interface in which there are multiple anchors in the same live room.
- the method for sending virtual gifts provided in this embodiment is suitable for sliding gifts to an anchor on a single-person live broadcast interface.
- FIG. 2 is a flowchart of a method for sending a virtual gift provided by an embodiment.
- the method for sending a virtual gift can be executed on a virtual gift sending device.
- the virtual gift sending device is an audience client as an example for the following technology The plan is explained.
- the method for sending the virtual gift may include the following steps:
- the feature information of the live room can be the feature information used to characterize the parameters corresponding to the live room.
- the feature information of the live room can be the type of the live broadcast scene in the live room, the gender information of the host corresponding to the live room, the host level, and the host during the live broadcast. At least one of facial motion information and the like.
- the live broadcast scene type can be game scene type, singing scene type, dancing scene type, talk show scene type, etc.
- the anchor gender information can be male and female; the higher the anchor's experience value, the higher the anchor level; the anchor's face
- the action information can be different facial action information such as smile, laugh, cry, frown, etc.
- the feature information of the live broadcast room is different, and the corresponding virtual gift content matched from the virtual gift content library is also different.
- the live broadcast scene type in the live broadcast room if it is a game live broadcast scene type, match virtual gift content related to the game from the virtual gift content library, such as "win one more game", "come on” and other text virtual gift content.
- the virtual gift content related to singing is matched from the virtual gift content library, such as the text virtual gift content such as "sound like a oriole" and "sing another song”.
- the anchors in the live broadcast room are all female, the corresponding virtual gifts are all female-oriented virtual gifts.
- the gift rate increases the enthusiasm of users to give virtual gifts to the anchor.
- At least two anchor characters are displayed on the live broadcast interface.
- a viewer user is watching a multi-person live broadcast through the viewer client installed on the mobile terminal, he can click on a specific area of the viewer client, which can be the "expand” function button, or click the "gift” graphic icon to expand the virtual gift area In the virtual gift inventory of, various virtual gift icons are displayed.
- the virtual gift area is used to display virtual gift icons, and the virtual gift icons are used to indicate virtual gifts of different styles.
- the virtual gifts may include text virtual gifts and graphic virtual gifts.
- a text virtual gift refers to a gift presented in a text style, such as a text virtual gift presented in the text style "beautiful as a flower".
- a graphic virtual gift refers to a gift presented in a graphic style.
- the graphic style can be a static graphic style. It can also be a dynamic graphic style, for example, the "mask” corresponds to the mask graphic, and the "snowflake” corresponds to the snowflake graphic with dynamic actions such as the rotation and falling of the snowflake.
- S120 Receive the user's selection operation of the gift icon on the virtual gift area, and determine the target virtual gift.
- the user can perform selection operations such as clicking, long pressing, and sliding on the gift icon on the virtual gift area.
- the user can touch and select the gift icon on the virtual gift area through the touch screen, and make clicks, long presses, and slides through the finger or the touchpad.
- the selected gift icon determines the target virtual gift.
- the user can select one target virtual gift or multiple target virtual gifts through a selection operation. Further, the user can select a target virtual gift by tapping, or by long-pressing to call up multiple virtual gift selection instructions, so that the virtual gift area presents the virtual gift waiting state, and the user clicks in turn
- the virtual gift icon is used to select multiple virtual gifts; in other embodiments, the user selects multiple gift icons in the virtual gift area sequentially by sliding to determine the multiple virtual gifts as the target virtual gift.
- a sliding operation is performed to give the virtual gift.
- identify and obtain the user's sliding operation on the target virtual gift generate the corresponding sliding track, and extract the sliding parameters corresponding to the sliding track, such as the sliding speed, the sliding direction, the sliding position, the starting point and the ending point of the sliding, etc.
- the user long presses the target virtual gift and drags the target virtual gift from the virtual gift area to the video area to make a sliding operation of the target virtual gift.
- the target anchor is determined from the multiplayer live interface according to the sliding track.
- the anchor corresponding to the ending point of the sliding track can be determined as the target anchor.
- anchor A is used as the target anchor; the anchor to which the sliding direction belongs can also be determined as The target host, for example, if the sliding direction is 45° and is within the angle range (0,90°) corresponding to the B host, then the B host will be the target host.
- Fig. 3 is a schematic diagram of a first interface for sliding gifts on a multi-person live broadcast interface provided by an embodiment.
- a solution for determining a target anchor from the multi-person live broadcast interface according to the sliding direction will be explained.
- the user selects the target virtual gift from the virtual gift area (equivalent to the virtual gift bar), such as "Gift 5", and then makes a sliding operation to present the user B with "Gift 5".
- the sliding direction points to the location of a certain user, the user is regarded as the target anchor, and referring to FIG. 3, the sliding direction of the sliding track points to the location of the B user, and then the B user is regarded as the target anchor.
- S140 Present the target virtual gift to the target anchor, so as to synthesize the target virtual gift into a target position obtained by recognizing the anchor image of the video screen for rendering and display.
- the target virtual gift is presented to the target anchor.
- the target virtual gift is synthesized on the target location corresponding to the target anchor according to the characteristic attributes of the target virtual gift.
- the target virtual gift is synthesized to the target position obtained by recognizing the host image of the video screen for rendering and display.
- the display template refers to a template for displaying a virtual gift on a video screen, which may include the color, shape, special effects, and display duration of the gift during the display.
- each type of virtual gift corresponds to a different display template, or each type of virtual gift may have the same display template but different content.
- the client After the client selects the target virtual gift, it obtains the characteristic area corresponding to the target virtual gift, recognizes the anchor image in the video screen, determines the target location of the characteristic area on the video screen, and then synthesizes the target virtual gift into the target virtual gift according to the display template corresponding to the target virtual gift. At the target location, a virtual gift special effect is obtained, and the virtual gift special effect is rendered in the video area, so that the user can watch the special effect of the text virtual gift.
- the virtual gift sending method obtains the feature information of the current live broadcast room, matches the corresponding virtual gift from the virtual gift content library according to the feature information, and displays the gift icon on the virtual gift area of the multiplayer live broadcast interface. ; Receive the user's selection operation of the gift icon on the virtual gift area to determine the target virtual gift; obtain the user's sliding operation on the target virtual gift, and determine the target anchor from the multiplayer live broadcast interface according to the sliding track; present the target virtual gift to The target host is to synthesize the target virtual gift to the target position obtained by recognizing the host image of the video screen for rendering display, so as to realize the push of virtual gifts through the personalized characteristics of the live broadcast room, and improve the user’s response to the pushed virtual gifts.
- the gift rate is to accurately identify the gift object of the target virtual gift on the multiplayer live broadcast interface through the sliding operation, and the audience user only needs to make a sliding gesture to the target virtual gift, and the virtual gift is directly presented to the target anchor, which is simple and fast.
- the method for sending virtual gifts provided in this application can be applied to the sending of graphic virtual gifts, and can also be applied to the sending of text virtual gifts.
- the following takes text virtual gifts as an example to illustrate this solution.
- the process of receiving the user's selection operation of the gift icon on the virtual gift area in step S120, and determining the target virtual gift may include the following steps:
- a text virtual gift it may be a gift presented in a text style, such as a text virtual gift presented in a text style of "beautiful as a flower".
- the user triggers the display instruction of the text virtual gift through the viewer client, and requests the text virtual gift from the live broadcast room.
- the live broadcast receives the display instruction indirectly, it obtains the text virtual gift in the live broadcast room and sends it to the audience client.
- the audience client receives the text virtual gift issued in the live broadcast room, and displays it through the virtual gift bar.
- the virtual gift bar when the display instruction is not received, the virtual gift bar is hidden, and after the display instruction is received, the virtual gift bar is expanded on the live broadcast interface.
- the virtual gift bar can support page turning. If you swipe left and right to turn pages to the left or right, slide up and down to turn pages up or down.
- the content types can be presented in the form of graphic information or text information.
- the content type may include holiday blessings, words of praise, and everyday language, etc.
- different content types correspond to different text content lists.
- a selection instruction for the content type of the text virtual gift is received, and the matching text content is extracted according to the selection instruction to generate a text content list; the text content list is displayed at a designated position in the virtual gift column.
- 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, and according to the selection instruction, the server where the live broadcast room is located extracts the content type that matches the selected content type Integrate these text content to generate a text content list.
- the audience client receives the text content list, a corresponding window pops up in the designated position of the virtual gift bar to display the text content list.
- the designated position may be a window suspended above the virtual gift bar, or may be set in other positions on the live broadcast interface.
- Fig. 4 is a schematic diagram of a live broadcast interface for text virtual gift giving provided by an embodiment.
- the user selects one content type from a plurality of different content types presented in the virtual gift bar 101, such as clicking the content type "praise” "Words", a window pops up above the virtual gift bar 101 to display the pre-configured text content list 102 corresponding to "like words", such as “Ice and Snow Smart", “A Smile”, “Beautiful as a Flower”, etc. .
- the text content list 102 supports scrolling display, such as displaying all text content in the text content list 102 in a horizontal scrolling manner.
- the text content list 102 may also include a custom content box. The user enters the text content by himself through the custom content box and saves the text content locally. When the user selects the content type again, the server push is displayed at the same time The text content and user-defined text content.
- the text content list 102 can be understood as a part of the virtual gift column 101. When the content type of the text virtual gift in the virtual gift column 101 is not clicked, the text content list 102 does not pop up. When the user clicks to select any content type of the text virtual gift in the virtual gift column 101, the corresponding text content list 102 pops up .
- the user selects one or more target text content from the text content list through touch or voice, and presents the target text content as a virtual gift of the target text to the target host through the live broadcast room.
- the position such as the composite above the head of the female anchor, shows the gift effect.
- the user after the user selects the content type of the text virtual gift, the user does not further select the text content from the text content list corresponding to the content type, but directly triggers the gift instruction.
- the attributes of the current live broadcast room are obtained.
- Information such as the host’s gender, host’s facial expressions, and the type of scene in the live room, based on the content type of the text virtual gift selected by the user, analyze the attribute information of the current live room, and automatically select from the text content list of the content type Match the most suitable one or more target text content.
- one or more target text content can be randomly selected according to the text content list of the content type. Give the target text content as a virtual gift of the target text to the target anchor through the live broadcast room.
- the technical solution provided in this embodiment displays a text content list matching the content type of the text virtual gift by selecting the content type of the text virtual gift in the virtual gift area; acquiring the target text content selected from the text content list as the target text
- the virtual gift is presented to the target anchor, so as to enrich the types of virtual gifts through text virtual gifts, express the user's feelings more appropriately, and improve the enthusiasm of the user for the anchor to give gifts.
- FIG. 5 is a flowchart of a method for determining a target anchor provided by an embodiment. As shown in FIG. 5, the method for determining a target anchor may include the following steps:
- the sliding operation made by the user on the terminal interface is recognized, the sliding parameters corresponding to the sliding operation, such as the sliding speed, the sliding direction, the sliding position, etc., are acquired, and the sliding trajectory is generated according to these sliding parameters.
- S202 Extract a target key point of the sliding track, and determine the sliding direction according to the target key point.
- the sliding trajectory is composed of a series of sliding trajectory points.
- the pixel points passed by the sliding trajectory can be used as the sliding trajectory points.
- the target key points of the sliding track are extracted to determine the sliding direction.
- the sliding trajectory points of the sliding trajectory obtained by extracting every set time interval can be used as the target key points.
- the starting point and the ending point of the sliding trajectory can be directly extracted as the target key points.
- the direction vector between these target key points can be calculated to determine the sliding direction of the sliding track. For example, the direction vector connecting the starting point and the ending point of the sliding track is determined as the sliding direction of the sliding track.
- the target anchor is determined by using the azimuth angle range to which the sliding direction belongs.
- the number of anchors in the multi-person live broadcast interface is obtained; according to the number of anchors, the azimuth angle range corresponding to each anchor is determined.
- the azimuth angle range corresponding to each anchor is different.
- the anchors are divided into equal angles. For example, on the two-person live broadcast interface, the azimuth angle range of each anchor is 90°.
- each anchor On the three-person broadcast interface, each anchor has a azimuth angle range of 90°.
- the anchor's azimuth angle range is 60° and so on.
- the target host given by the target virtual gift is determined by the sliding direction and the relative position range of each host on the live broadcast interface.
- the horizontal right is 0°
- the horizontal left is 180°.
- the azimuth angle range of the sliding direction is between (0°, 90)
- the The anchor on the right is determined as the target anchor.
- the azimuth angle range of the sliding direction is (90°, 180°)
- the anchor on the left is determined as the target anchor.
- the horizontal right is 0°
- the horizontal left is 180°.
- the azimuth angle range of the sliding direction is (0°, 60°)
- the anchor on the right is determined as the target anchor.
- the azimuth angle range of the sliding direction is (60°, 120°)
- the anchor in the middle is determined as the target anchor.
- the azimuth angle range of the sliding direction is within (120°, 180°)
- the anchor on the left is determined as the target anchor.
- Fig. 6 is another flowchart of a method for determining a target anchor provided by an embodiment.
- the step of determining a target anchor from the multi-person live broadcast interface according to a sliding track may include the following steps:
- the target text virtual gift is continuously dragged to the area where the target anchor is located on the live video screen, and then the sliding operation is released so that the end point of the sliding track falls on the The area where the target host is located.
- the audience client recognizes the sliding operation, recognizes the sliding track, extracts its end point, and determines the position coordinates of the end point.
- the target anchor is determined by using the area range to which the location of the termination point belongs.
- the termination point After obtaining the position coordinates of the termination point, determine which anchor's area the termination point belongs to, and determine the anchor corresponding to the area to which the termination point belongs as the target anchor.
- FIG. 7 is a schematic diagram of a second interface for sliding gifts on the multi-person live broadcast interface provided by an embodiment.
- a sliding operation is made with the gift icon where the target virtual gift is located as the starting point, and which host the sliding operation ends at In the area, the host will be the target host.
- the position of the target virtual gift in the virtual gift bar is taken as the starting point, and the sliding operation is performed without interruption, so that the end point Q of the sliding trajectory falls on user D In the area, user D is the target anchor.
- multiple different target virtual gifts may be selected at the same time, and the target virtual gifts may be sent to the same target host at the same time or to different target hosts.
- FIG. 8 is a flowchart of a multi-touch sliding gift giving method provided by an embodiment. As shown in FIG. 8, the virtual gift sending method can be implemented through the following steps:
- S301 Receive a user's selection operation of multiple gift icons on the virtual gift area in a multi-touch manner, and set multiple selected virtual gifts as target virtual gifts.
- the user selects multiple gift icons in the virtual gift area at the same time. For example, the user touches multiple gift icons in the selected virtual gift area with multiple fingers at the same time, and the virtual gift corresponding to the selected multiple gift icons is determined as the target virtual gift.
- S302 Obtain the user's sliding operation on each of the target virtual gifts, and determine the target anchor corresponding to the target virtual gift in the multi-person live broadcast interface according to the sliding track corresponding to each of the sliding operations.
- each target virtual gift selected by the touch operation generates corresponding sliding trajectories, and the sliding trajectories are independent of each other and do not interfere with each other.
- the target anchor on the multi-person live broadcast interface corresponding to the target virtual gift corresponding to the sliding track is determined.
- Fig. 9 is a schematic diagram of a third interface for sliding gifts in a multi-person live broadcast interface provided by an embodiment.
- the sliding track L1 corresponding to the target virtual gift 3 ie, "gift 3" in Fig. 9, the same below
- the host A on the left on the multiplayer live interface will be the target host corresponding to the target virtual gift 3
- the sliding track corresponding to the target virtual gift 4 ie "gift 4" in Figure 9, the same below
- the sliding direction of L2 is to the right, and the host B on the right on the multiplayer live broadcast interface is used as the target virtual gift 4 corresponding to the target host.
- the method for sending virtual gifts provided in this embodiment can simultaneously send different virtual gifts to different anchors on the multi-person live broadcast interface by sliding, which is simple, convenient and fast.
- FIG. 10 is a flow chart of a method for sliding gifts with multiple gifts provided by an embodiment. As shown in FIG. 10, the method for sending virtual gifts can be implemented through the following steps:
- S401 Receive a selection operation sequentially performed by a user on at least two gift icons on the virtual gift area, set multiple selected virtual gifts as target virtual gifts, and generate a target virtual gift queue.
- S402 Trigger a sliding operation on any gift icon in the target virtual gift queue.
- any gift icon on the target virtual gift queue is used as the starting point of the sliding operation, and the sliding operation is made to the video area on the multiplayer live interface to send the target virtual gift on the target virtual gift queue .
- the sliding trajectory corresponding to the sliding operation such as obtaining the starting point and ending point of the sliding trajectory, calculating the direction vector of the sliding trajectory from the starting point and ending point as the sliding direction of the sliding operation, based on the azimuth angle range of each anchor, using the sliding direction to belong
- the range of the azimuth angle determines the target anchor given by the target virtual gift queue.
- S404 Send the target virtual gift in the target virtual gift queue to the live screen of the target anchor along the sliding track.
- the target anchor After the target anchor is determined, the target anchor is determined along the sliding track corresponding to the sliding operation on the multiplayer live broadcast interface, and a sending track of the target virtual gift pointing to the target anchor is generated, and each target virtual gift is sent to the anchor along the sending track On the screen, optionally, each target virtual gift in the target virtual gift queue is sent to the target host's live broadcast screen in a leap according to the selected order, so as to enhance the display effect of the virtual gift sending.
- Figure 11 is a schematic diagram of the fourth interface of the multi-person live streaming interface provided by an embodiment for sliding gifts.
- the user makes a continuous sliding operation in the virtual gift bar to select "gift 1", “gift 2" and “gift 3" as the target virtual gift, generate a target virtual gift queue, make a sliding operation to user B as the target anchor, and send "gift 1", “gift 2” and “gift 3” to user B, thereby realizing continuous delivery of virtual gifts , Simple and fast.
- FIG. 12 is a schematic structural diagram of a virtual gift sending apparatus provided in an embodiment.
- the virtual gift sending apparatus in this embodiment is applied to a virtual gift sending device, such as a mobile terminal, on which a viewer client is installed.
- the virtual gift sending device 100 includes: a gift icon display module 110, a virtual gift determining module 120, a target anchor determining module 130, and a virtual gift giving module 140.
- the gift icon display module 110 is used to obtain the feature information of the current live broadcast room, match the corresponding virtual gift from the virtual gift content library according to the feature information, and display the virtual gift in the virtual gift area of the multiplayer live broadcast interface
- the gift icon used to receive the user's selection operation of the gift icon on the virtual gift area, to determine the target virtual gift
- the target anchor determination module 130 used to obtain the user's sliding operation on the target virtual gift , And determine the target anchor from the multi-person live broadcast interface according to the sliding track
- the virtual gift giving module 140 is used to gift the target virtual gift to the target anchor, so as to synthesize the target virtual gift into the target video screen
- the host image is rendered and displayed on the target position obtained by the recognition.
- the gift icon display module 110 matches the virtual gift from the virtual gift content library according to the feature information of the live broadcast room, and displays the gift icon on the virtual gift area of the multiplayer live broadcast interface; the virtual gift is determined
- the module 120 receives the user's selection operation of the gift icon on the virtual gift area to determine the target virtual gift;
- the target anchor determination module 130 obtains the user's sliding operation on the target virtual gift, and determines the target anchor from the multiplayer live broadcast interface according to the sliding track;
- the virtual gift giving module 140 presents the target virtual gift to the target anchor and performs the effect synthesis, so as to push the virtual gift through the personalized characteristics of the live broadcast room, improve the gift rate of the virtual gift, and accurately identify the target of the multiplayer live broadcast interface through the sliding operation
- the virtual gift is given to the object, and the audience user only needs to make a sliding gesture to the target virtual gift, and then the virtual gift is directly presented to the target anchor, which is simple and quick.
- the target anchor determining module 130 includes: a sliding track generating unit, a sliding direction determining unit, and a target anchor first determining unit; wherein the sliding track generating unit is used to obtain the user's sliding operation on the target virtual gift , Generate the corresponding sliding trajectory; the sliding direction determining unit is used to extract the target key points of the sliding trajectory, and determine the sliding direction according to the target key points; the target anchor first determining unit is used to determine the target anchor based on each of the anchors The azimuth angle range of the sliding direction, and the azimuth angle range to which the sliding direction belongs determines the target anchor.
- the virtual gift sending device further includes an anchor position determining module, which is used to obtain the number of anchors in the multi-person live broadcast interface; according to the number of anchors, determine the azimuth angle range corresponding to each of the anchors.
- an anchor position determining module which is used to obtain the number of anchors in the multi-person live broadcast interface; according to the number of anchors, determine the azimuth angle range corresponding to each of the anchors.
- the target anchor determination module 130 includes: a termination point acquisition unit and a target anchor second determination unit; wherein the termination point acquisition unit is configured to acquire the termination point of the sliding track, and determine that the termination point is at the end point. The position on the multi-person live broadcast interface; a second target anchor determination unit, configured to determine the target anchor based on the area range of each anchor and use the area range to which the location of the termination point belongs.
- the virtual gift determining module 120 is configured to receive the user's selection operation of multiple gift icons on the virtual gift area through multi-touch, and set the multiple selected virtual gifts as target virtual gifts.
- the target anchor determining module 130 is configured to obtain the user's sliding operation on each of the target virtual gifts, and determine the target in the multiplayer live interface according to the sliding track corresponding to each of the sliding operations.
- the target anchor corresponding to the virtual gift is configured to obtain the user's sliding operation on each of the target virtual gifts, and determine the target in the multiplayer live interface according to the sliding track corresponding to each of the sliding operations. The target anchor corresponding to the virtual gift.
- the virtual gift determining module 120 is configured to receive a selection operation performed by the user on at least two gift icons in the virtual gift area in sequence, set multiple selected virtual gifts as target virtual gifts, and generate a target virtual gift. Gift queue.
- the target anchor determining module 130 includes a sliding operation trigger unit, a target anchor determining unit, and a gift queue sending unit;
- the sliding operation trigger unit is used to trigger a sliding operation on any gift icon in the target virtual gift queue;
- the target anchor determining unit is used to obtain the sliding operation and obtain the sliding operation from the sliding track according to the sliding operation.
- the target anchor is determined in the multiplayer live broadcast interface;
- the gift queue sending unit is used to send the target virtual gift in the target virtual gift queue to the live screen of the target anchor along the sliding track.
- the target virtual gift includes a text virtual gift and a graphic virtual gift.
- the virtual gift is a text virtual gift
- the virtual gift determining module 120 includes: a list display unit and a text content selection unit; wherein the list display unit is used to receive the content type of the text virtual gift selected by the user on the virtual gift area, and display the content type of the text virtual gift.
- the matched text content list; the text content selection unit is used to obtain the target text content selected from the text content list as a virtual gift of the target text.
- the embodiment of the present invention also provides a virtual gift giving device, including a memory, a processor, and a computer program stored in the memory and running on the processor.
- a virtual gift giving device including a memory, a processor, and a computer program stored in the memory and running on the processor.
- the processor executes the program, it can implement any of the above The method for sending a virtual gift in the embodiment.
- the sending device of the virtual gift may be a mobile terminal, a tablet computer, a computer computer, or a server.
- the virtual gift sending device provided above has corresponding functions and beneficial effects when executing the virtual gift sending method provided in any of the above embodiments.
- the embodiment of the present invention also provides a storage medium containing computer-executable instructions, when the computer-executable instructions are executed by a computer processor, are used to execute a method for sending a virtual gift, including:
- the target virtual gift is presented to the target anchor, so as to synthesize the target virtual gift into the target position obtained by recognizing the anchor image of the video screen for rendering and display.
- a storage medium containing computer-executable instructions provided by an embodiment of the present invention is not limited to the operation of the virtual gift sending method described above, and can also execute the virtual gift provided by any embodiment of the present invention.
- Related operations in the gift sending method and have corresponding functions and beneficial effects.
- the present invention can be implemented by software and necessary general-purpose hardware. Of course, it can also be implemented by hardware, but in many cases the former is a better implementation. .
- the technical solution of the present invention essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as a computer floppy disk.
- ROM Read-Only Memory
- RAM Random Access Memory
- FLASH Flash memory
- hard disk or optical disk etc., including several instructions to make a computer device (which can be a personal computer) , A server, or a network device, etc.) execute the virtual gift sending method described in any embodiment of the present invention.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Human Computer Interaction (AREA)
- General Engineering & Computer Science (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
虚拟礼物的发送方法、装置、设备及存储介质,涉及直播技术领域,该虚拟礼物的发送方法通过根据直播间的特征信息从虚拟礼物内容库中匹配虚拟礼物,在多人直播界面的虚拟礼物区域上显示礼物图标;接收用户对虚拟礼物区域上的礼物图标的选择操作,确定目标虚拟礼物;获取用户对目标虚拟礼物的滑动操作,并根据滑动轨迹从多人直播界面中确定目标主播;将目标虚拟礼物赠送给目标主播并进行效果合成,以实现通过直播间的个性化特点推送虚拟礼物,提高虚拟礼物的赠送率,通过滑动操作精确识别出目标虚拟礼物在多人直播界面上的赠送对象,且观众用户只需向目标虚拟礼物做出滑动手势,则直接向目标主播赠送该虚拟礼物,简单快捷。
Description
本申请要求于2019年12月06日提交中国专利局、申请号为201911244818.7、发明名称为“虚拟礼物的发送方法、装置、设备及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
本申请实施例涉及直播技术领域,具体而言,本申请涉及虚拟礼物的发送方法、装置、设备及存储介质。
当前的网络直播方式,可以由一个或多个主播进行直播,观众观看直播,观众和主播之间可通过语音、视频、文字和图片进行交流和互动。
在直播过程中,可以由一个主播进行直播,也可以由多个主播同时进行主播。同一直播界面存在至少两个用户时,无法识别出虚拟礼物的赠送对象,如用户将虚拟礼物“帽子”送至多人直播中的B用户,以在B用户头上合成“戴帽子”的效果。然而,由于直播界面上同时存在B和C用户,使得在进行效果合成时无法在直播画面上识别出虚拟礼物的赠送对象,影响展示效果。
发明内容
本申请的目的旨在至少解决上述技术缺陷之一,特别是多用户直播界面无法准确识别出虚拟礼物的赠送对象的问题。
第一方面,本申请实施例提供一种虚拟礼物的发送方法,包括以下步骤:
获取当前直播间的特征信息,根据所述特征信息从虚拟礼物内容库中匹配对应的虚拟礼物,在多人直播界面的虚拟礼物区域上显示所述虚拟礼物的礼物图标;
接收用户对虚拟礼物区域上的礼物图标的选择操作,确定目标虚拟礼物;
获取用户对所述目标虚拟礼物的滑动操作,并根据滑动轨迹从所述多人直播界面中确定目标主播;
将所述目标虚拟礼物赠送给所述目标主播,以将所述目标虚拟礼物合成到对视频画面主播图像进行识别所得到的目标位置上进行渲染显示。
第二方面,本申请实施例提供一种虚拟礼物的发送装置,包括:
礼物图标显示模块,用于获取当前直播间的特征信息,根据所述特征信息从虚拟礼物内容库中匹配对应的虚拟礼物,在多人直播界面的虚拟礼物区域上显示所述虚拟礼物的礼物图标;
虚拟礼物确定模块,用于接收用户对虚拟礼物区域上的礼物图标的选择操作,确定目标虚拟礼物;
目标主播确定模块,用于获取用户对所述目标虚拟礼物的滑动操作,并根据滑动轨迹从所述多人直播界面中确定目标主播;
虚拟礼物赠送模块,用于将所述目标虚拟礼物赠送给所述目标主播,以将所述目标虚拟礼物合成到对视频画面主播图像进行识别所得到的目标位置上进行渲染显示。
第三方面,本申请实施例提供一种虚拟礼物的发送设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现如第一方面任一实施例所述的虚拟礼物的发送方法的步骤。
第四方面,本申请实施例提供一种包含计算机可执行指令的存储介质,所述计算机可执行指令在由计算机处理器执行时用于执行如第一方面任一实施例所述的虚拟礼物的发送方法的步骤。
上述实施例提供的虚拟礼物的发送方法、装置、设备及存储介质,通过获取当前直播间的特征信息,根据所述特征信息从虚拟礼物内容库中匹配对应的虚拟礼物,在多人直播界面的虚拟礼物区域上显示礼物图标;接收用户对虚拟礼物区域上的礼物图标的选择操作,确定目标虚拟礼物;获取用户对目标虚拟礼物的滑动操作,并根据滑动轨迹从多人直播界面中确定目标主播;将目标虚拟礼物赠送给目标主播,以将所述目标虚拟礼物合成到对视频画面主播图像进行识别所得到的目标位置上进行渲染显示,以实现通过直播间的个性化特点推送虚拟礼物,提高用户对推送的虚拟礼物 的赠送率,通过滑动操作精确识别出目标虚拟礼物在多人直播界面上的赠送对象,且观众用户只需向目标虚拟礼物做出滑动手势,则直接向目标主播赠送该虚拟礼物,简单快捷。
本申请附加的方面和优点将在下面的描述中部分给出,这些将从下面的描述中变得明显,或通过本申请的实践了解到。
本申请上述的和/或附加的方面和优点从下面结合附图对实施例的描述中将变得明显和容易理解,其中:
图1是一实施例提供的网络直播系统的框架示意图;
图2是一实施例提供的虚拟礼物的发送方法的流程图;
图3是一实施例提供的多人直播界面滑动送礼的第一界面示意图;
图4是一实施例提供的文字虚拟礼物赠送的直播界面示意图;
图5是一实施例提供的目标主播的确定方法的流程图;
图6是一实施例提供的目标主播的确定方法的另一流程图;
图7是一实施例提供的多人直播界面滑动送礼的第二界面示意图;
图8是一实施例提供的多点触控滑动送礼方法的流程图;
图9是一实施例提供的多人直播界面滑动送礼的第三界面示意图;
图10是一实施例提供的多礼物滑动送礼方法的流程图;
图11是一实施例提供的多人直播界面滑动送礼的第四界面示意图;
图12是一实施例提供的虚拟礼物的发送装置的结构示意图。
下面详细描述本申请的实施例,所述实施例的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施例是示例性的,仅用于解释本申请,而不能解释为对本申请的限制。
本技术领域技术人员可以理解,除非特意声明,这里使用的单数形式“一”、“一个”、“所述”和“该”也可包括复数形式。应该进一步理解的 是,本申请的说明书中使用的措辞“包括”是指存在所述特征、整数、步骤、操作、元件和/或组件,但是并不排除存在或添加一个或多个其他特征、整数、步骤、操作、元件、组件和/或它们的组。这里使用的措辞“和/或”包括一个或更多个相关联的列出项的全部或任一单元和全部组合。
本领域技术人员应当理解,本发明所称的“应用”、“应用程序”、“应用软件”以及类似表述的概念,是业内技术人员所公知的相同概念,是指由一系列计算机指令及相关数据资源有机构造的适于电子运行的计算机软件。除非特别指定,这种命名本身不受编程语言种类、级别,也不受其赖以运行的操作系统或平台所限制。理所当然地,此类概念也不受任何形式的终端所限制。
本领域技术人员应当理解,本发明所称的用户界面、显示界面、直播界面泛指能够用于向智能终端发送所述控制指令的显示界面,例如,可以是Android/IOS/Windows Phone系统的设置页面中的一个选项(或按键,由所述应用程序添加其中,下同),也可以是从桌面呼出的通知栏或者交互页面中的一个选项,还可以是所述应用程序的一个活动组件所构造的页面中的一个选项。
本技术领域技术人员可以理解,除非另外定义,这里使用的所有术语(包括技术术语和科学术语),具有与本申请所属领域中的普通技术人员的一般理解相同的意义。还应该理解的是,诸如通用字典中定义的那些术语,应该被理解为具有与现有技术的上下文中的意义一致的意义,并且除非像这里一样被特定定义,否则不会用理想化或过于正式的含义来解释。
在对本申请实施例提供的方法进行介绍之前,首先对本申请实施例的应用场景进行介绍。本申请实施例提供的方法应用于网络直播系统中,请参考图1,图1是一实施例提供的网络直播系统的框架示意图,该系统框架可以包括服务端和客户端,客户端包括一个或多个主播客户端10和多个观众客户端20,位于服务端上的直播平台中可以包括多个虚拟直播间和服务器30等,其中,各主播端110和各观众端120分别与该服务器30之间通过有线网络或者无线网络建立通信连接。
通常而言,各个虚拟直播间对应播放不同的直播内容,主播通过主播客户端10进行直播,观众通过观众客户端20选择进入某一虚拟直播间观 看主播进行直播。观众客户端20和主播客户端10可以通过安装在终端设备上的直播应用程序(Application,APP)进入直播平台。
其中,该主播客户端10和观众客户端20为终端设备,如智能手机、平板电脑、电子阅读器、台式电脑或笔记本电脑等,对此并不做限定。服务器30是用于为终端设备提供后台服务的后台服务器,可以用独立服务器或多个服务器组成的服务器集群来实现。在一实施例中,该服务器30可以为网络直播平台。
本申请实施例提供的虚拟礼物的发送方法适用于向主播滑动送礼的场景,尤其是针对多人直播界面向选定一个或多个主播进行送礼的场景。其中,多人直播界面可以是呈现有连麦状态下不同直播间主播的多人直播界面,也可以是同一直播间内存在多名主播的多人直播界面。当然,本实施例提供的虚拟礼物的发送方法适用于向单人直播界面上的主播进行滑动送礼。
下面将以同一直播间内存在多名主播的多人直播界面为例对本技术方案进行说明。
图2是一实施例提供的虚拟礼物的发送方法的流程图,该虚拟礼物的发送方法可以执行于虚拟礼物的发送设备,本实施例以虚拟礼物的发送设备为观众客户端为例对下列技术方案进行说明。
具体的,如图2所示,该虚拟礼物的发送方法可以包括以下步骤:
S110、获取当前直播间的特征信息,根据所述特征信息从虚拟礼物内容库中匹配对应的虚拟礼物,在多人直播界面的虚拟礼物区域上显示所述虚拟礼物的礼物图标。
对于直播间的特征信息,其可以是用于表征直播间所对应参数的特征信息,直播间的特征信息可以是直播间的直播场景类型、直播间对应的主播性别信息、主播等级以及直播时主播脸部动作信息等中的至少一种。进一步的,直播场景类型可以是游戏场景类型、唱歌场景类型、跳舞场景类型、脱口秀场景类型等;主播性别信息可以为男性和女性;主播的经验值越高,主播等级越高;主播脸部动作信息可以为微笑、大笑、哭、皱眉等不同的脸部动作信息。
在本实施例中,直播间的特征信息不同,从虚拟礼物内容库中匹配对 应的虚拟礼物内容也不同。例如,根据直播间的直播场景类型,若为游戏直播场景类型,则从虚拟礼物内容库中匹配与游戏相关的虚拟礼物内容,如“再赢一场”,“加油”等文字虚拟礼物内容。若为唱歌直播场景类型,则从虚拟礼物内容库中匹配与唱歌相关的虚拟礼物内容,如“声如黄鹂”“再唱一曲”等文字虚拟礼物内容。如,直播间内的主播都是女性,则匹配对应的虚拟礼物均是偏女性的虚拟礼物。还可以在预设时间间隔内识别出直播间的主播的表情动作,根据表情动作更新匹配得到的虚拟礼物,以实现通过直播间的个性化特点推送文字虚拟礼物内容,提高用户对推送的虚拟礼物的赠送率,提高用户向主播赠送虚拟礼物的积极性。
在一实施例中,当单个直播间多个主播互动进行直播时,直播界面上显示出至少两个主播人物。当观众用户通过移动终端上安装的观众客户端观看多人直播时,可以通过点击观众客户端的特定区域,可以是“展开”功能按键,也可以是点击“礼物”图形图标,以展开虚拟礼物区域的虚拟礼物物品栏,显示出各种虚拟礼物图标。
在本实施例中,虚拟礼物区域用于展示虚拟礼物图标,虚拟礼物图标用于指示不同样式的虚拟礼物。其中,虚拟礼物可以包括文字虚拟礼物和图形虚拟礼物。文字虚拟礼物是指以文字样式呈现的礼物,如以“貌美如花”这文字样式呈现的文字虚拟礼物,图形虚拟礼物是指以图形样式呈现的礼物,该图形样式可以是静态的图形样式,还可以是动态的图形样式,如将“面具”对应的面具图形,“雪花”对应雪花图形并附带雪花旋转和飘落的动态动作等。
S120、接收用户对虚拟礼物区域上的礼物图标的选择操作,确定目标虚拟礼物。
可选的,用户可以对虚拟礼物区域上的礼物图标进行点击、长按和滑动等选择操作。在移动终端上,用户可以通过触摸屏对虚拟礼物区域上的礼物图标进行触摸选择操作,通过手指或触控板做出点击、长按和滑动等动作。被选择的礼物图标确定目标虚拟礼物。
在一些实施例中,用户可以通过选择操作选中一个目标虚拟礼物,也可以多个目标虚拟礼物。进一步的,用户可以通过轻按点击的方式选择一个目标虚拟礼物,也可以通过长按的方式调出多个虚拟礼物选择指令,以 使得虚拟礼物区域呈现出虚拟礼物的待选状态,用户依次点击虚拟礼物图标以进行多个虚拟礼物的选择;在另一些实施例中,用户通过滑动的方式依次选择虚拟礼物区域中的多个礼物图标,以将多个虚拟礼物确定为目标虚拟礼物。
S130、获取用户对所述目标虚拟礼物的滑动操作,并根据滑动轨迹从所述多人直播界面中确定目标主播。
当观众用户选择目标虚拟礼物后,做出滑动操作,以进行虚拟礼物的赠送。首先,识别并获取用户对目标虚拟礼物的滑动操作,生成对应的滑动轨迹,提取该滑动轨迹对应的滑动参数,如滑动速度、滑动方向、滑动位置、滑动的起始点和终止点等。例如,用户长按目标虚拟礼物,并将目标虚拟礼物从虚拟礼物区域拖动到视频区域,以作出目标虚拟礼物的滑动操作,进一步的,根据滑动轨迹从多人直播界面中确定目标主播。可选的,可以根据滑动轨迹的终止点所对应主播确定为目标主播,例如,滑动轨迹的终止点落到A主播所在区域,则将A主播作为目标主播;也可以将滑动方向所属主播确定为目标主播,例如,滑动方位为45°,位于B主播对应的角度范围(0,90°)之内,则将B主播作为目标主播。
图3是一实施例提供的多人直播界面滑动送礼的第一界面示意图,结合图3对根据滑动方向从多人直播界面中确定目标主播的方案进行阐述。如图3所示,用户从虚拟礼物区域(相当于虚拟礼物栏)选择目标虚拟礼物,如“礼物5”后,做出滑动操作,以向用户B赠送“礼物5”。可选的,若滑动方向指向某用户所在方位,则将该用户作为目标主播,继续参考图3,滑动轨迹的滑动方向指向B用户所在方位,则将B用户作为目标主播。
S140、将所述目标虚拟礼物赠送给所述目标主播,以将所述目标虚拟礼物合成到对视频画面主播图像进行识别所得到的目标位置上进行渲染显示。
确定目标主播后,将该目标虚拟礼物赠送给目标主播。在一些实施例中,根据目标虚拟礼物的特征属性,将目标虚拟礼物合成在目标主播对应的目标位置上。
可选的,根据直播间下发的目标虚拟礼物的展示模板,将目标虚拟礼物合成到对视频画面主播图像进行识别所得到的目标位置上进行渲染显 示。
在本实施例中,展示模板是指虚拟礼物在视频画面上的展示的模板,其可以包括展示时礼物的颜色、形状、特效和展示时长等。可选的,每一种虚拟礼物对应不同的展示模板,也可以是每一种虚拟礼物以展示模板相同而内容不同。
客户端选择目标虚拟礼物后,获取目标虚拟礼物对应的特征区域,识别视频画面中主播图像,确定特征区域在视频画面上的目标位置,之后根据目标虚拟礼物对应的展示模板将目标虚拟礼物合成到该目标位置上,得到虚拟礼物特效,将虚拟礼物特效在视频区域进行渲染,以便于用户观看到文字虚拟礼物的特效。
本实施例提供的虚拟礼物的发送方法,通过获取当前直播间的特征信息,根据所述特征信息从虚拟礼物内容库中匹配对应的虚拟礼物,在多人直播界面的虚拟礼物区域上显示礼物图标;接收用户对虚拟礼物区域上的礼物图标的选择操作,确定目标虚拟礼物;获取用户对目标虚拟礼物的滑动操作,并根据滑动轨迹从多人直播界面中确定目标主播;将目标虚拟礼物赠送给目标主播,以将所述目标虚拟礼物合成到对视频画面主播图像进行识别所得到的目标位置上进行渲染显示,以实现通过直播间的个性化特点推送虚拟礼物,提高用户对推送的虚拟礼物的赠送率,通过滑动操作精确识别出目标虚拟礼物在多人直播界面上的赠送对象,且观众用户只需向目标虚拟礼物做出滑动手势,则直接向目标主播赠送该虚拟礼物,简单快捷。
为了使本发明的技术方案更为清晰,更为便于理解,下面对本技术方案中的多个步骤的具体的实现过程和方式加以详细的描述。
在本申请提供的虚拟礼物的发送方法可以适用于图形虚拟礼物的发送,还可以适用于文字虚拟礼物的发送。下面以文字虚拟礼物为例对本方案进行说明。
其中,在文字虚拟礼物的发送过程中,步骤S120的接收用户对虚拟礼物区域上的礼物图标的选择操作,确定目标虚拟礼物的过程可以包括以下步骤:
S1201、接收用户对虚拟礼物区域上选择的文字虚拟礼物的内容类型, 展示所述文字虚拟礼物的内容类型相匹配的文字内容列表。
对于文字虚拟礼物,其可以为以文字样式呈现的礼物,如以“貌美如花”这文字样式呈现的文字虚拟礼物。在本实施例中,用户通过观众客户端触发文字虚拟礼物的展示指令,向直播间请求文字虚拟礼物。直播间接收到展示指令后,获取该直播间的文字虚拟礼物,将其下发至观众客户端。观众客户端接收到直播间下发的文字虚拟礼物,通过虚拟礼物栏进行展示。
一般而言,在未接收到展示指令时,虚拟礼物栏隐藏起来,在接收到展示指令后,在直播界面上展开虚拟礼物栏。虚拟礼物栏可以支持翻页,若左右滑动实现向左或向右翻页,上下滑动实现向上或向下翻页。
虚拟礼物栏上展示有文字虚拟礼物的不同内容类型,该内容类型可以通过图形信息的形式来呈现,也可以文字信息的形式来呈现。其中,内容类型可以包括节日祝福、赞美之词、日常用语等。
在实施例中,不同的内容类型对应不同的文字内容列表。进一步的,接收对文字虚拟礼物的内容类型的选择指令,根据选择指令提取相匹配的文字内容,生成文字内容列表;在虚拟礼物栏的指定位置展示文字内容列表。
可选的,用户通过点击或长按的方式在虚拟礼物栏上的文字虚拟礼物的某一内容类型上作出选择指令,根据选择指令通过直播间所在的服务器提取出与该选中的内容类型相匹配的文字内容,整合这些文字内容生成文字内容列表。观众客户端接收到文字内容列表后,在虚拟礼物栏的指定位置弹出相应的窗口,以展示文字内容列表。其中,指定位置可以是悬浮在虚拟礼物栏上方的窗口,也可以是设置在直播界面的其他位置上。
图4是一实施例提供的文字虚拟礼物赠送的直播界面示意图,如图4所示,用户从虚拟礼物栏101呈现的多个不同的内容类型中选择其中一个内容类型,如点击内容类型“赞美之词”,在虚拟礼物栏101的上方弹出窗口,以展示与“赞类之词”对应的预配置的文字内容列表102,如“冰雪聪明”、“一笑倾成”“貌美如花”等。
可选的,文字内容列表102支持滚动显示,如通过横向滚动的方式展示文字内容列表102中的全部文字内容。可选的,文字内容列表102还可以包括自定义内容框,用户通过自定义内容框自行输入文字内容,并将该 文字内容保存在本地,当用户再次选择该内容类型时,则同时展示服务器推送的文字内容和用户自定义输入的文字内容。需要说明的是,文字内容列表102可以理解为虚拟礼物栏101的一部分。在不点击虚拟礼物栏101的文字虚拟礼物的内容类型时,文字内容列表102不弹出,当用户点击选择虚拟礼物栏101的文字虚拟礼物的任一内容类型时,弹出相对应的文字内容列表102。
S1202、获取从所述文字内容列表中选择的目标文字内容作为目标文字虚拟礼物。
在一实施例中,用户通过触摸或语音等方式作出选择操作,从文字内容列表中选择一个或多个目标文字内容,将目标文字内容作为目标文字虚拟礼物通过直播间赠送给目标主播。继续参考图4,选择“赞美之词”内容类型对应的文字内容列表中的“貌美如花”文字内容作为目标文字虚拟礼物,通过滑动的方式赠送给目标主播,并在视频画面主播图像的目标位置,如女主播头顶上进行合成,展示出礼物效果。
在另一实施例中,用户选择了文字虚拟礼物的内容类型后,没有进一步从该内容类型对应的文字内容列表中选择文字内容,而是直接触发赠送指令,此时,获取当前直播间的属性信息,如主播的性别、主播的表情动作、直播间的场景类型等,基于用户选定的文字虚拟礼物的内容类型,分析当前直播间的属性信息,自动从该内容类型的文字内容列表中选择匹配最合适的一个或多个目标文字内容,可选的,还可以根据该内容类型的文字内容列表随机选择一个或多个目标文字内容。将目标文字内容作为目标文字虚拟礼物通过直播间赠送给目标主播。
本实施例提供的技术方案通过对虚拟礼物区域上选择的文字虚拟礼物的内容类型,展示文字虚拟礼物的内容类型相匹配的文字内容列表;获取从文字内容列表中选择的目标文字内容作为目标文字虚拟礼物赠送给目标主播,以实现通过文字虚拟礼物丰富虚拟礼物的种类,更贴切表达用户的感情,提高用户对主播送礼的积极性。
图5是一实施例提供的目标主播的确定方法的流程图,如图5所示,目标主播的确定方法可以包括以下步骤:
S201、获取用户对所述目标虚拟礼物的滑动操作,生成对应的滑动轨 迹。
在本实施例中,识别用户在终端界面上作出的滑动操作,获取滑动操作对应的滑动参数,如滑动速度、滑动方向、滑动位置等,并根据这些滑动参数生成滑动轨迹。
S202、提取所述滑动轨迹的目标关键点,根据所述目标关键点确定所述滑动方向。
在本实施例中,滑动轨迹是由一些列的滑动轨迹点组成,一般的可以将滑动轨迹经过的像素点作为滑动轨迹点。进一步的,提取出滑动轨迹的目标关键点以确定滑动方向。在一些实施例中,可以通过每间隔设定时间提取得到的滑动轨迹的滑动轨迹点作为目标关键点,在另一些实施例中,可以直接提取滑动轨迹的起始点和终止点作为目标关键点。进一步的,可以通过计算这些目标关键点之间的方向向量以确定滑动轨迹的滑动方向。例如,根据滑动轨迹的起始点和终止点连线的方向向量确定为滑动轨迹的滑动方向。
S203、基于各所述主播的方位角度范围,利用所述滑动方向所属的方位角度范围确定目标主播。
首先获取多人直播界面的主播人数;根据所述主播人数,确定各所述主播对应的方位角度范围。在多人直播界面上各主播所对应的方位角度范围不同,通常各主播平分平角,如在双人直播界面上,每个主播的方位角度范围均为90°,在三人主播界面上,每个主播的方位角度范围均为60°等。通过滑动方向与直播界面上各主播的相对方位范围确定目标虚拟礼物所赠送的目标主播。
例如,当在双人直播界面上,以水平向右为0°,水平向左为180°,则通过滑动方式送礼时,滑动方向所属的方位角度范围在(0°,90)之间,则将右边的主播确定为目标主播,若滑动方向所属的方位角度范围在(90°,180°),则将左边的主播确定为目标主播。
同理,若多人直播界面的主播人数为三人时,以水平向右为0°,水平向左为180°,则通过滑动方式送礼时,滑动方向所属的方位角度范围在(0°,60°),则将右边的主播确定为目标主播,若滑动方向所属的方位角度范围在(60°,120°),则将中间的主播确定为目标主播,若滑动方向 所属的方位角度范围在(120°,180°),则将左边的主播确定为目标主播。
图6是一实施例提供的目标主播的确定方法的另一流程图,如图6所示,根据滑动轨迹从所述多人直播界面中确定目标主播的步骤,可以包括以下步骤:
S206、获取所述滑动轨迹的终止点,确定所述终止点在所述多人直播界面上的位置。
在本实施例中,选择目标文字虚拟礼物后,连续不中断拖动该目标文字虚拟礼物至直播视频画面上的目标主播所在区域后,释放该滑动操作,使得该滑动轨迹的终止点落在该目标主播所在区域。观众客户端识别出滑动操作,并识别该滑动轨迹,提取其终止点,确定终止点的位置坐标。
S207、基于各所述主播的区域范围,利用所述终止点的位置所属的区域范围确定目标主播。
在获得终止点的位置坐标后,确定该终止点属于哪个主播的区域,将该终止点所属的区域对应的主播确定为目标主播。
图7是一实施例提供的多人直播界面滑动送礼的第二界面示意图,如图7所示,以目标虚拟礼物所在的礼物图标为起始点,做出滑动操作,该滑动操作终止于哪个主播所在区域,则将该主播作为目标主播。如图7所示,选定目标虚拟礼物后,以目标虚拟礼物在虚拟礼品栏的位置为起始点,做出滑动操作,不中断地进行滑动,以使得滑动轨迹的终止点Q落在D用户所在区域,将D用户作为目标主播。在一实施例中,还可以同时选择多个不同的目标虚拟礼物,并将目标虚拟礼物同时发送至同一目标主播或分别发送至不同的目标主播。
图8是一实施例提供的多点触控滑动送礼方法的流程图,如图8所示,该虚拟礼物的发送方法可以通过下列步骤来实现:
S301、接收用户通过多点触摸的方式分别对虚拟礼物区域上的多个礼物图标的选择操作,将多个选择的虚拟礼物设为目标虚拟礼物。
用户在虚拟礼物区域中同时选中多个礼物图标,例如,用户通过多根手指同时触摸选择虚拟礼物区域的多个礼物图标,将选择的多个礼物图标对应的虚拟礼物确定为目标虚拟礼物。
S302、分别获取用户对各所述目标虚拟礼物的滑动操作,并根据各所 述滑动操作对应的滑动轨迹在所述多人直播界面中确定所述目标虚拟礼物对应的目标主播。
进一步的,当选择目标虚拟礼物后,拖曳该礼物图标做出滑动操作。在本实施例中,每个触摸操作选中的目标虚拟礼物分别对应生成对应的滑动轨迹,各滑动轨迹相互独立,互不干扰。根据各滑动轨迹对应的滑动方向,确定该滑动轨迹对应的目标虚拟礼物对应的在多人直播界面上的目标主播。
图9是一实施例提供的多人直播界面滑动送礼的第三界面示意图,如图9所示,目标虚拟礼物3(即图9中的“礼物3”,下同)对应的滑动轨迹L1的滑动方向为偏左,则将多人直播界面上左边的主播A作为目标虚拟礼物3对应赠送的目标主播;目标虚拟礼物4(即图9中的“礼物4”,下同)对应的滑动轨迹L2的滑动方向为偏右,则将多人直播界面上右边的主播B作为目标虚拟礼物4对应赠送的目标主播。本实施例提供的虚拟礼物的发送方法能够通过滑动方式同时向多人直播界面上不同的主播发送不同的虚拟礼物,简单方便快捷。
在一实施例中,还可以同时选择多个不同的目标虚拟礼物,并将多个目标虚拟礼物同时发送至同一目标主播。图10是一实施例提供的多礼物滑动送礼方法的流程图,如图10所示,该虚拟礼物的发送方法可以通过下列步骤来实现:
S401、接收用户对所述虚拟礼物区域上至少两个礼物图标依次执行的选择操作,将多个选择的虚拟礼物设为目标虚拟礼物,并生成目标虚拟礼物队列。
在一实施例中,可以长按某一礼物图标进行连续选择操作,具体的,可以为长按某一礼物图标,将虚拟礼物区域进入多项选择界面,如在每个礼物图标的左上方出现空心圆圈,若该礼物图标被选中,则将该礼物图标的空心圆圈变为实心圆圈,进一步的,可以在实心圆圈上呈现阿拉伯数字,以表示礼物图标被选择的顺序,当触发“确定”指令后,将多个选择的虚拟礼物确定为目标虚拟礼物,并按照选择的顺序生成目标虚拟礼物队列。
在另一实施例中,可以触摸某一礼物图标,以该礼物图标为起始点,在虚拟礼物区域做出滑动操作,以选择多个礼物图标,进一步的,当滑动 到某一礼物图标时,在该礼物图标的右上方添加被选择的顺序序号,将选择的虚拟礼物设为目标虚拟礼物,并按照选择的顺序生成目标虚拟礼物队列。
S402、对所述目标虚拟礼物队列的任一礼物图标上触发滑动操作。
在本实施例中,对目标虚拟礼物队列上的任一礼物图标作为滑动操作的起始点,向多人直播界面上的视频区域做出滑动操作,将目标虚拟礼物队列上的目标虚拟礼物进行发送。
S403、获取所述滑动操作并根据所述滑动操作的滑动方向从所述多人直播界面中确定目标主播。
获取滑动操作对应的滑动轨迹,如获取滑动轨迹的起始点和终止点,通过起始点和终止点计算滑动轨迹的方向向量作为滑动操作的滑动方向,基于各主播的方位角度范围,利用滑动方向所属的方位角度范围确定该目标虚拟礼物队列所赠送的目标主播。
S404、将所述目标虚拟礼物队列中的目标虚拟礼物沿着所述滑动轨迹发送到所述目标主播的直播画面上。
在确定目标主播后,在多人直播界面上沿着滑动操作对应的滑动轨迹确定目标主播后,生成指向该目标主播的目标虚拟礼物的发送轨迹,将各目标虚拟礼物沿着发送轨迹发送至主播画面上,可选的,将目标虚拟礼物队列中的各目标虚拟礼物按照选择的顺序以飞跃的形式发送至目标主播的直播画面上,以增强虚拟礼物发送的展示效果。
图11是一实施例提供的多人直播界面滑动送礼的第四界面示意图,如图11所示,用户在虚拟礼物栏做出连续滑动操作,将“礼物1”、“礼物2”和“礼物3”作为目标虚拟礼物,生成目标虚拟礼物队列,向B用户作为目标主播作出滑动操作,将“礼物1”、“礼物2”和“礼物3”发送至B用户,从而实现虚拟礼物的连续发送,简单快捷。
下面对虚拟礼物的发送装置的相关实施例进行详细阐述。
图12是一实施例提供的虚拟礼物的发送装置的结构示意图,本实施例中的虚拟礼物的发送装置应用于虚拟礼物的发送设备,如移动终端,该移动终端上安装有观众客户端。
具体的,如图12所示,虚拟礼物的发送装置100包括:礼物图标显示 模块110、虚拟礼物确定模块120、目标主播确定模块130以及虚拟礼物赠送模块140。
其中,礼物图标显示模块110,用于获取当前直播间的特征信息,根据所述特征信息从虚拟礼物内容库中匹配对应的虚拟礼物,在多人直播界面的虚拟礼物区域上显示所述虚拟礼物的礼物图标;虚拟礼物确定模块120,用于接收用户对虚拟礼物区域上的礼物图标的选择操作,确定目标虚拟礼物;目标主播确定模块130,用于获取用户对所述目标虚拟礼物的滑动操作,并根据滑动轨迹从所述多人直播界面中确定目标主播;虚拟礼物赠送模块140,用于将所述目标虚拟礼物赠送给所述目标主播,以将所述目标虚拟礼物合成到对视频画面主播图像进行识别所得到的目标位置上进行渲染显示。
本实施例提供的虚拟礼物的发送装置,通过礼物图标显示模块110根据直播间的特征信息从虚拟礼物内容库中匹配虚拟礼物,在多人直播界面的虚拟礼物区域上显示礼物图标;虚拟礼物确定模块120接收用户对虚拟礼物区域上的礼物图标的选择操作,确定目标虚拟礼物;目标主播确定模块130获取用户对目标虚拟礼物的滑动操作,并根据滑动轨迹从多人直播界面中确定目标主播;虚拟礼物赠送模块140将目标虚拟礼物赠送给目标主播并进行效果合成,以实现通过直播间的个性化特点推送虚拟礼物,提高虚拟礼物的赠送率,通过滑动操作精确识别出多人直播界面的目标虚拟礼物的赠送对象,且观众用户只需向目标虚拟礼物做出滑动手势,则直接向目标主播赠送该虚拟礼物,简单快捷。
在一实施例中,目标主播确定模块130包括:滑动轨迹生成单元、滑动方向确定单元和目标主播第一确定单元;其中,滑动轨迹生成单元,用于获取用户对所述目标虚拟礼物的滑动操作,生成对应的滑动轨迹;滑动方向确定单元,用于提取所述滑动轨迹的目标关键点,根据所述目标关键点确定所述滑动方向;目标主播第一确定单元,用于基于各所述主播的方位角度范围,所述滑动方向所属的方位角度范围确定目标主播。
在一实施例中,虚拟礼物的发送装置还包括主播方位确定模块,用于获取多人直播界面的主播人数;根据所述主播人数,确定各所述主播对应的方位角度范围。
在一实施例中,目标主播确定模块130包括:终止点获取单元和目标主播第二确定单元;其中,终止点获取单元,用于获取所述滑动轨迹的终止点,确定所述终止点在所述多人直播界面上的位置;目标主播第二确定单元,用于基于各所述主播的区域范围,利用所述终止点的位置所属的区域范围确定目标主播。
在一实施例中,虚拟礼物确定模块120用于接收用户通过多点触摸的方式分别对虚拟礼物区域上的多个礼物图标的选择操作,将多个选择的虚拟礼物设为目标虚拟礼物。
在一实施例中,目标主播确定模块130用于分别获取用户对各所述目标虚拟礼物的滑动操作,并根据各所述滑动操作对应的滑动轨迹在所述多人直播界面中确定所述目标虚拟礼物对应的目标主播。
在一实施例中,虚拟礼物确定模块120用于接收用户对所述虚拟礼物区域上至少两个礼物图标依次执行的选择操作,将多个选择的虚拟礼物设为目标虚拟礼物,并生成目标虚拟礼物队列。
在一实施例中,目标主播确定模块130包括滑动操作触发单元、目标主播确定单元和礼物队列发送单元;
其中,滑动操作触发单元,用于对所述目标虚拟礼物队列的任一礼物图标上触发滑动操作;目标主播确定单元,用于获取所述滑动操作并根据所述滑动操作的滑动轨迹从所述多人直播界面中确定目标主播;礼物队列发送单元,用于将所述目标虚拟礼物队列中的目标虚拟礼物沿着所述滑动轨迹发送到所述目标主播的直播画面上。
在一实施例中,所述目标虚拟礼物包括文字虚拟礼物和图形虚拟礼物。
在一实施例中,所述虚拟礼物为文字虚拟礼物;
虚拟礼物确定模块120包括:列表展示单元和文字内容选择单元;其中,列表展示单元,用于接收用户对虚拟礼物区域上选择的文字虚拟礼物的内容类型,展示所述文字虚拟礼物的内容类型相匹配的文字内容列表;文字内容选择单元,用于获取从所述文字内容列表中选择的目标文字内容作为目标文字虚拟礼物。
上述提供的虚拟礼物的发送装置执行上述任意实施例提供的虚拟礼物的发送方法时,具备相应的功能和有益效果。
本发明实施例还提供一种虚拟礼物的赠送设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时,实现如上述任一实施例中的虚拟礼物的发送方法。
可选的,该虚拟礼物的发送设备可以为移动终端、平板电脑、计算机电脑或服务器等。上述提供的虚拟礼物的发送设备执行上述任一实施例提供的虚拟礼物的发送方法时,具有相应的功能和有益效果。
本发明实施例还提供一种包含计算机可执行指令的存储介质,所述计算机可执行指令在由计算机处理器执行时用于执行一种虚拟礼物的发送方法,包括:
获取当前直播间的特征信息,根据所述特征信息从虚拟礼物内容库中匹配对应的虚拟礼物,在多人直播界面的虚拟礼物区域上显示所述虚拟礼物的礼物图标;
接收用户对虚拟礼物区域上的礼物图标的选择操作,确定目标虚拟礼物;
获取用户对所述目标虚拟礼物的滑动操作,并根据滑动轨迹从所述多人直播界面中确定目标主播;
将所述目标虚拟礼物赠送给所述目标主播,以将所述目标虚拟礼物合成到对视频画面主播图像进行识别所得到的目标位置上进行渲染显示。
当然,本发明实施例所提供的一种包含计算机可执行指令的存储介质,其计算机可执行指令不限于如上所述的虚拟礼物的发送方法操作,还可以执行本发明任意实施例所提供的虚拟礼物的发送方法中的相关操作,且具备相应的功能和有益效果。
通过以上关于实施方式的描述,所属领域的技术人员可以清楚地了解到,本发明可借助软件及必需的通用硬件来实现,当然也可以通过硬件实现,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可读存储介质中,如计算机的软盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、闪存(FLASH)、硬盘或光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行 本发明任意实施例所述的虚拟礼物的发送方法。
应该理解的是,虽然附图的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,其可以以其他的顺序执行。而且,附图的流程图中的至少一部分步骤可以包括多个子步骤或者多个阶段,这些子步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,其执行顺序也不必然是依次进行,而是可以与其他步骤或者其他步骤的子步骤或者阶段的至少一部分轮流或者交替地执行。
以上所述仅是本申请的部分实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本申请原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本申请的保护范围。
Claims (13)
- 一种虚拟礼物的发送方法,其特征在于,包括以下步骤:获取当前直播间的特征信息,根据所述特征信息从虚拟礼物内容库中匹配对应的虚拟礼物,在多人直播界面的虚拟礼物区域上显示所述虚拟礼物的礼物图标;接收用户对虚拟礼物区域上的礼物图标的选择操作,确定目标虚拟礼物;获取用户对所述目标虚拟礼物的滑动操作,并根据滑动轨迹从所述多人直播界面中确定目标主播;将所述目标虚拟礼物赠送给所述目标主播,以将所述目标虚拟礼物合成到对视频画面主播图像进行识别所得到的目标位置上进行渲染显示。
- 根据权利要求1所述的虚拟礼物的发送方法,其特征在于,所述获取用户对所述目标虚拟礼物的滑动操作,并根据滑动轨迹从所述多人直播界面中确定目标主播的步骤包括:获取用户对所述目标虚拟礼物的滑动操作,生成对应的滑动轨迹;提取所述滑动轨迹的目标关键点,根据所述目标关键点确定所述滑动方向;基于各所述主播的方位角度范围,利用所述滑动方向所属的方位角度范围确定目标主播。
- 根据权利要求2所述的虚拟礼物的发送方法,其特征在于,所述获取用户对所述目标虚拟礼物的滑动操作,并根据滑动轨迹从所述多人直播界面中确定目标主播的步骤之前,还包括:获取多人直播界面的主播人数;根据所述主播人数,确定各所述主播对应的方位角度范围。
- 根据权利要求1所述的虚拟礼物的发送方法,其特征在于,所述根据滑动轨迹从所述多人直播界面中确定目标主播的步骤包括:获取所述滑动轨迹的终止点,确定所述终止点在所述多人直播界面上的位置;基于各所述主播的区域范围,利用所述终止点的位置所属的区域范围确定目标主播。
- 根据权利要求1所述的虚拟礼物的发送方法,其特征在于,所述接收用户对虚拟礼物区域上的礼物图标的选择操作,确定目标虚拟礼物的步骤包括:接收用户通过多点触摸的方式分别对虚拟礼物区域上的多个礼物图标的选择操作,将多个选择的虚拟礼物设为目标虚拟礼物。
- 根据权利要求5所述的虚拟礼物的发送方法,其特征在于,所述获取用户对所述目标虚拟礼物的滑动操作,并根据滑动轨迹从所述多人直播界面中确定目标主播的步骤包括:分别获取用户对各所述目标虚拟礼物的滑动操作,并根据各所述滑动操作对应的滑动轨迹在所述多人直播界面中确定所述目标虚拟礼物对应的目标主播。
- 根据权利要求1所述的虚拟礼物的发送方法,其特征在于,所述接收用户对虚拟礼物区域上的礼物图标的选择操作,确定目标虚拟礼物的步骤包括:接收用户对所述虚拟礼物区域上至少两个礼物图标依次执行的选择操作,将多个选择的虚拟礼物设为目标虚拟礼物,并生成目标虚拟礼物队列。
- 根据权利要求7所述的虚拟礼物的发送方法,其特征在于,所述获取用户对所述目标虚拟礼物的滑动操作,并根据滑动轨迹从所述多人直播界面中确定目标主播,将所述目标虚拟礼物赠送给所述目标主播的步骤包括:对所述目标虚拟礼物队列的任一礼物图标上触发滑动操作;获取所述滑动操作并根据所述滑动操作的滑动轨迹从所述多人直播界面中确定目标主播;将所述目标虚拟礼物队列中的目标虚拟礼物沿着所述滑动轨迹发送到所述目标主播的直播画面上。
- 根据权利要求1至8任一项所述的虚拟礼物的发送方法,其特征在于,所述目标虚拟礼物包括文字虚拟礼物和图形虚拟礼物。
- 根据权利要求9所述的虚拟礼物的发送方法,其特征在于,所述虚拟礼物为文字虚拟礼物;所述接收用户对虚拟礼物区域上的礼物图标的选择操作,确定目标虚拟礼物的步骤包括:接收用户对虚拟礼物区域上选择的文字虚拟礼物的内容类型,展示所述文字虚拟礼物的内容类型相匹配的文字内容列表;获取从所述文字内容列表中选择的目标文字内容作为目标文字虚拟礼物。
- 一种虚拟礼物的发送装置,其特征在于,包括:礼物图标显示模块,用于获取当前直播间的特征信息,根据所述特征信息从虚拟礼物内容库中匹配对应的虚拟礼物,在多人直播界面的虚拟礼物区域上显示所述虚拟礼物的礼物图标;虚拟礼物确定模块,用于接收用户对虚拟礼物区域上的礼物图标的选择操作,确定目标虚拟礼物;目标主播确定模块,用于获取用户对所述目标虚拟礼物的滑动操作,并根据滑动轨迹从所述多人直播界面中确定目标主播;虚拟礼物赠送模块,用于将所述目标虚拟礼物赠送给所述目标主播,以将所述目标虚拟礼物合成到对视频画面主播图像进行识别所得到的目标位置上进行渲染显示。
- 一种虚拟礼物的发送设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其特征在于,所述处理器执行所述程序时实现如权利要求1至10任一项所述的虚拟礼物的发送方法的步骤。
- 一种包含计算机可执行指令的存储介质,其特征在于,所述计算机可执行指令在由计算机处理器执行时用于执行如权利要求1至10任一项所述的虚拟礼物的发送方法的步骤。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911244818.7 | 2019-12-06 | ||
CN201911244818.7A CN111010585B (zh) | 2019-12-06 | 2019-12-06 | 虚拟礼物的发送方法、装置、设备及存储介质 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2021109650A1 true WO2021109650A1 (zh) | 2021-06-10 |
Family
ID=70113892
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2020/113129 WO2021109650A1 (zh) | 2019-12-06 | 2020-09-03 | 虚拟礼物的发送方法、装置、设备及存储介质 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN111010585B (zh) |
WO (1) | WO2021109650A1 (zh) |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113781097A (zh) * | 2021-07-30 | 2021-12-10 | 北京达佳互联信息技术有限公司 | 虚拟资源的处理方法和装置、电子设备及存储介质 |
CN114007095A (zh) * | 2021-10-29 | 2022-02-01 | 广州方硅信息技术有限公司 | 直播间的语音连麦互动方法、系统、介质以及计算机设备 |
CN114095751A (zh) * | 2021-09-30 | 2022-02-25 | 广州方硅信息技术有限公司 | 直播相关页面的背景处理方法、电子设备及存储介质 |
CN114143572A (zh) * | 2021-12-09 | 2022-03-04 | 杭州网易云音乐科技有限公司 | 直播交互方法、装置、存储介质、电子设备 |
CN114159779A (zh) * | 2021-11-02 | 2022-03-11 | 网易(杭州)网络有限公司 | 虚拟物品的分堆控制方法、装置、终端设备及存储介质 |
CN114466209A (zh) * | 2022-01-27 | 2022-05-10 | 腾讯科技(深圳)有限公司 | 直播互动方法、装置、电子设备、存储介质和程序产品 |
CN114501103A (zh) * | 2022-01-25 | 2022-05-13 | 腾讯科技(深圳)有限公司 | 基于直播视频的互动方法、装置、设备及存储介质 |
CN114630137A (zh) * | 2022-03-10 | 2022-06-14 | 北京乐我无限科技有限责任公司 | 一种虚拟礼物显示方法、系统及装置 |
CN114710691A (zh) * | 2022-04-02 | 2022-07-05 | 广州酷狗计算机科技有限公司 | 画面播放方法、装置和存储介质及电子设备 |
CN115314727A (zh) * | 2022-06-17 | 2022-11-08 | 广州方硅信息技术有限公司 | 基于虚拟对象的直播互动方法、装置及电子设备 |
WO2023226557A1 (zh) * | 2022-05-23 | 2023-11-30 | 腾讯科技(深圳)有限公司 | 账号间的互动方法、装置、计算机设备及存储介质 |
CN117615161A (zh) * | 2023-11-10 | 2024-02-27 | 书行科技(北京)有限公司 | 一种信息处理方法、装置、设备及存储介质 |
WO2024099405A1 (zh) * | 2022-11-10 | 2024-05-16 | 北京字跳网络技术有限公司 | 直播互动的方法、装置、电子设备和计算机可读存储介质 |
Families Citing this family (19)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111010585B (zh) * | 2019-12-06 | 2021-10-22 | 广州方硅信息技术有限公司 | 虚拟礼物的发送方法、装置、设备及存储介质 |
CN112492336B (zh) * | 2020-11-20 | 2023-03-31 | 完美世界(北京)软件科技发展有限公司 | 礼物发送方法、装置、电子设备及可读介质 |
CN112437338B (zh) * | 2020-11-24 | 2022-01-04 | 腾讯科技(深圳)有限公司 | 虚拟资源转移方法、装置、电子设备以及存储介质 |
CN112569611B (zh) * | 2020-12-11 | 2022-09-27 | 腾讯科技(深圳)有限公司 | 互动信息显示方法、装置、终端及存储介质 |
CN112738543B (zh) * | 2020-12-26 | 2022-10-28 | 北京达佳互联信息技术有限公司 | 虚拟对象转移方法、装置、电子设备及存储介质 |
CN112929680B (zh) * | 2021-01-19 | 2023-09-05 | 广州虎牙科技有限公司 | 直播间图像渲染方法、装置、计算机设备及存储介质 |
CN112929681B (zh) * | 2021-01-19 | 2023-09-05 | 广州虎牙科技有限公司 | 视频流图像渲染方法、装置、计算机设备及存储介质 |
CN114501041B (zh) | 2021-04-06 | 2023-07-14 | 抖音视界有限公司 | 特效显示方法、装置、设备及存储介质 |
CN113126875B (zh) * | 2021-04-21 | 2022-08-16 | 广州博冠信息科技有限公司 | 虚拟礼物的交互方法、装置、计算机设备及存储介质 |
CN113144601B (zh) * | 2021-05-26 | 2023-04-07 | 腾讯科技(深圳)有限公司 | 虚拟场景中的表情显示方法、装置、设备以及介质 |
CN113329234B (zh) * | 2021-05-28 | 2022-06-10 | 腾讯科技(深圳)有限公司 | 直播互动方法及相关设备 |
CN113342233B (zh) * | 2021-06-30 | 2023-09-19 | 北京字跳网络技术有限公司 | 一种交互方法、装置、计算机设备以及存储介质 |
CN113709527B (zh) * | 2021-08-26 | 2022-09-27 | 上海哔哩哔哩科技有限公司 | 多主播场景中关注主播的方法及装置 |
KR102480046B1 (ko) * | 2021-12-24 | 2022-12-20 | 주식회사 투스라이프 | 선물 후원 시스템 및 방법 |
CN114845125B (zh) * | 2022-03-28 | 2024-06-18 | 广州博冠信息科技有限公司 | 直播间的数据处理方法、电子设备及存储介质 |
CN114845129B (zh) * | 2022-04-26 | 2023-05-30 | 北京达佳互联信息技术有限公司 | 虚拟空间中的互动方法、装置、终端以及存储介质 |
WO2024037559A1 (zh) * | 2022-08-18 | 2024-02-22 | 北京字跳网络技术有限公司 | 信息交互方法、人机交互方法、装置、电子设备和存储介质 |
CN115484489B (zh) * | 2022-09-14 | 2024-08-06 | 抖音视界有限公司 | 资源处理方法、装置、电子设备、存储介质及程序产品 |
CN115767117B (zh) * | 2022-10-26 | 2024-10-11 | 腾讯音乐娱乐科技(深圳)有限公司 | 直播互动操作的方法、设备和存储介质 |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105897770A (zh) * | 2016-06-20 | 2016-08-24 | 武汉斗鱼网络科技有限公司 | 一种基于直播的虚拟礼物展示方法和装置 |
CN108230028A (zh) * | 2017-12-29 | 2018-06-29 | 广州华多网络科技有限公司 | 多主播直播间赠送虚拟礼物的方法、装置及电子设备 |
CN108268184A (zh) * | 2017-01-04 | 2018-07-10 | 阿里巴巴集团控股有限公司 | 数据的推送方法和装置及移动设备 |
CN108391153A (zh) * | 2018-01-29 | 2018-08-10 | 北京潘达互娱科技有限公司 | 虚拟礼物显示方法、装置及电子设备 |
US20190190970A1 (en) * | 2017-12-18 | 2019-06-20 | Facebook, Inc. | Systems and methods for providing device-based feedback |
CN111010585A (zh) * | 2019-12-06 | 2020-04-14 | 广州华多网络科技有限公司 | 虚拟礼物的发送方法、装置、设备及存储介质 |
Family Cites Families (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102760006B (zh) * | 2012-03-26 | 2016-03-30 | 联想(北京)有限公司 | 一种确定操作对象的方法及装置 |
CN104063152A (zh) * | 2013-03-20 | 2014-09-24 | 腾讯科技(深圳)有限公司 | 选择对象的方法及装置 |
CN105373306B (zh) * | 2015-10-13 | 2018-10-30 | 广州酷狗计算机科技有限公司 | 虚拟物品赠送方法及装置 |
CN107040822A (zh) * | 2017-03-22 | 2017-08-11 | 北京潘达互娱科技有限公司 | 虚拟礼物展示方法及系统 |
US20190080374A1 (en) * | 2017-09-13 | 2019-03-14 | Andy Alvarez | Systems and Methods for Virtual Gifting in an Online Chat System |
CN107820132B (zh) * | 2017-11-21 | 2019-12-06 | 广州华多网络科技有限公司 | 直播互动方法、装置及系统 |
CN107807785B (zh) * | 2017-11-21 | 2020-06-12 | 广州视源电子科技股份有限公司 | 一种在触摸屏上选择对象的方法及系统 |
CN109194973A (zh) * | 2018-09-26 | 2019-01-11 | 广州华多网络科技有限公司 | 一种多主播直播间赠送虚拟礼物的展示方法、装置及设备 |
CN109104641B (zh) * | 2018-09-29 | 2021-02-12 | 广州方硅信息技术有限公司 | 一种多主播直播间赠送虚拟礼物的方法及装置 |
-
2019
- 2019-12-06 CN CN201911244818.7A patent/CN111010585B/zh active Active
-
2020
- 2020-09-03 WO PCT/CN2020/113129 patent/WO2021109650A1/zh active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105897770A (zh) * | 2016-06-20 | 2016-08-24 | 武汉斗鱼网络科技有限公司 | 一种基于直播的虚拟礼物展示方法和装置 |
CN108268184A (zh) * | 2017-01-04 | 2018-07-10 | 阿里巴巴集团控股有限公司 | 数据的推送方法和装置及移动设备 |
US20190190970A1 (en) * | 2017-12-18 | 2019-06-20 | Facebook, Inc. | Systems and methods for providing device-based feedback |
CN108230028A (zh) * | 2017-12-29 | 2018-06-29 | 广州华多网络科技有限公司 | 多主播直播间赠送虚拟礼物的方法、装置及电子设备 |
CN108391153A (zh) * | 2018-01-29 | 2018-08-10 | 北京潘达互娱科技有限公司 | 虚拟礼物显示方法、装置及电子设备 |
CN111010585A (zh) * | 2019-12-06 | 2020-04-14 | 广州华多网络科技有限公司 | 虚拟礼物的发送方法、装置、设备及存储介质 |
Cited By (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113781097A (zh) * | 2021-07-30 | 2021-12-10 | 北京达佳互联信息技术有限公司 | 虚拟资源的处理方法和装置、电子设备及存储介质 |
CN114095751A (zh) * | 2021-09-30 | 2022-02-25 | 广州方硅信息技术有限公司 | 直播相关页面的背景处理方法、电子设备及存储介质 |
CN114007095B (zh) * | 2021-10-29 | 2024-05-28 | 广州方硅信息技术有限公司 | 直播间的语音连麦互动方法、系统、介质以及计算机设备 |
CN114007095A (zh) * | 2021-10-29 | 2022-02-01 | 广州方硅信息技术有限公司 | 直播间的语音连麦互动方法、系统、介质以及计算机设备 |
CN114159779A (zh) * | 2021-11-02 | 2022-03-11 | 网易(杭州)网络有限公司 | 虚拟物品的分堆控制方法、装置、终端设备及存储介质 |
CN114143572A (zh) * | 2021-12-09 | 2022-03-04 | 杭州网易云音乐科技有限公司 | 直播交互方法、装置、存储介质、电子设备 |
CN114143572B (zh) * | 2021-12-09 | 2024-05-31 | 杭州网易云音乐科技有限公司 | 直播交互方法、装置、存储介质、电子设备 |
CN114501103A (zh) * | 2022-01-25 | 2022-05-13 | 腾讯科技(深圳)有限公司 | 基于直播视频的互动方法、装置、设备及存储介质 |
CN114466209A (zh) * | 2022-01-27 | 2022-05-10 | 腾讯科技(深圳)有限公司 | 直播互动方法、装置、电子设备、存储介质和程序产品 |
CN114630137A (zh) * | 2022-03-10 | 2022-06-14 | 北京乐我无限科技有限责任公司 | 一种虚拟礼物显示方法、系统及装置 |
CN114710691A (zh) * | 2022-04-02 | 2022-07-05 | 广州酷狗计算机科技有限公司 | 画面播放方法、装置和存储介质及电子设备 |
CN114710691B (zh) * | 2022-04-02 | 2023-11-21 | 广州酷狗计算机科技有限公司 | 画面播放方法、装置和存储介质及电子设备 |
WO2023226557A1 (zh) * | 2022-05-23 | 2023-11-30 | 腾讯科技(深圳)有限公司 | 账号间的互动方法、装置、计算机设备及存储介质 |
CN115314727A (zh) * | 2022-06-17 | 2022-11-08 | 广州方硅信息技术有限公司 | 基于虚拟对象的直播互动方法、装置及电子设备 |
WO2024099405A1 (zh) * | 2022-11-10 | 2024-05-16 | 北京字跳网络技术有限公司 | 直播互动的方法、装置、电子设备和计算机可读存储介质 |
CN117615161A (zh) * | 2023-11-10 | 2024-02-27 | 书行科技(北京)有限公司 | 一种信息处理方法、装置、设备及存储介质 |
Also Published As
Publication number | Publication date |
---|---|
CN111010585B (zh) | 2021-10-22 |
CN111010585A (zh) | 2020-04-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2021109650A1 (zh) | 虚拟礼物的发送方法、装置、设备及存储介质 | |
WO2021109652A1 (zh) | 文字虚拟礼物的赠送方法、装置、设备及存储介质 | |
CN113630615B (zh) | 直播间虚拟礼物展示方法及装置 | |
CN111541930B (zh) | 直播画面的显示方法、装置、终端及存储介质 | |
CN110769302B (zh) | 直播互动方法、装置、系统、终端设备、存储介质 | |
US10148911B2 (en) | Communication event | |
CN111246232A (zh) | 直播互动方法、装置、电子设备及存储介质 | |
CN113099298B (zh) | 虚拟形象的改变方法、装置和终端设备 | |
US10271105B2 (en) | Method for playing video, client, and computer storage medium | |
WO2015027912A1 (en) | Method and system for controlling process for recording media content | |
WO2023071917A1 (zh) | 虚拟对象互动方法、装置、存储介质及计算机程序产品 | |
WO2021023047A1 (zh) | 人脸图像的处理方法、装置、终端及存储介质 | |
WO2019114328A1 (zh) | 一种基于增强现实的视频处理方法及其装置 | |
CN112516589A (zh) | 直播中游戏商品互动方法、装置、计算机设备及存储介质 | |
CN106878825B (zh) | 基于直播的声效展示方法和装置 | |
US12028558B2 (en) | Method for processing live broadcast information, electronic device and storage medium | |
WO2023019982A1 (zh) | 同屏互动控制方法及装置、电子设备、存储介质 | |
WO2023093698A1 (zh) | 游戏直播的交互方法、存储介质、程序产品及电子设备 | |
CN113573090A (zh) | 游戏直播中的内容显示方法、装置、系统和存储介质 | |
CN114143572A (zh) | 直播交互方法、装置、存储介质、电子设备 | |
WO2018010338A1 (zh) | 显示方法和装置 | |
WO2023207570A1 (zh) | 一种文档展示方法及其相关设备 | |
WO2023138184A1 (zh) | 提示信息的显示方法、装置和存储介质及电子设备 | |
CN109348241B (zh) | 多人视频直播间中视频播放方法、装置和计算机设备 | |
CN103501467A (zh) | 一种用于视频资源访问控制的方法与设备 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 20895084 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 20895084 Country of ref document: EP Kind code of ref document: A1 |