A Method and Device and Medium for Controlling Game Drop Rates Based on Blockchain

By revealing the generation process of game props on the blockchain, the problem of opaque item explosion rate control in the game is solved, ensuring that the process of players obtaining props is transparent and fair, and the game experience is improved.

CN111111213BActive Publication Date: 2025-05-30INSPUR YUNZHOU (SHANDONG) IND INTERNET CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN201911368251.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-12-26
Publication Date
2025-05-30
Estimated Expiration
2039-12-26

AI Technical Summary

Technical Problem

The prop explosion rate control in the game is opaque, and players cannot determine whether to obtain props according to the normal explosion rate, which will affect the game experience.

Method used

The game explosion rate control method based on blockchain is adopted, and the prop acquisition request from the user node is received, and the prop generation algorithm pre-written to the blockchain is used to generate props of the corresponding level, and the prop generation information is written to the blockchain to ensure that the process is transparent.

Benefits of technology

By exposing the prop generation process, ensure that the manufacturer does not control the props’ explosion rate at will, dispel players’ doubts about the dark box operation, and improve the game experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111111213B_ABST
    Figure CN111111213B_ABST
Patent Text Reader

Abstract

The present application discloses a method and device, and a medium for controlling the explosion rate of a game based on a blockchain. This method receives a prop acquisition request from a user node in the blockchain network; according to the prop acquisition request, a prop generation algorithm pre-written in the blockchain network is used to generate a prop of a corresponding level; the prop of the corresponding level is issued to the user node. By writing the prop generation algorithm and the prop generation information in the prop generation process into the blockchain and making it public to the user node, the user node can query the relevant information at any time, ensuring that the manufacturer node cannot modify the game explosion rate at will and guaranteeing the fairness of the game explosion rate.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the technical field of resource allocation, and in particular, to a method and device and medium for controlling game drop rates based on blockchain. Background Art

[0002] With the popularization of the Internet, the development of online games has been growing rapidly.

[0003] In online games, the collection and upgrading of items are also a kind of fun in the game. The ways to collect items include obtaining them through battles, obtaining them with specific in-game currency, obtaining them through recharge, etc.

[0004] Items are usually divided into different levels. The higher the item level, the more beneficial it is to the progress of the game. Therefore, the drop rate of items is crucial, which determines the possibility for players to obtain items of various levels.

[0005] However, the control of item drop rates in games is opaque. When players cannot obtain high-level items, they often suspect that the game manufacturer has privately adjusted the game drop rate, which affects the players' gaming experience and is not conducive to players enjoying the game process normally. Summary of the Invention

[0006] Embodiments of this application provide a method and device and medium for controlling game drop rates based on blockchain, which are used to solve the following technical problems in the prior art: The control of item drop rates in games is opaque, and players cannot determine whether they obtain items according to the normal drop rate, which affects the players' gaming experience.

[0007] Embodiments of this application adopt the following technical solutions:

[0008] A method for controlling game drop rates based on blockchain includes:

[0009] Receiving a prop acquisition request from a user node in the blockchain network;

[0010] According to the prop acquisition request, using a prop generation algorithm pre-written in the blockchain network to generate a prop of the corresponding level;

[0011] Issuing the prop of the corresponding level to the user node.

[0012] Optionally, before generating a prop of the corresponding level, the method further includes: generating timestamp information according to the user's prop acquisition request; writing the prop acquisition request and the corresponding timestamp information into the blockchain.

[0013] Optionally, the item generation algorithm includes: using a hash algorithm to hash the information to be processed to obtain a hash value; wherein, the information to be processed is obtained according to the item acquisition request; generating an item of a corresponding level according to the hash value and a preset rule.

[0014] Optionally, generating an item of a corresponding level according to the hash value and a preset rule specifically includes: determining a partial hash value in the hash value; converting the determined partial hash value into a decimal number; determining the level of the generated item according to the converted decimal number and a preset rule.

[0015] Optionally, the preset rule includes: if the decimal number belongs to a first preset range, determining to generate an item of a first level; if the decimal number belongs to a second preset range, determining to generate an item of a second level; if the decimal number belongs to a third preset range, determining to generate an item of a third level.

