Abnormal recognition method, model training method, device, equipment, medium and product

By determining the target data in the current development stage and inputting it into the anomaly identification model trained with historical development cycle data, the problem of low anomaly identification efficiency in the existing technology is solved, efficient and accurate anomaly identification of application software is achieved, and the development requirements are met. Periodic timeliness requirements.

CN118567993APending Publication Date: 2024-08-30INDUSTRIAL AND COMMERCIAL BANK OF CHINA
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410744380.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-11
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

Existing anomaly identification methods are inefficient and inaccurate for large-scale application software. They cannot identify anomalies in application software in a timely manner and cannot meet the requirements of the development cycle and update iteration speed.

Method used

By determining the target data in the current development stage and inputting it into the anomaly identification model trained using historical development cycle data, the anomaly identification results are output, including anomaly types and descriptions, using parallel anomaly identification sub-models and convolutional neural networks. and other technologies to improve identification efficiency and accuracy.

Benefits of technology

It achieves timely identification of anomalies existing in the current development stage, improves the efficiency and accuracy of anomaly identification, meets the timeliness requirements of the development cycle, and improves the accuracy of anomaly identification results through historical data training models.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118567993A
    Figure CN118567993A
Patent Text Reader

Abstract

The invention provides an anomaly recognition method which can be applied to the technical field of information security and the technical field of artificial intelligence. The exception identification method comprises the following steps: in response to a received exception identification request for target application software, determining to-be-identified target data of the target application software in a current development stage of a current development period; and inputting the target data into an exception recognition model, and outputting an exception recognition result, the exception recognition model being obtained by training historical data of the target application software in a historical development cycle, and the exception recognition result comprising a first recognition sub-result and a second recognition sub-result of the target data, the first identification sub-result is used for representing an exception type existing in the target data, and the second identification sub-result is used for representing an exception description existing in the target data. The invention further provides an exception recognition device and equipment, a storage medium and a program product.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the fields of information security technology and artificial intelligence technology, and more specifically to an anomaly identification method, device, equipment, medium and program product. Background Art

[0002] With the rapid development of information technology, the types and functions of application software are also developing rapidly. However, there will inevitably be anomalies in application software, which will affect the security of application software. Therefore, before the application software is put into use, it is necessary to identify anomalies in the application software.

[0003] Existing anomaly identification methods usually involve testers designing test cases and using the test cases to identify anomalies in application software. However, for large-scale application software, the method of identifying anomalies through test cases is inefficient and inaccurate, and cannot identify anomalies in application software in a timely manner. Summary of the invention

[0004] In view of the above problems, the present disclosure provides an abnormality identification method, apparatus, device, medium and program product.

[0005] According to a first aspect of the present disclosure, there is provided an exception identification method, comprising: in response to receiving an exception identification request for a target application software, determining target data to be identified for the target application software in a current development stage of a current development cycle; and inputting the above target data into an exception identification model, and outputting an exception identification result, wherein the above exception identification model is trained using historical data of the above target application software in a historical development cycle, and the above exception identification result comprises a first identification sub-result and a second identification sub-result of the above target data, the above first identification sub-result being used to characterize an abnormality type existing in the above target data, and the above second identification sub-result being used to characterize an abnormality description existing in the above target data.

[0006] According to an embodiment of the present disclosure, the above-mentioned determination of target data to be identified in the current development stage of the target application software in the current development cycle includes: when the current development stage is the software design stage, based on the design document of the target application software in the above-mentioned software design stage, determining the above-mentioned target data; and when the current development stage is the software implementation stage, obtaining a preset version of a test software program matching the above-mentioned software implementation stage; based on the above-mentioned test software program, determining the above-mentioned target data.

[0007] According to an embodiment of the present disclosure, the above-mentioned target data is determined based on the above-mentioned test software program, including: obtaining a test message for the above-mentioned test software program; sending the above-mentioned test message to the above-mentioned test software program so that the above-mentioned test software program processes the above-mentioned test message; obtaining a test result after processing the above-mentioned test message; and generating the above-mentioned target data based on the above-mentioned test message and the test result.

[0008] According to an embodiment of the present disclosure, the above-mentioned target data is determined based on the design document of the above-mentioned target application software in the above-mentioned software design stage, including: obtaining the service version information and the usage port information of the above-mentioned target application software calling the external service from the above-mentioned design document; and generating the above-mentioned target data according to the above-mentioned service version information and the usage port information.

[0009] According to an embodiment of the present disclosure, the above-mentioned exception recognition model includes M exception recognition sub-models in parallel, M>0, each exception recognition sub-model corresponds to an exception type, and the above-mentioned target data is input into a pre-trained exception recognition model, and the exception recognition result is output, including: inputting the above-mentioned target data into the above-mentioned M exception recognition sub-models, and outputting M exception description sequences, wherein each of the above-mentioned exception description sequences is used to characterize the degree of correlation between the above-mentioned target data and the N exception descriptions under the above-mentioned exception type, N>0; based on the above-mentioned M exception description sequences, the exception recognition result is determined.

[0010] According to an embodiment of the present disclosure, the above-mentioned exception description sequence includes N recognition probabilities, each recognition probability corresponds to the N types of exception descriptions under the above-mentioned exception type, and based on the above-mentioned M exception description sequences, the exception recognition result is determined, including: based on the above-mentioned N recognition probabilities, determining a first recognition sub-result; and based on the correspondence between the exception description and the exception type, determining that the exception type corresponding to the above-mentioned first recognition result is a second recognition sub-result.

[0011] A second aspect of the present disclosure provides an abnormality recognition model training method, including: inputting first historical data of the target application software in the historical development cycle into an initial abnormality recognition model, and outputting a sample abnormality recognition result, wherein the sample abnormality recognition result includes a sample first recognition sub-result and a sample second recognition sub-result of the first historical data, the sample first recognition sub-result is used to characterize the abnormality type existing in the first historical data, and the sample second recognition sub-result is used to characterize the abnormal problem existing in the first historical data, the initial abnormality recognition model includes a plurality of trained abnormality recognition sub-models, each of the abnormality recognition sub-models is trained using the second historical data of the same abnormality type; adjusting the parameters of the initial abnormality recognition model using the abnormality type label, the abnormality description label, the sample first recognition sub-result and the sample second recognition sub-result of the first historical data; and determining the initial abnormality recognition model of the current training cycle as the abnormality recognition model when the training cycle meets the training stop condition.

