Game resource transaction method and device, electronic equipment and storage medium
By introducing bid and winning probability mechanisms into the game, the unfairness of virtual resource transactions is solved, ensuring that players can obtain appropriate resources, and improving game experience and operation.
Patent Information
- Application Number
- CN202411073924.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-06
- Publication Date
- 2024-11-29
AI Technical Summary
There is an unfair problem of virtual resource transactions in existing games, which makes it difficult for ordinary players to obtain appropriate virtual resources, affecting the game experience and operation.
By allowing players to bid on the target game resources and pay the corresponding price, the winning probability is determined based on the bid and selling price, the winning player purchases resources according to the bid, controls the game plug-in purchase behavior, and ensures the fairness of resource transactions.
It effectively ensures that players can purchase appropriate virtual resources, improves the fairness of game experience and operation, and prevents game plug-ins from being rushed to purchase.
Smart Images

Figure CN119048209A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of game technology, and in particular to a game resource transaction method, device, electronic device and storage medium. Background Art
[0002] In order to meet people's pursuit of spiritual life, entertainment games that can be operated on terminals have emerged, such as multiplayer online action games, role-playing games, or tactical competitive games developed based on client or server architecture. In the game, players can manipulate the virtual characters on the screen to play the game, and can perform related operations such as walking, running, jumping, picking up props and fighting in the game scene based on the first or third perspective of the character operated by the player, so that players can experience the visual impact brought by the game in an immersive way, greatly enhancing the initiative and realism of the game.
[0003] In current role-playing games, players can usually sell or buy virtual equipment on trading platforms, and players can freely trade virtual equipment with each other. However, in the prior art, some players usually use game plug-ins to cheat in the game, and cheat through game plug-ins to improve the acquisition rate of virtual resources in the game, etc. For example, using game plug-ins to snap up high-cost virtual resources on the game trading platform, so that ordinary players cannot buy suitable virtual resources according to their needs, resulting in poor fairness of the game, thereby reducing the game experience of normal players and affecting the normal operation of the game. Summary of the invention
[0004] The embodiments of the present application provide a game resource trading method, device, electronic device and storage medium, which can first allow players to bid for target game resources and pay the corresponding price, and then determine the winning probability of each player based on the player's bid and the selling price of the target game resource. The winning player needs to purchase the target game resource according to his bid, effectively controlling the situation where players use game plug-ins to rush to buy cost-effective virtual resources on the game trading platform, thereby effectively ensuring the probability that players can purchase suitable products, ensuring the fairness of the game, thereby improving the gaming experience of normal players and ensuring the normal operation of the game.
[0005] In a first aspect, an embodiment of the present application provides a game resource transaction method, the method comprising:
[0006] Obtaining the selling price of a target game resource that is being sold, and bids of multiple game accounts for the target game resource;
[0007] determining a first bid among the bids that is higher than the selling price;
[0008] For each of the first bids, determining a target winning probability of the first game account corresponding to the first bid according to the first bid and the selling price, wherein the target winning probability is used to indicate a probability of the first game account winning the purchase qualification of the target game resource;
[0009] Based on each target winning probability, an account is extracted from each of the first game accounts to determine a winning game account.
[0010] In a second aspect, an embodiment of the present application provides a game resource transaction device, including:
[0011] An acquisition unit, used to acquire the selling price of a target game resource being sold, and bids of multiple game accounts for the target game resource;
[0012] A first determining unit, configured to determine a first bid among the bids that is higher than the selling price;
[0013] A second determining unit is configured to determine, for each of the first bids, a target winning probability of the first game account corresponding to the first bid according to the first bid and the selling price, wherein the target winning probability is used to indicate a probability that the first game account is selected to be eligible to purchase the target game resource;
[0014] The processing unit is used to extract an account from each of the first game accounts based on each target winning probability to determine a winning game account.
[0015] In a third aspect, an embodiment of the present application further provides an electronic device, comprising a memory storing a plurality of instructions; a processor loads instructions from the memory to execute the steps of any one of the game resource trading methods provided in the embodiments of the present application.
[0016] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, which stores a plurality of instructions suitable for loading by a processor to execute the steps of any one of the game resource trading methods provided in the embodiments of the present application.
[0017] In a fifth aspect, an embodiment of the present application further provides a computer program product, including a computer program or instructions, which, when executed by a processor, implements the steps of any one of the game resource trading methods provided in the embodiments of the present application.
[0018] By adopting the scheme of the embodiment of the present application, players can first bid for the target game resources and pay the corresponding price, and then determine the winning probability of each player based on the player's bid and the selling price of the target game resources. The winning player needs to purchase the target game resources according to his bid, effectively controlling the situation where players use game plug-ins to buy cost-effective virtual resources on the game trading platform, thereby effectively ensuring the probability that players can purchase suitable products, ensuring the fairness of the game, thereby improving the gaming experience of normal players and ensuring the normal operation of the game. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
[0020] Figure 1 is a scene diagram of a game resource trading system provided in an embodiment of the present application;
[0021] Figure 2 This is a flowchart of an embodiment of the game resource trading method provided in the embodiment of the present application;
[0022] Figure 3 is a schematic diagram of the structure of a game resource trading device provided in an embodiment of the present application;
[0023] Figure 4 It is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0024] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without making creative work are within the scope of protection of the present application. At the same time, in the description of the embodiments of the present application, the terms "first", "second", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance. Thus, the features defined as "first" and "second" may explicitly or implicitly include one or more features. In the description of the embodiments of the present application, the meaning of "multiple" is two or more, unless otherwise clearly and specifically defined.
[0025] The embodiments of the present application provide a game resource transaction method, device, electronic device, and computer-readable storage medium. Specifically, the present embodiment will be described from the perspective of the game resource transaction device, which can be integrated in an electronic device, that is, the game resource transaction method of the present application embodiment can be executed by an electronic device, and optionally, the electronic device can include: a terminal device. The terminal device can be a mobile phone, a tablet computer, a smart Bluetooth device, a laptop computer, a game console, or a personal computer (PC) and other devices.
[0026] The game resource transaction method provided in the embodiment of the present application can be applied to a game resource transaction system. The game resource transaction system may include a player terminal device and a server, and the terminal may be a device including both receiving and transmitting hardware, that is, a device having receiving and transmitting hardware capable of performing two-way communication on a two-way communication link. The player terminal device and the server may perform two-way communication via a network.
[0027] Optionally, the server may be an independent server, or a server network or server cluster composed of servers, including but not limited to a computer, a network host, a single network server, a plurality of network server sets or a cloud server composed of multiple servers. The cloud server is composed of a large number of computers or network servers based on cloud computing.
[0028] In one embodiment of the present disclosure, the game resource transaction method can be run on a local terminal device or a server. When the game resource transaction method is run on a server, the method can be implemented and executed based on a cloud interaction system, wherein the cloud interaction system includes a server and a client device.
[0029] For example, when the game resource transaction method is run on a terminal, the terminal device stores a game application and is used to present a virtual scene in the game screen. The terminal device is used to interact with the user through a graphical user interface, for example, the game application is downloaded and installed through the terminal device and run. The terminal device may provide the graphical user interface to the user in a variety of ways, for example, it may be rendered and displayed on the display screen of the terminal device, or the graphical user interface may be presented through holographic projection. For example, the terminal device may include a touch display screen and a processor, the touch display screen is used to present the graphical user interface and receive the operation instructions generated by the user acting on the graphical user interface, the graphical user interface includes a game screen, and the processor is used to run the game, generate the graphical user interface, respond to the operation instructions, and control the display of the graphical user interface on the touch display screen.
[0030] For example, when the game resource transaction method is run on a server, it can be a cloud game. Cloud gaming refers to a gaming method based on cloud computing. In the cloud gaming operation mode, the operating entity of the game application and the game screen presentation entity are separated, and the storage and operation of the game resource transaction method are completed on the cloud gaming server. The game screen presentation is completed on the client of the cloud gaming. The cloud gaming client is mainly used for receiving and sending game data and presenting the game screen. For example, the cloud gaming client can be a display device with data transmission function close to the user side, such as a mobile terminal, a TV, a computer, a handheld computer, a personal digital assistant, etc., but the terminal device for processing game data is a cloud gaming server in the cloud. When playing the game, the user operates the cloud gaming client to send an operation instruction to the cloud gaming server. The cloud gaming server runs the game according to the operation instruction, encodes and compresses the game screen and other data, and returns it to the cloud gaming client through the network. Finally, the cloud gaming client decodes and outputs the game screen.
[0031] See also Figure 1 , Figure 1 A scenario diagram of a game resource trading system provided by an embodiment of the present application. The system may include at least one terminal, at least one server, at least one database, and a network. The terminal held by the user can be connected to the server of different games through the network. The terminal is any device with computing hardware that can support and execute software products corresponding to the game. In addition, when the system includes multiple terminals, multiple servers, and multiple networks, different terminals can be connected to each other through different networks and different servers. The network can be a wireless network or a wired network, such as a wireless network such as a wireless local area network (WLAN), a local area network (LAN), a cellular network, a 2G network, a 3G network, a 4G network, a 5G network, etc. In addition, different terminals can also use their own Bluetooth network or hotspot network to connect to other terminals or to servers, etc. For example, multiple users can be online through different terminals and connected and synchronized with each other through appropriate networks to support multi-player games. In addition, the system may include multiple databases, multiple databases are coupled to different servers, and information related to the game environment can be continuously stored in the database when different users are online for multi-player games.
[0032] The embodiment of the present application provides a game resource transaction method, which can be executed by a terminal or a server. The embodiment of the present application takes the game resource transaction method executed by the terminal as an example for explanation. Among them, the terminal may include a touch screen and a processor (of course, the terminal may also use peripherals such as a mouse and a keyboard as input devices, and only the touch screen is used as an example for explanation here), and the touch screen is used to present a graphical user interface and receive operation instructions generated by the user acting on the graphical user interface. When the user operates the graphical user interface through the touch screen, the graphical user interface can control the local content of the terminal by responding to the received operation instructions, and can also control the content of the opposite server by responding to the received operation instructions. For example, the operation instructions generated by the user acting on the graphical user interface include instructions for starting a game application, and the processor is configured to start the game application after receiving the instructions for starting the game application provided by the user. In addition, the processor is configured to render and draw a graphical user interface associated with the game on the touch screen. The touch screen is a multi-touch sensitive screen that can sense touch or sliding operations performed simultaneously at multiple points on the screen. The user uses a finger to perform a touch operation on the graphical user interface, and when the graphical user interface detects the touch operation, the different virtual objects in the graphical user interface of the game are controlled to perform actions corresponding to the touch operation.
[0033] It should be noted that Figure 1 The scenario diagram of the game resource trading system shown is only an example. The game resource trading system and scenario described in the embodiment of the present application are intended to more clearly illustrate the technical solution of the embodiment of the present application, and do not constitute a limitation on the technical solution provided in the embodiment of the present application. Ordinary technicians in this field can know that with the emergence of new business scenarios, the technical solution provided in the embodiment of the present application is also applicable to similar technical problems.
[0034] The embodiment of the present application provides a game resource transaction method, which can be executed by a terminal or a server. The embodiment of the present application takes the game resource transaction method executed by a terminal as an example for explanation, and a graphical user interface can be provided by a terminal device, and the graphical user interface includes at least part of a virtual scene, and a controlled virtual character located in the virtual scene and controlled by the terminal device. The graphical user interface, virtual scene, and virtual object are explained below.
[0035] The game scene (or virtual scene) is a virtual scene displayed (or provided) when the application is running on a terminal or server. Optionally, the virtual scene is a simulation environment of the real world, or a semi-simulation and semi-fictitious virtual environment, or a purely fictitious virtual environment. The virtual scene is any one of a two-dimensional virtual scene and a three-dimensional virtual scene, and the virtual environment can be the sky, land, ocean, etc., wherein the land includes environmental elements such as deserts and cities. Among them, the virtual scene is a scene with complete game logic of virtual objects such as user control. For example, for sandbox 3D shooting games, the virtual scene is a 3D game world for players to control virtual objects to fight. Example virtual scenes may include: at least one element of mountains, plains, rivers, lakes, oceans, deserts, skies, plants, buildings, and vehicles; for example, for 2D card games, the virtual scene is a scene for displaying released cards or displaying virtual objects corresponding to cards. Example virtual scenes may include: an arena, a decisive battlefield, or other "field" elements or other elements that can display the status of card battles; for 2D or 3D multiplayer online tactical competitive games, the virtual scene is a 2D or 3D terrain scene for virtual objects to fight. Example virtual scenes may include: canyon-style mountains, lines, rivers, classrooms, tables and chairs, podiums and other elements.
[0036] The graphical user interface is obtained by executing a software application on a processor of a mobile terminal or other terminal and rendering it on a display, and can be a display screen interface of a terminal device. The graphical user interface can present the entire game scene, or only a part of the game scene. The game scene includes multiple static virtual objects, specifically including ground, mountains, rocks, vegetation, buildings, etc. When the game scene is relatively large, only the local content of the game scene is displayed on the graphical user interface of the terminal device during the game. Optionally, the game scene contains game characters, which can be game characters controlled by players, or NPCs (abbreviation of Non-Player Character, which is a type of character in the game, meaning non-player characters), which is not limited in this exemplary embodiment. The graphical user interface can include a UI interface and a game screen for players to interact. In an optional embodiment, the UI interface can include game controls (such as skill controls, mobile controls, function controls, etc.), indicator signs (such as direction indicator signs, role indicator signs, etc.), information display areas (such as the number of kills, game time, etc.), or game setting controls (such as system settings, stores, gold coins, etc.). In an optional implementation, the game screen is a display screen corresponding to a virtual scene displayed by a terminal device, and the game screen may include virtual objects such as game characters, NPC characters, AI characters, etc. that execute game logic in the virtual scene.
[0037] A game object (or virtual object, virtual character, game character) refers to a dynamic object that can be controlled in a virtual scene. Optionally, the dynamic object can be a virtual character, a virtual animal, a cartoon character, etc. The virtual object is a character controlled by a player through an input device, or an artificial intelligence (AI) set in a virtual environment battle through training, or a non-player character (NPC) set in a virtual scene battle. Optionally, the virtual object is a virtual character competing in a virtual scene. Optionally, the number of virtual objects in the virtual scene battle is preset, or is dynamically determined according to the number of clients joining the battle, and the embodiment of the present application does not limit this. In a possible implementation, a user can control a virtual object to move in the virtual scene, for example, control a virtual object to run, jump, crawl, etc., and can also control a virtual object to fight with other virtual objects using skills, virtual props, etc. provided by an application. (Game) props refer to props that can be used by virtual objects in a virtual environment, including but not limited to firearms, cold weapons, grenades, shields, springboards, puppets, etc., which can be used by virtual objects to speed up their own attributes, assist in combat, or launch damage to other virtual objects. Virtual props can also be supply props such as bullets, and can also be equipped on designated virtual weapons for accessories such as extended magazines, aiming scopes, flash suppressors, and stocks. The virtual camera is a necessary component for the game scene screen, which is used to present the game scene screen. A game scene corresponds to at least one virtual camera. According to actual needs, there can be two or more virtual cameras, which serve as the game rendering window to capture and present the game world's screen content to the player. By setting the parameters of the virtual camera, the player's perspective of viewing the game world can be adjusted, such as the first-person perspective and the third-person perspective.
[0038] The following is a detailed description in conjunction with the accompanying drawings. In this embodiment, the execution subject is a terminal device as an example. It should be noted that the description order of the following embodiments is not intended to limit the preferred order of the embodiments. Although the logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in an order different from that shown in the accompanying drawings.
[0039] See also Figure 2 , Figure 2 This is a flowchart of a game resource trading method provided in an embodiment of the present application. The specific process of the game resource trading method may be as follows: Steps 101 to 104:
[0040] Step 101: Obtain the selling price of a target game resource that is being sold, and bids for the target game resource from multiple game accounts.
[0041] In an embodiment of the present application, a terminal device corresponding to each of the multiple game accounts provides a graphical user interface, wherein the graphical user interface displays a resource bidding page of the target game resource, wherein the selling price of the target game resource on the resource bidding page is visible or invisible, and the resource bidding page is used to receive the bid of the game account for the target game resource. Among them, the virtual resource can be any one or more of virtual equipment, virtual props, virtual skin, and / or virtual accessories. Preferably, in order to allow players who really want to purchase the target game resource to have a step to consider how to bid and how much to bid, so as to reduce the situation where "scalpers" in the game specifically purchase high-value game resources and then resell them for the second time, the selling price of the target game resource on the resource bidding page is invisible.
[0042] Specifically, in order to prevent cheat players from maliciously purchasing virtual resources, which would prevent other players from normally obtaining game resources, when the target game resources are displayed on the graphical user interface provided by the terminal device corresponding to the game account, only the resource details and resource attribute values of the target game resources may be displayed, and the selling price of the target virtual resources may be hidden so that players cannot know the actual selling price of the target game resources.
[0043] Step 102: Determine a first bid among the bids that is higher than the selling price.
[0044] In the embodiment of the present application, the bid higher than the selling price of the product can be used as the first bid, and the game accounts of each first bid can be determined. For example, the selling price of the target game resource is 800, and the first candidate game account, the second candidate game account, the third candidate game account, and the fourth candidate game account that have bid for the target game resource are obtained. The bid of the first candidate game account is 700, the bid of the second candidate game account is 900, the bid of the third candidate game account is 1100, and the bid of the fourth candidate game account is 1000. Then, the first game account corresponding to the first bid can be determined as the second candidate game account, the third candidate game account, and the fourth candidate game account.
[0045] Step 103: for each of the first bids, determine a target winning probability of the first game account corresponding to the first bid according to the first bid and the selling price, wherein the target winning probability is used to indicate the probability of the first game account winning the purchase qualification of the target game resource.
[0046] Specifically, for the second candidate game account, the third candidate game account, and the fourth candidate game account, the target winning probability of each game account can be determined according to their corresponding first bids and selling prices.
[0047] Step 104: extracting an account from the game accounts corresponding to the first bids based on the target winning probabilities to determine the winning game account.
[0048] Specifically, at the end of the lottery time, an account can be drawn from the first game accounts corresponding to the first bids according to the target winning probability of each first game account to determine the winning game account, so that the winning game account is used as the successful purchaser of the target game resources, and the bid amounts paid by the remaining game accounts are returned in the original way.
[0049] In summary, the embodiment of the present application provides a game resource trading method, by obtaining the selling price of the target game resource on sale and the bids of multiple game accounts for the target game resource; then, determining the first bid higher than the selling price among the bids; then, for each of the first bids, determining the target winning probability of the first game account corresponding to the first bid according to the first bid and the selling price, wherein the target winning probability is used to indicate the probability of the first game account winning the purchase qualification of the target game resource; finally, based on each target winning probability, an account is extracted from each of the first game accounts to determine the winning game account. In the embodiment of the present application, the player can first bid for the target game resource and pay the corresponding price, and then determine the winning probability of each player according to the bid of the player and the selling price of the target game resource. The winning player needs to purchase the target game resource according to his bid, effectively controlling the situation where the player uses the game plug-in to snap up the high-cost-effective virtual resources on the trading platform in the game, thereby effectively ensuring the probability that the player can purchase suitable goods, ensuring the fairness of the game, thereby improving the game experience of normal players, and ensuring the normal operation of the game.
[0050] Based on the above introduction, the game resource trading method of the present application will be further illustrated by examples below. The specific implementation example of the game resource trading method is as follows.
[0051] In one embodiment, the step of “determining the target winning probability of the first game account corresponding to the first bid according to the first bid and the selling price” may include:
[0052] Obtaining the number of first game accounts corresponding to all first bids, and performing calculation based on the number of accounts and a first preset probability to obtain a basic winning probability of each of the first game accounts, wherein the basic winning probability of each of the first game accounts is the same;
[0053] Determine the increase of the first bid of each first game account compared to the selling price, and calculate based on the increase of each first game account and a second preset probability to obtain the bonus winning probability of each first game account, wherein the sum of the first preset probability and the second preset probability is a specified value;
[0054] Based on the basic winning probability and the added winning probability, a target winning probability of each of the first game accounts is determined.
[0055] Specifically, in the embodiment of the present application, the target winning probability can be divided into a comprehensive part probability (i.e., a basic winning probability) and a value-added part probability (i.e., a bonus winning probability), and the distribution ratio of the above two probabilities may be different according to the category of the game resources. Among them, the comprehensive part probability can be X, and the first game accounts N with all valid bids (i.e., the first bid) equally divide the comprehensive part probability X, that is, the comprehensive part probability of each first-bid first game account is X / N; the value-added part probability is Y, and it should be noted that the sum of X and Y needs to be equal to 100%. At this time, the sum of all the increases in the bids of the first game accounts of each first bid that are higher than the selling price of the target game resources can be taken, and the percentage of increase in each bid higher than the selling price can be calculated, and then the value-added part probability Y is allocated according to the calculated percentage of increase; finally, the calculated comprehensive part probability and value-added part probability are added together to determine the target winning probability of the first game account with the first bid.
[0056] In a specific embodiment, the step of “calculating based on the number of accounts and the first preset probability to obtain the basic winning probability of each of the first game accounts” includes:
[0057] A first ratio of the first preset probability to the number of accounts is obtained, and the first ratio is used as a basic winning probability of the first game account.
[0058] For example, the selling price of the target game resource is 1000, and the first candidate game account, second candidate game account, third candidate game account, fourth candidate game account and fifth candidate game account that have bid for the target game resource are obtained. The bid of the first candidate game account is 900, the bid of the second candidate game account is 1100, the bid of the third candidate game account is 1200, the bid of the fourth candidate game account is 1300, and the bid of the fifth game account is 1400. It can be determined that the first game account corresponding to the first bid is the second candidate game account, the third candidate game account, the fourth candidate game account and the fifth candidate game account.
[0059] Furthermore, the steps of determining the target winning probability are illustrated by taking the second candidate game account as an example. Specifically, at this time, the number of first game accounts that made the first bid is 4, and the first preset probability is 80%. The first preset probability can be averaged based on the number of accounts, and the obtained target average value is used as the basic winning probability of all first game accounts, that is, the basic winning probability of the second candidate game account, the third candidate game account, the fourth candidate game account, and the fifth candidate game account can be determined to be 20%.
[0060] Furthermore, the step of “calculating based on the increase in each of the first game accounts and the second preset probability to obtain the bonus winning probability of each of the first game accounts” includes:
[0061] Adding up the increments of all the first game accounts to obtain a first sum;
[0062] Obtaining a second ratio of the increase in the first game account to the first sum;
[0063] A target product of the second ratio and a second preset probability is obtained, and the target product is used as the bonus winning probability of the first game account.
[0064] For example, the differences between the second candidate game account, the third candidate game account, the fourth candidate game account and the fifth candidate game account and the selling price can be obtained as the increase, that is, it can be determined that the difference between the second candidate game account and the selling price is 100, the difference between the third candidate game account and the selling price is 200, the difference between the fourth candidate game account and the selling price is 300, and the difference between the fifth candidate game account and the selling price is 400.
[0065] Further, the increase of all the first game accounts can be added to obtain a first sum value, where the first sum value is 1000, which is the sum of the difference between the second candidate game account and the selling price of 100, the difference between the third candidate game account and the selling price of 200, the difference between the fourth candidate game account and the selling price of 300, and the difference between the fifth candidate game account and the selling price of 400. Then, taking the calculation of the bonus winning probability of the second candidate game account as an example for explanation, a second ratio of the increase of the second candidate game account to the first sum value can be obtained, that is, a first ratio of 100 / 1000, where the difference between the second candidate game account and the selling price of 100 and the first sum value of 1000 is obtained. Finally, the second preset probability can be 20%, and a target product of the second ratio and the second preset probability is obtained, and the target product is used as the bonus winning probability of the second candidate game account, that is, the first ratio 100 / 1000 is multiplied by 20% to obtain a target product of 2%, that is, the bonus winning probability of the second candidate game account is determined to be 2%. Furthermore, based on the above method, it can be calculated that the bonus winning probabilities of the third candidate game account, the fourth candidate game account and the fifth candidate game account are 4%, 6% and 8% respectively.
[0066] In a specific embodiment, the step of “determining the target winning probability of each first game account based on the basic winning probability and the added winning probability” includes:
[0067] A second sum of the basic winning probability and the added winning probability is obtained as a target winning probability of the first game account.
[0068] Specifically, the target winning probability of the second candidate game account can be determined to be 22% based on the basic winning probability of 20% and the bonus winning probability of 2%. Furthermore, the target winning probability of the third candidate game account can be determined to be 24%, the target winning probability of the fourth candidate game account can be determined to be 26%, and the target winning probability of the fifth candidate game account can be determined to be 28% based on the above method.
[0069] Optionally, the method further includes:
[0070] Obtaining an account weight of each of the first game accounts, wherein the account weight is determined based on historical purchase data and / or account attributes of the first game account;
[0071] Based on the account weight, the basic winning probability, and the bonus winning probability, a target winning probability for each of the first game accounts is determined.
[0072] For example, in an embodiment of the present application, in order to consider the probability of winning in more dimensions, the higher the account weight of the game account, the higher the target probability of winning. Specifically, based on the historical purchase data of the game account, it can be determined that the higher the number of historical purchase orders and / or the total amount of historical purchases, the higher the account weight of the game account; or, based on the account attributes, it can be determined that the higher the game account level and / or the game online time, the higher the account weight of the game account. For example, if the total amount of historical purchases of the first candidate game account is higher than the total amount of historical purchases of the second candidate game account, the account weight assigned to the first candidate game account is higher than the account weight assigned to the second candidate game account; for another example, if the game account level of the first candidate game account is lower than the game account level of the second candidate game account, the account weight assigned to the second candidate game account is higher than the account weight assigned to the second candidate game account.
[0073] Optionally, the selling price of the target game resource is 1000, and the first candidate game account, the second candidate game account, the third candidate game account, the fourth candidate game account and the fifth candidate game account that have bid for the target game resource are obtained, and the bid of the first candidate game account is 900, the bid of the second candidate game account is 1100, the bid of the third candidate game account is 1200, the bid of the fourth candidate game account is 1300, and the bid of the fifth candidate game account is 1400. It can be determined that the bids of the second candidate game account, the third candidate game account, the fourth candidate game account and the fifth candidate game account are added to the total pool of the lottery amount for the target game resources, and the bid of the first candidate game account is not added to the total pool of the lottery amount for the target game resources.
[0074] Specifically, the method further includes:
[0075] determining a second bid among the bids that is lower than the selling price;
[0076] The winning probability of the second game account corresponding to each of the second bids is set to the specified winning probability.
[0077] Specifically, the winning probability of a game account whose bid for the target game resource is less than the selling price can be set to 0. For example, the selling price of the target game resource is 1000, and the first candidate game account, the second candidate game account, the third candidate game account, the fourth candidate game account, and the fifth candidate game account that have bid for the target game resource are obtained. The bid of the first candidate game account is 900, the bid of the second candidate game account is 1100, the bid of the third candidate game account is 1200, the bid of the fourth candidate game account is 1300, and the bid of the fifth candidate game account is 1400. Then, it can be determined that the first candidate game account is a game account whose bid is less than the selling price, and the winning probability of the first candidate game account can be set to 0.
[0078] In one embodiment, the step of “after extracting an account from each of the first game accounts based on each target winning probability to determine a winning game account” further includes:
[0079] The target game resources are issued to the winning game account, and corresponding bids are returned to all other game accounts that bid, wherein the other game accounts are game accounts other than the winning game account among the multiple game accounts.
[0080] Specifically, at the end of the lottery time, according to the target winning probability of each game account, an account can be drawn from the first game accounts corresponding to each first bid to determine the winning game account, so that the winning game account is regarded as the successful purchaser of the target game resource, and the winning game account will purchase the target game resource with its bid, so that the winning game account can obtain the target game resource; at the same time, the bids paid by other game accounts can also be returned. For example, the selling price of the target game resource is 1000, and the first candidate game account, the second candidate game account, the third candidate game account, the fourth candidate game account and the fifth candidate game account that have bid for the target game resource are obtained. The bid of the first candidate game account is 900, the bid of the second candidate game account is 1100, the bid of the third candidate game account is 1200, the bid of the fourth candidate game account is 1300, and the bid of the fifth candidate game account is 1400. Then it can be determined that the second candidate game account, the third candidate game account, the fourth candidate game account and the fifth candidate game account will be the successful purchaser of the target game resource. The fifth candidate game account is added to the extraction pool of the target game resources, and the target winning probability determination step is performed on the above-mentioned first game accounts. At this time, it can be determined that the target winning probability of the first candidate game account is 0, the target winning probability of the second candidate game account is 22%, the target winning probability of the third candidate game account is 24%, the target winning probability of the fourth candidate game account is 26%, and the target winning probability of the fifth candidate game account is 28%. According to the winning probability of each game account, an account is drawn from the first game accounts corresponding to each first bid to determine the winning game account.
[0081] Optionally, before the lottery time ends, each game account can modify the bid at any time, for example, by increasing the bid to increase the probability of winning.
[0082] In summary, the embodiment of the present application provides a game resource trading method, by obtaining the selling price of the target game resource on sale and the bids of multiple game accounts for the target game resource; then, determining the first bid higher than the selling price among the bids; then, for each of the first bids, determining the target winning probability of the first game account corresponding to the first bid according to the first bid and the selling price, wherein the target winning probability is used to indicate the probability of the first game account winning the purchase qualification of the target game resource; finally, based on each target winning probability, an account is extracted from each of the first game accounts to determine the winning game account. In the embodiment of the present application, the player can first bid for the target game resource and pay the corresponding price, and then determine the winning probability of each player according to the bid of the player and the selling price of the target game resource. The winning player needs to purchase the target game resource according to his bid, effectively controlling the situation where the player uses the game plug-in to snap up the high-cost-effective virtual resources on the trading platform in the game, thereby effectively ensuring the probability that the player can purchase suitable goods, ensuring the fairness of the game, thereby improving the game experience of normal players, and ensuring the normal operation of the game.
[0083] This embodiment also provides a game resource transaction device, which can be integrated into a terminal device. Figure 3 As shown, the game resource transaction device may include:
[0084] The acquisition unit 201 is used to acquire the selling price of the target game resource being sold, and the bids of multiple game accounts for the target game resource;
[0085] A first determining unit 202, configured to determine a first bid among the bids that is higher than the selling price;
[0086] A second determining unit 203 is configured to determine, for each of the first bids, a target winning probability of the first game account corresponding to the first bid according to the first bid and the selling price, wherein the target winning probability is used to indicate a probability of the first game account winning the purchase qualification of the target game resource;
[0087] The processing unit 204 is used to extract an account from each of the first game accounts based on each target winning probability to determine a winning game account.
[0088] In some embodiments, the game resource transaction device includes a processing subunit, which is used to:
[0089] Obtaining the number of first game accounts corresponding to all first bids, and performing calculation based on the number of accounts and a first preset probability to obtain a basic winning probability of each of the first game accounts, wherein the basic winning probability of each of the first game accounts is the same;
[0090] Determine the increase of the first bid of each first game account compared to the selling price, and calculate based on the increase of each first game account and a second preset probability to obtain the bonus winning probability of each first game account, wherein the sum of the first preset probability and the second preset probability is a specified value;
[0091] Based on the basic winning probability and the added winning probability, a target winning probability of each of the first game accounts is determined.
[0092] In some embodiments, the game resource transaction device includes a processing subunit, which is used to:
[0093] A first ratio of the first preset probability to the number of accounts is obtained, and the first ratio is used as a basic winning probability of the first game account.
[0094] In some embodiments, the game resource transaction device includes a processing subunit, which is used to:
[0095] Adding up the increments of all the first game accounts to obtain a first sum;
[0096] Obtaining a second ratio of the increase in the first game account to the first sum;
[0097] A target product of the second ratio and a second preset probability is obtained, and the target product is used as the bonus winning probability of the first game account.
[0098] In some embodiments, the game resource transaction device includes a processing subunit, which is used to:
[0099] A second sum of the basic winning probability and the added winning probability is obtained as a target winning probability of the first game account.
[0100] In some embodiments, the game resource transaction device includes a processing subunit, which is used to:
[0101] Obtaining an account weight of each of the first game accounts, wherein the account weight is determined based on historical purchase data and / or account attributes of the first game account;
[0102] Based on the account weight, the basic winning probability, and the bonus winning probability, a target winning probability for each of the first game accounts is determined.
[0103] In some embodiments, the game resource transaction device includes a processing subunit, which is used to:
[0104] determining a second bid among the bids that is lower than the selling price;
[0105] The winning probability of the second game account corresponding to each of the second bids is set to the specified winning probability.
[0106] In some embodiments, the game resource transaction device includes a processing subunit, which is used to:
[0107] The target game resources are issued to the winning game account, and corresponding bids are returned to all other game accounts that bid, wherein the other game accounts are game accounts other than the winning game account among the multiple game accounts.
[0108] The embodiment of the present application discloses a game resource trading device, which obtains the selling price of a target game resource on sale and bids of multiple game accounts for the target game resource through an acquisition unit 201; a first determination unit 202 determines a first bid among the bids that is higher than the selling price; a second determination unit 203 determines, for each of the first bids, a target winning probability of a first game account corresponding to the first bid according to the first bid and the selling price, wherein the target winning probability is used to indicate the probability that the first game account is drawn to be eligible to purchase the target game resource; a processing unit 204 extracts an account from each of the first game accounts based on each target winning probability to determine a winning game account. In an embodiment of the present application, players can first bid for the target game resources and pay the corresponding price, and then the winning probability of each player is determined based on the player's bid and the selling price of the target game resources. The winning player needs to purchase the target game resources according to his bid, effectively controlling the situation where players use game plug-ins to buy cost-effective virtual resources on the game trading platform, thereby effectively ensuring the probability that players can purchase suitable products, ensuring the fairness of the game, thereby improving the gaming experience of normal players and ensuring the normal operation of the game.
[0109] Accordingly, an embodiment of the present application further provides an electronic device, which may be a terminal, and the terminal may be a smart phone, a tablet computer, a laptop computer, a touch screen, a game console, a personal computer (PC, Personal Computer), a personal digital assistant (Personal Digital Assistant, PDA) and other terminal devices. Alternatively, the electronic device may be a server.
[0110] like Figure 4 As shown, Figure 4A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. The electronic device 300 includes a processor 301 having one or more processing cores, a memory 302 having one or more computer-readable storage media, and a computer program stored in the memory 302 and executable on the processor. The processor 301 is electrically connected to the memory 302. Those skilled in the art will appreciate that the electronic device structure shown in the figure does not constitute a limitation on the electronic device, and may include more or fewer components than shown, or combine certain components, or arrange components differently.
[0111] The processor 301 is the control center of the electronic device 300. It uses various interfaces and lines to connect various parts of the entire electronic device 300, and executes various functions and processes data of the electronic device 300 by running or loading software programs and / or units stored in the memory 302, and calling data stored in the memory 302, so as to monitor the electronic device 300 as a whole. The processor 301 can be a central processing unit CPU, a graphics processing unit GPU, a network processor (Network Processor, NP), etc., and can implement or execute the various methods, steps and logic block diagrams disclosed in the embodiments of the present application.
[0112] In the embodiment of the present application, the processor 301 in the electronic device 300 will load instructions corresponding to the processes of one or more application programs into the memory 302 according to the following steps, and the processor 301 will run the application programs stored in the memory 302 to implement various functions, such as:
[0113] Obtaining the selling price of a target game resource that is being sold, and bids of multiple game accounts for the target game resource;
[0114] determining a first bid among the bids that is higher than the selling price;
[0115] For each of the first bids, determining a target winning probability of the first game account corresponding to the first bid according to the first bid and the selling price, wherein the target winning probability is used to indicate a probability of the first game account winning the purchase qualification of the target game resource;
[0116] Based on each target winning probability, an account is extracted from each of the first game accounts to determine a winning game account.
[0117] The electronic device provided in the embodiment of the present application obtains the selling price of the target game resource on sale and the bids of multiple game accounts for the target game resource; then, determines the first bid higher than the selling price among the bids; then, for each of the first bids, determines the target winning probability of the first game account corresponding to the first bid according to the first bid and the selling price, wherein the target winning probability is used to indicate the probability of the first game account winning the purchase qualification of the target game resource; finally, based on each target winning probability, accounts are extracted from each of the first game accounts to determine the winning game account. In the embodiment of the present application, the player can first bid for the target game resource and pay the corresponding price, and then determine the winning probability of each player according to the bid of the player and the selling price of the target game resource. The winning player needs to purchase the target game resource according to his bid, effectively controlling the situation where the player uses the game plug-in to rush to buy the high-cost-effective virtual resources on the trading platform in the game, thereby effectively ensuring the probability that the player can purchase suitable goods, ensuring the fairness of the game, thereby improving the game experience of normal players, and ensuring the normal operation of the game.
[0118] The specific implementation of the above operations can be found in the previous embodiments, which will not be described in detail here.
[0119] Optional, such as Figure 4 As shown, the electronic device 300 further includes: a touch screen 303, a radio frequency circuit 304, an audio circuit 305, an input unit 306, and a power supply 307. The processor 301 is electrically connected to the touch screen 303, the radio frequency circuit 304, the audio circuit 305, the input unit 306, and the power supply 307, respectively. Those skilled in the art can understand that Figure 4 The electronic device structure shown in the figure does not constitute a limitation of the electronic device, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.
[0120] The touch display screen 303 can be used to display a graphical user interface and receive operation instructions generated by the user acting on the graphical user interface. The touch display screen 303 may include a display panel and a touch panel. Among them, the display panel can be used to display information input by the user or information provided to the user and various graphical user interfaces of the electronic device, and these graphical user interfaces can be composed of graphics, text, icons, videos and any combination thereof. Optionally, the display panel can be configured in the form of a liquid crystal display (LCD, Liquid Crystal Display), an organic light-emitting diode (OLED, Organic Light-Emitting Diode) and the like. The touch panel can be used to collect the user's touch operation on or near it (such as the user uses any suitable object or attachment such as a finger, a stylus, etc. on the touch panel or near the touch panel), and generate corresponding operation instructions, and the operation instructions execute corresponding programs. Optionally, the touch panel may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch direction, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into the touch point coordinates, and then sends it to the processor 301, and can receive the command sent by the processor 301 and execute it. The touch panel can cover the display panel. When the touch panel detects a touch operation on or near it, it is transmitted to the processor 301 to determine the type of touch event, and then the processor 301 provides a corresponding visual output on the display panel according to the type of touch event. In an embodiment of the present application, the touch panel and the display panel can be integrated into the touch display screen 303 to realize the input and output functions. However, in some embodiments, the touch panel and the touch panel can be used as two independent components to realize the input and output functions. That is, the touch display screen 303 can also be used as a part of the input unit 306 to realize the input function.
[0121] The radio frequency circuit 304 may be used to send and receive radio frequency signals, so as to establish wireless communication with a network device or other electronic devices through wireless communication, and to send and receive signals with the network device or other electronic devices.
[0122] The audio circuit 305 can be used to provide an audio interface between the user and the electronic device through a speaker and a microphone. The audio circuit 305 can transmit the electrical signal converted from the received audio data to the speaker, which is converted into a sound signal for output; on the other hand, the microphone converts the collected sound signal into an electrical signal, which is received by the audio circuit 305 and converted into audio data, and then the audio data is output to the processor 301 for processing, and then sent to another electronic device through the radio frequency circuit 304, or the audio data is output to the memory 302 for further processing. The audio circuit 305 may also include an earplug jack to provide communication between an external headset and the electronic device.
[0123] The input unit 306 may be used to receive input numbers, character information or user feature information (such as fingerprint, iris, facial information, etc.), and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control.
[0124] The power supply 307 is used to supply power to various components of the electronic device 300. Optionally, the power supply 307 can be logically connected to the processor 301 through a power management system, so that the power management system can manage charging, discharging, and power consumption. The power supply 307 can also include one or more DC or AC power supplies, recharging systems, power failure detection circuits, power converters or inverters, power status indicators, and other arbitrary components.
[0125] although Figure 4 Not shown, the electronic device 300 may also include a camera, a sensor, a wireless fidelity module, a Bluetooth module, etc., which will not be described in detail here.
[0126] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0127] A person of ordinary skill in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be completed by instructions, or by controlling related hardware through instructions. The instructions may be stored in a computer-readable storage medium and loaded and executed by a processor.
[0128] To this end, the present application embodiment provides a computer-readable storage medium, which stores multiple computer programs, which can be loaded by a processor to execute any of the game resource trading methods provided in the present application embodiment. The computer program can execute the following steps of the game resource trading method:
[0129] Obtaining the selling price of a target game resource that is being sold, and bids of multiple game accounts for the target game resource;
[0130] determining a first bid among the bids that is higher than the selling price;
[0131] For each of the first bids, determining a target winning probability of the first game account corresponding to the first bid according to the first bid and the selling price, wherein the target winning probability is used to indicate a probability of the first game account winning the purchase qualification of the target game resource;
[0132] Based on each target winning probability, an account is extracted from each of the first game accounts to determine a winning game account.
[0133] Due to the computer program stored in the storage medium, by obtaining the selling price of the target game resource on sale and the bids of multiple game accounts for the target game resource; then, determining the first bid higher than the selling price among the bids; then, for each of the first bids, determining the target winning probability of the first game account corresponding to the first bid according to the first bid and the selling price, wherein the target winning probability is used to indicate the probability of the first game account winning the purchase qualification of the target game resource; finally, extracting an account from each of the first game accounts based on each target winning probability to determine the winning game account. In the embodiment of the present application, the player can first bid for the target game resource and pay the corresponding price, and then determine the winning probability of each player according to the bid of the player and the selling price of the target game resource, and the winning player needs to purchase the target game resource according to his bid, effectively controlling the situation where the player uses the game plug-in to snap up the high-cost-effective virtual resources on the trading platform in the game, thereby effectively ensuring the probability that the player can purchase suitable goods, ensuring the fairness of the game, thereby improving the game experience of normal players, and ensuring the normal operation of the game.
[0134] The specific implementation of the above operations can be found in the previous embodiments, which will not be described in detail here.
[0135] The computer-readable storage medium may include: a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.
[0136] Since the computer program stored in the computer-readable storage medium can execute any one of the game resource trading methods provided in the embodiments of the present application, the beneficial effects that can be achieved by any one of the game resource trading methods provided in the embodiments of the present application can be achieved. Please refer to the previous embodiments for details and will not be repeated here.
[0137] According to one aspect of the present application, a computer program product or a computer program is also provided, the computer program product or the computer program including computer instructions, the computer instructions being stored in a computer-readable storage medium. A processor of an electronic device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the electronic device executes the methods provided in various optional implementations of the above embodiments.
[0138] In the above-mentioned game resource transaction device, computer-readable storage medium, electronic device, and computer program product embodiments, the description of each embodiment has its own emphasis. For parts not described in detail in a certain embodiment, reference can be made to the relevant description of other embodiments. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working process and beneficial effects of the above-mentioned game resource transaction device, computer-readable storage medium, computer program product, electronic device and its corresponding units can refer to the description of the game resource transaction method in the above embodiment, and will not be repeated here.
[0139] The above is a detailed introduction to a game resource trading method, device, electronic device, computer-readable storage medium and computer program product provided in the embodiments of the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for technical personnel in this field, according to the ideas of the present application, there will be changes in the specific implementation methods and application scopes. In summary, the content of this specification should not be understood as a limitation on the present application.
Claims
1. A game resource trading method, characterized in that: include: Obtaining the selling price of a target game resource that is being sold, and bids of multiple game accounts for the target game resource; determining a first bid among the bids that is higher than the selling price; For each of the first bids, determining a target winning probability of the first game account corresponding to the first bid according to the first bid and the selling price, wherein the target winning probability is used to indicate a probability of the first game account winning the purchase qualification of the target game resource; Based on each target winning probability, an account is extracted from each of the first game accounts to determine a winning game account.
2. The method according to claim 1, characterized in that: The determining, according to the first bid and the selling price, a target winning probability of the first game account corresponding to the first bid includes: Obtaining the number of first game accounts corresponding to all first bids, and performing calculation based on the number of accounts and a first preset probability to obtain a basic winning probability of each of the first game accounts, wherein the basic winning probability of each of the first game accounts is the same; Determine the increase of the first bid of each first game account compared to the selling price, and calculate based on the increase of each first game account and a second preset probability to obtain the bonus winning probability of each first game account, wherein the sum of the first preset probability and the second preset probability is a specified value; Based on the basic winning probability and the added winning probability, a target winning probability of each of the first game accounts is determined.
3. The method according to claim 2, characterized in that The calculation based on the number of accounts and the first preset probability to obtain the basic winning probability of each of the first game accounts includes: A first ratio of the first preset probability to the number of accounts is obtained, and the first ratio is used as a basic winning probability of the first game account.
4. The method according to claim 2, characterized in that: The calculation based on the increase of each first game account and the second preset probability to obtain the bonus winning probability of each first game account includes: Adding up the increments of all the first game accounts to obtain a first sum; Obtaining a second ratio of the increase in the first game account to the first sum; A target product of the second ratio and a second preset probability is obtained, and the target product is used as the bonus winning probability of the first game account.
5. The method according to claim 2, characterized in that: The determining, based on the basic winning probability and the added winning probability, a target winning probability of each of the first game accounts includes: A second sum of the basic winning probability and the added winning probability is obtained as a target winning probability of the first game account.
6. The method according to claim 2, characterized in that The method further comprises: Obtaining an account weight of each of the first game accounts, wherein the account weight is determined based on historical purchase data and / or account attributes of the first game account; Based on the account weight, the basic winning probability, and the bonus winning probability, a target winning probability for each of the first game accounts is determined.
7. The method according to claim 1, characterized in that The method further comprises: determining a second bid among the bids that is lower than the selling price; The winning probability of the second game account corresponding to each of the second bids is set to the specified winning probability.
8. The method according to claim 1, characterized in that After extracting an account from each of the first game accounts based on each target winning probability to determine a winning game account, the method further includes: The target game resources are issued to the winning game account, and corresponding bids are returned to all other game accounts that bid, wherein the other game accounts are game accounts other than the winning game account among the multiple game accounts.
9. The method according to claim 1, characterized in that: The terminal device corresponding to the game account provides a graphical user interface, which displays a resource bidding page of the target game resource, wherein the selling price of the target game resource on the resource bidding page is invisible, and the resource bidding page is used to receive the bid of the game account for the target game resource.
10. A game resource trading device, characterized in that: include: An acquisition unit, used to acquire the selling price of a target game resource being sold, and bids of multiple game accounts for the target game resource; A first determining unit, configured to determine a first bid among the bids that is higher than the selling price; A second determining unit is configured to determine, for each of the first bids, a target winning probability of the first game account corresponding to the first bid according to the first bid and the selling price, wherein the target winning probability is used to indicate a probability that the first game account is selected to be eligible to purchase the target game resource; The processing unit is used to extract an account from each of the first game accounts based on each target winning probability to determine a winning game account.
11. An electronic device, characterized in that: It comprises a processor and a memory, wherein the memory stores a plurality of instructions; the processor loads instructions from the memory to execute the steps of the game resource trading method as claimed in any one of claims 1 to 9.
12. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor to execute the steps of the game resource trading method according to any one of claims 1 to 9.
