A microservice management method and system based on byte enhancement technology

By using template reference library and code recognition templates in the microservice architecture for microservice code feature recognition and comparison, setting byte enhancement modification strategy, the problem of low efficiency of microservice code modification in the existing technology is solved, and the improvement is achieved Efficient management and management processes.

CN118363644BActive Publication Date: 2024-11-01HUANENG INFORMATION TECH CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410789247.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-19
Publication Date
2024-11-01
Estimated Expiration
2044-06-19

AI Technical Summary

Technical Problem

In the microservice architecture, the use of byte enhancement technology in the existing technology requires a lot of energy and time to modify the microservice code, and the lack of modification strategies to assist staff, resulting in inefficiency.

Method used

By setting the template reference library for the docking service direction of the technical management platform, microservice code feature recognition and comparison analysis are carried out, the adaptive code identification template is determined, and the byte enhancement modification strategy is set based on the recognition template to reduce the difficulty of code modification , optimize workflow.

Benefits of technology

It effectively reduces the energy and time consumption of staff when modifying microservice codes, improves work efficiency, and simplifies the microservice management and management process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118363644B_ABST
    Figure CN118363644B_ABST
Patent Text Reader

Abstract

The present invention discloses a microservice management method and system based on byte enhancement technology, which relates to the field of microservice management technology. Specifically, a template reference library is set for each planning direction, each template reference library includes a plurality of code recognition templates, and a byte enhancement modification strategy is set for each code recognition template. The code feature factor group of the microservice code is compared and analyzed with the determined template reference library to determine the code recognition template corresponding to the microservice code. Based on the determined code recognition template and the demand orientation of the technical management platform, the byte enhancement modification strategy of the application is determined. The above technical scheme disclosed by the present invention realizes the recognition of the microservice code, and by constructing the code recognition template and setting the byte enhancement modification strategy for the code recognition template, the byte enhancement modification strategy of the microservice code is determined, thereby reducing the energy and time consumption of the staff.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of microservice management technology, and in particular to a microservice management method and system based on byte enhancement technology. Background Art

[0002] In a microservice architecture, in order to achieve the management, administration and monitoring of microservices, developers usually need a flexible and low-intrusive method. Bytecode enhancement technology provides a means to modify Java bytecode at runtime, allowing developers to enhance the behavior of classes without modifying the source code. This provides a powerful tool for the microservice management system, enabling it to dynamically inject management and monitoring logic. In the prior art, the solution of modifying microservice code using bytecode enhancement technology still requires staff to spend a lot of energy and time. Therefore, in order to reduce the energy and time consumed by staff when modifying microservice code, there is an urgent need for a microservice management method and system that can assist staff and provide modification strategies. Summary of the invention

[0003] The purpose of the present invention is to provide a microservice management method and system that reduces the energy and time consumed by staff when modifying microservice codes.

[0004] The present invention discloses a microservice management method based on byte enhancement technology, comprising:

[0005] Plan the docking service direction of the technical management platform, and set a template reference library for each planning direction. Each template reference library includes several code recognition templates, and a byte enhancement modification strategy is set for each code recognition template.

[0006] Identify the code features of the microservice code, determine several code feature factors, and record the combination of several code feature factors as a code feature factor group;

[0007] Based on the docking service direction of the microservice, determine the adapted template reference library, and compare and analyze the code feature factor group of the microservice code with the determined template reference library to determine the code recognition template corresponding to the microservice code;

[0008] Based on the determined code recognition template and the demand orientation of the technical management platform, determine the byte enhancement modification strategy of the application.

[0009] In some embodiments of the present invention, the microservice management method based on byte enhancement technology further includes:

[0010] Scan and analyze the microservice code to determine the code volume and code complexity reference value, and determine the code modification difficulty value in combination with the byte enhancement modification strategy of the microservice code;

[0011] Based on the code modification difficulty value, the processing resources to be called are determined.

[0012] In some embodiments disclosed in the present invention, the method for determining the code complexity difficulty value includes:

[0013] Scan and analyze the microservice code to determine the number of nested statements and the structure of the first statement;