[0016] Optionally, the data volume included in the first preset range is greater than the data volume included in the second preset range, and the data volume included in the second preset range is greater than the data volume included in the third preset range.

[0017] Optionally, the method further includes: collecting item generation information during the item generation process; writing the collected item generation information into the blockchain.

[0018] Optionally, the information to be processed includes user information, item type information, and timestamp information.

[0019] An apparatus for controlling game drop rates based on a blockchain includes:

[0020] At least one processor; and,

[0021] A memory communicatively connected to the at least one processor; wherein,

[0022] The memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can:

[0023] Receive an item acquisition request from a user node in the blockchain network;

[0024] According to the item acquisition request, use an item generation algorithm pre-written in the blockchain network to generate an item of a corresponding level;

[0025] Issue the item of the corresponding level to the user node.

[0026] A non-volatile computer storage medium for game drop rate control based on blockchain, storing computer-executable instructions, and the computer-executable instructions are set as follows:

[0027] Receive a prop acquisition request from a user node in the blockchain network;

[0028] According to the prop acquisition request, use a prop generation algorithm pre-written in the blockchain network to generate props of the corresponding level;

[0029] Issue the props of the corresponding level to the user node.

[0030] At least one of the above technical solutions adopted in the embodiments of the present application can achieve the following beneficial effects:

[0031] By writing the prop generation information in the prop generation process into the blockchain, the prop generation process can be made public to the nodes in the blockchain network, enabling the user node to understand the specific process of obtaining the props and ensuring the transparency of the prop generation process. The user node can query the data stored in the blockchain according to the prop acquisition request it sends. This can ensure that the manufacturer does not manipulate the drop rate of the props at will, dispel the doubts of the user node about the manufacturer's under-the-table operations, and improve the game experience of the user node. Description of the Drawings

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

[0033] Figure 1 Is a flowchart of a method for game drop rate control based on blockchain provided by an embodiment of the present application;

[0034] Figure 2 Is a schematic structural diagram of a device for game drop rate control based on blockchain corresponding to Figure 1 of the present application. Detailed Embodiments

[0035] To make the objectives, technical solutions, and advantages of the present application clearer, the technical solutions of the present application will be clearly and completely described below in conjunction with specific embodiments of the present application and the corresponding drawings. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all of the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments in the present application without creative efforts shall fall within the scope of protection of the present application.

[0036] The following will detail the technical solutions provided by each embodiment of the present application in conjunction with the drawings.

[0037] Figure 1 This is a flowchart of a blockchain-based game drop rate control method provided by an embodiment of the present application. The specific steps include:

[0038] S101: Receive a prop acquisition request from a user node in the blockchain network.

[0039] Blockchain is a new application mode of computer technologies such as distributed data storage, peer-to-peer transmission, consensus mechanism, and encryption algorithms. Essentially, it is a decentralized database.

[0040] First, a blockchain network for game drop rate control can be deployed based on a blockchain framework. Among them, the blockchain framework can be any blockchain framework that can implement the corresponding functions of the embodiments of the present application. For example, Bitcoin, Ethereum, Fabric, Corda, etc.

[0041] The blockchain network includes several nodes, specifically including user nodes (i.e., players), manufacturer nodes, etc.

[0042] In the embodiments of the present application, during the progress of the game, the user node can send a prop acquisition request to the manufacturer node.

[0043] Specifically, according to different game scenarios, the actions of the user node to trigger the sending of the prop acquisition request are different. For example, in a battle scenario, if the battle of the user node is successful, the sending of the prop acquisition request can be triggered; in a gacha scenario, the user node can trigger the sending of the prop acquisition request by clicking the gacha button; and so on.

[0044] Thus, the manufacturer node can receive a prop acquisition request from the user node. Among them, the prop acquisition request can include user information of the user node in the game, the type of prop requested to be acquired, etc.

[0045] S102: According to the prop acquisition request, use the prop generation algorithm pre-written in the blockchain network to generate props of the corresponding level.

