CN111787411B - Virtual resource transfer method, device, equipment and storage medium - Google Patents

Virtual resource transfer method, device, equipment and storage medium Download PDF

Info

Publication number
CN111787411B
CN111787411B CN202010560450.1A CN202010560450A CN111787411B CN 111787411 B CN111787411 B CN 111787411B CN 202010560450 A CN202010560450 A CN 202010560450A CN 111787411 B CN111787411 B CN 111787411B
Authority
CN
China
Prior art keywords
interactive
icon
interactive operation
virtual
prompt information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010560450.1A
Other languages
Chinese (zh)
Other versions
CN111787411A (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 CN202010560450.1A priority Critical patent/CN111787411B/en
Publication of CN111787411A publication Critical patent/CN111787411A/en
Application granted granted Critical
Publication of CN111787411B publication Critical patent/CN111787411B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0485Scrolling or panning
    • 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/4788Supplemental services, e.g. displaying phone caller identification, shopping application communicating with other users, e.g. chatting

Landscapes

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

Abstract

The application provides a virtual resource transfer method, a virtual resource transfer device, virtual resource transfer equipment and a storage medium, which relate to the field of live broadcast, wherein the transfer method receives an interactive opening instruction sent by a server and generates an interactive interface on a live broadcast interface according to the interactive opening instruction; the interactive interface comprises a moving track and an animation icon positioned at a designated position of the moving track; displaying interactive operation prompt information on an interactive interface; acquiring a virtual gift given by a user, matching the virtual gift with the interactive operation prompt information, and adjusting the display position of the animation icon on the moving track according to the matching result; and when the animation icon moves to the target position of the moving track, generating an interactive operation feedback result and reporting the interactive operation feedback result to the server, so that the server transfers the virtual resources to the target anchor according to the interactive operation feedback result. The technical scheme enriches the gift sending modes of the live broadcast room users, and improves the interest of the gift sending and the interactivity between the anchor and audience users.

Description

Virtual resource transfer method, device, equipment and storage medium
Technical Field
The application relates to the field of internet live broadcast, in particular to a virtual resource transfer method, device, equipment and storage medium.
Background
In recent years, with the rise of internet applications, users are more and more inclined to select a method of online live video or small video to share some fun or perform live talent performance with others. In the video communication process, the interactivity among users can be increased by giving away the virtual gift to show special effects.
In the related art, the method for giving a virtual gift in a live broadcast room is generally: the user selects one or more virtual gifts from the virtual gift boards in the live broadcast room to be presented to the main broadcast, and the main broadcast end automatically receives the virtual gifts presented by the audience users. However, because the presentation mode of such virtual gifts is single, the interaction between the anchor user and the audience user is lacked, and the audience user only needs to click the related gift-sending option to complete the gift-sending, so that the gift-sending becomes dull and tedious, and the enthusiasm of the audience for sending the gift to the anchor user and the activity of the live broadcast room are influenced.
Disclosure of Invention
The object of the present application is to solve at least one of the above-mentioned technical drawbacks, in particular to send a form that is single and tedious.
In a first aspect, an embodiment of the present application provides a method for transferring virtual resources, including the following steps:
receiving an interactive opening instruction issued by a server, and generating an interactive interface on a live broadcast interface according to the interactive opening instruction; the interactive interface comprises a moving track and an animation icon positioned at a designated position of the moving track;
receiving interaction operation prompt information issued by the server, and displaying the interaction operation prompt information on the interaction interface;
acquiring a virtual gift given by a user, matching the virtual gift with the interactive operation prompt information, and adjusting the display position of the animation icon on the moving track according to a matching result;
and when the animation icon moves to the target position of the moving track, generating an interactive operation feedback result, and reporting the interactive operation feedback result to the server, so that the server transfers the virtual resources to a target anchor according to the interactive operation feedback result.
In one embodiment, the step of adjusting the display position of the animated icon on the moving track according to the matching result includes:
if the virtual gift is determined to be matched with the interactive operation prompt information, moving the animation icon from the current position of the moving track to the next position; otherwise, moving the animation icon from the current position to the previous position of the moving track.
In one embodiment, the step of adjusting the display position of the animated icon on the moving track according to the matching result includes:
counting whether the accumulated number of the virtual gifts matched with the interactive operation prompt information in a preset time length reaches a preset threshold value, if so, moving the animation icon from the current position of the moving track to the next position when the accumulated number reaches the preset threshold value;
otherwise, waiting for the duration of the animation icon at the current position to reach a preset duration, and moving the animation icon from the current position of the moving track to the next position.
In one embodiment, after the step of matching the virtual gift with the interactive operation prompt message, the method further includes:
and when the virtual gift is determined to be matched with the current interactive operation prompt information, feeding back the matching result to the server so that the server updates the current interactive operation prompt information and returns to execute the step of receiving the interactive operation prompt information issued by the server.
In one embodiment, the interactive interface further includes a first prompt icon and at least one second prompt icon, the first prompt icon is disposed at a first preset position, and the second prompt icons are respectively disposed at second preset positions associated with the first preset position;
before receiving the interactive operation prompt message issued by the server, the method further comprises:
and setting interactive operation prompt information according to the relative orientation relation between the first preset position of the first prompt icon and the second preset position of each second prompt icon through the server.
In a second aspect, an embodiment of the present application further provides a method for transferring virtual resources, including the following steps:
issuing an interactive opening instruction to a client so that the client generates an interactive interface on a live broadcast interface according to the interactive opening instruction; the interactive interface comprises a moving track and an animation icon positioned at a designated position of the moving track;
issuing interactive operation prompt information to a client to display the interactive operation prompt information on an interactive interface of the client, acquiring a virtual gift given by a user through the client, matching the virtual gift with the interactive operation prompt information, and adjusting the display position of the animation icon on the moving track according to a matching result; when the animation icon moves to the target position of the moving track, generating an interactive operation feedback result and reporting the interactive operation feedback result;
and receiving an interactive operation feedback result reported by the client, and transferring the virtual assets to a target anchor according to the interactive operation feedback result.
In one embodiment, the step of transferring the virtual asset to the target anchor according to the interactive operation feedback result comprises:
obtaining the moving time of each animation icon on the moving track according to the interactive operation feedback result, and determining a corresponding anchor score according to the moving time;
and comparing the scores of all the anchor participating in the interaction within a preset time period, determining a target anchor according to the anchor scores, and transferring the virtual resources to the target anchor.
In one embodiment, the interactive interface further includes a first prompt icon and at least one second prompt icon, the first prompt icon is disposed at a first preset position, and the second prompt icons are respectively disposed at second preset positions associated with the first preset position;
before the step of issuing the interactive operation prompt information to the client, the method further comprises the following steps:
and setting interactive operation prompt information according to the relative azimuth relationship between the first preset position of the first prompt icon and the second preset position of each second prompt icon.
In one embodiment, the interactive operation prompt message comprises a forward operation prompt message, a reverse operation prompt message, a clockwise operation prompt message and a counterclockwise operation prompt message;
the forward operation prompt message is used for prompting a user to send a first virtual gift consistent with a first prompt icon;
the reverse operation prompt information is used for prompting the user to send a second virtual gift corresponding to a second prompt icon opposite to the first prompt icon;
the clockwise operation prompt message is used for prompting the user to send a third virtual gift corresponding to a second prompt icon which is rotated by 90 degrees clockwise from the first prompt icon;
the counterclockwise operation prompt message is used for prompting the user to send a fourth virtual gift corresponding to a second prompt icon of which the first prompt icon rotates counterclockwise by 90 degrees.
In a third aspect, an embodiment of the present application further provides a virtual resource transfer device, including:
the interactive interface generation module is used for receiving an interactive opening instruction issued by the server and generating an interactive interface on the live broadcast interface according to the interactive opening instruction; the interactive interface comprises a moving track and an animation icon positioned at a designated position of the moving track;
the prompt information display module is used for receiving the interactive operation prompt information issued by the server and displaying the interactive operation prompt information on the interactive interface;
the display position adjusting module is used for acquiring the virtual gift given by the user, matching the virtual gift with the interactive operation prompt information, and adjusting the display position of the animation icon on the moving track according to the matching result;
and the feedback result reporting module is used for generating an interactive operation feedback result when the animation icon moves to the target position of the moving track, and reporting the interactive operation feedback result to the server so that the server transfers the virtual resource to the target anchor according to the interactive operation feedback result.
In a fourth aspect, an embodiment of the present application further provides an apparatus for transferring virtual resources, including:
the opening instruction issuing module is used for issuing an interaction opening instruction to a client so that the client generates an interaction interface on a live broadcast interface according to the interaction opening instruction; the interactive interface comprises a moving track and an animation icon positioned at a designated position of the moving track;
the prompt information issuing module is used for issuing interactive operation prompt information to a client so as to display the interactive operation prompt information on an interactive interface of the client, acquiring a virtual gift given by a user through the client, matching the virtual gift with the interactive operation prompt information, and adjusting the display position of the animation icon on the moving track according to a matching result; when the animation icon moves to the target position of the moving track, generating an interactive operation feedback result and reporting the interactive operation feedback result;
and the virtual asset transfer module is used for receiving the interactive operation feedback result reported by the client and transferring the virtual asset to the target anchor according to the interactive operation feedback result.
In a fifth aspect, an embodiment of the present application further provides a computer device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the steps of the virtual resource transfer method when executing the program.
In a sixth aspect, embodiments of the present application further provide a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform the steps of the method for transferring virtual resources.
According to the method, the device, the equipment and the storage medium for transferring the virtual resources, which are provided by the embodiment, an interactive interface is generated on a live broadcast interface according to an interactive opening instruction sent by a server by receiving the interactive opening instruction; the interactive interface comprises a moving track and an animation icon positioned at a designated position of the moving track; displaying interactive operation prompt information on an interactive interface; acquiring a virtual gift given by a user, matching the virtual gift with the interactive operation prompt information, and adjusting the display position of the animation icon on the moving track according to the matching result; when the animation icon moves to the target position of the moving track, an interactive operation feedback result is generated and reported to the server, so that the server transfers virtual resources to the target anchor according to the interactive operation feedback result, the gift delivery mode of a live broadcast room user is enriched, and the interest of the gift delivery and the interactivity between the anchor and audience users are 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 flow diagram of a method for transferring virtual resources, according to an embodiment;
FIG. 3 is a first diagram of an interactive interface provided in one embodiment;
FIG. 4 is a second diagram of an interactive interface provided in one embodiment;
FIG. 5 is a third diagram of an interactive interface provided in one embodiment;
FIG. 6 is another flow diagram of a method for transferring virtual resources, according to an embodiment;
FIG. 7 is a diagram of a live room interface provided by an embodiment;
FIG. 8 is a block diagram illustrating an apparatus for transferring virtual resources according to an embodiment;
fig. 9 is another schematic structural diagram of an apparatus for transferring virtual resources 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. It will be understood that when an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may also be present. Further, "connected" or "coupled" as used herein may include wirelessly connected or wirelessly coupled. 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 by an embodiment, where the system framework may include a server and clients, each client includes one or more anchor clients (i.e., anchor, the same below) 10 and a plurality of viewer clients (i.e., viewer clients, the same below) 20, and a live platform located on the server may include a plurality of virtual live webcasts and a server 30, where each anchor client 10 and each viewer client 20 establish 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.
The virtual resource transfer method provided by the embodiment of the application is suitable for a scene that a user in a live broadcast room gives a virtual gift to a main broadcast. In this scenario, the method for presenting virtual gifts to a main broadcast by a user is different from the related art common gift sending method in which the user selects one or more virtual gifts from a virtual gift box in a live broadcast room to present to the main broadcast and the main broadcast automatically receives the virtual gifts presented by the user, however, there is no interaction between the main broadcast and the user in such gift sending method. Based on this, the present application scheme provides a presentation mode of the virtual gift in a form of interaction between the anchor and the audience users, in such interactive play method, the users need to present the gift according to the interactive operation prompt information, and the corresponding virtual resources are presented to the anchor according to the interactive result ranking to represent the reward. In the process, in order to improve the accuracy and enthusiasm of the user for delivering the gifts according to the interactive operation prompt information as much as possible, the anchor needs to interact with the user to guide the gift-delivering behavior of the user, so that the communication between the anchor and the user is promoted, and the atmosphere of a live broadcast room is activated.
The following describes in detail a technical solution of the method for transferring virtual resources provided in the present application.
Fig. 2 is a flowchart of a virtual resource transfer method provided in an embodiment, and as shown in fig. 2, the virtual resource transfer method may be executed in a virtual resource transfer device, such as a client, where the client includes an anchor client and a viewer client.
As shown in fig. 2, the method for transferring virtual resources may include the following steps:
s110, receiving an interaction starting instruction issued by a server, and generating an interaction interface on a live broadcast interface according to the interaction starting instruction; the interactive interface comprises a moving track and an animation icon located at the designated position of the moving track.
When a broadcaster starts a certain interactive playing method, for example, a gift playing method entrance of the four saints is opened in a live broadcast room, an interactive starting instruction is sent to a server, the server broadcasts the interactive starting instruction to each client side entering the live broadcast room, and the client sides comprise an anchor client side and audience client sides.
The client receives an interactive opening instruction issued by the server, locally acquires a data packet related to the gift playing method from the client, analyzes the data packet to obtain a related data file, and generates an interactive interface on a live broadcast interface according to the related data file. In an embodiment, the interactive interface may be suspended on the live interface, and a background of the interactive interface is transparent or translucent, so as to prevent the live effect from being affected by the shielding of the live character by the interactive interface.
In this embodiment, the interactive interface includes a movement track and an animation icon located at a designated position of the movement track. Optionally, the movement track may be in any shape, such as a straight line, a regular curve, an irregular curve, and the like, and the animated icon may be an anchor avatar, other customized animated icons, or other animated icons that are default to the system. In this embodiment, the animated icon is located at the start of the movement trajectory.
Fig. 3 is a first schematic diagram of an interactive interface according to an embodiment, as shown in fig. 3, a circular ring 301 is presented on the interactive interface 30, a moving track 302 is provided in the circular ring 301, and in an initial state, an animation icon 303, i.e., an anchor avatar, is presented in the center of the circular ring 301, i.e., at a starting position of the moving track 302. Further, the movement track can be divided into a plurality of areas, such as areas I, II, III, and IV. The line segments of each region may be the same length or different lengths. In this embodiment, the background of the interactive interface 30 is transparent, and does not affect the normal presentation of the anchor live scene picture.
And S120, receiving the interaction operation prompt information issued by the server, and displaying the interaction operation prompt information on the interaction interface.
In this embodiment, the interactive operation prompt information is dynamically updated, and when the user presents a correct virtual gift, the interactive operation prompt information is updated. In other embodiments, the interactive operation prompt message is updated at a predetermined time interval.
In the running process of the interactive playing method, the server broadcasts interactive operation feedback results to all the clients entering the live broadcast room, and displays interactive operation prompt information on an interactive interface so as to remind a user of presenting virtual gifts according to the interactive operation prompt information. The interactive operation prompt information can be displayed on the interactive interface in a text form or in a voice password form, and the user can trigger a voice playing key on the interactive interface to enable the client to play the current interactive operation prompt information.
S130, obtaining the virtual gift given by the user, matching the virtual gift with the interaction operation prompt information, and adjusting the display position of the animation icon on the moving track according to the matching result.
The user presents the virtual gift according to the interactive operation prompt information on the interactive interface, the client side obtains the virtual gift presented by the user, matches the virtual gift with the interactive operation prompt information, and judges whether the virtual gift is the virtual gift presented by the interactive operation prompt information. And adjusting the display position of the animation icon on the moving track according to the matching result. For example, according to the interactive operation prompt information, if the theoretically correct virtual gift that the user needs to give is a 'white tiger' gift, the virtual gift that the user actually gives is compared with the theoretically correct virtual gift, namely the 'white tiger' gift, and if the virtual gift that the user actually gives is also the 'white tiger' gift, the virtual gift can be determined to be matched, otherwise, the virtual gift is determined to be unmatched.
In this embodiment, when the virtual gift actually presented by the user matches the theoretically correct virtual gift corresponding to the interactive operation prompt information, the animation icon is moved forward so that the animation icon is closer to the end point of the movement track. Optionally, if one virtual gift matches the interactive operation prompt information, the animation icon is moved forward, or if a plurality of virtual gifts are accumulated to match the interactive operation prompt information, that is, if the accumulated result of the matching reaches a preset number, the animation icon is moved forward.
In this embodiment, when the virtual gift actually presented by the user does not match the theoretically correct virtual gift corresponding to the interactive operation prompt information, the animation icon is moved backward so that the animation icon is away from the end point of the movement trajectory or does not move. Optionally, one virtual gift may be matched with the interactive operation prompt information, and the animation icon is moved backwards, or a plurality of virtual gifts may be accumulated and not matched with the interactive operation prompt information, that is, when the result accumulation of the unmatched virtual gifts reaches a preset number, the animation icon is moved backwards.
Fig. 4 is a second schematic diagram of the interactive interface provided in an embodiment, as shown in fig. 4, the movement track 302 can be divided into four areas I, II, III, and IV, where the area I is close to the start point and the area IV is close to the end point. When the animation icon 303 moves in the areas I, II and III, the virtual gift given by the user is correct, and the animation icon 303 is moved forward from the current position of the movement trajectory 302 to the next position, such as when the animation icon 303 moves from the I area to the II area. If the virtual gift given by the user is wrong, the animation icon 303 is maintained at the current position without moving. When the animation icon 303 moves to the area IV, if the virtual gift given by the user is wrong, the animation icon 303 moves backward from the current position of the movement track to the previous position or continues to be kept still, so that the time length for the user to participate in interactive gift giving is prolonged, and the fun of gift giving is improved. It should be noted that, in this embodiment, the next position may be a next area, or may be a next position point of the current area, in which case each area includes a plurality of position points.
And S140, when the animation icon moves to the target position of the moving track, generating an interactive operation feedback result, and reporting the interactive operation feedback result to the server, so that the server transfers the virtual resource to a target anchor according to the interactive operation feedback result.
In this embodiment, the target position of the movement track may be an end position, or a position where the first prompt icon is located.
When the animation icon moves to the end position of the moving track, the interactive salute delivery is finished. And generating an interaction ending prompt picture on an interaction interface of the client, generating an interaction operation feedback result, and reporting the interaction operation feedback result to the server. In this embodiment, the server receives the feedback result of the interactive operation, compares the interactive results of the anchor terminals, selects one or more anchors as the target anchors for rewarding, and transfers the virtual resources to the target anchors.
The method for transferring virtual resources provided by the embodiment is applied to a client, and generates an interactive interface on a live broadcast interface by receiving an interactive start instruction issued by a server; the interactive interface comprises a moving track and an animation icon positioned at a designated position of the moving track; displaying interactive operation prompt information on an interactive interface; acquiring a virtual gift given by a user, matching the virtual gift with the interactive operation prompt information, and adjusting the display position of the animation icon on the moving track according to the matching result; and when the animation icon moves to the target position of the moving track, generating an interactive operation feedback result and reporting the interactive operation feedback result to the server, so that the server transfers the virtual resources to the target anchor according to the interactive operation feedback result. The technical scheme enriches the gift sending modes of the live broadcast room users, and improves the interest of the gift sending and the interactivity between the anchor and audience users.
In order to make the technical solutions of the present application clearer and easier to understand, specific implementation processes and modes of a plurality of steps in the technical solutions are described in detail below.
Optionally, in an embodiment, the adjusting the display position of the animated icon on the moving track according to the matching result in step S130 may include the following steps:
s1301, if the virtual gift is determined to be matched with the interactive operation prompt information, moving the animation icon from the current position of the moving track to the next position; otherwise, the animation icon is moved from the current position to the previous position of the movement track.
In this embodiment, if it is determined that the virtual gift matches the interactive operation prompt information, which indicates that the virtual gift presented by the user is correct, the animation icon is moved forward from the current position of the moving track to the next position, and if it is determined that the virtual gift does not match the interactive operation prompt information, which indicates that the virtual gift presented by the user is wrong, the animation icon is moved backward from the current position of the moving track to the previous position, or is maintained at the current position without moving.
In an embodiment, the step 130 of adjusting the display position of the animated icon on the moving track according to the matching result may include the following steps:
s1302, counting whether the accumulated number of the virtual gifts matched with the interactive operation prompt information in a preset time length reaches a preset threshold value, if so, moving the animation icon from the current position of the moving track to the next position when the accumulated number reaches the preset threshold value; otherwise, waiting for the duration of the animation icon at the current position to reach a preset duration, and moving the animation icon from the current position of the moving track to the next position.
In this embodiment, the movement trajectory may be divided into a plurality of different regions, each region including several position points, for example, the movement trajectory may be divided into four regions, each region including 1000 position points. And counting whether the accumulated number of the correct virtual gifts sent by the user in a preset time length reaches a preset threshold value, if so, counting whether the accumulated number of the correct virtual gifts sent by the user in 1 minute reaches 1000, and if so, automatically moving to the next area when the number of the virtual gifts reaches 1000. And if the accumulated number of the correct virtual gifts sent by the user in the preset time does not reach the preset threshold value, waiting until the preset time when the animation icon is in the current area, and moving the animation icon from the current area to the next area of the moving track.
In this embodiment, after the step S130 of matching the virtual gift with the interactive operation prompt message, the method may further include the following steps:
and S130a, when the virtual gift is determined to be matched with the current interactive operation prompt message, feeding back the matching result to the server so that the server updates the current interactive operation prompt message, and returning to the step of receiving the interactive operation prompt message sent by the server.
And when the matching of the virtual gift presented by the user and the current interactive operation prompt information displayed on the interactive interface is determined, the user is determined to send out the correct virtual gift, the matching result is fed back to the server, and the server receives the matching result, immediately extracts another interactive operation prompt information from a preset interactive operation prompt information base and sends the another interactive operation prompt information to each client so as to update the current interactive operation prompt information. And the client receives new interactive operation prompt information as the current interactive operation prompt information, re-executes the operation of sending the interactive operation prompt information by the receiving server and displaying the interactive operation prompt information on the interactive interface, so that the user presents a new virtual gift according to the updated interactive operation prompt information.
In an embodiment, the interactive interface further includes a first prompt icon and at least one second prompt icon, the first prompt icon is disposed on a first preset position, and the second prompt icons are respectively disposed on second preset positions associated with the first preset position.
In this embodiment, the first prompt icon and the second prompt icon respectively correspond to different virtual gifts, the first prompt icon is generally only one as a reference icon for presenting the virtual gifts by the user, and the second prompt icon may be multiple and is set corresponding to the reference icon. The first prompt icon is arranged at a first preset position, such as the end point of the moving track, and the position of the second prompt icon is arranged according to the first preset position, such as the left position, the right position, the upper position or the lower position of the first preset position.
Based on this, in an embodiment, before the receiving of the interaction operation prompt message issued by the server in step S120, the method may further include the following steps:
s120a, setting interactive operation prompt information according to the relative orientation relation between the first preset position of the first prompt icon and the second preset position of each second prompt icon through the server.
In this embodiment, the second preset position is associated with the first preset position, and the second preset position is set based on the first preset position. The server sets a plurality of second preset positions according to the first preset position, each second preset position corresponds to a unique virtual gift, interaction operation prompt information is set according to the relative orientation relation between the first preset position and the second preset position, and the interaction operation prompt information is stored. And after the interaction is started, the server randomly selects an interaction operation prompt message and broadcasts the interaction operation prompt message to each client entering the live broadcast room.
In this embodiment, there may be a plurality of interactive operation prompt messages, for example, the interactive operation prompt message includes a forward operation prompt message, a reverse operation prompt message, a clockwise operation prompt message, and a counterclockwise operation prompt message. The forward operation prompt message is used for prompting the user to send a first virtual gift which is consistent with the first prompt icon; the reverse operation prompt information is used for prompting the user to send out a second virtual gift corresponding to a second prompt icon opposite to the first prompt icon; the clockwise operation prompt message is used for prompting the user to send a third virtual gift corresponding to a second prompt icon which is rotated by 90 degrees clockwise from the first prompt icon; the counterclockwise operation prompt message is used for prompting the user to send a fourth virtual gift corresponding to a second prompt icon of which the first prompt icon rotates counterclockwise by 90 degrees.
Fig. 5 is a third schematic view of the interactive interface provided in this embodiment, as shown in fig. 5, a circular ring 301 is presented in the interactive interface 30, a director figure (i.e., an animation icon) 303 which is head portrait with the director is presented on the center of the circular ring 301, a first prompt icon 304 is provided on the right side of the circular ring, such as a "white tiger" icon, corresponding second prompt icons 305 are respectively provided on the upper side, the lower side and the left side of the circular ring, such as a "basalt" icon on the upper side, a "vermilion" icon on the lower side and a "dragon" icon on the left side, wherein a moving track 302 is connected to the center of the circular ring 301 in the right direction.
Correspondingly, the forward operation prompt message is used for prompting the user to send out the 'white tiger' virtual gift; the reverse operation prompt information is used for prompting the user to send out a second virtual gift corresponding to a second prompt icon opposite to the first prompt icon, namely the 'Qinglong' virtual gift; the clockwise operation prompt message is used for prompting the user to send a third virtual gift corresponding to a second prompt icon which is rotated by 90 degrees clockwise from the first prompt icon, namely a 'vermilion' virtual gift; the counterclockwise operation prompt message is used for prompting the user to send a fourth virtual gift, namely a basalt virtual gift, corresponding to the second prompt icon of which the first prompt icon rotates counterclockwise by 90 degrees.
Fig. 6 is another flowchart of a virtual resource transferring method according to an embodiment, and as shown in fig. 6, the virtual resource transferring method may be executed on a virtual resource transferring device, such as a server.
Specifically, as shown in fig. 6, the virtual resource transferring method may include the following steps:
s210, issuing an interaction starting instruction to a client so that the client generates an interaction interface on a live broadcast interface according to the interaction starting instruction; the interactive interface comprises a moving track and an animation icon located at the designated position of the moving track.
When a broadcaster starts a certain interactive gift-sending play method, if a gift-sending play entrance of the four saints is opened in a live broadcast room, an interactive starting instruction is sent to a server, the server broadcasts the interactive starting instruction to each client side entering the live broadcast room, and the client sides comprise an anchor client side and audience client sides.
The client receives an interactive opening instruction issued by the server, locally acquires a data packet related to the gift playing method from the client, analyzes the data packet to obtain a related data file, and generates an interactive interface on a live broadcast interface according to the related data file. In an embodiment, the interactive interface may be suspended on the live interface, and a background of the interactive interface is transparent or translucent, so as to prevent the live effect from being affected by the shielding of the live character by the interactive interface.
In this embodiment, the interactive interface includes a movement track and an animation icon located at a designated position of the movement track. Optionally, the movement track may be in any shape, such as a straight line, a regular curve, an irregular curve, and the like, and the animated icon may be an anchor avatar, other customized animated icons, or other animated icons that are default to the system. In this embodiment, the animated icon is located at the start of the movement trajectory.
S220, issuing interactive operation prompt information to a client to display the interactive operation prompt information on an interactive interface of the client, acquiring a virtual gift given by a user through the client, matching the virtual gift with the interactive operation prompt information, and adjusting the display position of the animation icon on the moving track according to a matching result; and when the animation icon moves to the target position of the moving track, generating an interactive operation feedback result and reporting the interactive operation feedback result.
In this embodiment, the interactive operation prompt information is dynamically updated, and when the user presents a correct virtual gift, the interactive operation prompt information is updated. In other embodiments, the interactive operation prompt message is updated at a predetermined time interval.
In the interactive gift-giving operation process, the server broadcasts an interactive operation feedback result to each client entering the live broadcast room, and displays interactive operation prompt information on an interactive interface so as to remind a user to give a virtual gift according to the interactive operation prompt information. The interactive operation prompt information can be displayed on the interactive interface in a text form or in a voice password form, and the user can trigger a voice playing key on the interactive interface to enable the client to play the current interactive operation prompt information.
The user presents the virtual gift according to the interactive operation prompt information on the interactive interface, the client side obtains the virtual gift presented by the user, matches the virtual gift with the interactive operation prompt information, and judges whether the virtual gift is the virtual gift presented by the interactive operation prompt information. And adjusting the display position of the animation icon on the moving track according to the matching result. For example, according to the interactive operation prompt information, if the theoretically correct virtual gift that the user needs to give is a 'white tiger' gift, the virtual gift that the user actually gives is compared with the theoretically correct virtual gift, namely the 'white tiger' gift, and if the virtual gift that the user actually gives is also the 'white tiger' gift, the virtual gift can be determined to be matched, otherwise, the virtual gift is determined to be unmatched.
In this embodiment, when the virtual gift actually presented by the user matches the theoretically correct virtual gift corresponding to the interactive operation prompt information, the animation icon is moved forward so that the animation icon is closer to the end point of the movement track. Optionally, if one virtual gift matches the interactive operation prompt information, the animation icon is moved forward, or if a plurality of virtual gifts are accumulated to match the interactive operation prompt information, that is, if the accumulated result of the matching reaches a preset number, the animation icon is moved forward.
In this embodiment, when the virtual gift actually presented by the user does not match the theoretically correct virtual gift corresponding to the interactive operation prompt information, the animation icon is moved backward so that the animation icon is away from the end point of the movement trajectory or does not move. Optionally, one virtual gift may be matched with the interactive operation prompt information, and the animation icon is moved backwards, or a plurality of virtual gifts may be accumulated and not matched with the interactive operation prompt information, that is, when the result accumulation of the unmatched virtual gifts reaches a preset number, the animation icon is moved backwards.
And S230, receiving the interactive operation feedback result reported by the client, and transferring the virtual asset to a target anchor according to the interactive operation feedback result.
When the animation icon moves to the end point position of the moving track, the interactive gift sending is finished, an interactive finishing prompt picture is generated on an interactive interface of the client, an interactive operation feedback result is generated, and the interactive operation feedback result is reported to the server. In this embodiment, the server receives the feedback result of the interactive operation, compares the interactive results of the anchor terminals, selects one or more anchors as the target anchors for rewarding, and transfers the virtual resources to the target anchors.
The method for transferring virtual resources provided by the embodiment is applied to a server, and an interactive opening instruction is issued to a client, so that the client generates an interactive interface on a live broadcast interface according to the interactive opening instruction; the interactive interface comprises a moving track and an animation icon positioned at the designated position of the moving track; issuing interactive operation prompt information to a client to display the interactive operation prompt information on an interactive interface of the client, matching virtual gifts given by a user with the interactive operation prompt information through the client, and adjusting the display position of the animation icon on the moving track according to a matching result; when the animation icon moves to the target position of the moving track, generating an interactive operation feedback result and reporting the interactive operation feedback result; and receiving an interactive operation feedback result reported by the client, and transferring the virtual assets to the target anchor according to the interactive operation feedback result, so that the gift delivery mode of the live broadcast room user is enriched, and the interest of the gift delivery and the interactivity between the anchor and audience users are improved.
In this embodiment, the transferring the virtual asset to the target anchor according to the interactive operation feedback result in step S230 may include the following steps:
s2301, obtaining moving duration of each animation icon on the moving track according to the interactive operation feedback result, and determining corresponding anchor scores according to the moving duration.
And the server acquires the moving time of the animation icon on the moving track according to the interactive operation feedback result reported by each client, wherein the shorter the moving time is, the higher the corresponding anchor score is. In this embodiment, since the duration of the animation icon on each area of the moving track reaches the preset duration, the next area is automatically skipped, and if the accumulated number of the virtual gifts given by the user and matched with the corresponding interactive operation prompt information reaches the preset threshold, the next area can be skipped in advance. Therefore, an inverse proportion relation is established for the moving time length and the corresponding anchor score, so that the anchor score is lower when the moving time length is longer, and the anchor score is higher when the moving time length is shorter.
S2302, comparing the anchor scores participating in interactive gift delivery in a preset time period, determining a target anchor according to the anchor scores, and transferring virtual resources to the target anchor.
The preset time period may be one day, half day, one hour, or other custom time periods, such as 8 o 'clock to 9 o' clock in the evening. And acquiring anchor scores of all anchors participating in the interactive salutation in a preset time period, sorting the anchor scores from high to low, selecting one or more target anchors, and transferring the virtual resources acquired in the preset time period to all the target anchors according to a preset proportion corresponding to the ranking. Optionally, the virtual gift given by the user in the preset time period and not matching with the interactive operation prompt message may be used as the virtual resource transferred to the target anchor,
in an embodiment, the interactive interface further includes a first prompt icon and at least one second prompt icon, the first prompt icon is disposed on a first preset position, and the second prompt icons are respectively disposed on second preset positions associated with the first preset position.
In this embodiment, the first prompt icon and the second prompt icon respectively correspond to different virtual gifts, the first prompt icon is generally only one as a reference icon for presenting the virtual gifts by the user, and the second prompt icon may be multiple and is set corresponding to the reference icon. The first prompt icon is arranged at a first preset position, such as the end point of the moving track, and the position of the second prompt icon is arranged according to the first preset position, such as the left position, the right position, the upper position or the lower position of the first preset position.
Based on this, in an embodiment, before issuing the interaction operation prompt message to the client in step S220, the following steps may be further included:
s220a, setting interactive operation prompt information according to the relative orientation relation between the first preset position of the first prompt icon and the second preset position of each second prompt icon.
In this embodiment, the second preset position is associated with the first preset position, and the second preset position is set based on the first preset position. The server sets a plurality of second preset positions according to the first preset position, each second preset position corresponds to a unique virtual gift, interaction operation prompt information is set according to the relative orientation relation between the first preset position and the second preset position, and the interaction operation prompt information is stored. And after the interactive gift sending is started, randomly selecting an interactive operation prompt message from the interactive gift sending and broadcasting the interactive operation prompt message to each client entering the live broadcast room.
In this embodiment, there may be a plurality of interactive operation prompt messages, for example, the interactive operation prompt message includes a forward operation prompt message, a reverse operation prompt message, a clockwise operation prompt message, and a counterclockwise operation prompt message; the forward operation prompt message is used for prompting a user to send a first virtual gift consistent with a first prompt icon; the reverse operation prompt information is used for prompting the user to send a second virtual gift corresponding to a second prompt icon opposite to the first prompt icon; the clockwise operation prompt message is used for prompting the user to send a third virtual gift corresponding to a second prompt icon which is rotated by 90 degrees clockwise from the first prompt icon; the counterclockwise operation prompt message is used for prompting the user to send a fourth virtual gift corresponding to a second prompt icon of which the first prompt icon rotates counterclockwise by 90 degrees.
In order to make the technical solutions provided by the embodiments of the present invention clearer, an example of a virtual gift display method is explained below with reference to fig. 7, and fig. 7 is a schematic view of a live broadcast interface provided by an embodiment.
As shown in fig. 7, in the live broadcast room, after the anchor starts an interactive gift sending play method (such as a gift play method named "four saints," a ring appears in the live broadcast room, any saint (a left dragon, a right tiger, an upper basalt, and a lower sparrow) appears randomly in four directions of the ring, the anchor man is in the position of the center of a circle, the play method aims at that the anchor man walks from the center of the circle to the position of a target saint on the edge of the circle, the position from the center of the circle to the target saint is divided into four areas, the interactive operation prompt information of each area is different, a user in the live broadcast room must send out a correct gift according to the interactive operation prompt information, the anchor man walks in the correct direction, and if the gift is sent in a wrong direction, the anchor man does not react or walks in the reverse direction; and when the target position is reached in each area or the time is over, the next stage is continued, the shorter the time is, the higher the score is reached, and the owner with the highest score can obtain the gift addition corresponding to the saint.
In this embodiment, the virtual resource transferring method may be implemented by the following steps:
s0, opening a four saint animal gift playing entrance in a live broadcast room by a anchor, after clicking starts, a ring can appear in the live broadcast room, a person (the head portrait of the anchor needs to be uploaded in advance and is provided for a server to be issued to the whole live broadcast room) with the anchor as a head portrait appears on the circle center of the ring, then, on the edge of the circle, one saint animal (a left dragon, a right tiger, an upper basalt and a lower sparrow) can randomly appear in the upper direction, the lower direction, the left direction, the right direction, the upper direction, the lower direction and the left direction, and according to the randomly generated interactive operation prompt information, after an interactive interface is generated, the interactive salute sending can be subjected to a countdown preparation stage of 10 seconds;
s1, after the preparation stage is finished, starting the interactive gift delivery formally: the straight-line distance from the anchor man (circle center position) to the saint animal (circle edge position) is equal to four regions.
S2, the method includes that the kids walk from the area 1 to the area 4, the time of stay of each area kid is 1 minute, each area randomly generates one of the following four kinds of interaction operation prompt information, the corresponding gift of the four saints is sent out within 1 minute by a user aiming at each kind of different interaction operation prompt information, so that the kids can move towards the direction of the target saints, rules can be repeated or not repeated due to the randomness of the interaction operation prompt information, and the specific rules are as follows:
forward operation prompt information, namely a saint gift in the same direction as the target saint is sent out, for example, the saint is a white tiger, the user sends out the white tiger gift under the interactive operation prompt information, and the anchor talent moves forward;
reverse operation prompt information, namely, the saint gift in the opposite direction to the target saint is sent out, for example, the saint is a white tiger, the user sends out the dragon gift under the interactive operation prompt information, and the anchor talent moves forwards;
the method comprises the steps that prompt information of clockwise operation is carried out, namely a gift of the next saint animal clockwise in the direction of the target saint animal is sent out, for example, the saint animal is a white tiger, a user sends out a basalt gift under the prompt information of the interactive operation, and a small anchor person moves forwards;
the method comprises the steps that (1) anticlockwise operation prompt information, namely a gift of the next saint of a target saint is sent out anticlockwise, for example, the saint is a white tiger, a user sends out a vermilion gift under the interactive operation prompt information, and a director talent moves forwards;
s3, when the owner moves in the area 1-3, if the corresponding saint animal gift is sent by mistake, the owner does not move, but in the area 4, if the owner moves in the opposite direction, the owner moves to the center of the circle and moves away from the end point;
s4, each area is divided into 1000 shares, each time 1 gift is sent out in the live broadcast room, the anchor person will move forward 1 share, if 1000 gifts or more anchor persons are sent out in 1 minute, the area can be finished in advance, the time S1 spent in the area is recorded, and then the next stage is started; if 1000 correct gifts are not delivered for more than 1 minute, the next stage is automatically skipped. And (3) delivering wrong gifts in the area 4, wherein the anchor person moves 1 part in the opposite direction every time 1 gift is delivered by mistake, and when the error quantity causes the anchor person to move to the circle center position, the anchor person does not move any more.
S5, total time for the anchor puppy to reach the target saint (i.e., endpoint) is S1+ S2+ S3+ S4, with the longest time being 4 minutes in total for each region defined.
S6, counting the end of the anchor with the least time spent in playing the "four saint" gifts every day, and then each anchor with the least time spent will obtain 5% of the gift in the holy pool of the four saints on the day, and the gift in the holy pool will be composed of the number of the missed gifts sent by each saint on the day, for example, the number of the missed gifts sent by the white tiger saint in the day is 1000, and the TOP1 anchor will obtain an additional award of 1000 × 0.05 — 50 saint gifts.
Based on the scheme, the sent gifts need the users to send gifts according to the prompt messages of each interactive operation, the fact that the owner and the kids do not move or walk in the opposite direction due to wrong sending can lead to the uncertainty of the playing method and the interest of the playing method, the concentration of the owner who is careful to take the gifts in the playing method is increased, the communication with the users is enhanced, the reward of top1 every day of each kind of saint beasts is set finally, and the desire and the power of the owner for winning the gifts are greatly increased.
The following describes in detail a related embodiment of the virtual resource transfer apparatus.
Fig. 8 is a schematic structural diagram of an apparatus for transferring a virtual resource according to an embodiment, where the apparatus for transferring a virtual resource is executable on a transfer device of a virtual resource, such as a client, and the client includes an anchor client and a viewer client.
As shown in fig. 8, the virtual resource transfer apparatus 100 includes: an interactive interface generating module 110, a prompt information display module 120, a display position adjusting module 130 and a feedback result reporting module 140.
The interactive interface generating module 110 is configured to receive an interactive start instruction issued by a server, and generate an interactive interface on a live broadcast interface according to the interactive start instruction; the interactive interface comprises a moving track and an animation icon positioned at a designated position of the moving track;
a prompt information display module 120, configured to receive an interactive operation prompt message issued by the server, and display the interactive operation prompt message on the interactive interface;
a display position adjusting module 130, configured to obtain a virtual gift given by a user, match the virtual gift with the interaction operation prompting information, and adjust a display position of the animation icon on the moving trajectory according to a matching result;
a feedback result reporting module 140, configured to generate an interaction operation feedback result when the animation icon moves to the target position of the moving track, and report the interaction operation feedback result to the server, so that the server transfers the virtual resource to the target anchor according to the interaction operation feedback result.
The virtual resource transfer device provided by the embodiment is applied to a client, and generates an interactive interface on a live interface; the interactive interface comprises a moving track and an animation icon positioned at a designated position of the moving track; displaying interactive operation prompt information on an interactive interface; acquiring a virtual gift given by a user, matching the virtual gift with the interactive operation prompt information, and adjusting the display position of the animation icon on the moving track according to the matching result; and when the animation icon moves to the target position of the moving track, generating an interactive operation feedback result and reporting the interactive operation feedback result to the server, so that the server transfers the virtual resources to the target anchor according to the interactive operation feedback result. The technical scheme enriches the gift sending modes of the live broadcast room users, and improves the interest of the gift sending and the interactivity between the anchor and audience users.
In one embodiment, the display position adjustment module 130 includes:
if the virtual gift is determined to be matched with the interactive operation prompt information, moving the animation icon from the current position of the moving track to the next position; otherwise, moving the animation icon from the current position to the previous position of the moving track.
In one embodiment, the display position adjustment module 130 includes:
counting whether the accumulated number of the virtual gifts matched with the interactive operation prompt information in a preset time length reaches a preset threshold value, if so, moving the animation icon from the current position of the moving track to the next position when the accumulated number reaches the preset threshold value;
otherwise, waiting for the duration of the animation icon at the current position to reach a preset duration, and moving the animation icon from the current position of the moving track to the next position.
In an embodiment, the apparatus 100 for transferring virtual resources further includes: and the information updating module is used for feeding back the matching result to the server when the virtual gift is determined to be matched with the current interactive operation prompt information, so that the server updates the current interactive operation prompt information and returns to execute the step of receiving the interactive operation prompt information issued by the server.
In an embodiment, the interactive interface further includes a first prompt icon and at least one second prompt icon, the first prompt icon is disposed on a first preset position, and the second prompt icons are respectively disposed on second preset positions associated with the first preset position;
the virtual resource transfer apparatus 100 further includes: and the information setting module is used for setting interactive operation prompt information according to the relative orientation relation between the first preset position of the first prompt icon and the second preset positions of the second prompt icons through the server.
When the provided virtual resource transfer device executes the virtual resource transfer method provided by any embodiment, the device has corresponding functions and beneficial effects.
Fig. 9 is another schematic structural diagram of an apparatus for transferring virtual resources according to an embodiment, where the apparatus for transferring virtual resources may be implemented in a virtual resource transferring device, such as a server.
As shown in fig. 9, the virtual resource transfer apparatus 200 includes: an opening instruction issuing module 210, a prompt information issuing module 220 and a virtual asset transfer module 230.
The opening instruction issuing module 210 is configured to issue an interaction opening instruction to a client, so that the client generates an interaction interface on a live broadcast interface according to the interaction opening instruction; the interactive interface comprises a moving track and an animation icon positioned at a designated position of the moving track;
the prompt information issuing module 220 is configured to issue an interactive operation prompt information to a client, so as to display the interactive operation prompt information on an interactive interface of the client, obtain a virtual gift given by a user through the client, match the virtual gift with the interactive operation prompt information, and adjust a display position of the animation icon on the moving track according to a matching result; when the animation icon moves to the target position of the moving track, generating an interactive operation feedback result and reporting the interactive operation feedback result;
the virtual asset transfer module 230 is configured to receive an interaction operation feedback result reported by the client, and transfer a virtual asset to a target anchor according to the interaction operation feedback result.
The virtual resource transfer device provided by this embodiment is applied to a server, and issues an interactive start instruction to a client through a start instruction issuing module, so that the client generates an interactive interface on a live broadcast interface according to the interactive start instruction; the interactive interface comprises a moving track and an animation icon positioned at a designated position of the moving track; the prompt information issuing module issues interactive operation prompt information to a client so as to display the interactive operation prompt information on an interactive interface of the client, matches a virtual gift given by a user with the interactive operation prompt information through the client, and adjusts the display position of the animation icon on the moving track according to a matching result; when the animation icon moves to the target position of the moving track, generating an interactive operation feedback result and reporting the interactive operation feedback result; the virtual asset transfer module receives the interactive operation feedback result reported by the client and transfers the virtual asset to the target anchor according to the interactive operation feedback result, so that the gift delivery mode of the live broadcast room user is enriched, and the interest of the gift delivery and the interactivity between the anchor and audience users are improved.
In one embodiment, virtual asset transfer module 230 includes: the anchor score determining unit and the virtual asset transferring unit;
the anchor score determining unit is used for acquiring the moving time of each animation icon on the moving track according to the interactive operation feedback result and determining a corresponding anchor score according to the moving time;
and the virtual asset transfer unit is used for comparing the anchor scores participating in the interactive gift delivery in a preset time period, determining a target anchor according to the anchor scores and transferring virtual resources to the target anchor.
In an embodiment, the interactive interface further includes a first prompt icon and at least one second prompt icon, the first prompt icon is disposed on a first preset position, and the second prompt icons are respectively disposed on second preset positions associated with the first preset position;
the virtual resource transfer apparatus 200 further includes: and the information setting module is used for setting interactive operation prompt information according to the relative orientation relation between the first preset position of the first prompt icon and the second preset positions of the second prompt icons.
In one embodiment, the interactive operation prompt information includes forward operation prompt information, reverse operation prompt information, clockwise operation prompt information and anticlockwise operation prompt information;
the forward operation prompt message is used for prompting a user to send a first virtual gift consistent with a first prompt icon;
the reverse operation prompt information is used for prompting the user to send a second virtual gift corresponding to a second prompt icon opposite to the first prompt icon;
the clockwise operation prompt message is used for prompting the user to send a third virtual gift corresponding to a second prompt icon which is rotated by 90 degrees clockwise from the first prompt icon;
the counterclockwise operation prompt message is used for prompting the user to send a fourth virtual gift corresponding to a second prompt icon of which the first prompt icon rotates counterclockwise by 90 degrees.
When the provided virtual resource transfer device executes the virtual resource transfer method provided by any embodiment, the device has corresponding functions and beneficial effects.
The embodiment of the present invention further provides a computer device, which includes a memory, a processor, and a computer program stored in the memory and capable of running on the processor, and when the processor executes the program, the processor implements the method for transferring virtual resources according to any of the above embodiments.
When the computer device provided by the foregoing embodiment executes the method for transferring virtual resources provided by any of the foregoing embodiments, the computer device has corresponding functions and advantageous effects.
An embodiment of the present invention provides a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform a method for transferring virtual resources, including:
receiving an interactive opening instruction issued by a server, and generating an interactive interface on a live broadcast interface according to the interactive opening instruction; the interactive interface comprises a moving track and an animation icon positioned at a designated position of the moving track;
receiving interaction operation prompt information issued by the server, and displaying the interaction operation prompt information on the interaction interface;
acquiring a virtual gift given by a user, matching the virtual gift with the interactive operation prompt information, and adjusting the display position of the animation icon on the moving track according to a matching result;
and when the animation icon moves to the target position of the moving track, generating an interactive operation feedback result, and reporting the interactive operation feedback result to the server, so that the server transfers the virtual resources to a target anchor according to the interactive operation feedback result.
Embodiments of the present invention also provide a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform a method for transferring virtual resources, including:
issuing an interactive opening instruction to a client so that the client generates an interactive interface on a live broadcast interface according to the interactive opening instruction; the interactive interface comprises a moving track and an animation icon positioned at a designated position of the moving track;
issuing interactive operation prompt information to a client to display the interactive operation prompt information on an interactive interface of the client, acquiring a virtual gift given by a user through the client, matching the virtual gift with the interactive operation prompt information, and adjusting the display position of the animation icon on the moving track according to a matching result; when the animation icon moves to the target position of the moving track, generating an interactive operation feedback result and reporting the interactive operation feedback result;
and receiving an interactive operation feedback result reported by the client, and transferring the virtual assets to a target anchor according to the interactive operation feedback result.
Of course, the storage medium provided by the embodiment of the present invention includes computer-executable instructions, where the computer-executable instructions are not limited to the operations of the virtual resource transfer method described above, and may also perform related operations in the virtual resource transfer method provided by any embodiment of the present invention, and have 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 solution 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 several instructions to enable a computer device (which may be a personal computer, a server, or a network device) to execute the method for transferring a virtual resource 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 (13)

1. A method for transferring virtual resources is characterized by comprising the following steps:
receiving an interactive opening instruction issued by a server, and generating an interactive interface on a live broadcast interface according to the interactive opening instruction; the interactive interface comprises a moving track and an animation icon positioned at a designated position of the moving track;
receiving interaction operation prompt information issued by the server, and displaying the interaction operation prompt information on the interaction interface;
acquiring a virtual gift given by a user, matching the virtual gift with the interactive operation prompt information, and adjusting the display position of the animation icon on the moving track according to a matching result;
and when the animation icon moves to the target position of the moving track, generating an interactive operation feedback result, and reporting the interactive operation feedback result to the server, so that the server transfers the virtual resources to a target anchor according to the interactive operation feedback result.
2. The method for transferring virtual resources according to claim 1, wherein the step of adjusting the display position of the animated icon on the moving trajectory according to the matching result comprises:
if the virtual gift is determined to be matched with the interactive operation prompt information, moving the animation icon from the current position of the moving track to the next position; otherwise, moving the animation icon from the current position to the previous position of the moving track.
3. The method for transferring virtual resources according to claim 1 or 2, wherein the step of adjusting the display position of the animated icon on the moving trajectory according to the matching result comprises:
counting whether the accumulated number of the virtual gifts matched with the interactive operation prompt information in a preset time length reaches a preset threshold value, if so, moving the animation icon from the current position of the moving track to the next position when the accumulated number reaches the preset threshold value;
otherwise, waiting for the duration of the animation icon at the current position to reach a preset duration, and moving the animation icon from the current position of the moving track to the next position.
4. The method for transferring virtual resources according to claim 1, wherein the step of matching the virtual gift with the interactive operation prompt message further comprises:
and when the virtual gift is determined to be matched with the current interactive operation prompt information, feeding back the matching result to the server so that the server updates the current interactive operation prompt information and returns to execute the step of receiving the interactive operation prompt information issued by the server.
5. The method for transferring virtual resources according to claim 1, wherein the interactive interface further includes a first prompt icon and at least one second prompt icon, the first prompt icon is disposed at a first preset position, and the second prompt icons are respectively disposed at second preset positions associated with the first preset position;
before receiving the interactive operation prompt message issued by the server, the method further comprises:
and setting interactive operation prompt information according to the relative orientation relation between the first preset position of the first prompt icon and the second preset position of each second prompt icon through the server.
6. A method for transferring virtual resources is characterized by comprising the following steps:
issuing an interactive opening instruction to a client so that the client generates an interactive interface on a live broadcast interface according to the interactive opening instruction; the interactive interface comprises a moving track and an animation icon positioned at a designated position of the moving track;
issuing interactive operation prompt information to a client to display the interactive operation prompt information on an interactive interface of the client, acquiring a virtual gift given by a user through the client, matching the virtual gift with the interactive operation prompt information, and adjusting the display position of the animation icon on the moving track according to a matching result; when the animation icon moves to the target position of the moving track, generating an interactive operation feedback result and reporting the interactive operation feedback result;
and receiving an interactive operation feedback result reported by the client, and transferring the virtual assets to a target anchor according to the interactive operation feedback result.
7. The method according to claim 6, wherein the step of transferring the virtual asset to the target anchor according to the interactive operation feedback result comprises:
obtaining the moving time of each animation icon on the moving track according to the interactive operation feedback result, and determining a corresponding anchor score according to the moving time;
and comparing the anchor scores participating in the interactive gift delivery in a preset time period, determining a target anchor according to the anchor scores, and transferring virtual resources to the target anchor.
8. The method for transferring virtual resources according to claim 6, wherein the interactive interface further includes a first prompt icon and at least one second prompt icon, the first prompt icon is disposed at a first preset position, and the second prompt icons are respectively disposed at second preset positions associated with the first preset position;
before the step of issuing the interactive operation prompt information to the client, the method further comprises the following steps:
and setting interactive operation prompt information according to the relative azimuth relationship between the first preset position of the first prompt icon and the second preset position of each second prompt icon.
9. The method according to claim 8, wherein the interactive operation prompt message includes a forward operation prompt message, a reverse operation prompt message, a clockwise operation prompt message, and a counterclockwise operation prompt message;
the forward operation prompt message is used for prompting a user to send a first virtual gift consistent with a first prompt icon;
the reverse operation prompt information is used for prompting the user to send a second virtual gift corresponding to a second prompt icon opposite to the first prompt icon;
the clockwise operation prompt message is used for prompting the user to send a third virtual gift corresponding to a second prompt icon which is rotated by 90 degrees clockwise from the first prompt icon;
the counterclockwise operation prompt message is used for prompting the user to send a fourth virtual gift corresponding to a second prompt icon of which the first prompt icon rotates counterclockwise by 90 degrees.
10. An apparatus for transferring virtual resources, comprising:
the interactive interface generation module is used for receiving an interactive opening instruction issued by the server and generating an interactive interface on the live broadcast interface according to the interactive opening instruction; the interactive interface comprises a moving track and an animation icon positioned at a designated position of the moving track;
the prompt information display module is used for receiving the interactive operation prompt information issued by the server and displaying the interactive operation prompt information on the interactive interface;
the display position adjusting module is used for acquiring the virtual gift given by the user, matching the virtual gift with the interactive operation prompt information, and adjusting the display position of the animation icon on the moving track according to the matching result;
and the feedback result reporting module is used for generating an interactive operation feedback result when the animation icon moves to the target position of the moving track, and reporting the interactive operation feedback result to the server so that the server transfers the virtual resource to the target anchor according to the interactive operation feedback result.
11. An apparatus for transferring virtual resources, comprising:
the opening instruction issuing module is used for issuing an interaction opening instruction to a client so that the client generates an interaction interface on a live broadcast interface according to the interaction opening instruction; the interactive interface comprises a moving track and an animation icon positioned at a designated position of the moving track;
the prompt information issuing module is used for issuing interactive operation prompt information to a client so as to display the interactive operation prompt information on an interactive interface of the client, acquiring a virtual gift given by a user through the client, matching the virtual gift with the interactive operation prompt information, and adjusting the display position of the animation icon on the moving track according to a matching result; when the animation icon moves to the target position of the moving track, generating an interactive operation feedback result and reporting the interactive operation feedback result;
and the virtual asset transfer module is used for receiving the interactive operation feedback result reported by the client and transferring the virtual asset to the target anchor according to the interactive operation feedback result.
12. 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 for transferring virtual resources according to any one of claims 1 to 9 when executing said program.
13. A storage medium containing computer-executable instructions for performing the steps of the method for transferring a virtual resource according to any one of claims 1 to 9 when executed by a computer processor.
CN202010560450.1A 2020-06-18 2020-06-18 Virtual resource transfer method, device, equipment and storage medium Active CN111787411B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010560450.1A CN111787411B (en) 2020-06-18 2020-06-18 Virtual resource transfer method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010560450.1A CN111787411B (en) 2020-06-18 2020-06-18 Virtual resource transfer method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111787411A CN111787411A (en) 2020-10-16
CN111787411B true CN111787411B (en) 2021-11-19

Family

ID=72757142

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010560450.1A Active CN111787411B (en) 2020-06-18 2020-06-18 Virtual resource transfer method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111787411B (en)

Families Citing this family (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112351298B (en) * 2020-10-29 2022-03-25 腾讯科技(深圳)有限公司 Virtual resource processing method and device, storage medium and electronic equipment
CN112232793B (en) * 2020-11-04 2023-09-19 腾讯科技(深圳)有限公司 Electronic resource distribution method, device, storage medium and equipment
CN112437338B (en) * 2020-11-24 2022-01-04 腾讯科技(深圳)有限公司 Virtual resource transfer method, device, electronic equipment and storage medium
CN112506387B (en) * 2020-11-30 2023-02-17 北京达佳互联信息技术有限公司 Virtual resource allocation display method, device and storage medium
CN112925426A (en) * 2021-02-08 2021-06-08 维沃移动通信有限公司 Processing method and device of stylus and electronic equipment
CN113041625B (en) * 2021-04-25 2023-03-14 腾讯科技(深圳)有限公司 Live interface display method, device and equipment and readable storage medium
CN113126852B (en) * 2021-05-18 2022-08-19 腾讯科技(深圳)有限公司 Dynamic message display method, related device, equipment and storage medium
CN113329234B (en) * 2021-05-28 2022-06-10 腾讯科技(深圳)有限公司 Live broadcast interaction method and related equipment
CN113448474A (en) * 2021-06-30 2021-09-28 广州博冠信息科技有限公司 Interactive interface display method, device, medium and electronic equipment of live broadcast room
CN113573131B (en) * 2021-07-14 2023-08-18 广州方硅信息技术有限公司 Data processing method and device applied to live broadcast, electronic equipment and storage medium
CN113573089B (en) * 2021-07-27 2023-12-19 广州繁星互娱信息科技有限公司 Virtual resource interaction method and device, storage medium and electronic equipment
CN113992930B (en) * 2021-10-28 2023-10-03 广州方硅信息技术有限公司 Virtual resource conversion method, device, live broadcast system, equipment and storage medium
CN114168018A (en) * 2021-12-08 2022-03-11 北京字跳网络技术有限公司 Data interaction method, data interaction device, electronic equipment, storage medium and program product
CN114257829B (en) * 2021-12-20 2024-02-13 北京字跳网络技术有限公司 Resource processing method, device and equipment for live broadcast room and storage medium
CN114419201A (en) * 2022-01-19 2022-04-29 北京字跳网络技术有限公司 Animation display method, animation display device, electronic equipment, animation display medium and program product
JP7239123B1 (en) 2022-09-01 2023-03-14 17Live株式会社 computer programs and terminals
CN115767117A (en) * 2022-10-26 2023-03-07 腾讯音乐娱乐科技(深圳)有限公司 Method, equipment and storage medium for live broadcast interactive operation

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105373306A (en) * 2015-10-13 2016-03-02 广州酷狗计算机科技有限公司 Virtual goods presenting method and device
CN107679840A (en) * 2017-09-14 2018-02-09 维沃移动通信有限公司 A kind of resource transfers method, relevant device and system
CN107820132A (en) * 2017-11-21 2018-03-20 广州华多网络科技有限公司 Living broadcast interactive method, apparatus and system
CN110225408A (en) * 2019-05-27 2019-09-10 广州华多网络科技有限公司 A kind of information broadcast method, device and equipment
CN110460867A (en) * 2019-07-31 2019-11-15 广州华多网络科技有限公司 Even wheat interactive approach, even wheat interaction systems, electronic equipment and storage medium
CN110505492A (en) * 2019-09-02 2019-11-26 广州华多网络科技有限公司 Direct broadcasting room is given gifts the reminding method and system of information
WO2020043149A1 (en) * 2018-08-31 2020-03-05 Alibaba Group Holding Limited Video interaction method and apparatus
CN111083509A (en) * 2019-12-16 2020-04-28 腾讯科技(深圳)有限公司 Interactive task execution method and device, storage medium and computer equipment

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9049259B2 (en) * 2011-05-03 2015-06-02 Onepatont Software Limited System and method for dynamically providing visual action or activity news feed
US20140342791A1 (en) * 2013-03-29 2014-11-20 Rekkener Llc Interactive electronic game of pattern matching
CN104104979B (en) * 2013-04-11 2017-12-19 深圳数字电视国家工程实验室股份有限公司 The interactive user operations information processing method and system of DTV
WO2014205810A2 (en) * 2013-06-28 2014-12-31 Chan Shu Hung Method and system of providing picture matching game play to learn languages

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105373306A (en) * 2015-10-13 2016-03-02 广州酷狗计算机科技有限公司 Virtual goods presenting method and device
CN107679840A (en) * 2017-09-14 2018-02-09 维沃移动通信有限公司 A kind of resource transfers method, relevant device and system
CN107820132A (en) * 2017-11-21 2018-03-20 广州华多网络科技有限公司 Living broadcast interactive method, apparatus and system
WO2020043149A1 (en) * 2018-08-31 2020-03-05 Alibaba Group Holding Limited Video interaction method and apparatus
CN110225408A (en) * 2019-05-27 2019-09-10 广州华多网络科技有限公司 A kind of information broadcast method, device and equipment
CN110460867A (en) * 2019-07-31 2019-11-15 广州华多网络科技有限公司 Even wheat interactive approach, even wheat interaction systems, electronic equipment and storage medium
CN110505492A (en) * 2019-09-02 2019-11-26 广州华多网络科技有限公司 Direct broadcasting room is given gifts the reminding method and system of information
CN111083509A (en) * 2019-12-16 2020-04-28 腾讯科技(深圳)有限公司 Interactive task execution method and device, storage medium and computer equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"不同直播类型下主播互动类型和互动策略对受众打赏意愿的影响";范钧;《国际会议》;20180608;全文 *

Also Published As

Publication number Publication date
CN111787411A (en) 2020-10-16

Similar Documents

Publication Publication Date Title
CN111787411B (en) Virtual resource transfer method, device, equipment and storage medium
CN113058270B (en) Live interaction method and device, storage medium and electronic equipment
CN109005417B (en) Live broadcast room entering method, system, terminal and device for playing game based on live broadcast
CN109068182B (en) Live broadcast room entering method, system, terminal and device for playing game based on live broadcast
US7824268B2 (en) Live hosted online multiplayer game
CN109120945B (en) Live broadcast-based game matching method, game interaction system and server
CN112565798A (en) Live broadcast interaction realization method and computer readable storage medium
US20060265277A1 (en) Systems, methods, and programming for Internet games, including dating games
CN110225412B (en) Video interaction method, device and storage medium
CN114501104B (en) Interaction method, device, equipment, storage medium and product based on live video
CN112367528B (en) Live broadcast interaction method and computer equipment
CN109195003B (en) Interaction method, system, terminal and device for playing game based on live broadcast
CN111836066A (en) Live broadcast-based team interaction method, device, equipment and storage medium
US9993736B2 (en) Cloud computing system and application provision method
CN113289332B (en) Game interaction method, game interaction device, electronic equipment and computer readable storage medium
CN112000252B (en) Virtual article sending and displaying method, device, equipment and storage medium
WO2022213287A1 (en) Live broadcast interaction method and apparatus, live broadcast server, terminal, and storage medium
CN113727132A (en) Virtual gift display method, server, storage medium and computer device
CN114268810B (en) Live video display method, system, equipment and storage medium
CN112700289A (en) Reward resource interaction control method, device and equipment
CN114666672B (en) Live fight interaction method and system initiated by audience and computer equipment
CN105577641B (en) System and method for inviting users to participate in an activity based on interactive recording
CN110798746A (en) Short video answering system and method
CN115134621B (en) Live combat interaction method, system, device, equipment and medium
CN114339436B (en) Live broadcasting room game interaction method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
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