Development file evaluation method and device, storage medium and computer equipment

By obtaining and classifying the application attributes of development files, the risk assessment of jar file packages is automatically carried out, which solves the problem of inaccurate manual assessment and improves the accuracy and consistency of assessment.

CN118586004APending Publication Date: 2024-09-03PINGAN YIQIANBAO E COMMERCE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410726296.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-05
Publication Date
2024-09-03

AI Technical Summary

Technical Problem

When currently conducting risk assessment on jar file packages, manual assessment is not comprehensive enough, resulting in inaccurate risk assessment and affecting the business processing effect of the business system.

Method used

By obtaining the application attributes of the development files to be evaluated, the classification of the application index is determined, and the business operation data of the development files are classified and evaluated based on the preset evaluation strategy to obtain the evaluation results and realize automated risk assessment.

Benefits of technology

It greatly reduces errors caused by manual assessment, improves the accuracy of development document assessment, and meets the need for uniformity of risk assessment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118586004A
    Figure CN118586004A
Patent Text Reader

Abstract

The invention discloses a development file evaluation method and device, a storage medium and computer equipment, relates to the technical field of software development, and mainly aims to solve the problem of inaccurate evaluation of existing development files. Comprising the steps that application attributes of a to-be-evaluated development file are obtained, and the application attributes are used for representing the content of business reference processing of a business application program based on the development file; determining at least one application index corresponding to the application attribute from an execution directory of the service application program, and identifying the classification of the application index; and when the application index is the direct index classification, performing classification evaluation on the business operation data of the development file based on a preset evaluation strategy to obtain an evaluation result of the development file.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of software development, and in particular to a method and device for evaluating a development file, a storage medium, and a computer device. Background Art

[0002] With the continuous development of software technology, the amount of business that needs to be developed by various application business systems has gradually increased. Therefore, the jar file packages that are usually used to aggregate a large number of Java class files, related metadata and resources (text, pictures, etc.) have also increased to provide business application systems with reference to external system services. Among them, in order to ensure the security of application business systems, it is necessary to conduct risk assessment on operations such as upgrading and upgrading jar file packages to ensure the security of business systems.

[0003] At present, the existing risk assessment of jar file packages is usually based on the test cases manually written by software developers for development or testing. However, manual risk assessment will be incomplete due to lack of human experience, resulting in inaccurate risk assessment, which will affect the business processing effect of the business system. Summary of the invention

[0004] In view of this, the present invention provides a development document evaluation method and device, storage medium, and computer equipment, the main purpose of which is to solve the problem of inaccurate evaluation of existing development documents.

[0005] According to one aspect of the present invention, there is provided a method for evaluating a development document, comprising:

[0006] Acquire application attributes of the development file to be evaluated, where the application attributes are used to characterize content of business reference processing performed by the business application program based on the development file;

[0007] Determining at least one application index corresponding to the application attribute from the execution directory of the business application program, and identifying a classification of the application index;

[0008] When the application index is a direct index classification, the business operation data of the development file is classified and evaluated based on a preset evaluation strategy to obtain an evaluation result of the development file.

[0009] Further, determining at least one application index corresponding to the application attribute from the execution directory of the business application program and identifying the classification of the application index includes:

[0010] Sending a query request to the program subsystem of the business application program, wherein the query request carries the application attribute, so that the program subsystem pulls the execution directory for executing the development file;

[0011] receiving the execution directory, and searching for at least one application index corresponding to the reference identifier of the application attribute;

[0012] The upper index and the lower index in the application index are parsed, and the classification of the application index is identified based on the upper index and the lower index, wherein the classification includes a direct index classification and an indirect index classification.

[0013] Further, the identifying the classification of the application index based on the upper index and the lower index includes:

[0014] If the upper-level index corresponds to the business call interface of the business application, and the lower-level index is the program call interface of the business application, then the application index is a direct index classification;

[0015] If the upper-level index corresponds to the program call interface of the business application program, the application index is an indirect index classification.

[0016] Furthermore, the business operation data of the development file is classified and evaluated based on the preset evaluation strategy, and the evaluation result of the development file is obtained, including:

[0017] Acquire business operation data of the business application, wherein the business operation data includes an operation data object and an operation method object;

[0018] Determine a regression call interface of the development file in the business application based on the operation data object and the operation method object;

[0019] A risk assessment is performed on the regression call interface based on the preset assessment strategy to obtain an assessment result of the development file.