[0046] In the embodiments of the present application, the manufacturer node can pre-write a prop generation algorithm in the blockchain network. Thus, when receiving a prop acquisition request from the user node, the manufacturer node can generate props of the corresponding level according to the prop generation algorithm.

[0047] The prop generation algorithm specifically can include:

[0048] First, the manufacturer node can obtain the information to be processed according to the item acquisition request sent by the user node. Specifically, the manufacturer node can generate corresponding timestamp information based on the received item acquisition request. Moreover, the manufacturer node can splice the user information in the item acquisition request, the type of item requested to be acquired, and the generated timestamp information to form the information to be processed.

[0049] Secondly, the manufacturer node can use the hash algorithm to hash the information to be processed and obtain the corresponding hash value. And the manufacturer node can write the obtained hash value into the blockchain network for storage, so as to facilitate the traceability of data in the future.

[0050] Finally, the manufacturer node can generate items of corresponding levels according to the obtained hash value and the preset rules based on the hash value.

[0051] Furthermore, in order to increase the complexity of the item generation algorithm and also to increase the randomness of item generation, the manufacturer node can determine a part of the hash value from the obtained hash value, use this part of the hash value as a hexadecimal number, and convert this hexadecimal number into a decimal number.

[0052] The manufacturer node can determine the level of the generated item according to the obtained decimal number and the preset rules.

[0053] Specifically, the preset rules can include: if the obtained decimal number belongs to the first preset range, determine to generate items of the first level; if the obtained decimal number belongs to the second preset range, determine to generate items of the second level; if the obtained decimal number belongs to the third preset range, determine to generate items of the third level. Among them, the first preset range, the second preset range, and the third preset range can be set as needed, and this application does not make any limitations on this.

[0054] For example, take the last five digits of the obtained hash value as the hexadecimal number A, convert A, and get the decimal number B. The preset rules are:

[0055] If B < 10, then generate ultra-rare items;

[0056] If 10 ≤ B < 1000, then generate rare items;

[0057] If 1000 ≤ B, then generate common items.

[0058] In the embodiment of this application, the relationship between the obtained decimal number and the first preset range, the second preset range, and the third preset range represents the drop rate of items in the game.

[0059] Further, according to the general rule of item drop rates, the level of an item is negatively correlated with the probability of obtaining it. That is, the higher the level of the item, the lower the possibility of obtaining it. Therefore, when the levels of the first level, the second level, and the third level increase step by step, the amount of data included in the first preset range should be greater than, and much greater than, the amount of data included in the second preset range. The amount of data included in the second preset range should also be greater than, and much greater than, the amount of data included in the third preset range. Moreover, the first preset range, the second preset range, and the third preset range should not intersect with each other.

[0060] S103: Issue items of the corresponding level to the user node.

[0061] In the embodiment of the present application, the manufacturer node can use the above item generation algorithm to generate items of the corresponding level according to the item acquisition request sent by the user node. After that, the manufacturer node can issue the corresponding items to the user node according to the result of item generation.

[0062] Further, when the manufacturer node generates the corresponding items according to the item acquisition request, it can write the item generation information in the item generation process into the blockchain. Specifically, the item generation information can include: the item acquisition request from the user node, the hash value obtained through the information to be processed, the decimal number obtained by converting the hash value, etc.

[0063] By writing the item generation information in the item generation process into the blockchain, the process of item generation can be made public to the nodes in the blockchain network, enabling the user node to understand the specific process of obtaining the items and ensuring the transparency of the item generation process.

[0064] In the embodiment of the present application, the manufacturer node pre-writes the item generation algorithm into the blockchain and makes it public to the user node. Moreover, when generating items of the corresponding level according to the item acquisition request of the user node, the manufacturer node writes the relevant item generation information in the item generation process into the blockchain and makes it public to the user node together.