[0012] The third aspect of the present disclosure provides an exception identification device, including: a data determination module, which is used to determine the target data to be identified in the current development stage of the current development cycle of the target application software in response to receiving an exception identification request for the target application software; and a first identification module, which is used to input the above-mentioned target data into an exception identification model and output an exception identification result, wherein the above-mentioned exception identification model is trained using historical data of the above-mentioned target application software in the historical development cycle, and the above-mentioned exception identification result includes a first identification sub-result and a second identification sub-result of the above-mentioned target data, the above-mentioned first identification sub-result is used to characterize the type of anomaly existing in the above-mentioned target data, and the above-mentioned second identification sub-result is used to characterize the description of the anomaly existing in the above-mentioned target data.

[0013] The fourth aspect of the present disclosure provides an abnormality recognition model training device, including: a second recognition module, used to input the first historical data of the target application software in the historical development cycle into the initial abnormality recognition model, and output a sample abnormality recognition result, wherein the above-mentioned sample abnormality recognition result includes a sample first recognition sub-result and a sample second recognition sub-result of the above-mentioned first historical data, the above-mentioned sample first recognition sub-result is used to characterize the abnormal type existing in the above-mentioned first historical data, and the above-mentioned sample second recognition sub-result is used to characterize the abnormal problem existing in the above-mentioned first historical data, and the above-mentioned initial abnormality recognition model includes a plurality of trained abnormality recognition sub-models, each of the above-mentioned abnormality recognition sub-models is trained using the second historical data of the same abnormal type; a parameter adjustment module, used to adjust the parameters of the above-mentioned initial abnormality recognition model using the abnormality type label, the abnormality description label, the above-mentioned sample first recognition sub-result and the above-mentioned sample second recognition sub-result of the above-mentioned first historical data; and a model determination module, used to determine that the initial abnormality recognition model of the above-mentioned current training cycle is the abnormality recognition model when the training cycle meets the training stop condition.

[0014] A fifth aspect of the present disclosure provides an electronic device, comprising: one or more processors; and a memory for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors execute the above method.

[0015] The sixth aspect of the present disclosure also provides a computer-readable storage medium having executable instructions stored thereon, which, when executed by a processor, causes the processor to execute the above method.

[0016] The seventh aspect of the present disclosure also provides a computer program product, including a computer program, which implements the above method when executed by a processor.

[0017] According to the embodiments of the present disclosure, by identifying the target data in the current development stage of the current development cycle, anomalies existing in the current development stage are timely identified, the efficiency of anomaly identification is improved, and the timeliness requirements of the development cycle are met. Moreover, since anomalies occurring in multiple development cycles of the same application software are relatively similar, anomaly identification results are obtained by using an anomaly identification model trained with historical data in historical development cycles, thereby improving the accuracy of anomaly identification results. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] The above contents and other objects, features and advantages of the present disclosure will become more apparent through the following description of the embodiments of the present disclosure with reference to the accompanying drawings, in which:

[0019] Figure 1The application scenario diagram of the abnormality identification method, apparatus, device, medium and program product according to the embodiment of the present disclosure is schematically shown;

[0020] Figure 2 A flowchart of an abnormality identification method according to an embodiment of the present disclosure is schematically shown;

[0021] Figure 3 A schematic diagram of obtaining direct target data according to a specific embodiment of the present disclosure is schematically shown;

[0022] Figure 4 A schematic diagram schematically shows a method for determining an abnormality recognition result according to a specific embodiment of the present disclosure;

[0023] Figure 5 A flowchart of a vulnerability processing method according to a specific embodiment of the present disclosure is schematically shown;

[0024] Figure 6 A flowchart of a vulnerability identification model training method according to an embodiment of the present disclosure is schematically shown;

[0025] Figure 7 The structure block diagram of the abnormality identification device according to the embodiment of the present disclosure is schematically shown;

[0026] Figure 8 A structural block diagram of an abnormality recognition model training device according to an embodiment of the present disclosure is schematically shown; and

[0027] Fig. 9 A block diagram of an electronic device suitable for implementing an abnormality identification method according to an embodiment of the present disclosure is schematically shown. DETAILED DESCRIPTION

[0028] Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. However, it should be understood that these descriptions are exemplary only and are not intended to limit the scope of the present disclosure. In the following detailed description, for ease of explanation, many specific details are set forth to provide a comprehensive understanding of the embodiments of the present disclosure. However, it is apparent that one or more embodiments may also be implemented without these specific details. In addition, in the following description, descriptions of known structures and technologies are omitted to avoid unnecessary confusion of the concepts of the present disclosure.

[0029] The terms used herein are only for describing specific embodiments and are not intended to limit the present disclosure. The terms "comprise", "include", etc. used herein indicate the existence of the features, steps, operations and / or components, but do not exclude the existence or addition of one or more other features, steps, operations or components.

[0030] All terms (including technical and scientific terms) used herein have the meanings commonly understood by those skilled in the art unless otherwise defined. It should be noted that the terms used herein should be interpreted as having a meaning consistent with the context of this specification and should not be interpreted in an idealized or overly rigid manner.