[0020] Furthermore, the risk assessment of the regression call interface based on the preset assessment strategy to obtain the assessment result of the development file includes:

[0021] Obtaining the execution times, response times, and update times of the regression call interface;

[0022] The risk assessment level corresponding to the number of executions, the number of responses, and the number of updates is matched based on the preset assessment strategy, and the risk assessment level is determined as the assessment result of the development file. The preset assessment strategy includes risk assessment levels corresponding to different configured numbers of executions, different numbers of responses, and different numbers of updates.

[0023] Furthermore, the method further comprises:

[0024] If the risk assessment level is an abnormal risk assessment level, an update instruction for the development file is generated, and the development file and the application index are output to reconfigure the development file.

[0025] Furthermore, the method further comprises:

[0026] When the application index is an indirect index classification, a simulated call of a program call interface or a business call interface is performed based on a subordinate index of the application index to obtain a call result;

[0027] If the call result is an abnormal call, determining that the development file is at an abnormal risk assessment level;

[0028] If the calling result is a normal calling, it is determined that the development file is at a normal risk assessment level.

[0029] According to another aspect of the present invention, there is provided a development document evaluation device, comprising:

[0030] An acquisition module, used to acquire application attributes of the development file to be evaluated, wherein the application attributes are used to characterize the content of business reference processing performed by the business application program based on the development file;

[0031] a determination module, configured to determine at least one application index corresponding to the application attribute from the execution directory of the business application program, and identify a classification of the application index;

[0032] An evaluation module is used to classify and evaluate the business operation data of the development file based on a preset evaluation strategy when the application index is a direct index classification, so as to obtain an evaluation result of the development file.

[0033] Furthermore, the determining module includes:

[0034] A sending unit, configured to send a query request to a program subsystem of the business application program, wherein the query request carries the application attribute, so that the program subsystem pulls an execution directory for executing the development file;

[0035] A receiving unit, configured to receive the execution directory and search for at least one application index corresponding to the reference identifier of the application attribute;

[0036] The parsing unit is used to parse the upper index and the lower index in the application index, and identify the classification of the application index based on the upper index and the lower index, wherein the classification includes direct index classification and indirect index classification.

[0037] Furthermore, the parsing unit is specifically used to, if the upper-level index corresponds to the business call interface of the business application, and the lower-level index is the program call interface of the business application, then the application index is a direct index classification; if the upper-level index corresponds to the program call interface of the business application, then the application index is an indirect index classification.

[0038] Furthermore, the evaluation module includes:

[0039] An acquisition unit, used to acquire business operation data of the business application, wherein the business operation data includes an operation data object and an operation method object;

[0040] A determination unit, configured to determine a regression call interface of the development file in the business application based on the operation data object and the operation method object;

[0041] An evaluation unit is used to perform risk evaluation on the regression call interface based on the preset evaluation strategy to obtain an evaluation result of the development file.

[0042] Furthermore, the evaluation unit is specifically used to obtain the number of executions, the number of responses, and the number of updates of the regression call interface; match the risk assessment level corresponding to the number of executions, the number of responses, and the number of updates based on the preset evaluation strategy, and determine the risk assessment level as the evaluation result of the development file, wherein the preset evaluation strategy includes risk assessment levels corresponding to different configured numbers of executions, different numbers of responses, and different numbers of updates.

[0043] Furthermore, the device also includes:

[0044] A generating module is used for generating an update instruction for the development file if the risk assessment level is an abnormal risk assessment level, and outputting the development file and the application index to reconfigure the development file.

[0045] Furthermore, the determination module is also used to, when the application index is an indirect index classification, simulate a call to a program call interface or a business call interface based on a subordinate index of the application index to obtain a call result; if the call result is an abnormal call, determine that the development file is at an abnormal risk assessment level; if the call result is a normal call, determine that the development file is at a normal risk assessment level.

[0046] According to another aspect of the present invention, a storage medium is provided, wherein at least one executable instruction is stored in the storage medium, and the executable instruction enables a processor to execute operations corresponding to the evaluation method of the development file as described above.

[0047] According to another aspect of the present invention, there is provided a computer device, comprising: a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other via the communication bus;

[0048] The memory is used to store at least one executable instruction, and the executable instruction enables the processor to execute operations corresponding to the evaluation method of the development file.

[0049] By means of the above technical solution, the technical solution provided by the embodiment of the present invention has at least the following advantages:

[0050] The present invention provides a development file evaluation method and device, storage medium, and computer equipment. Compared with the prior art, the embodiments of the present invention obtain application attributes of the development file to be evaluated, wherein the application attributes are used to characterize the content of business reference processing performed by a business application based on the development file; determine at least one application index corresponding to the application attribute from the execution directory of the business application, and identify the classification of the application index; when the application index is a direct index classification, classify and evaluate the business operation data of the development file based on a preset evaluation strategy to obtain the evaluation result of the development file, thereby realizing automated risk assessment of the development file, greatly reducing the error caused by manual evaluation, meeting the uniformity requirement of development file risk assessment, and thus improving the accuracy of development file evaluation.

[0051] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention, it can be implemented according to the contents of the specification. In order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0052] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present invention. Moreover, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:

[0053] Figure 1 A flow chart of a method for evaluating a development file provided by an embodiment of the present invention is shown;

[0054] Figure 2 A block diagram showing a development file evaluation device provided by an embodiment of the present invention;

[0055] Figure 3 A schematic structural diagram of a computer device provided by an embodiment of the present invention is shown. DETAILED DESCRIPTION

[0056] The exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0057] Risk assessment of jar file packages is usually based on test cases written by software developers for development or testing. However, manual risk assessment may be incomplete due to lack of human experience, resulting in inaccurate risk assessment, which affects the business processing effect of the business system. The embodiment of the present invention provides a method for evaluating development files, such as Figure 1 As shown, the method includes:

[0058] 101. Obtain application attributes of the development file to be evaluated.

[0059] In the embodiment of the present invention, as the current execution end of the development server, when developing an application, the application upgrade, patch and other operations can be performed by loading the development file. The development file includes but is not limited to the jar upgrade file package. Therefore, in order to evaluate the development file, the current execution end first obtains the application attributes of the development file to be leveled, such as jar. Among them, the application attribute is used to characterize the content of the business reference processing performed by the business application based on the development file. The business reference processing is to be called and used by the business application according to different businesses. Correspondingly, the application attribute is the specific parameter for the call processing in the development file, for example, the three parameters of groupId, artifactId and version in the jar file package, which are not specifically limited in the embodiment of the present invention.

[0060] It should be noted that the business application programs in the embodiments of the present invention include but are not limited to insurance application apps, banking application apps, medical application apps, etc., and the embodiments of the present invention do not make specific limitations.

[0061] 102. Determine at least one application index corresponding to the application attribute from the execution directory of the business application program, and identify a category of the application index.

[0062] In the embodiment of the present invention, the execution directory of the business application is the target corresponding to the execution file, that is, the business application will execute the corresponding execution file according to the directory index in the execution directory during the upgrade and other operations to complete the corresponding upgrade and other operations. Among them, the application index corresponding to the application attribute is the index corresponding to the execution of the execution file with this application attribute, for example, the application index of the execution file containing the groupId. At this time, at least one application index can be determined based on searching the application data as a target match or string, which is not specifically limited in the embodiment of the present invention.

[0063] It should be noted that, in an embodiment of the present invention, in order to further perform a risk assessment on the development file, after determining the application index, the classification of the application index is identified. At this time, the application index classification includes direct index classification and indirect index classification. The direct index classification is the classification in which the development file is executed as a direct application, and the indirect index classification is the classification in which the development file to be evaluated is indexed and executed after other files are executed. The embodiment of the present invention does not make specific limitations.

[0064] 103. When the application index is a direct index classification, classify and evaluate the business operation data of the development file based on a preset evaluation strategy to obtain an evaluation result of the development file.

[0065] In an embodiment of the present invention, when it is identified that the application index is a direct index classification, the current execution end calls the preset evaluation strategy to classify and evaluate the business operation data of the development file, thereby obtaining the evaluation result of the development file. Among them, the preset evaluation strategy includes the risk assessment levels corresponding to the configured different execution times, different response times, and different update times, so that the business operation data is evaluated according to the preset evaluation strategy. At this time, the business operation data includes an operation data object and an operation method object. Specifically, the operation data object is the specific operation content in the business operation data, and the operation method object is the content of the execution business operation method, so that the corresponding risk assessment level is determined according to the number of executions, responses, and updates of the operation data object and the operation method object. At this time, the corresponding specific strategy in the preset evaluation strategy can be configured based on the evaluation needs of the developer, and the embodiment of the present invention does not make specific limitations.