[0014] Substituting the first sentence structure into a preset second sentence structure for centralized comparison and analysis, determining a second sentence structure with a similarity greater than a preset value, and identifying the code complexity difficulty basic value set for the second sentence structure as the code complexity difficulty basic value for the first sentence structure;

[0015] Based on the number of nested statements, the basic value of code complexity difficulty is corrected to obtain the code complexity difficulty value;

[0016] Among them, the expression for calculating the code complexity difficulty value is:

[0017] ;

[0018] Among them, F is the code complexity difficulty value, is the complexity difficulty weight corresponding to the nth nested statement type, is the number of nested statements of the nth type, It is the basic value of code complexity difficulty of the first statement structure.

[0019] In some embodiments disclosed in the present invention, a method for determining a second sentence structure having a similarity greater than a preset value includes:

[0020] Perform statement type analysis on the microservice code to identify different types of statements, and determine the specific marking modules corresponding to the microservice code based on the specific marking modules pre-set for different types of statements;

[0021] Based on the nested structure of different statements in the microservice code, the specific tag modules are graphically nested in order to generate several specific tag module groups, and the combination of several specific tag module groups is recorded as a specific tag module set;

[0022] A first specific marking module set corresponding to the first sentence structure and a second specific marking module set corresponding to the second sentence structure are compared and analyzed to determine the difference characteristics of the module sets of the two, and based on the difference characteristics of the module sets, the similarity between the first sentence structure and the second sentence structure is determined.

[0023] In some embodiments disclosed in the present invention, a method for determining the similarity between a first sentence structure and a second sentence structure based on module set difference features includes:

[0024] Correspondingly matching the first specific marking module group in the first specific marking module set and the second specific marking module group in the second specific marking module set;

[0025] Comparing the first specific marking module group and the second specific marking module group that are matched, and determining the first module sub-similarity of each pair of the specific marking modules that are matched based on the structural differences between the specific marking module groups;

[0026] Based on each first module sub-similarity, determining a degree of similarity between the first sentence structure and the second sentence structure;

[0027] The expression for calculating the similarity between the first sentence structure and the second sentence structure is:

[0028] ;

[0029] Among them, S is the similarity between the first sentence structure and the second sentence structure, is the order matching conversion coefficient between specific marker module groups, is the existence matching conversion coefficient of the specific marker module between the specific marker module groups, (...) is the order fit, (...) is the degree of fit, is the number of specific marking modules in the nth group whose arrangement order is the same as that in the second specific marking module group, is the number of specific marking modules in the nth group of second specific marking modules, is the number of specific marker modules in the nth first specific marker module group that are the same as those in the second specific marker module group, is the conversion coefficient of the number of invalid specific tag module groups between specific tag module sets, is the number of specific marking module groups that exist in the first specific marking module set and do not exist in the second marking module set, and b is a module group number adjustment constant.

[0030] In some embodiments disclosed in the present invention, the method for constructing a code recognition template includes:

[0031] Based on each docking service direction of the technical management platform, determine the corresponding input variable factors and output variable factors;

[0032] Conditional screening is performed on a number of input variable factors and a number of output variable factors, and the input variable factors and output variable factors with logical corresponding relationships are determined and recorded as variable factor groups, and the input variable factors and output variable factors that exist independently are determined and recorded as independent variable factors;

[0033] Freely combine variable factor groups and independent variable factors to generate variable factor identification templates;

[0034] Based on the variable factor group in the variable factor identification template and the variable factor type to which the independent variable factor belongs, several matching function codes are selected, and the function codes are assembled to generate a code identification template.

[0035] In some embodiments disclosed in the present invention, the method for setting a byte enhancement modification strategy for a code recognition template includes:

[0036] Mark the adjustable parts of the function code in the code recognition template, and associate the adjustable parts that need to be modified in linkage, and record them as an adjustment part group;

[0037] Based on the adjustable parts and adjustment part groups marked in the function code, a byte enhancement modification strategy is set for the code recognition template.

[0038] In some embodiments disclosed in the present invention, a method for identifying code features of microservice codes includes:

[0039] The microservice code is scanned and analyzed to determine the number of nested statements, the type of nested statements, and the amount of code, and the combination of the number of nested statements, the type of nested statements, and the amount of code is recorded as a code feature factor group.

[0040] In some embodiments disclosed in the present invention, a method for comparing and analyzing a code feature factor group of a microservice code with a determined template reference library includes:

[0041] A first range interval of the number of nested statements is set for the number of nested statements in the characteristic factor group, and a first range interval of the amount of code is set for the amount of code in the characteristic factor group;

[0042] Using the first nested statement quantity range interval as the first screening condition, screening the code recognition library to screen out a number of code recognition templates, and using the first code quantity range interval to screen out the screened out code recognition templates again to obtain a number of target code recognition templates;

[0043] Compare and analyze the code feature factor group of the microservice code and the code feature factor group of the target code recognition template to obtain a matching degree value;

[0044] Based on the matching degree value, the target code recognition templates are sorted, and the target code recognition templates in the preset order are identified as the code recognition templates corresponding to the microservice code;

[0045] The expression for calculating the matching degree value is:

[0046] ;

[0047] in, For the matching degree, is the matching degree conversion coefficient, The first weight multiplier adjustment coefficient, is the second weight multiplier adjustment coefficient, The amount of code for the microservice code. The amount of code to identify the template for the code, The difference in the number of nested statements in the microservice code and code recognition templates, is the number of nested statements in the microservice code, The number of nested statements in the template identified for the code, The amount of nested statement type differences for microservice code and code-aware templates, is the number of nested statement types in the microservice code, is the number of nested statement types in the code recognition template, and c is the matching degree adjustment constant.

[0048] In some embodiments disclosed in the present invention, a microservice management system based on byte enhancement technology is also disclosed, including:

[0049] The first module is used to plan the docking service direction of the technical management platform, and set a template reference library for each planning direction. Each template reference library includes a number of code recognition templates, and a byte enhancement modification strategy is set for each code recognition template;

[0050] The second module is used to identify the code features of the microservice code, determine a number of code feature factors, and record the combination of the several code feature factors as a code feature factor group;

[0051] The third module is used to determine the adapted template reference library based on the docking service direction of microservices, and compare and analyze the code feature factor group of the microservice code with the determined template reference library to determine the code recognition template corresponding to the microservice code, and determine the byte enhancement modification strategy of the application based on the determined code recognition template and the demand orientation of the technical management platform.

[0052] The present invention discloses a microservice management method and system based on byte enhancement technology, which relates to the field of microservice management technology. Specifically, a template reference library is set for each planning direction, each template reference library includes a plurality of code recognition templates, and a byte enhancement modification strategy is set for each code recognition template. The code feature factor group of the microservice code is compared and analyzed with the determined template reference library to determine the code recognition template corresponding to the microservice code. Based on the determined code recognition template and the demand orientation of the technical management platform, the byte enhancement modification strategy of the application is determined. The above technical scheme disclosed by the present invention realizes the recognition of the microservice code, and by constructing the code recognition template and setting the byte enhancement modification strategy for the code recognition template, the byte enhancement modification strategy of the microservice code is determined, thereby reducing the energy and time consumption of the staff.

[0053] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0054] Figure 1 A method step diagram of a microservice management method based on byte enhancement technology disclosed in the present invention. DETAILED DESCRIPTION

[0055] The technical solution of the present invention is further described below through the accompanying drawings and embodiments.

[0056] The following will be combined with the accompanying drawings and specific embodiments to clearly and completely describe the technical solution of the present invention. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present invention and cannot be understood as limiting the scope of protection of the present invention. Those skilled in the art in this field can make some non-essential improvements and adjustments based on the content of the present invention described below. In the present invention, unless otherwise clearly specified and limited, the technical terms used in the present invention should be the common meanings understood by the technical personnel described in the present invention.

[0057] The present invention discloses a microservice management method based on byte enhancement technology, comprising:

[0058] Step S100, planning the docking service direction of the technical management platform, and setting a template reference library for each planning direction, each template reference library includes a number of code recognition templates, and a byte enhancement modification strategy is set for each code recognition template;

