Game prize issuing mail management method and system

By designing a DSL command and integrating a Lua script module, the complexity and inefficiency of existing game reward email systems were resolved, enabling automated management of reward emails and improving game operation efficiency and player satisfaction.

CN121102898APending Publication Date: 2025-12-12FUJIAN TQ DIGITAL
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410753806.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-12
Publication Date
2025-12-12

AI Technical Summary

Technical Problem

Existing game prize-sending email systems are complex to operate, prone to errors, lack flexibility and efficiency, and cannot quickly respond to large-scale and personalized prize-sending email needs.

Method used

By employing a DSL command design and Lua script integration module, and setting syntax structures and command lists, the system automates the management of reward distribution and email notifications. This includes defining reward types, email templates, trigger conditions, and sending times, and combining this with Lua library modules to parse and execute DSL scripts.

Benefits of technology

It enables flexible and customizable management of game reward emails, improving game development and operation efficiency and enhancing player satisfaction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121102898A_ABST
    Figure CN121102898A_ABST
Patent Text Reader

Abstract

The invention provides a game prize issuing mail management method, which comprises the following steps of: S1, setting a grammar structure which consists of a series of commands, and each command has respective grammar format, command name and parameter; s2, setting a DSL (Digital Subscriber Line) command list, wherein the command list comprises command names for issuing awards and notifying mails; s3, performing corresponding operation management on game reward issuing and mail notification according to the received DSL command; and the game operation efficiency and the player satisfaction are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to fields such as online games and application software, and is used to manage reward distribution and email notifications, particularly a method and system for managing game reward emails. Background Technology

[0002] Currently, common reward email systems in game development typically require developers to create and send reward emails through backend operations or by writing code. These systems generally include the following steps: manually entering the email content and reward information; sending the email through a backend management system or script; and managing and recording sent emails.

[0003] For example, some game backend management systems allow operators to manually fill in email content and recipient information through a graphical user interface, and then click the send button to send the email. However, these systems often lack flexibility and automation support, and cannot efficiently handle large-scale and personalized reward email requests. The shortcomings of existing technologies are as follows:

[0004] Complex operation: Existing systems typically require developers to write scripts or perform complex background operations, which increases development costs.

[0005] Error-prone: Manually entering information may lead to errors, such as sending the wrong or missing emails, which will affect the player experience.

[0006] Lack of flexibility: unable to respond quickly to operational needs, especially during large-scale events or special occasions.

[0007] Low operational efficiency: It cannot support rapid batch sending and management of large numbers of emails. Summary of the Invention

[0008] To overcome the above problems, the purpose of this invention is to provide a method for managing game reward emails, thereby automating the management of reward distribution and email notifications.

[0009] This invention is implemented using the following solution: a method for managing game prize-giving emails, wherein the method is as follows:

[0010] Step S1: Set the syntax structure, which consists of a series of commands, each with its own syntax format, command name, and parameters;

[0011] Step S2: Set up the DSL command list, which includes the command names used for reward distribution and email notifications;

[0012] Step S3: Based on the received DSL command, perform corresponding operation management for game reward distribution and email notification.

[0013] Furthermore, the commands in the command list include: defineRewardType, createEmailTemplate, configureRewardTrigger, issueReward, defineEmailVariable, setRewardExpiry, configureEmailSchedule, and generateCode.

[0014] Furthermore, the operation management of game reward distribution and email notification includes reward email template management, dynamic variable replacement, reward email storage, and reward email display;

[0015] The prize-giving email template management involves managing and storing email templates; the dynamic variable replacement involves replacing dynamic variables in the email templates; the prize-giving email storage involves storing the generated emails in the player's email list; and the prize-giving email display involves providing an interface to display the emails received by the player.

[0016] Furthermore, the method also includes developing an integration module with Lua scripts, allowing users to embed Lua scripts within the DSL. This integration module utilizes a Lua library within the game project's Lua script to parse and execute the reward mail DSL. This Lua library is specifically developed for parsing and executing reward mail DSLs and contains a set of modules for processing DSL scripts. The Lua library includes the following modules:

[0017] The Parser module is responsible for parsing DSL scripts and converting them into executable syntax.

[0018] The Executor module is responsible for executing the parsed DSL script to complete the reward distribution and email sending operations.

[0019] The Template module is responsible for handling dynamic variable replacement in email templates.

[0020] Condition module: Handles the logical judgment of reward trigger conditions;

[0021] The Utils module provides auxiliary functions, including logging and error handling.

[0022] This invention provides a game reward email management system, the system comprising: a syntax structure setting module, a DSL command setting module, and an email management module;

[0023] The syntax structure setting module sets the syntax structure, which consists of a series of commands, each command having its own syntax format, command name and parameters.

[0024] The DSL command setting module sets a DSL command list, which includes command names for reward distribution and email notifications;

[0025] The email management module manages the distribution of game rewards and email notifications according to the received DSL commands.

[0026] Furthermore, the commands in the command list include: defineRewardType, createEmailTemplate, configureRewardTrigger, issueReward, defineEmailVariable, setRewardExpiry, configureEmailSchedule, and generateCode.

[0027] Furthermore, the operation management of game reward distribution and email notification includes reward email template management, dynamic variable replacement, reward email storage, and reward email display;

[0028] The prize-giving email template management involves managing and storing email templates; the dynamic variable replacement involves replacing dynamic variables in the email templates; the prize-giving email storage involves storing the generated emails in the player's email list; and the prize-giving email display involves providing an interface to display the emails received by the player.

[0029] Furthermore, the system also includes an integration module for developing Lua scripts, allowing users to embed Lua scripts within the DSL. This integration module uses a Lua library within the game project's Lua script to parse and execute the reward mail DSL. This Lua library is specifically developed for parsing and executing reward mail DSLs and contains a set of modules for processing DSL scripts. The Lua library includes the following modules:

[0030] The Parser module is responsible for parsing DSL scripts and converting them into executable syntax.

[0031] The Executor module is responsible for executing the parsed DSL script to complete the reward distribution and email sending operations.

[0032] The Template module is responsible for handling dynamic variable replacement in email templates.

[0033] Condition module: Handles the logical judgment of reward trigger conditions;

[0034] The Utils module provides auxiliary functions, including logging and error handling.

[0035] The beneficial effects of this invention are as follows: Through the DSL command design of this invention, a flexible and customizable reward email DSL is formed, and a corresponding execution engine and integration module are provided to achieve automated management of reward distribution and email notifications. Game developers and operators can handle reward email-related tasks more easily and efficiently, improving game operation efficiency and player satisfaction. Attached Figure Description

[0036] Figure 1 This is a schematic diagram of the method flow of the present invention.

[0037] Figure 2 This is a system principle block diagram of the present invention. Detailed Implementation

[0038] The invention will now be further described with reference to the accompanying drawings.

[0039] This invention provides a method for managing game reward emails, the method being:

[0040] Step S1: Set the syntax structure, which consists of a series of commands, each with its own syntax format, command name, and parameters;

[0041] Step S2: Set up the DSL command list, which includes the command names used for reward distribution and email notifications;

[0042] Step S3: Based on the received DSL command, perform corresponding operation management for game reward distribution and email notification.

[0043] Please see Figure 1 As shown, the present invention will be further described below with reference to a specific embodiment. The present invention provides a method for managing game reward emails, the method being as follows:

[0044] 1. Set the syntax structure,

[0045] The syntax structure of the reward email DSL consists of a series of commands, each with a specific syntax format and parameters. The syntax structure of the DSL is as follows:

[0046] command name "parameters"{

[0047] Attribute 1 = Value 1

[0048] attribute2 = value2 ...

[0050] }

[0051] 2. DSL Command Design:

[0052] The syntax structure and command list for the reward email DSL were designed to ensure that the syntax is concise, clear, easy to understand, and easy to use. The command list includes the names of commands used for reward distribution and email notifications;

[0053] 2.1. Command name: defineRewardType

[0054] defineRewardType(Define Reward Type):