[0066] In another embodiment of the present invention, for further definition and explanation, the step of determining at least one application index corresponding to the application attribute from the execution directory of the business application program and identifying the classification of the application index includes:

[0067] Sending a query request to a program subsystem of the business application program;

[0068] receiving the execution directory, and searching for at least one application index corresponding to the reference identifier of the application attribute;

[0069] The upper index and the lower index in the application index are parsed, and the classification of the application index is identified based on the upper index and the lower index, wherein the classification includes a direct index classification and an indirect index classification.

[0070] In order to accurately determine the application index corresponding to the application attribute, in an embodiment of the present invention, when determining the application index, specifically, the current execution end first sends a query request to the program subsystem of the business application program. At this time, the query request carries the application attribute so that the program subsystem pulls the execution directory of the execution development software. Among them, the program subsystem is a subsystem dedicated to program processing by the business application program. For example, the gordon platform is connected to multiple code libraries as a program subsystem. The current execution end sends a query request with application attributes to the gordon platform. The gordon platform queries and retrieves all execution directories with application attributes according to the application attributes, and then feeds back to the current execution end. After the current execution end receives the execution directory fed back by the program subsystem, it determines the application index by searching for a reference identifier with the application attribute, wherein the reference identifier includes but is not limited to a link jump identifier, a directory serial number, etc., thereby determining at least one application index containing the application attribute.

[0071] It should be noted that in order to accurately identify the direct index classification or indirect index classification corresponding to the application index, the upper index and lower index corresponding to the application index can be first parsed to perform classification identification. Among them, the upper index is the application index corresponding to the referenced application attribute, and the lower index is the index referenced by the application index corresponding to the application attribute, which is not specifically limited in the embodiment of the present invention.

[0072] In another embodiment of the present invention, for further definition and explanation, the step of identifying the classification of the application index based on the upper index and the lower index includes:

[0073] If the upper-level index corresponds to the business call interface of the business application, and the lower-level index is the program call interface of the business application, then the application index is a direct index classification;

[0074] If the upper-level index corresponds to the program call interface of the business application program, the application index is an indirect index classification.

[0075] In order to accurately classify the application index, specifically, it is determined whether the upper index is a business application program's business call interface or program call interface. Among them, the business call interface is an interface used to provide business support for the business application, such as a payment interface, an insurance product jump interface, a banking business jump interface, etc., and the program call interface is an interface used to provide program support for the business application, such as an amount calculation interface, a tax rate calculation interface, a query interface, etc., so as to determine the classification of the application index based on the interfaces corresponding to the upper index and the lower index respectively.

[0076] In a specific implementation scenario, if the upper level index is a business call interface and the lower level index is a program call interface, it means that the application index corresponding to the application attribute is directly called, so the application index classification is a direct index classification. If the upper level index corresponds to a program call interface, it means that the application index corresponding to the application data is indirectly called, so the application index classification is an indirect index classification.

[0077] In another embodiment of the present invention, for further definition and explanation, the step of classifying and evaluating the business operation data of the development file based on a preset evaluation strategy to obtain the evaluation result of the development file includes:

[0078] Acquiring business operation data of the business application;

[0079] Determine a regression call interface of the development file in the business application based on the operation data object and the operation method object;

[0080] A risk assessment is performed on the regression call interface based on the preset assessment strategy to obtain an assessment result of the development file.

[0081] In order to accurately evaluate the development file, when performing the classification evaluation, specifically, the current execution end obtains the business operation data of the business application program to determine the regression call interface according to the business operation data. Among them, the business operation data includes an operation data object and an operation method object. The operation data object is the specific data content of executing the business operation, for example, the specific amount data of purchasing Ping An insurance, and the operation method object is the specific method content of executing the business operation, for example, the payment method of purchasing Ping An insurance, which is not specifically limited in the embodiment of the present invention. Further, based on the operation data object and the operation method object, the regression call interface of the development file in the application program is determined. The regression call interface is an interface called by the external system after the business data processing is executed for the business application program. Specifically, it can be determined by whether the operation data object and the operation method object contain the processing behavior of the external system. For example, if the business application system is a medical consultation system, and the external system can be a medical insurance system, then according to the operation data object in the medical consultation system, the insurance data for purchasing the corresponding disease, and the payment method for purchasing medical insurance by the operation method object, wherein the operation method object contains a jump interface transferred to the medical insurance system to pay through the jump interface, therefore, it is determined that the regression call interface is this jump interface. After determining the regression call interface, a predictive assessment strategy is used to perform a risk assessment on the regression call interface to obtain an assessment result of the development file. For example, if the development file is an upgrade file, a call risk assessment can be performed on the regression call interface based on a preset assessment strategy as the risk assessment result of the upgrade file. The embodiment of the present invention does not make specific limitations.

