CN-122006234-A - Virtual resource processing method, device, electronic equipment, computer readable storage medium and computer program product
Abstract
The application provides a processing method, a device, electronic equipment, a computer readable storage medium and a computer program product of virtual resources, wherein the method comprises the steps of displaying a resource exchange interface for exchanging virtual resources in a virtual scene, displaying a supply resource set and a demand resource set in the resource exchange interface, wherein the supply resource set comprises M first virtual resources provided by a first object, the demand resource set comprises N second virtual resources expected to be acquired by the first object, M and N are positive integers, at least one of M and N is larger than 1, generating and sharing a resource exchange identifier to the second object in response to a sharing operation for the supply resource set and the demand resource set, and updating the virtual resources owned by the first object and displaying a resource exchange result when the second object executes the resource exchange operation based on the resource exchange identifier. The application improves the circulation processing efficiency of the electronic equipment on the virtual resource data.
Inventors
- BAI YUE
- LIN WENBO
- Deng Zeling
- WANG GUANGXIN
- Nie Chengfeng
Assignees
- 腾讯科技(深圳)有限公司
Dates
- Publication Date
- 20260512
- Application Date
- 20260305
Claims (20)
- 1. A method for processing virtual resources, the method comprising: Displaying a resource exchange interface for exchanging virtual resources in a virtual scene; In the resource exchange interface, a supply resource set and a demand resource set are displayed, wherein the supply resource set comprises M first virtual resources provided by a first object, and the demand resource set comprises N second virtual resources expected to be acquired by the first object; Wherein, M and N are positive integers, and at least one of M and N is greater than 1; Generating and sharing a resource exchange identifier to a second object in response to a sharing operation for the supply resource set and the demand resource set; wherein the resource exchange identifier is used for the second object to execute a resource exchange operation to select a first virtual resource of a first quantity in the supply resource set and pay for a second virtual resource of the first quantity in the demand resource set; And when the second object performs the resource exchange operation based on the resource exchange identification, updating the virtual resource owned by the first object and displaying a resource exchange result.
- 2. The method of claim 1, wherein displaying a resource exchange interface for exchanging virtual resources in a virtual scene comprises: Displaying a resource display interface, wherein at least one virtual resource owned by the first object is displayed in the resource display interface; responding to a viewing operation for a first virtual resource in the at least one virtual resource, displaying a detail interface of the first virtual resource, and displaying a first inlet of the resource exchange interface in the detail interface; And responding to the triggering operation for the first portal, displaying the resource exchange interface, and automatically adding the first virtual resource in the supply resource set.
- 3. The method of claim 1, wherein the set of offered resources is displayed in a resource offered region of the resource exchange interface and the set of required resources is displayed in a resource required region of the resource exchange interface, and wherein after the displaying the set of offered resources and the set of required resources, the method further comprises: In response to a triggering operation for the resource provisioning area, displaying at least one candidate virtual resource owned by the first object; In response to a selection operation for the candidate virtual resource, adding the selected candidate virtual resource as the first virtual resource into the set of provisioning resources; Responding to the triggering operation aiming at the resource demand area, and displaying a plurality of selectable virtual resources of a virtual scene; and in response to a selection operation for the selectable virtual resource, adding the selected selectable virtual resource as the second virtual resource into the set of demand resources.
- 4. The method of claim 1, wherein after the generating and sharing the resource exchange identity to the second object, the method further comprises: Controlling the M first virtual resources to be in a locking state in a virtual knapsack of the first object; when the M is greater than 1 and the first number is less than the M, the updating the virtual resource owned by the first object includes: Controlling a virtual knapsack of the first object to reduce the first number of first virtual resources and increasing the first number of second virtual resources in the virtual knapsack; After the updating of the virtual resource owned by the first object, the method further comprises: and controlling the state of the first virtual resource remained in the virtual knapsack to be switched from the locking state to the unlocking state.
- 5. The method of claim 1, wherein the virtual resources in the virtual scene comprise a plurality of types, the plurality of types comprising a target type to which the first virtual resource belongs; before the displaying the supply resource set and the demand resource set, the method further includes: Displaying a resource display interface for displaying the virtual resource of the target type; displaying a first acquisition control for acquiring the virtual resource of the target type in the resource display interface; And controlling the first object to acquire the first virtual resource in response to a resource acquisition operation executed based on the first acquisition control.
- 6. The method of claim 5, wherein the controlling the first object to acquire the first virtual resource in response to a resource acquisition operation performed based on the first acquisition control comprises: Responding to the triggering operation of the first acquisition control, displaying a resource acquisition interface, and displaying at least one resource acquisition inlet in the resource acquisition interface, wherein each resource acquisition inlet corresponds to one resource acquisition mode; controlling the first object to acquire the first virtual resource in a target resource acquisition mode in response to a resource acquisition operation executed based on a target resource acquisition inlet; The target resource acquisition inlet corresponds to the target resource acquisition mode.
- 7. The method of claim 6, wherein the at least one resource acquisition means includes a first acquisition means for acquiring a first virtual resource in the virtual resource package by disassembling the virtual resource package, a second acquisition means for acquiring the first virtual resource by exchanging, and a third acquisition means for acquiring the first virtual resource by performing a task, the method further comprising: when the number of virtual resource fragments owned by the first object reaches a first number threshold, controlling a resource acquisition inlet corresponding to the first acquisition mode to be in a selected state, wherein the virtual resource fragments are used for exchanging the virtual resource package; When the number of virtual resource fragments owned by the first object does not reach the first number threshold and the number of virtual resources owned by the first object reaches a second number threshold, controlling a resource acquisition inlet corresponding to the second acquisition mode to be in a selected state; And when the number of virtual resource fragments owned by the first object does not reach the first number threshold and the number of virtual resources owned by the first object does not reach the second number threshold, controlling a resource acquisition inlet corresponding to the third acquisition mode to be in a selected state.
- 8. The method according to claim 1, wherein the virtual scene comprises a plurality of game modes, different game modes correspond to different games, and different games comprise tasks for acquiring different virtual resources; Before the resource exchange interface for exchanging virtual resources in the virtual scene is displayed, the method further comprises: displaying a contrast interface corresponding to the target contrast mode, and displaying a task control in the contrast interface; Responding to the triggering operation for the task control, and displaying at least one task in the target game mode, wherein the at least one task comprises a target task; And when the target task is completed and the target task is used for acquiring the first virtual resource, controlling the first object to acquire the first virtual resource.
- 9. The method of claim 1, wherein the first virtual resource is assigned to a target type, the target type of virtual resource comprising a plurality of virtual resources in the virtual scene, the method further comprising: displaying a resource display interface of the virtual resource of the target type; displaying the virtual resources of the target type owned by the first object and the virtual resources of the target type not obtained by the first object in the resource display interface; Taking the virtual resources of the target type which are not obtained by the first object as third virtual resources, and respectively displaying a mask layer on each third virtual resource when the number of the third virtual resources is smaller than a third number threshold value; And displaying a second acquisition control on the mask layer, wherein the second acquisition control is used for acquiring the corresponding third virtual resource.
- 10. The method of claim 9, wherein the displaying a second acquisition control on the mask layer comprises: when the preset target condition is met, displaying a second acquisition control of the related target acquisition mode on the mask layer; the success rate of acquiring the third virtual resource by adopting the target acquisition mode is higher than the success rate of acquiring the third virtual resource by adopting the target acquisition mode when the target condition is not satisfied; when the target condition is satisfied, the difficulty of acquiring the third virtual resource by adopting the target acquisition mode is lower than the difficulty of acquiring the third virtual resource by adopting the target acquisition mode when the target condition is not satisfied; When the target condition is not met and the number of the third virtual resources owned by the friend object of the first object reaches a fourth number threshold, displaying the second acquisition control of the related friend acquisition mode; The friend obtaining mode is used for obtaining the third virtual resource from the friend object.
- 11. The method according to claim 10, wherein the method further comprises: Displaying a countdown for the second acquisition control if the target condition is met or if the target condition is not met and the number of the third virtual resources owned by the friend object of the first object reaches a fourth number threshold; and when the countdown is zero, switching the acquisition mode of the third virtual resource associated with the second acquisition control to a default acquisition mode.
- 12. The method of claim 1, wherein the first virtual resource is obtained by disassembling a virtual resource package, and wherein prior to displaying a resource exchange interface for exchanging virtual resources in a virtual scene, the method further comprises: Displaying a redemption interface for redeeming the virtual resource package; In the exchange interface, responding to an exchange instruction for the virtual resource package, when the number of virtual resource fragments owned by the first object is greater than or equal to a second number, controlling the first object to reduce the second number of virtual resource fragments, and playing a target animation; The target animation is used for displaying a process of disassembling a virtual resource package to obtain the first virtual resource; And when the target animation playing is completed, controlling the first object to obtain the first virtual resource in the virtual resource package.
- 13. The method of claim 12, wherein the virtual resource shards are obtained by decomposing a virtual resource, and wherein prior to displaying the redemption interface for redeeming the virtual resource package, the method further comprises: Displaying a decomposition interface for decomposing the virtual resource, and displaying repeated virtual resources of the first object in the decomposition interface; Playing a decomposition animation for the repeated virtual resource in response to a decomposition instruction for the repeated virtual resource, wherein the decomposition animation is used for showing a process that the repeated virtual resource is decomposed into a plurality of virtual resource fragments; and when the playing of the decomposition animation is completed, controlling the first object to obtain a plurality of virtual resource fragments obtained by decomposing the repeated virtual resources.
- 14. The method of claim 12, wherein prior to displaying the redemption interface for redeeming the virtual resource package, the method further comprises: Displaying a presentation interface for presenting virtual resources, and displaying fourth virtual resources provided by the first object in the presentation interface; deducting the fourth virtual resource from the virtual knapsack of the first object in response to the giving instruction for the fourth virtual resource, putting the fourth virtual resource into a virtual resource pool in a drift bottle mode, and controlling the first object to obtain a plurality of virtual resource fragments; The virtual resource pool is used for bearing drift bottles put in all objects in the virtual scene, and the drift bottles are used for giving the borne virtual resources to other objects randomly.
- 15. The method of claim 1, wherein the virtual resource comprises a virtual card, the method further comprising: responding to the view operation of the virtual card aiming at the first object, and displaying a detail interface of the virtual card; responding to a back view instruction triggered on the detail interface, playing a turning animation of the virtual card, and displaying a card back image of the virtual card when the turning animation is played; And displaying at least one tracing identifier on the card back image, wherein the tracing identifier corresponds to the circulation history record of the virtual card.
- 16. The method of claim 15, wherein the number of traceability identifiers is a plurality, each traceability identifier corresponds to a historically held object of the virtual card, and the displaying at least one traceability identifier on the card back image comprises: Superposing and displaying the traceability identification of the corresponding history holding object on the card back image according to the circulation sequence of the virtual card among the history holding objects; Aiming at each traceability identifier, when a history holding object corresponding to the traceability identifier has a high-value attribute, controlling a display style of the corresponding traceability identifier to be a second display style; The second display style is used for corresponding tracing identification to be different from a virtual card of a history holding object without high-value attribute.
- 17. The method of claim 1, wherein the virtual resource comprises a virtual card having a virtual badge displayed thereon, different types of virtual badges being associated with different operations, the method further comprising: when the virtual character corresponding to the first object executes the operation on other virtual characters in the game and the achievement value corresponding to the operation is in a preset number interval, switching the display style of the virtual badge on the virtual card to the display style corresponding to the number interval; wherein the display patterns corresponding to different numbers of intervals are different.
- 18. The method of claim 1, wherein the virtual resource comprises a virtual card, the virtual card having a rank, the method further comprising: When the grade of the virtual card is larger than the grade threshold, when the positive interaction action is executed for the virtual card, the special pulp wrapping effect is overlapped in the appearance of the virtual card, and when the negative interaction action is executed for the virtual card, the appearance of the virtual card is kept unchanged; And when the grade of the virtual card is smaller than or equal to the grade threshold, when negative interaction is executed for the virtual card, the abrasion texture is superposed in the appearance of the virtual card, and when positive interaction is executed for the virtual card, the appearance of the virtual card is kept unchanged.
- 19. The method of claim 1, wherein the virtual resource comprises a virtual card, the virtual card being obtained or exchanged in a set card system of the virtual scene; Before the resource exchange interface for exchanging the virtual resources in the virtual scene is displayed, the method further comprises: Controlling the first object to obtain a target virtual card in response to the first object entering the card collecting system for the first time; the target virtual card comprises at least one of a virtual account card and a virtual consumption card, the grade of the virtual account card is positively correlated with the registration duration of an account corresponding to the first object, and the virtual consumption card is positively correlated with a virtual asset consumed by the first object.
- 20. The method of claim 19, wherein the target virtual card has a target rank, the target rank being higher than an initial rank, the method further comprising, after the controlling the first object to obtain the target virtual card: Displaying the target virtual card with an initial card frame style, wherein the initial card frame style corresponds to the initial grade, and different grades correspond to different card frame styles; Responding to the turning operation aiming at the target virtual card, playing the turning animation of the target virtual card, and upgrading the frame style of the target virtual card from the initial frame style to a higher frame style when the turning animation is played; Repeatedly executing the overturning operation until the card frame style of the target virtual card is updated to the target card frame style corresponding to the target grade, and displaying a pickup control for the target virtual card; in response to a trigger operation for the pickup control, the target virtual card is added to a virtual backpack of the first object.
Description
Virtual resource processing method, device, electronic equipment, computer readable storage medium and computer program product Technical Field The present application relates to computer technology, and in particular, to a method, an apparatus, an electronic device, a computer readable storage medium, and a computer program product for processing a virtual resource. Background In the related art, a one-to-one accurate matching mode is adopted for virtual resource exchange, and the data processing related to resource exchange can be completed only by keeping online synchronous states of both transaction parties, and the processing mode has high requirements on interaction timeliness and resource matching degree, so that the transfer processing efficiency of electronic equipment on virtual resource data is reduced, and the scheduling and matching flexibility of virtual resource exchange requests is insufficient. Disclosure of Invention The embodiment of the application provides a virtual resource processing method, a device, electronic equipment, a computer readable storage medium and a computer program product, which improve the circulation processing efficiency of the electronic equipment on virtual resource data. The technical scheme of the embodiment of the application is realized as follows: The embodiment of the application provides a processing method of virtual resources, which comprises the following steps: Displaying a resource exchange interface for exchanging virtual resources in a virtual scene; In the resource exchange interface, a supply resource set and a demand resource set are displayed, wherein the supply resource set comprises M first virtual resources provided by a first object, and the demand resource set comprises N second virtual resources expected to be acquired by the first object; Wherein, M and N are positive integers, and at least one of M and N is greater than 1; Generating and sharing a resource exchange identifier to a second object in response to a sharing operation for the supply resource set and the demand resource set; Wherein the resource exchange identifier is used for the second object to execute a resource exchange operation to select a first virtual resource of a first quantity in the supply resource set and pay for a second virtual resource of the first quantity in the demand resource set; And when the second object performs the resource exchange operation based on the resource exchange identification, updating the virtual resource owned by the first object and displaying a resource exchange result. The embodiment of the application provides a processing method of virtual resources, which comprises the following steps: receiving a resource exchange identifier sent by a first object; responding to a display instruction for a resource exchange interface triggered based on the resource exchange identifier, and displaying the resource exchange interface; In the resource exchange interface, a supply resource set and a demand resource set are displayed, wherein the supply resource set comprises M first virtual resources provided by a first object, and the demand resource set comprises N second virtual resources expected to be acquired by the first object; Wherein, M and N are positive integers, and at least one of M and N is greater than 1; responding to the resource exchange operation executed based on the resource exchange interface, updating the virtual resource owned by the second object, and displaying a resource exchange result; wherein the resource exchange operation includes selecting a first virtual resource of a first quantity in the set of supply resources and paying for a second virtual resource of the first quantity in the set of demand resources. The embodiment of the application provides a processing device of virtual resources, which comprises: the first display module is used for displaying a resource exchange interface for exchanging virtual resources in the virtual scene; The first display module is further configured to display a supply resource set and a demand resource set in the resource exchange interface, where the supply resource set includes M first virtual resources provided by a first object, and the demand resource set includes N second virtual resources that the first object desires to acquire, where both M and N are positive integers, and at least one of M and N is greater than 1; The generation module is used for responding to the sharing operation of the supply resource set and the demand resource set and generating and sharing a resource exchange identifier to a second object, wherein the resource exchange identifier is used for the second object to execute the resource exchange operation so as to select a first virtual resource with a first quantity in the supply resource set and pay for a second virtual resource with a first quantity in the demand resource set; And the first updating module is used for updating the virtual resources own