A game update method and system based on game development data adjustment

By establishing the game code and the corresponding relationship, the identification and classification of the change part for targeted adjustment, solve the problem of slow adjustment of game code adjustment in existing technologies, and poor BUG processing. BUG processing effect.

CN119002969BActive Publication Date: 2025-01-28GUANGZHOU CULUO TECH CO LTD

Patent Information

Application Number
CN202411464700.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-10-21
Publication Date
2025-01-28
Estimated Expiration
2044-10-21

AI Technical Summary

Technical Problem

In the development of existing games, due to the large amount of code when adjusting game code, the development speed is slow and bugs are prone to occur, but there is a lack of effective bug handling solutions.

Method used

By dividing the game code, obtain the level setting code, character parameter setting code, screen call code, and logical architecture code, and establish the corresponding relationship based on these code, identify and classify the change part, make targeted adjustments, and adjust it after adjustment. Perform BUG recognition and processing.

Benefits of technology

The amount of data adjustment has been reduced, the development speed has been accelerated, and a comprehensive BUG processing measure is formed to ensure that the game can run normally.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119002969B_ABST
    Figure CN119002969B_ABST
Patent Text Reader

Abstract

The present invention discloses a game update method and system based on game development data adjustment, which relates to the field of computer technology, including: dividing the game code to obtain level setting code, character parameter setting code, screen call code and logic architecture code; obtaining the changed part; obtaining the code adjustment scheme of the level setting code, character parameter setting code and screen call code; when updating, in the original code, embedding adjustment of the changed part according to the code adjustment scheme; adjusting the screen; performing updated bug identification to determine the cause of the bug; obtaining the code with the bug and processing the bug. By setting the code corresponding module, the change identification module, the adjustment setting module and the bug repair module, different targeted adjustments can be made according to different changes. At the same time, a complete processing measure is formed for bug processing. When the bug cannot be processed, it is ensured that the entire game can run normally.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a game updating method and system based on game development data adjustment. Background Art

[0002] Game development is a complex process involving multiple fields, including game design, programming, art, testing, etc. During the game development process, in order to achieve better game effects, a lot of adjustments need to be made to the game, and adjustments need to be made again based on the updated game.

[0003] Existing adjustments usually involve adjustments to the overall game code, which involves a large number of codes and a large workload, thus slowing down the development speed. At the same time, during the adjustment, bugs are prone to occur due to the large amount of data, and there is a lack of a more complete response plan for handling bugs. Summary of the invention

[0004] In order to solve the above technical problems, a game update method and system based on game development data adjustment are provided. The technical solution solves the problem that the existing adjustment proposed in the above background technology usually adjusts the overall game code, which involves a large number of codes and a large workload, thereby slowing down the development speed. At the same time, during the adjustment, bugs are prone to occur due to the large amount of data, and there is a lack of a more complete response plan for dealing with bugs.

[0005] In order to achieve the above purpose, the technical solution adopted by the present invention is:

[0006] A game update method based on game development data adjustment, comprising:

[0007] The game code is divided into a level setting code, a character parameter setting code, a screen calling code and a logic architecture code, wherein the logic architecture code is used to set the running order of the level setting code and the character parameter setting code;

[0008] Obtain the correspondence between level settings and level setting codes, the correspondence between character parameters and character parameter setting codes, and the calling relationship between screens and screen calling codes;

[0009] Identify the levels, character parameters, and adjustments in the screen in the development data to obtain the changed parts;

[0010] The changed parts are classified according to levels, character parameters and screens, and the code adjustment schemes for level setting codes, character parameter setting codes and screen calling codes are obtained;

[0011] When updating, the changed parts are embedded and adjusted in the original code according to the code adjustment plan;

[0012] Adjust the image based on the changed part;

[0013] After embedding adjustments, updated bug identification is performed based on levels, character parameters, and screens to determine the cause of the bug;

[0014] Based on the reason why the bug exists, obtain the code where the bug exists and handle the bug.

[0015] Preferably, the step of dividing the game code to obtain the level setting code, the character parameter setting code, the screen calling code and the logic architecture code comprises the following steps:

[0016] Obtain at least one level, at least one character, and at least one screen in the game;

[0017] When the game is running, the loading status of the game code is obtained to obtain the parallel running code of at least one screen, level and character;

[0018] Identify the calling function in the game code, and use the code called by the calling function as the screen calling code;

[0019] Remove the screen call code from the parallel running code to obtain the common code for the level and the role;

[0020] In at least one level and role common code, arbitrarily obtain two target level and role common codes, and take the intersection of the two target level and role common codes to obtain the role parameter setting code;

[0021] When the two target level and role common codes traverse all binary combinations of at least one level and role common code, at least one role parameter setting code is obtained;

[0022] Remove the character parameter setting code from the common code of the level and the character to obtain the level setting code;

[0023] Remove the level setting code, character parameter setting code and screen call code from the game code to obtain the logical architecture code.

[0024] Preferably, the step of obtaining the correspondence between level settings and level setting codes, the correspondence between character parameters and character parameter setting codes, and the call relationship between screens and screen call codes comprises the following steps:

[0025] Under the condition that the screen and the level remain unchanged, the game of a single character is run, and the running character parameter setting code is paired with the character, and when the single character traverses all the characters in the game, the pairing is completed;

[0026] In the case of screen switching, the running screen call code is paired with the switched screen. When the switched screen traverses all the screens in the game, the pairing is completed;

[0027] In the case of a level switch, the running level setup code is paired with the switched level, and the pairing is completed when the switched level traverses all levels in the game.

[0028] Preferably, the step of identifying the level, character parameters and adjustments in the screen in the development data to obtain the changed parts comprises the following steps:

[0029] Obtaining a topological relationship among levels, character parameters, and screens in the unadjusted development data as a first topological structure;

[0030] Obtaining the topological relationship between the level, character parameters, and screen in the adjusted development data as a second topological structure;

[0031] Obtain the unadjusted levels, character parameters, and images before and after the adjustment as reference points;

[0032] Overlapping the first topological structure and the second topological structure according to the reference point to obtain overlapping parts and non-overlapping parts;

[0033] Dividing the non-overlapping portion into a first non-overlapping portion and a second non-overlapping portion, wherein the first non-overlapping portion belongs to a first topological structure, and the second non-overlapping portion belongs to a second topological structure;

[0034] Comparing the levels, character parameters and pictures in the overlapped part between the first topological structure and the second topological structure, and taking the levels, character parameters and pictures that are different in the overlapped part as the preliminary changed part;

[0035] The levels, character parameters and pictures in the first non-overlapping part are taken as the first changing part;

[0036] The levels, character parameters and pictures in the second non-overlapping part are used as the second changing part;

[0037] The preliminary changing part, the first changing part and the second changing part are summed up to obtain the changing part.

[0038] Preferably, the code adjustment scheme of classifying the changed parts according to levels, character parameters and pictures to obtain level setting codes, character parameter setting codes and picture calling codes comprises the following steps:

[0039] In the preliminary change part, a preliminary adjustment plan is formed, wherein the preliminary adjustment plan is to replace the level setting code, character parameter setting code and screen call code corresponding to the level, character parameters and screen before the adjustment in the preliminary change part with the level setting code, character parameter setting code and screen call code corresponding to the level, character parameters and screen after the adjustment;

[0040] In the first change part, a first adjustment scheme is formed, wherein the first adjustment scheme is: obtaining the level setting code, the character parameter setting code and the screen calling code corresponding to the level, the character parameters and the screen in the first change part as the first adjustment code, deleting the first adjustment code in the game code, obtaining the first architecture code associated with the first adjustment code in the logic architecture code, and deleting the first architecture code in the logic architecture code;

[0041] In the second changing part, a second adjustment plan is formed, and the second adjustment plan is: obtain the level setting code, character parameter setting code and screen call code corresponding to the level, character parameters and screen in the second changing part as the second adjustment code, add the second adjustment code into the game code, and based on the position information of the level, character parameters and screen in the second changing part in the second topological structure, form the second architecture code of the second adjustment code, and add the second architecture code into the logical architecture code.

[0042] Preferably, the embedding adjustment of the changed part in the original code according to the code adjustment scheme comprises the following steps:

[0043] The initial change part, the first change part and the second change part are respectively embedded and adjusted according to the code adjustment plan, and for the part that has not changed, the original code is maintained unchanged.

[0044] Preferably, adjusting the picture based on the changed part comprises the following steps:

[0045] In at least one picture, the picture involved in the first changed part is deleted, and the picture involved in the second changed part is supplemented;

[0046] The images before and after the adjustment in the preliminary change part are obtained, and the images after the adjustment are used to replace the corresponding images before the adjustment.

[0047] Preferably, the updating bug identification based on the level, character parameters and screen, and determining the cause of the bug existence comprises the following steps:

[0048] Obtain the code causing the bug, identify the attributes of the code causing the bug, and use the level setting code, character parameter setting code, screen calling code or logic architecture code causing the bug as the error code;

[0049] Determine where the error code belongs in the preliminary change part or the second change part, and use it as the reason for the bug.

[0050] Preferably, the obtaining of the code with the bug and handling the bug comprises the following steps:

[0051] Based on big data, the code with bugs is identified and similar error codes are obtained;

[0052] Based on big data, obtain the repair code of similar error codes and use the repair code to handle the bug;

[0053] If the bug is still not eliminated after repair or a similar error code cannot be identified, perform bug recovery according to the cause of the bug;

[0054] During bug recovery processing, if the cause of the bug belongs to the preliminary change part, the code with the bug will be replaced with the code before the development data adjustment. If the cause of the bug belongs to the second change part, the code with the bug will be deleted.

[0055] A game update system based on game development data adjustment, used to implement the above-mentioned game update method based on game development data adjustment, comprising:

[0056] A code classification module, wherein the code classification module divides the game code to obtain a level setting code, a character parameter setting code, a screen call code and a logic architecture code, wherein the logic architecture code is used to set the running order of the level setting code and the character parameter setting code;

[0057] A code corresponding module, the code corresponding module obtains the corresponding relationship between level settings and level setting codes, the corresponding relationship between character parameters and character parameter setting codes, and the calling relationship between screens and screen calling codes;

[0058] A change recognition module, which recognizes the level, character parameters and adjustments in the screen in the development data to obtain the changed parts;

[0059] An adjustment setting module, wherein the adjustment setting module classifies the changed part according to levels, character parameters and screens, and obtains a code adjustment scheme for level setting codes, character parameter setting codes and screen call codes;

[0060] An adjustment module, wherein the adjustment module embeds and adjusts the changed part in the original code according to the code adjustment plan, and adjusts the screen based on the changed part;

[0061] The bug repair module, after being embedded and adjusted, performs updated bug identification based on levels, character parameters and pictures, determines the cause of the bug, obtains the code where the bug exists based on the cause of the bug, and handles the bug.

[0062] Compared with the prior art, the present invention has the following beneficial effects:

[0063] By setting up code corresponding modules, change identification modules, adjustment setting modules and bug repair modules, the codes are classified, so that the codes corresponding to the levels, character parameters and screens can be determined, and their logical architecture can be obtained. Therefore, when changes are identified, different targeted adjustments can be made according to different changes, and the logical architecture code can be adjusted accordingly according to the adjustments, so as to ensure that the code after local adjustments can still operate normally, thereby reducing the amount of data for code adjustment and speeding up the development speed. At the same time, a complete handling measure is formed for bug handling. When the bug cannot be handled, the part of the code can be restored according to the corresponding relationship of the code to the state before the adjustment, thereby ensuring that the entire game can run normally. BRIEF DESCRIPTION OF THE DRAWINGS

[0064] Figure 1 A flowchart of a game update method based on game development data adjustment according to the present invention;

[0065] Figure 2 A flowchart of dividing the game code to obtain the level setting code, the character parameter setting code, the screen calling code and the logic architecture code of the present invention;

[0066] Figure 3 A schematic diagram of a flow chart of obtaining the correspondence between level settings and level setting codes, the correspondence between character parameters and character parameter setting codes, and the calling relationship between screens and screen calling codes according to the present invention;

[0067] Figure 4 A schematic flow chart of the present invention for identifying the adjustment of the levels, character parameters and pictures in the development data to obtain the changed parts;

[0068] Figure 5 A flow chart of a code adjustment scheme for classifying the changed parts according to levels, character parameters and pictures to obtain level setting codes, character parameter setting codes and picture calling codes;

[0069] Figure 6 It is a schematic diagram of the process of adjusting the picture based on the changing part of the present invention;

[0070] Figure 7A schematic diagram of a process for performing updated bug identification based on levels, character parameters and pictures and determining the cause of the bug in the present invention;

[0071] Figure 8 The present invention is a flowchart of obtaining code with bugs and processing the bugs. DETAILED DESCRIPTION

[0072] The following description is used to disclose the present invention so that those skilled in the art can implement the present invention. The preferred embodiments described below are only examples, and those skilled in the art may think of other obvious variations.

[0073] Reference Figure 1 As shown, a game update method based on game development data adjustment includes:

[0074] The game code is divided into a level setting code, a character parameter setting code, a screen calling code and a logic architecture code, wherein the logic architecture code is used to set the running order of the level setting code and the character parameter setting code;

[0075] Obtain the correspondence between level settings and level setting codes, the correspondence between character parameters and character parameter setting codes, and the calling relationship between screens and screen calling codes;

[0076] Identify the levels, character parameters, and adjustments in the screen in the development data to obtain the changed parts;

[0077] The changed parts are classified according to levels, character parameters and screens, and the code adjustment schemes for level setting codes, character parameter setting codes and screen calling codes are obtained;

[0078] When updating, the changed parts are embedded and adjusted in the original code according to the code adjustment plan;

[0079] Adjust the image based on the changed part;

[0080] After embedding adjustments, updated bug identification is performed based on levels, character parameters, and screens to determine the cause of the bug;

[0081] Based on the reason why the bug exists, obtain the code where the bug exists and handle the bug.

[0082] The codes of the changed levels, character parameters and pictures are adjusted, but when adjusting, the original levels, character parameters and pictures may not be replaced, and there may be deletions or additions. Therefore, the overall architecture will change, and the levels, character parameters and pictures before and after the adjustment are difficult to correspond, and thus difficult to compare. In order to solve this problem, in this scheme, the codes of the levels, character parameters and pictures are mainly classified, and the levels, character parameters and pictures are corresponded to the codes according to the classification. Moreover, the correspondence between the before and after architectures is performed based on the unchanged levels, character parameters and pictures as a benchmark, and the correspondence between the remaining parts of the architecture is determined based on the correspondence. Thus, the correspondence between the levels, character parameters and pictures before and after the adjustment can be established, and targeted code adjustments can be performed. At the same time, considering the changes in the logical architecture code caused by the overall architecture changes, the existing adjustments are also performed, and then, the local update adjustment is completed without adjusting the entire code.

[0083] Reference Figure 2 As shown, dividing the game code to obtain the level setting code, the character parameter setting code, the screen calling code and the logic architecture code includes the following steps:

[0084] Obtain at least one level, at least one character, and at least one screen in the game;

[0085] When the game is running, the loading status of the game code is obtained to obtain the parallel running code of at least one screen, level and character;

[0086] Identify the calling function in the game code, and use the code called by the calling function as the screen calling code;

[0087] Remove the screen call code from the parallel running code to obtain the common code for the level and the role;

[0088] In at least one level and role common code, arbitrarily obtain two target level and role common codes, and take the intersection of the two target level and role common codes to obtain the role parameter setting code;

[0089] When the two target level and role common codes traverse all binary combinations of at least one level and role common code, at least one role parameter setting code is obtained;

[0090] Remove the character parameter setting code from the common code of the level and the character to obtain the level setting code;

[0091] Remove the level setting code, character parameter setting code and screen call code from the game code to obtain the logical architecture code.

[0092] The division of codes can determine the ownership of each part of the code. Otherwise, it is impossible to establish a corresponding relationship between the code and the elements in the game. After the codes are classified, they can be matched with the elements in the game by controlling variables, so that the corresponding code can be determined for each basic element that needs to be changed, and then, when it changes, targeted adjustments can be made.

[0093] Reference Figure 3 As shown, obtaining the correspondence between level settings and level setting codes, the correspondence between character parameters and character parameter setting codes, and the calling relationship between screens and screen calling codes includes the following steps:

[0094] Under the condition that the screen and the level remain unchanged, the game of a single character is run, and the running character parameter setting code is paired with the character, and when the single character traverses all the characters in the game, the pairing is completed;

[0095] In the case of screen switching, the running screen call code is paired with the switched screen. When the switched screen traverses all the screens in the game, the pairing is completed;

[0096] In the case of a level switch, the running level setup code is paired with the switched level, and the pairing is completed when the switched level traverses all levels in the game.

[0097] Reference Figure 4 As shown, the levels, character parameters and adjustments in the screen in the development data are identified to obtain the changed parts, including the following steps:

[0098] Obtaining a topological relationship among levels, character parameters, and screens in the unadjusted development data as a first topological structure;

[0099] Obtaining the topological relationship between the level, character parameters, and screen in the adjusted development data as a second topological structure;

[0100] Obtain the unadjusted levels, character parameters, and images before and after the adjustment as reference points;

[0101] Overlapping the first topological structure and the second topological structure according to the reference point to obtain overlapping parts and non-overlapping parts;

[0102] Dividing the non-overlapping portion into a first non-overlapping portion and a second non-overlapping portion, wherein the first non-overlapping portion belongs to a first topological structure, and the second non-overlapping portion belongs to a second topological structure;

[0103] Comparing the levels, character parameters and pictures in the overlapped part between the first topological structure and the second topological structure, and taking the levels, character parameters and pictures that are different in the overlapped part as the preliminary changed part;

[0104] The levels, character parameters and pictures in the first non-overlapping part are taken as the first changing part;

[0105] The levels, character parameters and pictures in the second non-overlapping part are used as the second changing part;

[0106] The preliminary changing part, the first changing part and the second changing part are summed up to obtain the changing part.

[0107] Because the adjustments to the levels, character parameters and screens are not made to the original levels, character parameters and screens, and there may be deletions and additions, it is necessary to process the changes in the overall topological structure, and then determine the correspondence between the levels, character parameters and screens before and after the adjustment. At the same time, it is also necessary to process the newly added and deleted levels, character parameters and screens. Thus, the changed parts are classified to obtain the preliminary changed part, the first changed part and the second changed part. These three parts are processed separately, and a corresponding processing plan is generated for each part, which can make the entire processing process organized and less prone to errors.

[0108] Reference Figure 5 As shown, the code adjustment scheme for classifying the changed parts according to levels, character parameters and screens to obtain level setting codes, character parameter setting codes and screen call codes includes the following steps:

[0109] In the preliminary change part, a preliminary adjustment plan is formed, wherein the preliminary adjustment plan is to replace the level setting code, character parameter setting code and screen call code corresponding to the level, character parameters and screen before the adjustment in the preliminary change part with the level setting code, character parameter setting code and screen call code corresponding to the level, character parameters and screen after the adjustment;

[0110] In the first change part, a first adjustment scheme is formed, wherein the first adjustment scheme is: obtaining the level setting code, the character parameter setting code and the screen calling code corresponding to the level, the character parameters and the screen in the first change part as the first adjustment code, deleting the first adjustment code in the game code, obtaining the first architecture code associated with the first adjustment code in the logic architecture code, and deleting the first architecture code in the logic architecture code;

[0111] In the second changing part, a second adjustment plan is formed, and the second adjustment plan is: obtain the level setting code, character parameter setting code and screen call code corresponding to the level, character parameters and screen in the second changing part as the second adjustment code, add the second adjustment code into the game code, and based on the position information of the level, character parameters and screen in the second changing part in the second topological structure, form the second architecture code of the second adjustment code, and add the second architecture code into the logical architecture code.

[0112] When updating in the preliminary change part, there is no change in the logical architecture, so only the code is replaced. However, in the first change part and the second change part, there are deletions or additions. Therefore, the changes in the logical architecture need to be processed. Otherwise, it will cause problems in the running order of the level setting code, character parameter setting code, and screen call code.

[0113] In the original code, the embedded adjustment of the changed part according to the code adjustment plan includes the following steps:

[0114] The initial change part, the first change part and the second change part are respectively embedded and adjusted according to the code adjustment plan, and for the part that has not changed, the original code is maintained unchanged.

[0115] Reference Figure 6 As shown, based on the changed part, adjusting the picture includes the following steps:

[0116] In at least one picture, the picture involved in the first changed part is deleted, and the picture involved in the second changed part is supplemented;

[0117] The images before and after the adjustment in the preliminary change part are obtained, and the images after the adjustment are used to replace the corresponding images before the adjustment.

[0118] During development and adjustment, the screens will also be updated or replaced, so you only need to make adjustments to the screens that need to be replaced.

[0119] Reference Figure 7 As shown, based on the level, character parameters and screen, the updated bug identification is performed to determine the cause of the bug, including the following steps:

[0120] Obtain the code causing the bug, identify the attributes of the code causing the bug, and use the level setting code, character parameter setting code, screen calling code or logic architecture code causing the bug as the error code;

[0121] Determine where the error code belongs in the preliminary change part or the second change part, and use it as the reason for the bug.

[0122] Here, the error code will only exist in the preliminary variation part or the second variation part, because the first variation part is the deleted part.

[0123] Reference Figure 8 As shown, obtaining the code with the bug and handling the bug includes the following steps:

[0124] Based on big data, the code with bugs is identified and similar error codes are obtained;

[0125] Based on big data, obtain the repair code of similar error codes and use the repair code to handle the bug;

[0126] If the bug is still not eliminated after repair or a similar error code cannot be identified, perform bug recovery according to the cause of the bug;

[0127] During bug recovery processing, if the cause of the bug belongs to the preliminary change part, the code with the bug will be replaced with the code before the development data adjustment. If the cause of the bug belongs to the second change part, the code with the bug will be deleted.

[0128] When the game is updated, it is common for bugs to occur during code operation. Therefore, the bugs must be processed. In the prior art, the entire code is replaced. Since the code is not matched, it is impossible to determine the code before the bug code is adjusted. Therefore, when the bug cannot be fixed, which is entirely possible, the game will not function properly. However, in this solution, since the code is adjusted according to the correspondence, the code before the bug code adjustment can be traced, so the original code can be restored. That is, for the bug that cannot be fixed, the original configuration is used to process it. Although the bug part is not updated, the rest of the game is updated and can function normally.

[0129] A game update system based on game development data adjustment, used to implement the above-mentioned game update method based on game development data adjustment, comprising:

[0130] A code classification module, wherein the code classification module divides the game code to obtain a level setting code, a character parameter setting code, a screen call code and a logic architecture code, wherein the logic architecture code is used to set the running order of the level setting code and the character parameter setting code;

[0131] A code corresponding module, the code corresponding module obtains the corresponding relationship between level settings and level setting codes, the corresponding relationship between character parameters and character parameter setting codes, and the calling relationship between screens and screen calling codes;

[0132] A change recognition module, which recognizes the level, character parameters and adjustments in the screen in the development data to obtain the changed parts;

[0133] An adjustment setting module, wherein the adjustment setting module classifies the changed part according to levels, character parameters and screens, and obtains a code adjustment scheme for level setting codes, character parameter setting codes and screen call codes;

[0134] An adjustment module, wherein the adjustment module embeds and adjusts the changed part in the original code according to the code adjustment plan, and adjusts the screen based on the changed part;

[0135] The bug repair module, after being embedded and adjusted, performs updated bug identification based on levels, character parameters and pictures, determines the cause of the bug, obtains the code where the bug exists based on the cause of the bug, and handles the bug.

[0136] Furthermore, the present solution also proposes a storage medium on which a computer-readable program is stored, and when the computer-readable program is called, the above-mentioned game update method based on game development data adjustment is executed.

[0137] It is understandable that the storage medium may be a magnetic medium, such as a floppy disk, a hard disk, or a magnetic tape; an optical medium, such as a DVD; or a semiconductor medium, such as a solid state drive (SSD).

[0138] In summary, the advantages of the present invention are: by setting a code corresponding module, a change identification module, an adjustment setting module and a bug repair module, the code is classified, so that the code corresponding to the level, character parameters and screen can be determined, and its logical architecture can be obtained, so that when the change is identified, different targeted adjustments can be made according to different changes, and according to the adjustment, the logical architecture code is adjusted accordingly, so as to ensure that the code after local adjustment can still operate normally, thereby reducing the amount of data for code adjustment and speeding up the development speed. At the same time, a complete processing measure is formed for bug handling. When the bug cannot be handled, the part of the code can be restored according to the corresponding relationship of the code to restore it to the state before the adjustment, thereby ensuring that the entire game can run normally.

[0139] The above shows and describes the basic principles, main features and advantages of the present invention. Those skilled in the art should understand that the present invention is not limited to the above embodiments. The above embodiments and descriptions only describe the principles of the present invention. The present invention may be subject to various changes and improvements without departing from the spirit and scope of the present invention. These changes and improvements fall within the scope of the present invention. The scope of protection claimed by the present invention is defined by the attached claims and their equivalents.

Claims

1. A game update method based on game development data adjustment, characterized in that: include: The game code is divided into a level setting code, a character parameter setting code, a screen calling code and a logic architecture code, wherein the logic architecture code is used to set the running order of the level setting code and the character parameter setting code; Obtain the correspondence between level settings and level setting codes, the correspondence between character parameters and character parameter setting codes, and the calling relationship between screens and screen calling codes; Identify the levels, character parameters, and adjustments in the screen in the development data to obtain the changed parts; The changed parts are classified according to levels, character parameters and screens, and the code adjustment schemes for level setting codes, character parameter setting codes and screen calling codes are obtained; When updating, the changed parts are embedded and adjusted in the original code according to the code adjustment plan; Adjust the image based on the changed part; After embedding adjustments, updated bug identification is performed based on levels, character parameters, and screens to determine the cause of the bug; Based on the reasons for the existence of the bug, obtain the code where the bug exists and handle the bug; The division of the game code to obtain the level setting code, the character parameter setting code, the screen calling code and the logic architecture code comprises the following steps: Obtain at least one level, at least one character, and at least one screen in the game; When the game is running, the loading status of the game code is obtained to obtain the parallel running code of at least one screen, level and character; Identify the calling function in the game code, and use the code called by the calling function as the screen calling code; Remove the screen call code from the parallel running code to obtain the common code for the level and the role; In at least one level and role common code, arbitrarily obtain two target level and role common codes, and take the intersection of the two target level and role common codes to obtain the role parameter setting code; When the two target level and role common codes traverse all binary combinations of at least one level and role common code, at least one role parameter setting code is obtained; Remove the character parameter setting code from the common code of the level and the character to obtain the level setting code; Remove the level setting code, character parameter setting code and screen call code from the game code to obtain the logic architecture code; The updating bug identification based on the level, character parameters and screen to determine the cause of the bug includes the following steps: Obtain the code causing the bug, identify the attributes of the code causing the bug, and use the level setting code, character parameter setting code, screen calling code or logic architecture code causing the bug as the error code; Determine where the error code belongs in the preliminary change part or the second change part, and use it as the reason for the bug; The obtaining of the code with the bug and handling the bug comprises the following steps: Based on big data, the code with bugs is identified and similar error codes are obtained; Based on big data, obtain the repair code of similar error codes and use the repair code to handle the bug; If the bug is still not eliminated after repair or a similar error code cannot be identified, perform bug recovery according to the cause of the bug; During bug recovery processing, if the cause of the bug belongs to the preliminary change part, the code with the bug will be replaced with the code before the development data adjustment. If the cause of the bug belongs to the second change part, the code with the bug will be deleted.

2. A game update method based on game development data adjustment according to claim 1, characterized in that: The step of obtaining the correspondence between level settings and level setting codes, the correspondence between character parameters and character parameter setting codes, and the call relationship between screens and screen call codes comprises the following steps: Under the condition that the screen and the level remain unchanged, the game of a single character is run, and the running character parameter setting code is paired with the character, and when the single character traverses all the characters in the game, the pairing is completed; In the case of screen switching, the running screen call code is paired with the switched screen. When the switched screen traverses all the screens in the game, the pairing is completed; In the case of a level switch, the running level setup code is paired with the switched level, and the pairing is completed when the switched level traverses all levels in the game.

3. A game update method based on game development data adjustment according to claim 2, characterized in that: The steps of identifying the level, character parameters and adjustments in the screen in the development data to obtain the changed parts include the following steps: Obtaining a topological relationship among levels, character parameters, and screens in the unadjusted development data as a first topological structure; Obtaining the topological relationship between the level, character parameters, and screen in the adjusted development data as a second topological structure; Obtain the levels, character parameters and images before and after the adjustment as reference points; Overlapping the first topological structure and the second topological structure according to the reference point to obtain overlapping parts and non-overlapping parts; Dividing the non-overlapping portion into a first non-overlapping portion and a second non-overlapping portion, wherein the first non-overlapping portion belongs to a first topological structure, and the second non-overlapping portion belongs to a second topological structure; Comparing the levels, character parameters and pictures in the overlapped part between the first topological structure and the second topological structure, and taking the levels, character parameters and pictures that are different in the overlapped part as the preliminary changed part; The levels, character parameters and pictures in the first non-overlapping part are taken as the first changing part; The levels, character parameters and pictures in the second non-overlapping part are used as the second changing part; The preliminary changing part, the first changing part and the second changing part are summed up to obtain the changing part.

4. A game update method based on game development data adjustment according to claim 3, characterized in that: The code adjustment scheme for classifying the changed parts according to levels, character parameters and screens to obtain level setting codes, character parameter setting codes and screen call codes comprises the following steps: In the preliminary change part, a preliminary adjustment plan is formed, wherein the preliminary adjustment plan is to replace the level setting code, character parameter setting code and screen call code corresponding to the level, character parameters and screen before the adjustment in the preliminary change part with the level setting code, character parameter setting code and screen call code corresponding to the level, character parameters and screen after the adjustment; In the first change part, a first adjustment scheme is formed, wherein the first adjustment scheme is: obtaining the level setting code, the character parameter setting code and the screen calling code corresponding to the level, the character parameters and the screen in the first change part as the first adjustment code, deleting the first adjustment code in the game code, obtaining the first architecture code associated with the first adjustment code in the logic architecture code, and deleting the first architecture code in the logic architecture code; In the second changing part, a second adjustment plan is formed, and the second adjustment plan is: obtain the level setting code, character parameter setting code and screen call code corresponding to the level, character parameters and screen in the second changing part as the second adjustment code, add the second adjustment code into the game code, and based on the position information of the level, character parameters and screen in the second changing part in the second topological structure, form the second architecture code of the second adjustment code, and add the second architecture code into the logical architecture code.

5. A game update method based on game development data adjustment according to claim 4, characterized in that: The embedding adjustment of the changed part in the original code according to the code adjustment plan includes the following steps: The initial change part, the first change part and the second change part are respectively embedded and adjusted according to the code adjustment plan, and for the part that has not changed, the original code is maintained unchanged.

6. A game update method based on game development data adjustment according to claim 5, characterized in that: The adjusting of the picture based on the changed part comprises the following steps: In at least one picture, the picture involved in the first changed part is deleted, and the picture involved in the second changed part is supplemented; The images before and after the adjustment in the preliminary change part are obtained, and the images after the adjustment are used to replace the corresponding images before the adjustment.

7. A game update system based on game development data adjustment, used to implement the game update method based on game development data adjustment as claimed in any one of claims 1 to 6, characterized in that: include: A code classification module, wherein the code classification module divides the game code to obtain a level setting code, a character parameter setting code, a screen call code and a logic architecture code, wherein the logic architecture code is used to set the running order of the level setting code and the character parameter setting code; A code corresponding module, the code corresponding module obtains the corresponding relationship between level settings and level setting codes, the corresponding relationship between character parameters and character parameter setting codes, and the calling relationship between screens and screen calling codes; A change recognition module, which recognizes the level, character parameters and adjustments in the screen in the development data to obtain the changed parts; An adjustment setting module, wherein the adjustment setting module classifies the changed part according to levels, character parameters and screens, and obtains a code adjustment scheme for level setting codes, character parameter setting codes and screen call codes; An adjustment module, wherein the adjustment module embeds and adjusts the changed part in the original code according to the code adjustment plan, and adjusts the screen based on the changed part; The bug repair module, after being embedded and adjusted, performs updated bug identification based on levels, character parameters and pictures, determines the cause of the bug, obtains the code where the bug exists based on the cause of the bug, and handles the bug.

Citation Information

Patent Citations

  • Visual game level editing method and system based on trigger

    CN105653274A

  • Game running method and apparatus

    CN106528134A

Cited By

  • Game update method and system based on game development data adjustment, and storage medium

    CN120305689B