[0031] In the technical solution of the present disclosure, the user information (including but not limited to user personal information, user image information, user device information, such as location information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved are all information and data authorized by the user or fully authorized by all parties, and the collection, storage, use, processing, transmission, provision, disclosure and application of the relevant data comply with relevant laws, regulations and standards, take necessary confidentiality measures, do not violate public order and good morals, and provide corresponding operation entrances for users to choose to authorize or refuse.

[0032] In the scenario of using personal information for automated decision-making, the methods, devices, and systems provided by the embodiments of the present disclosure provide users with corresponding operation portals for users to choose to agree or reject the automated decision-making results; if the user chooses to reject, the expert decision-making process will be entered. The expression "automated decision-making" here refers to the activity of automatically analyzing and evaluating a person's behavioral habits, interests and hobbies, or economic, health, credit status, etc. through computer programs, and making decisions. The expression "expert decision-making" here refers to the activity of making decisions by people who specialize in a certain field, have specialized experience, knowledge and skills, and have reached a certain level of professionalism.

[0033] When using expressions such as "at least one of A, B, and C, etc.", they should generally be interpreted according to the meaning of the expression commonly understood by those skilled in the art (for example, "a system having at least one of A, B, and C" should include but is not limited to a system having A alone, B alone, C alone, A and B, A and C, B and C, and / or A, B, C, etc.).

[0034] When performing anomaly identification, for large-scale application software, in order to ensure the security of the application software, testers need to test all possible anomalies in the application software, so a large number of comprehensive test cases need to be designed, resulting in low efficiency and accuracy of anomaly identification, and failure to timely discover anomalies in the application software, which in turn causes the application software to fail to meet the requirements of the development cycle and update iteration speed. Therefore, this application uses an anomaly identification model to identify anomalies in the application software, improves the efficiency and accuracy of anomaly identification, and identifies design anomalies in the design stage to detect anomalies in a timely manner.

[0035] An embodiment of the present disclosure provides an exception identification method, which, in response to receiving an exception identification request for a target application software, determines target data to be identified for the target application software in a current development stage of a current development cycle; and inputs the target data into an exception identification model, and outputs an exception identification result, wherein the exception identification model is trained using historical data of the target application software in historical development cycles, and the exception identification result includes a first identification sub-result and a second identification sub-result of the target data, the first identification sub-result being used to characterize the type of anomaly existing in the target data, and the second identification sub-result being used to characterize the description of the anomaly existing in the target data.

[0036] Figure 1 The application scenario diagram of anomaly identification according to an embodiment of the present disclosure is schematically shown.

[0037] like Figure 1 As shown, the application scenario 100 according to this embodiment may include a first terminal device 101, a second terminal device 102, and a third terminal device 103. A network 104 is used to provide a medium for a communication link between the first terminal device 101, the second terminal device 102, the third terminal device 103, and a server 105. The network 104 may include various connection types, such as wired, wireless communication links, or optical fiber cables, etc.

[0038] The user can use the first terminal device 101, the second terminal device 102, and the third terminal device 103 to interact with the server 105 through the network 104 to receive or send messages, etc. Various communication client applications can be installed on the first terminal device 101, the second terminal device 102, and the third terminal device 103, such as shopping applications, web browser applications, search applications, instant messaging tools, email clients, social platform software, etc. (only for example).

[0039] The first terminal device 101, the second terminal device 102, and the third terminal device 103 may be various electronic devices having display screens and supporting web browsing, including but not limited to smart phones, tablet computers, laptop computers, desktop computers, and the like.

[0040] The server 105 may be a server that provides various services, such as a background management server (only as an example) that provides support for websites browsed by users using the first terminal device 101, the second terminal device 102, and the third terminal device 103. The background management server may analyze and process the received data such as user requests, and feed back the processing results (such as web pages, information, or data obtained or generated according to user requests) to the terminal device.

[0041] It should be noted that the abnormality identification method provided in the embodiment of the present disclosure can generally be executed by the server 105. Accordingly, the abnormality identification device provided in the embodiment of the present disclosure can generally be set in the server 105. The abnormality identification method provided in the embodiment of the present disclosure can also be executed by a server or server cluster that is different from the server 105 and can communicate with the first terminal device 101, the second terminal device 102, the third terminal device 103 and / or the server 105. Correspondingly, the abnormality identification device provided in the embodiment of the present disclosure can also be set in a server or server cluster that is different from the server 105 and can communicate with the first terminal device 101, the second terminal device 102, the third terminal device 103 and / or the server 105.

[0042] It should be understood that Figure 1 The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to the implementation requirements.

[0043] The following will be based on Figure 1 The scene described by Figure 2~Figure 6 The abnormality identification method of the disclosed embodiment is described in detail.

[0044] Figure 2 The flowchart of the abnormality identification method according to the embodiment of the present disclosure is schematically shown.

[0045] like Figure 2 As shown, the abnormality identification method of this embodiment includes operations S210 to S220.

[0046] In operation S210 , in response to receiving an abnormality identification request for target application software, target data to be identified in a current development phase of a current development cycle of the target application software is determined.

[0047] According to the embodiments of the present disclosure, the anomaly may include a vulnerability in the application software, or may include a defect introduced during the requirements design, development, and configuration process of the application software, etc., without any limitation.

[0048] According to an embodiment of the present disclosure, the target application software may be an application software to be identified as abnormal. The target application software may include multiple development cycles, and different development cycles correspond to different versions. When performing abnormality identification, it is necessary to identify the data of the corresponding version of the target application software in the current development cycle.

[0049] According to an embodiment of the present disclosure, a development cycle may include multiple development phases, for example, a software design phase and a software implementation phase, and the software design phase and the software implementation phase may each include multiple sub-phases.

[0050] According to an embodiment of the present disclosure, the target data may be data that may contain abnormalities in the target application software, including design documents, software programs, software program test results, pages, etc. of the target application software.

[0051] According to an embodiment of the present disclosure, when a server receives an exception identification request for a target application software, the server can obtain the current development cycle and current development stage of the target application from the exception identification request and determine the target data to be identified.

[0052] In operation S220, the target data is input into an abnormality recognition model, and an abnormality recognition result is output.

[0053] According to an embodiment of the present disclosure, the anomaly recognition model is trained using historical data of the target application software in a historical development cycle, and the anomaly recognition model may include a convolutional neural network.

[0054] According to the embodiments of the present disclosure, since the anomalies that occur in the same application software in multiple historical development cycles are relatively similar, the accuracy of the anomaly recognition results can be improved by training the anomaly recognition model with historical data in the historical development cycles.

[0055] According to an embodiment of the present disclosure, the abnormality identification result includes a first identification sub-result and a second identification sub-result of the target data, the first identification sub-result is used to characterize the abnormality type existing in the target data, and the second identification sub-result is used to characterize the abnormality description existing in the target data.

[0056] According to an embodiment of the present disclosure, the exception description may include specific information about the exception, including the cause of the exception and the manifestation of the exception.

[0057] According to the embodiments of the present disclosure, testers can confirm and repair based on the abnormality identification results, thereby improving the work efficiency of the testers.

[0058] According to the embodiments of the present disclosure, the target data and the corresponding anomaly recognition results can be written into a database to facilitate the analysis of the anomaly. At the same time, the anomaly records in the database can be referred to for security design in the next development cycle.

[0059] According to the embodiments of the present disclosure, the target data and the anomaly recognition results of the current development cycle may also be used to train the anomaly recognition model to further improve the accuracy of the model.

[0060] According to another embodiment of the present disclosure, the anomaly identification model may also include a matching model to identify anomalies existing in the target data based on the degree of matching between the target data and the historical anomaly data.

[0061] According to the embodiments of the present disclosure, by identifying the target data in the current development stage of the current development cycle, anomalies existing in the current development stage are timely identified, the efficiency of anomaly identification is improved, and the timeliness requirements of the development cycle are met. Moreover, since anomalies occurring in multiple development cycles of the same application software are relatively similar, anomaly identification results are obtained by using an anomaly identification model trained with historical data in historical development cycles, thereby improving the accuracy of anomaly identification results.

[0062] According to an embodiment of the present disclosure, target data to be identified in a current development stage of a target application software in a current development cycle is determined, including: when the current development stage is a software design stage, based on the design document of the target application software in the software design stage, determining the target data; and when the current development stage is a software implementation stage, obtaining a preset version of a test software program that matches the software implementation stage; and determining the target data based on the test software program.

[0063] According to the embodiments of the present disclosure, since there may be design loopholes in the software design stage, which may lead to anomalies in the software implementation stage, it is necessary to identify anomalies in the software design stage, discover possible anomalies in time, and reduce the impact on the software implementation stage.

[0064] According to the embodiments of the present disclosure, since the software program is not formed in the software design stage and the development of the software program is performed based on the design document, the target data can be determined based on the design document.

[0065] According to an embodiment of the present disclosure, a software program has been formed in the software implementation stage, and at this time, the target data can be determined based on the software program. The test software program can be a software program that has not passed the security test. Specifically, a test software program of a version matching the current development cycle can be obtained, and the target data can be determined based on the test software test.

[0066] According to an embodiment of the present disclosure, when the target data is determined based on the test software program, the target data may include a test result obtained by performing a black box test on the test software program, and may also include a code segment of the test software program.

[0067] According to the embodiments of the present disclosure, by performing exception identification in the software design stage and the software implementation stage respectively, factors that may cause exceptions in the current development stage are discovered in time, thereby improving the efficiency of exception identification.

[0068] According to an embodiment of the present disclosure, target data is determined based on a test software program, including: obtaining a test message for the test software program; sending the test message to the test software program so that the test software program processes the test message; obtaining a test result after processing the test message; and generating target data based on the test message and the test result.

[0069] According to an embodiment of the present disclosure, a test message is used to test a test software program. The test message is sent to the test software program, and the test software program responds to and processes the test message and returns a processing result. The processing result is used as a test result and together with the test message, constitutes target data.

[0070] According to the embodiments of the present disclosure, target data is generated based on test messages and test results, so that the cause, generation conditions, and manifestation of the abnormality can be clarified.

[0071] According to an embodiment of the present disclosure, the test message may include a test message for a preset version of a test software program, and may also include a test message for a historical version of a software program stored in a database.

[0072] According to an embodiment of the present disclosure, by generating target data based on the test results for the test software program, the target data is made more comprehensive, thereby improving the accuracy of the abnormality identification result.

[0073] According to an embodiment of the present disclosure, target data is determined based on the design document of the target application software in the software design stage, including: obtaining service version information and usage port information of the target application software calling external services from the design document; and generating target data based on the service version information and usage port information.

[0074] According to an embodiment of the present disclosure, since the target software application may use external services through ports, and anomalies in the external services may also cause the target software application to have anomalies, the service version information and usage port information of the external services that need to be used can be identified during the design phase, thereby preventing anomalies caused by external services.

[0075] According to the embodiments of the present disclosure, since the external services to be used can be determined in the software design stage, the service version information and service port information of the external services can be obtained from the design document.

[0076] According to an embodiment of the present disclosure, in addition to obtaining service version information and used port information from a design document, other requirements related to the security of the target application software may also be obtained from the design document as target data.

[0077] According to an embodiment of the present disclosure, by generating target data based on design documents, anomalies caused in the software design phase are reduced, thereby improving the security of the target software application.

[0078] According to an embodiment of the present disclosure, the software design phase may include two sub-phases: demand planning and overall design. The software implementation phase may include three sub-phases: development implementation, test verification, and operation and maintenance.

[0079] According to an embodiment of the present disclosure, target data may include direct target data and indirect target data, wherein direct target data is used to represent data that can be directly obtained from design documents and coding documents of software programs, and indirect target data is used to represent hidden data that cannot be directly obtained, that is, data that can only be obtained when the software program is running.

[0080] Figure 3 A schematic diagram of acquiring target data according to a specific embodiment of the present disclosure is schematically shown.

[0081] like Figure 3 As shown, the development cycle includes the demand planning stage, the overall design stage, the development implementation stage, the test verification stage, and the operation and maintenance stage, and the target data can be obtained from each development stage in the development cycle.

[0082] According to the embodiments of the present disclosure, business security requirements can be confirmed in the demand planning stage, and business requirements can be designed using historical exception information in the database to avoid possible exceptions. After the business demand planning is completed, the business demand design document is used as the direct target data to be identified for exception identification, and the business requirements are adjusted based on the exception identification results.

[0083] According to the embodiments of the present disclosure, safe development design confirmation can be performed in the overall design stage, and development requirements design can be performed using historical exception information in the database to avoid possible exceptions. After the development requirements planning is completed, the development requirements design document is used as the direct target data to be identified for exception identification, and the development requirements are adjusted based on the exception identification results.

[0084] According to the embodiments of the present disclosure, during the development implementation stage, security development implementation confirmation can be performed, and developers can perform sufficient white box detection on the software program code to determine that the code segments with a high probability of abnormality are direct target data. Specifically, the direct target data can be determined by analyzing the syntax, semantics, interface, script, etc. of the software program code.

[0085] According to the embodiments of the present disclosure, security verification can be performed in the test verification stage, and a black box test method can be used to simulate attack scenarios and collect direct target data by analyzing the response of the software program. The software program can also be tested according to the test case to determine that the interface request, result data and variable data triggered by the software program during the test process are direct target data.

[0086] According to the embodiments of the present disclosure, direct target data can also be obtained by white box testing in the test verification phase. Specifically, the matching degree between the code in the current development cycle and the abnormal code in the historical development cycle can be determined through similarity matching, and the code segments with higher matching degree can be used as direct target data.

[0087] According to the embodiments of the present disclosure, security deployment and response can be performed during the operation and maintenance phase, and the operation data and anomalies generated by the target application software can be collected in real time, and the operation data can be used as indirect target data to be detected for anomaly identification to avoid anomalies. After an anomaly occurs, the anomaly problem is solved in a timely manner and the anomaly is recorded in the database.

[0088] According to an embodiment of the present disclosure, the target data is input into a pre-trained anomaly recognition model, and an anomaly recognition result is output, including: inputting the target data into M anomaly recognition sub-models, and outputting M anomaly description sequences; and determining the anomaly recognition result based on the M anomaly description sequences.

[0089] According to an embodiment of the present disclosure, the abnormality recognition model includes M abnormality recognition sub-models in parallel, M>0, and each abnormality recognition sub-model corresponds to an abnormality type. Specifically, by presetting multiple abnormality types, the initial abnormality recognition sub-model can be trained using data of the same abnormality type to obtain an abnormality recognition sub-model corresponding to the abnormality type.

[0090] According to an embodiment of the present disclosure, the anomaly recognition sub-model can be obtained by pre-training a convolutional neural network, and specifically, the anomaly recognition sub-model can be a two-dimensional convolutional neural network. The anomaly recognition model can be obtained by connecting multiple anomaly recognition sub-models in parallel, so the anomaly recognition model can be a three-dimensional convolutional neural network.

[0091] According to the embodiments of the present disclosure, the anomaly recognition sub-model can determine the degree of correlation between the target data and multiple anomaly descriptions under the anomaly type, so that the anomaly recognition sub-model is highly targeted, thereby making the anomaly recognition result more accurate.

[0092] According to an embodiment of the present disclosure, when the target data is text, the text can be segmented to obtain a word matrix, and the word matrix can be feature encoded to obtain a feature matrix, which is then input into an anomaly recognition submodel.

[0093] According to an embodiment of the present disclosure, when the target data is source code, the source code can be converted into assembly code; when the target data is binary code, the binary code can be deassembled to obtain assembly code.

[0094] According to an embodiment of the present disclosure, each anomaly recognition sub-model outputs an anomaly description sequence, which can be used to characterize the relevance between the target data and N anomaly descriptions under the anomaly type, N> 0. Specifically, the relevance between the target data and the anomaly description can be characterized by a probability score or the like.

[0095] According to an embodiment of the present disclosure, when determining an abnormality identification result based on an abnormality description sequence, the abnormality identification result may be determined based on an abnormality description that has a high degree of correlation with the target data.

[0096] According to the embodiments of the present disclosure, anomaly recognition is performed through an anomaly recognition model to improve the efficiency and accuracy of anomaly recognition.

[0097] According to an embodiment of the present disclosure, an abnormality recognition result is determined based on M abnormality description sequences, including: determining a first recognition sub-result based on N recognition probabilities; and determining that the abnormality type corresponding to the first recognition result is a second recognition sub-result based on the correspondence between the abnormality description and the abnormality type.

[0098] According to an embodiment of the present disclosure, the exception description sequence includes N recognition probabilities, each recognition probability corresponds to N types of exception descriptions under an exception type, wherein the recognition probability can be used to characterize the degree of correlation between the target data and the exception description under the exception type.

[0099] According to an embodiment of the present disclosure, each anomaly recognition sub-model may include a convolutional pooling layer and a fully connected layer, wherein the convolutional pooling layer may be used to extract features corresponding to the anomaly type from the target data, and the fully connected layer may determine the degree of relevance to each anomaly description based on the features obtained by the convolutional pooling layer. Specifically, the recognition probability with the anomaly description may be obtained through the activation function in the fully connected layer.

[0100] According to an embodiment of the present disclosure, determining the first recognition sub-result may include: determining a target abnormality description corresponding to a maximum recognition probability; and determining the target abnormality description as the first recognition sub-result.

[0101] According to an embodiment of the present disclosure, since there is a corresponding relationship between the exception type and the exception description, there may be multiple exception description types under one exception type, and each exception description type corresponds to only one exception type. Therefore, after determining the exception description of the target data, according to the corresponding relationship between the exception type and the exception description, the exception type corresponding to the exception description can be determined as the exception type of the target data, that is, the second identification sub-result.

[0102] According to an embodiment of the present disclosure, a first recognition sub-result and a second recognition sub-result of target data are determined based on anomaly type and anomaly description, thereby improving the accuracy of anomaly recognition results.

[0103] Figure 4 A schematic diagram of determining an abnormality recognition result according to a specific embodiment of the present disclosure is schematically shown.

[0104] like Figure 4 As shown, the target data 401 is input into the abnormality recognition sub-model 402_1, the abnormality recognition sub-model 402_2, ..., the abnormality recognition sub-model 402_M to obtain the abnormality description sequence 403_1, the abnormality description sequence 403_2, ..., the abnormality description sequence 403_M.

[0105] According to an embodiment of the present disclosure, each abnormal description sequence includes multiple recognition probabilities. The abnormal description sequence 403_1 includes N1 recognition probabilities, the abnormal description sequence 403_2 includes N2 recognition probabilities, ..., the abnormal description sequence 403_M includes N M The recognition probability.

[0106] According to an embodiment of the present disclosure, the abnormality description corresponding to the maximum recognition probability among multiple recognition probabilities is determined as the first recognition result 404, and the second recognition result 405 is determined according to the correspondence between the abnormality description and the abnormality type.

[0107] Figure 5 The flowchart of a vulnerability processing method according to a specific embodiment of the present disclosure is schematically shown.

[0108] In operation S510 , a black box analysis and a white box analysis are performed on the target application software to obtain target data.

[0109] According to an embodiment of the present disclosure, black box analysis may be used to obtain indirect target data, and white box analysis may be used to obtain direct target data.

[0110] In operation S520, the target data is input into an abnormality recognition model to obtain an abnormality recognition result.

[0111] In operation S530, the abnormality in the target application software is repaired according to the abnormality identification result.

[0112] In operation S540 , the repaired anomaly in the target application software is verified to confirm whether the anomaly is repaired successfully.

[0113] Figure 6 The flowchart of the vulnerability identification model training method according to an embodiment of the present disclosure is schematically shown.

[0114] like Figure 6As shown, the vulnerability identification model training method includes operations S610 to S630.

[0115] In operation S610, first historical data of the target application software in a historical development cycle is input into an initial anomaly recognition model, and a sample anomaly recognition result is output.

[0116] According to an embodiment of the present disclosure, the sample anomaly recognition result includes a sample first recognition sub-result and a sample second recognition sub-result of the first historical data, the sample first recognition sub-result is used to characterize the anomaly type existing in the first historical data, the sample second recognition sub-result is used to characterize the anomaly problem existing in the first historical data, and the initial anomaly recognition model includes multiple trained anomaly recognition sub-models.

[0117] According to the embodiment of the present disclosure, each abnormality recognition sub-model is trained using the second historical data of the same abnormality type. By training the abnormality recognition sub-model using the second historical data of the same abnormality type, the abnormality recognition sub-model is targeted and the recognition accuracy of the abnormality recognition model is improved.

[0118] According to an embodiment of the present disclosure, when training the anomaly recognition sub-model, the anomaly description label of the second historical data and the recognition result output by the anomaly recognition sub-model can be input into the loss function, and the parameters of the initial anomaly recognition sub-model can be adjusted according to the output result of the loss function.

[0119] In operation S620, the parameters of the initial anomaly recognition model are adjusted using the anomaly type label, the anomaly description label, the sample first recognition sub-result, and the sample second recognition sub-result of the first historical data.

[0120] According to an embodiment of the present disclosure, the exception type label may be an actual exception type of the first historical data, and the exception description label may be an actual exception description of the first historical data.

[0121] According to an embodiment of the present disclosure, the anomaly type label, the anomaly description label, the sample first identification sub-result and the sample second identification sub-result may be input into a loss function, and the parameters in the initial anomaly identification model may be adjusted according to the output result of the loss function.

[0122] In operation S630, when the training cycle satisfies the training stop condition, an initial abnormality recognition model of the current training cycle is determined as the abnormality recognition model.

[0123] According to an embodiment of the present disclosure, the training stop condition may be that the loss function reaches a preset threshold, or may be that the number of training times reaches a preset threshold, and there is no restriction on this.

[0124] According to an embodiment of the present disclosure, by training each abnormality recognition sub-model separately and training the abnormality recognition model obtained in parallel, the accuracy of the abnormality recognition model is improved.

[0125] Based on the above abnormality identification method, the present disclosure also provides an abnormality identification device. Figure 7 The device is described in detail.

[0126] Figure 7 The structural block diagram of the abnormality identification device according to an embodiment of the present disclosure is schematically shown.

[0127] like Figure 7 As shown, the abnormality identification device 700 of this embodiment includes a data determination module 710 and a first identification module 720 .

[0128] The data determination module 710 is used to determine the target data to be identified in the current development phase of the current development cycle of the target application software in response to receiving an abnormal identification request for the target application software. In one embodiment, the data determination module 710 can be used to perform the operation S210 described above, which will not be repeated here.

[0129] The first recognition module 720 is used to input the target data into the abnormal recognition model and output the abnormal recognition result, wherein the abnormal recognition model is trained using the historical data of the target application software in the historical development cycle, and the abnormal recognition result includes the first recognition sub-result and the second recognition sub-result of the target data, the first recognition sub-result is used to characterize the abnormal type existing in the target data, and the second recognition sub-result is used to characterize the abnormal description existing in the target data. In one embodiment, the first recognition module 720 can be used to perform the operation S220 described above, which will not be repeated here.

[0130] According to an embodiment of the present disclosure, the data determination module 710 includes a first determination submodule and a second determination submodule.

[0131] The first determination submodule is used to determine target data based on the design document of the target application software in the software design phase when the current development phase is the software design phase.

[0132] The second determination submodule is used to obtain a preset version of a test software program that matches the software implementation stage when the current development stage is the software implementation stage; and determine target data based on the test software program.

[0133] According to an embodiment of the present disclosure, the second determining submodule includes a message acquiring unit, a message sending unit, a result acquiring unit and a first generating unit.

[0134] The message acquisition unit is used to acquire a test message for a test software program.

[0135] The message sending unit is used to send the test message to the test software program so that the test software program processes the test message.

[0136] The result acquisition unit is used to acquire the test result after processing the test message.

[0137] The first generating unit is used to generate target data according to the test message and the test result.

[0138] According to an embodiment of the present disclosure, the first determining submodule includes a service port acquiring unit and a second generating unit.

[0139] The service port acquisition unit is used to obtain the service version information and the used port information of the target application software calling the external service from the design document.

[0140] The second generating unit is used to generate target data according to the service version information and the used port information.

[0141] According to an embodiment of the present disclosure, the first recognition module 720 includes a sequence output submodule and a result determination submodule.

[0142] The sequence output submodule is used to input the target data into M anomaly recognition submodels and output M anomaly description sequences, where each anomaly description sequence is used to characterize the degree of correlation between the target data and the N anomaly descriptions under the anomaly type, N>0.

[0143] The result determination submodule is used to determine the anomaly recognition result based on M anomaly description sequences.

[0144] According to an embodiment of the present disclosure, the abnormality description sequence includes N recognition probabilities, each recognition probability corresponds to N abnormality description categories under the abnormality type. The sequence determination submodule includes a first determination unit and a second determination unit.

[0145] The first determination unit is used to determine a first identification sub-result based on the N identification probabilities.

[0146] The second determining unit is used to determine, based on the correspondence between the abnormality description and the abnormality type, that the abnormality type corresponding to the first recognition result is a second recognition sub-result.

[0147] According to an embodiment of the present disclosure, any multiple modules in the data determination module 710 and the first identification module 720 can be combined into one module for implementation, or any one of the modules can be split into multiple modules. Alternatively, at least part of the functions of one or more of these modules can be combined with at least part of the functions of other modules and implemented in one module. According to an embodiment of the present disclosure, at least one of the data determination module 710 and the first identification module 720 can be at least partially implemented as a hardware circuit, such as a field programmable gate array (FPGA), a programmable logic array (PLA), a system on a chip, a system on a substrate, a system on a package, an application-specific integrated circuit (ASIC), or can be implemented by hardware or firmware such as any other reasonable way of integrating or packaging the circuit, or implemented in any one of the three implementation methods of software, hardware and firmware or in any appropriate combination of any of them. Alternatively, at least one of the data determination module 710 and the first identification module 720 can be at least partially implemented as a computer program module, and when the computer program module is run, the corresponding function can be executed.

[0148] Based on the above-mentioned abnormality recognition model training method, the present disclosure also provides an abnormality recognition model training device. Figure 8 The device is described in detail.

[0149] Figure 8 The structural block diagram of the abnormality recognition model training device according to an embodiment of the present disclosure is schematically shown.

[0150] like Figure 8 As shown, the abnormality recognition model training device 800 of this embodiment includes a second recognition module 810 , a parameter adjustment module 820 and a model determination module 830 .

[0151] The second recognition module 810 is used to input the first historical data of the target application software in the historical development cycle into the initial abnormality recognition model, and output the sample abnormality recognition result, wherein the sample abnormality recognition result includes the sample first recognition sub-result and the sample second recognition sub-result of the first historical data, the sample first recognition sub-result is used to characterize the abnormal type existing in the first historical data, and the sample second recognition sub-result is used to characterize the abnormal problem existing in the first historical data, and the initial abnormality recognition model includes a plurality of trained abnormality recognition sub-models, each of which is trained using the second historical data of the same abnormal type. In one embodiment, the second recognition module 810 can be used to perform the operation S710 described above, which will not be repeated here.

[0152] The parameter adjustment module 820 is used to adjust the parameters of the initial anomaly recognition model using the anomaly type label, anomaly description label, sample first identification sub-result and sample second identification sub-result of the first historical data. In one embodiment, the parameter adjustment module 820 can be used to perform the operation S720 described above, which will not be repeated here.

[0153] The model determination module 830 is used to determine the initial abnormality recognition model of the current training cycle as the abnormality recognition model when the training cycle meets the training stop condition. In one embodiment, the model determination module 830 can be used to perform the operation S730 described above, which will not be repeated here.

[0154] Fig. 9 A block diagram of an electronic device suitable for implementing an abnormality identification method according to an embodiment of the present disclosure is schematically shown.

[0155] like Fig. 9 As shown, the electronic device 900 according to an embodiment of the present disclosure includes a processor 901, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 902 or a program loaded from a storage part 908 to a random access memory (RAM) 903. The processor 901 may include, for example, a general-purpose microprocessor (e.g., a CPU), an instruction set processor and / or a related chipset and / or a dedicated microprocessor (e.g., an application-specific integrated circuit (ASIC)), etc. The processor 901 may also include an onboard memory for caching purposes. The processor 901 may include a single processing unit or multiple processing units for performing different actions of the method flow according to an embodiment of the present disclosure.

[0156] In RAM 903, various programs and data required for the operation of electronic device 900 are stored. Processor 901, ROM 902 and RAM 903 are connected to each other via bus 904. Processor 901 performs various operations of the method flow according to the embodiment of the present disclosure by executing the program in ROM 902 and / or RAM 903. It should be noted that the program can also be stored in one or more memories other than ROM 902 and RAM 903. Processor 901 can also perform various operations of the method flow according to the embodiment of the present disclosure by executing the program stored in the one or more memories.

[0157] According to an embodiment of the present disclosure, the electronic device 900 may further include an input / output (I / O) interface 905, which is also connected to the bus 904. The electronic device 900 may further include one or more of the following components connected to the I / O interface 905: an input portion 906 including a keyboard, a mouse, etc.; an output portion 907 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage portion 908 including a hard disk, etc.; and a communication portion 909 including a network interface card such as a LAN card, a modem, etc. The communication portion 909 performs communication processing via a network such as the Internet. A drive 910 is also connected to the I / O interface 905 as needed. A removable medium 911, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 910 as needed, so that a computer program read therefrom is installed into the storage portion 908 as needed.

[0158] The present disclosure also provides a computer-readable storage medium, which may be included in the device / apparatus / system described in the above embodiments; or may exist independently without being assembled into the device / apparatus / system. The above computer-readable storage medium carries one or more programs, and when the above one or more programs are executed, the method according to the embodiment of the present disclosure is implemented.

[0159] According to an embodiment of the present disclosure, a computer-readable storage medium may be a non-volatile computer-readable storage medium, for example, may include but is not limited to: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, an apparatus or a device. For example, according to an embodiment of the present disclosure, a computer-readable storage medium may include the ROM 902 and / or RAM 903 described above and / or one or more memories other than ROM 902 and RAM 903.

[0160] The embodiment of the present disclosure also includes a computer program product, which includes a computer program, and the computer program includes program exception data for executing the method shown in the flowchart. When the computer program product is run in a computer system, the program exception data is used to enable the computer system to implement the exception identification method provided by the embodiment of the present disclosure.

[0161] The above functions defined in the system / device of the embodiment of the present disclosure are performed when the computer program is executed by the processor 901. According to the embodiment of the present disclosure, the system, device, module, unit, etc. described above can be implemented by a computer program module.

[0162] In one embodiment, the computer program may rely on a tangible storage medium such as an optical storage device, a magnetic storage device, etc. In another embodiment, the computer program may also be transmitted and distributed in the form of a signal on a network medium, and downloaded and installed through the communication part 909, and / or installed from a removable medium 911. The program exception data included in the computer program may be transmitted using any appropriate network medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.

[0163] In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 909, and / or installed from the removable medium 911. When the computer program is executed by the processor 901, the above functions defined in the system of the embodiment of the present disclosure are performed. According to the embodiment of the present disclosure, the system, device, means, module, unit, etc. described above can be implemented by a computer program module.

[0164] According to an embodiment of the present disclosure, program exception data for executing a computer program provided by an embodiment of the present disclosure can be written in any combination of one or more programming languages. Specifically, these computing programs can be implemented using high-level process and / or object-oriented programming languages, and / or assembly / machine languages. Programming languages ​​include, but are not limited to, Java, C++, python, "C" language or similar programming languages. Program exception data can be executed entirely on a user computing device, partially on a user device, partially on a remote computing device, or entirely on a remote computing device or server. In the case of a remote computing device, the remote computing device can be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computing device (e.g., using an Internet service provider to connect through the Internet).

[0165] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of abnormal data, and the above-mentioned module, program segment or a part of abnormal data contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram or flow chart, and the combination of the square boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0166] It will be appreciated by those skilled in the art that the features described in the various embodiments of the present disclosure may be combined and / or combined in a variety of ways, even if such combinations and / or combinations are not explicitly described in the present disclosure. In particular, without departing from the spirit and teachings of the present disclosure, the features described in the various embodiments of the present disclosure may be combined and / or combined in a variety of ways. All of these combinations and / or combinations fall within the scope of the present disclosure.

