CN-122019387-A - Software application quality risk identification and early warning method, system and product
Abstract
The application discloses a software application quality risk identification early warning method, a system and a product for the field of software security risk control, and the method comprises the steps of S100, deploying an application monitoring service to obtain application monitoring data, S200, creating a query task queue to obtain an application state query index and storing the application state query index, S300, creating a query task consumption queue to obtain the application state query index as a reference to obtain monitoring query data, S400, configuring an application management table based on an application service state, S500, defining a risk identification rule, identifying a risk item, obtaining a risk detail table, S600, extracting a risk field from the risk detail table through a field processing configuration table and mapping the risk field to a risk result table, and analyzing and treating the risk item based on the risk result table. The application can realize long-acting tracking of the application running state, comprehensively acquire the application state, identify potential running risk and provide pre-warning.
Inventors
- KONG LINGYU
- LIU HONG
Assignees
- 上海申雪供应链管理有限公司
Dates
- Publication Date
- 20260512
- Application Date
- 20260202
Claims (10)
- 1. The software application quality risk identification early warning method is characterized by comprising the following steps: s100, deploying an application monitoring service, and acquiring monitoring data of all applications through the application monitoring service; s200, creating a query task queue, and periodically executing a query task on the application monitoring data by the query task queue to obtain an application state query index, and storing the application state query index in a query task table; S300, creating a query task consumption queue, wherein the query task consumption queue periodically acquires an application state query index in a query task table as an entry, calls a query interface of an application monitoring service, acquires monitoring query data, and stores the monitoring query data in a service table; S400, configuring an application management table based on the service state of the application; S500, defining different risk identification rules based on different risk items, storing the different risk identification rules into a risk identification rule table corresponding to the risk items, and identifying the different risk items by taking a service table and an application management table which are obtained regularly as identification objects to obtain each risk detail table in real time; S600, extracting risk fields from each risk detail table through a field processing configuration table, mapping all extracted risk fields into a risk result table for storage, and outputting, analyzing and managing risk items based on the risk result table.
- 2. The method for early warning quality risk recognition of a software application according to claim 1, wherein in S100, the application monitoring data includes link topology data, dependent service data, and interface request data of the application.
- 3. The software application quality risk identification and early warning method according to claim 1, wherein in S200, the query task queue is divided into a topology query task queue for querying topology information and an interface query task queue for querying interface information, and the application state query indexes obtained by the topology query task queue and the interface query task queue include target application information and time slice information, and then are stored in a topology query task table and an interface query task table, respectively.
- 4. The software application quality risk identification and early warning method according to claim 3, wherein in S300, the query task consumption queue is divided into a topology query task consumption queue and an interface query task consumption queue, query time ranges are respectively configured for the topology query task consumption queue and the interface query task consumption queue, the obtained application state query index and the obtained query time ranges are jointly used as references, a query interface of an application monitoring service is invoked, monitoring query data is obtained, and the monitoring query data are respectively stored in a service table.
- 5. The software application quality risk identification pre-warning method according to claim 4, wherein the monitoring query data obtained by the topology query task consumption queue comprises node data and edge data; The topology query task consumption queue comprises a topology query task consumption queue, an application topology service table, a node data traversing node data, an application topology service table, an application dependence service table and a node interface, wherein the topology query task consumption queue is used for executing the topology query task consumption queue; the application topology service table and the application dependent service table together form a service table of the topology query task consumption queue.
- 6. The method for identifying and pre-warning quality risks of software applications according to claim 4, wherein the monitoring query data obtained by the interface query task consumption queue comprises QPS data and RT data of an interface, and the QPS data and RT data are stored in an application providing service table of the interface query task consumption queue.
- 7. The method for early warning quality risk recognition of a software application according to claim 1, wherein in S600, the risk result table divides the risk fields into dynamic risk fields that need to be updated and static risk fields that do not change after being recorded unless a reset command is passed, and the dynamic risk fields are updated in real time based on a risk detail table acquired in real time.
- 8. A software application quality risk identification early warning system for implementing the early warning method according to any one of claims 1 to 7, characterized by comprising a basic data collection synchronization module and a risk measurement module; The basic data collection synchronization module comprises an application monitoring service module, a query task module and a storage module; The application monitoring service module is used for deploying application monitoring service; the query task module sends a query task to the application monitoring service module, returns an application state query index and stores the application state query index in a query task table; The query task table is stored in the storage module; the risk measuring and calculating module comprises a data acquisition module, a risk identification rule module and a risk output module; The data acquisition module accesses the storage module, calls a query interface of the application monitoring service based on the query task table, acquires monitoring query data and stores the monitoring query data in a service table; The risk identification rule module is configured with a risk identification rule, and identifies different risk items based on the service table and the application management table, and acquires each risk detail table in real time; And the risk output module extracts the risk fields of the risk detail tables, maps the risk fields to a risk result table for storage, and outputs risk items through the risk result table.
- 9. The software application quality risk identification early warning system according to claim 8, wherein the risk output module is connected with a risk management module at the back end, and the risk management module pushes risk items to the operation and maintenance personnel and drives the target application to execute a risk management strategy.
- 10. A computer program product, characterized in that it comprises a computer program or instructions that enable the implementation of the steps in the software application quality risk identification pre-warning method according to any one of claims 1 to 7.
Description
Software application quality risk identification and early warning method, system and product Technical Field The application relates to a software application quality risk identification early warning method, a system and a product for the field of software security risk control. Background Software applications all need to be tested to eliminate potential defects and running risks before being formally online. However, because the test environment and the actual running environment inevitably have differences, the application service itself can fail due to factors such as code logic errors, performance bottlenecks, insufficient resources, upstream and downstream anomalies and the like when the application runs online. In order to ensure user experience and system stability, online monitoring means are generally adopted to monitor the running states of all applications in the system in real time, and sense the running risk of the applications. The existing on-line monitoring system of the application is mainly focused on real-time acquisition, abnormality detection and fault warning of the current running state of the application, and the core logic of the system is based on index mutation or threshold touching of the target parameter deviating from a normal base line. Although the method can effectively find out serious faults of the application, the potential operation risks are difficult to actively identify, namely obvious faults are not caused yet, and the problems of user experience degradation or system breakdown can be caused in the future. Disclosure of Invention The application aims to overcome the defects of the prior art, provides a software application quality risk identification early warning method, a system and a product, can realize long-acting tracking of application running states, comprehensively acquire the application states, identify potential running risks and provide pre-early warning. The application aims to overcome the defects of the prior art, and provides an adjustable control method, an adjustable control system and an adjustable control product of an electric control valve actuator, which can realize rapid, accurate and robust medium flow adjustment under complex change working conditions. In a first aspect, the present application provides a software application quality risk identification and early warning method, and the adopted technical scheme includes the following steps: s100, deploying an application monitoring service, and acquiring monitoring data of all applications through the application monitoring service; s200, creating a query task queue, and periodically executing a query task on the application monitoring data by the query task queue to obtain an application state query index, and storing the application state query index in a query task table; S300, creating a query task consumption queue, wherein the query task consumption queue periodically acquires an application state query index in a query task table as an entry, calls a query interface of an application monitoring service, acquires monitoring query data, and stores the monitoring query data in a service table; S400, configuring an application management table based on the service state of the application; S500, defining different risk identification rules based on different risk items, storing the different risk identification rules into a risk identification rule table corresponding to the risk items, and identifying the different risk items by taking a service table and an application management table which are obtained regularly as identification objects to obtain each risk detail table in real time; S600, extracting risk fields from each risk detail table through a field processing configuration table, mapping all extracted risk fields into a risk result table for storage, and outputting, analyzing and managing risk items based on the risk result table. By adopting the technical scheme, the query index of the query task consumption queue is built through the query task queue based on the application monitoring service, the query interface of the application monitoring service is called when the query task consumption queue is executed to acquire the application data pointed by the query index, and then the application data is screened based on the risk identification rule to acquire the extraction result of the wind direction item. As a preference, in S100, the application monitoring data includes link topology data, dependent service data, and interface request data of an application. By adopting the technical scheme, the topology and node information of the application can be acquired through the application monitoring data, and whether the application has potential safety risks or not is perceived accordingly. Preferably, in S200, the query task queue is divided into a topology query task queue for querying topology information and an interface query task queue for querying interface informati