[0082] In another embodiment of the present invention, for further definition and explanation, the step of performing risk assessment on the regression call interface based on the preset assessment strategy to obtain the assessment result of the development file includes:

[0083] Obtaining the execution times, response times, and update times of the regression call interface;

[0084] The risk assessment level corresponding to the execution times, the response times, and the update times is matched based on the preset assessment strategy, and the risk assessment level is determined as the assessment result of the development file.

[0085] In order to accurately evaluate the development file, when the risk assessment of the regression call interface is performed based on the preset assessment strategy, specifically, the number of executions, responses, and updates of the regression call interface are first obtained to match the corresponding risk assessment level based on the preset assessment strategy. Among them, the preset assessment strategy includes the risk assessment levels corresponding to the configured different execution times, different responses, and different updates, so that after obtaining the execution times, responses, and updates of the regression call interface, matching is performed based on the preset assessment strategy. Specifically, the current execution end can record the execution status of the regression call interface in advance to count the execution times, responses, and updates, which is not specifically limited in the embodiment of the present invention. In addition, the current execution end pre-configures the preset assessment strategy according to the developer's assessment requirements for the development file. For example, if the execution times exceed twice the response times and the update times are lower than the update times of the development file, the risk assessment level is an abnormal assessment level, indicating that the development file has an upgrade call risk, which is not specifically limited in the embodiment of the present invention.

[0086] In another embodiment of the present invention, for further definition and description, the steps further include:

[0087] If the risk assessment level is an abnormal risk assessment level, an update instruction for the development file is generated, and the development file and the application index are output to reconfigure the development file.

[0088] In order to facilitate developers to view the assessment results of development files, if the risk assessment level is an abnormal risk assessment level, it means that there is an abnormal risk in the development file. Therefore, an update instruction for the development file is generated, and the development files and application indexes that need to be updated are output in the development display interface, so that developers can find the corresponding development files based on the application index and update their configurations, which greatly meets the development efficiency requirements and reduces human resources.

[0089] In another embodiment of the present invention, for further definition and description, the steps further include:

[0090] When the application index is an indirect index classification, a simulated call of a program call interface or a business call interface is performed based on a subordinate index of the application index to obtain a call result;

[0091] If the call result is an abnormal call, determining that the development file is at an abnormal risk assessment level;

[0092] If the calling result is a normal calling, it is determined that the development file is at a normal risk assessment level.

[0093] In order to achieve the effectiveness of evaluating the development file, when the application index is an indirect index classification, the current execution end simulates calling the program call interface or the business call interface based on the subordinate index of the application index, that is, calling the program call interface and the business call interface in a test manner. If the call can be made normally, it means that the subordinate index of the application index can be called normally, thereby determining that the development file is at a normal risk assessment level. If the program call interface and the business call interface cannot be called normally in the test manner, it means that the subordinate index of the application index cannot be called normally, and therefore the development file is determined to be at an abnormal risk assessment level, which is not specifically limited in the embodiments of the present invention.

[0094] The present invention provides a method for evaluating development files. Compared with the prior art, the embodiment of the present invention obtains application attributes of the development file to be evaluated, wherein the application attributes are used to characterize the content of business reference processing performed by a business application based on the development file; determines at least one application index corresponding to the application attribute from the execution directory of the business application, and identifies the classification of the application index; when the application index is a direct index classification, classifies and evaluates the business operation data of the development file based on a preset evaluation strategy to obtain an evaluation result of the development file, thereby realizing automated risk assessment of the development file, greatly reducing the errors caused by manual evaluation, meeting the uniformity requirements of development file risk assessment, and thus improving the accuracy of development file evaluation.

[0095] Furthermore, as a response to the above Figure 1 The embodiment of the present invention provides a device for evaluating a development file, such as Figure 2 As shown, the device comprises:

[0096] An acquisition module 21 is used to acquire application attributes of the development file to be evaluated, where the application attributes are used to characterize the content of business reference processing performed by the business application based on the development file;

