Game activity configuration method and device, electronic equipment and storage medium

By automating the initialization of game activities through configuration tables and code generation tools, the problem of high developer involvement in existing technologies is solved, enabling efficient updates and iterations of game activity configurations.

CN116370965BActive Publication Date: 2026-02-27NETEASE (SHANGHAI) NETWORK CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310200779.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-02-24
Publication Date
2026-02-27
Estimated Expiration
2043-02-24

AI Technical Summary

Technical Problem

When the configuration methods for game activities in existing online games need to be modified frequently, the high level of developer involvement leads to low update and iteration efficiency.

Method used

By using configuration tables and code generation tools, visualized game activity data can be generated, game activities can be initialized automatically, and developer involvement can be reduced.

Benefits of technology

It reduces the manpower cost of configuring game activities, improves the efficiency of updates and iterations, and simplifies the process of modifying and deploying game activity content.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116370965B_ABST
    Figure CN116370965B_ABST
Patent Text Reader

Abstract

The application provides a game activity configuration method and device, electronic equipment and a storage medium. The game activity configuration method comprises: confirming a configuration table corresponding to a game activity to be configured, the configuration table containing first activity data corresponding to the game activity and being visualized, at least part of the first activity data in the configuration table being selected from a preset activity database; generating a code file corresponding to the game activity according to the configuration table, the code file comprising second activity data corresponding to the first activity data and readable by a preset game activity program; and initializing the game activity according to the code file. The game activity configuration method of the embodiment of the application can realize content modification and deployment of the game activity while reducing the involvement of the developer, reduce the labor cost of game activity configuration, and improve the efficiency of game activity update iteration.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the field of computers, and in particular to a game activity configuration method and device, electronic equipment and a storage medium. BACKGROUND

[0002] Most of the existing network games will often configure game activities to improve the activity of players in the form of rewards or new game tasks.

[0003] Game activities often need to be frequently modified during planning. In the existing game activity configuration method, if the game activity content needs to be added or modified, the developer needs to be involved all the time, and the update iteration efficiency of the game activity is low. SUMMARY

[0004] Therefore, the present application provides a game activity configuration method and device, electronic equipment and a storage medium to improve the update iteration efficiency of the game activity.

[0005] In a first aspect, the present application provides a game activity configuration method, which includes: confirming a configuration table corresponding to a game activity to be configured, the configuration table containing first activity data corresponding to the game activity and being visualized, at least part of the first activity data in the configuration table being selected from a preset activity database; generating a code file corresponding to the game activity according to the configuration table, the code file including second activity data corresponding to the first activity data and readable by a preset game activity program; and initializing the game activity according to the code file.

[0006] According to the foregoing embodiment of the first aspect of the present application, the step of confirming the configuration table corresponding to the game activity to be configured includes: confirming activity basic information corresponding to the game activity to be configured in the configuration table; confirming activity start rules and activity end rules corresponding to the game activity to be configured in the configuration table; and confirming a plurality of game task data corresponding to the game activity to be configured in the configuration table.

[0007] According to any one of the foregoing embodiments of the first aspect of the present application, the preset activity database respectively presets a plurality of selectable items of the activity start rules, the activity end rules and each of the game task data.

[0008] According to any one of the foregoing embodiments of the first aspect of the present application, the activity basic information includes an activity title, an activity type and an activity description, and the plurality of game task data includes task opening rules, task combination rules, task condition rules and task reward distribution rules.

[0009] According to any one of the foregoing embodiments of the first aspect of the present application, the step of confirming the game task data corresponding to the game activity to be configured in the configuration table comprises: obtaining a game task combination included in the game activity to be configured from the preset activity database; generating a task set identifier corresponding to the game task combination, and adding the task set identifier to the configuration table, wherein different task set identifiers correspond to different game task combinations.

[0010] According to any one of the foregoing embodiments of the first aspect of the present application, the step of confirming the game task data corresponding to the game activity to be configured in the configuration table further comprises: storing a mapping relationship between the task set identifier and the game task combination in the preset activity database.

[0011] According to any one of the foregoing embodiments of the first aspect of the present application, the step of generating a code file corresponding to the game activity according to the configuration table comprises: identifying the first activity data in the configuration table by a code generation tool; and converting the identified first activity data into second activity data according to a preset mapping mode by the code generation tool, to obtain the corresponding code file.

[0012] According to any one of the foregoing embodiments of the first aspect of the present application, the step of initializing the game activity according to the code file comprises: in response to a login application of a game client and in response to obtaining the code file, initializing the game activity according to the second activity data in the code file.

[0013] According to any one of the foregoing embodiments of the first aspect of the present application, the step of initializing the game activity according to the code file comprises: controlling the game activity to be started or stopped according to the second activity data corresponding to the activity start rule or the activity stop rule; and configuring a game task in the game activity according to the second activity data corresponding to the game task data.

[0014] According to any one of the foregoing embodiments of the first aspect of the present application, the game activity configuration method further comprises: in response to a specified behavior of a game client associated with a game task, if the specified behavior is verified to meet a task condition of the game task, controlling a task progress corresponding to the game task to be increased.