[0167] The embodiments of the present disclosure are described above. However, these embodiments are only for illustrative purposes and are not intended to limit the scope of the present disclosure. Although the embodiments are described above separately, this does not mean that the measures in the various embodiments cannot be used in combination to advantage. The scope of the present disclosure is defined by the attached claims and their equivalents. Without departing from the scope of the present disclosure, those skilled in the art may make a variety of substitutions and modifications, which should all fall within the scope of the present disclosure.

Claims

1. A method for identifying anomalies, characterized in that: The method comprises: In response to receiving an exception identification request for the target application software, determining target data to be identified for the target application software in a current development phase of a current development cycle; and The target data is input into an anomaly recognition model, and an anomaly recognition result is output, wherein the anomaly recognition model is trained using historical data of the target application software in a historical development cycle, and the anomaly recognition result includes a first recognition sub-result and a second recognition sub-result of the target data, wherein the first recognition sub-result is used to characterize an anomaly type existing in the target data, and the second recognition sub-result is used to characterize an anomaly description existing in the target data.

2. The method according to claim 1, characterized in that The determining of target data to be identified at a current development stage of the target application software in a current development cycle includes: In the case where the current development stage is a software design stage, determining the target data based on a design document of the target application software in the software design stage; and When the current development stage is the software implementation stage, a test software program of a preset version matching the software implementation stage is obtained; and the target data is determined based on the test software program.