[0059] Step S200, performing code feature recognition on the microservice code, determining a number of code feature factors, and recording a combination of the number of code feature factors as a code feature factor group;

[0060] Step S300: Based on the docking service direction of the microservice, determine the adapted template reference library, and compare and analyze the code feature factor group of the microservice code with the determined template reference library to determine the code recognition template corresponding to the microservice code;

[0061] Step S400, determining the byte enhancement modification strategy of the application based on the determined code recognition template and the demand orientation of the technology management platform.

[0062] In some embodiments of the present invention, the microservice management method based on byte enhancement technology further includes:

[0063] Step S500, scanning and analyzing the microservice code, determining the code volume and code complexity reference value, and combining the byte enhancement modification strategy of the microservice code to determine the code modification difficulty value;

[0064] Step S600, determining the processing resources to be called based on the code modification difficulty value.

[0065] In some embodiments disclosed in the present invention, the method for determining the code complexity difficulty value includes:

[0066] Step S501, scanning and analyzing the microservice code to determine the number of nested statements and the first statement structure;

[0067] Step S502, substitute the first sentence structure into the preset second sentence structure for centralized comparison and analysis, determine the second sentence structure with a similarity greater than a preset value, and identify the code complexity difficulty basic value set for the second sentence structure as the code complexity difficulty basic value of the first sentence structure;

[0068] Step S503, based on the number of nested statements, the basic value of code complexity difficulty is corrected to obtain a code complexity difficulty value;

[0069] Among them, the expression for calculating the code complexity difficulty value is:

[0070] ;

[0071] Among them, F is the code complexity difficulty value, is the complexity difficulty weight corresponding to the nth nested statement type, is the number of nested statements of the nth type, It is the basic value of code complexity difficulty of the first statement structure.

[0072] In some embodiments disclosed in the present invention, a method for determining a second sentence structure having a similarity greater than a preset value includes:

[0073] Step S5021, performing statement type analysis on the microservice code to determine different types of statements, and determining the specific marking module corresponding to the microservice code based on the specific marking modules pre-set for the different types of statements;

[0074] Step S5022: Based on the nested structure of different statements in the microservice code, the specific marking modules are graphically nested in order to generate a number of specific marking module groups, and a combination of the several specific marking module groups is recorded as a specific marking module set;

[0075] Step S5023, compare and analyze the first specific marking module set corresponding to the first sentence structure and the second specific marking module set corresponding to the second sentence structure to determine the difference characteristics of the module sets between the two, and based on the difference characteristics of the module sets, determine the degree of similarity between the first sentence structure and the second sentence structure.

[0076] In some embodiments disclosed in the present invention, a method for determining the similarity between a first sentence structure and a second sentence structure based on module set difference features includes:

[0077] Step S50231, correspondingly matching the first specific marking module group in the first specific marking module set and the second specific marking module group in the second specific marking module set;

[0078] Step S50232, comparing the first specific marking module group and the second specific marking module group that are matched, and determining the first module sub-similarity of each pair of the specific marking modules that are matched based on the structural differences between the specific marking module groups;

[0079] Step S50233, based on each first module sub-similarity, determining the similarity between the first sentence structure and the second sentence structure;

[0080] The expression for calculating the similarity between the first sentence structure and the second sentence structure is:

[0081] ;

[0082] Among them, S is the similarity between the first sentence structure and the second sentence structure, is the order matching conversion coefficient between specific marker module groups, is the existence matching conversion coefficient of the specific marker module between the specific marker module groups, (...) is the order fit, (...) is the degree of fit, is the number of specific marking modules in the nth group whose arrangement order is the same as that in the second specific marking module group, is the number of specific marking modules in the nth group of second specific marking modules, is the number of specific marker modules in the nth first specific marker module group that are the same as those in the second specific marker module group, is the conversion coefficient of the number of invalid specific tag module groups between specific tag module sets, is the number of specific marking module groups that exist in the first specific marking module set and do not exist in the second marking module set, and b is a module group number adjustment constant.