[0097] A determination module 22, configured to determine at least one application index corresponding to the application attribute from the execution directory of the business application program, and identify a classification of the application index;

[0098] The evaluation module 23 is used to perform classification evaluation on the business operation data of the development file based on a preset evaluation strategy when the application index is a direct index classification, so as to obtain an evaluation result of the development file.

[0099] Furthermore, the determining module includes:

[0100] A sending unit, configured to send a query request to a program subsystem of the business application program, wherein the query request carries the application attribute, so that the program subsystem pulls an execution directory for executing the development file;

[0101] A receiving unit, configured to receive the execution directory and search for at least one application index corresponding to the reference identifier of the application attribute;

[0102] The parsing unit is used to parse the upper index and the lower index in the application index, and identify the classification of the application index based on the upper index and the lower index, wherein the classification includes direct index classification and indirect index classification.

[0103] Furthermore, the parsing unit is specifically used to, if the upper-level index corresponds to the business call interface of the business application, and the lower-level index is the program call interface of the business application, then the application index is a direct index classification; if the upper-level index corresponds to the program call interface of the business application, then the application index is an indirect index classification.

[0104] Furthermore, the evaluation module includes:

[0105] An acquisition unit, used to acquire business operation data of the business application, wherein the business operation data includes an operation data object and an operation method object;

[0106] A determination unit, configured to determine a regression call interface of the development file in the business application based on the operation data object and the operation method object;

[0107] An evaluation unit is used to perform risk evaluation on the regression call interface based on the preset evaluation strategy to obtain an evaluation result of the development file.

[0108] Furthermore, the evaluation unit is specifically used to obtain the number of executions, the number of responses, and the number of updates of the regression call interface; match the risk assessment level corresponding to the number of executions, the number of responses, and the number of updates based on the preset evaluation strategy, and determine the risk assessment level as the evaluation result of the development file, wherein the preset evaluation strategy includes risk assessment levels corresponding to different configured numbers of executions, different numbers of responses, and different numbers of updates.

[0109] Furthermore, the device also includes:

[0110] A generating module is used for generating an update instruction for the development file if the risk assessment level is an abnormal risk assessment level, and outputting the development file and the application index to reconfigure the development file.

[0111] Furthermore, the determination module is also used to, when the application index is an indirect index classification, simulate a call to a program call interface or a business call interface based on a subordinate index of the application index to obtain a call result; if the call result is an abnormal call, determine that the development file is at an abnormal risk assessment level; if the call result is a normal call, determine that the development file is at a normal risk assessment level.

[0112] The present invention provides an evaluation device for development files. Compared with the prior art, the embodiment of the present invention obtains application attributes of the development file to be evaluated, wherein the application attributes are used to characterize the content of business reference processing performed by a business application based on the development file; determines at least one application index corresponding to the application attribute from the execution directory of the business application, and identifies the classification of the application index; when the application index is a direct index classification, classifies and evaluates the business operation data of the development file based on a preset evaluation strategy to obtain the evaluation result of the development file, thereby realizing automated risk evaluation of the development file, greatly reducing the error caused by manual evaluation, meeting the uniformity requirement of development file risk evaluation, and thus improving the accuracy of development file evaluation.

[0113] According to an embodiment of the present invention, a storage medium is provided, wherein the storage medium stores at least one executable instruction, and the computer executable instruction can execute the development file evaluation method in any of the above method embodiments.

[0114] Figure 3 A schematic diagram of the structure of a computer device provided according to an embodiment of the present invention is shown. The specific embodiment of the present invention does not limit the specific implementation of the computer device.

[0115] like Figure 3 As shown, the computer device may include: a processor 302 , a communication interface 304 , a memory 306 , and a communication bus 308 .

[0116] The processor 302 , the communication interface 304 , and the memory 306 communicate with each other via the communication bus 308 .

[0117] The communication interface 304 is used to communicate with other devices such as clients or other servers.

[0118] The processor 302 is used to execute the program 310, and specifically can execute the relevant steps in the embodiment of the evaluation method of the development file.

[0119] Specifically, the program 310 may include program codes, which include computer operation instructions.

[0120] The processor 302 may be a central processing unit (CPU), or an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiment of the present invention. The one or more processors included in the computer device may be processors of the same type, such as one or more CPUs; or processors of different types, such as one or more CPUs and one or more ASICs.

[0121] The memory 306 is used to store the program 310. The memory 306 may include a high-speed RAM memory, and may also include a non-volatile memory, such as at least one disk memory.

[0122] The program 310 may be specifically configured to enable the processor 302 to perform the following operations:

[0123] Acquire application attributes of the development file to be evaluated, where the application attributes are used to characterize content of business reference processing performed by the business application program based on the development file;

[0124] Determining at least one application index corresponding to the application attribute from the execution directory of the business application program, and identifying a classification of the application index;

[0125] When the application index is a direct index classification, the business operation data of the development file is classified and evaluated based on a preset evaluation strategy to obtain an evaluation result of the development file.

[0126] Obviously, those skilled in the art should understand that the above modules or steps of the present invention can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, and optionally, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order than here, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present invention is not limited to any specific combination of hardware and software.

[0127] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A method for evaluating a development document, characterized in that: include: Acquire application attributes of the development file to be evaluated, where the application attributes are used to characterize content of business reference processing performed by the business application program based on the development file; Determining at least one application index corresponding to the application attribute from the execution directory of the business application program, and identifying a classification of the application index; When the application index is a direct index classification, the business operation data of the development file is classified and evaluated based on a preset evaluation strategy to obtain an evaluation result of the development file.

2. The method according to claim 1, characterized in that The determining at least one application index corresponding to the application attribute from the execution directory of the business application program and identifying the classification of the application index comprises: Sending a query request to the program subsystem of the business application program, wherein the query request carries the application attribute, so that the program subsystem pulls the execution directory for executing the development file; receiving the execution directory, and searching for at least one application index corresponding to the reference identifier of the application attribute; The upper index and the lower index in the application index are parsed, and the classification of the application index is identified based on the upper index and the lower index, wherein the classification includes a direct index classification and an indirect index classification.

3. The method according to claim 2, characterized in that The identifying the classification of the application index based on the upper index and the lower index includes: If the upper-level index corresponds to the business call interface of the business application, and the lower-level index is the program call interface of the business application, then the application index is a direct index classification; If the upper-level index corresponds to the program call interface of the business application program, the application index is an indirect index classification.

4. The method according to claim 1, characterized in that: The classifying and evaluating the business operation data of the development file based on the preset evaluation strategy to obtain the evaluation result of the development file includes: Acquire business operation data of the business application, wherein the business operation data includes an operation data object and an operation method object; Determine a regression call interface of the development file in the business application based on the operation data object and the operation method object; A risk assessment is performed on the regression call interface based on the preset assessment strategy to obtain an assessment result of the development file.

5. The method according to claim 4, characterized in that The risk assessment of the regression call interface based on the preset assessment strategy to obtain the assessment result of the development file includes: Obtaining the execution times, response times, and update times of the regression call interface; The risk assessment level corresponding to the number of executions, the number of responses, and the number of updates is matched based on the preset assessment strategy, and the risk assessment level is determined as the assessment result of the development file. The preset assessment strategy includes risk assessment levels corresponding to different configured numbers of executions, different numbers of responses, and different numbers of updates.

6. The method according to claim 5, characterized in that The method further comprises: If the risk assessment level is an abnormal risk assessment level, an update instruction for the development file is generated, and the development file and the application index are output to reconfigure the development file.

7. The method according to any one of claims 1 to 6, characterized in that: The method further comprises: When the application index is an indirect index classification, a simulated call of a program call interface or a business call interface is performed based on a subordinate index of the application index to obtain a call result; If the call result is an abnormal call, determining that the development file is at an abnormal risk assessment level; If the calling result is a normal calling, it is determined that the development file is at a normal risk assessment level.

8. A development document evaluation device, characterized in that: include: An acquisition module, used to acquire application attributes of the development file to be evaluated, wherein the application attributes are used to characterize the content of business reference processing performed by the business application program based on the development file; a determination module, configured to determine at least one application index corresponding to the application attribute from the execution directory of the business application program, and identify a classification of the application index; An evaluation module is used to classify and evaluate the business operation data of the development file based on a preset evaluation strategy when the application index is a direct index classification, so as to obtain an evaluation result of the development file.

9. A storage medium storing at least one executable instruction, wherein the executable instruction enables a processor to execute an operation corresponding to the development file evaluation method according to any one of claims 1 to 7.

10. A computer device comprising: A processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other via the communication bus; The memory is used to store at least one executable instruction, and the executable instruction enables the processor to perform an operation corresponding to the evaluation method of the development file according to any one of claims 1-7.