3. The method according to claim 2, characterized in that Determining the target data based on the test software program includes: Obtaining a test message for the test software program; Sending the test message to the test software program so that the test software program processes the test message; Obtaining a test result after processing the test message; and The target data is generated according to the test message and the test result.

4. The method according to claim 2, characterized in that: Determining the target data based on the design document of the target application software in the software design phase includes: Acquire the service version information and the used port information of the target application software calling the external service from the design document; and The target data is generated according to the service version information and the used port information.

5. The method according to claim 1, characterized in that The abnormality recognition model includes M abnormality recognition sub-models in parallel, M>0, each abnormality recognition sub-model corresponds to an abnormality type, and the target data is input into the pre-trained abnormality recognition model to output the abnormality recognition result, including: Input the target data into the M anomaly recognition sub-models, and output M anomaly description sequences, wherein each anomaly description sequence is used to characterize the degree of correlation between the target data and the N anomaly descriptions under the anomaly type, N>0; Based on the M exception description sequences, an exception identification result is determined.

6. The method according to claim 5, characterized in that The abnormality description sequence includes N recognition probabilities, each recognition probability corresponds to the N abnormality description types under the abnormality type, and based on the M abnormality description sequences, determining the abnormality recognition result includes: Based on the N recognition probabilities, determining a first recognition sub-result; and Based on the correspondence between the exception description and the exception type, the exception type corresponding to the first recognition result is determined as the second recognition sub-result.

