Method and device for acquiring virtual resources, storage medium, and computer equipment

By receiving time-limited resource acquisition requests in the game, allocating valid virtual resources and changing them into redemption vouchers after expiration, the problem of low virtual resource utilization is solved, and player retention and server utilization are improved.

CN113842643BActive Publication Date: 2025-09-23BEIJING PERFECT WORLD SOFTWARE TECH DEV CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202111161025.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-09-30
Publication Date
2025-09-23
Estimated Expiration
2041-09-30

AI Technical Summary

Technical Problem

The utilization rate of virtual resources in the game is not high, which leads to player loss and reduced server utilization, and existing technologies are difficult to effectively improve.

Method used

By receiving a time-limited resource acquisition request, a target time-limited resource with a validity period is allocated to the player account and the corresponding resources to be exchanged are deducted. After the expiration, it is changed into an exchange voucher to exchange for virtual resources, providing the player with the qualification to use the target time-limited resource and changing it into an exchange voucher after the expiration so that the player can exchange the resource.

Benefits of technology

It improves the utilization rate of virtual resources in the game, increases player retention rate and game server utilization rate, and reduces the difficulty of obtaining virtual resources.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113842643B_ABST
    Figure CN113842643B_ABST
Patent Text Reader

Abstract

The present application discloses a method and apparatus for acquiring virtual resources, a storage medium, and a computer device. The method comprises: receiving a time-limited resource acquisition request, wherein the time-limited resource acquisition request includes a target character identifier, a target time-limited resource identifier, and a resource to be exchanged; determining the effective time limit of a target time-limited resource corresponding to the resource to be exchanged, allocating the corresponding target time-limited resource to a target character account, and deducting the resource to be exchanged from the target character account; when the effective time limit of the target time-limited resource is reached, changing the target time-limited resource allocated to the target character account to an exchange voucher matching the resource to be exchanged, wherein the exchange voucher is used to exchange virtual resources. The present application helps to improve the utilization rate of virtual resources within a game, as well as the utilization rate of a game server.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a method and apparatus for acquiring virtual resources, a storage medium, and a computer device. Background Art

[0002] Some virtual resources in games that can be obtained through exchange generally require players to accumulate a certain amount of other resources before they can be exchanged. For example, a certain fashion item in the game can be exchanged for 1,000 pieces of cloth. However, amassing 1,000 pieces of cloth can be difficult for players, and players may not be able to experience the fashion item for a short period of time. This leads to low utilization of virtual resources in the game, which can lead to player churn, a decrease in the number of players on the server, and reduced server utilization. Improving virtual resource utilization and server utilization has become a pressing issue in the online gaming industry. Summary of the Invention

[0003] In view of this, the present application provides a method and apparatus for acquiring virtual resources, a storage medium, and a computer device.

[0004] According to one aspect of the present application, a method for acquiring virtual resources is provided, characterized in that the method includes:

[0005] receiving a time-limited resource acquisition request, wherein the time-limited resource acquisition request includes a target role identifier, a target time-limited resource identifier, and resources to be exchanged;

[0006] Determining the effective time limit of the target time-limited resource corresponding to the resource to be exchanged, allocating the corresponding target time-limited resource to the target character account, and deducting the resource to be exchanged from the target character account;

[0007] When the effective time limit of the target time-limited resource is reached, the target time-limited resource allocated to the target role account is changed to an exchange voucher matching the resource to be exchanged, wherein the exchange voucher is used to exchange virtual resources.

[0008] Optionally, when the validity period of the target time-limited resource is reached, after the target time-limited resource allocated to the target role account is changed to an exchange voucher matching the resource to be exchanged, the method further includes:

[0009] In response to a resource exchange request from the target character for a target exchange resource, verifying whether an exchange voucher in the target character account meets an exchange condition of the target exchange resource, wherein the exchange condition includes an exchange value of the target exchange resource, the exchange value is greater than or equal to an actual value of the target exchange resource, and the target exchange resource includes the target time-limited resource;

[0010] If the requirements are met, the target exchange resource is allocated to the target role account, and an exchange voucher matching the exchange value is deducted from the target role account.

[0011] Optionally, after receiving the time-limited resource acquisition request, the method further includes:

[0012] Verifying whether the resource to be exchanged meets a first acquisition condition corresponding to the target time-limited resource, wherein the first acquisition condition includes at least one target exchange resource and a minimum exchange amount corresponding to each target exchange resource, and the first acquisition condition is used to constrain the minimum exchange resource required to obtain the target time-limited resource;

[0013] If so, determining the effective time limit of the target time limit resource corresponding to the to-be-exchanged resource is performed.

[0014] Optionally, the target time-limited resource is preset with a preset validity time limit corresponding to the target exchange resource with the minimum exchange amount; and determining the validity time limit of the target time-limited resource corresponding to the resource to be exchanged specifically includes:

[0015] The effective time limit of the target time limit resource corresponding to the resource to be exchanged is calculated according to the target exchange resource with the minimum exchange amount and the preset effective time limit.

[0016] Optionally, before receiving the time-limited resource acquisition request, the method further includes:

[0017] Determining at least one recommended time-limited resource corresponding to the target role;

[0018] Based on a selection operation of any one of the recommended time-limited resources, the time-limited resource acquisition request is generated.

[0019] Optionally, the recommended time-limited resource includes a first recommended time-limited resource and / or a second recommended time-limited resource;

[0020] The determining of at least one recommended time-limited resource corresponding to the target role specifically includes:

[0021] Determining at least one first recommended time-limited resource based on the target role's custom resource acquisition strategy and / or recommended resource acquisition strategy; and / or,

[0022] Determining at least one second recommended time-limited resource based on the exchangeable resources in the target character account and the second acquisition condition corresponding to the preset time-limited resource;

[0023] Accordingly, the generating of the time-limited resource acquisition request based on the selection operation of any one of the recommended time-limited resources specifically includes:

[0024] Based on the selection operation of any one of the first recommended time-limited resources, verify whether the exchangeable resources in the target character's account meet the third acquisition condition of any one of the first recommended time-limited resources; if so, generate the time-limited resource acquisition request; otherwise, output a prompt message to prompt the target character of the exchangeable resources that are missing; and / or,

[0025] Based on a selection operation of any second recommended time-limited resource, the time-limited resource acquisition request is generated.

[0026] Optionally, after deducting the resources to be exchanged from the target character account, the method further includes:

[0027] Obtaining historical acquisition time of the target role for the target time-limited resource;

[0028] The reward certificate is allocated to the target character account according to the time difference between the historical acquisition time and the current time.

[0029] According to another aspect of the present application, a device for acquiring virtual resources is provided, the device comprising:

[0030] A request receiving module, configured to receive a time-limited resource acquisition request, wherein the time-limited resource acquisition request includes a target role identifier, a target time-limited resource identifier, and resources to be exchanged;

[0031] a resource acquisition module, configured to determine the effective time limit of the target time limit resource corresponding to the resource to be exchanged, allocate the corresponding target time limit resource to the target role account, and deduct the resource to be exchanged from the target role account;

[0032] The voucher changing module is used to change the target time-limited resource allocated to the target role account to an exchange voucher matching the resource to be exchanged when the valid time limit of the target time-limited resource is reached, wherein the exchange voucher is used to exchange virtual resources.

[0033] Optionally, the device further includes: a resource exchange module, configured to:

[0034] When the valid time limit of the target time-limited resource is reached, after changing the target time-limited resource allocated to the target character account to an exchange voucher matching the resource to be exchanged, in response to the target character's resource exchange request for the target exchange resource, verifying whether the exchange voucher in the target character account meets an exchange condition for the target exchange resource, wherein the exchange condition includes an exchange value of the target exchange resource, the exchange value is greater than or equal to the actual value of the target exchange resource, and the target exchange resource includes the target time-limited resource;

[0035] If the requirements are met, the target exchange resource is allocated to the target role account, and an exchange voucher matching the exchange value is deducted from the target role account.

[0036] Optionally, the resource acquisition module is further configured to:

[0037] After receiving the time-limited resource acquisition request, verifying whether the resource to be exchanged meets a first acquisition condition corresponding to the target time-limited resource, wherein the first acquisition condition includes at least one target exchange resource and a minimum exchange amount corresponding to each target exchange resource, and the first acquisition condition is used to constrain the minimum exchange resource required to obtain the target time-limited resource;

[0038] If so, determining the effective time limit of the target time limit resource corresponding to the to-be-exchanged resource is performed.

[0039] Optionally, the target time limit resource is preset with a preset effective time limit corresponding to the target exchange resource with the minimum exchange amount; and the resource acquisition module is specifically configured to:

[0040] The effective time limit of the target time limit resource corresponding to the resource to be exchanged is calculated according to the target exchange resource with the minimum exchange amount and the preset effective time limit.

[0041] Optionally, the device further comprises:

[0042] A resource recommendation module, configured to determine at least one recommended time-limited resource corresponding to the target role before receiving the time-limited resource acquisition request;

[0043] The request generating module is configured to generate the time-limited resource acquisition request based on a selection operation on any one of the recommended time-limited resources.

[0044] Optionally, the recommended time-limited resource includes a first recommended time-limited resource and / or a second recommended time-limited resource;

[0045] The resource recommendation module is specifically used to:

[0046] Determining at least one first recommended time-limited resource based on the target role's custom resource acquisition strategy and / or recommended resource acquisition strategy; and / or,

[0047] Determining at least one second recommended time-limited resource based on the exchangeable resources in the target character account and the second acquisition condition corresponding to the preset time-limited resource;

[0048] Accordingly, the request generation module is specifically used to:

[0049] Based on the selection operation of any one of the first recommended time-limited resources, verify whether the exchangeable resources in the target character's account meet the third acquisition condition of any one of the first recommended time-limited resources; if so, generate the time-limited resource acquisition request; otherwise, output a prompt message to prompt the target character of the exchangeable resources that are missing; and / or,

[0050] Based on a selection operation of any second recommended time-limited resource, the time-limited resource acquisition request is generated.

[0051] Optionally, the device further comprises:

[0052] The reward issuing module is used to obtain the historical acquisition time of the target character for the target time-limited resource after deducting the resource to be exchanged from the target character account; and allocate a reward certificate to the target character account based on the time difference between the historical acquisition time and the current time.

[0053] According to another aspect of the present application, a storage medium is provided, on which a computer program is stored. When the program is executed by a processor, the method for obtaining virtual resources is implemented.

[0054] According to another aspect of the present application, a computer device is provided, including a storage medium, a processor, and a computer program stored on the storage medium and executable on the processor, wherein the processor implements the above-mentioned method for acquiring virtual resources when executing the program.

[0055] By means of the above technical solution, the present application provides a method and device for obtaining virtual resources, a storage medium, and a computer device. After receiving a time-limited resource acquisition request including a target character identifier, a target time-limited resource identifier, and a resource to be exchanged, first, the effective time limit of the target time-limited resource corresponding to the resource to be exchanged is determined. Secondly, the target time-limited resource with a valid time limit is allocated to the target character account for use by the player within the valid time limit, and the resource to be exchanged is deducted from the target character account at the same time. Finally, when the target time-limited resource reaches the valid time limit, the invalid target time-limited resource is changed to an exchange voucher that matches the resource to be exchanged for the exchange of virtual resources. The embodiment of the present application can exchange the resource to be exchanged for a time-limited use qualification for the required target time-limited resource, and change the resource to an exchange voucher when it expires, so that the player can use the exchange voucher to exchange the virtual resource in the game, which helps to improve the utilization rate of the virtual resources in the game, improve the retention rate of the players, and improve the utilization rate of the game server.

[0056] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0057] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0058] Figure 1 A schematic diagram showing a flow chart of a method for acquiring virtual resources provided in an embodiment of the present application is shown;

[0059] Figure 2 A schematic diagram showing a flow chart of another method for acquiring virtual resources provided in an embodiment of the present application;

[0060] Figure 3 A schematic structural diagram of a device for acquiring virtual resources provided in an embodiment of the present application is shown. DETAILED DESCRIPTION

[0061] The present application will be described in detail below with reference to the accompanying drawings and in combination with embodiments. It should be noted that, unless there is a conflict, the embodiments and features in the embodiments of the present application can be combined with each other.

[0062] In this embodiment, a method for obtaining virtual resources is provided, such as Figure 1 As shown, the method includes:

[0063] Step 101: receiving a time-limited resource acquisition request, wherein the time-limited resource acquisition request includes a target role identifier, a target time-limited resource identifier, and resources to be exchanged;

[0064] Step 102: determining the effective time limit of the target time-limited resource corresponding to the resource to be exchanged, allocating the corresponding target time-limited resource to the target role account, and deducting the resource to be exchanged from the target role account;

[0065] Step 103 : When the effective time limit of the target time-limited resource is reached, the target time-limited resource allocated to the target role account is changed to an exchange voucher matching the resource to be exchanged, wherein the exchange voucher is used to exchange virtual resources.

[0066] The method provided by the embodiment of the present application can be implemented in collaboration with a game client and a game server. Some virtual resources in the game can include two forms of provision: unlimited (i.e., permanent) and limited. For the same virtual resource, when provided in an unlimited form or in a limited form, the user experience obtained for the player is the same. For example, the virtual resource is a fashion. The unlimited form can be a permanent fashion that can be worn permanently, and the limited form can be a one-week effective fashion that can be worn within a week, and the fashion expires after a week. In general, the exchange resources required for exchanging permanent fashion may be large, and it is difficult for players to accumulate them in a short period of time. A small amount of exchange resources can be provided first to obtain fashion with a limited use time. Or for some game virtual resources, the player is not clear about the use experience of the virtual resource. The player can first obtain the game virtual resource with a limited use time through a small amount of exchange resources to experience it, and try to use the resource at a lower cost. Or for some game virtual resources, the player does not need to use the resource permanently, but only has a use demand for the resource in the short term.

[0067] For the above situation, or other situations where players want to experience resources, players can submit a time-limited resource acquisition request in the game client, where the time-limited resource acquisition request includes the target character identifier, the target time-limited resource identifier, and the resource to be exchanged. The time-limited resource acquisition request is used to indicate that the player hopes to exchange the resource to be exchanged for the target character's right to use the target time-limited resource. For example, the target time-limited resource is a gem in the game that can increase the player's attributes, and the resource to be exchanged can be 100 virtual game coins in the game.

[0068] After receiving a time-limited resource acquisition request submitted by a player, the game client can either send the request locally or to the game server, which then determines the validity period of the target time-limited resource that the exchanged resource can be exchanged for. For example, if 100 virtual game coins are exchanged for 7 days of gem usage, the validity period of the gems corresponding to the 100 virtual game coins can be determined to be 7 days. The game server can then allocate the target time-limited resource with a validity period to the target character's account and simultaneously deduct the exchanged resource from the target character's account. For example, the target character's account may be allocated gems valid for 7 days and 100 virtual game coins may be deducted.

[0069] After obtaining a target time-limited resource, a player can use it. The target time-limited resource can start counting from the moment it is assigned to the target character or from the moment the player begins using the target time-limited resource. To further improve the utilization rate of in-game virtual resources, after the target time-limited resource reaches its validity period, the expired target resource can be exchanged for a redemption voucher that matches the resource to be exchanged. For example, a 7-day gem is obtained by exchanging 100 virtual game coins. After the 7-day gem expires, the expired 7-day gem can be exchanged for a gem fragment that matches the 100 virtual game coins. The gem fragment can be used as a redemption voucher to exchange for gems or other in-game virtual resources. Players can obtain the right to use gems (i.e., target time-limited resources) at a low cost, and after the gem expires, they can still obtain gem fragments (i.e., redemption vouchers) to exchange for gems or other resources (i.e., virtual resources). This improves the utilization rate of in-game virtual resources and reduces the difficulty of obtaining them, helping to retain players and thus improving the utilization rate of game servers.

[0070] By applying the technical solution of this embodiment, after receiving a time-limited resource acquisition request including a target role identifier, a target time-limited resource identifier, and a resource to be exchanged, first, determine the effective time limit of the target time-limited resource corresponding to the resource to be exchanged, then allocate the target time-limited resource with an effective time limit to the target role account for the player to use within the effective time limit, and at the same time deduct the resource to be exchanged from the target role account, and finally, when the target time-limited resource reaches the effective time limit, change the invalid target time-limited resource to an exchange voucher that matches the resource to be exchanged for the exchange of virtual resources. The embodiment of the present application can exchange the resource to be exchanged for a time-limited use qualification for the required target time-limited resource, and change the resource to an exchange voucher when it expires, so that the player can use the exchange voucher to exchange the virtual resource in the game, which helps to improve the utilization rate of the virtual resources in the game, improve the retention rate of the players, and improve the utilization rate of the game server.

[0071] In addition, the time-limited resources in the embodiments of the present application can also be replaced with limited-time resources, that is, virtual resources with a limited number of valid uses. After the limited-time resource is allocated to the player, when the number of uses reaches the valid number of uses, the resource is changed into a corresponding redemption voucher. This implementation method may specifically include:

[0072] S1, receiving a limited-time resource acquisition request, wherein the limited-time resource acquisition request includes a target role identifier, a target limited-time resource identifier, and a resource to be exchanged;

[0073] S2, determining the effective usage count of the target limited-time resource corresponding to the resource to be exchanged, allocating the corresponding target limited-time resource to the target character account, and deducting the resource to be exchanged from the target character account;

[0074] S3. When the valid usage times of the target limited-time resource are reached, the target limited-time resource allocated to the target role account is changed to an exchange voucher matching the resource to be exchanged, wherein the exchange voucher is used to exchange virtual resources, and the virtual resources include time-limited virtual resources and / or time-limited virtual resources.

[0075] Furthermore, as a refinement and extension of the specific implementation of the above embodiment, in order to fully illustrate the specific implementation process of this embodiment, another method for obtaining virtual resources is provided, such as Figure 2 As shown, the method includes:

[0076] Step 201: receive a time-limited resource acquisition request, wherein the time-limited resource acquisition request includes a target role identifier, a target time-limited resource identifier, and a resource to be exchanged; verify whether the resource to be exchanged meets a first acquisition condition corresponding to the target time-limited resource, wherein the first acquisition condition includes at least one target exchange resource and a minimum exchange amount corresponding to each target exchange resource, and the first acquisition condition is used to constrain the minimum exchange resources required to obtain the target time-limited resource.

[0077] Step 202: If the conditions are met, determine the effective time limit of the target time limit resource corresponding to the resource to be exchanged, allocate the corresponding target time limit resource to the target role account, and deduct the resource to be exchanged from the target role account.

[0078] In this embodiment, after receiving a time-limited resource acquisition request, the game client can verify whether the resources to be exchanged provided by the player meet the experience conditions for the target time-limited resource based on the first acquisition condition corresponding to the target time-limited resource requested by the player. Specifically, the first acquisition condition may include: at least one target exchange resource required to qualify for the target time-limited resource experience, and the minimum quantity required for each target exchange resource (i.e., the minimum exchange amount corresponding to each target exchange resource). For example, if the target time-limited resource is a level 10 gem, then at least 100 virtual game coins and 10 virtual meteorite fragments are required to qualify for the level 10 gem experience. If the resources to be exchanged provided by the target character include 100 virtual game coins and 10 virtual meteorite fragments, then the resources to be exchanged are verified to meet the experience conditions for the target time-limited resource. The above-mentioned first acquisition condition constrains the minimum exchange resources required to obtain the target time-limited resource. The player can provide only the minimum exchange resources for resource exchange, or they can provide more resources to be exchanged to obtain the target time-limited resource with a longer validity period. Furthermore, after determining the validity period, the target time-limited resource is allocated to the target character account according to the validity period, and the corresponding resources to be exchanged are deducted. This is to achieve the goal of players providing resources to be exchanged and exchanging them for the required target time-limited resources.

[0079] Optionally, the target time limit resource is preset with a preset effective time limit corresponding to the target exchange resource with the minimum exchange volume; "determining the effective time limit of the target time limit resource corresponding to the resource to be exchanged" in step 202 can specifically include: calculating the effective time limit of the target time limit resource corresponding to the resource to be exchanged based on the target exchange resource with the minimum exchange volume and the preset effective time limit.

[0080] The first acquisition condition may also include a preset validity period. The preset validity period corresponds to the target exchange resource with the minimum exchange amount. That is, by providing the target exchange resource with the minimum exchange amount, the player can experience the target time-limited resource within the preset validity period. Using the first acquisition condition, the validity period of the target time-limited resource corresponding to the resource to be exchanged provided by the player can be calculated. For example, if the first acquisition condition stipulates that 100 virtual game coins and 10 virtual meteorite fragments can be exchanged for a 7-day trial of a level 10 gem, then if the player provides 200 virtual game coins and 20 virtual meteorite fragments, they can exchange them for a 14-day trial of the level 10 gem.

[0081] Step 203 : obtaining the historical acquisition time of the target character for the target time-limited resource; and allocating a reward voucher to the target character account based on the time difference between the historical acquisition time and the current time.

[0082] In this embodiment, after allocating the target time-limited resource to the player, the time when the target character last obtained the same time-limited resource can also be obtained. For example, the time when the target time-limited resource was obtained this time is D1, and the time when the qualification for experiencing the resource was obtained last time is D2. If D2-D1 is less than the preset value, a certain reward certificate can be allocated to the target character account. The reward certificate can be used to exchange virtual resources, thereby encouraging players to quickly exchange virtual resources and improve the utilization rate of virtual resources in the game.

[0083] Step 204 : When the effective time limit of the target time-limited resource is reached, the target time-limited resource allocated to the target role account is changed to an exchange voucher matching the resource to be exchanged, wherein the exchange voucher is used to exchange virtual resources.

[0084] In this embodiment, after the target time-limited resource reaches its validity period, for example, after the 7-day trial qualification expires, the target time-limited resource is converted into an exchange voucher. The exchange voucher can be determined based on the value of the resource to be exchanged. For example, if 10 virtual meteorite fragments are worth 50 virtual game coins, and a player submits 100 virtual game coins and 10 virtual meteorite fragments to obtain a 7-day level 10 gemstone trial qualification, i.e., a total value of 150 virtual game coins, then when the target time-limited resource expires, it can be converted into an exchange voucher worth 150 virtual game coins, specifically, gemstone fragments worth 150 virtual game coins.

[0085] Step 205, in response to the target character's resource exchange request for the target exchange resource, verify whether the exchange voucher in the target character's account meets the exchange conditions of the target exchange resource, wherein the exchange conditions include the exchange value of the target exchange resource, the exchange value is greater than or equal to the actual value of the target exchange resource, and the target exchange resource includes the target time-limited resource.

[0086] Step 206: If the conditions are met, the target exchange resource is allocated to the target character account, and an exchange voucher matching the exchange value is deducted from the target character account.

[0087] In the above embodiment, after a player accumulates a certain amount of redemption vouchers, they can exchange them for virtual resources in the game. In a specific application scenario, a player can initiate a resource redemption request for a target redemption resource from a target character within a game client. In response to this request, the game client can either verify the validity of the request locally or send it to the game server for verification. Taking verification via the game server as an example, after receiving the resource redemption request, the game server can obtain the redemption voucher information from the target character's account and, based on pre-set redemption conditions for the target redemption resource, determine whether the player's existing redemption vouchers meet the redemption conditions. Alternatively, the redemption conditions can be the redemption value of the target redemption resource. In actual games, the target redemption resource can be obtained through both redemption and exchange (specifically, the exchange method can be purchased with game coins), or the resource can be obtained only through redemption. If the target redemption resource can be obtained through both redemption and exchange, the redemption value of the target redemption resource must not be less than the actual value of the target redemption resource (i.e., the exchange value). For example, virtual costumes in the game can be redeemed or exchanged. Players can obtain virtual costumes by paying 1,000 virtual game coins, or they can redeem the virtual costumes by providing a redemption voucher worth 1,100 virtual game coins.

[0088] In addition, the exchange conditions can also include basic resources. For example, if the target exchange resource is a level 10 gem, the corresponding basic resource can be a level 9 gem. Players can exchange a level 9 gem and 10 gem fragments for a level 10 gem.

[0089] In an optional embodiment, the redemption voucher may be accompanied by a resource identifier, and the resource identifier is the target time-limited resource corresponding to the redemption voucher, that is, the identifier of the resource to which the redemption voucher is changed is attached. The specific redemption conditions may be: if the resource identifier attached to the redemption voucher is consistent with the target redemption resource identifier, then the resource can be exchanged with a redemption voucher of equal value; if the resource identifier attached to the redemption voucher is inconsistent with the target redemption resource identifier, then the resource can be exchanged with a redemption voucher of the target redemption resource * preset coefficient, where the preset coefficient is greater than 1. For example, a redemption voucher is obtained by expiration of a level 10 gem and is accompanied by a level 10 gem identifier. If a player uses a redemption voucher with a level 10 gem identifier to exchange for a level 10 gem, an equal value exchange can be performed. If the player uses the redemption voucher to exchange for other virtual resources, a redemption voucher of the target redemption resource * preset coefficient must be provided to complete the exchange.

[0090] Furthermore, the embodiment of the present application also provides another method for obtaining virtual resources, including:

[0091] Step 301: Determine at least one recommended time-limited resource corresponding to the target role; and generate the time-limited resource acquisition request based on a selection operation of any one of the recommended time-limited resources.

[0092] In an embodiment of the present application, time-limited resource recommendations can be made so that players can more conveniently and quickly select the virtual resources they need. In a specific application scenario, the game server can determine at least one recommended time-limited resource corresponding to the target character and push the recommended time-limited resource to the game client for display. The player can make a selection in the display interface of the recommended time-limited resource. Based on the player's selection operation of any recommended time-limited resource, the game client generates a time-limited resource acquisition request.

[0093] In the embodiment of the present application, optionally, the recommended time-limited resource includes a first recommended time-limited resource and / or a second recommended time-limited resource; step 301 may specifically include:

[0094] Step 301-1: Determine at least one first recommended time-limited resource based on the target character's custom resource acquisition strategy and / or recommended resource acquisition strategy; and / or determine at least one second recommended time-limited resource based on the exchangeable resources in the target character's account and a second acquisition condition corresponding to the preset time-limited resource;

[0095] Step 301-2, based on the selection operation of any one of the first recommended time-limited resources, verify whether the exchangeable resources in the target character account meet the third acquisition condition of any one of the first recommended time-limited resources; if so, generate the time-limited resource acquisition request, otherwise output prompt information to prompt the target character of the exchange resources it lacks; and / or, based on the selection operation of any one of the second recommended time-limited resources, generate the time-limited resource acquisition request.

[0096] In step 301-1, players can customize their resource acquisition strategies within the game, such as prioritizing attack power-boosting items, prioritizing game costumes, or rejecting game costume recommendations. After the player saves the customized resource acquisition strategy, the game client can send the player's customized resource acquisition strategy to the game server. Based on the player's customized resource acquisition strategy, the game server can filter out time-limited resources from the preset time-limited resources and recommend them based on the player's customized resource acquisition strategy, i.e., determine the first recommended time-limited resource. The recommended time-limited resources can also be sorted based on the acquisition priority in the customized resource acquisition strategy or the recommendation priority set by the game planner. In addition, if the player has not set a custom resource acquisition strategy, or the custom resource acquisition strategy set by the player does not cover the acquisition strategy for preset time-limited resources, resource recommendations can also be made based on the preset recommended resource acquisition strategy. Specifically, the upgrade progress of each upgradeable virtual resource can be determined based on the target character's existing upgradeable virtual resources, and recommendations can be made using a full-level priority strategy or a synchronous upgrade priority strategy. The full-level priority strategy recommends that players give priority to obtaining limited-time use qualifications for resources whose current level is closest to the full level, and the synchronous upgrade priority strategy recommends that players give priority to obtaining limited-time use qualifications for resources whose current level is lower.

[0097] In one application scenario, the first recommended time-limited resource is determined according to the recommended resource acquisition strategy, and it can also include: according to the player's purchase / upgrade record, the upgrade progress of the gems that have not yet reached the maximum level in the player's purchase / upgrade record is sorted out. For example, the player needs to upgrade 3 gems, upgrading gem 1 requires 2 fragments, upgrading gem 2 requires 1 fragment, and upgrading gem 3 requires 6 fragments. The three gems can be sorted according to the required number of fragments, and a prompt is generated to prompt the player to continue upgrading the gems.

[0098] Furthermore, in step 301-1, recommendations can be made based on the player's existing resources. Specifically, the player's existing resources can be used to determine which time-limited resources can be exchanged. That is, based on the second acquisition condition corresponding to the preset time-limited resource, the second recommended time-limited resource for which the player's existing exchangeable resources can be exchanged is determined. For example, if the preset time-limited resource is a level 10 gem, and the corresponding acquisition condition is 100 virtual game coins and 10 virtual meteorite fragments, if the player's existing resources include 100 virtual game coins and 10 virtual meteorite fragments, then the level 10 gem can be used as the second recommended time-limited resource.

[0099] In step 301-2, when the player selects any one of the first recommended time-limited resources, it is first verified whether the player's existing resources meet the exchange conditions for the selected resources, that is, it is verified whether the exchangeable resources in the target character account meet the third acquisition condition corresponding to the selected first recommended time-limited resource. If so, a time-limited resource acquisition request can be generated. Otherwise, a prompt message can be output to prompt the player of the third acquisition condition corresponding to the selected resource and which exchange resources are currently missing and how many are missing.

[0100] When the player selects any second recommended time-limited resource, since the second recommended time-limited resource itself is determined based on the player's existing exchangeable resources, a time-limited resource acquisition request can be directly generated.

[0101] Step 302: Receive a time-limited resource acquisition request, wherein the time-limited resource acquisition request includes a target role identifier, a target time-limited resource identifier, and resources to be exchanged.

[0102] Step 303: Determine the effective time limit of the target time-limited resource corresponding to the resource to be exchanged, allocate the corresponding target time-limited resource to the target role account, and deduct the resource to be exchanged from the target role account.

[0103] Step 304: When the effective time limit of the target time-limited resource is reached, the target time-limited resource allocated to the target character account is changed to an exchange voucher matching the resource to be exchanged, wherein the exchange voucher is used to exchange virtual resources.

[0104] The implementation of steps 302 to 304 can refer to the description of steps 101 to 103 and will not be repeated here.

[0105] In the embodiment of the present application, optionally, after receiving the time-limited resource acquisition request, the following steps may also be included:

[0106] Step 401, counting the number of received time-limited resource acquisition requests;

[0107] Step 402: If the number is greater than a preset number, the target role contribution corresponding to each time-limited resource acquisition request is obtained, and based on the target role contribution, a response-enabled request and a request to be rejected are determined among the time-limited resource acquisition requests;

[0108] Step 403: if the time-limited resource acquisition request is the respondable request, determine the effective time limit of the target time-limited resource corresponding to the resource to be exchanged;

[0109] Step 404: if the time-limited resource acquisition request is the request to be rejected, generate rejection information.

[0110] In this embodiment, after receiving a time-limited resource acquisition request from a game client, the game server can count the number of requests for the target time-limited resource within a preset time period. If the number exceeds the preset number, the game server obtains the in-game contribution of each target character submitting the request and determines which requests can be responded to based on the contribution. The target character's contribution can be determined based on the target character's game time, ranking on the game server, and the number of resources donated in the game. Specifically, the number of time-limited resources to be provided can be set, and after ranking the target characters by contribution, the top-ranked requests can be responded to, while the lower-ranked requests can be rejected.

[0111] Furthermore, the number of time-limited resources that each target character can obtain can also be limited. Optionally, before step 401, the process can further include obtaining the number of time-limited resources that the target character can obtain, and if it is determined that the number of time-limited resources already obtained by the target character is less than the number of time-limited resources that can be obtained, executing step 402; otherwise, rejecting the time-limited resource acquisition request. The number of resources that can be obtained can be determined based on the contribution of the target character.

[0112] In addition, the total time limit of the time-limited resources that each target role can obtain can also be limited. In an embodiment of the present application, optionally, after determining the effective time limit of the target time-limited resource corresponding to the resource to be exchanged, it can also include: judging whether the effective time limit exceeds the remaining time limit of the target role based on the effective time limit of the target time-limited resource, and if it does not exceed, continuing to execute "allocating the corresponding target time-limited resource to the target role account, and deducting the resource to be exchanged from the target role account", wherein the remaining time limit is calculated based on the difference between the total obtainable time limit of the target role and the obtained time limit of the target role, and the total obtainable time limit can be determined based on the contribution of the target role.

[0113] Further, as Figure 1 The specific implementation of the method, the embodiment of the present application provides a device for obtaining virtual resources, such as Figure 3 As shown, the device includes:

[0114] A request receiving module, configured to receive a time-limited resource acquisition request, wherein the time-limited resource acquisition request includes a target role identifier, a target time-limited resource identifier, and resources to be exchanged;

[0115] a resource acquisition module, configured to determine the effective time limit of the target time limit resource corresponding to the resource to be exchanged, allocate the corresponding target time limit resource to the target role account, and deduct the resource to be exchanged from the target role account;

[0116] The voucher changing module is used to change the target time-limited resource allocated to the target role account to an exchange voucher matching the resource to be exchanged when the valid time limit of the target time-limited resource is reached, wherein the exchange voucher is used to exchange virtual resources.

[0117] Optionally, the device further includes: a resource exchange module, configured to:

[0118] When the valid time limit of the target time-limited resource is reached, after changing the target time-limited resource allocated to the target character account to an exchange voucher matching the resource to be exchanged, in response to the target character's resource exchange request for the target exchange resource, verifying whether the exchange voucher in the target character account meets an exchange condition for the target exchange resource, wherein the exchange condition includes an exchange value of the target exchange resource, the exchange value is greater than or equal to the actual value of the target exchange resource, and the target exchange resource includes the target time-limited resource;

[0119] If the requirements are met, the target exchange resource is allocated to the target role account, and an exchange voucher matching the exchange value is deducted from the target role account.

[0120] Optionally, the resource acquisition module is further configured to:

[0121] After receiving the time-limited resource acquisition request, verifying whether the resource to be exchanged meets a first acquisition condition corresponding to the target time-limited resource, wherein the first acquisition condition includes at least one target exchange resource and a minimum exchange amount corresponding to each target exchange resource, and the first acquisition condition is used to constrain the minimum exchange resource required to obtain the target time-limited resource;

[0122] If so, determining the effective time limit of the target time limit resource corresponding to the to-be-exchanged resource is performed.

[0123] Optionally, the target time limit resource is preset with a preset effective time limit corresponding to the target exchange resource with the minimum exchange amount; and the resource acquisition module is specifically configured to:

[0124] The effective time limit of the target time limit resource corresponding to the resource to be exchanged is calculated according to the target exchange resource with the minimum exchange amount and the preset effective time limit.

[0125] Optionally, the device further comprises:

[0126] A resource recommendation module, configured to determine at least one recommended time-limited resource corresponding to the target role before receiving the time-limited resource acquisition request;

[0127] The request generating module is configured to generate the time-limited resource acquisition request based on a selection operation on any one of the recommended time-limited resources.

[0128] Optionally, the recommended time-limited resource includes a first recommended time-limited resource and / or a second recommended time-limited resource;

[0129] The resource recommendation module is specifically used to:

[0130] Determining at least one first recommended time-limited resource based on the target role's custom resource acquisition strategy and / or recommended resource acquisition strategy; and / or,

[0131] Determining at least one second recommended time-limited resource based on the exchangeable resources in the target character account and the second acquisition condition corresponding to the preset time-limited resource;

[0132] Accordingly, the request generation module is specifically used to:

[0133] Based on the selection operation of any one of the first recommended time-limited resources, verify whether the exchangeable resources in the target character's account meet the third acquisition condition of any one of the first recommended time-limited resources; if so, generate the time-limited resource acquisition request; otherwise, output a prompt message to prompt the target character of the exchangeable resources that are missing; and / or,

[0134] Based on a selection operation of any second recommended time-limited resource, the time-limited resource acquisition request is generated.

[0135] Optionally, the device further comprises:

[0136] The reward issuing module is used to obtain the historical acquisition time of the target character for the target time-limited resource after deducting the resource to be exchanged from the target character account; and allocate a reward certificate to the target character account based on the time difference between the historical acquisition time and the current time.

[0137] It should be noted that for other corresponding descriptions of the functional units involved in the virtual resource acquisition device provided in the embodiment of the present application, please refer to Figures 1 to 2 The corresponding description in the method will not be repeated here.

[0138] Based on the above Figures 1 to 2 The method shown in FIG. 1 is a method for performing the above-mentioned operation. Accordingly, the embodiment of the present application further provides a storage medium on which a computer program is stored. When the computer program is executed by a processor, the above-mentioned operation is performed. Figures 1 to 2 The method for obtaining virtual resources shown.

[0139] Based on this understanding, the technical solution of the present application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, USB flash drive, mobile hard disk, etc.), including a number of instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to execute the methods described in each implementation scenario of the present application.

[0140] Based on the above Figures 1 to 2 The method shown, and Figure 3 In order to achieve the above-mentioned purpose, the embodiment of the present application further provides a computer device, which can be a personal computer, a server, a network device, etc. The computer device includes a storage medium and a processor; the storage medium is used to store a computer program; the processor is used to execute the computer program to achieve the above-mentioned Figures 1 to 2 The method for obtaining virtual resources shown.

[0141] Optionally, the computer device may further include a user interface, a network interface, a camera, a radio frequency (RF) circuit, a sensor, an audio circuit, a Wi-Fi module, etc. The user interface may include a display, an input unit such as a keyboard, etc., and the optional user interface may also include a USB interface, a card reader interface, etc. The network interface may optionally include a standard wired interface, a wireless interface (such as a Bluetooth interface, a Wi-Fi interface), etc.

[0142] Those skilled in the art will understand that the computer device structure provided in this embodiment does not constitute a limitation on the computer device, and may include more or fewer components, or a combination of certain components, or different component arrangements.

[0143] The storage medium may also include an operating system and a network communication module. An operating system is a program that manages and stores the hardware and software resources of a computer device, supporting the execution of information processing programs and other software and / or programs. The network communication module facilitates communication between components within the storage medium, as well as with other hardware and software within the physical device.

[0144] Through the description of the above embodiments, those skilled in the art can clearly understand that the present application can be implemented by means of software plus the necessary general hardware platform, or by hardware implementation. After receiving a time-limited resource acquisition request containing a target character identifier, a target time-limited resource identifier, and a resource to be exchanged, first, determine the effective time limit of the target time-limited resource corresponding to the resource to be exchanged, secondly, allocate a target time-limited resource with an effective time limit to the target character account for use by the player within the effective time limit, and deduct the resource to be exchanged from the target character account at the same time, and finally, when the target time-limited resource reaches the effective time limit, change the invalid target time-limited resource to an exchange voucher that matches the resource to be exchanged for the exchange of virtual resources. The embodiment of the present application can exchange the resource for the time-limited use qualification of the target time-limited resource required, and change the resource to an exchange voucher when it expires, so that the player can use the exchange voucher to exchange the virtual resource in the game, which helps to improve the utilization rate of the virtual resource in the game, improve the retention rate of the player, and improve the utilization rate of the game server.

[0145] Those skilled in the art will understand that the accompanying drawings are only schematic diagrams of a preferred implementation scenario, and the modules or processes in the accompanying drawings are not necessarily required to implement the present application. Those skilled in the art will understand that the modules in the devices in the implementation scenario can be distributed in the devices of the implementation scenario according to the implementation scenario description, or can be changed accordingly and located in one or more devices different from the implementation scenario. The modules of the above-mentioned implementation scenario can be combined into one module, or can be further split into multiple sub-modules.

[0146] The serial numbers of the above application are for descriptive purposes only and do not represent the advantages or disadvantages of the implementation scenarios. The above disclosure only discloses several specific implementation scenarios of the present application, but the present application is not limited thereto. Any changes that can be conceived by those skilled in the art should fall within the scope of protection of the present application.

Claims

1. A method for acquiring virtual resources, characterized in that: The method comprises: receiving a time-limited resource acquisition request, wherein the time-limited resource acquisition request includes a target role identifier, a target time-limited resource identifier, and resources to be exchanged; Determining the effective time limit of the target time-limited resource corresponding to the resource to be exchanged, allocating the corresponding target time-limited resource to the target character account, and deducting the resource to be exchanged from the target character account; When the effective time limit of the target time-limited resource is reached, the target time-limited resource allocated to the target role account is changed to an exchange voucher matching the resource to be exchanged, wherein the exchange voucher is used to exchange virtual resources.

2. The method according to claim 1, characterized in that When the effective time limit of the target time-limited resource is reached, after the target time-limited resource allocated to the target role account is changed to an exchange voucher matching the resource to be exchanged, the method further includes: In response to a resource exchange request from the target character for a target exchange resource, verifying whether an exchange voucher in the target character account meets an exchange condition of the target exchange resource, wherein the exchange condition includes an exchange value of the target exchange resource, the exchange value is greater than or equal to an actual value of the target exchange resource, and the target exchange resource includes the target time-limited resource; If the requirements are met, the target exchange resource is allocated to the target role account, and an exchange voucher matching the exchange value is deducted from the target role account.

3. The method according to claim 1, characterized in that After receiving the time-limited resource acquisition request, the method further includes: Verifying whether the resource to be exchanged meets a first acquisition condition corresponding to the target time-limited resource, wherein the first acquisition condition includes at least one target exchange resource and a minimum exchange amount corresponding to each target exchange resource, and the first acquisition condition is used to constrain the minimum exchange resource required to obtain the target time-limited resource; If so, determining the effective time limit of the target time limit resource corresponding to the to-be-exchanged resource is performed.

4. The method according to claim 3, characterized in that The target time-limited resource is preset with a preset effective time limit corresponding to the target exchange resource with the minimum exchange amount; and determining the effective time limit of the target time-limited resource corresponding to the resource to be exchanged specifically includes: The effective time limit of the target time limit resource corresponding to the resource to be exchanged is calculated according to the target exchange resource with the minimum exchange amount and the preset effective time limit.

5. The method according to claim 1, wherein Before receiving the time-limited resource acquisition request, the method further includes: Determining at least one recommended time-limited resource corresponding to the target role; Based on a selection operation of any one of the recommended time-limited resources, the time-limited resource acquisition request is generated.

6. The method according to claim 5, characterized in that The recommended time-limited resources include first recommended time-limited resources and / or second recommended time-limited resources; The determining of at least one recommended time-limited resource corresponding to the target role specifically includes: Determining at least one first recommended time-limited resource based on the target role's custom resource acquisition strategy and / or recommended resource acquisition strategy; and / or, Determining at least one second recommended time-limited resource based on the exchangeable resources in the target character account and the second acquisition condition corresponding to the preset time-limited resource; Accordingly, the generating of the time-limited resource acquisition request based on the selection operation of any one of the recommended time-limited resources specifically includes: Based on the selection operation of any one of the first recommended time-limited resources, verify whether the exchangeable resources in the target character's account meet the third acquisition condition of any one of the first recommended time-limited resources; if so, generate the time-limited resource acquisition request; otherwise, output a prompt message to prompt the target character of the exchangeable resources that are missing; and / or, Based on a selection operation of any second recommended time-limited resource, the time-limited resource acquisition request is generated.

7. The method according to any one of claims 1 to 6, characterized in that After deducting the resources to be exchanged from the target character account, the method further includes: Obtaining historical acquisition time of the target role for the target time-limited resource; The reward certificate is allocated to the target character account according to the time difference between the historical acquisition time and the current time.

8. A device for acquiring virtual resources, characterized in that: The device comprises: A request receiving module, configured to receive a time-limited resource acquisition request, wherein the time-limited resource acquisition request includes a target role identifier, a target time-limited resource identifier, and resources to be exchanged; a resource acquisition module, configured to determine the effective time limit of the target time limit resource corresponding to the resource to be exchanged, allocate the corresponding target time limit resource to the target role account, and deduct the resource to be exchanged from the target role account; The voucher changing module is used to change the target time-limited resource allocated to the target role account to an exchange voucher matching the resource to be exchanged when the valid time limit of the target time-limited resource is reached, wherein the exchange voucher is used to exchange virtual resources.

9. A storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.

10. A computer device comprising a storage medium, a processor, and a computer program stored in the storage medium and executable on the processor, wherein: When the processor executes the computer program, the method according to any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Virtual resource data processing method, device, computer equipment and storage medium

    CN109568963A