[0083] In some embodiments disclosed in the present invention, the method for constructing a code recognition template includes:

[0084] Step S101, based on each docking service direction of the technical management platform, determining a corresponding number of input variable factors and a number of output variable factors;

[0085] Step S102, conditionally screening a plurality of input variable factors and a plurality of output variable factors, determining input variable factors and output variable factors having a logical corresponding relationship, which are recorded as variable factor groups, and determining independent input variable factors and output variable factors, which are recorded as independent variable factors;

[0086] Step S103, freely combining the variable factor group and the independent variable factor to generate a variable factor identification template;

[0087] Step S104, based on the variable factor group in the variable factor identification template and the variable factor type to which the independent variable factor belongs, a number of matching function codes are selected, and the function codes are assembled to generate a code identification template.

[0088] In some embodiments disclosed in the present invention, the method for setting a byte enhancement modification strategy for a code recognition template includes:

[0089] Step S105, marking the adjustable parts in the function code in the code recognition template, and associating the adjustable parts that need to be modified in linkage, and recording them as an adjustment part group;

[0090] Step S106, setting a byte enhancement modification strategy for the code recognition template based on the adjustable part and the adjustment part group marked in the function code.

[0091] In some embodiments disclosed in the present invention, a method for identifying code features of microservice codes includes:

[0092] Step S201, scan and analyze the microservice code to determine the number of nested statements, the type of nested statements and the amount of code, and record the combination of the number of nested statements, the type of nested statements and the amount of code as a code feature factor group.

[0093] In some embodiments disclosed in the present invention, a method for comparing and analyzing a code feature factor group of a microservice code with a determined template reference library includes:

[0094] Step S301, setting a first range interval of the number of nested statements according to the number of nested statements in the characteristic factor group, and setting a first range interval of the amount of code according to the amount of code in the characteristic factor group;

[0095] Step S302, using the first nested statement quantity range interval as the first screening condition, screening the code recognition library to screen out a number of code recognition templates, and using the first code quantity range interval to screen out the screened out code recognition templates again to obtain a number of target code recognition templates;

[0096] Step S303, comparing and analyzing the code feature factor group of the microservice code and the code feature factor group of the target code recognition template to obtain a matching degree value;

[0097] Step S304: sort the target code recognition templates based on the matching degree values, and identify the target code recognition templates in the previous preset order as the code recognition templates corresponding to the microservice code;

[0098] The expression for calculating the matching degree value is:

[0099] ;

[0100] in, For the matching degree, is the matching degree conversion coefficient, The first weight multiplier adjustment coefficient, is the second weight multiplier adjustment coefficient, The amount of code for the microservice code. The amount of code to identify the template for the code, The difference in the number of nested statements in the microservice code and code recognition templates, is the number of nested statements in the microservice code, The number of nested statements in the template identified for the code, The amount of nested statement type differences for microservice code and code-aware templates, is the number of nested statement types in the microservice code, is the number of nested statement types in the code recognition template, and c is the matching degree adjustment constant.

[0101] In some embodiments disclosed in the present invention, a microservice management system based on byte enhancement technology is also disclosed, including:

[0102] The first module is used to plan the docking service direction of the technical management platform, and set a template reference library for each planning direction. Each template reference library includes a number of code recognition templates, and a byte enhancement modification strategy is set for each code recognition template;

[0103] The second module is used to identify the code features of the microservice code, determine a number of code feature factors, and record the combination of the several code feature factors as a code feature factor group;

[0104] The third module is used to determine the adapted template reference library based on the docking service direction of microservices, and compare and analyze the code feature factor group of the microservice code with the determined template reference library to determine the code recognition template corresponding to the microservice code, and determine the byte enhancement modification strategy of the application based on the determined code recognition template and the demand orientation of the technical management platform.

[0105] Through the description of the above implementation methods, those skilled in the art can clearly understand that the present invention can be implemented by hardware, or by software plus a necessary general hardware platform. Based on such an understanding, the technical solution of the present invention can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.), including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each implementation scenario of the present invention.

[0106] The present invention discloses a microservice management method and system based on byte enhancement technology, which relates to the field of microservice management technology. Specifically, a template reference library is set for each planning direction, each template reference library includes a plurality of code recognition templates, and a byte enhancement modification strategy is set for each code recognition template. The code feature factor group of the microservice code is compared and analyzed with the determined template reference library to determine the code recognition template corresponding to the microservice code. Based on the determined code recognition template and the demand orientation of the technical management platform, the byte enhancement modification strategy of the application is determined. The above technical scheme disclosed by the present invention realizes the recognition of the microservice code, and by constructing the code recognition template and setting the byte enhancement modification strategy for the code recognition template, the byte enhancement modification strategy of the microservice code is determined, thereby reducing the energy and time consumption of the staff.

[0107] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that they can still modify or replace the technical solution of the present invention with equivalents, and these modifications or equivalent replacements cannot cause the modified technical solution to deviate from the spirit and scope of the technical solution of the present invention.

Claims

1. A microservice management method based on byte enhancement technology. It is characterized in that include: Plan the docking service direction of the technical management platform, and set a template reference library for each planning direction. Each template reference library includes several code recognition templates, and a byte enhancement modification strategy is set for each code recognition template. Identify the code features of the microservice code, determine several code feature factors, and record the combination of several code feature factors as a code feature factor group; Based on the docking service direction of the microservice, determine the adapted template reference library, and compare and analyze the code feature factor group of the microservice code with the determined template reference library to determine the code recognition template corresponding to the microservice code; Determine the byte enhancement modification strategy for the application based on the determined code recognition template and the demand orientation of the technical management platform; Methods for building code recognition templates include: Based on each docking service direction of the technical management platform, determine the corresponding input variable factors and output variable factors; Conditional screening is performed on a number of input variable factors and a number of output variable factors, and the input variable factors and output variable factors with logical corresponding relationships are determined and recorded as variable factor groups, and the input variable factors and output variable factors that exist independently are determined and recorded as independent variable factors; Freely combine variable factor groups and independent variable factors to generate variable factor identification templates; Based on the variable factor group in the variable factor identification template and the variable factor type to which the independent variable factor belongs, a number of matching function codes are selected, and the function codes are assembled to generate a code identification template; The method of setting a byte enhancement modification strategy for a code recognition template includes: Mark the adjustable parts of the function code in the code recognition template, and associate the adjustable parts that need to be modified in linkage, and record them as an adjustment part group; Based on the adjustable parts and adjustment part groups marked in the function code, a byte enhancement modification strategy is set for the code recognition template; Methods for identifying code features of microservice codes include: Scan and analyze the microservice code to determine the number of nested statements, the type of nested statements, and the amount of code, and record the combination of the number of nested statements, the type of nested statements, and the amount of code as a code feature factor group; The method of comparing and analyzing the code feature factor group of the microservice code and the determined template reference library includes: A first range interval of the number of nested statements is set for the number of nested statements in the characteristic factor group, and a first range interval of the amount of code is set for the amount of code in the characteristic factor group; Using the first nested statement quantity range interval as the first screening condition, screening the code recognition library to screen out a number of code recognition templates, and using the first code quantity range interval to screen out the screened out code recognition templates again to obtain a number of target code recognition templates; Compare and analyze the code feature factor group of the microservice code and the code feature factor group of the target code recognition template to obtain a matching degree value; Based on the matching degree value, the target code recognition templates are sorted, and the target code recognition templates in the preset order are identified as the code recognition templates corresponding to the microservice code; The expression for calculating the matching degree value is: ; in, For the matching degree, is the matching degree conversion coefficient, The first weight multiplier adjustment coefficient, is the second weight multiplier adjustment coefficient, The amount of code for the microservice code, The amount of code to identify the template for the code, The difference in the number of nested statements in the microservice code and code recognition templates, is the number of nested statements in the microservice code, The number of nested statements in the template identified for the code, The amount of nested statement type differences for microservice code and code-aware templates, is the number of nested statement types in the microservice code, is the number of nested statement types in the code recognition template, and c is the matching degree adjustment constant.