[0015] According to any one of the foregoing embodiments of the first aspect of the present application, the game activity configuration method further comprises: in response to a reward collection request of a game client, if a task progress corresponding to the reward collection request is verified to have been completed, performing a reward distribution according to the second activity data corresponding to the task reward distribution rule.

[0016] In a second aspect, an embodiment of the present application provides a game activity configuration apparatus, comprising: a configuration table confirming module configured to confirm a configuration table corresponding to a game activity to be configured, wherein the configuration table comprises first activity data corresponding to the game activity and visualized, and at least part of the first activity data in the configuration table is selected from a preset activity database; a code file generating module configured to generate a code file corresponding to the game activity according to the configuration table, wherein the code file comprises second activity data corresponding to the first activity data and readable by a preset game activity program; and a game activity initializing module configured to initialize the game activity according to the code file.

[0017] In a third aspect, an embodiment of the present application provides an electronic device, comprising a processor and a memory, wherein the memory stores machine executable instructions capable of being executed by the processor, and the processor executes the machine executable instructions to implement the game activity configuration method according to any one of the preceding embodiments of the first aspect of the present application.

[0018] In a fourth aspect, an embodiment of the present application provides a machine readable storage medium, wherein the machine readable storage medium stores machine executable instructions, and when the machine executable instructions are invoked and executed by a processor, the machine executable instructions cause the processor to implement the game activity configuration method according to any one of the preceding embodiments of the first aspect of the present application.

[0019] According to the game activity configuration method, apparatus, electronic device and storage medium, when the game activity is configured, the configuration table corresponding to the game activity to be configured can be confirmed first, wherein the configuration table comprises first activity data corresponding to the game activity and visualized, and at least part of the first activity data in the configuration table is selected from a preset activity database. Then, the code file corresponding to the game activity is generated according to the configuration table, and the game activity is initialized according to the code file. In the process of confirming the configuration table, the configuration table itself has a high degree of visualization and is easy to understand, and the code file is generated according to the configuration table, and these processes do not need the participation of the developer. Therefore, when the game activity is configured by the above method, the content of the game activity can be modified and deployed with the participation of the developer reduced, the human cost of the game activity configuration is reduced, and the efficiency of the game activity update iteration is improved.

[0020] Other features and advantages of the present application will be further apparent from the following detailed description, and to some extent will be apparent from the description that is made with the accompanying drawings. The purposes and other advantages of the present application can be realized and obtained by the structure particularly pointed out in the description, claims and accompanying drawings.

[0021] In order to make the above objectives, features and advantages of the present application more apparent, the following will specifically describe preferred embodiments in combination with the accompanying drawings, and make a detailed description as follows. Attached Figure Description

[0022] To more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.

[0023] Figure 1 A flowchart illustrating a game activity configuration method provided in one embodiment of the present invention;

[0024] Figure 2 This is a flowchart illustrating the process of confirming multiple game task data corresponding to the game activity to be configured in a configuration table in a game activity configuration method provided by an embodiment of the present invention.

[0025] Figure 3 This is a structural block diagram of a game activity configuration device provided in one embodiment of the present invention;

[0026] Figure 4 This is a structural block diagram of an electronic device provided in one embodiment of the present invention. Detailed Implementation

[0027] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0028] Most online games frequently incorporate in-game events to increase player activity through rewards or new quests. These events typically consist of a combination of multiple quests; players receive rewards after completing one or more quests. For the sake of content diversity, an excellent in-game event system should be able to support multiple sets of logical rules simultaneously.

[0029] In the existing game event development process, it is generally necessary to develop event start rules, event end rules, and various game task data according to the planning requirements, and then bind the game task data to the corresponding game event. Game events often need to be modified frequently during the planning process. In the existing game event configuration methods, if the content of the game event needs to be added or modified, the developers need to be involved continuously, resulting in low efficiency in updating and iterating game events.

[0030] Based on this, the game activity configuration method, device, electronic equipment and storage medium provided by the embodiments of the present application can realize content modification and deployment of the game activity while reducing the involvement of the developer, reduce the labor cost of game activity configuration, and improve the efficiency of game activity update iteration.

[0031] The game activity configuration method in one of the embodiments of the present application can run on a client device or a server. When the game activity configuration method runs on the 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.

[0032] In some optional embodiments, various cloud applications can run under the cloud interaction system, for example, cloud games. Taking cloud games as an example, cloud games refer to a game mode based on cloud computing. In the running mode of cloud games, the running subject of the game program and the presentation subject of the game picture are separated, and the storage and running of the game activity configuration method are completed on the cloud game server. The client device is used for receiving and sending data and presenting the game picture. For example, the client device can be a display device close to the user side with data transmission function, such as a mobile terminal, a television, a computer, a palm computer, etc. However, the cloud game server in the cloud end performs information processing. When playing the game, the player operates the client device to send operation instructions to the cloud game server, the cloud game server runs the game according to the operation instructions, encodes and compresses the game picture and other data, returns the data to the client device through the network, and finally decodes and outputs the game picture through the client device.

[0033] In some optional embodiments, taking games as an example, the local terminal device stores a game program and is used for presenting a game picture. The local terminal device is used for interacting with the player through a graphical user interface, that is, the conventional game program is downloaded and installed through an electronic device and run. The way of providing the graphical user interface to the player by the local terminal device can include various ways, for example, the graphical user interface can be rendered and displayed on the display screen of the terminal, or provided to the player through holographic projection. For example, the local terminal device can include a display screen and a processor, the display screen is used for presenting a graphical user interface, the graphical user interface includes a game picture, and the processor is used for running the game, generating the graphical user interface and controlling the display of the graphical user interface on the display screen.