7. A method for training an anomaly recognition model, characterized in that: The method comprises: Inputting the first historical data of the target application software in the historical development cycle into the initial anomaly recognition model, and outputting a sample anomaly recognition result, wherein the sample anomaly recognition result includes a sample first recognition sub-result and a sample second recognition sub-result of the first historical data, the sample first recognition sub-result is used to characterize the anomaly type existing in the first historical data, and the sample second recognition sub-result is used to characterize the anomaly problem existing in the first historical data, and the initial anomaly recognition model includes a plurality of trained anomaly recognition sub-models, each of which is trained using the second historical data of the same anomaly type; Using the anomaly type label, the anomaly description label, the sample first identification sub-result, and the sample second identification sub-result of the first historical data, adjusting the parameters of the initial anomaly identification model; and When the training cycle meets the training stop condition, the initial abnormality recognition model of the current training cycle is determined as the abnormality recognition model.

8. An abnormality identification device, characterized in that: The device comprises: a data determination module, configured to determine target data to be identified for the target application software in a current development phase of a current development cycle in response to receiving an abnormality identification request for the target application software; and A first identification module is used to input the target data into an anomaly identification model and output an anomaly identification result, wherein the anomaly identification model is trained using historical data of the target application software in a historical development cycle, and the anomaly identification result includes a first identification sub-result and a second identification sub-result of the target data, wherein the first identification sub-result is used to characterize an anomaly type existing in the target data, and the second identification sub-result is used to characterize an anomaly description existing in the target data.