[0065] Then, the user node can query the data stored in the blockchain according to the item acquisition request it sent. Through the query, the user node can supervise the item generation process according to the item generation algorithm to determine whether the manufacturer node controls the generation of items, that is, controls the item drop rate, according to the pre-public item generation algorithm. This can ensure that the manufacturer does not manipulate the item drop rate randomly, dispel the doubts of the user node about the manufacturer's under-the-table operations, and improve the gaming experience of the user node.

[0066] Based on the same idea, some embodiments of the present application also provide the corresponding devices and non-volatile computer storage media for the above method.

[0067] Figure 2 The embodiment of the present application provides the corresponding Figure 1 A schematic diagram of a structure of a device for controlling game explosion rate based on blockchain, wherein the blockchain device comprises:

[0068] at least one processor; and,

[0069] a memory communicatively connected to the at least one processor; wherein,

[0070] The memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to:

[0071] Receive prop acquisition requests from user nodes in the blockchain network;

[0072] According to the item acquisition request, a prop generation algorithm pre-written into the blockchain network is used to generate props of corresponding levels;

[0073] Distribute the props of the corresponding level to the user node.

[0074] Some embodiments of the present application provide corresponding Figure 1 A non-volatile computer storage medium for controlling a game explosion rate based on blockchain, storing computer executable instructions, wherein the computer executable instructions are set to:

[0075] Receive prop acquisition requests from user nodes in the blockchain network;

[0076] According to the item acquisition request, a prop generation algorithm pre-written into the blockchain network is used to generate props of corresponding levels;

[0077] Distribute the props of the corresponding level to the user node.

[0078] Each embodiment in this application is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device and medium embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiments.

[0079] The devices and media provided in the embodiments of the present application correspond one-to-one to the methods. Therefore, the devices and media also have similar beneficial technical effects as the corresponding methods. Since the beneficial technical effects of the methods have been described in detail above, the beneficial technical effects of the devices and media will not be repeated here.

[0080] Those skilled in the art should understand that the embodiments of the present application can be provided as a method, a system, or a computer program product. Therefore, the present application can take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present application can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk memory, CD-ROM, optical memory, etc.) that contain computer-usable program code.

[0081] The present application is described with reference to the flowcharts and / or block diagrams of methods, apparatuses (systems), and computer program products according to the embodiments of the present application. It should be understood that each flow and / or block in the flowchart and / or block diagram, as well as the combination of flows and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing devices to generate a machine, such that the instructions executed by the processor of the computer or other programmable data processing devices generate means for implementing the functions specified in Figure 1 one flow or multiple flows and / or blocks Figure 1 one block or multiple blocks.

[0082] These computer program instructions can also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, such that the instructions stored in the computer-readable memory generate a manufactured article including instruction means that implement the functions specified in Figure 1 one flow or multiple flows and / or blocks Figure 1 one block or multiple blocks.

[0083] These computer program instructions can also be loaded onto a computer or other programmable data processing device, such that a series of operation steps are executed on the computer or other programmable device to generate a computer-implemented process, and thus the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in Figure 1 one flow or multiple flows and / or blocks Figure 1 one block or multiple blocks.

[0084] In a typical configuration, a computing device includes one or more processors (CPUs), an input / output interface, a network interface, and memory.

[0085] The memory may include non-permanent memory in the computer-readable medium, in the form of random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash memory (flash RAM). The memory is an example of a computer-readable medium.

[0086] A computer-readable medium includes both permanent and non-permanent, removable and non-removable media and can implement information storage by any method or technology. The information can be computer-readable instructions, data structures, program modules, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transitory medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer-readable medium does not include transitory computer-readable media such as modulated data signals and carrier waves.

[0087] It should also be noted that the term "comprising", "including" or any other variant thereof is intended to cover non-exclusive inclusion, such that a process, method, article or apparatus comprising a series of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article or apparatus. Without further limitation, an element defined by the phrase "comprising an..." does not exclude the presence of additional identical elements in the process, method, article or apparatus comprising the element.

[0088] The above description is only for the embodiments of the present application and is not intended to limit the present application. For those skilled in the art, various changes and modifications can be made to the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included within the scope of the claims of the present application.

Claims