[0034] In a possible implementation, the embodiment of the present application provides a game activity configuration method. A graphical user interface is provided by a terminal device. The terminal device can be a server in the cloud interaction system mentioned above. The graphical user interface can display interface content, such as a single picture configuration, a communication interaction window, and the like, according to the type of the started application program.

[0035] To facilitate the understanding of the present embodiment, first, a game activity configuration method disclosed by the present embodiment is described in detail, Figure 1 A flowchart of the game activity configuration method provided by the embodiment of the present application is shown in FIG. 1. In the present embodiment, the game activity configuration method includes steps S110 to S150.

[0036] In step S110, a configuration table corresponding to a game activity to be configured is confirmed. The configuration table contains visualized first activity data corresponding to the game activity. At least part of the first activity data in the configuration table is selected from a preset activity database.

[0037] Specifically, in the present embodiment, the step of confirming the configuration table corresponding to the game activity to be configured includes: confirming activity basic information corresponding to the game activity to be configured in the configuration table; confirming activity start rules and activity end rules corresponding to the game activity to be configured in the configuration table; and confirming a plurality of game task data corresponding to the game activity to be configured in the configuration table.

[0038] Optionally, the preset activity database respectively presets a plurality of optional items of the activity start rules, the activity end rules, and each game task data.

[0039] In the present embodiment, the activity basic information includes an activity title, an activity type, and an activity description. In the present embodiment, the plurality of game task data includes task opening rules, task combination rules, task condition rules, and task reward distribution rules.

[0040] The above-mentioned activity start rules, activity end rules, task opening rules, task combination rules, task condition rules, and task reward distribution rules can be added and encapsulated in the preset activity database for selection in the configuration table.

[0041] For example, the activity start rules or the activity end rules can include: opening the game activity on a specified date or closing the game activity on a specified date, opening the game activity according to a user basic attribute or closing the game activity according to a user basic attribute, and a permanent game activity. Opening the game activity according to a user basic attribute or closing the game activity according to a user basic attribute, for example, opening the game activity according to a level of a virtual role or closing the game activity according to a level of a virtual role.

[0042] Figure 2 The flowchart of the method for configuring game activities provided in an embodiment of the present application includes the step of confirming the game task data corresponding to the game activity to be configured in the configuration table. In some embodiments, the step of confirming the game task data corresponding to the game activity to be configured in the configuration table can include steps S1131 and S1132.

[0043] In step S1131, the game task combination included in the game activity to be configured is obtained from the preset activity database.

[0044] In step S1132, the task set identifier corresponding to the game task combination is generated according to the game task combination, and the task set identifier is added to the configuration table. Different task set identifiers correspond to different game task combinations. The task set identifier can be used to declare the game task combination included in the current game activity, so that the game server can correctly load the corresponding game task data when initializing the game activity.

[0045] In some embodiments, the step of confirming the game task data corresponding to the game activity to be configured in the configuration table further includes step S1133. In step S1133, the mapping relationship between the task set identifier and the game task combination is stored in the preset activity database. When the game activity configuration is performed again later, if the repeated game task combination needs to be used, the corresponding task set identifier only needs to be copied in the configuration table.

[0046] As Figure 1 In step S120, the code file corresponding to the game activity is generated according to the configuration table. The code file includes the second activity data corresponding to the first activity data and readable by the preset game activity program.

[0047] Specifically, the step S120 of generating the code file corresponding to the game activity according to the configuration table includes: identifying the first activity data in the configuration table by the code generation tool; and converting the identified first activity data into the second activity data according to a preset mapping mode by the code generation tool to obtain the corresponding code file.

[0048] In this embodiment, the configuration table is a visual table file with a format recognizable by the code generation tool, and the generated code file is a code file readable by the preset game activity program. For example, in step S120, the code generation tool converts the visual configuration table into a python code file. When the game server is started, the second activity data included in the code file generated in step S120 is used as the currently available game activity data.

[0049] In step S130, the game activity is initialized according to the code file.

[0050] In some embodiments, the step S130 of initializing the game activity according to the code file comprises: in response to a login application of the game client, and in response to obtaining the code file, initializing the game activity according to the second activity data in the code file.

[0051] Specifically, the step S130 of initializing the game activity according to the code file comprises: controlling the game activity to start or stop according to the second activity data corresponding to the activity start rule or the activity stop rule; and configuring the game task in the game activity according to the second activity data corresponding to the plurality of game tasks.

[0052] As Figure 1 In the present embodiment, the game activity configuration method further comprises a step S140, in which, in response to a specified behavior of the game client associated with the game task, if it is verified that the specified behavior meets the task condition of the game task, the task progress of the corresponding game task is controlled to increase.

[0053] Specifically, in response to a specified behavior of the game client associated with the game task, if the specified behavior passes the legality detection of the game server, an event broadcast of the specified behavior is triggered in the game server, and if it is verified that the specified behavior meets the task condition of the game task, the task progress of the corresponding game task is controlled to increase.

