Game backpack letter management method and system

By managing game inventory mail through DSL syntax and instruction set, the problems of complex operation, insufficient flexibility and poor scalability in existing technologies are solved, achieving efficient and flexible mail management and improving game development efficiency and quality.

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

Patent Information

Application Number
CN202410753753.3
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 computer game inventory and mail management systems are complex to operate, lack flexibility, and have poor scalability, resulting in low development efficiency and difficulty in meeting the needs of complex game scenarios.

Method used

It adopts a DSL syntax structure and instruction set to define the title, body and attachment information of letters. The DSL instruction set enables the creation, editing, deletion, viewing, sorting and classification of letters, supports batch operations and simplifies the game development process.

Benefits of technology

By simplifying and automating backpack mail management through the DSL instruction set, the efficiency and quality of game development are improved, complex mail management needs are supported, and the flexibility and scalability of operations are enhanced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121102897A_ABST
    Figure CN121102897A_ABST
Patent Text Reader

Abstract

The invention provides a game backpack letter management method, which comprises the following steps of: S1, defining a DSL (Digital Subscriber Language) grammar structure which adopts a structure similar to C language, and defining a title, a text and attachment information of a letter; s2, setting a DSL (Digital Subscriber Line) instruction set, wherein the DSL instruction set comprises instructions for creating letters, editing the letters, deleting the letters, checking the letters, sorting the letters and classifying the letters; s3, performing corresponding operation management on the letters according to the received DSL instruction; the flexibility and the high efficiency of the DSL enable the DSL to adapt to various complex game scenes and meet the requirements of different game types; and the overall game experience of players is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of computer game development technology, and in particular to a method and system for managing game inventory and mail. Background Technology

[0002] In existing computer game development, the inventory system is a crucial component, responsible for storing various items acquired by the player. Managing these items typically requires complex user interfaces and operational steps. Currently, some games offer basic inventory management functions, such as adding, deleting, and viewing items, but these operations are often inflexible and inefficient, failing to meet the needs of complex game scenarios. Existing technologies primarily rely on graphical user interfaces (GUIs) for operation, lacking a unified command language to simplify and automate these operations.

[0003] The shortcomings of existing technologies are as follows:

[0004] 1) Complex operation: Existing backpack mail management systems require developers to add or delete mail through cumbersome steps, resulting in low operational efficiency. For example, developers need to edit the content and attachments of each mail individually, making it impossible to perform batch operations at once.

[0005] 2) Insufficient flexibility: It struggles to support complex email management needs, such as batch generation, categorization, and sorting. Developers cannot easily process large volumes of emails quickly, especially when rapid responses to in-game events are required.

[0006] 3) Poor scalability: Existing systems are usually hard-coded, making it difficult to easily extend or customize backpack and mail management functions, thus limiting the creativity of game developers. For example, adding new features often requires a lot of development and testing work.

[0007] 4) Low development efficiency: Cumbersome operation processes affect the developers' work efficiency and reduce the speed and quality of game development. Summary of the Invention

[0008] To overcome the above problems, the purpose of this invention is to provide a game inventory mail management method that can more intuitively manage in-game inventory mail and improve development efficiency.

[0009] This invention is implemented using the following solution: a method for managing mail in a game's inventory, wherein the method is as follows:

[0010] Step S1: Define the DSL syntax structure, which adopts a structure similar to the C language, and define the title, body and attachment information of the letter;

[0011] Step S2: Set the DSL instruction set, which includes instructions for creating, editing, deleting, viewing, sorting, and categorizing letters;

[0012] Step S3: Perform corresponding operation management on the emails according to the received DSL instructions.

[0013] Furthermore, step S2 specifically involves: each DSL instruction should include a keyword, a parameter, and an optional attribute; curly braces {} are used to enclose the specific content of the instruction; key-value pairs are used to represent attributes and values; then the DSL instruction is: <keyword> + <object> + <parameter 1> + <qualifier> + <parameter 2>, where the specific content and attributes of the instruction are located in the qualifier.

[0014] Furthermore, step S3 specifically includes: creating a new letter using the Create Letter DSL command, which includes the letter title, body, and attachment information; editing an existing letter using the Edit Letter DSL command, modifying the letter title, body, and attachment information; deleting a specified letter using the Delete Letter DSL command, simplifying the deletion operation; viewing all letters using the View Letter DSL command, providing a convenient viewing method; sorting letters using the Sort Letter DSL command; and classifying letters using the Categorize Letter DSL command.