9. An abnormality recognition model training device, characterized in that: The device comprises: A second recognition module is used to input the first historical data of the target application software in the historical development cycle into the initial abnormality recognition model, and output a sample abnormality recognition result, wherein the sample abnormality recognition result includes a sample first recognition sub-result and a sample second recognition sub-result of the first historical data, the sample first recognition sub-result is used to characterize the abnormality type existing in the first historical data, and the sample second recognition sub-result is used to characterize the abnormal problem existing in the first historical data, and the initial abnormality recognition model includes a plurality of trained abnormality recognition sub-models, each of which is trained using the second historical data of the same abnormality type; a parameter adjustment module, configured to adjust the parameters of the initial anomaly recognition model by using the anomaly type label, the anomaly description label, the sample first identification sub-result, and the sample second identification sub-result of the first historical data; and The model determination module is used to determine the initial abnormality recognition model of the current training cycle as the abnormality recognition model when the training cycle meets the training stop condition.

10. An electronic device, comprising: one or more processors; a storage device for storing one or more computer programs, It is characterized in that the one or more processors execute the one or more computer programs to implement the steps of the method according to any one of claims 1 to 7.

11. A computer-readable storage medium having a computer program / instruction stored thereon, characterized in that: When the computer program / instructions are executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.

12. A computer program product comprising a computer program / instructions, characterized in that When the computer program / instructions are executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.

Citation Information

Cited By

  • Program Bug automatic submission method and device and medium

    CN119376735A