CN113573085A - Virtual resource acquisition method and device, storage medium and electronic equipment - Google Patents

Virtual resource acquisition method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN113573085A
CN113573085A CN202110826419.2A CN202110826419A CN113573085A CN 113573085 A CN113573085 A CN 113573085A CN 202110826419 A CN202110826419 A CN 202110826419A CN 113573085 A CN113573085 A CN 113573085A
Authority
CN
China
Prior art keywords
target
resource
exchange
prop
virtual resource
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.)
Granted
Application number
CN202110826419.2A
Other languages
Chinese (zh)
Other versions
CN113573085B (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 Fanxing Huyu IT Co Ltd
Original Assignee
Guangzhou Fanxing Huyu IT 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 Fanxing Huyu IT Co Ltd filed Critical Guangzhou Fanxing Huyu IT Co Ltd
Priority to CN202110826419.2A priority Critical patent/CN113573085B/en
Publication of CN113573085A publication Critical patent/CN113573085A/en
Application granted granted Critical
Publication of CN113573085B publication Critical patent/CN113573085B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • H04N21/2187Live feed
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/462Content or additional data management, e.g. creating a master electronic program guide from data received from the Internet and a Head-end, controlling the complexity of a video stream by scaling the resolution or bit-rate based on the client capabilities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/4788Supplemental services, e.g. displaying phone caller identification, shopping application communicating with other users, e.g. chatting

Abstract

The invention discloses a virtual resource acquisition method and device, a storage medium and electronic equipment. Wherein, the method comprises the following steps: displaying a live broadcast display interface in a client of a live broadcast application logged in by using a viewing account; in response to a triggering operation executed on a target control displayed in a live broadcast display interface, overlaying and displaying a target resource floating layer on the live broadcast display interface, wherein a plurality of candidate virtual resources and the current item number of target exchange items currently owned by a viewing account are displayed in the target resource floating layer, and the target exchange items are items obtained by exchanging initial virtual resources; under the condition that the current prop quantity meets the exchange condition corresponding to the target virtual resource, performing virtual fusion processing on the target exchange prop to obtain the target virtual resource; and displaying prompt information that the target virtual resource is successfully acquired. The invention solves the technical problem of single virtual resource acquisition mode.

Description

Virtual resource acquisition method and device, storage medium and electronic equipment
Technical Field
The invention relates to the field of computers, in particular to a virtual resource obtaining method and device, a storage medium and electronic equipment.
Background
Currently, in the field of real-time interaction such as chat and live broadcast, gift giving is usually set to increase the interaction frequency and interaction and effectiveness among users.
But the gift can be obtained only by means of system giving or virtual currency purchase, so that the gift can be obtained in a single way.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
The embodiment of the invention provides a virtual resource acquisition method and device, a storage medium and electronic equipment, and aims to at least solve the technical problem of single virtual resource acquisition mode.
According to an aspect of an embodiment of the present invention, a virtual resource obtaining method is provided, including: displaying a live broadcast display interface in a client of a live broadcast application logged in by using a viewing account; in response to a trigger operation executed on a target control displayed in the live broadcast display interface, overlaying and displaying a target resource floating layer on the live broadcast display interface, wherein a plurality of candidate virtual resources and the current item number of a target exchange item currently owned by the viewing account are displayed in the target resource floating layer, the target exchange item is an item converted from an initial virtual resource, and the initial virtual resource and the candidate virtual resource are virtual resources used for being pushed to the anchor account; performing virtual fusion processing on the target exchange prop to obtain a target virtual resource under the condition that the current prop quantity meets an exchange condition corresponding to the target virtual resource, wherein the plurality of candidate virtual resources comprise the target virtual resource; and displaying the prompt information of the successful acquisition of the target virtual resource.
According to another aspect of the embodiments of the present invention, a virtual resource obtaining method is provided, including: receiving an acquisition instruction sent by a client of a live broadcast application logged in by using a viewing account, wherein the acquisition instruction is an operation instruction generated by responding to a trigger operation executed on a target control on a live broadcast display interface in the client of the live broadcast application, and the acquisition instruction is used for requesting to display a target resource floating layer; pushing resource floating layer data corresponding to the target resource floating layer to a client of the live broadcast application logged in by using the viewing account according to the acquisition instruction, wherein the resource floating layer data corresponding to the target resource floating layer comprises resource identifiers of a plurality of candidate virtual resources and the current item number of a target exchange item currently owned by the viewing account, the target exchange item is an item obtained by exchanging an initial virtual resource, and the initial virtual resource and the candidate virtual resource are virtual resources used for being pushed to the main broadcast account; determining a target virtual resource from the candidate virtual resources provided by the target resource floating layer, and performing virtual fusion processing on the target exchange item to obtain the target virtual resource when the current item number meets an exchange condition corresponding to the target virtual resource; and sending prompt information that the target virtual resource is successfully acquired to the client of the live broadcast application logged in by using the viewing account.
According to another aspect of the embodiments of the present invention, there is also provided a virtual resource obtaining apparatus, including: the first display unit is used for displaying a live broadcast display interface in a client of a live broadcast application logged in by using a viewing account; a second display unit, configured to, in response to a trigger operation performed on a target control displayed in the live broadcast display interface, overlay and display a target resource floating layer on the live broadcast display interface, where the target resource floating layer displays a plurality of candidate virtual resources and a current item number of a target exchange item currently owned by the viewing account, the target exchange item is an item obtained by exchanging an initial virtual resource, and the initial virtual resource and the candidate virtual resource are virtual resources used for pushing to the anchor account; a fusion unit, configured to perform virtual fusion processing on the target exchange item to obtain a target virtual resource when the current item number satisfies an exchange condition corresponding to the target virtual resource, where the multiple candidate virtual resources include the target virtual resource; and the third display unit is used for displaying prompt information that the target virtual resource is successfully acquired.
According to another aspect of the embodiments of the present invention, there is also provided a virtual resource obtaining apparatus, including: the system comprises a receiving unit, a processing unit and a display unit, wherein the receiving unit is used for receiving an acquisition instruction sent by a client of a live broadcast application logged in by using a viewing account, the acquisition instruction is an operation instruction generated by responding to a trigger operation executed on a target control on a live broadcast display interface in the client of the live broadcast application, and the acquisition instruction is used for requesting to display a target resource floating layer; a pushing unit, configured to push, according to the acquisition instruction, resource floating layer data corresponding to the target resource floating layer to a client of the live broadcast application logged in by using the viewing account, where the resource floating layer data corresponding to the target resource floating layer includes resource identifiers of multiple candidate virtual resources and a current item number of a target exchange item currently owned by the viewing account, the target exchange item is an item converted from an initial virtual resource, and the initial virtual resource and the candidate virtual resource are virtual resources used for being pushed to the anchor account; a determining unit, configured to determine a target virtual resource from the multiple candidate virtual resources provided in the target resource floating layer, and perform virtual fusion processing on the target exchange item to obtain the target virtual resource when the current item number satisfies an exchange condition corresponding to the target virtual resource; and the sending unit is used for sending prompt information that the target virtual resource is successfully acquired to the client of the live broadcast application logged in by using the viewing account.
According to still another aspect of the embodiments of the present invention, there is also provided a computer-readable storage medium, in which a computer program is stored, wherein the computer program is configured to execute the above virtual resource acquisition method when running.
According to another aspect of the embodiments of the present invention, there is also provided an electronic device, including a memory and a processor, where the memory stores a computer program, and the processor is configured to execute the above virtual resource obtaining method through the computer program.
In the embodiment of the invention, a target resource floating layer is superposed and displayed on a live broadcast display interface through triggering operation of a target control, a target virtual resource is obtained through virtual fusion processing of a target exchange prop in the target resource floating layer, the target exchange prop is obtained through conversion of an initial virtual resource, and in the case of successful obtaining, prompt information of the target virtual resource is displayed, the target exchange prop is converted through the initial virtual resource with lower resource level owned by an account number, the target exchange prop is fused to obtain the target virtual resource with higher resource level, the purpose of obtaining the target virtual resource with higher resource level through conversion of the initial virtual resource with lower resource level in the account number in a target exchange manner is achieved, and thus the barrier that the virtual resource can be purchased only through virtual currency to obtain the virtual resource with higher resource level is broken, the technical effect of the means for acquiring the virtual resources with higher level is increased, and the technical problem of single virtual resource acquisition mode is solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
FIG. 1 is a schematic diagram of an application environment of an alternative virtual resource acquisition method according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating an alternative virtual resource obtaining method according to an embodiment of the present invention;
fig. 3 is a schematic diagram of a target resource floating layer in an alternative virtual resource obtaining method according to an embodiment of the present invention;
fig. 4 is a schematic diagram of a target resource floating layer in an alternative virtual resource obtaining method according to an embodiment of the present invention;
fig. 5 is a schematic diagram of a target resource floating layer in an alternative virtual resource obtaining method according to an embodiment of the present invention;
fig. 6 is a schematic diagram of a target resource floating layer in an alternative virtual resource obtaining method according to an embodiment of the present invention;
FIG. 7 is a diagram illustrating a ballast acquisition float in an alternative virtual resource acquisition method according to an embodiment of the present invention;
FIG. 8 is a diagram illustrating a ballast acquisition float in an alternative virtual resource acquisition method according to an embodiment of the present invention;
FIG. 9 is a flowchart illustrating an alternative virtual resource acquisition method according to an embodiment of the present invention;
FIG. 10 is a schematic diagram of an interaction timing sequence of an alternative virtual resource acquisition method according to an embodiment of the present invention;
fig. 11 is a schematic structural diagram of an alternative virtual resource acquiring apparatus according to an embodiment of the present invention;
fig. 12 is a schematic structural diagram of an alternative virtual resource acquiring apparatus according to an embodiment of the present invention;
fig. 13 is a schematic structural diagram of an alternative electronic device according to an embodiment of the invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
According to an aspect of the embodiments of the present invention, a virtual resource obtaining method is provided, optionally, the virtual resource obtaining method may be applied, but not limited to, in an environment as shown in fig. 1. Terminal device 102 interacts with server 122 via network 110. The terminal device 102 includes a memory 104, a processor 106, and a weak display 108. The memory 104 is used for storing data in the terminal device, the processor 106 is used for processing operations and data in the terminal device 102, and the display 108 is used for displaying a live display interface and updating the display interface based on processing instructions of the processor 106. Included in server 122 are database 124 and processing engine 106. The database 124 is used for data storage of the server, and the processing engine 126 is used for processing the received operation instructions.
The interaction of the terminal device 102 and the server 122 to achieve the acquisition of the virtual resource is not limited to the following processes: the terminal device 102 executes S102 to display a live display interface. The terminal device 102 can run a client of the live application, the client of the live application logs in by using the viewing account and displays a live display interface, and the live display interface can be a shared interface provided for the anchor account. Based on the live display interface, receiving a trigger operation executed on the target execution control, and sending an acquisition instruction corresponding to the trigger operation to the server 122 through the network 110. The server 122 executes S122 and receives the acquisition instruction. And based on the acquisition instruction, determining the floating layer data corresponding to the target resource floating layer, executing S124, and sending the resource floating layer data. The resource floating layer data corresponding to the target resource floating layer is pushed to a client of a live broadcast application logged in by using a viewing account, the resource floating layer data corresponding to the target resource floating layer comprises resource identifications of a plurality of candidate virtual resources and the current prop number of a target exchange prop currently owned by the viewing account, the target exchange prop is a prop obtained by exchanging an initial virtual resource, and the initial virtual resource and the candidate virtual resource are virtual resources used for being pushed to a main broadcast account.
The resource floating layer data corresponding to the target resource floating layer is sent to the terminal device 102 through the network 110. When receiving the resource floating layer data, the terminal device 102 executes S104 to display the target resource floating layer. And overlaying and displaying the target resource floating layer on the live display interface. On the display target resource floating layer, executing S106, and receiving a fusion instruction. The fusion instructions are not limited to instructions generated by a triggering operation performed with a fusion control on the target resource floating layer. And sends the fusion instructions to server 122 over network 110. When the server 122 receives the fusion instruction, determines the target virtual resource from the multiple candidate virtual resources provided in the target resource floating layer, and the current prop number satisfies the exchange condition corresponding to the target virtual resource, S126 is executed to obtain the target virtual resource. And performing virtual fusion processing on the target exchange prop to obtain a target virtual resource. And executing S128 to send a prompt message when the target virtual resource is acquired. The prompt message is used for indicating that the target virtual resource is successfully acquired. The prompting message is sent to the terminal device 102 through the network 110, and when receiving the prompting message, the terminal device 102 executes S108 to display the prompting message. And displaying prompt information of successfully acquiring the target virtual resource in a live broadcast display interface to determine that the target virtual resource is acquired.
Optionally, in this embodiment, the terminal device may be a terminal device configured with a target client, and may include, but is not limited to, at least one of the following: mobile phones (such as Android phones, IOS phones, etc.), notebook computers, tablet computers, palm computers, MID (Mobile Internet Devices), PAD, desktop computers, smart televisions, etc. The target client may be a client with a live broadcast function, and is not limited to a video client, an instant messaging client, an audio client, a browser client, an education client, and the like. Such networks may include, but are not limited to: a wired network, a wireless network, wherein the wired network comprises: a local area network, a metropolitan area network, and a wide area network, the wireless network comprising: bluetooth, WIFI, and other networks that enable wireless communication. The server may be a single server, a server cluster composed of a plurality of servers, or a cloud server. The above is merely an example, and this is not limited in this embodiment.
As an optional implementation manner, as shown in fig. 2, the virtual resource obtaining method includes:
and S202, displaying a live broadcast display interface in the client of the live broadcast application logged in by using the viewing account.
In step S202, the live display interface is a sharing interface provided by the anchor account. And in the client side of the live broadcast application, the logged account starts to share the interface by executing the live broadcast starting operation. In a client that logs in using an account, the live display interface is not limited to a real-time interface displayed in a virtual live room. And displaying a live broadcast display interface shared by the anchor account number by entering a virtual live broadcast room corresponding to the anchor account number. In a virtual live broadcast room corresponding to the anchor account, the account currently in the virtual live broadcast room is not limited to be divided into the anchor account and the viewing account. The anchor account is an account for creating a virtual live broadcast room, and the viewing account is an account in the virtual live broadcast room at the current position except for the anchor account. Here the anchor account and the viewing account are determined based on a relationship to the current virtual live room. The display of the anchor account and the viewing account in the live display interface is not limited to the display in the form of account information, and the account information is not limited to the form of account nicknames, account head portraits, account identifications and the like.
Optionally, the interface identification area, the interaction area and the operation area are not limited to be included in the live display interface in the virtual live room. The interface identification area is not limited to identify the current live display interface, and includes, but is not limited to, anchor information such as an anchor account, a nickname, a rating, and the like, and interaction information between the viewing account and the anchor account such as the intimacy between the viewing account and the anchor account. The interaction area is used for displaying real-time interaction information in the virtual live broadcast room, for example, virtual resource interaction information, which is not limited to virtual resource presentation and acquisition information of the anchor account and the viewing account, account change information of the virtual live broadcast room, and information that the viewing account enters and exits the virtual live broadcast room. The operation area is not limited to the operation executed based on the live display interface, so that live interaction, acquisition and interaction of virtual resources in live broadcast and change of the live display interface are realized.
And S204, responding to the trigger operation executed on the target control displayed in the live display interface, and overlaying and displaying the target resource floating layer on the live display interface.
In step S204, a plurality of candidate virtual resources and a current item number of a target exchange item currently owned by the viewing account are displayed in the target resource floating layer, the target exchange item is an item converted from the initial virtual resource, and the initial virtual resource and the candidate virtual resources are virtual resources used for being pushed to the anchor account.
Optionally, the target control is displayed in the live broadcast display interface, and is used to trigger the display of the target resource floating layer, so that the target virtual resource is acquired through the target exchange prop in the target resource floating layer. The target resource floating layer floats on the live broadcast display interface, partial shielding is caused on the current live broadcast display interface, and the current live broadcast progress and real-time display are not influenced. And the audio data in the live display interface is not influenced, and the live display interface is still in a real-time updating state.
Optionally, the target exchange prop is a virtual prop different from the virtual currency, obtained by an initial virtual resource exchange. The initial virtual resource is a primary virtual resource owned by the viewing account, including primary virtual resources of various types and values. The initial virtual resource may be obtained, but is not limited to, by consuming virtual currency purchases and exchanges, completing a virtual task pickup, client gifting of a live application, and the like.
Alternatively, the resource level of the virtual resource is not limited to being determined according to its value. Each virtual resource identifies its resource level by identifying its equivalent virtual currency amount, not limited to the greater the number of equivalent virtual live shells, the higher the resource level. Not limited to determining a range of equivalent virtual currency amounts for each resource level. The candidate virtual resource has a higher resource level than the initial virtual resource.
Optionally, the initial virtual resource and the candidate virtual resource are both virtual resources pushed by the viewing account to the anchor account. By triggering the giving operation, the initial virtual resource or the obtained target virtual resource is sent to the anchor account in a giving mode, and real-time interaction between the watching account and the anchor account in a virtual live broadcast room is realized.
Optionally, the target virtual resource is obtained by exchanging the target exchange prop through the initial virtual resource, and the target virtual resource with a higher resource level is obtained based on the virtual resource with a lower resource level through the target exchange prop.
And S206, performing virtual fusion processing on the target exchange prop to acquire the target virtual resource under the condition that the current prop quantity meets the exchange condition corresponding to the target virtual resource.
In the above step S206, the plurality of candidate virtual resources includes the target virtual resource. And determining a current candidate virtual resource from the candidate virtual resources as a target virtual resource.
Optionally, the number of target exchange props that each candidate virtual resource needs to fuse may be different or the same. And under the condition that the fusion mode of the target virtual resource is determined, judging the current prop quantity of the target exchange props currently owned by the viewing account, and under the condition that the current prop quantity is more than or equal to the quantity of the target exchange props required to be consumed by the target virtual resource, performing virtual fusion on the target exchange props of which the quantity is corresponding to the target virtual resource so as to obtain the target virtual resource. And acquiring the target virtual resource by consuming the target exchange props in the amount corresponding to the target virtual resource.
And S208, displaying prompt information that the target virtual resource is successfully acquired.
Alternatively, the hint information is not limited to an information hint window displayed above the target resource float. The information prompt window is not limited to include the resource identification of the target virtual resource and the resource value of the target virtual resource. The target virtual resource is not limited to being stored in the virtual resource repository of the viewing account in the case of successful acquisition.
Displaying the prompt information in the live display interface is not limited to the one shown in fig. 3. A target resource floating layer 304 is displayed on the live display interface 302 in an overlapping manner, and a prompt window 306 is displayed on the target resource floating layer 304. An anchor avatar and an anchor nickname of the anchor account and information related to the live broadcast, such as a live broadcast topic, the number of currently viewed accounts, a current live broadcast ranking and the like, are displayed on the top of the interface of the live broadcast display interface 302. The related avatar is an avatar of a currently related account, and is not limited to a currently active audience account, a currently live anchor account and the like. The target resource floating layer 304 floats on the live display interface, and the prompt window 306 floats on the target resource floating layer 304. The presentation window 306 displays a window header for presenting that the target virtual resource is successfully acquired and a flag for indicating that the target virtual resource is acquired, and is not limited to the forms of a static image and a moving image. And displaying the name and the resource value of the target virtual resource under the target virtual resource identifier. Meanwhile, a 'determination' control set for the viewing account is also set for feeding back the confirmation operation of the viewing account.
In the embodiment of the application, a target resource floating layer is superposed and displayed on a live broadcast display interface through triggering operation of a target control, a target virtual resource is obtained through virtual fusion processing of a target exchange prop in the target resource floating layer, the target exchange prop is obtained through conversion of an initial virtual resource, and in the case of successful obtaining, prompt information of the target virtual resource is displayed, the target exchange prop is converted through the initial virtual resource with a lower resource level owned by an account number, the target exchange prop is fused to obtain the target virtual resource with a higher resource level, the purpose of obtaining the target virtual resource with a higher resource level through conversion of the initial virtual resource with a lower resource level in the account number through target exchange is achieved, and therefore, the barrier that the virtual resource can only be purchased through virtual money to obtain the virtual resource with a higher resource level is broken through, the technical effect of the means for acquiring the virtual resources with higher level is increased, and the technical problem of single virtual resource acquisition mode is solved.
As an optional implementation manner, the displaying the target resource floating layer on the live display interface in an overlaying manner includes: and if the currently selected prop fusion mode is the first fusion mode, displaying a target resource floating layer in the first fusion mode, wherein the first fusion mode indicates that a target virtual resource is selected from a plurality of candidate virtual resources, and the number of props used for acquiring target exchange props required to be consumed by each candidate virtual resource is displayed in the target resource floating layer.
Optionally, at least two prop fusion modes may be included, but are not limited to being included, in the target resource float. Different prop fusion modes indicate different virtual fusion processing modes.
Optionally, when the target resource floating layer is triggered to be displayed in a superimposed manner by the target control, the mode switching control is displayed in the target resource floating layer in the first fusion mode without being limited to displaying the target resource floating layer in the first fusion mode. And under the condition that the switching operation executed on the mode switching control is detected, switching the target resource floating layer to a second fusion mode. The first fusion mode and the second fusion mode correspond to different modes of determining the target virtual resource from the candidate virtual resources.
Optionally, the first fusion mode determines the target virtual resource from a plurality of candidate virtual resources by performing a selection operation on the plurality of candidate virtual resources displayed in the target resource floating layer. The acquisition quantity of the target virtual resource is not limited to be determined by the adjustment operation of the quantity control.
As an optional implementation manner, the displaying the target resource floating layer on the live display interface in an overlaying manner includes: and if the currently selected prop fusion mode is the second fusion mode, displaying the target resource floating layer in the second fusion mode, wherein the second fusion mode indicates that the target exchange props consuming the reference prop quantity are used for acquiring the target virtual resource from the plurality of candidate virtual resources.
Optionally, a mode-switching control is displayed in the target resource float in the second fusion mode. And under the condition that the switching operation executed on the mode switching control is detected, switching the target resource floating layer to the first fusion mode. The mode switching control in the target resource floating layer in the second fusion mode and the mode switching control in the target resource floating layer in the first fusion mode are not limited to use different identifications or use different controls, so that the fusion mode is switched in the target resource floating layer.
Optionally, the second fusing mode is to randomly determine the target virtual resource from a plurality of candidate virtual resources displayed in the target resource floating layer. The number of acquisitions of the target virtual resource is not limited to being determined by a triggering operation of the fusion control, but is not limited to being set up to match different numbers of acquisitions by different fusion controls. In the case where the acquisition number is not one, the target virtual resource is not limited to a plurality of candidate virtual resources including a plurality of candidate virtual resources.
In the embodiment of the application, different fusion modes are set for the target resource floating layer to increase a mode for acquiring the target virtual resource through the target exchange prop, and the acquisition mode of the target virtual resource is increased while the acquisition mode of the target virtual resource is increased, so that the acquisition form of the target virtual resource is further enriched.
As an optional implementation manner, in the case that the current item number satisfies the exchange condition corresponding to the target virtual resource, performing virtual fusion processing on the target exchange item to obtain the target virtual resource includes:
s1, determining a target virtual resource from a plurality of candidate virtual resources displayed in the target resource floating layer in the first fusion mode;
s2, determining that the current prop number meets the exchange condition corresponding to the target virtual resource when the current prop number is larger than or equal to the target prop number, wherein the target prop number is the number of target exchange props fused for acquiring the target virtual resource;
and S3, performing virtual fusion processing on the target exchange props under the target prop quantity to obtain target virtual resources, and updating the prop quantity of the currently-displayed target exchange props owned by the viewing account.
Optionally, in the first fusion mode, a plurality of candidate virtual resources are displayed in the target resource floating layer. The display mode of the plurality of candidate virtual resources is not limited to the vertical list and the horizontal list. The method is not limited to browsing a plurality of candidate virtual resources through a touch operation, and the touch operation is not limited to a sliding operation. The display of the plurality of candidate virtual resources is not limited to the display of the plurality of candidate virtual resources in sequence by a touch operation. The currently displayed candidate virtual resource is not limited to being highlighted in the form of a zoom, a frame, or the like.
Alternatively, the display of the candidate virtual resource is not limited to displaying the resource badge of the candidate virtual resource. The resource card mark comprises a resource image, a resource name and a resource value. The determination of the target virtual resource through the selection operation from the displayed plurality of candidate virtual resources is not limited to the determination of the target virtual resource through the selection operation performed on the resource tag.
Optionally, a quantity control is set in the target resource floating layer in the first fusion mode to adjust the acquired quantity of the target virtual resource. The number control is not limited to include an increase control for increasing the number of acquisitions and a decrease control for decreasing the number of acquisitions, and the number of acquisitions is not limited to be displayed in the number control.
Optionally, the number of target props that the target virtual resource corresponding to the obtained number needs to consume is displayed on the fusion control in the target resource floating layer in the first fusion mode. The target prop quantity is the prop quantity corresponding to the target virtual resource corresponding to the acquired quantity. And updating and displaying the quantity of the target prop in real time along with the adjustment of the quantity control on the acquired quantity.
Optionally, a target prop control with a target exchange prop is displayed in the target resource float in the first fusion mode. And displaying the current prop quantity in the target prop control. The target prop control further comprises a prop control used for acquiring the target exchange prop, and the prop control is used for triggering display of a target exchange prop acquisition interface.
The target resource float in the first fusion mode is not limited to that shown in fig. 4. The target resource floating layer 402 in the first fusion mode is displayed on the live display interface 302 in an overlapping manner. The mode switching control 410 displays a corresponding mode name, determines the current fusion mode through the highlighted mode switching control, and lights up the mode switching control corresponding to the "first fusion mode" in fig. 4, thereby determining that the switch is currently in the first fusion mode. Taking the example of having three candidate virtual resources, the resource card marks 404 of the three virtual resources are displayed horizontally in the first fusion mode, and are respectively candidate resource 1, candidate resource 2, and candidate resource 3. Resource tag 404 includes a resource image, a name, and a value. The target virtual resource is determined from the plurality of candidate virtual resources by performing a selection operation on the resource tag 404, which is shown as performing a selection operation on candidate resource 2. While the number of items of the target virtual resource, i.e., the target exchange items required for candidate resource 2, is displayed on fusion control 406. The adjustment operation is performed on the quantity control 408 to adjust the acquisition quantity, and the current acquisition quantity is displayed in the quantity control in real time. The number of target exchange props currently owned by the viewing account is displayed with target prop control 412.
In the embodiment of the application, in the target resource floating layer in the first fusion mode, the target virtual resource is determined from the multiple candidate virtual resources through selection operation, and the obtaining number of the target virtual resource can be adjusted through the number control, so that the obtained number of the target virtual resource is obtained and the obtaining mode of the virtual resource is increased under the condition that the current prop number meets the exchange condition.
As an optional implementation manner, in the case that the current item number satisfies the exchange condition corresponding to the target virtual resource, performing virtual fusion processing on the target exchange item to obtain the target virtual resource includes:
s1, in the second fusion mode, displaying the reference prop quantity of the target exchange props needed to be consumed for obtaining the target virtual resources in the target resource floating layer;
s2, determining that the current prop quantity meets the exchange condition corresponding to the target virtual resource under the condition that the current prop quantity is larger than the reference prop quantity;
and S3, under the condition that the target virtual resource is randomly determined from the plurality of candidate virtual resources, deducting the reference prop quantity from the current prop quantity, and updating the prop quantity of the target exchange prop currently owned by the currently displayed viewing account.
Optionally, in the second fusion mode, a plurality of candidate virtual resources are displayed in the target resource floating layer. The display mode of the plurality of candidate virtual resources is not limited to the vertical list and the horizontal list. The display of the candidate virtual resource is not limited to displaying the resource badge of the candidate virtual resource. The resource card mark comprises a resource image, a resource name and a resource value. The method is not limited to browsing a plurality of candidate virtual resources through a touch operation, and the touch operation is not limited to a sliding operation. During browsing, the currently displayed candidate virtual resource is not limited to be highlighted in a form of enlargement, a frame, and the like.
Optionally, the selection of the acquisition amount of the target virtual resource by the fusion control is not limited in the second fusion mode. The method is not limited to setting the matched fusion times for the fusion control, and the acquisition number of the target virtual resource is controlled through the fusion control by setting the acquisition number corresponding to each fusion time. For example, if each fusion corresponds to one target virtual resource, the acquisition number corresponding to the fusion control fused once is set to be one. The number of the obtained fusion controls fused ten times is ten.
Optionally, a plurality of fusion controls are provided in the target resource float in the second fusion mode to match different acquisition numbers. And displaying the acquired number and the target item number of the target exchange items required to be consumed corresponding to the acquired number on the fusion control.
Optionally, when the acquisition number is not one, the target virtual resource is randomly determined from the multiple candidate resources, but it is not limited to randomly determining multiple different candidate resources as the target virtual resource, and the total number of the determined candidate virtual resources is consistent with the acquisition number. The number of each candidate virtual resource is not limited herein.
Alternatively, the acquisition probability of each candidate virtual resource in the plurality of candidate virtual resources may be different. The acquisition probability may be inversely proportional to the resource level of the candidate virtual resource, with higher resource levels giving higher acquisition probabilities of the candidate virtual resource. Resource levels are not limited to being determined according to resource value. And under the condition that the acquisition quantity is not one, determining the acquisition quantity corresponding to each candidate virtual resource according to the acquisition probability so as to determine the target virtual resource.
Optionally, a target prop control with a target exchange prop is displayed in the target resource float in the second fusion mode. And displaying the current prop quantity in the target prop control. The target prop control further comprises a prop control used for acquiring the target exchange prop, and the prop control is used for triggering display of a target exchange prop acquisition interface.
The target resource float in the second fusion mode is not limited to that shown in fig. 5. The target resource floating layer 502 in the second fusion mode is displayed on the live display interface 302 in an overlapping manner. A mode-switching control 510 is displayed in the target resource float 502 for switching to the first fusion mode. Taking four candidate virtual resources and three fusion controls as an example, the resource tabs 504 of the four virtual resources are displayed horizontally in the second fusion mode, which are respectively candidate resource 1, candidate resource 2, candidate resource 3, and candidate resource 4. The resource tag 504 includes an identification, a name, and a value. Here, the resource tag 504 is only used for displaying the candidate virtual resource, the currently displayed resource is determined by the frame, and the current display is not related to the determination of the target virtual resource. Three fusion controls 506 are displayed in the target resource floating layer 502, and each fusion control displays the corresponding acquired number of the target virtual resource, which is "1", "5", and "10", respectively, for example only. And simultaneously displaying the number of the corresponding target props. The number of target exchange props currently owned by the viewing account is displayed with target prop control 412. And executing trigger operation on different fusion controls to obtain the target virtual resources corresponding to different obtaining quantities. And acquiring the target virtual resource, namely randomly acquiring a resource matched with the acquired number from the candidate resource 1, the candidate resource 2, the candidate resource 3 and the candidate resource 4 as the target virtual resource.
In the embodiment of the application, in the second fusion mode, the target virtual resource is randomly determined from the multiple candidate virtual resources, so that the uncertainty of the obtained target virtual resource is increased, and the interest of a user in obtaining the target virtual resource is improved through the uncertainty while the obtaining mode of the target virtual resource is increased.
As an optional implementation, after displaying the target resource floating layer in the second fusion mode, the method further includes:
s1, displaying an adding control for adding the target catalytic prop;
s2, responding to the adding operation executed on the adding control, and applying the target catalytic prop to a key virtual resource in the multiple candidate virtual resources to increase the obtaining probability of the key virtual resource, wherein the resource level of the key virtual resource is higher than the resource levels of other remaining candidate virtual resources in the multiple candidate virtual resources.
Optionally, the target catalytic prop is used to increase the probability of acquisition of a key virtual resource. The key virtual resource is a candidate virtual resource with higher resource level and lower acquisition probability in the multiple candidate virtual resources. The adding control is not limited to displaying the adding control in a triggerable state under the condition that the viewing account number has the target catalytic prop. And displaying the adding control in an untriggerable state under the condition that the viewing account does not have the target catalysis prop.
Alternatively, increasing the acquisition probability of the key virtual resource is not limited to increasing the acquisition probability of the key virtual resource by adjusting the acquisition probabilities of the plurality of candidate virtual resources. The adjustment of the acquisition probabilities of the multiple candidate virtual resources is not limited to the preset setting of the acquisition probabilities of the multiple groups of candidate virtual resources, and the acquisition probabilities of the matched candidate virtual resources are determined by whether the target catalytic props are added or not and the number of the added target catalytic props.
Alternatively, the acquisition probabilities in different cases of the candidate virtual resources are not limited to those shown in table 1 below.
TABLE 1
Figure BDA0003173768310000161
As can be seen from table 1, candidate resource 1 is a key virtual resource. The probability of acquisition of candidate resource 1 is increased by adding catalytic props. The corresponding acquisition probabilities of adding different quantities of catalytic props are different. The data in table 1 is only an example, and is not used to limit the acquisition probability of the candidate virtual resource.
The addition control of the target catalytic prop is not limited to that shown in fig. 6. And displaying an adding control 602 of the target catalytic prop in the target resource floating layer 502 in the second fusion mode displayed in an overlaid manner on the live broadcast display interface 302, wherein the adding control is used for adding the target catalytic prop for improving the obtaining probability of the key virtual resource.
In the embodiment of the application, the probability of determining the key virtual resource as the target virtual resource from the candidate virtual resources is increased by using the target catalytic prop, so that the probability of obtaining the key virtual resource is increased, the obtaining mode of the target virtual resource is increased, and the interest of a user in obtaining the target virtual resource is improved by improving the obtaining probability of the key virtual resource.
As an optional implementation manner, the applying the target catalytic prop to the key virtual resource in the plurality of candidate virtual resources in response to the adding operation performed on the adding control includes:
s1, responding to the adding operation executed on the adding control, and displaying prompt information of an object required to be added for adding the target catalytic prop;
s2, under the condition that the prompt message prompts that the adding object is the exchange resource, updating the currently displayed exchange resource amount obtained by deducting the exchange resource corresponding to the resource value required by the target catalytic prop from the current exchange resource held by the viewing account;
s3, under the condition that the prompt information prompts that the adding object is the specific initial virtual resource, searching the specific initial virtual resource in the virtual resource pool corresponding to the viewing account; and under the condition that the specific initial virtual resource is found, updating the amount of the specific initial virtual resource which is displayed currently and obtained by deducting the specific initial virtual resource corresponding to the resource value required by the target catalytic prop from the specific initial virtual resource held by the viewing account.
Alternatively, the target catalytic prop is not limited to being an exchange resource and a particular initial virtual resource. Exchange resources include, but are not limited to, virtual currency. The specific initial virtual resource is a virtual resource which is preset in the initial virtual resource and is used as a catalytic prop. The particular initial virtual resource is not limited to being able to be used to redeem a targeted exchange prop, or to be a targeted catalytic prop only.
Optionally, adding different amounts of target catalytic props correspondingly increases the acquisition probability to different degrees. The promotion degree of the acquisition probability is not limited to be positively correlated with the addition quantity of the target catalytic props. And under the condition that the target catalysis prop is added through the adding control, determining to use the catalysis prop to perform virtual fusion processing, deducting the quantity of the target catalysis prop consumed by the virtual fusion, and updating the quantity of the target catalysis prop owned by the watching account number.
In the embodiment of the application, the exchange resources or the characteristic initial virtual resources are used as the target catalysis props to increase the acquisition probability of the key virtual resources, so that the probability of acquiring the key virtual resources is increased, the acquisition mode of the target virtual resources is increased, and the interest of a user in acquiring the target virtual resources is improved by improving the acquisition probability of the key virtual resources.
As an optional implementation manner, after the overlaying and displaying the target resource floating layer on the live display interface in response to the triggering operation performed on the target control displayed in the live display interface, the method further includes:
s1, displaying a prop obtaining floating layer under the condition that the current prop quantity does not meet the exchange condition corresponding to the target virtual resource, wherein a plurality of items of initial virtual resources are displayed in the prop obtaining floating layer;
and S2, responding to the trigger operation executed on the exchange control in the prop acquisition floating layer, and performing exchange processing on the selected initial virtual resource to obtain the target exchange prop.
Optionally, the prop obtaining floating layer may further perform a trigger operation on a target prop control in the target resource floating layer to trigger display, and meanwhile, the prop obtaining operation may be triggered to trigger display by triggering a target exchange prop obtaining operation in a live broadcast display interface.
Optionally, the prop obtaining floating layer is displayed when the current prop number is smaller than the target prop number. In the prop acquisition floating layer, the target exchange prop is acquired by initially trying on virtual resource exchange. The target exchange props exchanged through the initial virtual resources are not limited to the determination of the number of target exchange props and the exchange times of the target exchange props, which can be exchanged, according to the resource level of the initial virtual resources. Resource ratings are not limited to being determined by resource value.
Optionally, in a case that the resource level of the initial virtual resource is less than the level threshold, limiting the redemption number and redemption times of the target exchange prop that the initial virtual resource can redeem. For example, at an initial virtual resource with a resource value of zero, it may be limited that the exchange of the target exchange prop is not possible, or it may be limited that the exchange of the target exchange prop is only possible once a day, and the number of the corresponding target exchange props is small, so as to improve the exchange condition of the target exchange props, thereby embodying the resource value of the target virtual resource.
Optionally, in a case that the resource level of the initial virtual resource is greater than the level threshold, the redemption number and redemption times of the initial virtual resource redemption target exchange prop are not limited. For example, at an initial virtual resource with a resource value that is not zero, the number of exchanges and the number of exchanges of the target exchange prop may not be limited. And determining the number of exchangeable target exchange props according to the resource value of the initial virtual resource.
In the embodiment of the application, the target exchange prop is acquired through display of the prop exchange floating layer, so that the current prop quantity of the target exchange prop meets the exchange condition, and the acquisition of the target virtual resource is realized.
As an optional implementation manner, the above-mentioned display prop obtaining floating layer includes: and under the condition that the currently selected item exchange mode is a first exchange mode, displaying an item acquisition floating layer in the first exchange mode, wherein the first exchange mode indicates that one item of initial virtual resource used for exchanging the target exchange item is determined from a plurality of items of initial virtual resources.
Optionally, the prop acquisition floating layer is not limited to be displayed on the live display interface in an overlapping manner. The prop acquisition vessel may include, but is not limited to, at least two modes of redemption. When the prop obtaining floating layer is displayed, the prop obtaining floating layer in the first exchange mode is not limited to be displayed, and the exchange mode control is displayed in the prop exchange floating layer in the first exchange mode.
Optionally, the prop acquisition floating layer is switched to the second exchange mode when the exchange switching operation performed on the exchange mode control is detected. The number of items of the initial virtual resource that can be selected by the first redemption mode and the second redemption mode is different. The virtual resources indicated by different items of initial virtual resources are different, and the number of resources of each item of virtual resources can be multiple.
Optionally, the number of the target exchange props corresponding to each initial virtual resource is not limited to be determined according to the resource value of the initial virtual resource. Whether the converted initial virtual resources belong to the same initial virtual resource or not, when a plurality of initial virtual resources are used for converting the target exchange props, the number of the corresponding target exchange props is the accumulation of the target exchange props corresponding to each initial virtual resource.
Optionally, in the item acquisition floating layer in the first exchange mode, determining an initial virtual resource for exchanging the target exchange item from the displayed multiple initial virtual resources, and displaying a first exchange floating window. Determining an exchange number of the target item initial virtual resource for exchanging the target exchange prop in the first exchange floating window. And exchanging the target exchange props with corresponding quantity by using the initial virtual resources of the exchanged quantity of the target items.
As an optional implementation manner, the above-mentioned display prop obtaining floating layer includes: and under the condition that the currently selected item exchange mode is a second exchange mode, displaying an item acquisition floating layer in the second exchange mode, wherein the second exchange mode indicates that at least two items of initial virtual resources for exchanging the target exchange item are determined from the plurality of items of initial virtual resources.
Optionally, in the prop acquisition floating layer in the second exchange mode, displaying a second exchange floating window. And determining a plurality of initial virtual resources for exchanging the target exchange props in the second exchange floating window, wherein the number of the initial virtual resources is not less than one. For the determined initial virtual resources for redeeming the target exchange prop, it is not limited to determining to redeem the target exchange prop using the entire number of initial virtual resources, and the number of redeems for each initial virtual resource is limited to be unadjustable.
In the embodiment of the application, different exchange modes are set for the prop acquisition floating layer to increase modes for exchanging the target exchange props, and the acquisition modes of the target exchange props are further enriched by different numbers of items of the initial virtual resources corresponding to the different modes.
As an optional implementation manner, in response to the triggering operation performed on the item acquisition float in the redemption control, performing redemption processing on the selected initial virtual resource includes:
s1, displaying an exchange control under the first exchange mode, wherein the exchange control is used for adjusting the exchange number of the selected initial virtual resources;
s2, displaying a first exchange number of the target exchange prop corresponding to the initial virtual resource of the exchange number;
and S3, responding to the triggering operation executed on the exchange control, and exchanging the target exchange prop with the first exchange amount by using the initial virtual resource with the exchange amount.
Optionally, in the first exchange mode, a plurality of initial virtual resources are displayed in the prop acquisition floating layer. The display manner of the plurality of initial virtual resources is not limited to the identification list. The touch operation is not limited to a sliding operation to browse the plurality of initial virtual resources.
Alternatively, the display of the initial virtual resource is not limited to displaying the resource identification of the initial virtual resource. The resource identification comprises a resource image, a resource name, a resource quantity and a resource value. And determining the target to initial virtual resources for exchanging the target exchange props from the displayed multidirectional initial virtual resources through selection operation, wherein the specific selection mode is not limited to clicking on the resource identifier.
Optionally, the target item initial virtual resource is determined from the plurality of items of initial virtual resources through a click operation, and the first exchange floating window is displayed. Displaying a redemption control in the first redemption floating window. And the exchange control is used for adjusting the exchange quantity of the selected target item initial virtual resource. The first exchange floating window also comprises a first exchange number of the target exchange props corresponding to the exchange number of the target item initial virtual resources.
The prop acquisition float and the first redemption float in the first redemption mode are not limited to those shown in fig. 7. And superposing and displaying a prop obtaining floating layer 702 in the first exchange mode on the live display interface 302. A plurality of initial virtual resources are displayed in the prop acquisition float 702. Taking the number of the owned initial virtual resources as six as an example, the resource identifiers 704 corresponding to the six initial resources are displayed, which are resource 1, resource 2, resource 3, resource 4, resource 5, and resource 6, respectively. Resource identifiers 704 display resource images, names, values, and quantities. The quantity is displayed in a corner of the resource identifier in the form of a corner mark. A redemption mode control 712 and the current number of items are also displayed in the item acquisition float 702. Through redemption mode control 712 to switch to the second redemption mode.
In any of the six initial virtual resource executions, taking resource 3 as an example, when a selection operation is performed, a first exchange floating window 706 is displayed on the prop acquisition floating layer 702 in an overlapping manner. Resource identification for resource 3, redemption control 708, and redemption control 710 are displayed in the first redemption float 706. By performing an adjustment operation on redemption control 708 to adjust the amount of redemption of resource 3 for redeeming the target exchange prop. The redemption number is less than or equal to the number of resources of resource 3. While displaying a first redemption amount of the target exchange prop that may be redeemed corresponding to the redemption amount in a first redemption floating window 706. The first exchange number is updated and displayed in real time along with the exchange number. In the event that a redemption amount is determined, redemption amount resource 3 is redeemed for the first redemption amount of the targeted exchange prop by performing a redemption operation on redemption control 710.
In the embodiment of the application, in the prop obtaining floating layer in the first exchange mode, the target item initial virtual resources are determined from a plurality of items of initial virtual resources through selection operation, the exchange number of the target item initial virtual resources is adjusted through the exchange control in the first exchange floating window, so that exchange of the target exchange props is achieved by utilizing the target item initial virtual resources, and the target virtual resources are obtained by increasing the number of the target exchange props.
As an optional implementation manner, in response to the triggering operation performed on the item acquisition float in the redemption control, performing redemption processing on the selected initial virtual resource includes:
s1, displaying all the initial virtual resources adjusted to the selected state in the second exchange mode;
s2, responding to the deselection operation executed on the first virtual resource in the multiple initial virtual resources, and adjusting the first virtual resource to be in an unselected state;
s3, displaying a second exchange number of the target exchange prop corresponding to the initial virtual resource in the selected state;
and S4, responding to the triggering operation executed on the exchange control, and exchanging the target exchange props with the second exchange quantity.
Optionally, the prop acquisition floating layer is switched to the second exchange mode under the condition that the exchange switching operation is performed on the exchange mode control. And displaying a plurality of items of initial virtual resources in the prop acquisition floating layer. The display manner of the plurality of initial virtual resources is not limited to the identification list.
Optionally, when switching to the second exchange mode, a second exchange floating window is displayed on the prop acquisition floating layer in an overlapping manner. And the second conversion floating window is used for displaying the initial virtual resource in the selected state. And not limited to displaying all initial virtual resources in the second redemption floating window when the second redemption floating window is displayed.
Optionally, displaying the initial virtual resource in the second redemption floating window is not limited to displaying the resource identification of the initial virtual resource. The resource identification comprises a resource image, a resource name, a resource quantity and a resource value. And determining the first virtual resource which is not used for exchanging the target exchange prop from all the displayed initial virtual resources through selection operation, wherein the specific selection mode is not limited to the click operation on the resource identifier.
Alternatively, the selection operation is not limited to being performed on any of the initial virtual resources. And adjusting the first virtual resource from the selected state to the unselected state through the selection operation, wherein the resource identifier of the first virtual resource in the unselected state is removed from the second exchange floating window. The redemption amount of the initial virtual resource in the selected state is the resource amount of the initial virtual resource. The second exchange floating window also comprises a second exchange number of the target exchange prop corresponding to the initial virtual resource in the selected state.
The prop acquisition float and the second redemption float in the second redemption mode are not limited to those shown in fig. 8. The item acquisition floating layer 702 under the first exchange mode is displayed on the live broadcast display interface 302 in an overlapped mode, the exchange mode is switched to the second exchange mode through the exchange mode control 712, and the second exchange floating window 802 is displayed on the item acquisition floating layer 702 in an overlapped mode. Taking the number of the owned initial virtual resources as six as an example, the number is resource 1, resource 2, resource 3, resource 4, resource 5, and resource 6. Resource identifications of the six initial virtual resources are displayed in the second redemption floating window 702, and resource images, names, values and quantities are displayed in the resource identifications. The quantity is displayed in a corner of the resource identifier in the form of a corner mark.
When the selection operation is performed on any one of the six initial virtual resources, taking resource 4 as an example, under the condition that the selection operation is performed on the resource identifier of resource 4, resource 4 is adjusted to be in the selected state, the resource identifier of resource 4 is cleared in the second conversion floating window, the second conversion floating window is updated to the updated second conversion floating window 806, and the resource identifiers corresponding to resource 1, resource 2, resource 3, resource 5 and resource 6 are displayed in the updated second conversion floating window 806, and are used for identifying the exchange of the target exchange prop by using the initial virtual resource displayed in the updated second conversion floating window 806. And simultaneously displaying a second exchange number of target exchange props which correspond to the selected initial virtual resource and can be exchanged in the second exchange floating window 802 and the updated second exchange floating window 806. The second exchange number is updated and displayed in real time along with whether the initial virtual resource is in the selected state, so that the second exchange numbers in the second exchange floating window 802 and the updated second exchange floating window 806 are different in value. In the event that the initial virtual resource in the selected state is determined, the target exchange prop to be exchanged into a second exchange amount is exchanged by performing an exchange operation on exchange control 804. After performing the redemption operation, the viewing account has an initial virtual resource of only resource 4, in number 3.
In the embodiment of the application, in the second exchange mode, the second exchange floating window is directly displayed in the prop acquisition floating layer in an overlapping mode, the first virtual resource is determined from a plurality of items of initial virtual resources through selection operation, the first virtual resource is adjusted to be in an unselected state, so that exchange of the target exchange props is realized by using the initial virtual resources in the selected state, and acquisition of the target virtual resources is realized by increasing the number of the target exchange props.
According to another aspect of the embodiments of the present invention, a virtual resource obtaining method is provided, which is not limited to be applied to the server shown in fig. 1. As an optional implementation manner, as shown in fig. 9, the virtual resource obtaining method includes:
and S902, receiving an acquisition instruction sent by a client of the live application logged in by using the viewing account.
In step S902, the obtaining instruction is an operation instruction generated in response to a trigger operation executed on a target control on a live display interface in a client of the live application, where the obtaining instruction is used to request to display a target resource floating layer, and the live display interface is a sharing interface provided for the anchor account.
And S904, pushing the resource floating layer data corresponding to the target resource floating layer to a client of the live broadcast application logged in by using the viewing account according to the acquisition instruction.
In step S904, the resource floating layer data corresponding to the target resource floating layer includes resource identifiers of a plurality of candidate virtual resources and a current prop number of a target exchange prop currently owned by the viewing account, the target exchange prop is a prop obtained by exchanging an initial virtual resource, and the initial virtual resource and the candidate virtual resource are virtual resources used for pushing to the anchor account;
s906, determining a target virtual resource from a plurality of candidate virtual resources provided in the target resource floating layer, and performing virtual fusion processing on the target exchange prop to obtain the target virtual resource under the condition that the current prop number meets the exchange condition corresponding to the target virtual resource;
s908, sending a prompt to the client of the live application logged in using the viewing account that the target virtual resource has been successfully acquired.
Optionally, the resource level of the initial virtual resource is not limited to being lower than the candidate virtual resource, and the resource level is not limited to being determined according to the resource value, which is represented in its corresponding equivalent virtual currency.
In the embodiment of the application, by receiving an obtaining instruction corresponding to a trigger operation on a target control, pushing floating layer data for overlaying and displaying a target resource floating layer on a live broadcast display interface to a client, in the target resource floating layer, performing virtual fusion processing on a target exchange prop to obtain a target virtual resource under the condition that the instruction corresponding to the virtual fusion processing is received, wherein the target exchange prop is obtained by exchanging the initial virtual resource, and under the condition that the obtaining is successful, sending prompt information for successfully obtaining the target virtual resource to the client to display the prompt information in the client, exchanging the target exchange prop through the initial virtual resource with a lower resource level owned by an account number to obtain the target virtual resource with a higher resource level, and achieving the purpose of exchanging the target through the initial virtual resource with a lower resource level in the account number, the method and the device aim at obtaining the target virtual resource with higher resource level, so that the barrier that the virtual resource can only be purchased through virtual currency to obtain the virtual resource with higher resource level is broken, the technical effect of obtaining means of the virtual resource with higher level is increased, and the technical problem of single virtual resource obtaining mode is solved.
As an optional implementation manner, the pushing, according to the acquisition instruction, the resource floating layer data corresponding to the target resource floating layer to the client of the live application logged in by using the viewing account includes:
s1, under the condition that the obtaining instruction indicates that the currently selected prop fusion mode is the first fusion mode, pushing resource floating layer data corresponding to a target resource floating layer in the first fusion mode, wherein the first fusion mode indicates that a target virtual resource is selected from a plurality of candidate virtual resources, and the target resource floating layer comprises a prop number used for indicating the quantity of target exchange props required to be consumed by each candidate virtual resource;
and S2, under the condition that the obtaining instruction indicates that the currently selected item fusion mode is the second fusion mode, pushing resource floating layer data corresponding to the target resource floating layer in the second fusion mode, wherein the second fusion mode indicates that the target exchange items consuming the reference item quantity are used, so as to obtain the target virtual resource from the candidate virtual resources.
Optionally, when the obtaining instruction is received, the resource floating layer data corresponding to the first fusion mode is sent to the client. And under the condition of receiving a switching instruction corresponding to the execution operation, sending the resource floating layer data corresponding to the second fusion mode to the client to update the resource floating layer data, so that the target resource floating layer in the second fusion mode is displayed in the client.
As an optional implementation manner, after the pushing resource floating layer data corresponding to the target resource floating layer in the first fusion mode, the method further includes:
s1, determining the target prop quantity of the target exchange props for obtaining the fused target exchange props needed by the target virtual resources under the condition of receiving the selected operation instruction of the target virtual resources determined from the candidate virtual resources;
s2, comparing the target prop quantity with the current prop quantity;
s3, determining that the current prop quantity meets the exchange condition corresponding to the target virtual resource under the condition that the current prop quantity is judged to be larger than or equal to the target prop quantity;
and S4, performing virtual fusion processing on the target exchange props under the target prop quantity to obtain target virtual resources, and updating the prop quantity of the target exchange props currently owned by the viewing account.
Optionally, the selected operation instruction carries a resource identifier of a candidate virtual resource corresponding to the selected operation. And under the condition of receiving the selected operation instruction, adjusting the candidate virtual resource corresponding to the resource identifier to a selected state, and determining the candidate virtual resource as the target virtual resource.
Optionally, in a case where a fusion operation instruction executed on the fusion control is received, exchanging the target virtual resource with the target exchange prop of the target prop number. And meanwhile, updating the number of the props of the target exchange currently owned by the watching account, wherein the value of the number is equal to the current prop number minus the target prop number.
As an optional implementation manner, after the pushing resource floating layer data corresponding to the target resource floating layer in the second fusion mode, the method further includes:
s1, determining the reference prop quantity of the target exchange props needed to be consumed corresponding to the fusion control under the condition of receiving the trigger operation instruction executed on the fusion control in the target resource floating layer;
s2, comparing the reference prop quantity with the current prop quantity;
and S3, under the condition that the current prop number is judged to be larger than the reference prop number, randomly determining target virtual resources corresponding to the fusion control in number from the plurality of candidate virtual resources, and updating the prop number of the target exchange props currently owned by the watching account number.
Optionally, in the case of receiving a trigger operation instruction corresponding to the fusion control, determining the number of reference props corresponding to the fusion control. The reference prop number positively correlates with the number of target virtual resources indicated by the fusion control. The number of target virtual resources indicated by different fusion controls is different.
Optionally, in the case that the reference prop quantity is determined and is not greater than the current prop quantity, exchanging the target virtual resource by using the target exchange props of the reference prop quantity. And meanwhile, updating the number of the props of the target exchange currently owned by the watching account, wherein the value of the number is equal to the current prop number minus the reference prop number.
Alternatively, randomly determining the target virtual resource is not limited to calculation according to the acquisition probability of each candidate virtual resource. And determining the target virtual resource by reference. The target virtual resource is not limited to be determined according to the acquisition number corresponding to the fusion control and the acquisition probability reference of each candidate virtual resource. The candidate acquisition number for each candidate virtual resource is not limited to being determined by the candidate acquisition probability reference obtained by multiplying the acquisition number by the acquisition probability.
And under the condition that the acquisition number is one, determining the candidate virtual resource with the maximum value of the candidate acquisition probability as the target virtual resource. And under the condition that the acquisition number is not one, calculating the candidate acquisition number corresponding to each candidate virtual resource, and adjusting the candidate acquisition number to be an integer as the acquisition number of each candidate virtual resource. During the adjustment process, it needs to be ensured that the total added value of the adjusted acquisition numbers is consistent with the acquisition number indicated by the fusion control.
As an optional implementation manner, after the pushing resource floating layer data corresponding to the target resource floating layer in the second fusion mode, the method further includes:
s1, determining a target catalytic prop corresponding to an adding control under the condition that an adding operation instruction executed on the adding control in the target resource floating layer is received;
s2, calculating the number of the catalytic props obtained by deducting the currently selected target catalytic props from the target catalytic props held by the viewing account;
and S3, under the condition that an addition confirming instruction is received, increasing the obtaining probability of the key virtual resource in the candidate virtual resources, wherein the addition confirming instruction is an instruction triggered by an addition confirming operation executed on the target catalytic prop, and the resource level of the key virtual resource is higher than the resource levels of other remaining candidate virtual resources in the candidate virtual resources.
Optionally, in the case of receiving an adding operation instruction corresponding to the adding control, determining to use the target catalytic prop to increase the acquisition probability of the key virtual prop. Increasing the acquisition probability of the key virtual item is not limited to increasing the acquisition probability of the key virtual resource by adjusting the acquisition probabilities of the plurality of candidate virtual resources. The adjustment of the acquisition probabilities of the multiple candidate virtual resources is not limited to the preset setting of the acquisition probabilities of the multiple groups of candidate virtual resources, and the acquisition probabilities of the matched candidate virtual resources are determined by whether the target catalytic props are added or not and the number of the added target catalytic props. The number of target catalytic props is determined by receiving a number adjustment instruction for the target catalytic props.
Optionally, the swap resource or feature initial virtual resource is set as the target catalytic prop. The exchange resources are not limited to including virtual currency.
As an optional implementation manner, after the pushing resource floating layer data corresponding to the target resource floating layer in the second fusion mode, the method further includes:
s1, under the condition that the current prop quantity is judged not to meet the exchange condition corresponding to the target virtual resource, sending prop floating layer data corresponding to a prop acquisition floating layer, wherein the prop acquisition floating layer comprises a plurality of items of initial virtual resources;
and S2, under the condition that a trigger operation instruction executed on the exchange control in the prop acquisition floating layer is received, exchanging the selected initial virtual resource into the target exchange prop.
Optionally, when a trigger instruction corresponding to the target prop control is received or a prop obtaining instruction of the target exchange prop is received, sending prop floating layer data corresponding to the prop obtaining floating layer to the client, so as to display the prop obtaining floating layer in the client.
As an optional implementation manner, the sending of the prop floating layer data corresponding to the prop obtaining floating layer includes: and sending prop acquisition floating layer data corresponding to a floating layer in a first exchange mode, wherein the first exchange mode indicates that one initial virtual resource for exchanging the target exchange prop is determined from a plurality of initial virtual resources.
Optionally, the method includes sending prop floating layer data in a first exchange mode when a prop obtaining instruction of the floating layer prop is received. And the prop floating layer data in the first exchange mode comprise display data corresponding to the exchange mode control. And under the condition of receiving a selection operation instruction executed on the resource identifier in the prop acquisition floating layer, sending first floating window data corresponding to the first conversion floating window to the client so as to display the first conversion floating window on the prop acquisition floating layer in an overlapping manner.
As an optional implementation manner, the sending of the prop floating layer data corresponding to the prop obtaining floating layer includes: and sending prop acquisition floating layer data corresponding to the floating layer in a second exchange mode, wherein the second exchange mode indicates that at least two initial virtual resources for exchanging the target exchange props are determined from the plurality of initial virtual resources.
Optionally, when an exchange mode switching operation instruction corresponding to the exchange mode control is received, sending second floating window data corresponding to the second exchange floating window to the client, so that the second exchange floating window is displayed on the prop acquisition floating layer in an overlapping manner.
As an optional implementation manner, after the sending of the prop in the first exchange mode to obtain the prop floating layer data corresponding to the floating layer, the method further includes:
s1, under the condition that an adjusting operation instruction executed on the exchange control in the prop acquisition floating layer is received, adjusting the number of the selected initial virtual resources, and updating the first exchange number of the corresponding target exchange props;
and S2, under the condition that a trigger operation instruction executed on the exchange control in the prop acquisition floating layer is received, exchanging the initial virtual resources into the target exchange props with the first exchange quantity.
Optionally, when a selection operation instruction executed on a resource identifier in the prop acquisition floating layer is received, determining an initial virtual resource corresponding to the selection operation instruction, determining the initial virtual resource as a target item initial resource, and sending first floating window data corresponding to a first exchange floating window containing the resource identifier of the target item initial virtual resource to the client, so as to display the first exchange floating window containing the target item initial virtual resource on the prop acquisition floating layer in an overlapping manner. The first floating window data corresponding to the first conversion floating window comprises display data of the conversion control.
Optionally, in the case of receiving an adjustment operation instruction of the exchange control, adjusting the selected number of the initial virtual resources of the target item, updating a first exchange number corresponding to the selected number, and sending the first exchange number to the client, so that the first exchange number corresponding to the selected number is updated and displayed in the client.
Optionally, under the condition that an exchange operation instruction corresponding to the exchange control is received, exchanging the target exchange props of the first exchange number by using the selected number of target items of the initial virtual resources.
As an optional implementation manner, after the sending of the prop in the second exchange mode to obtain the prop floating layer data corresponding to the floating layer, the method further includes:
s1, under the condition that an unselection operation instruction executed on a first virtual resource in the multiple items of initial virtual resources is received, calculating a second exchange number of the target exchange prop corresponding to the initial virtual resource in the selected state;
and S2, under the condition that a trigger operation instruction executed on the exchange control in the prop acquisition floating layer is received, exchanging the initial virtual resources into target exchange props of a second exchange quantity.
Optionally, after sending the second floating window data corresponding to the second exchange floating window to the client, and under the condition that a selection operation instruction executed on the resource identifier in the prop acquisition floating layer is received, determining the initial virtual resource corresponding to the selection operation instruction, determining the initial virtual resource as the first virtual resource, adjusting the first virtual resource to be in an unselected state, removing the resource identifier of the first virtual resource from the second floating window data, updating the second exchange number of the initial virtual resource currently in the selected state, including the updated second exchange number in the updated second floating window data, and sending the updated second exchange number to the client, so that the second exchange floating window containing the updated second exchange number is updated and displayed in the client. And the second floating window data corresponding to the second conversion floating window comprises display data of the conversion control.
Optionally, under the condition that an exchange operation instruction corresponding to the exchange control is received, exchanging the target exchange props of the second exchange number by using the initial virtual resources in the selected state.
Taking the example that a live display interface is displayed in a client of a live application and interacts with a server to achieve the acquisition of a target virtual resource, the acquisition timing sequence interaction of the target virtual resource is not limited to that shown in fig. 10.
In a case where the viewing user initiates an operation of viewing a live broadcast in the client logged in using the viewing account, the client executes S1002 to receive a live broadcast viewing request. In the case of receiving the live viewing request, the client executes S1004 to initiate a live stream acquisition request to the server. When receiving the live stream acquisition request, the server executes S1006 and sends the live stream data to the client. When receiving the live streaming data, the client executes S1008 and displays a live display interface. And executing S1010 by the client under the condition that the watching user executes the operation on the target control based on the live display interface, and receiving the trigger operation on the target control. In the case of receiving the trigger operation, the client executes S1012 to initiate a resource floating layer acquisition request. When receiving the resource floating layer acquisition request, the server executes S1014 and transmits the resource floating layer data. And executing S1016 by the client under the condition of receiving the resource floating layer data, and overlapping and displaying the target resource floating layer in the live broadcast display interface. In the case where the viewing user operates the mode switching control, the client executes S1018 to receive an operation on the mode switching control. In the case of receiving an operation on the mode switching control, S1020 is executed to initiate a fusion mode switching request. When receiving the fusion mode switching request, the server executes S1022 to transmit the resource floating layer data. And the client executes S1024 according to the resource floating layer data under the condition of receiving the latest resource floating layer data, and updates and displays the target resource floating layer.
When the viewing user performs the fusion adjustment operation on the target resource floating layer, the client performs S1026 to receive the fusion adjustment operation. The fusion adjustment operation includes adjustment of the acquired amount of virtual resources in a first fusion mode and addition of a target catalytic prop in a second fusion mode. The client executes S1028 and sends a fusion adjustment instruction to the server. And the server executes S1030 and calculates the quantity of the target props/the adjustment acquisition probability under the condition of receiving the fusion adjustment instruction. And under the condition that the fusion adjustment instruction indicates that the acquisition quantity is adjusted, calculating the quantity of the target props corresponding to the adjusted acquisition quantity. And in the case that the fusion adjustment instruction indicates that the target catalytic prop is added, adjusting the acquisition probability of the candidate virtual resource. In the case that the fusion adjustment instruction indicates to adjust the acquisition number, after calculating the target item number, the server executes S1032 to send the target item number to the client. And the client executes S1034 under the condition of receiving the target prop quantity, and updates and displays the target prop quantity.
In the case where the viewing user performs an operation on the fusion control on the target resource floating layer, the client performs S1036 to receive the operation on the fusion control. In the case where an operation on the fusion control is received, S1038 is performed, and a fusion request is initiated. And the server executes S1040 under the condition of receiving the fusion request, and compares the current prop quantity with the target prop quantity. And executing S1042 to perform virtual fusion on the target exchange prop under the condition that the current prop number is judged to be greater than or equal to the target prop number. And executing S1044, sending the successfully acquired information. And the client executes S1046 and displays the successfully acquired information when receiving the successfully acquired information.
And executing S1048 to determine that the current prop quantity is smaller than the target prop quantity when the server determines that the current prop quantity is smaller than the target prop quantity. And executing S1050 to send prop floating layer data. And executing S1052 when the client receives the prop floating layer data, and displaying the prop acquisition floating layer on a live broadcast display interface by the Miss.
Under the condition that a watching user executes an operation on the exchange mode control in the prop acquisition floating layer, the client executes S1054, receives the operation on the exchange mode control, executes S1056, and initiates an exchange and European switching request. And the server executes S1058 and sends the prop floating window data under the condition of receiving the exchange mode switching request. When the client receives the property floating window data, S1060 is executed, and a property exchanging floating window is displayed in an overlapping manner on the property acquisition floating layer.
And under the condition that the watching user executes the exchange adjustment operation on the prop exchange floating window, the client executes S1062 and receives the exchange adjustment operation. The exchange adjustment operation comprises adjustment of exchange quantity of the initial virtual resource in the first prop exchange floating window and cancellation adjustment operation performed on the initial virtual resource in the second prop exchange floating window. The client executes S1064 and sends an exchange adjustment instruction. And the server executes S1066 under the condition of receiving the exchange adjustment instruction, and calculates the exchange number of the target exchange props which can be exchanged. And updating and calculating the exchange number corresponding to the current initial virtual resource based on the exchange adjustment instruction, executing S1068, and sending the exchange number. And executing S1070 when the client receives the exchange number, and updating and displaying the exchange number in the item exchange floating window.
And under the condition that the watching user executes the operation on the redemption control, the client executes S1072, receives the operation of the redemption control, executes S1074 and initiates a redemption request. And the server executes S1076 to exchange the target exchange prop and executes S1078 to update the current prop quantity of the target exchange prop under the condition of receiving the exchange request. And the server executes S1080 and sends the current prop quantity under the condition of determining the current prop quantity. And the client executes S1082 and updates and displays the current prop quantity under the condition of receiving the current prop quantity.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the invention. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required by the invention.
According to another aspect of the embodiments of the present invention, there is also provided a virtual resource acquiring apparatus for implementing the virtual resource acquiring method, which is not limited to be applied in a client. As shown in fig. 11, the apparatus includes:
a first display unit 1102, configured to display a live display interface in a client of a live application logged in using a viewing account;
a second display unit 1104, configured to, in response to a trigger operation performed on a target control displayed in a live broadcast display interface, overlay and display a target resource floating layer on the live broadcast display interface, where the target resource floating layer displays a plurality of candidate virtual resources and a current item number of a target exchange item currently owned by a viewing account, the target exchange item is an item converted from an initial virtual resource, and the initial virtual resource and the candidate virtual resource are virtual resources used for being pushed to a host account;
a fusion unit 1106, configured to perform virtual fusion processing on the target exchange item to obtain a target virtual resource when the current item number meets an exchange condition corresponding to the target virtual resource, where the multiple candidate virtual resources include the target virtual resource;
a third display unit 1108, configured to display a prompt that the target virtual resource has been successfully acquired.
Optionally, the second display unit 1004 is further configured to: and if the currently selected prop fusion mode is the first fusion mode, displaying a target resource floating layer in the first fusion mode, wherein the first fusion mode indicates that a target virtual resource is selected from a plurality of candidate virtual resources, and the number of props used for acquiring target exchange props required to be consumed by each candidate virtual resource is displayed in the target resource floating layer.
Optionally, the second display unit 1004 is further configured to: and if the currently selected prop fusion mode is the second fusion mode, displaying the target resource floating layer in the second fusion mode, wherein the second fusion mode indicates that the target exchange props consuming the reference prop quantity are used for acquiring the target virtual resource from the plurality of candidate virtual resources.
Optionally, the fusing unit 1106 is further configured to: determining a target virtual resource from a plurality of candidate virtual resources displayed in a target resource floating layer in a first fusion mode; determining that the current prop quantity meets an exchange condition corresponding to the target virtual resource under the condition that the current prop quantity is greater than or equal to the target prop quantity, wherein the target prop quantity is the quantity of target exchange props fused for acquiring the target virtual resource; and performing virtual fusion processing on the target exchange props under the quantity of the target props to obtain target virtual resources, and updating the quantity of the props of the target exchange props currently owned by the currently displayed viewing account.
Optionally, the fusing unit 1106 is further configured to: in a second fusion mode, displaying the reference prop quantity of the target exchange props needed to be consumed for obtaining the target virtual resources in the target resource floating layer; determining that the current prop quantity meets an exchange condition corresponding to the target virtual resource under the condition that the current prop quantity is greater than the reference prop quantity; and under the condition that the target virtual resource is randomly determined from the plurality of candidate virtual resources, deducting the reference prop quantity from the current prop quantity, and updating the prop quantity of the target exchange prop currently owned by the currently displayed viewing account.
Optionally, the virtual resource obtaining apparatus further includes an adding unit, configured to, after displaying the target resource floating layer in the second fusion mode, include: displaying an adding control for adding the target catalytic prop; and in response to the adding operation executed on the adding control, applying the target catalytic prop to a key virtual resource in the plurality of candidate virtual resources to increase the obtaining probability of the key virtual resource, wherein the resource level of the key virtual resource is higher than the resource levels of other remaining candidate virtual resources in the plurality of candidate virtual resources.
Optionally, the adding unit is further configured to: responding to the adding operation executed on the adding control, and displaying prompt information of an object required to be added for adding the target catalytic prop; under the condition that the prompt message prompts that the added object is the exchange resource, updating the currently displayed exchange resource amount obtained by deducting the exchange resource corresponding to the resource value required by the target catalytic prop from the current exchange resource held by the viewing account; under the condition that the prompt information prompts that the adding object is the specific initial virtual resource, searching the specific initial virtual resource in a virtual resource pool corresponding to the viewing account; and under the condition that the specific initial virtual resource is found, updating the amount of the specific initial virtual resource which is displayed currently and obtained by deducting the specific initial virtual resource corresponding to the resource value required by the target catalytic prop from the specific initial virtual resource held by the viewing account.
Optionally, the virtual resource obtaining apparatus further includes a fourth display unit, configured to, in response to a trigger operation executed on a target control displayed in the live display interface, after the target resource floating layer is displayed in an overlapping manner on the live display interface, include: displaying a prop obtaining floating layer under the condition that the current prop quantity does not meet the exchange condition corresponding to the target virtual resource, wherein a plurality of initial virtual resources are displayed in the prop obtaining floating layer; and responding to the triggering operation executed on the exchange control in the prop acquisition floating layer, and performing exchange processing on the selected initial virtual resource to obtain the target exchange prop.
Optionally, the fourth display unit is further configured to: and under the condition that the currently selected item exchange mode is a first exchange mode, displaying an item acquisition floating layer in the first exchange mode, wherein the first exchange mode indicates that one item of initial virtual resource used for exchanging the target exchange item is determined from a plurality of items of initial virtual resources.
Optionally, the fourth display unit is further configured to: and under the condition that the currently selected item exchange mode is a second exchange mode, displaying an item acquisition floating layer in the second exchange mode, wherein the second exchange mode indicates that at least two items of initial virtual resources for exchanging the target exchange item are determined from the plurality of items of initial virtual resources.
Optionally, the fourth display unit is further configured to include: displaying an exchange control under a first exchange mode, wherein the exchange control is used for adjusting the exchange number of the selected initial virtual resources; displaying a first exchange number of the target exchange prop corresponding to the initial virtual resource of the exchange number; and responding to the triggering operation executed on the redemption control, and redeeming the target props of the first redemption number by using the initial virtual resources of the redemption number.
Optionally, the fourth display unit is further configured to: displaying all the multiple initial virtual resources adjusted to the selected state in a second exchange mode; responding to the deselection operation executed on a first virtual resource in the plurality of initial virtual resources, and adjusting the first virtual resource to be in an unselected state; displaying a second exchange number of the target exchange prop corresponding to the initial virtual resource in the selected state; and responding to the triggering operation executed on the exchange control, and exchanging the target exchange prop with the second exchange number.
In the embodiment of the application, a target resource floating layer is superposed and displayed on a live broadcast display interface through triggering operation of a target control, a target virtual resource is acquired through virtual fusion processing of a target exchange prop and a tannin in the target resource floating layer, the target exchange prop is acquired through conversion of an initial virtual resource, and prompt information of the target virtual resource is acquired successfully in the case of successful acquisition is displayed, the target exchange prop is exchanged through the initial virtual resource with a lower resource level owned by an account number, the target exchange prop is fused to acquire the target virtual resource with a higher resource level, the purpose of acquiring the target virtual resource with a higher resource level through the initial virtual resource with a lower resource level in the account number in the way of exchanging the target is achieved, and therefore, the barrier that only virtual resource purchase can be performed through virtual currency to acquire the virtual resource with the higher resource level is broken, the technical effect of the means for acquiring the virtual resources with higher level is increased, and the technical problem of single virtual resource acquisition mode is solved.
According to another aspect of the embodiments of the present invention, there is also provided a virtual resource acquiring apparatus for implementing the virtual resource acquiring method, which is not limited to be applied in a server. As shown in fig. 12, the apparatus includes:
a receiving unit 1202, configured to receive an acquisition instruction sent by a client of a live broadcast application logged in by using a viewing account, where the acquisition instruction is an operation instruction generated in response to a trigger operation executed on a target control on a live broadcast display interface in the client of the live broadcast application, and the acquisition instruction is used to request to display a target resource floating layer;
a pushing unit 1204, configured to push, according to the acquisition instruction, resource floating layer data corresponding to a target resource floating layer to a client of a live broadcast application logged in by using a viewing account, where the resource floating layer data corresponding to the target resource floating layer includes resource identifiers of multiple candidate virtual resources and a current prop number of a target exchange prop currently owned by the viewing account, the target exchange prop is a prop obtained by exchanging an initial virtual resource, and the initial virtual resource and the candidate virtual resource are virtual resources used for being pushed to the anchor account;
a determining unit 1206, configured to determine a target virtual resource from multiple candidate virtual resources provided in the target resource floating layer, and perform virtual fusion processing on the target exchange item to obtain the target virtual resource when the current item number meets an exchange condition corresponding to the target virtual resource;
a sending unit 1208, configured to send, to a client of a live application logged in using a viewing account, a notification that a target virtual resource has been successfully acquired.
Optionally, the pushing unit is further configured to: under the condition that the obtaining instruction indicates that the currently selected prop fusion mode is the first fusion mode, pushing resource floating layer data corresponding to a target resource floating layer in the first fusion mode, wherein the first fusion mode indicates that a target virtual resource is selected from a plurality of candidate virtual resources, and the target resource floating layer comprises a prop number used for indicating the respective consumed target exchange props for obtaining each candidate virtual resource; and under the condition that the obtaining instruction indicates that the currently selected prop fusion mode is the second fusion mode, pushing resource floating layer data corresponding to the target resource floating layer in the second fusion mode, wherein the second fusion mode indicates that the target exchange props consuming the reference prop quantity are used, so as to obtain the target virtual resources from the plurality of candidate virtual resources.
Optionally, the virtual resource obtaining apparatus further includes a comparing unit, configured to, after pushing the resource floating layer data corresponding to the target resource floating layer in the first fusion mode, include: under the condition that a selected operation instruction for determining a target virtual resource from a plurality of candidate virtual resources is received, determining the number of target props of target exchange props required to be fused for obtaining the target virtual resource; comparing the target prop quantity with the current prop quantity; determining that the current prop quantity meets the exchange condition corresponding to the target virtual resource under the condition that the current prop quantity is judged to be larger than or equal to the target prop quantity; and performing virtual fusion processing on the target exchange props under the quantity of the target props to obtain target virtual resources, and updating the quantity of the props of the target exchange props currently owned by the watching account number.
Optionally, the virtual resource obtaining apparatus further includes a determining unit, configured to, after pushing the resource floating layer data corresponding to the target resource floating layer in the second fusion mode, include: under the condition that a trigger operation instruction executed on a fusion control in a target resource floating layer is received, determining the reference prop quantity of a target exchange prop required to be consumed corresponding to the fusion control; comparing the reference prop quantity with the current prop quantity; and under the condition that the current prop quantity is judged to be larger than the reference prop quantity, randomly determining target virtual resources corresponding to the fusion control in quantity from the plurality of candidate virtual resources, and updating the prop quantity of the target exchange props currently owned by the watching account number.
Optionally, the virtual resource obtaining apparatus further includes an adjusting unit, configured to, after pushing the resource floating layer data corresponding to the target resource floating layer in the second fusion mode, include: under the condition that an adding operation instruction executed on an adding control in a target resource floating layer is received, determining a target catalytic prop corresponding to the adding control; calculating the number of the catalytic props obtained by deducting the currently selected target catalytic props from the target catalytic props held by the viewing account; and under the condition of receiving an addition confirming instruction, increasing the acquisition probability of a key virtual resource in the plurality of candidate virtual resources, wherein the addition confirming instruction is an instruction triggered by addition confirming operation executed on the target catalytic prop, and the resource level of the key virtual resource is higher than the resource levels of other remaining candidate virtual resources in the plurality of candidate virtual resources.
Optionally, the virtual resource obtaining apparatus further includes an updating unit, configured to, after pushing the resource floating layer data corresponding to the target resource floating layer in the second fusion mode, include: under the condition that the current prop quantity is judged to not meet the exchange condition corresponding to the target virtual resource, sending prop floating layer data corresponding to a prop acquisition floating layer, wherein the prop acquisition floating layer comprises a plurality of items of initial virtual resources; and under the condition that a triggering operation instruction executed on the exchange control in the prop acquisition floating layer is received, exchanging the selected initial virtual resource into the target exchange prop.
Optionally, the update unit is further configured to: and sending prop acquisition floating layer data corresponding to a floating layer in a first exchange mode, wherein the first exchange mode indicates that one initial virtual resource for exchanging the target exchange prop is determined from a plurality of initial virtual resources.
Optionally, the update unit is further configured to: and sending prop acquisition floating layer data corresponding to the floating layer in a second exchange mode, wherein the second exchange mode indicates that at least two initial virtual resources for exchanging the target exchange props are determined from the plurality of initial virtual resources.
Optionally, the virtual resource obtaining apparatus further includes an exchange unit, configured to, after sending the prop obtaining floating layer data corresponding to the first exchange mode, include: under the condition that an adjusting operation instruction executed on an exchange control in a prop acquisition floating layer is received, adjusting the number of the selected initial virtual resources, and updating a first exchange number of the corresponding target exchange props; and under the condition that a triggering operation instruction executed on an exchange control in the prop acquisition floating layer is received, exchanging the initial virtual resources into target exchange props of a first exchange quantity.
Optionally, the virtual resource obtaining apparatus further includes an exchange updating unit, configured to, after sending the item obtaining floating layer data corresponding to the floating layer in the second exchange mode, include: under the condition that an operation instruction of canceling selection executed on a first virtual resource in a plurality of items of initial virtual resources is received, calculating a second exchange number of target exchange props corresponding to the initial virtual resource in a selected state; and under the condition that a triggering operation instruction executed on an exchange control in the prop acquisition floating layer is received, exchanging the initial virtual resources into target exchange props of a second exchange quantity.
In the embodiment of the application, by receiving an obtaining instruction corresponding to a trigger operation on a target control, pushing floating layer data for overlaying and displaying a target resource floating layer on a live broadcast display interface to a client, in the target resource floating layer, performing virtual fusion processing on a target exchange prop to obtain a target virtual resource under the condition that the instruction corresponding to the virtual fusion processing is received, wherein the target exchange prop is obtained by exchanging the initial virtual resource, and under the condition that the obtaining is successful, sending prompt information for successfully obtaining the target virtual resource to the client to display the prompt information in the client, exchanging the target exchange prop through the initial virtual resource with a lower resource level owned by an account number to obtain the target virtual resource with a higher resource level, and achieving the purpose of exchanging the target through the initial virtual resource with a lower resource level in the account number, the method and the device aim at obtaining the target virtual resource with higher resource level, so that the barrier that the virtual resource can only be purchased through virtual currency to obtain the virtual resource with higher resource level is broken, the technical effect of obtaining means of the virtual resource with higher level is increased, and the technical problem of single virtual resource obtaining mode is solved.
According to another aspect of the embodiment of the present invention, there is also provided an electronic device for implementing the virtual resource obtaining method, where the electronic device may be a terminal device or a server shown in fig. 1. The present embodiment takes the electronic device as a terminal device as an example for explanation. As shown in fig. 13, the electronic device comprises a memory 1302 and a processor 1304, wherein the memory 1302 stores a computer program, and the processor 1304 is configured to perform the steps of any of the above method embodiments by the computer program.
Optionally, in this embodiment, the electronic device may be located in at least one network device of a plurality of network devices of a computer network.
Optionally, in this embodiment, the processor may be configured to execute the following steps by a computer program:
s1, displaying a live broadcast display interface in a client of the live broadcast application logged in by using the viewing account;
s2, in response to a trigger operation executed on a target control displayed in a live broadcast display interface, overlaying and displaying a target resource floating layer on the live broadcast display interface, wherein the target resource floating layer displays a plurality of candidate virtual resources and the current prop number of a target exchange prop currently owned by a viewing account, the target exchange prop is a prop obtained by exchanging an initial virtual resource, and the initial virtual resource and the candidate virtual resource are virtual resources used for being pushed to a main broadcast account;
s3, when the current prop quantity meets the exchange condition corresponding to the target virtual resource, performing virtual fusion processing on the target exchange prop to obtain the target virtual resource, wherein the plurality of candidate virtual resources comprise the target virtual resource;
and S4, displaying the prompt information that the target virtual resource is successfully acquired.
Optionally, in this embodiment, the processor may be further configured to execute, by the computer program, the following steps:
s1, receiving an acquisition instruction sent by a client of the live broadcast application logged in by using the viewing account, wherein the acquisition instruction is an operation instruction generated in response to a trigger operation executed on a target control on a live broadcast display interface in the client of the live broadcast application, and the acquisition instruction is used for requesting to display a target resource floating layer;
s2, pushing resource floating layer data corresponding to a target resource floating layer to a client of a live broadcast application logged in by using a viewing account according to an acquisition instruction, wherein the resource floating layer data corresponding to the target resource floating layer comprises resource identifiers of a plurality of candidate virtual resources and the current item number of a target exchange item currently owned by the viewing account, the target exchange item is an item obtained by exchanging an initial virtual resource, and the initial virtual resource and the candidate virtual resource are virtual resources used for being pushed to a main broadcast account;
s3, determining a target virtual resource from a plurality of candidate virtual resources provided in the target resource floating layer, and performing virtual fusion processing on the target exchange prop to obtain the target virtual resource under the condition that the current prop number meets the exchange condition corresponding to the target virtual resource;
and S4, sending a prompt message that the target virtual resource is successfully acquired to the client of the live application logged in by using the viewing account.
Alternatively, it can be understood by those skilled in the art that the structure shown in fig. 13 is only an illustration, and the electronic device may also be a terminal device such as a smart phone (e.g., an Android phone, an IOS phone, etc.), a tablet computer, a palmtop computer, a Mobile Internet Device (MID), a PAD, and the like. Fig. 13 is not intended to limit the structure of the electronic device. For example, the electronic device may also include more or fewer components (e.g., network interfaces, etc.) than shown in FIG. 13, or have a different configuration than shown in FIG. 13.
The memory 1302 may be configured to store software programs and modules, such as program instructions/modules corresponding to the virtual resource acquiring method and apparatus in the embodiment of the present invention, and the processor 1304 executes various functional applications and data processing by running the software programs and modules stored in the memory 1302, that is, implementing the virtual resource acquiring method. The memory 1302 may include high speed random access memory and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 1302 may further include memory located remotely from the processor 1304, which may be connected to the terminal over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof. Memory 1302 may be specifically, but not limited to, used for storing information such as candidate virtual resources, target exchange props, initial virtual resources, and the like. As an example, as shown in fig. 13, the memory 1302 may include, but is not limited to, a first display unit 1102, a second display unit 1104, a fusing unit 1106, and a third display unit 1108 of the virtual resource acquiring apparatus. In addition, the virtual resource acquiring apparatus may further include, but is not limited to, other module units in the virtual resource acquiring apparatus, which is not described in detail in this example.
Optionally, the transmitting device 1306 is used for receiving or sending data via a network. Examples of the network may include a wired network and a wireless network. In one example, the transmission device 1306 includes a Network adapter (NIC) that can be connected to a router via a Network cable and other Network devices to communicate with the internet or a local area Network. In one example, the transmitting device 1306 is a Radio Frequency (RF) module, which is used to communicate with the internet in a wireless manner.
In addition, the electronic device further includes: a display 1308, configured to display the live broadcast display interface, the target control, the target resource floating layer, the prompt information, and the like; and a connection bus 1310 for connecting the respective module parts in the above-described electronic apparatus.
In other embodiments, the terminal device or the server may be a node in a distributed system, where the distributed system may be a blockchain system, and the blockchain system may be a distributed system formed by connecting a plurality of nodes through a network communication. Nodes can form a Peer-To-Peer (P2P, Peer To Peer) network, and any type of computing device, such as a server, a terminal, and other electronic devices, can become a node in the blockchain system by joining the Peer-To-Peer network.
According to an aspect of the application, a computer program product or computer program is provided, comprising computer instructions, the computer instructions being stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions to cause the computer device to perform the method provided in the various alternative implementations of the virtual resource acquisition aspect described above. Wherein the computer program is arranged to perform the steps of any of the above method embodiments when executed.
Alternatively, in the present embodiment, the above-mentioned computer-readable storage medium may be configured to store a computer program for executing the steps of:
s1, displaying a live broadcast display interface in a client of the live broadcast application logged in by using the viewing account;
s2, in response to a trigger operation executed on a target control displayed in a live broadcast display interface, overlaying and displaying a target resource floating layer on the live broadcast display interface, wherein the target resource floating layer displays a plurality of candidate virtual resources and the current prop number of a target exchange prop currently owned by a viewing account, the target exchange prop is a prop obtained by exchanging an initial virtual resource, and the initial virtual resource and the candidate virtual resource are virtual resources used for being pushed to a main broadcast account;
s3, when the current prop quantity meets the exchange condition corresponding to the target virtual resource, performing virtual fusion processing on the target exchange prop to obtain the target virtual resource, wherein the plurality of candidate virtual resources comprise the target virtual resource;
and S4, displaying the prompt information that the target virtual resource is successfully acquired.
Optionally, in this embodiment, the computer-readable storage medium may be further configured to store a computer program for executing the following steps:
s1, receiving an acquisition instruction sent by a client of the live broadcast application logged in by using the viewing account, wherein the acquisition instruction is an operation instruction generated in response to a trigger operation executed on a target control on a live broadcast display interface in the client of the live broadcast application, and the acquisition instruction is used for requesting to display a target resource floating layer;
s2, pushing resource floating layer data corresponding to a target resource floating layer to a client of a live broadcast application logged in by using a viewing account according to an acquisition instruction, wherein the resource floating layer data corresponding to the target resource floating layer comprises resource identifiers of a plurality of candidate virtual resources and the current item number of a target exchange item currently owned by the viewing account, the target exchange item is an item obtained by exchanging an initial virtual resource, and the initial virtual resource and the candidate virtual resource are virtual resources used for being pushed to a main broadcast account;
s3, determining a target virtual resource from a plurality of candidate virtual resources provided in the target resource floating layer, and performing virtual fusion processing on the target exchange prop to obtain the target virtual resource under the condition that the current prop number meets the exchange condition corresponding to the target virtual resource;
and S4, sending a prompt message that the target virtual resource is successfully acquired to the client of the live application logged in by using the viewing account.
Alternatively, in this embodiment, a person skilled in the art may understand that all or part of the steps in the methods of the foregoing embodiments may be implemented by a program instructing hardware associated with the terminal device, where the program may be stored in a computer-readable storage medium, and the storage medium may include: flash disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
The integrated unit in the above embodiments, if implemented in the form of a software functional unit and sold or used as a separate product, may be stored in the above computer-readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing one or more computer devices (which may be personal computers, servers, network devices, etc.) to execute all or part of the steps of the method according to the embodiments of the present invention.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed client may be implemented in other manners. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one type of division of logical functions, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (26)

1. A virtual resource acquisition method is characterized by comprising the following steps:
displaying a live broadcast display interface in a client of a live broadcast application logged in by using a viewing account;
in response to a trigger operation executed on a target control displayed in the live broadcast display interface, overlaying and displaying a target resource floating layer on the live broadcast display interface, wherein a plurality of candidate virtual resources and the current prop number of a target exchange prop currently owned by the viewing account are displayed in the target resource floating layer, the target exchange prop is a prop obtained by exchanging an initial virtual resource, and the initial virtual resource and the candidate virtual resource are virtual resources used for being pushed to a main broadcast account;
performing virtual fusion processing on the target exchange prop to obtain a target virtual resource under the condition that the current prop quantity meets an exchange condition corresponding to the target virtual resource, wherein the plurality of candidate virtual resources comprise the target virtual resource;
and displaying prompt information that the target virtual resource is successfully acquired.
2. The method of claim 1, wherein the overlaying a display target resource floating layer on the live display interface comprises:
and if the currently selected prop fusion mode is a first fusion mode, displaying the target resource floating layer in the first fusion mode, wherein the first fusion mode indicates that the target virtual resource is selected from the plurality of candidate virtual resources, and the prop quantity of the target exchange prop required to be consumed by each candidate virtual resource is displayed in the target resource floating layer.
3. The method of claim 1, wherein the overlaying a display target resource floating layer on the live display interface comprises:
if the currently selected prop fusion mode is a second fusion mode, displaying the target resource floating layer in the second fusion mode, wherein the second fusion mode indicates that a reference prop quantity of the target exchange props is consumed to acquire the target virtual resource from the plurality of candidate virtual resources.
4. The method according to claim 2, wherein the performing virtual fusion processing on the target exchange item to obtain the target virtual resource when the current item number satisfies an exchange condition corresponding to the target virtual resource includes:
determining the target virtual resource from the plurality of candidate virtual resources displayed in the target resource floating layer in the first fusion mode;
determining that the current prop quantity meets the exchange condition corresponding to the target virtual resource when the current prop quantity is greater than or equal to a target prop quantity, wherein the target prop quantity is the quantity of target exchange props fused for acquiring the target virtual resource;
and performing virtual fusion processing on the target exchange props under the target prop quantity to obtain the target virtual resources, and updating the currently displayed prop quantity of the target exchange props currently owned by the viewing account.
5. The method according to claim 3, wherein the performing virtual fusion processing on the target exchange item to obtain the target virtual resource when the current item number satisfies an exchange condition corresponding to the target virtual resource includes:
in the second fusion mode, displaying a reference prop number of the target exchange props required to be consumed for obtaining the target virtual resource in the target resource floating layer;
determining that the current prop quantity meets the exchange condition corresponding to the target virtual resource under the condition that the current prop quantity is greater than the reference prop quantity;
and under the condition that the target virtual resource is randomly determined from the plurality of candidate virtual resources, deducting the reference prop quantity from the current prop quantity, and updating the prop quantity of the target exchange prop currently owned by the currently displayed viewing account.
6. The method of claim 3 or 5, wherein after displaying the target resource supernatant in the second fusion mode, the method further comprises:
displaying an adding control for adding the target catalytic prop;
in response to the addition operation performed on the addition control, applying the target catalytic prop to a key virtual resource in the plurality of candidate virtual resources to increase an acquisition probability of the key virtual resource, wherein a resource level of the key virtual resource is higher than resource levels of other remaining candidate virtual resources in the plurality of candidate virtual resources.
7. The method of claim 6, wherein the applying the target catalytic prop to a key virtual resource of the plurality of candidate virtual resources in response to the adding operation performed on the addition control comprises:
responding to the adding operation executed on the adding control, and displaying prompt information of an object required to be added for adding the target catalytic prop;
under the condition that the prompt message prompts that the added object is an exchange resource, updating the currently displayed exchange resource amount obtained by deducting the exchange resource corresponding to the resource value required by the target catalytic prop from the current exchange resource held by the viewing account;
searching the specific initial virtual resource in a virtual resource pool corresponding to the viewing account under the condition that the prompt message prompts that the adding object is the specific initial virtual resource; and under the condition that the specific initial virtual resource is found, updating the currently displayed specific initial virtual resource amount obtained by deducting the specific initial virtual resource corresponding to the resource value required by the target catalytic prop from the specific initial virtual resource held by the viewing account.
8. The method of claim 1, wherein in response to a trigger operation being performed on a target control displayed in the live display interface, after displaying a floating layer of target resources on the live display interface in an overlaying manner, further comprising:
displaying a prop obtaining floating layer under the condition that the current prop quantity does not meet the exchange condition corresponding to the target virtual resource, wherein a plurality of initial virtual resources are displayed in the prop obtaining floating layer;
and responding to a triggering operation executed on an exchange control in the prop acquisition floating layer, and performing exchange processing on the selected initial virtual resource to obtain the target exchange prop.
9. The method of claim 8, wherein displaying the prop acquisition float comprises:
and when the currently selected item exchange mode is a first exchange mode, displaying the item acquisition floating layer in the first exchange mode, wherein the first exchange mode indicates that one initial virtual resource used for exchanging the target exchange item is determined from the plurality of initial virtual resources.
10. The method of claim 8, wherein displaying the prop acquisition float comprises:
and when the currently selected item exchange mode is a second exchange mode, displaying the item acquisition floating layer in the second exchange mode, wherein the second exchange mode indicates that at least two initial virtual resources used for exchanging the target exchange item are determined from the plurality of initial virtual resources.
11. The method of claim 9, wherein the redemption of the selected initial virtual resource in response to the triggering of the performance of a redemption control in the prop acquisition float comprises:
displaying a redemption control in the first redemption mode, wherein the redemption control is used for adjusting the redemption amount of the selected initial virtual resource;
displaying a first exchange number of the target exchange prop corresponding to the initial virtual resource of the exchange number;
and responding to a triggering operation executed on a redemption control, and redeeming the target exchange prop of the first redemption amount by using the initial virtual resources of the redemption amount.
12. The method of claim 10, wherein the redemption of the selected initial virtual resource in response to the triggering of the performance of a redemption control in the prop acquisition float comprises:
displaying all the plurality of initial virtual resources adjusted to the selected state in the second exchange mode;
responding to a deselection operation executed on a first virtual resource in the plurality of initial virtual resources, and adjusting the first virtual resource to be in an unselected state;
displaying a second exchange number of the target exchange prop corresponding to the initial virtual resource in the selected state;
redeeming the second redemption amount of the target exchange prop in response to a triggering operation performed on a redemption control.
13. A virtual resource acquisition method is characterized by comprising the following steps:
receiving an acquisition instruction sent by a client of a live broadcast application logged in by using a viewing account, wherein the acquisition instruction is an operation instruction generated in response to a trigger operation executed on a target control on a live broadcast display interface in the client of the live broadcast application, and the acquisition instruction is used for requesting to display a target resource floating layer;
pushing resource floating layer data corresponding to the target resource floating layer to a client of the live broadcast application logged in by using the viewing account according to the acquisition instruction, wherein the resource floating layer data corresponding to the target resource floating layer comprises resource identifiers of a plurality of candidate virtual resources and the current item number of a target exchange item currently owned by the viewing account, the target exchange item is an item obtained by exchanging an initial virtual resource, and the initial virtual resource and the candidate virtual resource are virtual resources used for being pushed to a main broadcast account;
determining a target virtual resource from the candidate virtual resources provided in the target resource floating layer, and performing virtual fusion processing on the target exchange prop to obtain the target virtual resource under the condition that the current prop quantity meets an exchange condition corresponding to the target virtual resource;
and sending prompt information that the target virtual resource is successfully acquired to the client of the live application logged in by using the viewing account.
14. The method according to claim 13, wherein the pushing, according to the obtaining instruction, the resource floating layer data corresponding to the target resource floating layer to the client of the live application logged in by using the viewing account includes:
when the obtaining instruction indicates that the currently selected item fusion mode is a first fusion mode, pushing resource floating layer data corresponding to the target resource floating layer in the first fusion mode, wherein the first fusion mode indicates that the target virtual resource is selected from the multiple candidate virtual resources, and the target resource floating layer comprises item numbers used for indicating the item exchange items required to be consumed for obtaining each candidate virtual resource;
and under the condition that the obtaining instruction indicates that the currently selected prop fusion mode is a second fusion mode, pushing resource floating layer data corresponding to the target resource floating layer in the second fusion mode, wherein the second fusion mode indicates that the target exchange props consuming reference prop quantity are used, so as to obtain the target virtual resource from the candidate virtual resources.
15. The method of claim 14, wherein after pushing resource elevation data corresponding to the target resource elevation in the first fusing mode, the method further comprises:
under the condition that a selected operation instruction for determining the target virtual resource from the candidate virtual resources is received, determining the target item quantity of the target exchange item required to be fused for obtaining the target virtual resource;
comparing the target prop quantity with the current prop quantity;
determining that the current prop quantity meets the exchange condition corresponding to the target virtual resource under the condition that the current prop quantity is judged to be greater than or equal to the target prop quantity;
and performing virtual fusion processing on the target exchange props under the target prop quantity to obtain the target virtual resources, and updating the prop quantity of the target exchange props currently owned by the viewing account.
16. The method of claim 14, wherein after pushing resource elevation data corresponding to the target resource elevation in the second fusing mode, the method further comprises:
under the condition that a trigger operation instruction executed on a fusion control in the target resource floating layer is received, determining the reference prop quantity of the target exchange props which are needed to be consumed and correspond to the fusion control;
comparing the reference prop quantity with the current prop quantity;
and under the condition that the current prop quantity is judged to be larger than the reference prop quantity, randomly determining the target virtual resources corresponding to the fusion control in quantity from the plurality of candidate virtual resources, and updating the prop quantity of the target exchange prop currently owned by the viewing account.
17. The method of claim 14, wherein after pushing resource elevation data corresponding to the target resource elevation in the second fusing mode, the method further comprises:
under the condition that an adding operation instruction executed on an adding control in the target resource floating layer is received, determining a target catalytic prop corresponding to the adding control;
calculating the number of the catalytic props obtained by deducting the currently selected target catalytic props from the target catalytic props held by the viewing account;
and under the condition of receiving an addition confirming instruction, increasing the obtaining probability of a key virtual resource in the plurality of candidate virtual resources, wherein the addition confirming instruction is an instruction triggered by an addition confirming operation executed on the target catalytic prop, and the resource level of the key virtual resource is higher than the resource levels of other remaining candidate virtual resources in the plurality of candidate virtual resources.
18. The method of claim 14, wherein after pushing resource elevation data corresponding to the target resource elevation in the second fusing mode, the method further comprises:
sending prop acquisition floating layer data corresponding to a prop acquisition floating layer under the condition that the current prop quantity is judged not to meet the exchange condition corresponding to the target virtual resource, wherein the prop acquisition floating layer comprises a plurality of initial virtual resources;
and under the condition that a triggering operation instruction executed on a conversion control in the prop acquisition floating layer is received, converting the selected initial virtual resource into the target conversion prop.
19. The method of claim 18, wherein the sending the prop to obtain the prop floating layer data corresponding to the floating layer comprises:
and sending prop acquisition floating layer data corresponding to a prop acquisition floating layer in a first exchange mode, wherein the first exchange mode indicates that one initial virtual resource used for exchanging the target exchange prop is determined from the plurality of initial virtual resources.
20. The method of claim 18, wherein the sending the prop to obtain the prop floating layer data corresponding to the floating layer comprises:
and sending prop acquisition floating layer data corresponding to a prop acquisition floating layer in a second exchange mode, wherein the second exchange mode indicates that at least two initial virtual resources used for exchanging the target exchange props are determined from the plurality of initial virtual resources.
21. The method of claim 19, wherein after sending the prop acquisition float data corresponding to the float in the first redemption mode, the method further comprises:
under the condition that an adjusting operation instruction executed on an exchange control in the prop acquisition floating layer is received, adjusting the number of the selected initial virtual resources, and updating a first exchange number of the corresponding target exchange props;
and under the condition that a triggering operation instruction executed on an exchange control in the prop acquisition floating layer is received, exchanging the initial virtual resources into the target exchange props of the first exchange quantity.
22. The method of claim 20, wherein after sending the prop in the second redemption mode to obtain the prop floating layer data corresponding to the floating layer, the method further comprises:
under the condition that an operation canceling instruction executed on a first virtual resource in the plurality of items of initial virtual resources is received, calculating a second exchange number of the target exchange prop corresponding to the initial virtual resource in a selected state;
and under the condition that a triggering operation instruction executed on an exchange control in the prop acquisition floating layer is received, exchanging the initial virtual resources into the target exchange props of the second exchange quantity.
23. A virtual resource acquisition apparatus, comprising:
the first display unit is used for displaying a live broadcast display interface in a client of a live broadcast application logged in by using a viewing account;
a second display unit, configured to, in response to a trigger operation performed on a target control displayed in the live broadcast display interface, overlay and display a target resource floating layer on the live broadcast display interface, where the target resource floating layer displays a plurality of candidate virtual resources and a current item number of a target exchange item currently owned by the viewing account, the target exchange item is an item obtained by exchanging an initial virtual resource, and the initial virtual resource and the candidate virtual resource are virtual resources used for pushing to a master account;
a fusion unit, configured to perform virtual fusion processing on the target exchange item to obtain a target virtual resource when the current item number meets an exchange condition corresponding to the target virtual resource, where the multiple candidate virtual resources include the target virtual resource;
and the third display unit is used for displaying prompt information that the target virtual resource is successfully acquired.
24. A virtual resource acquisition apparatus, comprising:
the device comprises a receiving unit, a processing unit and a display unit, wherein the receiving unit is used for receiving an acquisition instruction sent by a client of a live broadcast application logged in by using a viewing account, the acquisition instruction is an operation instruction generated by responding to a trigger operation executed on a target control on a live broadcast display interface in the client of the live broadcast application, and the acquisition instruction is used for requesting to display a target resource floating layer;
a pushing unit, configured to push, according to the acquisition instruction, resource floating layer data corresponding to the target resource floating layer to a client of the live broadcast application logged in by using the viewing account, where the resource floating layer data corresponding to the target resource floating layer includes resource identifiers of multiple candidate virtual resources and a current item number of a target exchange item currently owned by the viewing account, the target exchange item is an item converted from an initial virtual resource, and the initial virtual resource and the candidate virtual resource are virtual resources used for being pushed to a main broadcast account;
a determining unit, configured to determine a target virtual resource from the multiple candidate virtual resources provided in the target resource floating layer, and perform virtual fusion processing on the target exchange item to obtain the target virtual resource when the current item number meets an exchange condition corresponding to the target virtual resource;
and the sending unit is used for sending prompt information that the target virtual resource is successfully acquired to the client of the live broadcast application logged in by using the viewing account.
25. A computer-readable storage medium, comprising a stored program, wherein the program is operable to perform the method of any one of claims 1 to 12 or 13 to 22.
26. An electronic device comprising a memory and a processor, wherein the memory has stored therein a computer program and the processor is arranged to execute the method of any of claims 1 to 12 or 13 to 22 by means of the computer program.
CN202110826419.2A 2021-07-21 2021-07-21 Virtual resource acquisition method and device, storage medium and electronic equipment Active CN113573085B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110826419.2A CN113573085B (en) 2021-07-21 2021-07-21 Virtual resource acquisition method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110826419.2A CN113573085B (en) 2021-07-21 2021-07-21 Virtual resource acquisition method and device, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN113573085A true CN113573085A (en) 2021-10-29
CN113573085B CN113573085B (en) 2023-12-19

Family

ID=78166171

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110826419.2A Active CN113573085B (en) 2021-07-21 2021-07-21 Virtual resource acquisition method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN113573085B (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013211914A (en) * 2013-06-10 2013-10-10 Sharp Corp Display device, display method, program, and recording medium
CN106803966A (en) * 2016-12-31 2017-06-06 北京星辰美豆文化传播有限公司 A kind of many people's live network broadcast methods, device and its electronic equipment
CN107529096A (en) * 2017-09-11 2017-12-29 广东欧珀移动通信有限公司 Image processing method and device
CN109731344A (en) * 2019-01-23 2019-05-10 珠海天燕科技有限公司 A kind of method and apparatus for exchanging pet in forming game
US20190295071A1 (en) * 2016-12-23 2019-09-26 Alibaba Group Holding Limited Method and apparatus for allocating virtual resources
CN110531847A (en) * 2019-07-26 2019-12-03 中国人民解放军军事科学院国防科技创新研究院 A kind of novel social contact method and system based on augmented reality
CN111246307A (en) * 2020-01-16 2020-06-05 腾讯科技(深圳)有限公司 Virtual gift generation method, related device, equipment and storage medium
CN112090074A (en) * 2020-09-18 2020-12-18 腾讯科技(深圳)有限公司 Virtual article control method, device, equipment and medium in application
CN112188297A (en) * 2020-09-08 2021-01-05 腾讯科技(深圳)有限公司 Live broadcast interaction method and device, electronic equipment and storage medium
CN112702657A (en) * 2020-12-18 2021-04-23 广州方硅信息技术有限公司 Virtual gift display method, client device, server and system
CN113031836A (en) * 2021-04-19 2021-06-25 腾讯科技(深圳)有限公司 Live data processing method and device and readable storage medium

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013211914A (en) * 2013-06-10 2013-10-10 Sharp Corp Display device, display method, program, and recording medium
US20190295071A1 (en) * 2016-12-23 2019-09-26 Alibaba Group Holding Limited Method and apparatus for allocating virtual resources
CN106803966A (en) * 2016-12-31 2017-06-06 北京星辰美豆文化传播有限公司 A kind of many people's live network broadcast methods, device and its electronic equipment
CN107529096A (en) * 2017-09-11 2017-12-29 广东欧珀移动通信有限公司 Image processing method and device
CN109731344A (en) * 2019-01-23 2019-05-10 珠海天燕科技有限公司 A kind of method and apparatus for exchanging pet in forming game
CN110531847A (en) * 2019-07-26 2019-12-03 中国人民解放军军事科学院国防科技创新研究院 A kind of novel social contact method and system based on augmented reality
CN111246307A (en) * 2020-01-16 2020-06-05 腾讯科技(深圳)有限公司 Virtual gift generation method, related device, equipment and storage medium
CN112188297A (en) * 2020-09-08 2021-01-05 腾讯科技(深圳)有限公司 Live broadcast interaction method and device, electronic equipment and storage medium
CN112090074A (en) * 2020-09-18 2020-12-18 腾讯科技(深圳)有限公司 Virtual article control method, device, equipment and medium in application
CN112702657A (en) * 2020-12-18 2021-04-23 广州方硅信息技术有限公司 Virtual gift display method, client device, server and system
CN113031836A (en) * 2021-04-19 2021-06-25 腾讯科技(深圳)有限公司 Live data processing method and device and readable storage medium

Also Published As

Publication number Publication date
CN113573085B (en) 2023-12-19

Similar Documents

Publication Publication Date Title
US10326715B2 (en) System and method for updating information in an instant messaging application
CN105610949B (en) Resource data use permission sharing method, device and system
US11129063B2 (en) Method, terminal and system for updating transmission paths
CN106534910B (en) Multimedia playing control system, method and device
CN107104883B (en) Information sharing method, client and server in a kind of social networks chain
JP5231649B2 (en) System and method for managing avatars based on instant messaging platform
US20160285781A1 (en) Data processing method, apparatus, client, server and system
CN110830735A (en) Video generation method and device, computer equipment and storage medium
KR101783431B1 (en) Method for providing funding and consulting information related with entertainment by crowd funding system
CN111444415B (en) Barrage processing method, server, client, electronic equipment and storage medium
US20120266091A1 (en) Method and apparatus for representing user device and service as social objects
CN113490039B (en) Screen-throwing joint broadcasting method, device, system, electronic equipment and storage medium
TWI621078B (en) Business object verification method and device
KR20220090411A (en) Method, apparatus and device of live game broadcasting
WO2016049299A1 (en) Method and apparatus for providing information associated with media content
CN112138381A (en) Game data processing method and device, storage medium and electronic device
CN109788301A (en) A kind of live broadcasting method of Streaming Media, terminal device, live broadcast system and computer readable storage medium
CN108600780A (en) Method for pushed information
CN108415908A (en) A kind of processing method and server of multi-medium data
CN112328895A (en) User portrait generation method, device, server and storage medium
CN113573085A (en) Virtual resource acquisition method and device, storage medium and electronic equipment
JP2004228721A (en) Contents display apparatus and method
CN113064531B (en) Virtual resource interaction method and device, storage medium and electronic equipment
CN113900764B (en) Page data acquisition method, page data display method and device
CN104317558A (en) System and method for providing object for using service

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant