CN114082196A - Game resource control method and device, storage medium and electronic device - Google Patents

Game resource control method and device, storage medium and electronic device Download PDF

Info

Publication number
CN114082196A
CN114082196A CN202111449944.3A CN202111449944A CN114082196A CN 114082196 A CN114082196 A CN 114082196A CN 202111449944 A CN202111449944 A CN 202111449944A CN 114082196 A CN114082196 A CN 114082196A
Authority
CN
China
Prior art keywords
game
resource
account
target
resources
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.)
Pending
Application number
CN202111449944.3A
Other languages
Chinese (zh)
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.)
Perfect World Beijing Software Technology Development Co Ltd
Original Assignee
Perfect World Beijing Software Technology Development 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 Perfect World Beijing Software Technology Development Co Ltd filed Critical Perfect World Beijing Software Technology Development Co Ltd
Priority to CN202111449944.3A priority Critical patent/CN114082196A/en
Publication of CN114082196A publication Critical patent/CN114082196A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/70Game security or game management aspects
    • A63F13/79Game security or game management aspects involving player-related data, e.g. identities, accounts, preferences or play histories
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/50Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by details of game servers
    • A63F2300/55Details of game data or player data management
    • A63F2300/5546Details of game data or player data management using player registration data, e.g. identification, account, preferences, game history

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Business, Economics & Management (AREA)
  • Computer Security & Cryptography (AREA)
  • General Business, Economics & Management (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention provides a game resource control method and device, a storage medium and an electronic device, wherein the method comprises the following steps: receiving a resource sharing request of a first client, wherein the first client is used for logging in a first game account, and the resource sharing request is used for requesting to rent out target game resources configured by the first game account; acquiring target game resources of the first game account based on the resource sharing request; receiving a resource transfer-in request of a second client, wherein the second client is used for logging in a second game account, and the resource transfer-in request is used for requesting to rent the target game resource; and allocating the target game resource to the second game account. According to the invention, the technical problem that game resources in the game account of the user cannot be shared in the related technology is solved, and the interactivity of the game resources among different game accounts and the utilization rate of the game resources are improved.

Description

Game resource control method and device, storage medium and electronic device
Technical Field
The invention relates to the technical field of computers, in particular to a game resource control method and device, a storage medium and an electronic device.
Background
In the related art, in the online game, since the game resources under each game account are private data, the game data is not allowed to be rented among different game players, and each game player can only use the game data in the own account, such as game characters and resources. One game account can manage a plurality of data, only one part of the current game account can be utilized by the current player, so that the rest part of game resources are in an idle state all the time, and the resource waste is caused.
In view of the above problems in the related art, no effective solution has been found at present.
Disclosure of Invention
The embodiment of the invention provides a game resource control method and device, a storage medium and an electronic device.
According to an embodiment of the present invention, there is provided a game resource control method including: receiving a resource sharing request of a first client, wherein the first client is used for logging in a first game account, and the resource sharing request is used for requesting to rent out target game resources configured by the first game account; acquiring target game resources of the first game account based on the resource sharing request; receiving a resource transfer-in request of a second client, wherein the second client is used for logging in a second game account, and the resource transfer-in request is used for requesting to rent the target game resource; and allocating the target game resource to the second game account.
Optionally, the obtaining of the target game resource of the first game account based on the resource sharing request includes one of: responding to a first resource sharing request, searching the target game resource from the game data of the first game account, copying the target game resource to a shared resource pool, and simultaneously maintaining the state of the target game resource in the game data of the first game account to be an activated state; responding to a second resource sharing request, searching the target game resource from the game data of the first game account, copying the target game resource to a shared resource pool, deleting or freezing the target game resource from the game data of the first game account, and adding or unfreezing the target game resource into the game data of the first game account after the lease time of the target game resource is reached.
Optionally, after allocating the target game resource to the second game account, the method further includes: calculating an affinity gain value based on the target game resource; increasing the intimacy between the first game account and the second game account according to the intimacy gain value.
Optionally, after allocating the target game resource to the second game account, the method further includes: assigning a second game account number to the first game account number; and responding to the intimacy authority triggered by the second game account, and distributing a first game role controlled by the first game account and a second game role controlled by the second game account to the same game play.
Optionally, after allocating the target game resource to the second game account, the method further includes: searching a matched game resource associated with the target game resource, wherein the matched game resource is a game resource matched with the target game resource in a game scene; judging whether the second game account is configured with the assorted game resource; if the second game account is not configured with the matched game resource, pushing the matched game resource or pushing rental prompt information of the matched game resource to the second game account.
Optionally, after allocating the target game resource to the second game account, the method further includes: after the lease time of the target game resource is reached, counting settlement resources generated by the second game account in the lease time by using the target game resource; transferring the settlement resource from the second game account to the first game account; or, judging whether the settlement resources are effective resources in the second game account, if so, retaining the settlement resources in the second game account, and if not, deleting the settlement resources in the second game account; and/or determining the resource state of the target game resource after the lease time, and rolling back the resource state of the target game resource to the initial state before the lease time.
Optionally, the allocating the target game resource to the second game account includes: reading historical game parameters of the target game resource from the first client and/or a game server, wherein the historical game parameters are used for indicating the use condition of the target game resource by the first game account in the latest time period; and distributing the target game resource to the second game account, and generating operation guide information of the target game resource according to the historical game parameters so that the second game account uses the target game resource according to the operation guide information.
Optionally, the obtaining of the target game resource of the first game account based on the resource sharing request includes at least one of: obtaining game role resources of the first game account based on the resource sharing request; obtaining game prop resources of the first game account based on the resource sharing request; obtaining game permission resources of the first game account based on the resource sharing request; obtaining game friend resources of the first game account based on the resource sharing request; obtaining game progress resources of the first game account based on the resource sharing request; and acquiring the role image configuration resources of the first game account based on the resource sharing request.
According to another embodiment of the present invention, there is provided a game resource control apparatus including: the system comprises a first receiving module, a second receiving module and a third receiving module, wherein the first receiving module is used for receiving a resource sharing request of a first client, the first client is used for logging in a first game account, and the resource sharing request is used for requesting to rent target game resources configured by the first game account; an obtaining module, configured to obtain a target game resource of the first game account based on the resource sharing request; the second receiving module is used for receiving a resource transferring request of a second client, wherein the second client is used for logging in a second game account, and the resource transferring request is used for requesting to rent the target game resource; and the first allocation module is used for allocating the target game resource to the second game account.
Optionally, the obtaining module includes one of: a first obtaining unit, configured to respond to a first resource sharing request, search the target game resource from the game data of the first game account, copy the target game resource to a shared resource pool, and maintain a state of the target game resource in the game data of the first game account as an activated state; and the second acquisition unit is used for responding to a second resource sharing request, searching the target game resource from the game data of the first game account, copying the target game resource to a shared resource pool, deleting or freezing the target game resource from the game data of the first game account, and adding or unfreezing the target game resource to the game data of the first game account after the lease time of the target game resource is reached.
Optionally, the apparatus further comprises: a calculating module, configured to calculate an affinity gain value based on the target game resource after the first allocating module allocates the target game resource to the second game account; and the increasing module is used for increasing the intimacy between the first game account and the second game account according to the intimacy gain value.
Optionally, the apparatus further comprises: the second allocation module is used for allocating the intimacy authority related to the first game account for the second game account after the target game resources are allocated to the second game account by the first allocation module; and the third distribution module is used for responding to the intimacy authority triggered by the second game account, and distributing the first game role controlled by the first game account and the second game role controlled by the second game account to the same game battle.
Optionally, the apparatus further comprises: the searching module is used for searching for a matched game resource associated with the target game resource after the target game resource is allocated to the second game account by the first allocating module, wherein the matched game resource is a game resource matched with the target game resource in a game scene; the judging module is used for judging whether the second game account is configured with the matched game resources; and the pushing module is used for pushing the matched game resources or pushing renting prompt information of the matched game resources to the second game account if the matched game resources are not configured by the second game account.
Optionally, the apparatus further comprises: the processing module is used for counting settlement resources generated by the second game account within the lease time by using the target game resources after the target game resources are allocated to the second game account by the first allocation module and the lease time of the target game resources is reached; transferring the settlement resource from the second game account to the first game account; or, judging whether the settlement resources are effective resources in the second game account, if so, retaining the settlement resources in the second game account, and if not, deleting the settlement resources in the second game account; and/or the rollback module is used for determining the resource state of the target game resource after the lease time and rolling back the resource state of the target game resource to the initial state before the lease time.
Optionally, the first distribution module includes: a reading unit, configured to read a historical game parameter of the target game resource from the first client and/or a game server, where the historical game parameter is used to indicate a usage of the target game resource by the first game account in a latest time period; and the allocation unit is used for allocating the target game resource to the second game account and generating operation guide information of the target game resource according to the historical game parameters so that the second game account uses the target game resource according to the operation guide information.
Optionally, the obtaining module includes at least one of: a third obtaining unit, configured to obtain a game role resource of the first game account based on the resource sharing request; a fourth obtaining unit, configured to obtain, based on the resource sharing request, a game item resource of the first game account; a fifth obtaining unit, configured to obtain, based on the resource sharing request, a game permission resource of the first game account; a sixth obtaining unit, configured to obtain, based on the resource sharing request, a game friend resource of the first game account; a seventh obtaining unit, configured to obtain a game progress resource of the first game account based on the resource sharing request; an eighth obtaining unit, configured to obtain the role image configuration resource of the first game account based on the resource sharing request.
According to a further embodiment of the present invention, there is also provided a storage medium having a computer program stored therein, wherein the computer program is arranged to perform the steps of any of the above method embodiments when executed.
According to yet another embodiment of the present invention, there is also provided an electronic device, including a memory in which a computer program is stored and a processor configured to execute the computer program to perform the steps in any of the above method embodiments.
According to the method and the device, a resource sharing request of a first client is received, wherein the first client is used for logging in a first game account, the resource sharing request is used for requesting to rent out target game resources configured by the first game account, and the target game resources of the first game account are obtained based on the resource sharing request; the method comprises the steps of receiving a resource transfer request of a second client, wherein the second client is used for logging in a second game account, the resource transfer request is used for requesting renting of target game resources, the target game resources are distributed to the second game account, the target game resources of the first game account are obtained through a resource sharing request based on the first client, and the target game resources are distributed to the second game account sending the resource transfer request.
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 block diagram of a hardware configuration of a control server for game resources according to an embodiment of the present invention;
FIG. 2 is a flow chart illustrating a method for controlling game resources according to an embodiment of the present invention;
FIG. 3 is a diagram illustrating displaying a sharing identifier on a virtual role according to an embodiment of the present invention;
FIG. 4 is a block diagram of a control apparatus for game resources according to an embodiment of the present invention;
fig. 5 is a block diagram of an electronic device according to an embodiment of the invention.
Detailed Description
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only partial embodiments of the present application, but not all 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 application. It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict.
It should be noted that the terms "first," "second," and the like in the description and claims of this application 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 application 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, 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.
Example 1
The method provided by the first embodiment of the present application may be executed in a mobile phone, a tablet, a server, a computer, or a similar electronic terminal. Taking the example of running on a server, fig. 1 is a hardware structure block diagram of a control server of game resources according to an embodiment of the present invention. As shown in fig. 1, the server may include one or more (only one shown in fig. 1) processors 102 (the processors 102 may include, but are not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data, and optionally may also include a transmission device 106 for communication functions and an input-output device 108. It will be understood by those skilled in the art that the structure shown in fig. 1 is only an illustration, and is not intended to limit the structure of the server. For example, the server may also include more or fewer components than shown in FIG. 1, or have a different configuration than shown in FIG. 1.
The memory 104 may be used to store a server program, for example, a software program and a module of application software, such as a server program corresponding to a game resource control method in the embodiment of the present invention, and the processor 102 executes various functional applications and data processing by running the server program stored in the memory 104, so as to implement the method described above. The memory 104 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 104 may further include memory located remotely from the processor 102, which may be connected to a server 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. In the present embodiment, the processor 104 is configured to control the target virtual character to perform a specified operation to complete the game task in response to the human-machine interaction instruction and the game policy. The memory 104 is used for storing program scripts, configuration information, attribute information of virtual characters, and the like.
The transmission device 106 is used to receive or transmit data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the server. In one example, the transmission device 106 includes a Network adapter (NIC) that can be connected to other Network devices through a base station to communicate with the internet. In one example, the transmission device 106 may be a Radio Frequency (RF) module, which is used to communicate with the internet in a wireless manner.
Optionally, the input/output device 108 further includes a human-computer interaction screen for acquiring a human-computer interaction instruction through a human-computer interaction interface and presenting a streaming media picture;
in this embodiment, a method for controlling game resources is provided, and fig. 2 is a schematic flowchart of a method for controlling game resources according to an embodiment of the present invention, as shown in fig. 2, the flowchart includes the following steps:
step S202, receiving a resource sharing request of a first client, wherein the first client is used for logging in a first game account, and the resource sharing request is used for requesting to rent out target game resources configured by the first game account;
optionally, the resource sharing request is further used to indicate a permission range of the target game resource, and the second game account leasing the target game resource can only use the target game resource within a corresponding permission range, for example, the target game resource can only be used within a fixed time period, the target game resource can only be used for a specific scene, and the like.
Step S204, acquiring target game resources of the first game account based on the resource sharing request;
step S206, receiving a resource transfer request of a second client, wherein the second client is used for logging in a second game account, and the resource transfer request is used for requesting to rent target game resources;
step S208, distributing target game resources to the second game account;
when the target game resource is allocated to the second game account, the second game account can use the target game resource originally under the first game account, so that the game resource sharing is realized.
The embodiment can be applied to MMO (Massive Multiplayer Online Game), world and other types of Game scenes, the network architecture comprises a Game server and at least two Game clients which are respectively a first Game client and a second Game client and log in a first Game account and a second Game account, the first Game account is a tenant account, the second Game account is a buyer account, and the first Game account manages a plurality of Game data.
Receiving a resource sharing request of a first client, wherein the first client is used for logging in a first game account, the resource sharing request is used for requesting to rent out target game resources configured by the first game account, and the target game resources of the first game account are obtained based on the resource sharing request; the method comprises the steps of receiving a resource transfer request of a second client, wherein the second client is used for logging in a second game account, the resource transfer request is used for requesting renting of target game resources, the target game resources are distributed to the second game account, the target game resources of the first game account are obtained through a resource sharing request based on the first client, and the target game resources are distributed to the second game account sending the resource transfer request.
Optionally, the target game resource of this embodiment may be, but is not limited to: game roles, props, weapons, jurisdictions, friends and friends, face data and other game resources. The obtaining of the target game resource of the first game account based on the resource sharing request may be, but is not limited to: obtaining game character resources of the first game account based on the resource sharing request (e.g., a PCC (player controlled character), a pet, etc. that the first game account has unlocked, configured, or purchased); obtaining game item resources of the first game account (e.g., virtual weapons, ornaments, item fragments, etc. that the first game account has unlocked, configured, or purchased) based on the resource sharing request; acquiring game permission resources of the first game account based on the resource sharing request; obtaining game friend resources of the first game account (for example, teammates, spouses, and dao friends paired by the first game account in the virtual game) based on the resource sharing request; obtaining game progress resources of the first game account based on the resource sharing request; and acquiring character image configuration resources (such as face pinching data, skeleton model parameters, skin mapping data and the like used by the configured virtual character of the first game account in the virtual game) of the first game account based on the resource sharing request.
In some examples, the game permission resource of the first game account includes an operation permission of the first game account in the virtual game, if a specified level can be unlocked, a specific game resource can be invoked, the higher the level of the first game account is, the more virtual currency has been spent, the greater the operation permission is, and the more game permission resources are, and in this embodiment, the game permission resource may be stored through a permission configuration table. In some examples, the game progress resource is all of the level or highest level (a game account of a given level can only match to a game account of the same level or to a game account of the same or a lower level when the game matches) that the first game account has unlocked, and can also be the game progress or game time that the first game account is currently in.
In some implementations, assigning the target game resource to the second game account includes: obtaining the leasing bill information of the second game account, judging whether the bill amount in the leasing bill information is matched with the target game resource, and if so, distributing the target game resource to the second game account; in another example, assigning the target game resource to the second game account includes: obtaining a lease exchange resource of the second game account, determining whether the lease exchange resource matches a target game resource, and if the lease exchange resource matches the target game resource, allocating the target game resource to the second game account, in this example, the lease exchange resource is a game resource configured by the second game account, the first game account and the second game account can be exchanged by things, so as to realize mutual sharing and exchange of real resources, optionally, if the lease exchange resource is the same as (similar to) the resource type of the target game resource, determining matching, and/or, if the lease exchange resource matches (equivalent) amount of a virtual transaction resource (e.g., gold coins in a game) corresponding to the target game resource, determining matching.
In the implementation scenario, each game account or game resource of the game platform in the virtual game can be leased and shared, the player is divided into a tenant and a buyer, the tenant shares its own game data (or called game resource) to the game server through the first game account, the buyer spends virtual money for leasing through the second game account, and the game data is returned to the tenant or the game server after the lease time expires.
The first game account puts game resources willing to be rented on the virtual trading market of the online shopping mall, the second player selects target game resources needing to be rented at the second client side and pays, the game server distributes the target game resources to the second game account, the second player can use the target game resources when logging in the second game account, after the renting time is up, the target game resources are invalid or deleted, the experience is over, and the game server continues paying to continuously rent.
In one implementation of this embodiment, the obtaining of the target game resource of the first game account based on the resource sharing request includes one of the following:
responding to the first resource sharing request, searching a target game resource from the game data of the first game account, copying the target game resource to a shared resource pool, and simultaneously maintaining the state of the target game resource in the game data of the first game account as an activated state;
and responding to the second resource sharing request, searching the target game resource from the game data of the first game account, copying the target game resource to the shared resource pool, deleting or freezing the target game resource from the game data of the first game account, and adding or unfreezing the target game resource into the game data of the first game account after the lease time of the target game resource is reached.
In the scheme, the sharing of the target game resources comprises two strategies, one strategy is to clone the target game resources in the first game account and copy the target game resources to a shared resource pool, the first game account and the second game account can simultaneously use the target game resources, and in the scene, a game platform or a cloud platform where the target game resources are located needs to extract certain lease fees; the other is that after the target game resource is put on shelf or allocated to the second game account, the target game resource is temporarily deleted in the first game account, or the target game resource is frozen until the lease is finished, and the use permission of the target game resource is recovered on the first game account, so that the same game resource can be prevented from simultaneously appearing in one game scene, and the strategy can be executed aiming at rare game resources.
In an implementation scenario of this embodiment, after allocating the target game resource to the second game account, the method further includes: calculating an affinity gain value based on the target game resource; and increasing the intimacy between the first game account and the second game account according to the intimacy gain value.
Optionally, the calculating the affinity gain value based on the target game resource includes: analyzing the resource type and the resource amount of the target game resource according to the configuration information of the target game resource, and calculating the intimacy gain value based on the resource type and the resource amount, wherein the server presets a mapping table of the resource type and the intimacy gain value, the resource amount is positively correlated with the intimacy gain value, if the target game resource of each unit corresponds to 1 intimacy gain value, and if the number of the target game resources is 10, the intimacy gain value is increased by 10.
The intimacy of the embodiment may affect the friend relationship of the first game account and the first game account in the virtual game, and if the intimacy is higher, the rank in the friend list is higher, the friend list is matched with the same camp, the probability of the same map area is higher, the delivery rate of the broadcast message is higher, and the contact ratio of the scenario is higher in the game scene of the random scenario.
In another implementation scenario of this embodiment, after allocating the target game resource to the second game account, the method further includes: assigning a second game account a level of affinity associated with the first game account; and responding to the intimacy authority triggered by the second game account, and distributing the first game role controlled by the first game account and the second game role controlled by the second game account to the same game battle.
In an example of the application, after the second game account completes the rental action, the game server further establishes an association relationship between the first game account and the second game account or increases intimacy, when the second game account is online and a target game resource is called, a notification message is synchronously generated to notify a first game client corresponding to the first game account, the first game account may select to form a team/make friends/accompany with the second game account, or a specific permission is assigned to the second game account, such as a permission for entering a live broadcast time of the first game account, when online pairing is performed (such as 5V5 pairing), the server increases a matching probability of the first game account and the second game account based on intimacy or intimacy permission, controls the first game account and the second game account to play in the same formation, and may further increase a first virtual role and a second virtual role corresponding to the first game account and the second game account Adding a specific sharing identifier, wherein the sharing identifier is used for indicating that the first virtual role and the second virtual role share the resource with each other. Fig. 3 is a schematic diagram illustrating a sharing identifier displayed on a virtual character according to an embodiment of the present invention, where a first virtual character and a second virtual character are both sharing resources of a target game, and a third virtual character does not share resources. Optionally, a renting identifier may be displayed on a first virtual character corresponding to the first game account, where the renting identifier is used to represent game resources to be shared by the first virtual character, and other players in the same game scene as the first virtual character may quickly locate the first virtual character in the game scene according to the renting identifier, and directly control the manipulated second virtual character to interact with the first virtual character to initiate a resource transfer request, so as to quickly rent the game resources.
In one implementation manner of this embodiment, after allocating the target game resource to the second game account, the method further includes: searching for matched game resources related to the target game resources, wherein the matched game resources are game resources matched with the target game resources in a game scene; judging whether the second game account is configured with matched game resources; and if the second game account is not configured with the matched game resources, pushing the matched game resources or pushing rental prompt information of the matched game resources to the second game account.
In this embodiment, when the second game account rents to obtain the target game resource, the second client or the server further determines and searches to determine associated game data matched with the target game resource, the associated game data is used for the second game account to create the game environment of the target game resource, for example, the target game resource is a virtual character of a specific level, the character 1 of the level 59 is associated with the scene 1, the character 1 of the level 59 can only operate in the scene 1, the character 2 is associated with the scene 2, the character 2 of the level 100 can only operate in the scene 2, if the scene 1 and the scene 2 are not loaded or unlocked by the second game account, the system can synchronously push the game data of the scene 1 and the scene 2 as associated matched game resources to the second game account, or push lease prompt information of the associated game data to the second game account.
In one implementation manner of this embodiment, after allocating the target game resource to the second game account, the method further includes: counting settlement resources generated by the second game account within the lease time by using the target game resources after the lease time of the target game resources is reached; transferring the settlement resources from the second game account to the first game account; or, judging whether the settlement resources are effective resources in the second game account, if so, keeping the settlement resources in the second game account, and if not, deleting the settlement resources in the second game account; and/or determining the resource state of the target game resource after the rental time, and rolling back the resource state of the target game resource to the initial state before the rental time.
In the scheme, the second game account uses the settlement resource generated by the target game resource in the virtual game, if a virtual gold coin is generated by using a certain rented virtual character, a treasure box is found, a certain rented virtual item is upgraded or degraded, after the renting is finished, the embodiment can search the rule matched with the settlement resource of the target game resource according to the second game account during the renting of the target game resource, the rollback or non-rollback operation is performed on the target game resource, the generated settlement resource can be reserved on the second game account and can also be transferred to the first game account, and the settlement resource can be obtained through additional payment of the second game account. In some examples, the server may further determine whether the generated settlement resource is valid in the second game account, for example, if a high-order prop is used to hit a pile of prop fragments, and the prop fragments can be synthesized only by player accounts of level 100, and the first game account is actually level 50, and if the first game account is an invalid resource, the first game account may be directly deleted.
In an aspect of this embodiment, before receiving the resource transfer-in request of the second client, the scheme further includes: and acquiring the target game resource, and storing the target game resource in a shared resource pool. In the embodiment, the target game resources may be game resources preset by the system or game resources defined by the user, a player or an author may create high-quality game materials (such as characters, props, clothing, and the like) by himself, and the platform purchases some game materials that are most popular among the game materials created by the player or the author, places the game materials in a rentable shared resource pool, so that any player can pay for shared use.
In some examples of this embodiment, allocating the target game resource to the second game account comprises: reading historical game parameters of a target game resource from a first client and/or a game server, wherein the historical game parameters are used for indicating the use condition of the target game resource by a first game account in the latest time period; and distributing target game resources to the second game account, and generating operation guide information of the target game resources according to the historical game parameters so that the second game account uses the target game resources according to the operation guide information.
In this example, after the first game account selects a certain target game resource (such as a virtual item or a virtual game character) to be shared, the server determines a resource type of the target game resource, and when the target game resource is a game resource of a specific type, such as a virtual item, the server also reads and stores historical game parameters from the first game client or the game server, where the target game resource is a game character, the historical game parameters may be virtual items (such as weapons and virtual pets), skills of equipment, game operations during a game process, selected teammates, and the like used by the game character in the historical game, and when the target game resource is a game item resource, the historical game parameters may be usage of the game item in the historical game, such as enabling time, using objects, participating game copies, and the like. In this example, when the operation guidance information is generated, for example, the target game resource is a virtual item, the first game account obtains a lot of virtual profits by using the virtual item in a recent period of time, when the virtual item is rented, the server may further obtain a usage condition (such as game behavior parameters, usage environment parameters of the virtual item, an instruction set and an instruction sequence for controlling the virtual item, and the like) of the first game account for the virtual item, and after the second game account rents the virtual item, the server generates the operation guidance information according to the game behavior of the first game account to guide the second game account to reasonably and efficiently use the virtual item, so as to help the second game account to quickly access the virtual item, and improve the usage efficiency of the target game resource.
By adopting the scheme of the embodiment, the interaction efficiency of game resources among different game accounts and the utilization rate of game data are improved.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
Example 2
In this embodiment, a game resource control device is further provided for implementing the foregoing embodiments and preferred embodiments, which have already been described and will not be described again. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
Fig. 4 is a block diagram of a control apparatus for game resources according to an embodiment of the present invention, as shown in fig. 4, the apparatus including: a first receiving module 40, an obtaining module 42, a second receiving module 44, a first distributing module 46, wherein,
a first receiving module 40, configured to receive a resource sharing request of a first client, where the first client is configured to log in a first game account, and the resource sharing request is used to request to lease a target game resource configured by the first game account;
an obtaining module 42, configured to obtain a target game resource of the first game account based on the resource sharing request;
a second receiving module 44, configured to receive a resource transfer request of a second client, where the second client is configured to log in a second game account, and the resource transfer request is used to request to rent the target game resource;
a first allocation module 46 for allocating the target game resource to the second game account.
Optionally, the obtaining module includes one of: a first obtaining unit, configured to respond to a first resource sharing request, search the target game resource from the game data of the first game account, copy the target game resource to a shared resource pool, and maintain a state of the target game resource in the game data of the first game account as an activated state; and the second acquisition unit is used for responding to a second resource sharing request, searching the target game resource from the game data of the first game account, copying the target game resource to a shared resource pool, deleting or freezing the target game resource from the game data of the first game account, and adding or unfreezing the target game resource to the game data of the first game account after the lease time of the target game resource is reached.
Optionally, the apparatus further comprises: a calculating module, configured to calculate an affinity gain value based on the target game resource after the first allocating module allocates the target game resource to the second game account; and the increasing module is used for increasing the intimacy between the first game account and the second game account according to the intimacy gain value.
Optionally, the apparatus further comprises: the second allocation module is used for allocating the intimacy authority related to the first game account for the second game account after the target game resources are allocated to the second game account by the first allocation module; and the third distribution module is used for responding to the intimacy authority triggered by the second game account, and distributing the first game role controlled by the first game account and the second game role controlled by the second game account to the same game battle.
Optionally, the apparatus further comprises: the searching module is used for searching for a matched game resource associated with the target game resource after the target game resource is allocated to the second game account by the first allocating module, wherein the matched game resource is a game resource matched with the target game resource in a game scene; the judging module is used for judging whether the second game account is configured with the matched game resources; and the pushing module is used for pushing the matched game resources or pushing renting prompt information of the matched game resources to the second game account if the matched game resources are not configured by the second game account.
Optionally, the apparatus further comprises: the processing module is used for counting settlement resources generated by the second game account within the lease time by using the target game resources after the target game resources are allocated to the second game account by the first allocation module and the lease time of the target game resources is reached; transferring the settlement resource from the second game account to the first game account; or, judging whether the settlement resources are effective resources in the second game account, if so, retaining the settlement resources in the second game account, and if not, deleting the settlement resources in the second game account; and/or the rollback module is used for determining the resource state of the target game resource after the lease time and rolling back the resource state of the target game resource to the initial state before the lease time.
Optionally, the first distribution module includes: a reading unit, configured to read a historical game parameter of the target game resource from the first client and/or a game server, where the historical game parameter is used to indicate a usage of the target game resource by the first game account in a latest time period; and the allocation unit is used for allocating the target game resource to the second game account and generating operation guide information of the target game resource according to the historical game parameters so that the second game account uses the target game resource according to the operation guide information.
Optionally, the obtaining module includes at least one of: a third obtaining unit, configured to obtain a game role resource of the first game account based on the resource sharing request; a fourth obtaining unit, configured to obtain, based on the resource sharing request, a game item resource of the first game account; a fifth obtaining unit, configured to obtain, based on the resource sharing request, a game permission resource of the first game account; a sixth obtaining unit, configured to obtain, based on the resource sharing request, a game friend resource of the first game account; a seventh obtaining unit, configured to obtain a game progress resource of the first game account based on the resource sharing request; an eighth obtaining unit, configured to obtain the role image configuration resource of the first game account based on the resource sharing request.
It should be noted that, the above modules may be implemented by software or hardware, and for the latter, the following may be implemented, but not limited to: the modules are all positioned in the same processor; alternatively, the modules are respectively located in different processors in any combination.
Example 3
Fig. 5 is a structural diagram of an electronic device according to an embodiment of the present invention, and as shown in fig. 5, the electronic device includes a processor 51, a communication interface 52, a memory 53 and a communication bus 54, where the processor 51, the communication interface 52, and the memory 53 complete communication with each other through the communication bus 54, and the memory 53 is used for storing a computer program;
the processor 51 is configured to implement the following steps when executing the program stored in the memory 53: receiving a resource sharing request of a first client, wherein the first client is used for logging in a first game account, and the resource sharing request is used for requesting to rent out target game resources configured by the first game account; acquiring target game resources of the first game account based on the resource sharing request; receiving a resource transfer-in request of a second client, wherein the second client is used for logging in a second game account, and the resource transfer-in request is used for requesting to rent the target game resource; and allocating the target game resource to the second game account.
Optionally, the obtaining of the target game resource of the first game account based on the resource sharing request includes one of: responding to a first resource sharing request, searching the target game resource from the game data of the first game account, copying the target game resource to a shared resource pool, and simultaneously maintaining the state of the target game resource in the game data of the first game account to be an activated state; responding to a second resource sharing request, searching the target game resource from the game data of the first game account, copying the target game resource to a shared resource pool, deleting or freezing the target game resource from the game data of the first game account, and adding or unfreezing the target game resource into the game data of the first game account after the lease time of the target game resource is reached.
Optionally, after allocating the target game resource to the second game account, the method further includes: calculating an affinity gain value based on the target game resource; increasing the intimacy between the first game account and the second game account according to the intimacy gain value.
Optionally, after allocating the target game resource to the second game account, the method further includes: assigning a second game account number to the first game account number; and responding to the intimacy authority triggered by the second game account, and distributing a first game role controlled by the first game account and a second game role controlled by the second game account to the same game play.
Optionally, after allocating the target game resource to the second game account, the method further includes: searching a matched game resource associated with the target game resource, wherein the matched game resource is a game resource matched with the target game resource in a game scene; judging whether the second game account is configured with the assorted game resource; if the second game account is not configured with the matched game resource, pushing the matched game resource or pushing rental prompt information of the matched game resource to the second game account.
Optionally, after allocating the target game resource to the second game account, the method further includes: after the lease time of the target game resource is reached, counting settlement resources generated by the second game account in the lease time by using the target game resource; transferring the settlement resource from the second game account to the first game account; or, judging whether the settlement resources are effective resources in the second game account, if so, retaining the settlement resources in the second game account, and if not, deleting the settlement resources in the second game account; and/or determining the resource state of the target game resource after the lease time, and rolling back the resource state of the target game resource to the initial state before the lease time.
Optionally, the allocating the target game resource to the second game account includes: reading historical game parameters of the target game resource from the first client and/or a game server, wherein the historical game parameters are used for indicating the use condition of the target game resource by the first game account in the latest time period; and distributing the target game resource to the second game account, and generating operation guide information of the target game resource according to the historical game parameters so that the second game account uses the target game resource according to the operation guide information.
Optionally, the obtaining of the target game resource of the first game account based on the resource sharing request includes at least one of: obtaining game role resources of the first game account based on the resource sharing request; obtaining game prop resources of the first game account based on the resource sharing request; obtaining game permission resources of the first game account based on the resource sharing request; obtaining game friend resources of the first game account based on the resource sharing request; obtaining game progress resources of the first game account based on the resource sharing request; and acquiring the role image configuration resources of the first game account based on the resource sharing request.
The communication bus mentioned in the above terminal may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface is used for communication between the terminal and other equipment.
The Memory may include a Random Access Memory (RAM) or a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the Integrated Circuit may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, a discrete Gate or transistor logic device, or a discrete hardware component.
In yet another embodiment provided by the present application, there is also provided a computer-readable storage medium having stored therein instructions, which when run on a computer, cause the computer to execute the method for controlling game resources described in any of the above embodiments.
In a further embodiment provided by the present application, there is also provided a computer program product containing instructions which, when run on a computer, cause the computer to perform the method of controlling game resources as described in any of the above embodiments.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the application to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
In the above embodiments of the present application, 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 embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. 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 application 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 integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
The foregoing is only a preferred embodiment of the present application and it should be noted that those skilled in the art can make several improvements and modifications without departing from the principle of the present application, and these improvements and modifications should also be considered as the protection scope of the present application.

Claims (11)

1. A method for controlling game resources, comprising:
receiving a resource sharing request of a first client, wherein the first client is used for logging in a first game account, and the resource sharing request is used for requesting to rent out target game resources configured by the first game account;
acquiring target game resources of the first game account based on the resource sharing request;
receiving a resource transfer-in request of a second client, wherein the second client is used for logging in a second game account, and the resource transfer-in request is used for requesting to rent the target game resource;
and allocating the target game resource to the second game account.
2. The method of claim 1, wherein obtaining the target game resource of the first game account based on the resource sharing request comprises one of:
responding to a first resource sharing request, searching the target game resource from the game data of the first game account, copying the target game resource to a shared resource pool, and simultaneously maintaining the state of the target game resource in the game data of the first game account to be an activated state;
responding to a second resource sharing request, searching the target game resource from the game data of the first game account, copying the target game resource to a shared resource pool, deleting or freezing the target game resource from the game data of the first game account, and adding or unfreezing the target game resource into the game data of the first game account after the lease time of the target game resource is reached.
3. The method of claim 1, wherein after allocating the target game resource to the second game account, the method further comprises:
calculating an affinity gain value based on the target game resource;
increasing the intimacy between the first game account and the second game account according to the intimacy gain value.
4. The method of claim 1, wherein after allocating the target game resource to the second game account, the method further comprises:
assigning a second game account number to the first game account number;
and responding to the intimacy authority triggered by the second game account, and distributing a first game role controlled by the first game account and a second game role controlled by the second game account to the same game play.
5. The method of claim 1, wherein after allocating the target game resource to the second game account, the method further comprises:
searching a matched game resource associated with the target game resource, wherein the matched game resource is a game resource matched with the target game resource in a game scene;
judging whether the second game account is configured with the assorted game resource;
if the second game account is not configured with the matched game resource, pushing the matched game resource or pushing rental prompt information of the matched game resource to the second game account.
6. The method of claim 1, wherein after allocating the target game resource to the second game account, the method further comprises:
after the lease time of the target game resource is reached, counting settlement resources generated by the second game account in the lease time by using the target game resource; transferring the settlement resource from the second game account to the first game account; or, judging whether the settlement resources are effective resources in the second game account, if so, retaining the settlement resources in the second game account, and if not, deleting the settlement resources in the second game account; and/or the presence of a gas in the gas,
and determining the resource state of the target game resource after the lease time, and rolling back the resource state of the target game resource to the initial state before the lease time.
7. The method of claim 1, wherein assigning the target game resource to the second game account comprises:
reading historical game parameters of the target game resource from the first client and/or a game server, wherein the historical game parameters are used for indicating the use condition of the target game resource by the first game account in the latest time period;
and distributing the target game resource to the second game account, and generating operation guide information of the target game resource according to the historical game parameters so that the second game account uses the target game resource according to the operation guide information.
8. The method of claim 1, wherein obtaining the target game resource of the first game account based on the resource sharing request comprises at least one of:
obtaining game role resources of the first game account based on the resource sharing request;
obtaining game prop resources of the first game account based on the resource sharing request;
obtaining game permission resources of the first game account based on the resource sharing request;
obtaining game friend resources of the first game account based on the resource sharing request;
obtaining game progress resources of the first game account based on the resource sharing request;
and acquiring the role image configuration resources of the first game account based on the resource sharing request.
9. An apparatus for controlling game resources, comprising:
the system comprises a first receiving module, a second receiving module and a third receiving module, wherein the first receiving module is used for receiving a resource sharing request of a first client, the first client is used for logging in a first game account, and the resource sharing request is used for requesting to rent target game resources configured by the first game account;
an obtaining module, configured to obtain a target game resource of the first game account based on the resource sharing request;
the second receiving module is used for receiving a resource transferring request of a second client, wherein the second client is used for logging in a second game account, and the resource transferring request is used for requesting to rent the target game resource;
and the first allocation module is used for allocating the target game resource to the second game account.
10. A storage medium, in which a computer program is stored, wherein the computer program is arranged to perform the method of any of claims 1 to 8 when executed.
11. An electronic device comprising a memory and a processor, wherein the memory has stored therein a computer program, and wherein the processor is arranged to execute the computer program to perform the method of any of claims 1 to 8.
CN202111449944.3A 2021-11-30 2021-11-30 Game resource control method and device, storage medium and electronic device Pending CN114082196A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111449944.3A CN114082196A (en) 2021-11-30 2021-11-30 Game resource control method and device, storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111449944.3A CN114082196A (en) 2021-11-30 2021-11-30 Game resource control method and device, storage medium and electronic device

Publications (1)

Publication Number Publication Date
CN114082196A true CN114082196A (en) 2022-02-25

Family

ID=80306121

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111449944.3A Pending CN114082196A (en) 2021-11-30 2021-11-30 Game resource control method and device, storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN114082196A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116440504A (en) * 2023-03-31 2023-07-18 广州三七极耀网络科技有限公司 Game resource processing method, device and storage medium
CN116603243A (en) * 2023-07-21 2023-08-18 乐元素科技(北京)股份有限公司 Virtual resource transfer method, device, electronic equipment and medium
WO2024093675A1 (en) * 2022-11-02 2024-05-10 广州市百果园信息技术有限公司 Resource sharing method and apparatus, data query method and apparatus, and server

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024093675A1 (en) * 2022-11-02 2024-05-10 广州市百果园信息技术有限公司 Resource sharing method and apparatus, data query method and apparatus, and server
CN116440504A (en) * 2023-03-31 2023-07-18 广州三七极耀网络科技有限公司 Game resource processing method, device and storage medium
CN116440504B (en) * 2023-03-31 2024-03-29 广州三七极耀网络科技有限公司 Game resource processing method, device and storage medium
CN116603243A (en) * 2023-07-21 2023-08-18 乐元素科技(北京)股份有限公司 Virtual resource transfer method, device, electronic equipment and medium
CN116603243B (en) * 2023-07-21 2023-09-19 乐元素科技(北京)股份有限公司 Virtual resource transfer method, device, electronic equipment and medium

Similar Documents

Publication Publication Date Title
CN114082196A (en) Game resource control method and device, storage medium and electronic device
EP3531649B1 (en) Method and device for allocating augmented reality-based virtual objects
CN112346634A (en) Virtual article issuing method and device
JP2020513267A (en) Method and associated device for performing user matching
JP2013111399A (en) Game system
CN107911374B (en) Data synchronization method and device, storage medium and electronic device
US20160381158A1 (en) Automatic Invitation Delivery System
CN110910135A (en) Application resource transfer method and device, electronic equipment and storage medium
CN110624246A (en) Virtual resource acquisition method and device, storage medium and electronic equipment
CN105871938B (en) A kind of virtual resource configuration system, method and device
KR100635194B1 (en) System and method for changing game server by transferring gamer's property to another game server
CN111265870A (en) Control method and device of virtual operation object and storage medium
CN112138381A (en) Game data processing method and device, storage medium and electronic device
CN112468885B (en) Task processing method, electronic device and storage medium
JP2014117354A (en) Online game server
CN107408164A (en) The digital management of content assets in cloud
JP6719364B2 (en) Game system and program
WO2023103601A1 (en) Game control method and apparatus, computer device and storage medium
JP6770756B2 (en) Game system, computer programs and server devices used for it
CN113973009A (en) Method for giving and acquiring cloud game use right, storage medium and electronic equipment
CN108156206A (en) A kind of data transfering method, server, client and system
KR101183731B1 (en) Method and server for providing service of using item
US20200311785A1 (en) Automated virtual asset catalog for computer applications
JP2021090868A (en) Game system, computer program used therefor, and server device
CN113398600A (en) Method, device, equipment and medium for sending game gift package

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