1. A method for controlling the explosion rate of a game based on blockchain, characterized in that, it includes: Receiving a prop acquisition request from a user node in the blockchain network; According to the prop acquisition request, using a prop generation algorithm pre-written in the blockchain network to generate a prop of the corresponding level; Issuing the prop of the corresponding level to the user node; The prop generation algorithm includes: Using a hash algorithm to hash the information to be processed to obtain a hash value; wherein, the information to be processed is obtained according to the prop acquisition request; Generating a prop of the corresponding level according to the hash value and a preset rule; Generating a prop of the corresponding level according to the hash value and a preset rule, specifically including: Determining a partial hash value in the hash value; Converting the determined partial hash value into a decimal number; Determining the level of the generated prop according to the converted decimal number and a preset rule; The preset rule includes: If the decimal number belongs to the first preset range, determining to generate a prop of the first level; If the decimal number belongs to the second preset range, determining to generate a prop of the second level; If the decimal number belongs to the third preset range, determining to generate a prop of the third level; The data volume included in the first preset range is greater than the data volume included in the second preset range, and the data volume included in the second preset range is greater than the data volume included in the third preset range.

2. The method according to claim 1, characterized in that, Before generating a prop of the corresponding level, the method further includes: Generating a timestamp information according to the user's prop acquisition request; Writing the prop acquisition request and the corresponding timestamp information into the blockchain.

3. The method according to claim 1, characterized in that, The method further includes: Collecting prop generation information during the prop generation process; Writing the collected prop generation information into the blockchain.

4. The method according to claim 1, characterized in that, The information to be processed includes user information, prop type information, and timestamp information.

5. A device for controlling the explosion rate of a game based on blockchain, characterized in that, it includes: At least one processor; And, A memory communicatively connected to the at least one processor; wherein, The memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can: Receive a prop acquisition request from a user node in the blockchain network; According to the prop acquisition request, use a prop generation algorithm pre-written in the blockchain network to generate a prop of the corresponding level; Issue the prop of the corresponding level to the user node; The prop generation algorithm includes: Using a hash algorithm to hash the information to be processed to obtain a hash value; wherein, the information to be processed is obtained according to the prop acquisition request; Generating a prop of the corresponding level according to the hash value and a preset rule; Generating a prop of the corresponding level according to the hash value and a preset rule, specifically including: Determining a partial hash value in the hash value; Converting the determined partial hash value into a decimal number; Determine the level of the generated item according to the converted decimal number and the preset rules; The preset rules include: If the decimal number belongs to the first preset range, determine to generate an item of the first level; If the decimal number belongs to the second preset range, determine to generate an item of the second level; If the decimal number belongs to the third preset range, determine to generate an item of the third level; The data volume included in the first preset range is greater than the data volume included in the second preset range, and the data volume included in the second preset range is greater than the data volume included in the third preset range.

6. A non-volatile computer storage medium for controlling the game drop rate based on blockchain, storing computer-executable instructions, Characterized in that, The computer-executable instructions are set to: Receive a prop acquisition request from a user node in the blockchain network; According to the prop acquisition request, use the prop generation algorithm pre-written in the blockchain network to generate a prop of the corresponding level; Issue the prop of the corresponding level to the user node; The prop generation algorithm includes: Use the hash algorithm to hash the information to be processed to obtain a hash value; wherein, the information to be processed is obtained according to the prop acquisition request; Generate a prop of the corresponding level according to the hash value and the preset rules; Generate a prop of the corresponding level according to the hash value and the preset rules, specifically including: Determine a partial hash value in the hash value; Convert the determined partial hash value into a decimal number; Determine the level of the generated item according to the converted decimal number and the preset rules; The preset rules include: If the decimal number belongs to the first preset range, determine to generate an item of the first level; If the decimal number belongs to the second preset range, determine to generate an item of the second level; If the decimal number belongs to the third preset range, determine to generate an item of the third level; The data volume included in the first preset range is greater than the data volume included in the second preset range, and the data volume included in the second preset range is greater than the data volume included in the third preset range.

Citation Information

Patent Citations

  • Processing method and system for game asset

    CN109453521A