[0054] In the present embodiment, the game activity configuration method further comprises a step S150, in which, in response to a reward collection request of the game client, if it is verified that the task progress corresponding to the reward collection request has been completed, the reward is issued according to the second activity data corresponding to the task reward issuing rule.

[0055] Specifically, in response to a reward collection request of the game client, if the reward collection request passes the legality detection of the game server and it is verified that the task progress corresponding to the reward collection request has been completed, the reward is issued according to the second activity data corresponding to the task reward issuing rule.

[0056] In some embodiments, if the first activity data contained in the configuration table of the game activity includes a daily refresh rule, a game activity refresh behavior is triggered at a specified time point every day, and the specific manner of the game activity refresh behavior can be similar to the aforementioned game activity initialization behavior.

[0057] According to the game activity configuration method provided in the embodiments of the present application, when the game activity is configured, the configuration table corresponding to the game activity to be configured can be first confirmed, the configuration table contains the first activity data corresponding to the game activity and visualized, and at least part of the first activity data in the configuration table is selected from the preset activity database. Then, the code file corresponding to the game activity is generated according to the configuration table, and the game activity is initialized according to the code file. In the process of confirming the configuration table, the configuration table itself has a high degree of visualization and is easy to understand, and the code file is generated according to the configuration table, and these processes do not need the participation of the developer. Therefore, when the game activity is configured in the above manner, the content of the game activity can be modified and deployed with the participation of the developer reduced, the labor cost of the game activity configuration is reduced, and the efficiency of the game activity update iteration is improved.

[0058] In the game activity configuration method in the above embodiments, the activity opening rule, the activity closing rule and the multiple optional items of each game task data are respectively preset in the preset activity database, the game activity is initialized according to the second activity data corresponding to the activity opening rule or the activity closing rule to control the opening or closing of the game activity, and the game task in the game activity is configured according to the second activity data corresponding to the multiple game task data. Therefore, the game activity can be configured by combining the activity opening rule, the activity closing rule and each game task data, most of the steps in the configuration process of the game activity are not dependent on code development, and thus the emergence of redundant codes in the game activity system is reduced, and the game activity code structure is kept clear and unified.

[0059] In the game activity configuration method in the above embodiments, the corresponding task set identifier is generated according to the game task combination, and the task set identifier is added to the configuration table, wherein different task set identifiers correspond to different game task combinations. In addition, the mapping relationship between the task set identifier and the game task combination can be stored in the preset activity database. When the game activity is configured again later, if the repeated game task combination needs to be used, the corresponding task set identifier only needs to be copied and confirmed in the configuration table, and the configuration efficiency of the repeated use of the game task combination in the game activity is improved.

[0060] The embodiments of the present application further provide a game activity configuration device. Figure 3 The structure block diagram of the game activity configuration device provided in an embodiment of the present application is shown. The game activity configuration device includes a configuration table confirmation module 110, a code file generation module 120 and a game activity initialization module 130.

[0061] The configuration table confirmation module 110 is configured to confirm a configuration table corresponding to the game activity to be configured, the configuration table containing first activity data corresponding to the game activity and being visualized, at least part of the first activity data in the configuration table being selected from a preset activity database. The code file generation module 120 is configured to generate a code file corresponding to the game activity according to the configuration table, the code file including second activity data corresponding to the first activity data and being readable by a preset game activity program. The game activity initialization module 130 is configured to initialize the game activity according to the code file.

[0062] According to the game activity configuration apparatus provided in the embodiments of the present application, when the game activity is configured, the configuration table confirmation module 110 can first confirm a configuration table corresponding to the game activity to be configured, the configuration table containing first activity data corresponding to the game activity and being visualized, at least part of the first activity data in the configuration table being selected from a preset activity database. Then, the code file generation module 120 generates a code file corresponding to the game activity according to the configuration table, and the game activity initialization module 130 initializes the game activity according to the code file. In the process of confirming the configuration table, the configuration table itself is highly visualized and easy to understand, and the code file is generated according to the configuration table, and these processes do not need the participation of the developer. Therefore, when the game activity is configured by using the machine readable storage medium, the content of the game activity can be modified and deployed with the participation of the developer reduced, the human cost of the game activity configuration is reduced, and the efficiency of the game activity update iteration is improved.

[0063] In some embodiments, the configuration table confirmation module 110 includes an activity basic information confirmation unit, an activity opening and closing rule determination unit, and a game task data confirmation unit. The activity basic information confirmation unit is configured to confirm, in the configuration table, activity basic information corresponding to the game activity to be configured. The activity opening and closing rule determination unit is configured to confirm, in the configuration table, an activity opening rule and an activity closing rule corresponding to the game activity to be configured. The game task data confirmation unit is configured to confirm, in the configuration table, a plurality of game task data corresponding to the game activity to be configured.

[0064] In some embodiments, the preset activity database respectively presets an activity opening rule, an activity closing rule, and a plurality of optional items of each game task data.

[0065] In some embodiments, the activity basic information includes an activity title, an activity type, and an activity description. In this embodiment, the plurality of game task data includes a task opening rule, a task combination rule, a task condition rule, and a task reward issuing rule.