[0055] defineRewardType"RewardTypeName"{

[0056] description="Reward Description"

[0057] item = ["Reward Item 1": Quantity,"Reward Item 2": Quantity]}

[0058] 2.2. Command Name: createEmailTemplate

[0059] createEmailTemplate(Basic Reward Template): createEmailTemplate "Email Template Name"{

[0060] subject="email subject"

[0061] body="email body"

[0062] }

[0063] 2.3. Command name: configureRewardTrigger

[0064] configureRewardTrigger(configure reward trigger condition) configureRewardTrigger "trigger condition name"{

[0065] event = "trigger event"

[0066] frequency = "trigger frequency"

[0067] reward = "Reward Type Name"

[0068] emailTemplate = "email template name"

[0069] }

[0070] 2.4. Command Name: issueReward

[0071] issueReward (Reward Distribution Task)

[0072] issueReward"TaskName"{

[0073] recipient = receiver

[0074] item = ["Reward Item 1": Quantity,"Reward Item 2": Quantity]

[0075] emailTemplate = "email template name"

[0076] }

[0077] 2.5. Command Name: defineEmailVariable

[0078] defineEmailVariable(Define Email Variable)

[0079] defineEmailVariable"variableName"{

[0080] type="variable type"

[0081] description="variable description"

[0082] }

[0083] 2.6. Command Name: Command Name:

[0084] setRewardExpiry(Sets the reward expiration period)

[0085] setRewardExpiry"RewardTypeName"{

[0086] validityPeriod = validity period

[0087] }

[0088] 2.7. Command name: configureEmailSchedule

[0089] configureEmailSchedule (Configure email sending time)

[0090] configureEmailSchedule "email template name"{

[0091] sendTime = "Send Time"

[0092] timezone = "time zone"

[0093] }

[0094] 2.8. Command Name: generateCode

[0095] generateCode (generates code blocks)

[0096] generateCode"code type"{

[0097] code = "code content"

[0098] }

[0099] 3. Manage game reward distribution and email notifications: Manage and store email templates.

[0100] Example:

[0101] Create a template: `createMailModel "<template name>"{<template content>}` Delete a template: `removeMailModel "<template name>"`

[0102] Dynamic variable replacement: Replace dynamic variables in the email template.

[0103] Simple example:

[0104] function replaceVariables(template,variables)

[0105] local result = template

[0106] for key,value in pairs(variables)do

[0107] result=string.gsub(result,"${"..key.."}",value)

[0108] end

[0109] return result

[0110] end

[0111] Prize email storage: Stores the generated emails in the player's mailing list.

[0112] Award email display: Provides an interface to display emails received by players.

[0113] The method also includes developing an integration module with Lua scripts, allowing users to embed Lua scripts within the DSL. This integration module, within the game project's Lua scripts, uses a Lua library to parse and execute the reward mail DSL. This Lua library is specifically developed for parsing and executing reward mail DSLs and contains a set of modules for processing DSL scripts. The Lua library includes the following modules:

[0114] The Parser module is responsible for parsing DSL scripts and converting them into executable syntax.

[0115] The Executor module is responsible for executing the parsed DSL script to complete the reward distribution and email sending operations.

[0116] The Template module is responsible for handling dynamic variable replacement in email templates.

[0117] Condition module: Handles the logical judgment of reward trigger conditions;

[0118] The Utils module provides auxiliary functions, including logging and error handling.

[0119] For example: --Load DSL file

[0120] local dsl=require("reward_mail")

[0121] --Execute functions in the DSL

[0122] dsl.defineRewardType("DailyBonus",{

[0123] description="Daily login bonus",

[0124] amount = 100,

[0125] currency = "Gold"

[0126] })

[0127] dsl.createEmailTemplate("DailyBonusEmail",{

[0128] subject="Claim Your Daily Bonus!",

[0129] body="Dear${PlayerName},\n\nCongratulations! You've earned your dailybonus of${DailyBonusAmount}${DailyBonusCurrency}.Claim it now!\n\nBestregards,\nThe Game Team"

[0130] })

