Virtual resource transfer method, device, electronic device and storage medium
By realizing the transfer method of virtual resources on the live broadcast platform, the problem of low utilization of live broadcast interactive service resources is solved, and the diversification of interactive information and efficient utilization of service resources is achieved.
Patent Information
- Application Number
- CN202410937112.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-12
- Publication Date
- 2025-02-25
- Estimated Expiration
- 2044-07-12
AI Technical Summary
The live interactive service resources provided by the live broadcast platform cannot be efficiently utilized, and the existing interactive methods are single and lack diversification.
Through a virtual resource transfer method, in response to the operation of sending virtual resources to the second account, the transfer preconditions of virtual resources are displayed in the live broadcast interface, and the interactive information collected by the client of the second account meets the transfer. Under the precondition, the virtual resources are transferred from the first account to the second account.
The richness and diversity of interactive information in the live broadcast room have been improved, so that the live broadcast interactive service resources provided by the live broadcast platform server can be more effectively utilized.
Smart Images

Figure CN118509661B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of Internet technology, and in particular to a virtual resource transfer method, device, electronic device and storage medium. Background Art
[0002] With the development of Internet technology, more and more people are communicating and interacting through the live broadcast rooms provided by live broadcast platforms.
[0003] In the live broadcast room of the related technology, the audience can interact with the anchor by liking, commenting and sending gifts in the live broadcast room; however, these interactive methods are often one-way interactions between the audience and the anchor, and the entire interactive process is relatively simple, which is not conducive to improving the diversity of people's interactions in the live broadcast room, making it impossible to efficiently utilize the live interactive service resources provided by the live broadcast platform. Summary of the invention
[0004] The present disclosure provides a virtual resource transfer method, device, electronic device and storage medium to at least solve the problem in the related art that the live interactive service resources provided by the live broadcast platform cannot be efficiently utilized. The technical solution of the present disclosure is as follows:
[0005] According to a first aspect of an embodiment of the present disclosure, a virtual resource transfer method is provided, comprising:
[0006] In response to the operation of sending the virtual resource from the first account to the second account, displaying the transfer precondition of the virtual resource in the live broadcast interface;
[0007] When the interaction information collected by the client of the second account meets the transfer precondition, the virtual resource is transferred from the first account to the second account.
[0008] In a possible implementation, after the step of transferring the virtual resource from the first account to the second account, the method further includes:
[0009] The transfer prompt information corresponding to the virtual resource is displayed in the live broadcast interface.
[0010] In a possible implementation, displaying the transfer precondition of the virtual resource in the live broadcast interface includes:
[0011] The collection prompt information of the virtual resource is displayed in the live broadcast interface; the collection prompt information indicates the transfer preconditions of the virtual resource.
[0012] In a possible implementation, displaying the collection prompt information of the virtual resource in the live broadcast interface includes:
[0013] The collection prompt information of the virtual resource is displayed in the live broadcast interface according to the display priority of the virtual resource.
[0014] In a possible implementation, the transfer precondition is completing an interactive task matching the virtual resource, and when the interactive information collected by the client of the second account satisfies the transfer precondition, transferring the virtual resource from the first account to the second account includes:
[0015] When it is identified that the interaction in the interaction information meets the task requirement of the interaction task, the virtual resource is transferred from the first account to the second account.
[0016] In a possible implementation, the interactive task includes executing a preset action, and when it is identified that the interaction in the interactive information meets the task requirement of the interactive task, transferring the virtual resource from the first account to the second account includes:
[0017] Identifying an action performed by a target object from the interactive information; the target object includes a preset object associated with the second account in the live broadcast interface;
[0018] When the action performed by the target object is the preset action, the virtual resource is transferred from the first account to the second account.
[0019] In a possible implementation, the interactive task includes executing the preset action within a preset time, and when it is identified that the interaction in the interactive information meets the task requirement of the interactive task, transferring the virtual resource from the first account to the second account includes:
[0020] Identifying, from the interactive information, an action performed by the target object within the preset time;
[0021] When the action performed by the target object within the preset time is the preset action, the virtual resource is transferred from the first account to the second account.
[0022] In a possible implementation, after the step of displaying the transfer precondition of the virtual resource in the live broadcast interface, the method further includes:
[0023] The countdown prompt information of the preset time is displayed in the live broadcast interface.
[0024] In a possible implementation, the interactive task includes that the motion data satisfies a preset motion target, and the preset motion target matches the virtual resource, and when it is identified that the interaction in the interactive information satisfies the task requirement of the interactive task, transferring the virtual resource from the first account to the second account includes:
[0025] identifying the motion data of the second account from the interaction information;
[0026] When the exercise data of the second account meets the preset exercise target, the virtual resources are transferred from the first account to the second account.
[0027] In one possible implementation, the method further includes:
[0028] When the interactive information does not satisfy the transfer precondition, expiration prompt information of the virtual resource is displayed in the live broadcast interface; the expiration prompt information indicates that the virtual resource has not been successfully claimed by the second account.
[0029] In a possible implementation, the transfer precondition includes a condition for sending virtual resources to the first account and a condition for receiving virtual resources from the second account, and the method further includes:
[0030] When the interaction information collected by the client of the first account meets the virtual resource sending condition, and the interaction information collected by the client of the second account meets the virtual resource receiving condition, transferring the virtual resource from the first account to the second account;
[0031] The interaction information collected by the client of the first account matches the interaction information collected by the client of the second account.
[0032] According to a second aspect of an embodiment of the present disclosure, there is provided a virtual resource transfer device, comprising:
[0033] A response unit, configured to execute, in response to the operation of sending the virtual resource from the first account to the second account, display the transfer precondition of the virtual resource in the live broadcast interface;
[0034] The transfer unit is configured to transfer the virtual resource from the first account to the second account when the interaction information collected by the client of the second account meets the transfer precondition.
[0035] In one possible implementation, the device further includes a first prompt unit; the first prompt unit is configured to execute transfer prompt information corresponding to the virtual resource displayed in the live broadcast interface.
[0036] In a possible implementation, the response unit is specifically configured to display the collection prompt information of the virtual resource in the live broadcast interface; the collection prompt information represents the transfer preconditions of the virtual resource.
[0037] In a possible implementation, the response unit is specifically configured to display the collection prompt information of the virtual resource in the live broadcast interface according to the display priority of the virtual resource.
[0038] In one possible implementation, the transfer precondition is completing an interactive task that matches the virtual resource, and the transfer unit is specifically configured to transfer the virtual resource from the first account to the second account upon identifying that the interaction in the interactive information meets the task requirements of the interactive task.
[0039] In one possible implementation, the interactive task includes executing a preset action, and the transfer unit is specifically configured to execute an action performed by a target object identified from the interactive information; the target object includes a preset object associated with the second account in the live broadcast interface; when the action performed by the target object is the preset action, the virtual resources are transferred from the first account to the second account.
[0040] In one possible implementation, the interactive task includes executing the preset action within a preset time, and the transfer unit is specifically configured to identify the action performed by the target object within the preset time from the interactive information; when the action performed by the target object within the preset time is the preset action, the virtual resources are transferred from the first account to the second account.
[0041] In one possible implementation, the device further includes a timing unit; the timing unit is configured to execute countdown prompt information of the preset time displayed in the live broadcast interface.
[0042] In one possible implementation, the interactive task includes motion data satisfying a preset motion goal, and the preset motion goal matches the virtual resource. The transfer unit is specifically configured to execute identifying the motion data of the second account from the interactive information; when the motion data of the second account satisfies the preset motion goal, the virtual resource is transferred from the first account to the second account.
[0043] In one possible implementation, the device also includes a second prompt unit; the second prompt unit is configured to display expiration prompt information of the virtual resource in the live broadcast interface when the interactive information does not meet the transfer precondition; the expiration prompt information indicates that the virtual resource has not been successfully claimed by the second account.
[0044] In one possible implementation, the transfer pre-condition includes a condition for sending virtual resources to the first account and a condition for receiving virtual resources to the second account, and the device is further configured to transfer the virtual resources from the first account to the second account when the interactive information collected by the client of the first account meets the condition for sending virtual resources and the interactive information collected by the client of the second account meets the condition for receiving virtual resources; wherein the interactive information collected by the client of the first account matches the interactive information collected by the client of the second account.
[0045] According to a third aspect of an embodiment of the present disclosure, there is provided an electronic device, comprising a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the virtual resource transfer method as described in the first aspect or any possible implementation manner of the first aspect is implemented.
[0046] According to a fourth aspect of an embodiment of the present disclosure, a storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the virtual resource transfer method as described in the first aspect or any possible implementation manner of the first aspect is implemented.
[0047] According to the fifth aspect of an embodiment of the present disclosure, a computer program product is provided, the program product comprising a computer program, the computer program being stored in a readable storage medium, at least one processor of a device reading and executing the computer program from the readable storage medium, so that when the device executes, the virtual resource transfer method as described in the first aspect or any possible implementation manner of the first aspect is implemented.
[0048] The technical solution provided by the embodiments of the present disclosure brings at least the following beneficial effects: by responding to the operation of sending virtual resources from the first account to the second account, the transfer preconditions of the virtual resources are displayed in the live broadcast interface; and when the interactive information collected by the client of the second account meets the transfer preconditions, the virtual resources are transferred from the first account to the second account. In this way, the second account can input the interactive information that meets the transfer preconditions to the client where the second account is located, thereby controlling the electronic device to transfer the virtual resources from the first account to the second account, and further, the richness and diversity of the interactive information in the live broadcast room can be improved in the process of sending virtual resources from the first account to the second account, so that the live broadcast interactive service resources provided by the live broadcast platform server can be more effectively utilized.
[0049] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0050] The drawings herein are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the description are used to explain the principles of the present disclosure, and do not constitute improper limitations on the present disclosure.
[0051] Fig. 1 is a diagram showing an application environment of a virtual resource transfer method according to an exemplary embodiment.
[0052] Fig. 2 is a flow chart showing a method for transferring virtual resources according to an exemplary embodiment.
[0053] Fig. 3a is a diagram showing interface state changes of a virtual resource transfer method according to an exemplary embodiment.
[0054] Fig. 3b is a diagram showing interface state changes of a virtual resource transfer method according to another exemplary embodiment.
[0055] Fig. 4 is a schematic diagram showing resource transfer information according to an exemplary embodiment.
[0056] Fig. 5 is a schematic diagram showing expiration prompt information according to an exemplary embodiment.
[0057] Fig. 6 is a schematic diagram showing countdown prompt information according to an exemplary embodiment.
[0058] Fig. 7 is a flow chart showing another virtual resource transfer method according to an exemplary embodiment.
[0059] Fig. 8 is a block diagram showing a virtual resource transfer device according to an exemplary embodiment.
[0060] Fig. 9 is a block diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION
[0061] In order to enable ordinary persons in the art to better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings.
[0062] It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure.
[0063] It should also be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for display, data for analysis, etc.) involved in this disclosure are all information and data authorized by the user or fully authorized by all parties.
[0064] The virtual resource transfer method provided by the present disclosure can be applied in the application environment shown in FIG. 1. The electronic device 102 communicates with the server 104 through the network. The data storage system can store the data that the server 104 needs to process. The data storage system can be integrated on the server 104, or it can be placed on the cloud or other network servers. The electronic device 102 responds to the operation of sending virtual resources from the first account to the second account, and displays the transfer preconditions of the virtual resources in the live broadcast interface; the electronic device 102 transfers the virtual resources from the first account to the second account when the interactive information collected by the client of the second account meets the transfer preconditions. The electronic device 102 can be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, Internet of Things devices and portable wearable devices. The Internet of Things devices can be smart speakers, smart TVs, smart air conditioners, smart car-mounted devices, etc. The portable wearable device can be a smart watch, a smart bracelet, a head-mounted device, etc. The server 104 can be implemented with an independent server or a server cluster consisting of multiple servers.
[0065] Fig. 2 is a flow chart showing a resource transfer method according to an exemplary embodiment. As shown in Fig. 2 , the resource transfer method is used in an electronic device and includes the following steps.
[0066] In step S202, in response to the operation of sending virtual resources from the first account to the second account, the transfer preconditions of the virtual resources are displayed in the live broadcast interface.
[0067] Among them, virtual resources can refer to resources that can be transferred in the live broadcast room. In practical applications, virtual resources can refer to live broadcast room gifts.
[0068] The first account may refer to a user account used to send virtual resources. In practical applications, the first account may refer to a viewer account in a live broadcast room.
[0069] The second account may refer to a user account for receiving virtual resources. In practical applications, the second account may refer to an anchor account in a live broadcast room.
[0070] Among them, the live broadcast interface may refer to the display interface of the current live broadcast room.
[0071] The transfer precondition may refer to a prerequisite for triggering the electronic device to perform an operation of transferring the virtual resources from the first account to the second account before the virtual resources are transferred from the first account to the second account.
[0072] In practical applications, the transfer preconditions may include the virtual resource sending conditions of the first account or the virtual resource receiving conditions of the second account. For example, the transfer preconditions may refer to the receiving conditions that must be met for the second account to receive the live broadcast room gifts sent by the first account.
[0073] Taking the first account as the audience account and the second account as the anchor account as an example, if the anchor account needs to perform a certain action to receive the virtual gift sent by the audience account to the anchor account, the virtual gift can also be named an action gift.
[0074] In a specific implementation, the electronic device may respond to the operation of sending virtual resources from the first account to the second account, and the electronic device may display the transfer preconditions of the virtual resources in the live broadcast interface.
[0075] Specifically, please refer to Figure 3a. Taking the first account as the audience account and the second account as the anchor account as an example, when the audience account needs to send virtual resources (such as live broadcast room gifts, an electronic gift or a virtual gift) to the anchor account, the audience account can click on the virtual resource sending entrance 302 in the live broadcast interface 300 to input a trigger operation of the virtual resource sending entrance 302 to the electronic device. The electronic device can respond to the trigger operation of the virtual resource sending entrance 302 and display a virtual resource sending panel 304 on the live broadcast interface 300; the electronic device can display at least one virtual resource to be sent in the virtual resource sending panel 304; wherein the virtual resource to be sent may include the above-mentioned action gift 306.
[0076] The viewer account can click on the above-mentioned action gift 306, and click on the send control 308 in the virtual resource sending panel 304, to implement the operation of sending the action gift to the anchor account through the virtual resource sending panel 304. As shown in FIG3b, the electronic device can respond to the operation of the viewer account sending the action gift to the anchor account, and display the prompt information 310 of successful sending and the conditions that need to be met to receive the action gift on the live broadcast interface 300, that is, the transfer precondition. Optionally, in the process of displaying the transfer precondition of the virtual resource in the live broadcast interface, the electronic device can display the prompt information 312 of receiving the virtual resource in the live broadcast interface; the prompt information 312 indicates that there is a transfer precondition of the virtual resource.
[0077] As shown in FIG3b, the transfer precondition of the virtual resource is that the anchor performs action A, and the collection prompt information displayed by the electronic device in the live broadcast interface can be the appearance 314 of action A, so that the anchor account can intuitively know what action needs to be performed to receive the virtual resource based on the collection prompt information. Of course, the collection prompt information can also be displayed in text form, such as "Perform action A to receive the virtual resource".
[0078] In this way, the anchor account can know what kind of interactive information needs to be collected by the client of the anchor account based on the transfer preconditions displayed on the live broadcast interface, so that the interactive information is sufficient to obtain virtual resources.
[0079] The interactive information may be information associated with the current live broadcast collected by the client of the anchor account. The interactive information may be live broadcast images collected by the client of the anchor account, or data collected by sensors of the client of the anchor account. The sensors may be gyroscopes, temperature sensors, air pressure sensors, distance sensors, microphones, cameras, etc.
[0080] In step S204, when the interaction information collected by the client of the second account meets the transfer precondition, the virtual resources are transferred from the first account to the second account.
[0081] In a specific implementation, when the interactive information collected by the electronic device at the client of the anchor account meets the transfer preconditions, the virtual resources are transferred from the viewer account to the anchor account.
[0082] Specifically, the server of the live broadcast platform can detect in real time whether the interactive information collected by the client of the anchor account meets the transfer precondition of the virtual resource. When the server detects that the interactive information collected by the client of the anchor account meets the transfer precondition of the virtual resource, the electronic device transfers the action gift from the viewer account to the anchor account in response to the interactive information collected by the client of the second account meeting the transfer precondition, that is, sends the action gift.
[0083] It should be noted that the above step S204 will be further limited below and will not be limited here.
[0084] Optionally, after the step of transferring the virtual resource from the first account to the second account, the method further includes: the electronic device can also display transfer prompt information corresponding to the virtual resource in the live broadcast interface. As shown in FIG.
[0085] The transfer prompt information may refer to information for prompting that the virtual resource has been successfully transferred to the second account. In practical applications, the transfer prompt information may be text information prompting that the virtual resource has been successfully transferred to the second account, or may be a virtual resource special effect corresponding to the virtual resource, such as a gift special effect.
[0086] For example, referring to FIG. 4 , in response to the virtual resource being successfully transferred from the first account to the second account, the electronic device displays a virtual resource special effect or a virtual resource animation 402 of the virtual resource in the live broadcast interface, thereby effectively reminding the user account in the current live broadcast room that the virtual resource has been successfully transferred from the viewer account to the anchor account, i.e., the anchor account has successfully received the virtual resource.
[0087] Continuing with the above example, when the server detects that the anchor in the live broadcast screen has not performed the action required by the action gift within the preset time, the server determines that the interactive information collected by the client of the second account fails to meet the transfer precondition of the virtual resource. In actual applications, in response to the interactive information collected by the client of the second account failing to meet the transfer precondition, the electronic device may not perform the operation of transferring the action gift from the viewer account to the anchor account, that is, return the action gift to the viewer account.
[0088] In one possible implementation, the method further includes: when the interactive information of the electronic device does not meet the transfer pre-condition, the electronic device can also display expiration prompt information of the virtual resource in the live broadcast interface; the electronic device uses the expiration prompt information to indicate that the virtual resource has not been successfully collected by the second account, as shown in Figure 5, 502 is the expiration prompt information.
[0089] In the above-mentioned resource transfer method, in response to the operation of sending virtual resources from the first account to the second account, the transfer preconditions of the virtual resources are displayed in the live broadcast interface; and when the interactive information collected by the client of the second account meets the transfer preconditions, the virtual resources are transferred from the first account to the second account. In this way, the second account can input the interactive information that meets the transfer preconditions to the client where the second account is located, thereby controlling the electronic device to transfer the virtual resources from the first account to the second account, thereby achieving the improvement of the richness and diversity of the interactive information in the live broadcast room in the process of sending virtual resources from the first account to the second account, so that the live broadcast interactive service resources provided by the live broadcast platform server can be more effectively utilized.
[0090] In a possible implementation, displaying prompt information for collecting virtual resources in a live broadcast interface includes: displaying prompt information for collecting virtual resources in the live broadcast interface according to display priorities of the virtual resources.
[0091] Among them, the display priority may refer to the priority of virtual resources displayed in the live broadcast interface compared with other information.
[0092] Among them, other information may include virtual resources of different types from the virtual resource, such as virtual resources in traditional technologies; it may also include virtual resources of the same type as the virtual resource, but the virtual resource is sent by another viewer account.
[0093] In actual applications, the display priority of a virtual resource may be positively correlated with the resource value consumption of the virtual resource, wherein the resource value consumption may refer to the resource value consumption associated with the user account when the user account issues the virtual resource.
[0094] In a specific implementation, when the electronic device displays the prompt information for collecting virtual resources in the live broadcast interface, the electronic device can display the prompt information for collecting virtual resources in the live broadcast interface according to the display priority of the virtual resources. For example, suppose that the viewer account A sends an action gift A to the anchor account at a certain moment, and the viewer account B also sends an action gift B to the anchor account at the same moment, and the resource value consumption of the action gift A is greater than the resource value consumption of the action gift B; at this time, the electronic device can give priority to displaying the prompt information for collecting the action gift A in the live broadcast interface. Specifically, the electronic device can make the display area of the prompt information for collecting the action gift A in the live broadcast interface larger than the display area of the prompt information for collecting the action gift B in the live broadcast interface; the electronic device can also only display the prompt information for collecting the action gift A; the electronic device can also display the prompt information for collecting the action gift A in a prominent position such as above the prompt information for collecting the action gift B.
[0095] The technical solution of this embodiment, during the process of displaying the reminder information for collecting virtual resources in the live broadcast interface, by displaying the reminder information for collecting virtual resources in the live broadcast interface according to the display priority of the virtual resources, the anchor account can be clearly aware of the reminder information for collecting the virtual resources, thereby avoiding the inability to timely control the electronic device to transfer the virtual resources from the viewer account to the anchor account due to failure to notice the reminder information for collecting the virtual resources.
[0096] In one possible implementation, the transfer precondition is the completion of an interactive task that matches the virtual resources. When the interactive information collected by the client of the second account meets the transfer precondition, the virtual resources are transferred from the first account to the second account, including: when it is identified that the interaction in the interactive information meets the task requirements of the interactive task, the virtual resources are transferred from the first account to the second account.
[0097] The interactive tasks may be tasks, activities or challenges set by the live broadcast platform or the viewer account for the anchor account. For example, the interactive tasks may be photographing a preset object, performing a preset action, reading a command, achieving a certain achievement, recording, etc.
[0098] In actual applications, those skilled in the art can set the interactive task or provide the first account with a setting entry for the interactive task according to actual conditions. The first account can set the virtual resource through the setting entry, which will not be elaborated here.
[0099] In the specific implementation, the transfer precondition is to complete the interactive task that matches the virtual resources. The electronic device can transfer the virtual resources from the first account to the second account when it is identified that the interaction in the interactive information meets the task requirements of the interactive task. Specifically, the server of the live broadcast platform can identify the interaction of the second account from the interactive information in real time, that is, the task execution status of the second account; and judge whether the task execution status of the second account meets the task requirements of the interactive task. In response to the server identifying that the interaction in the interactive information meets the task requirements of the interactive task, the electronic device transfers the virtual resources from the first account to the second account. It should be noted that the specific limitations of transferring virtual resources from the first account to the second account can be found above and will not be repeated here.
[0100] The technical solution of this embodiment is that the transfer precondition is to complete the interactive task that matches the virtual resource. By identifying that the interaction in the interactive information meets the task requirements of the interactive task, the virtual resource is transferred from the first account to the second account. This allows the second account to control the electronic device to transfer the virtual resource from the first account to the second account by executing the interactive task in the live broadcast room. Furthermore, when the first account sends the virtual resource to the second account, the richness and diversity of the interactive information in the live broadcast room can be improved, so that the live broadcast interactive service resources provided by the live broadcast platform server can be more effectively utilized.
[0101] In one possible implementation, the interactive task includes executing a preset action, and when it is identified that the interaction in the interactive information meets the task requirements of the interactive task, transferring the virtual resources from the first account to the second account, including: identifying the action performed by the target object from the interactive information; when the action performed by the target object is a preset action, transferring the virtual resources from the first account to the second account.
[0102] The target object includes a preset object associated with the second account in the live broadcast interface. In practical applications, the target object may refer to the anchor in the live broadcast screen.
[0103] In a specific implementation, when the interactive task includes executing a preset action, the virtual resource may refer to the action gift mentioned above. The server of the live broadcast platform can detect in real time whether the interactive information collected by the client of the anchor account meets the transfer preconditions of the action gift. Among them, the server can use an action recognition model to identify whether the anchor in the live broadcast picture has executed the action required by the action gift, that is, the preset action, such as the "heart" action, in the live broadcast picture collected by the client of the anchor account.
[0104] The server detects that the anchor in the live broadcast screen has performed the action required by the anchor within the preset time, and the server determines that the interactive information collected by the client of the second account meets the transfer precondition. In actual applications, the electronic device can transfer the action gift from the viewer account to the anchor account in response to the interactive information collected by the client of the second account meeting the transfer precondition, that is, send the action gift.
[0105] The technical solution of this embodiment can enable the second account to control the electronic device to transfer virtual resources from the first account to the second account by executing preset actions in the live broadcast room, thereby improving the richness and diversity of interactive information in the live broadcast room during the process of the first account sending virtual resources to the second account, so that the live broadcast interactive service resources provided by the live broadcast platform server can be more effectively utilized.
[0106] In one possible implementation, the interactive task includes performing a preset action within a preset time, and transferring virtual resources from a first account to a second account when it is identified that the interaction in the interactive information meets the task requirements of the interactive task, including: identifying the action performed by the target object within the preset time from the interactive information; and transferring the virtual resources from the first account to the second account when the action performed by the target object within the preset time is a preset action.
[0107] The preset time may be 5 seconds or the like.
[0108] In a specific implementation, when the interactive task includes performing a preset action within a preset time, the server of the live broadcast platform can detect in real time whether the interactive information collected by the client of the anchor account meets the transfer preconditions of the action gift. The server can use an action recognition model to identify whether the anchor in the live broadcast picture collected by the client of the anchor account has performed the action required by the action gift within the preset time when the viewer account sends the action gift, that is, the preset action, such as the "heart" action.
[0109] The server detects that the anchor in the live broadcast screen has performed the action required by the action gift within the preset time when the viewer account sends the action gift, and the server determines that the interaction information collected by the client of the second account meets the transfer precondition. In actual applications, the electronic device can transfer the action gift from the viewer account to the anchor account in response to the interaction information collected by the client of the second account meeting the transfer precondition, that is, send the action gift.
[0110] The technical solution of this embodiment can enable the second account to control the electronic device to transfer virtual resources from the first account to the second account by executing a preset action within a preset time in the live broadcast room, thereby improving the richness and diversity of the interactive information in the live broadcast room within a preset time during the process of the first account sending virtual resources to the second account, so that the live broadcast interactive service resources provided by the live broadcast platform server can be more effectively utilized.
[0111] In a possible implementation, after the step of displaying the transfer preconditions of the virtual resources in the live broadcast interface, the method further includes: displaying countdown prompt information of a preset time in the live broadcast interface.
[0112] In a specific implementation, as shown in FIG6 , while the electronic device is displaying the transfer preconditions of the virtual resources in the live broadcast interface, the electronic device can also display countdown prompt information 602 of the preset time in the live broadcast interface.
[0113] The technical solution of this embodiment, when the interactive task includes executing a preset action within a preset time, can enable the anchor account to clearly know the time when the preset action can be executed by displaying the countdown prompt information of the preset time in the live broadcast interface, so that the anchor account can input the interactive information that meets the pre-conditions for transferring virtual resources to the client in a timely manner.
[0114] In one possible implementation, the interactive task includes motion data satisfying a preset motion goal, the preset motion goal matches the virtual resources, and when it is identified that the interaction in the interactive information satisfies the task requirements of the interactive task, the virtual resources are transferred from the first account to the second account, including: identifying the motion data of the second account from the interactive information; when the motion data of the second account satisfies the preset motion goal, the virtual resources are transferred from the first account to the second account.
[0115] The interactive task includes the sports data meeting the preset sports goal. For example, the preset sports goal may be that the number of steps on the day meets the preset value, the exercise time on the day meets the preset time, a certain exercise (swimming, running) is performed on the day, etc.
[0116] In a specific implementation, taking the preset exercise goal of the number of steps on the day meeting the preset value as an example, the server of the live broadcast platform can, with the authorization of the anchor account, detect the exercise data in the interactive information collected by the client of the anchor account in real time, such as the number of steps on the day. When the server detects that the number of steps of the anchor account on the day meets the step threshold that matches the virtual resource, the server can determine that the interactive information collected by the client of the second account meets the transfer precondition. At this time, the electronic device can transfer the action gift from the viewer account to the anchor account in response to the interactive information collected by the client of the second account meeting the transfer precondition, that is, send the action gift.
[0117] The technical solution of this embodiment can enable the second account to control the transfer of virtual resources from the first account to the second account by performing a certain sport in the live broadcast room so that the sports data meets the preset sports goals. Furthermore, in the process of the first account sending virtual resources to the second account, the richness and diversity of the interactive information in the live broadcast room can be improved, so that the live broadcast interactive service resources provided by the live broadcast platform server can be more effectively utilized.
[0118] In one possible implementation, the transfer preconditions include a condition for sending virtual resources to the first account and a condition for receiving virtual resources to the second account. The method also includes: when the interactive information collected by the client of the first account meets the virtual resource sending conditions and the interactive information collected by the client of the second account meets the virtual resource receiving conditions, the virtual resources are transferred from the first account to the second account.
[0119] Among them, the interactive information collected by the client of the first account matches the interactive information collected by the client of the second account. Specifically, taking the virtual resource as a cooperative action gift as an example, when the client of the first account collects the first sub-action in the cooperative action performed by the first account, and the client of the second account collects the second sub-action in the cooperative action performed by the second account, the server can determine that the interactive information collected by the client of the first account meets the virtual resource sending conditions, and the interactive information collected by the client of the second account meets the virtual resource claiming conditions. In response to the interactive information collected by the client of the first account meeting the virtual resource sending conditions, and the interactive information collected by the client of the second account meeting the virtual resource claiming conditions, the electronic device transfers the virtual resource from the first account to the second account;
[0120] For example, the virtual resource is an action gift of "two people making a heart gesture": when the viewer account initiates the action gift, it needs to perform half of the "heart gesture" towards the client's camera to be eligible to send the action gift. When the anchor account wants to receive the action gift, the anchor account needs to perform the other half of the "heart gesture" towards the client's camera. In this way, the anchor and the audience can cooperate in making a heart gesture to complete the sending and receiving of gifts.
[0121] The technical solution of this embodiment can realize two-way interaction between the first account and the second account to control the electronic device to transfer virtual resources from the first account to the second account, and further can improve the richness and diversity of interactive information in the live broadcast room during the process of the first account sending virtual resources to the second account, so that the live broadcast interactive service resources provided by the live broadcast platform server can be more effectively utilized.
[0122] FIG. 7 is a flow chart showing another virtual resource transfer method according to an exemplary embodiment. As shown in FIG. 7 , the method is used in the electronic device in FIG. 1 and includes the following steps.
[0123] In step S702, in response to the operation of sending virtual resources from the first account to the second account, a prompt information for receiving the virtual resources is displayed in the live broadcast interface; the prompt information for receiving the virtual resources indicates that there are preconditions for transferring the virtual resources; the preconditions for transferring include executing a preset action within a preset time.
[0124] In step S704, a countdown prompt message of a preset time is displayed in the live broadcast interface.
[0125] In step S706, an action performed by a target object within a preset time is identified from the interactive information collected by the client of the second account; the target object includes a preset object associated with the second account in the live broadcast interface.
[0126] In step S708, when the action performed by the target object within the preset time is a preset action, the virtual resource is transferred from the first account to the second account.
[0127] In step S710, transfer prompt information corresponding to the virtual resource is displayed in the live broadcast interface.
[0128] It should be noted that the specific definition of the above steps can refer to the specific definition of a virtual resource transfer method mentioned above, which will not be repeated here.
[0129] It should be understood that, although the various steps in the flowcharts of Fig. 2 and Fig. 7 are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in Fig. 2 and Fig. 7 may include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0130] It can be understood that the same / similar parts between the various embodiments of the above method in this specification can refer to each other, and each embodiment focuses on the differences from other embodiments. For related points, please refer to the description of other method embodiments.
[0131] Fig. 8 is a block diagram of a virtual resource transfer device according to an exemplary embodiment. Referring to Fig. 8, the device includes:
[0132] A response unit 810 is configured to execute, in response to the operation of the first account sending the virtual resource to the second account, display the transfer precondition of the virtual resource in the live broadcast interface;
[0133] The transfer unit 820 is configured to transfer the virtual resource from the first account to the second account when the interaction information collected by the client of the second account meets the transfer precondition.
[0134] In an exemplary embodiment, the device further includes a first prompt unit; the first prompt unit is configured to execute the display of transfer prompt information corresponding to the virtual resource in the live broadcast interface.
[0135] In an exemplary embodiment, the response unit 810 is specifically configured to display the collection prompt information of the virtual resource in the live broadcast interface; the collection prompt information represents the transfer preconditions of the virtual resource.
[0136] In an exemplary embodiment, the response unit 810 is specifically configured to display the collection prompt information of the virtual resource in the live broadcast interface according to the display priority of the virtual resource.
[0137] In an exemplary embodiment, the transfer precondition is to complete an interactive task matching the virtual resource, and the transfer unit is specifically configured to transfer the virtual resource from the first account to the second account upon identifying that the interaction in the interactive information meets the task requirements of the interactive task.
[0138] In an exemplary embodiment, the interactive task includes executing a preset action, and the transfer unit 820 is specifically configured to execute an action performed by a target object identified from the interactive information; the target object includes a preset object associated with the second account in the live broadcast interface; when the action performed by the target object is the preset action, the virtual resources are transferred from the first account to the second account.
[0139] In an exemplary embodiment, the interactive task includes executing the preset action within a preset time, and the transfer unit is specifically configured to identify the action performed by the target object within the preset time from the interactive information; when the action performed by the target object within the preset time is the preset action, the virtual resources are transferred from the first account to the second account.
[0140] In an exemplary embodiment, the device further includes a timing unit; the timing unit is configured to execute countdown prompt information of the preset time displayed in the live broadcast interface.
[0141] In an exemplary embodiment, the interactive task includes motion data satisfying a preset motion goal, and the preset motion goal matches the virtual resource. The transfer unit 820 is specifically configured to execute identifying the motion data of the second account from the interactive information; when the motion data of the second account satisfies the preset motion goal, the virtual resource is transferred from the first account to the second account.
[0142] In an exemplary embodiment, the device also includes a second prompt unit; the second prompt unit is configured to display expiration prompt information of the virtual resource in the live broadcast interface when the interactive information does not meet the transfer precondition; the expiration prompt information indicates that the virtual resource has not been successfully claimed by the second account.
[0143] In an exemplary embodiment, the transfer pre-conditions include a condition for sending virtual resources to the first account and a condition for receiving virtual resources to the second account, and the device is further configured to transfer the virtual resources from the first account to the second account when the interactive information collected by the client of the first account meets the condition for sending virtual resources and the interactive information collected by the client of the second account meets the condition for receiving virtual resources; wherein the interactive information collected by the client of the first account matches the interactive information collected by the client of the second account.
[0144] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0145] Fig. 9 is a block diagram of an electronic device 900 for executing a virtual resource transfer method according to an exemplary embodiment. For example, the electronic device 900 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.
[0146] 9 , electronic device 900 may include one or more of the following components: a processing component 902 , a memory 904 , a power component 906 , a multimedia component 908 , an audio component 910 , an input / output (I / O) interface 912 , a sensor component 914 , and a communication component 916 .
[0147] The processing component 902 generally controls the overall operation of the electronic device 900, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 902 may include one or more processors 920 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 902 may include one or more modules to facilitate the interaction between the processing component 902 and other components. For example, the processing component 902 may include a multimedia module to facilitate the interaction between the multimedia component 908 and the processing component 902.
[0148] The memory 904 is configured to store various types of data to support operations on the electronic device 900. Examples of such data include instructions for any application or method operating on the electronic device 900, contact data, phone book data, messages, pictures, videos, etc. The memory 904 may be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as a static random access memory (SRAM), an electrically erasable programmable read-only memory (EEPROM), an erasable programmable read-only memory (EPROM), a programmable read-only memory (PROM), a read-only memory (ROM), a magnetic memory, a flash memory, a magnetic disk, an optical disk, or a graphene memory.
[0149] The power supply component 906 provides power to the various components of the electronic device 900. The power supply component 906 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the electronic device 900.
[0150] The multimedia component 908 includes a screen that provides an output interface between the electronic device 900 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 908 includes a front camera and / or a rear camera. When the electronic device 900 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
[0151] The audio component 910 is configured to output and / or input audio signals. For example, the audio component 910 includes a microphone (MIC), and when the electronic device 900 is in an operation mode, such as a call mode, a recording mode, and a voice recognition mode, the microphone is configured to receive an external audio signal. The received audio signal may be further stored in the memory 904 or sent via the communication component 916. In some embodiments, the audio component 910 also includes a speaker for outputting an audio signal.
[0152] I / O interface 912 provides an interface between processing component 902 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.
[0153] The sensor assembly 914 includes one or more sensors for providing various aspects of status assessment for the electronic device 900. For example, the sensor assembly 914 can detect the open / closed state of the electronic device 900, the relative positioning of the components, such as the display and keypad of the electronic device 900, and the sensor assembly 914 can also detect the position change of the electronic device 900 or the electronic device 900 components, the presence or absence of contact between the user and the electronic device 900, the orientation or acceleration / deceleration of the device 900 and the temperature change of the electronic device 900. The sensor assembly 914 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 914 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 914 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0154] The communication component 916 is configured to facilitate wired or wireless communication between the electronic device 900 and other devices. The electronic device 900 can access a wireless network based on a communication standard, such as WiFi, a carrier network (such as 2G, 3G, 4G or 5G), or a combination thereof. In an exemplary embodiment, the communication component 916 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 916 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0155] In an exemplary embodiment, the electronic device 900 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the above methods.
[0156] In an exemplary embodiment, a computer-readable storage medium including instructions is also provided, such as a memory 904 including instructions, and the above instructions can be executed by the processor 920 of the electronic device 900 to complete the above method. For example, the computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0157] In an exemplary embodiment, a computer program product is further provided. The computer program product includes instructions. The instructions can be executed by the processor 920 of the electronic device 900 to complete the above method.
[0158] It should be noted that the above-mentioned devices, electronic devices, computer-readable storage media, computer program products, etc. may also include other implementation methods according to the description of the method embodiments. The specific implementation methods can refer to the description of the relevant method embodiments, which will not be described one by one here.
[0159] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present disclosure is intended to cover any variations, uses or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered exemplary only, and the true scope and spirit of the present disclosure are indicated by the claims.
[0160] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. A virtual resource transfer method, characterized in that: include: In response to the operation of sending the virtual resource from the first account to the second account, displaying the transfer precondition of the virtual resource in the live broadcast interface; The transfer precondition is to complete an interactive task matching the virtual resource, wherein the interactive task includes executing a preset action within a preset time; When the interaction information collected by the client of the second account satisfies the transfer precondition, transferring the virtual resource from the first account to the second account includes: identifying an action performed by the target object within the preset time from the interaction information; When the action performed by the target object within the preset time is the preset action, the virtual resource is transferred from the first account to the second account.
2. The virtual resource transfer method according to claim 1, characterized in that: After the step of transferring the virtual resource from the first account to the second account, the method further includes: The transfer prompt information corresponding to the virtual resource is displayed in the live broadcast interface.
3. The virtual resource transfer method according to claim 1, characterized in that: The transfer preconditions for displaying the virtual resource in the live broadcast interface include: The collection prompt information of the virtual resource is displayed in the live broadcast interface; the collection prompt information indicates the transfer preconditions of the virtual resource.
4. The virtual resource transfer method according to claim 3, characterized in that: The displaying of the prompt information for claiming the virtual resource in the live broadcast interface includes: The collection prompt information of the virtual resource is displayed in the live broadcast interface according to the display priority of the virtual resource.
5. The virtual resource transfer method according to claim 1, characterized in that: After the step of displaying the transfer preconditions of the virtual resources in the live broadcast interface, the method further includes: The countdown prompt information of the preset time is displayed in the live broadcast interface.
6. The virtual resource transfer method according to claim 1, characterized in that: The interactive task also includes that the motion data satisfies a preset motion target, the preset motion target matches the virtual resource, and when the interactive information collected by the client of the second account satisfies the transfer precondition, the virtual resource is transferred from the first account to the second account, including: identifying the motion data of the second account from the interaction information; When the exercise data of the second account meets the preset exercise target, the virtual resources are transferred from the first account to the second account.
7. The virtual resource transfer method according to claim 1, characterized in that: The method further comprises: When the interactive information does not satisfy the transfer precondition, expiration prompt information of the virtual resource is displayed in the live broadcast interface; the expiration prompt information indicates that the virtual resource has not been successfully claimed by the second account.
8. The virtual resource transfer method according to claim 1, characterized in that: The transfer preconditions include a condition for sending virtual resources to the first account and a condition for receiving virtual resources from the second account. The method further includes: When the interaction information collected by the client of the first account meets the virtual resource sending condition, and the interaction information collected by the client of the second account meets the virtual resource receiving condition, transferring the virtual resource from the first account to the second account; The interaction information collected by the client of the first account matches the interaction information collected by the client of the second account.
9. A virtual resource transfer device, characterized in that: include: A response unit, configured to execute, in response to the operation of sending the virtual resource from the first account to the second account, display the transfer precondition of the virtual resource in the live broadcast interface; The transfer precondition is to complete an interactive task matching the virtual resource, wherein the interactive task includes executing a preset action within a preset time; The transfer unit is configured to transfer the virtual resource from the first account to the second account when the interaction information collected by the client of the second account satisfies the transfer precondition, including: identifying an action performed by the target object within the preset time from the interaction information; When the action performed by the target object within the preset time is the preset action, the virtual resource is transferred from the first account to the second account.
10. An electronic device, characterized in that: include: processor; a memory for storing instructions executable by the processor; The processor is configured to execute the instructions to implement the virtual resource transfer method according to any one of claims 1 to 8.
11. A computer-readable storage medium, characterized in that: When the instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the virtual resource transfer method according to any one of claims 1 to 8.
12. A computer program product, comprising instructions, characterized in that: When the instruction is executed by a processor of an electronic device, the electronic device is enabled to execute the virtual resource transfer method as described in any one of claims 1 to 8.
Citation Information
Patent Citations
Virtual gift giving processing method, device and system, equipment and storage medium
CN111355974A
Live broadcast interaction method, device and system, terminal and storage medium
CN112383786A