[0066] The above-mentioned activity start rule, activity end rule, task opening rule, task combination rule, task condition rule, and task reward issuing rule can be encapsulated in the preset activity database for selection in the configuration table.

[0067] In the above-mentioned embodiments, the preset activity database is preset with the activity start rule, the activity end rule, and multiple selectable items of each game task data. When initializing the game activity, the game activity is started or ended according to the second activity data corresponding to the activity start rule or the activity end rule, and the game tasks in the game activity are configured according to the second activity data corresponding to the multiple game task data. Therefore, the game activity can be configured by combining the activity start rule, the activity end rule, and each game task data. Most steps in the configuration process of the game activity do not depend on code development, thereby reducing the occurrence of redundant codes in the game activity system and keeping the game activity code structure clear and unified.

[0068] In some embodiments, the game task data confirmation unit is configured to obtain a game task combination included in the game activity to be configured from the preset activity database, and generate a corresponding task set identifier according to the game task combination, and add the task set identifier to the configuration table, wherein different task set identifiers correspond to different game task combinations.

[0069] In some embodiments, the game task data confirmation unit is further configured to store a mapping relationship between the task set identifier and the game task combination in the preset activity database.

[0070] In the above-mentioned embodiments, the game task data confirmation unit generates a corresponding task set identifier according to the game task combination, and adds the task set identifier to the configuration table, wherein different task set identifiers correspond to different game task combinations. The game task data confirmation unit can also store a mapping relationship between the task set identifier and the game task combination in the preset activity database. When the game activity configuration is performed again later, if the repeated game task combination needs to be used, the corresponding task set identifier only needs to be copied in the configuration table, thereby improving the configuration efficiency of the repeated use of the game task combination in the game activity.

[0071] In some embodiments, the code file generation module 120 is configured to identify the first activity data in the configuration table by using a code generation tool, and to convert the identified first activity data into second activity data according to a preset mapping mode by using the code generation tool, to obtain a corresponding code file.

[0072] In some embodiments, the game activity initialization module 130 is configured to respond to a login application of a game client, and to initialize the game activity according to the second activity data in the code file in response to obtaining the code file.

[0073] In some embodiments, the game activity initialization module 130 is further configured to: control starting or closing of the game activity according to second activity data corresponding to the activity starting rule or the activity closing rule; and configure game tasks in the game activity according to second activity data corresponding to the plurality of game task data.

[0074] In some embodiments, the game activity configuration apparatus can further include a task progress increasing module 140, which is configured to, in response to a specified behavior of the game client associated with a game task, increase the task progress of the corresponding game task if the specified behavior is verified to meet a task condition of the game task.

[0075] In some embodiments, the game activity configuration apparatus can further include a reward issuing control module 150, which is configured to, in response to a reward claiming request of the game client, issue a reward according to second activity data corresponding to a task reward issuing rule if a task progress corresponding to the reward claiming request is verified to have been completed.

[0076] The embodiments also provide an electronic device including a processor and a memory, the memory storing machine executable instructions executable by the processor, and the processor executing the machine executable instructions to implement the game activity configuration method described above. The electronic device can be a server or a terminal device.

[0077] Figure 4 The embodiments also provide an electronic device including a processor and a memory, the memory storing machine executable instructions executable by the processor, and the processor executing the machine executable instructions to implement the game activity configuration method described above. The electronic device can be a server or a terminal device.

[0078] The game activity configuration method includes: confirming a configuration table corresponding to a game activity to be configured, the configuration table containing first activity data corresponding to the game activity and being visualized, at least part of the first activity data in the configuration table being selected from a preset activity database; generating a code file corresponding to the game activity according to the configuration table, the code file including second activity data corresponding to the first activity data and being readable by a preset game activity program; and initializing the game activity according to the code file.

[0079] In some embodiments, the step of confirming the configuration table corresponding to the game activity to be configured includes: confirming activity basic information corresponding to the game activity to be configured in the configuration table; confirming an activity starting rule and an activity closing rule corresponding to the game activity to be configured in the configuration table; and confirming a plurality of game task data corresponding to the game activity to be configured in the configuration table.

[0080] Optionally, the preset activity database respectively presets an activity opening rule, an activity closing rule, and multiple optional items of each game task data.

[0081] In some embodiments, the activity basic information includes an activity title, an activity type, and an activity description. In this embodiment, the multiple game task data includes a task opening rule, a task combination rule, a task condition rule, and a task reward issuing rule.

[0082] The above-mentioned activity opening rule, activity closing rule, task opening rule, task combination rule, task condition rule, and task reward issuing rule can be encapsulated in the preset activity database for selection in the configuration table.

[0083] In some embodiments, the step of confirming, in the configuration table, the multiple game task data corresponding to the game activity to be configured can include: obtaining, from the preset activity database, a game task combination included in the game activity to be configured; and generating a task set identifier corresponding to the game task combination according to the game task combination, and adding the task set identifier to the configuration table, wherein different task set identifiers correspond to different game task combinations.

[0084] In some embodiments, the step of confirming, in the configuration table, the multiple game task data corresponding to the game activity to be configured further includes: storing a mapping relationship between the task set identifier and the game task combination in the preset activity database. When the game activity configuration is performed again later, if the repeated game task combination needs to be used, only the corresponding task set identifier needs to be copied in the configuration table.

