Data processing method and device for game rewards
A data processing and game technology, applied in the field of data processing, can solve problems such as lack of human-computer interaction, lack of randomness, and lack of freshness, so as to achieve the effect of enhancing human-computer interaction and improving experience
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0053] figure 1 It is a flowchart of a data processing method for game rewards provided by Embodiment 1 of the present invention. The technical solution of this embodiment can be applied to the situation of game rewards. The method can be executed by a data processing device for game rewards provided by an embodiment of the present invention. The device can be implemented in the form of software and / or hardware, and configured for application in a game server. The method specifically includes the following operations:
[0054] S110. Read the template table. At least two reward templates are stored in the template table, and each reward template stores at least two data pairs corresponding to values and probabilities, wherein the value represents the value of the reward item, and The above probabilities represent the probability of obtaining a reward item of a corresponding value.
[0055] There are at least two types of reward templates: common reward templates and specia...
Embodiment 2
[0063] figure 2 It is a flowchart of a data processing method for game rewards provided by Embodiment 2 of the present invention. On the basis of the above-mentioned embodiments, the embodiment of the present invention optimizes the operation of selecting the actual reward item and the target reward item from the reward item table according to the current value and the maximum value.
[0064] Correspondingly, the method of this embodiment includes:
[0065] S210. Read the template table. At least two reward templates are stored in the template table, and each reward template stores at least two data pairs corresponding to values and probabilities, wherein the value represents the value of the reward item, and The above probabilities represent the probability of obtaining a reward item of a corresponding value.
[0066] The sum of all probabilities in the at least two data pairs is 100,000, and the random number is an integer between 1 and 100,000.
[0067] The sum of pro...
Embodiment 3
[0093] image 3 It is a structural block diagram of a data processing device for game awards provided by Embodiment 3 of the present invention. The device is used to execute the data processing method for game rewards provided by any of the above embodiments. The unit includes:
[0094] The template table reading module 310 is used to read the template table. At least two reward templates are stored in the template table, and each reward template stores at least two data pairs corresponding to values and probabilities, wherein the value Represents the value of the reward item, and the probability represents the probability of obtaining a reward item of corresponding value;
[0095] A random number generating module 320, configured to generate a random number, and obtain the current value and the maximum value according to the random number and the data pair;
[0096] The reward item table reading module 330 is configured to read the reward item table, select an actual rew...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com