[0131] --Other DSL function calls...

[0132] Here is an example of embedding Lua:

[0133] lua{

[0134] --Lua script content

[0135] local function getRandomAmount()

[0136] return math.random(1,100)

[0137] end

[0138] }

[0139] defineRewardType"RandomBonus"{

[0140] description="random reward",

[0141] amount=lua.getRandomAmount(),

[0142] currency = "Gold"

[0143] }

[0144] This invention provides a game reward email management system, the system comprising: a syntax structure setting module, a DSL command setting module, and an email management module;

[0145] The syntax structure setting module sets the syntax structure, which consists of a series of commands, each command having its own syntax format, command name and parameters.

[0146] The DSL command setting module sets a DSL command list, which includes command names for reward distribution and email notifications;

[0147] The email management module manages the distribution of game rewards and email notifications according to the received DSL commands.

[0148] The commands in the command list include: defineRewardType, createEmailTemplate, configureRewardTrigger, issueReward, defineEmailVariable, setRewardExpiry, configureEmailSchedule, and generateCode.

[0149] The operation management of game reward distribution and email notification includes reward email template management, dynamic variable replacement, reward email storage, and reward email display;

[0150] The prize-giving email template management involves managing and storing email templates; the dynamic variable replacement involves replacing dynamic variables in the email templates; the prize-giving email storage involves storing the generated emails in the player's email list; and the prize-giving email display involves providing an interface to display the emails received by the player.

[0151] The system also includes an integration module for developing Lua scripts, allowing users to embed Lua scripts within the DSL. This integration module uses a Lua library within the game project's Lua script to parse and execute the reward mail DSL. This Lua library is specifically developed for parsing and executing reward mail DSLs and contains a set of modules for processing DSL scripts. The Lua library includes the following modules:

[0152] The Parser module is responsible for parsing DSL scripts and converting them into executable syntax.

[0153] The Executor module is responsible for executing the parsed DSL script to complete the reward distribution and email sending operations.

[0154] The Template module is responsible for handling dynamic variable replacement in email templates.

[0155] Condition module: Handles the logical judgment of reward trigger conditions;

[0156] The Utils module provides auxiliary functions, including logging and error handling.

[0157] The reward email DSL of the present invention and its application are applicable to a variety of scenarios, including but not limited to the following aspects:

[0158] 1. Gaming Industry:

[0159] Online Game Rewards Management: In online games, the Rewards Mail DSL can be used to manage various player rewards, including daily login rewards, task completion rewards, achievement rewards, etc.

[0160] Event promotion rewards distribution: Game operators can flexibly configure various events through reward email DSL, such as holiday events, new version release events, etc., to improve player activity and retention rate.

[0161] 2. Application software industry:

[0162] E-commerce platform rewards management: E-commerce platforms can use reward email DSL to manage various user rewards, such as points rewards, coupons, and membership benefits, to improve user purchase conversion rates.

[0163] Social application promotion rewards: Social applications can distribute user referral rewards via reward email DSL to encourage users to invite friends to register, share content, etc., in order to expand the user base.

[0164] 3. Online Education Industry:

[0165] Learning task reward management: Online education platforms can use reward email DSL to manage student learning task rewards, such as course completion rewards and exam score rewards, to improve students' learning motivation.

[0166] Rewards for Sharing Teaching Resources: Teachers can send rewards via email DSL to students for sharing teaching resources and participating in discussions, thereby encouraging students to actively participate in teaching activities.

[0167] 4. Internal enterprise application scenarios:

[0168] Employee incentive and reward management: Enterprises can use the Incentive Email DSL to manage various incentives and rewards for employees, such as awards for outstanding employees and team performance awards, in order to improve employee work enthusiasm and team cohesion.

[0169] Internal activity reward distribution: Enterprises can distribute rewards to employees for participating in internal activities, training and learning through reward email DSL, so as to promote corporate culture and employee development.

[0170] 5. Other industry application scenarios:

[0171] Government service incentive and reward management: Government departments can use reward email DSL to manage rewards for citizens' participation in government services, community building, and other aspects, so as to improve citizen participation and satisfaction.