[0085] In some embodiments, the step of generating, according to the configuration table, a code file corresponding to the game activity includes: identifying, by a code generation tool, first activity data in the configuration table; and converting, by the code generation tool, the identified first activity data into second activity data according to a preset mapping mode to obtain the corresponding code file.

[0086] In some embodiments, the step of initializing the game activity according to the code file includes: in response to a login application of a game client and in response to obtaining the code file, initializing the game activity according to the second activity data in the code file.

[0087] In some embodiments, the step of initializing the game activity according to the code file includes: controlling the game activity to be opened or closed according to the second activity data corresponding to the activity opening rule or the activity closing rule; and configuring a game task in the game activity according to the second activity data corresponding to the multiple game task data.

[0088] In some embodiments, the game activity configuration method can further include: in response to a specified behavior of the game client associated with the game task, if it is verified that the specified behavior meets a task condition of the game task, controlling a task progress of the corresponding game task to increase.

[0089] In some embodiments, the game activity configuration method can further include: in response to a reward taking request of the game client, if it is verified that a task progress corresponding to the reward taking request has been completed, performing a reward distribution according to a second activity data corresponding to a task reward distribution rule.

[0090] Further, the electronic device can further include a communication interface 903 and a bus 904, and the processor 901, the communication interface 903 and the memory 902 are connected through the bus 904.

[0091] The memory 902 can include a high-speed random access memory (RAM, Random Access Memory) and can also include a non-volatile memory, such as at least one disk memory. The communication between the system network element and at least one other network element is realized through at least one communication interface 903 (which can be wired or wireless), and the Internet, a wide area network, a local network, a metropolitan area network, etc. can be used. The bus 904 can be an ISA bus, a PCI bus, an EISA bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For the convenience of representation, the bus is only represented by a bidirectional arrow in the drawings of the present application, but it does not mean that there is only one bus or one type of bus.

[0092] The processor 901 can be an integrated circuit chip having a processing capability of signals. In the implementation process, each step of the above method can be completed by the integrated logic circuit of hardware or the instruction in the form of software in the processor 901. The processor 901 described above can be a general processor, including a central processing unit (CPU), a network processor (NP), etc.; can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component. Each method, step and logic block disclosed in the embodiments of the present application can be implemented or executed. The general processor can be a microprocessor or the processor can also be any conventional processor. The steps of the method disclosed in combination with the embodiments of the present application can be directly embodied as a hardware code processor for execution, or a combination of hardware and software modules in the code processor for execution. The software module can be located in a random access memory, a flash memory, a read only memory, a programmable read only memory or an electrically erasable programmable memory, a register, etc. The storage medium in the art. The storage medium is located in the memory 902, and the processor 901 reads the information in the memory 902, and combines the hardware to complete the steps of the method of the above embodiments.

[0093] According to the electronic device provided in the embodiments of the present application, when the game activity is configured, the configuration table corresponding to the game activity to be configured can be confirmed first, the configuration table contains the first activity data corresponding to the game activity and visualized, and at least part of the first activity data in the configuration table is selected from the preset activity database. Then, the code file corresponding to the game activity is generated according to the configuration table, and the game activity is initialized according to the code file. In the process of confirming the configuration table, the configuration table itself has a high degree of visualization and is easy to understand, and the code file is generated according to the configuration table. These processes do not require the participation of the developer, therefore, when the game activity is configured by the above electronic device, the content modification and deployment of the game activity can be realized with reduced participation of the developer, the human cost of the game activity configuration is reduced, and the efficiency of the game activity update iteration is improved.

[0094] In the electronic device of some of the above embodiments, the preset activity database respectively presets activity opening rules, activity closing rules, and multiple selectable items of each game task data. When initializing the game activity, the game activity is controlled to be opened or closed according to the second activity data corresponding to the activity opening rules or the activity closing rules, and the game task in the game activity is configured according to the second activity data corresponding to the multiple game task data. Therefore, the game activity can be configured by combining the activity opening rules, the activity closing rules, and the game task data, and most of the steps in the configuration process of the game activity do not depend on code development, thereby reducing the occurrence of redundant codes in the game activity system and maintaining the clear and unified structure of the game activity code.

[0095] In the electronic device of some of the above embodiments, a corresponding task set identifier is generated according to the game task combination, and the task set identifier is added to the configuration table, where different task set identifiers correspond to different game task combinations. In addition, the mapping relationship between the task set identifier and the game task combination can be stored in the preset activity database. When the game activity is configured again later, if the repeated game task combination needs to be used, the corresponding task set identifier only needs to be copied and confirmed in the configuration table, thereby improving the configuration efficiency of the repeated use of the game task combination in the game activity.

[0096] The embodiment also provides a machine-readable storage medium, which stores machine-executable instructions. When the machine-executable instructions are called and executed by a processor, the machine-executable instructions cause the processor to implement the game activity configuration method.

[0097] The game activity configuration method comprises the following steps: confirming a configuration table corresponding to a game activity to be configured, the configuration table containing first activity data corresponding to the game activity and being visualized, and at least part of the first activity data in the configuration table being selected from a preset activity database; generating a code file corresponding to the game activity according to the configuration table, the code file comprising second activity data corresponding to the first activity data and being readable by a preset game activity program; and initializing the game activity according to the code file.

[0098] In some embodiments, the step of confirming the configuration table corresponding to the game activity to be configured comprises the following steps: confirming activity basic information corresponding to the game activity to be configured in the configuration table; confirming activity opening rules and activity closing rules corresponding to the game activity to be configured in the configuration table; and confirming multiple game task data corresponding to the game activity to be configured in the configuration table.

[0099] Optionally, the preset activity database respectively presets activity opening rules, activity closing rules, and multiple selectable items of each game task data.

[0100] In some embodiments, the activity basic information comprises: an activity title, an activity type, and an activity description. In the embodiments, the various game task data comprises: a task opening rule, a task combination rule, a task condition rule, and a task reward issuing rule.

[0101] The above-mentioned activity opening rule, activity closing rule, task opening rule, task combination rule, task condition rule, and task reward issuing rule can be encapsulated in a preset activity database for selection in a configuration table.

[0102] In some embodiments, the step of confirming, in the configuration table, the various game task data corresponding to the game activity to be configured can comprise: obtaining, from the preset activity database, a game task combination included in the game activity to be configured; and generating a task set identifier corresponding to the game task combination according to the game task combination, and adding the task set identifier to the configuration table, wherein different task set identifiers correspond to different game task combinations.

[0103] In some embodiments, the step of confirming, in the configuration table, the various game task data corresponding to the game activity to be configured further comprises: storing a mapping relationship between the task set identifier and the game task combination in the preset activity database. When the game activity configuration is performed again later, if the repeated game task combination needs to be used, the corresponding task set identifier only needs to be copied in the configuration table.

[0104] In some embodiments, the step of generating, according to the configuration table, a code file corresponding to the game activity comprises: identifying, by a code generation tool, first activity data in the configuration table; and converting, by the code generation tool, the identified first activity data into second activity data according to a preset mapping mode to obtain the corresponding code file.

[0105] In some embodiments, the step of initializing the game activity according to the code file comprises: in response to a login application of a game client and in response to obtaining the code file, initializing the game activity according to the second activity data in the code file.

[0106] In some embodiments, the step of initializing the game activity according to the code file comprises: controlling the game activity to be opened or closed according to the second activity data corresponding to the activity opening rule or the activity closing rule; and configuring a game task in the game activity according to the second activity data corresponding to the various game task data.

[0107] In some embodiments, the game activity configuration method can further comprise: in response to a specified behavior of the game client associated with the game task, if the specified behavior is verified to meet the task condition of the game task, controlling the task progress of the corresponding game task to be increased.

[0108] In some embodiments, the game activity configuration method can further include: in response to a reward collection request of the game client, if it is verified that a task progress corresponding to the reward collection request has been completed, issuing a reward according to second activity data corresponding to a task reward issuance rule.

[0109] According to the machine readable storage medium provided in the embodiments of the present application, when a game activity is configured, a configuration table corresponding to the game activity to be configured can be first confirmed, the configuration table containing first activity data corresponding to the game activity and being visualized, at least part of the first activity data in the configuration table being selected from a preset activity database. Then, a code file corresponding to the game activity is generated according to the configuration table, and the game activity is initialized according to the code file. In the process of confirming the configuration table, the configuration table itself is highly visualized and easy to understand, and the code file is generated according to the configuration table, and these processes do not need the participation of a developer. Therefore, when the game activity is configured by using the machine readable storage medium, the content of the game activity can be modified and deployed with reduced participation of the developer, the human cost of game activity configuration is reduced, and the efficiency of game activity update iteration is improved.

[0110] The game activity configuration method, device, electronic equipment and computer program product of the storage medium provided in the embodiments of the present application include a computer readable storage medium storing program codes, the instructions included in the program codes can be used to execute the method described in the foregoing method embodiments, and the specific implementation can be referred to the method embodiments, which will not be described here.

[0111] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the system and device described above can refer to the corresponding process in the foregoing method embodiments, which will not be described here.

[0112] In addition, in the description of the embodiments of the present application, unless otherwise explicitly specified and limited, the terms "mounting", "connection" and "connection" should be understood in a broad sense, for example, can be fixedly connected, can be detachably connected, or integrally connected; can be mechanically connected, or electrically connected; can be directly connected, or indirectly connected through an intermediate medium, or can be the communication inside two elements. For those skilled in the art, the specific meaning of the above terms in the present application can be understood according to the specific circumstances.

[0113] If the functions are realized in the form of software function units and sold or used as independent products, they can be stored in a computer readable storage medium. Based on this understanding, the technical solutions of the present application or the parts of the present application that essentially contribute to the prior art or the parts of the technical solutions can be embodied in the form of software products. The computer software product is stored in a storage medium and includes a plurality of instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in the various embodiments of the present application. The aforementioned storage medium includes a U disk, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a magnetic disk or an optical disk, and various media that can store program codes.

[0114] In the description of the present application, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer" and the like indicate the orientation or positional relationship based on the orientation or positional relationship shown in the drawings, and are only for the purpose of facilitating the description of the present application and simplifying the description, and do not indicate or imply that the devices or elements referred to must have a particular orientation, be constructed and operated in a particular orientation, and therefore cannot be understood as limiting the present application. In addition, the terms "first", "second", "third" are only for the purpose of description, and cannot be understood as indicating or implying relative importance.

[0115] Finally, it should be noted that: the above embodiments are only specific embodiments of the present application, which are used to illustrate the technical solutions of the present application, and are not limited thereto, the protection scope of the present application is not limited thereto, although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that any person skilled in the art within the technical range disclosed by the present application can modify or easily think of changes to the technical solutions recorded in the foregoing embodiments, or make equivalent replacement to part of the technical features; and these modifications, changes or replacements do not make the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should be covered within the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.

Claims

1. A method for configuring game activities, characterized in that, include: Confirm the configuration table corresponding to the game activity to be configured. The configuration table contains first activity data that corresponds to and is visualized with respect to the game activity. At least a portion of the first activity data in the configuration table is selected from a preset activity database. According to the configuration table, a code file corresponding to the game activity is generated. The code file includes second activity data corresponding to the first activity data and readable by a preset game activity program. The step of generating the code file corresponding to the game activity according to the configuration table includes: identifying the first activity data in the configuration table using a code generation tool; and converting the identified first activity data into second activity data according to a preset mapping method using the code generation tool to obtain the corresponding code file. Initialize the game activity according to the code file; The step of confirming the configuration table corresponding to the game activity to be configured includes: Confirm the basic activity information corresponding to the game activity to be configured in the configuration table; Confirm the activity start rules and activity stop rules corresponding to the game activity to be configured in the configuration table; Confirm the various game task data corresponding to the game activity to be configured in the configuration table; The step of confirming the various game task data corresponding to the game activity to be configured in the configuration table includes: Retrieve the game task combinations included in the game activities to be configured from the preset activity database; Based on the game task combination, a corresponding task set identifier is generated, and the task set identifier is added to the configuration table. Different task set identifiers correspond to different game task combinations.

2. The game activity configuration method according to claim 1, characterized in that, The preset activity database includes preset activity start rules, activity stop rules, and multiple options for each type of game task data.

3. The game activity configuration method according to claim 1, characterized in that, The basic information of the activity includes: activity title, activity type, and activity description; The various game task data include: task opening rules, task combination rules, task condition rules, and task reward distribution rules.

4. The game activity configuration method according to claim 1, characterized in that, The step of confirming the various game task data corresponding to the game activity to be configured in the configuration table further includes: The mapping relationship between the task set identifier and the game task combination is stored in the preset activity database.

5. The game activity configuration method according to claim 1, characterized in that, The step of initializing the game activity according to the code file includes: In response to a login request from the game client and in response to receiving the code file, the game activity is initialized based on the second activity data in the code file.

6. The game activity configuration method according to claim 1, characterized in that, The step of initializing the game activity according to the code file includes: The game activity is controlled to be started or stopped according to the second activity data corresponding to the activity start rule or the activity stop rule; Configure the game tasks in the game activity based on the second activity data corresponding to the various game task data.

7. The game activity configuration method according to claim 3, characterized in that, The game activity configuration method also includes: In response to a specified action associated with a game task in the game client, if the specified action is verified to meet the task conditions of the game task, the task progress of the corresponding game task is increased.

8. The game activity configuration method according to claim 7, characterized in that, The game activity configuration method also includes: In response to a reward claim request from the game client, if it is verified that the task progress corresponding to the reward claim request has been completed, the reward is distributed according to the second activity data corresponding to the task reward distribution rules.

9. A game activity configuration device, characterized in that, include: The configuration table confirmation module is used to confirm the configuration table corresponding to the game activity to be configured. The configuration table contains first activity data that corresponds to and is visualized with respect to the game activity. At least a portion of the first activity data in the configuration table is selected from a preset activity database. The code file generation module is used to generate a code file corresponding to the game activity according to the configuration table. The code file includes second activity data corresponding to the first activity data and readable by a preset game activity program. The code file generation module is used to identify the first activity data in the configuration table through a code generation tool, and to convert the identified first activity data into second activity data according to a preset mapping method through the code generation tool to obtain the corresponding code file. The game activity initialization module is used to initialize the game activity according to the code file; The configuration table confirmation module includes an activity basic information confirmation unit, an activity start / stop rule determination unit, and a game task data confirmation unit. The activity basic information confirmation unit is used to confirm the activity basic information corresponding to the game activity to be configured in the configuration table. The activity start / stop rule determination unit is used to confirm the activity start rule and activity stop rule corresponding to the game activity to be configured in the configuration table. The game task data confirmation unit is used to confirm various game task data corresponding to the game activity to be configured in the configuration table. The game task data confirmation unit is configured to: obtain the game task combination contained in the game activity to be configured from the preset activity database, generate a corresponding task set identifier according to the game task combination, and add the task set identifier to the configuration table, wherein different task set identifiers correspond to different game task combinations.

10. An electronic device, characterized in that, It includes a processor and a memory, the memory storing machine-executable instructions that can be executed by the processor, the processor executing the machine-executable instructions to implement the game activity configuration method according to any one of claims 1-8.

11. A machine-readable storage medium, characterized in that, The machine-readable storage medium stores machine-executable instructions, which, when invoked and executed by a processor, cause the processor to implement the game activity configuration method according to any one of claims 1-8.