[0015] Furthermore, the method also includes managing email attachment information via DSL commands, supporting the addition, editing, and deletion of items; and implementing batch operations via DSL commands, i.e., batch deletion of emails.

[0016] The present invention also provides a game backpack letter management system, the system comprising: a syntax structure definition module, a letter DSL instruction setting module, and a letter management module;

[0017] The syntax structure definition module defines the DSL syntax structure, which adopts a structure similar to the C language and defines the title, body and attachment information of the letter.

[0018] The DSL instruction setting module for letters sets a DSL instruction set, which includes instructions for creating letters, editing letters, deleting letters, viewing letters, sorting letters, and classifying letters.

[0019] The email management module performs corresponding operations and management on emails based on the received DSL instructions.

[0020] Furthermore, the DSL instruction setting module for the email is specifically designed as follows: each DSL instruction should include keywords, parameters, and optional attributes; curly braces {} are used to enclose the specific content of the instruction; key-value pairs are used to represent attributes and values; then the DSL instruction is: <keyword> + <object> + <parameter 1> + <qualifier> + <parameter 2>, where the specific content and attributes of the instruction are located in the qualifier.

[0021] Furthermore, the letter management module specifically includes: creating new letters via the Create Letter DSL command, which includes letter title, body, and attachment information; editing existing letters via the Edit Letter DSL command, modifying the letter title, body, and attachment information; deleting specified letters via the Delete Letter DSL command, simplifying the deletion operation; viewing all letters via the View Letter DSL command, providing a convenient viewing method; sorting letters via the Sort Letter DSL command; and categorizing letters via the Classify Letter DSL command.

[0022] Furthermore, the system also includes managing email attachment information via DSL commands, supporting the addition, editing, and deletion of items; and enabling batch operations via DSL commands, i.e., batch deletion of emails.

[0023] The beneficial effects of this invention are as follows: This invention simplifies the creation, management, and operation of mail during game development through a simple and flexible DSL command set. This DSL command set possesses a C-like syntax structure and is designed as a concise yet powerful set of commands to support functions such as mail creation, editing, deletion, viewing, attachment management, and sorting. Through this DSL command set, game developers can manage the in-game inventory and mail system in a more efficient and intuitive way, significantly improving development efficiency and game quality. Attached Figure Description

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

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

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

[0027] This invention discloses a method for managing emails in a game's inventory, the method comprising:

[0028] Step S1: Define the DSL syntax structure. This DSL syntax structure adopts a structure similar to the C language, defining the title, body, and attachment information of the letter. The syntax style, basic structure, function definition and call, and operators of this DSL syntax structure are all similar to those of the C language.

[0029] Step S2: Set the DSL instruction set, which includes instructions for creating, editing, deleting, viewing, sorting, and categorizing emails, etc.

[0030] Step S3: Perform corresponding operation management on the emails according to the received DSL instructions.

[0031] The present invention will be further described below with reference to a specific embodiment:

[0032] Please see Figure 1 As shown, the present invention provides a method for managing game inventory mail, the method being as follows:

[0033] 1. Define the DSL syntax structure

[0034] This code uses a C-like structure to define the email's subject, body, and attachments. The structure is clear, concise, and easy to understand and use. A simple example of the structure is provided below.

[0035] mail{

[0036] email subject

[0037] body: "Email body content"

[0038] attach:[1001:1,2002:5]

[0039] }

[0040] "attach" represents the content of the attachment. The part before the colon represents the item's ID, and the part after the colon represents the quantity to be distributed. There are many other definitions for backpack messages, such as the type of distribution, distribution scope, distribution range, frequency, time, and expiration time, which will not be listed here.

[0041] 2. Design a DSL instruction set

[0042] 2.1. Requirements Analysis

[0043] Through business processes, user needs are identified: creating emails, editing emails, deleting emails, viewing emails, sorting emails, etc.

[0044] 2.2. Define the syntax rules

[0045] Basic format definition

[0046] Each instruction should include keywords, parameters, and optional attributes.

[0047] Use curly braces {} to enclose the specific content of the instruction.

[0048] Use key-value pairs to represent attributes and values.

[0049] 2.2.1. Creating a message:

[0050] Keywords: create mail

[0051] Parameters: None

[0052] Attributes: title, body, attach

[0053] 2.2.2. Editing letters:

[0054] Keywords: edit mail

[0055] Parameter: Message ID

[0056] Attributes: title, body, attach

[0057] 2.2.3. Deleting emails:

[0058] Keywords: delete mail

[0059] Parameter: Message ID

[0060] Attributes: None

[0061] 2.2.4. View emails:

[0062] Keywords: list mails

[0063] Parameters: None

[0064] Attributes: None

[0065] 2.2.5. Sorting the letters:

[0066] Keywords: sort mails by

[0067] Parameters: sorting field and order

[0068] Attributes: None

[0069] 2.2.6. Updated attachments:

[0070] Keywords: update mail

[0071] Parameter: Message ID

[0072] Attribute: attach

[0073] 3. Perform corresponding operations and management on the emails based on the received DSL instructions.

[0074] 3.1. Creating a letter

[0075] Create a new email using DSL commands, including email subject, body, and attachments. Simple example:

[0076] create mail<mail obj>

[0077] in:

[0078] <mail obj> Represented as an email object, its content structure is as follows:

[0079] {

[0080] Welcome letter

[0081] body: "Welcome to the game world!"

[0082] attach:[101:1]

[0083] }

[0084] 3.2. Editing letters:

[0085] Edit existing emails using DSL commands, modifying the subject, body, and attachments. Simple example:

[0086] edit mail<mail obj> on<mail_id>

[0087] 3.3. Deleting emails:

[0088] Deleting specific emails via DSL commands simplifies the deletion process. Simple example:

[0089] delete mail<mail_id>

[0090] 3.4. View emails:

[0091] Viewing all emails via DSL commands provides a convenient way to do so. You can also add search criteria. Below is a simple example of viewing all emails:

[0092] list mails

[0093] 3.5. Classification and Sorting:

[0094] Mail can be categorized and sorted using DSL commands to meet different management needs. Simple example:

[0095] sort mails by"creation_date"desc

[0096] 3.6. Attachment Management:

[0097] The system manages email attachments via DSL commands, supporting the addition, editing, and deletion of items.

[0098] A simple example of updating attachments:

[0099] update mail 1{

[0100] attach:[103:3]

[0101] }

[0102] 3.7. Advanced Features:

[0103] Batch operations, such as batch deletion of emails, can be achieved through DSL commands, which significantly improves operational efficiency.

[0104] A simple example of batch operations:

[0105] batch delete mails where"creation_date<'2024-01-01'".

[0106] Please see Figure 2 As shown, the present invention also provides a game backpack letter management system, the system comprising: a syntax structure definition module, a letter DSL instruction setting module, and a letter management module;

[0107] The syntax structure definition module defines the DSL syntax structure, which adopts a structure similar to the C language and defines the title, body and attachment information of the letter.

[0108] The DSL instruction setting module for letters sets a DSL instruction set, which includes instructions for creating letters, editing letters, deleting letters, viewing letters, sorting letters, and classifying letters.

[0109] The email management module performs corresponding operations and management on emails based on the received DSL instructions.

[0110] The DSL instruction setting module for letters is specifically as follows: each DSL instruction should contain keywords, parameters, and optional attributes; curly braces {} are used to enclose the specific content of the instruction; key-value pairs are used to represent attributes and values; then the DSL instruction is: <keyword> + <object> + <parameter 1> + <qualifier> + <parameter 2>, where the specific content and attributes of the instruction are located in the qualifier.

[0111] The email management module specifically includes: creating new emails via the Create Email DSL command, which includes email title, body, and attachment information; editing existing emails via the Edit Email DSL command, which modifies the email title, body, and attachment information; deleting specified emails via the Delete Email DSL command, simplifying the deletion operation; viewing all emails via the View Email DSL command, providing a convenient viewing method; sorting emails via the Sort Email DSL command; and categorizing emails via the Classify Email DSL command.

[0112] The system also includes managing email attachments via DSL commands, supporting the addition, editing, and deletion of items; and enabling batch operations via DSL commands, i.e., batch deletion of emails.

[0113] The DSL language of this invention has wide applications in the following scenarios:

[0114] 1. New player tutorial email generation:

[0115] During development, welcome messages, along with a new player gift pack, are created and sent via DSL to enhance the initial experience for new players. Developers can quickly generate these messages using simple DSL scripts.

[0116] 2. Event reward email generation:

[0117] During development activities, reward letters can be generated in batches via DSL, accompanied by various event items, to increase participation and player satisfaction. Developers can generate a large number of reward letters using DSL scripts based on event requirements.

[0118] 3. System notification email generation:

[0119] DSL allows for the flexible creation and management of system announcements, update notifications, and other communications, enabling game operations teams to quickly respond to player needs. These notifications can include detailed update logs, maintenance notices, or announcements of important in-game events.

[0120] 4. Item transaction email generation:

[0121] Developers can manage item trading messages via DSL commands, improving the security and convenience of transactions. Players can exchange or gift items attached to these messages, simplifying the item trading process.

[0122] 5. Task reward letter generation:

[0123] After a player completes a quest, a quest reward letter is automatically generated, along with the quest reward item, improving the flexibility and operability of the quest system. Quest reward letters can be automatically generated based on quest type and completion status.

[0124] 6. Batch generate emails:

[0125] In scenarios requiring large-scale email sending, such as anniversary celebrations or major updates, emails can be generated and sent in batches using DSL scripts, improving development efficiency.

[0126] Example:

[0127] batch create mail{

[0128] for player in active_players{

[0129] create mail{

[0130] title: "Anniversary Celebration"

[0131] body: "Thank you for accompanying us this past year. Here is your special reward!"

[0132] attach:[505:1]

[0133] }

[0134] }

[0135] }

[0136] The method of this invention can be applied to various types of computer games, especially those requiring complex mail management and flexible content generation, such as massively multiplayer online role-playing games (MMORPGs), sandbox games, and strategy games.

[0137] 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 inventory mail, characterized in that: The method is as follows: Step S1: Define the DSL syntax structure, which adopts a structure similar to the C language, and define the title, body and attachment information of the letter; Step S2: Set the DSL instruction set, which includes instructions for creating, editing, deleting, viewing, sorting, and categorizing letters; Step S3: Perform corresponding operation management on the emails according to the received DSL instructions.

2. The game backpack letter management method according to claim 1, characterized in that: Step S2 specifically involves: each DSL instruction should include a keyword, a parameter, and optional attributes; curly braces {} are used to enclose the specific content of the instruction; key-value pairs are used to represent attributes and values; then the DSL instruction is: <keyword> + <object> + <parameter 1> + <qualifier> + <parameter 2>, where the specific content and attributes of the instruction are located in the qualifier.

3. The game backpack letter management method according to claim 1, characterized in that: Step S3 specifically includes: creating a new letter using the Create Letter DSL command, which includes the letter title, body, and attachment information; editing an existing letter using the Edit Letter DSL command, modifying the letter title, body, and attachment information; deleting a specified letter using the Delete Letter DSL command, simplifying the deletion operation; viewing all letters using the View Letter DSL command, providing a convenient viewing method; sorting letters using the Sort Letter DSL command; and categorizing letters using the Classify Letter DSL command.

4. The game backpack letter management method according to claim 1, characterized in that: The method also includes managing email attachment information via DSL commands, supporting the addition, editing, and deletion of items; and enabling batch operations via DSL commands, i.e., batch deletion of emails.

5. A game backpack and mail management system, characterized in that: The system includes: a syntax structure definition module, a mail DSL instruction setting module, and a mail management module; The syntax structure definition module defines the DSL syntax structure, which adopts a structure similar to the C language and defines the title, body and attachment information of the letter. The DSL instruction setting module for letters sets a DSL instruction set, which includes instructions for creating letters, editing letters, deleting letters, viewing letters, sorting letters, and classifying letters. The email management module performs corresponding operations and management on emails based on the received DSL instructions.

6. A game backpack mail management system according to claim 5, characterized in that: The DSL instruction setting module for letters is specifically as follows: each DSL instruction should contain keywords, parameters, and optional attributes; curly braces {} are used to enclose the specific content of the instruction; key-value pairs are used to represent attributes and values; then the DSL instruction is: <keyword> + <object> + <parameter 1> + <qualifier> + <parameter 2>, where the specific content and attributes of the instruction are located in the qualifier.

7. A game backpack and mail management system according to claim 5, characterized in that: The email management module specifically includes: creating new emails via the Create Email DSL command, which includes email title, body, and attachment information; editing existing emails via the Edit Email DSL command, which modifies the email title, body, and attachment information; deleting specified emails via the Delete Email DSL command, simplifying the deletion operation; viewing all emails via the View Email DSL command, providing a convenient viewing method; sorting emails via the Sort Email DSL command; and categorizing emails via the Classify Email DSL command.

8. A game backpack mail management system according to claim 5, characterized in that: The system also includes managing email attachments via DSL commands, supporting the addition, editing, and deletion of items; and enabling batch operations via DSL commands, i.e., batch deletion of emails.