[0172] Health management reward distribution: Medical institutions or health management platforms can distribute rewards such as health management task completion rewards and health behavior rewards to users via reward email DSL to promote users' health management awareness and behavior development.

[0173] The above description is only a preferred embodiment of the present invention. All equivalent changes and modifications made within the scope of the claims of the present invention should be included in the scope of the present invention.

Claims

1. A method for managing game prize-giving emails, characterized in that: The method is as follows: Step S1: Set the syntax structure, which consists of a series of commands, each with its own syntax format, command name, and parameters; Step S2: Set up the DSL command list, which includes the command names used for reward distribution and email notifications; Step S3: Based on the received DSL command, perform corresponding operation management for game reward distribution and email notification.

2. The method for managing game reward emails according to claim 1, characterized in that: The commands in the command list include: defineRewardType, createEmailTemplate, configureRewardTrigger, issueReward, defineEmailVariable, setRewardExpiry, configureEmailSchedule, and generateCode.

3. The method for managing game reward emails according to claim 1, characterized in that: The operation management of game reward distribution and email notification includes reward email template management, dynamic variable replacement, reward email storage, and reward email display; The award email template management includes: managing and storing email templates; The dynamic variable replacement is achieved by replacing the dynamic variable in the email template; the prize-giving email storage is achieved by storing the generated email in the player's email list; and the prize-giving email display is achieved by providing an interface to display the email received by the player.

4. The method for managing game reward emails according to claim 1, characterized in that: The method also includes developing an integration module with Lua scripts, allowing users to embed Lua scripts within the DSL. This integration module, within the game project's Lua scripts, uses a Lua library to parse and execute the reward mail DSL. This Lua library is specifically developed for parsing and executing reward mail DSLs and contains a set of modules for processing DSL scripts. The Lua library includes the following modules: The Parser module is responsible for parsing DSL scripts and converting them into executable syntax. The Executor module is responsible for executing the parsed DSL script to complete the reward distribution and email sending operations. The Template module is responsible for handling dynamic variable replacement in email templates. Condition module: Handles the logical judgment of reward trigger conditions; The Utils module provides auxiliary functions, including logging and error handling.

5. A game prize-issuing email management system, characterized in that: The system includes: a syntax structure setting module, a DSL command setting module, and an email management module; The syntax structure setting module sets the syntax structure, which consists of a series of commands, each command having its own syntax format, command name and parameters. The DSL command setting module sets a DSL command list, which includes command names for reward distribution and email notifications; The email management module manages the distribution of game rewards and email notifications according to the received DSL commands.

6. The game prize-issuing email management system according to claim 1, characterized in that: The commands in the command list include: defineRewardType, createEmailTemplate, configureRewardTrigger, issueReward, defineEmailVariable, setRewardExpiry, configureEmailSchedule, and generateCode.

7. The game prize-issuing email management system according to claim 1, characterized in that: The operation management of game reward distribution and email notification includes reward email template management, dynamic variable replacement, reward email storage, and reward email display; The award email template management includes: managing and storing email templates; The dynamic variable replacement is achieved by replacing the dynamic variable in the email template; the prize-giving email storage is achieved by storing the generated email in the player's email list; and the prize-giving email display is achieved by providing an interface to display the email received by the player.

8. The game prize-issuing email management system according to claim 1, characterized in that: The system also includes an integration module for developing Lua scripts, allowing users to embed Lua scripts within the DSL. This integration module uses a Lua library within the game project's Lua script to parse and execute the reward mail DSL. This Lua library is specifically developed for parsing and executing reward mail DSLs and contains a set of modules for processing DSL scripts. The Lua library includes the following modules: The Parser module is responsible for parsing DSL scripts and converting them into executable syntax. The Executor module is responsible for executing the parsed DSL script to complete the reward distribution and email sending operations. The Template module is responsible for handling dynamic variable replacement in email templates. Condition module: Handles the logical judgment of reward trigger conditions; The Utils module provides auxiliary functions, including logging and error handling.