2. According to the microservice management method based on byte enhancement technology described in claim 1, It is characterized in that Also includes: Scan and analyze the microservice code to determine the code volume and code complexity reference value, and determine the code modification difficulty value in combination with the byte enhancement modification strategy of the microservice code; Based on the code modification difficulty value, the processing resources to be called are determined.

3. According to the microservice management method based on byte enhancement technology described in claim 2, It is characterized in that Methods for determining the reference value of code complexity include: Scan and analyze the microservice code to determine the number of nested statements and the structure of the first statement; Substituting the first sentence structure into a preset second sentence structure for centralized comparison and analysis, determining a second sentence structure with a similarity greater than a preset value, and identifying the code complexity difficulty basic value set for the second sentence structure as the code complexity difficulty basic value for the first sentence structure; Based on the number of nested statements, the basic value of code complexity difficulty is corrected to obtain a reference value of code complexity difficulty; The expression for the calculated code complexity reference value is: ; Among them, F is the reference value of code complexity, is the complexity difficulty weight corresponding to the nth nested statement type, is the number of nested statements of the nth type, It is the basic value of code complexity difficulty of the first statement structure.

4. According to the microservice management method based on byte enhancement technology described in claim 3, It is characterized in that The method for determining the second sentence structure having a similarity greater than a preset value includes: Perform statement type analysis on the microservice code to identify different types of statements, and determine the specific marking modules corresponding to the microservice code based on the specific marking modules pre-set for different types of statements; Based on the nested structure of different statements in the microservice code, the specific tag modules are nested in a graphical order to generate several specific tag module groups, and the combination of several specific tag module groups is recorded as a specific tag module set; A first specific marking module set corresponding to the first sentence structure and a second specific marking module set corresponding to the second sentence structure are compared and analyzed to determine the difference characteristics of the module sets of the two, and based on the difference characteristics of the module sets, the similarity between the first sentence structure and the second sentence structure is determined.

5. According to the microservice management method based on byte enhancement technology described in claim 4, It is characterized in that The method for determining the similarity between the first sentence structure and the second sentence structure based on the module set difference feature includes: Correspondingly matching the first specific marking module group in the first specific marking module set and the second specific marking module group in the second specific marking module set; Comparing the first specific marking module group and the second specific marking module group that are matched, and determining the first module sub-similarity of each pair of the specific marking modules that are matched based on the structural differences between the specific marking module groups; Based on each first module sub-similarity, determining a degree of similarity between the first sentence structure and the second sentence structure; The expression for calculating the similarity between the first sentence structure and the second sentence structure is: ; Among them, S is the similarity between the first sentence structure and the second sentence structure, is the order matching conversion coefficient between specific marker module groups, is the existence matching conversion coefficient of the specific marker module between the specific marker module groups, is the order fit, To show the degree of fit, is the number of specific marking modules in the nth group whose arrangement order is the same as that in the second specific marking module group, is the number of specific marking modules in the nth group of second specific marking modules, is the number of specific marker modules in the nth first specific marker module group that are the same as those in the second specific marker module group, is the conversion coefficient of the number of invalid specific tag module groups between specific tag module sets, is the number of specific marking module groups that exist in the first specific marking module set and do not exist in the second marking module set, and b is a module group number adjustment constant.

6. A microservice management system based on byte enhancement technology, applied to the microservice management method based on byte enhancement technology as claimed in any one of claims 1 to 5, It is characterized in that include: The first module is used to plan the docking service direction of the technical management platform, and set a template reference library for each planning direction. Each template reference library includes a number of code recognition templates, and a byte enhancement modification strategy is set for each code recognition template; The second module is used to identify the code features of the microservice code, determine a number of code feature factors, and record the combination of the several code feature factors as a code feature factor group; The third module is used to determine the adapted template reference library based on the docking service direction of microservices, and compare and analyze the code feature factor group of the microservice code with the determined template reference library to determine the code recognition template corresponding to the microservice code, and determine the byte enhancement modification strategy of the application based on the determined code recognition template and the demand orientation of the technical management platform.