WO2020253135A1 - Automated analysis method and device, user equipment, and storage medium - Google Patents

Automated analysis method and device, user equipment, and storage medium Download PDF

Info

Publication number
WO2020253135A1
WO2020253135A1 PCT/CN2019/122685 CN2019122685W WO2020253135A1 WO 2020253135 A1 WO2020253135 A1 WO 2020253135A1 CN 2019122685 W CN2019122685 W CN 2019122685W WO 2020253135 A1 WO2020253135 A1 WO 2020253135A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
historical
strategy
report
maintenance
Prior art date
Application number
PCT/CN2019/122685
Other languages
French (fr)
Chinese (zh)
Inventor
朱洲
Original Assignee
深圳壹账通智能科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳壹账通智能科技有限公司 filed Critical 深圳壹账通智能科技有限公司
Publication of WO2020253135A1 publication Critical patent/WO2020253135A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/951Indexing; Web crawling techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/24Classification techniques
    • G06F18/243Classification techniques relating to the number of classes
    • G06F18/24323Tree-organised classifiers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0637Strategic management or analysis, e.g. setting a goal or target of an organisation; Planning actions based on goals; Analysis or evaluation of effectiveness of goals
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/20Administration of product repair or maintenance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes

Definitions

  • This application relates to the field of system operation and maintenance, in particular to automated analysis methods, user equipment, storage media, and devices.
  • the main purpose of this application is to provide automated analysis methods, user equipment, storage media, and devices, aiming to solve the technical problem of inefficient system maintenance.
  • this application provides an automated analysis method, which includes the following steps:
  • the corresponding strategy to be activated is determined according to the analysis result, and automated operation and maintenance is performed through the strategy to be activated.
  • this application also proposes a user equipment.
  • the user equipment includes a memory, a processor, and computer-readable instructions stored in the memory and running on the processor.
  • the readable instructions are configured to implement the steps of the automated analysis method as described above.
  • this application also proposes a storage medium having computer-readable instructions stored thereon, and when the computer-readable instructions are executed by a processor, the steps of the automated analysis method as described above are realized. .
  • an automated analysis device which includes:
  • the report type determining module is configured to determine the corresponding report type according to the automated analysis request when an automated analysis request is received;
  • the historical data collection module is used to collect historical report data corresponding to the report type
  • Operation and maintenance data collection module configured to obtain current operation and maintenance data corresponding to the report type through a preset monitoring interface
  • a data analysis module configured to perform data analysis on the current operation and maintenance data using the historical report data as a reference to obtain an analysis result
  • the automated operation and maintenance module is configured to determine the corresponding strategy to be activated according to the analysis result, and perform automated operation and maintenance through the strategy to be activated.
  • FIG. 1 is a schematic diagram of a user equipment structure of a hardware operating environment involved in a solution of an embodiment of the present application
  • FIG. 3 is a schematic flowchart of a second embodiment of the automated analysis method of this application.
  • FIG. 5 is a structural block diagram of the first embodiment of the automated analysis device of this application.
  • FIG. 1 is a schematic diagram of a user equipment structure of a hardware operating environment involved in a solution of an embodiment of the application.
  • the user equipment may include a processor 1001, such as a CPU, a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005.
  • the communication bus 1002 is used to implement connection and communication between these components.
  • the user interface 1003 may include a display screen (Display), and the optional user interface 1003 may also include a standard wired interface and a wireless interface.
  • the wired interface of the user interface 1003 may be a USB interface in this application.
  • the network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface).
  • the memory 1005 can be a high-speed RAM memory or a stable memory (non-volatile memory), such as disk storage.
  • the memory 1005 may also be a storage device independent of the foregoing processor 1001.
  • FIG. 1 does not constitute a limitation on the user equipment, and may include more or fewer components than shown in the figure, or a combination of certain components, or different component arrangements.
  • a memory 1005 as a computer storage medium may include an operating system, a network communication module, a user interface module, and computer readable instructions.
  • the network interface 1004 is mainly used to connect to a back-end server and perform data communication with the back-end server; the user interface 1003 is mainly used to connect peripherals; the user equipment calls the memory 1005 through the processor 1001 And execute the automated analysis method provided in the embodiments of the present application.
  • FIG. 2 is a schematic flowchart of the first embodiment of the automated analysis method of this application.
  • the automated analysis method includes the following steps:
  • Step S10 When an automated analysis request is received, a corresponding report type is determined according to the automated analysis request.
  • this embodiment will Automatically carry out data collection operations and automated data analysis, and finally obtain an operation and maintenance strategy.
  • the business system can be continuously optimized, and system maintenance can be performed efficiently.
  • the report type corresponding to the automated analysis request may be determined first. Considering that a certain number of system maintenance reports are often generated in business systems for system analysis or provided to business personnel for manual analysis. Moreover, the data types involved in different types of system maintenance reports will have certain pertinence and will be developed around the types of system maintenance reports. Therefore, data collection operations can be performed based on the type of data radiated by a certain report type.
  • Step S20 Collect historical report data corresponding to the report type.
  • the report types of system maintenance reports include proactive prevention reports, production problem analysis reports, disaster recovery management reports, and version change reports.
  • the report type involved in the automated analysis request is an active prevention report
  • the report data of the previous active prevention report will be automatically collected.
  • the historical report data here refers to the active prevention report that has been generated. Report data.
  • Step S30 Obtain current operation and maintenance data corresponding to the report type through a preset monitoring interface.
  • the data types involved in the proactive prevention report include a direct sales bank's daily activity, daily logins, registered users, concurrent component connections, and interface call response timeout statistics. Therefore, the data collection operation will be automated based on these data types.
  • the current operation and maintenance data obtained by the automated collection operation is the data that the business system is running in real time
  • the historical report data is the report data in the old active prevention report.
  • real-time data of the data type corresponding to the report type can be obtained through the preset monitoring interface.
  • the preset monitoring interface may be the monitoring interface of the zabbix monitoring component.
  • Step S40 Perform data analysis on the current operation and maintenance data using the historical report data as a reference to obtain an analysis result.
  • the historical report data after obtaining the old historical report data and the new current operation and maintenance data, also includes the data content corresponding to each data type corresponding to the report type, and the data content is obtained after analyzing the data content.
  • the historical strategy can be used to solve the operation problem of the data content disclosure by calling the historical strategy. For example, if the number of concurrent component connections in the historical report data is high, the historical strategy in the historical report data can be "allocate a higher capacity cache for concurrent processing" to alleviate this type of system problem.
  • the analysis result is "the historical report data and the current operation and maintenance data in the component connection concurrency are greater than or equal to the expected Set the concurrency threshold", where the preset concurrency threshold is used to determine whether the component connection has a high concurrency.
  • Step S50 Determine the corresponding strategy to be activated according to the analysis result, and perform automated operation and maintenance through the strategy to be activated.
  • the policy to be activated corresponding to the current operation and maintenance data can also be set to "allocate a higher capacity cache for concurrent processing". Reallocate the cache capacity in the current business system to allocate higher capacity.
  • the scope of data collection can be automatically limited, and the optimization strategy can also be selected automatically. At the same time, the optimization strategy will also be automatically run to complete automated operation and maintenance. Operation.
  • the open source Hadoop distributed system infrastructure can be used to construct the business system carried by the main user equipment, and then various preset report templates are imported into the business system in advance; When making a specific call, you can enter keywords of the report type in the front-end web page to automatically retrieve the required report template.
  • the MapReduce programming model and Hadoop can be additionally deployed Distributed File System (HDFS), through the MapReduce programming model and HDFS can be distributed storage, and then achieve rapid reading and analysis of data.
  • HDFS is a distributed file system.
  • the report type used as a reference is determined according to the automated analysis request, the historical report data corresponding to the report type is collected, the preset monitoring interface is called to obtain the current operation and maintenance data corresponding to the report type; the historical report data is used as a benchmark for the current Perform data analysis on the operation and maintenance data to obtain analysis results; determine the corresponding strategy to be activated according to the analysis result, and perform automated operation and maintenance through the strategy to be activated.
  • this embodiment uses the data radiated by the determined report type as a framework for automated data collection behavior, data comparison behavior, data analysis behavior, and system optimization behavior. Such automated operation and maintenance operations greatly reduce work. System maintenance can be carried out efficiently, and the technical problem of system maintenance cannot be solved efficiently.
  • FIG. 3 is a schematic flowchart of the second embodiment of the automated analysis method of this application. Based on the first embodiment shown in FIG. 2 above, the second embodiment of the automated analysis method of this application is proposed.
  • the automated analysis method further includes:
  • the current operation and maintenance data and the corresponding strategy to be activated can be imported into the preview.
  • report types since there are multiple report types, different report types correspond to different types of data to be collected, analysis results are different, and report templates are also different.
  • the automated analysis method further includes:
  • Step S201 Determine the type of historical data recorded in the historical report data.
  • any report will include multiple types of data types, and the data types in historical reports can be recorded as historical data types.
  • the step S30 includes:
  • Step S301 Obtain current operation and maintenance data corresponding to the historical data type through a preset monitoring interface.
  • the log-in information in the current business system operation can also be retrieved in real time.
  • the automated analysis method further includes:
  • Step S302 Read the current login amount information in the current operation and maintenance data.
  • the step S40 includes:
  • Step S401 Use the historical login amount information in the historical report data as a reference to perform data analysis on the current login amount information in the current operation and maintenance data to obtain an analysis result.
  • the data analysis operation can be specific to each data type.
  • the data analysis method adopted is a quantitative comparison between login information
  • the analysis result can be "historical login information The number of information records with the current log-in volume is within the preset log-in volume range", where the preset log-in volume range is a predetermined log-in volume value range. It can be seen that since the two are relatively similar, the historical strategy recorded in the historical report data can be directly used as the currently used strategy.
  • a production report can be automatically generated, which improves the work efficiency of operation and maintenance personnel.
  • FIG. 4 is a schematic flow chart of the third embodiment of the automated analysis method of this application. Based on the second embodiment shown in FIG. 3, a third embodiment of the automated analysis method of this application is proposed.
  • the data analysis of the current login amount information in the current operation and maintenance data using the historical login amount information in the historical report data as a reference to obtain the analysis result includes:
  • the determining the corresponding strategy to be activated according to the analysis result, and performing automated operation and maintenance through the strategy to be activated includes:
  • the historical strategy corresponding to the comparison result is determined from each historical strategy in the historical report data, and the historical strategy corresponding to the comparison result is used as a strategy to be activated, and automated operation and maintenance is performed through the strategy to be activated.
  • the historical login information in a historical report is 10,000 times
  • the historical login volume interval is 7000 ⁇ x ⁇ 12000
  • x is the login value
  • the current The current login information recorded in the operation and maintenance data is 8000 times.
  • the current login amount information is also in the historical login amount interval, so the comparison result may be "the current login amount information is within the historical login amount interval".
  • the same historical strategy as in the historical report can be used to perform the current optimization operation. After all, the historical report has already recorded historical policies corresponding to the historical login volume interval.
  • step S401 includes:
  • Step S402 Construct each to-be-selected login quantum set under the preset classifier according to the historical login amount information in the historical report data.
  • data analysis operations can also be implemented using classifiers. Specifically, considering that there are a large number of different historical reports, there is naturally a large amount of historical report data. You can first randomly extract training samples from the historical report data. The training samples are the quantum sets to be selected for landing here. Among them, the quantum sets to be selected to log in are independent of each other, and the data in the quantum sets to be selected to log in can overlap each other.
  • Step S403 Construct corresponding to-be-selected sub-decision trees through the to-be-selected landing quantum sets.
  • Step S404 Substitute the current login information in the current operation and maintenance data into the sub-decision tree to be selected to obtain each sub-judgment result corresponding to the sub-decision tree to be selected.
  • the real-time current login information will be substituted into m sub-decision trees to be selected, and m sub-judgment results that may be the same or different will be obtained.
  • n is a positive integer
  • the sub-judgment result uses similarity as the evaluation criterion, it can be expressed that the current operation and maintenance data is highly similar to a certain historical report among the n historical reports.
  • Step S405 Select a target sub-judgment result from the sub-judgment results, and use the target sub-judgment result as the analysis result.
  • the most numerous subjudgment result is "the current operation and maintenance data is more similar to the fifth historical report data"
  • the “current operation and maintenance data and the fifth historical report The report data has a higher degree of similarity" as the target subjudgment result and analysis result.
  • the historical strategy recorded in the fifth historical report data can be used as the strategy to be activated.
  • construction of corresponding to-be-selected sub-decision trees respectively through the to-be-selected login quantum set includes:
  • the automated analysis method further includes:
  • the weight value in the target sub-decision tree is adjusted to obtain a new target sub-decision tree.
  • the strategy to be activated may be "allocate a higher capacity cache for concurrent processing", but the business personnel manually change it to "comparing the server's host computing performance in consideration of actual performance. optimize”.
  • the strategy to be activated finally determined by the random forest algorithm may not be suitable, so a feedback mechanism can be set to adjust the random forest algorithm.
  • the preset sub-decision tree model will be used as the blueprint, and the initial weight value in the preset sub-decision tree model is modified to obtain the coordinate with the quantum set to be selected for landing Sub-decision tree to be selected. Therefore, if the strategy to be activated finally determined by the random forest algorithm is the historical strategy recorded in the fifth historical report data, that is, "allocate a higher capacity cache for concurrent processing", and the strategy to be modified entered by the user is the fourth historical report The historical strategy recorded in the data is "optimizing the computing performance of the server's host". If the two are different, the optional result is the sub-decision tree of the historical strategy recorded in the fifth historical report data.
  • the weight value in this sub-decision tree is re-adjusted to obtain a new target sub-decision tree, which will make the new target sub-decision tree obtain after substituting the current login information into the new target sub-decision tree.
  • the sub-judgment result of is not the historical strategy recorded in the fifth historical report data but the historical strategy recorded in the fourth historical report data. In this way, the sub-judgment result generated by the random forest algorithm is modified to make it more Close to the result of manual selection by business personnel.
  • the obtaining the current operation and maintenance data corresponding to the report type through a preset monitoring interface includes:
  • the preset monitoring subsystem can be used to monitor the operation of the business system.
  • the preset monitoring subsystem can be the zabbix monitoring system or the grafana visualization system.
  • the zabbix monitoring system can implement custom monitoring by writing automated scripts, and can set email alerts, and support third-party interfaces;
  • the grafana visualization system as an open source monitoring system, mainly realizes the monitoring of middleware and code components.
  • these preset monitoring subsystems can be simulated and logged in to crawl real-time operating data. Specifically, the preset monitoring interfaces of these preset monitoring subsystems can be called to initiate simulation to these preset monitoring subsystems.
  • the login operation allows these preset monitoring subsystems to feedback the login behavior, and the feedback information can characterize the current operation of the business system and can be recorded as current operation and maintenance data.
  • web crawler technology can be applied to crawl the feedback information.
  • the analysis result can be obtained by means of numerical comparison, and the analysis result can also be obtained by the random forest algorithm.
  • an artificial feedback mechanism can be set up to adjust the random forest algorithm so that it has the ability to continuously learn.
  • the embodiment of the present application also proposes a storage medium, and the storage medium may be a non-volatile readable storage medium.
  • the storage medium of the present application stores computer-readable instructions, which, when executed by a processor, realize the steps of the automated analysis method as described above.
  • an embodiment of the present application also proposes an automated analysis device, which includes:
  • the report type determining module 10 is configured to determine the corresponding report type according to the automated analysis request when an automated analysis request is received.
  • this embodiment will Automatically carry out data collection operations and automated data analysis, and finally obtain an operation and maintenance strategy.
  • the business system can be continuously optimized, and system maintenance can be performed efficiently.
  • the report type corresponding to the automated analysis request may be determined first. Considering that a certain number of system maintenance reports are often generated in business systems for system analysis or provided to business personnel for manual analysis. Moreover, the data types involved in different types of system maintenance reports will have certain pertinence and will be developed around the types of system maintenance reports. Therefore, data collection operations can be performed based on the type of data radiated by a certain report type.
  • the historical data collection module 20 is used to collect historical report data corresponding to the report type.
  • the report types of system maintenance reports include proactive prevention reports, production problem analysis reports, disaster recovery management reports, and version change reports.
  • the report type involved in the automated analysis request is an active prevention report
  • the report data of the previous active prevention report will be automatically collected.
  • the historical report data here refers to the active prevention report that has been generated. Report data.
  • the operation and maintenance data collection module 30 is configured to obtain current operation and maintenance data corresponding to the report type through a preset monitoring interface.
  • the data types involved in the proactive prevention report include a direct sales bank's daily activity, daily logins, registered users, concurrent component connections, and interface call response timeout statistics. Therefore, the data collection operation will be automated based on these data types.
  • the current operation and maintenance data obtained by the automated collection operation is the data that the business system is running in real time
  • the historical report data is the report data in the old active prevention report.
  • real-time data of the data type corresponding to the report type can be obtained through the preset monitoring interface.
  • the preset monitoring interface may be the monitoring interface of the zabbix monitoring component.
  • the data analysis module 40 is configured to perform data analysis on the current operation and maintenance data using the historical report data as a reference to obtain an analysis result.
  • the historical report data after obtaining the old historical report data and the new current operation and maintenance data, also includes the data content corresponding to each data type corresponding to the report type, and the data content is obtained after analyzing the data content.
  • the historical strategy can be used to solve the operation problem of the data content disclosure by calling the historical strategy. For example, if the number of concurrent component connections in the historical report data is high, the historical strategy in the historical report data can be "allocate a higher capacity cache for concurrent processing" to alleviate this type of system problem.
  • the analysis result is "the historical report data and the current operation and maintenance data in the component connection concurrency are greater than or equal to the expected Set the concurrency threshold", where the preset concurrency threshold is used to determine whether the component connection has a high concurrency.
  • the automated operation and maintenance module 50 is configured to determine a corresponding strategy to be activated according to the analysis result, and perform automated operation and maintenance through the strategy to be activated.
  • the policy to be activated corresponding to the current operation and maintenance data can also be set to "allocate a higher capacity cache for concurrent processing". Reallocate the cache capacity in the current business system to allocate higher capacity.
  • the scope of data collection can be automatically limited, and the optimization strategy can also be selected automatically. At the same time, the optimization strategy will also be automatically run to complete automated operation and maintenance. Operation.
  • the report type used as a reference is determined according to the automated analysis request, the historical report data corresponding to the report type is collected, the preset monitoring interface is called to obtain the current operation and maintenance data corresponding to the report type; the historical report data is used as a benchmark for the current Perform data analysis on the operation and maintenance data to obtain analysis results; determine the corresponding strategy to be activated according to the analysis result, and perform automated operation and maintenance through the strategy to be activated.
  • this embodiment uses the data radiated by the determined report type as a framework for automated data collection behavior, data comparison behavior, data analysis behavior, and system optimization behavior. Such automated operation and maintenance operations greatly reduce work. System maintenance can be carried out efficiently, and the technical problem of system maintenance cannot be solved efficiently.
  • the automated analysis device further includes:
  • the report generation module is configured to import the current operation and maintenance data and the to-be-enabled strategy into a preset report template corresponding to the report type to generate a current production report.
  • the automated analysis device further includes:
  • the historical type determining module is used to determine the historical data type recorded in the historical report data
  • the operation and maintenance data collection module 30 is further configured to obtain current operation and maintenance data corresponding to the historical data type through a preset monitoring interface;
  • the login amount reading module is used to read the current login amount information in the current operation and maintenance data
  • the data analysis module 40 is further configured to use the historical login amount information in the historical report data as a reference to perform data analysis on the current login amount information in the current operation and maintenance data to obtain an analysis result.
  • the data analysis module 40 is further configured to read historical login information in the historical report data, and determine a historical login volume interval corresponding to the historical login information; Comparing the log-in volume interval with the current log-in volume information to obtain a comparison result;
  • the automated operation and maintenance module 50 is further configured to determine a historical strategy corresponding to the comparison result from each historical strategy in the historical report data, and use the historical strategy corresponding to the comparison result as a strategy to be activated, Automated operation and maintenance are performed through the strategy to be activated.
  • the data analysis module 40 is further configured to construct each to-be-selected login quantum set under a preset classifier according to the historical login amount information in the historical report data; Sets respectively to construct corresponding sub-decision trees to be selected; substituting the current login information in the current operation and maintenance data into the sub-decision trees to be selected to obtain the sub-judgment results corresponding to the sub-decision trees to be selected ; Select the target sub-judgment result from the sub-judgment results, and use the target sub-judgment result as the analysis result.
  • the automated analysis device further includes:
  • the decision tree selection module is used to adjust the weight value in the preset sub-decision tree model through the to-be-selected login quantum set, and use the preset sub-decision tree model after the weight value adjustment as the reference to the waiting Select the sub-decision tree to be selected corresponding to the landing quantum set;
  • the decision tree adjustment module is configured to determine the corresponding strategy to be modified according to the modification instruction when the modification instruction input by the user is received; when the strategy to be modified is different from the strategy to be activated, select the child
  • the target sub-decision tree corresponding to the strategy to be activated is determined in the decision tree; the weight value in the target sub-decision tree is adjusted to obtain a new target sub-decision tree.
  • the operation and maintenance data collection module 30 is further configured to generate a simulated login request corresponding to the preset monitoring subsystem by calling the preset monitoring interface corresponding to the preset monitoring subsystem; Each historical data type corresponding to the report type is written into the simulated login request; the simulated login request is sent to the preset monitoring subsystem, so that the preset monitoring subsystem performs processing according to the historical data type Simulate a login operation, and crawl current operation and maintenance data generated by the preset monitoring subsystem in response to the simulated login operation.

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Human Resources & Organizations (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Strategic Management (AREA)
  • Economics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • General Business, Economics & Management (AREA)
  • Data Mining & Analysis (AREA)
  • Marketing (AREA)
  • General Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Tourism & Hospitality (AREA)
  • Quality & Reliability (AREA)
  • Operations Research (AREA)
  • Development Economics (AREA)
  • Educational Administration (AREA)
  • Accounting & Taxation (AREA)
  • Technology Law (AREA)
  • Artificial Intelligence (AREA)
  • Finance (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Game Theory and Decision Science (AREA)
  • Evolutionary Computation (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Evolutionary Biology (AREA)
  • Debugging And Monitoring (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

An automated analysis method and device, a user equipment, and a storage medium, relating to the field of system operation and maintenance. The method comprises: determining a report type as a reference (S10); collecting past report data corresponding to the report type (S20); obtaining current operation and maintenance data corresponding to the report type by means of a preset monitoring interface (S30); performing data analysis on the current operation and maintenance data using the past report data as a benchmark to obtain an analysis result (S40); determining, according to the analysis result, a corresponding policy to be activated so as to perform automated operation and maintenance (S50). Distributed deployment of service systems can be performed on the basis of the cloud technology, and on the basis of such system architecture, the data associated with the determined report type is used as a framework for automated data collection, data comparison, data analysis, and system optimization, such automated operation and maintenance operations reduce the workload and enables efficient system maintenance, so that the technical problem of inefficient system maintenance is solved.

Description

自动化分析方法、用户设备、存储介质及装置 Automated analysis method, user equipment, storage medium and device To
本申请要求于2019年6月19日提交中国专利局、申请号为201910539817.9、发明名称为“自动化分析方法、用户设备、存储介质及装置”的中国专利申请的优先权,其全部内容通过引用结合在申请中This application claims the priority of a Chinese patent application filed with the Chinese Patent Office, the application number is 201910539817.9, and the invention title is "Automated Analysis Method, User Equipment, Storage Medium and Device" on June 19, 2019, the entire content of which is incorporated by reference In application
技术领域Technical field
本申请涉及***运维领域,尤其涉及自动化分析方法、用户设备、存储介质及装置。This application relates to the field of system operation and maintenance, in particular to automated analysis methods, user equipment, storage media, and devices.
背景技术Background technique
对于金融机构自身而言,多采用电子化的业务***来处理自身业务。但是,由于金融机构的业务往往需要同时对接到较多的直销银行,这导致业务***中会涉及到关联方信息、***信息、监控信息、网络信息以及域名等各种类型的信息,信息海量且繁杂。For financial institutions themselves, electronic business systems are mostly used to process their own business. However, because the business of financial institutions often needs to be connected to more direct banks at the same time, the business system will involve related party information, system information, monitoring information, network information, domain names and other types of information. The information is massive and Complicated.
而为了采集这些信息、核对处理这些信息并处理这些信息披露的***问题将付出较多的工作量,可见,目前存在着无法高效地进行***维护的技术问题。In order to collect this information, check and process this information, and deal with the system problems of this information disclosure, a lot of work will be spent. It can be seen that there are technical problems that cannot efficiently maintain the system.
上述内容仅用于辅助理解本申请的技术方案,并不代表承认上述内容是现有技术。The above content is only used to assist the understanding of the technical solution of this application, and does not mean that the above content is recognized as prior art.
发明内容Summary of the invention
本申请的主要目的在于提供自动化分析方法、用户设备、存储介质及装置,旨在解决无法高效地进行***维护的技术问题。The main purpose of this application is to provide automated analysis methods, user equipment, storage media, and devices, aiming to solve the technical problem of inefficient system maintenance.
为实现上述目的,本申请提供一种自动化分析方法,所述自动化分析方法包括以下步骤:In order to achieve the above objective, this application provides an automated analysis method, which includes the following steps:
在接收到自动化分析请求时,根据所述自动化分析请求确定对应的报告类型;When an automated analysis request is received, determine the corresponding report type according to the automated analysis request;
采集与所述报告类型对应的历史报告数据;Collect historical report data corresponding to the report type;
通过预设监控接口获得与所述报告类型对应的当前运维数据;Obtain current operation and maintenance data corresponding to the report type through a preset monitoring interface;
将所述历史报告数据作为基准对所述当前运维数据进行数据分析,以获得分析结果;Performing data analysis on the current operation and maintenance data using the historical report data as a reference to obtain an analysis result;
根据所述分析结果确定对应的待启用策略,通过所述待启用策略进行自动化运维。The corresponding strategy to be activated is determined according to the analysis result, and automated operation and maintenance is performed through the strategy to be activated.
此外,为实现上述目的,本申请还提出一种用户设备,所述用户设备包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机可读指令,所述计算机可读指令配置为实现如上文所述的自动化分析方法的步骤。In addition, in order to achieve the above-mentioned object, this application also proposes a user equipment. The user equipment includes a memory, a processor, and computer-readable instructions stored in the memory and running on the processor. The readable instructions are configured to implement the steps of the automated analysis method as described above.
此外,为实现上述目的,本申请还提出一种存储介质,所述存储介质上存储有计算机可读指令,所述计算机可读指令被处理器执行时实现如上文所述的自动化分析方法的步骤。In addition, in order to achieve the above-mentioned object, this application also proposes a storage medium having computer-readable instructions stored thereon, and when the computer-readable instructions are executed by a processor, the steps of the automated analysis method as described above are realized. .
此外,为实现上述目的,本申请还提出一种自动化分析装置,所述自动化分析装置包括: In addition, in order to achieve the above objective, this application also proposes an automated analysis device, which includes:
报告类型确定模块,用于在接收到自动化分析请求时,根据所述自动化分析请求确定对应的报告类型;The report type determining module is configured to determine the corresponding report type according to the automated analysis request when an automated analysis request is received;
历史数据采集模块,用于采集与所述报告类型对应的历史报告数据;The historical data collection module is used to collect historical report data corresponding to the report type;
运维数据采集模块,用于通过预设监控接口获得与所述报告类型对应的当前运维数据;Operation and maintenance data collection module, configured to obtain current operation and maintenance data corresponding to the report type through a preset monitoring interface;
数据分析模块,用于将所述历史报告数据作为基准对所述当前运维数据进行数据分析,以获得分析结果;A data analysis module, configured to perform data analysis on the current operation and maintenance data using the historical report data as a reference to obtain an analysis result;
自动化运维模块,用于根据所述分析结果确定对应的待启用策略,通过所述待启用策略进行自动化运维。The automated operation and maintenance module is configured to determine the corresponding strategy to be activated according to the analysis result, and perform automated operation and maintenance through the strategy to be activated.
本申请的一个或多个实施例的细节在下面的附图和描述中提出。本申请的其他特征和优点将从说明书、附图以及权利要求书变得明显。The details of one or more embodiments of the application are set forth in the following drawings and description. Other features and advantages of this application will become apparent from the description, drawings and claims.
附图说明Description of the drawings
图1是本申请实施例方案涉及的硬件运行环境的用户设备结构示意图;FIG. 1 is a schematic diagram of a user equipment structure of a hardware operating environment involved in a solution of an embodiment of the present application;
图2为本申请自动化分析方法第一实施例的流程示意图;2 is a schematic flowchart of the first embodiment of the automated analysis method of this application;
图3为本申请自动化分析方法第二实施例的流程示意图;3 is a schematic flowchart of a second embodiment of the automated analysis method of this application;
图4为本申请自动化分析方法第三实施例的流程示意图;4 is a schematic flowchart of a third embodiment of the automated analysis method of this application;
图5为本申请自动化分析装置第一实施例的结构框图。FIG. 5 is a structural block diagram of the first embodiment of the automated analysis device of this application.
本申请目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The realization, functional characteristics, and advantages of the purpose of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings.
具体实施方式Detailed ways
应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。It should be understood that the specific embodiments described here are only used to explain the application, and are not used to limit the application.
参照图1,图1为本申请实施例方案涉及的硬件运行环境的用户设备结构示意图。Referring to FIG. 1, FIG. 1 is a schematic diagram of a user equipment structure of a hardware operating environment involved in a solution of an embodiment of the application.
如图1所示,该用户设备可以包括:处理器1001,例如CPU,通信总线1002、用户接口1003,网络接口1004,存储器1005。其中,通信总线1002用于实现这些组件之间的连接通信。用户接口1003可以包括显示屏(Display),可选用户接口1003还可以包括标准的有线接口、无线接口,对于用户接口1003的有线接口在本申请中可为USB接口。网络接口1004可选的可以包括标准的有线接口、无线接口(如WI-FI接口)。存储器1005可以是高速RAM存储器,也可以是稳定的存储器(non-volatile memory),例如磁盘存储器。存储器1005可选的还可以是独立于前述处理器1001的存储装置。As shown in FIG. 1, the user equipment may include a processor 1001, such as a CPU, a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Among them, the communication bus 1002 is used to implement connection and communication between these components. The user interface 1003 may include a display screen (Display), and the optional user interface 1003 may also include a standard wired interface and a wireless interface. The wired interface of the user interface 1003 may be a USB interface in this application. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface). The memory 1005 can be a high-speed RAM memory or a stable memory (non-volatile memory), such as disk storage. Optionally, the memory 1005 may also be a storage device independent of the foregoing processor 1001.
本领域技术人员可以理解,图1中示出的结构并不构成对用户设备的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。Those skilled in the art can understand that the structure shown in FIG. 1 does not constitute a limitation on the user equipment, and may include more or fewer components than shown in the figure, or a combination of certain components, or different component arrangements.
如图1所示,作为一种计算机存储介质的存储器1005中可以包括操作***、网络通信模块、用户接口模块以及计算机可读指令。As shown in FIG. 1, a memory 1005 as a computer storage medium may include an operating system, a network communication module, a user interface module, and computer readable instructions.
在图1所示的用户设备中,网络接口1004主要用于连接后台服务器,与所述后台服务器进行数据通信;用户接口1003主要用于连接外设;所述用户设备通过处理器1001调用存储器1005中存储的计算机可读指令,并执行本申请实施例提供的自动化分析方法。In the user equipment shown in FIG. 1, the network interface 1004 is mainly used to connect to a back-end server and perform data communication with the back-end server; the user interface 1003 is mainly used to connect peripherals; the user equipment calls the memory 1005 through the processor 1001 And execute the automated analysis method provided in the embodiments of the present application.
基于上述硬件结构,提出本申请自动化分析方法的实施例。Based on the above hardware structure, an embodiment of the automated analysis method of the present application is proposed.
参照图2,图2为本申请自动化分析方法第一实施例的流程示意图。Refer to FIG. 2, which is a schematic flowchart of the first embodiment of the automated analysis method of this application.
在第一实施例中,所述自动化分析方法包括以下步骤:In the first embodiment, the automated analysis method includes the following steps:
步骤S10:在接收到自动化分析请求时,根据所述自动化分析请求确定对应的报告类型。Step S10: When an automated analysis request is received, a corresponding report type is determined according to the automated analysis request.
可以理解的是,考虑到业务***在运行时涉及到的数据不仅体量较大且数据的类型也各不相同,为了高效地完成日常的***运维工作,以减少工作量,本实施例将自动化地进行数据采集操作以及自动化数据分析,并最终获得运维策略,通过调用该运维策略可以不断地优化该业务***,进而高效地进行***维护。It is understandable that considering that the data involved in the operation of the business system is not only large in volume but also of different types of data, in order to efficiently complete the daily system operation and maintenance work to reduce the workload, this embodiment will Automatically carry out data collection operations and automated data analysis, and finally obtain an operation and maintenance strategy. By calling the operation and maintenance strategy, the business system can be continuously optimized, and system maintenance can be performed efficiently.
在具体实现中,在接收到用户触发的或者业务***周期性自动触发的自动化分析请求时,可先确定该自动化分析请求对应的报告类型。考虑到业务***中常会生成一定数量的***维护报告,以备***分析或者提供给业务人员进行人工分析。而且,不同类型的***维护报告涉及到的数据类型将具有一定的针对性,将围绕着该***维护报告的类型展开,故而,可以某一报告类型辐射的数据类型为依据进行数据采集操作。In a specific implementation, when an automated analysis request triggered by a user or periodically and automatically triggered by a business system is received, the report type corresponding to the automated analysis request may be determined first. Considering that a certain number of system maintenance reports are often generated in business systems for system analysis or provided to business personnel for manual analysis. Moreover, the data types involved in different types of system maintenance reports will have certain pertinence and will be developed around the types of system maintenance reports. Therefore, data collection operations can be performed based on the type of data radiated by a certain report type.
步骤S20:采集与所述报告类型对应的历史报告数据。Step S20: Collect historical report data corresponding to the report type.
应当理解的是,***维护报告的报告类型包括主动预防报告、生产问题分析报告、灾备管理工作报告以及版本变更报告等。比如,若该条自动化分析请求中涉及的报告类型为主动预防报告,则将自动化地采集之前已有的主动预防报告的报告数据,此处的历史报告数据就是指曾经生成过的主动预防报告的报告数据。It should be understood that the report types of system maintenance reports include proactive prevention reports, production problem analysis reports, disaster recovery management reports, and version change reports. For example, if the report type involved in the automated analysis request is an active prevention report, the report data of the previous active prevention report will be automatically collected. The historical report data here refers to the active prevention report that has been generated. Report data.
步骤S30:通过预设监控接口获得与所述报告类型对应的当前运维数据。Step S30: Obtain current operation and maintenance data corresponding to the report type through a preset monitoring interface.
可以理解的是,主动预防报告涉及到的数据类型包括有某直销银行日活量、每日登录量、注册用户量、组件连接并发数以及接口调用响应超时统计量等。所以,将自动化地以这些数据类型为采集依据进行数据采集操作。It is understandable that the data types involved in the proactive prevention report include a direct sales bank's daily activity, daily logins, registered users, concurrent component connections, and interface call response timeout statistics. Therefore, the data collection operation will be automated based on these data types.
需要注意的是,此处的自动化采集操作获得的当前运维数据为此刻的业务***实时运行着的数据,而历史报告数据是旧的主动预防报告内的报告数据。It should be noted that the current operation and maintenance data obtained by the automated collection operation here is the data that the business system is running in real time, and the historical report data is the report data in the old active prevention report.
在具体实现中,为了自动化地采集到当前运维数据,可通过预设监控接口去获取该报告类型对应的数据类型的实时数据。其中,预设监控接口可为zabbix监控组件的监控接口。In specific implementation, in order to automatically collect current operation and maintenance data, real-time data of the data type corresponding to the report type can be obtained through the preset monitoring interface. Among them, the preset monitoring interface may be the monitoring interface of the zabbix monitoring component.
步骤S40:将所述历史报告数据作为基准对所述当前运维数据进行数据分析,以获得分析结果。Step S40: Perform data analysis on the current operation and maintenance data using the historical report data as a reference to obtain an analysis result.
应当理解的是,在获取到旧的历史报告数据与新的当前运维数据后,由于历史报告数据中同时包括与报告类型对应的各数据类型对应的数据内容以及对这些数据内容进行分析后得出的历史策略,通过调用该历史策略可以解决这些数据内容披露的运行问题。比如,若历史报告数据中组件连接并发数较高,则历史报告数据中的历史策略可为“分配更高容量的缓存进行并发处理”,以缓解该种***问题。It should be understood that after obtaining the old historical report data and the new current operation and maintenance data, the historical report data also includes the data content corresponding to each data type corresponding to the report type, and the data content is obtained after analyzing the data content. The historical strategy can be used to solve the operation problem of the data content disclosure by calling the historical strategy. For example, if the number of concurrent component connections in the historical report data is high, the historical strategy in the historical report data can be "allocate a higher capacity cache for concurrent processing" to alleviate this type of system problem.
在具体实现中,以历史报告数据为鉴,若当前运维数据也为组件连接并发数较高,则分析结果为“历史报告数据与当前运维数据中的组件连接并发数均大于或等于预设并发数阈值”,其中,预设并发数阈值用于判断是否组件连接并发数较高。In the specific implementation, based on historical report data, if the current operation and maintenance data also indicates that the component connection concurrency is high, the analysis result is "the historical report data and the current operation and maintenance data in the component connection concurrency are greater than or equal to the expected Set the concurrency threshold", where the preset concurrency threshold is used to determine whether the component connection has a high concurrency.
步骤S50:根据所述分析结果确定对应的待启用策略,通过所述待启用策略进行自动化运维。Step S50: Determine the corresponding strategy to be activated according to the analysis result, and perform automated operation and maintenance through the strategy to be activated.
可以理解的是,由于当前运维数据与历史报告数据存在着相同的问题,则可将与当前运维数据对应的待启用策略也设置为“分配更高容量的缓存进行并发处理”,则可对当前的业务***中缓存容量进行重新分配,分配更高容量。It is understandable that because the current operation and maintenance data and the historical report data have the same problems, the policy to be activated corresponding to the current operation and maintenance data can also be set to "allocate a higher capacity cache for concurrent processing". Reallocate the cache capacity in the current business system to allocate higher capacity.
应当理解的是,通过参见已有的历史报告,可以自动化地限定数据采集的范围,也可以自动化地进行优化策略的选取,同时,也将自动化地运行该优化策略,以完整地进行自动化运维的操作。It should be understood that by referring to the existing historical reports, the scope of data collection can be automatically limited, and the optimization strategy can also be selected automatically. At the same time, the optimization strategy will also be automatically run to complete automated operation and maintenance. Operation.
在具体实现中,就架构方式而言,可采用开源的Hadoop分布式***基础架构来构建执行主体用户设备所运载的业务***,然后,将各种预设报告模板预先导入该业务***中;在具体调用时,可在该前端的网页中输入报告类型的关键字以自动检索出需要的报告模板。而且,还可额外部署MapReduce编程模型以及Hadoop Distributed File System(HDFS),通过MapReduce编程模型与HDFS可以进行分布式存储,进而实现快速地读取以及分析数据。其中,HDFS是一种分布式文件***。In the specific implementation, as far as the architecture is concerned, the open source Hadoop distributed system infrastructure can be used to construct the business system carried by the main user equipment, and then various preset report templates are imported into the business system in advance; When making a specific call, you can enter keywords of the report type in the front-end web page to automatically retrieve the required report template. Moreover, the MapReduce programming model and Hadoop can be additionally deployed Distributed File System (HDFS), through the MapReduce programming model and HDFS can be distributed storage, and then achieve rapid reading and analysis of data. Among them, HDFS is a distributed file system.
本实施例中根据自动化分析请求确定作为参照的报告类型,采集与报告类型对应的历史报告数据,调用预设监控接口来获得与报告类型对应的当前运维数据;将历史报告数据作为基准对当前运维数据进行数据分析,以获得分析结果;根据分析结果确定对应的待启用策略,通过待启用策略进行自动化运维。明显地,本实施例将以确定的报告类型所辐射的数据为框架来进行自动化的数据采集行为、数据比对行为、数据分析行为以及***优化行为,如此的自动化运维操作大大地减少了工作量,可以高效地进行***维护,进而解决了无法高效地进行***维护的技术问题。In this embodiment, the report type used as a reference is determined according to the automated analysis request, the historical report data corresponding to the report type is collected, the preset monitoring interface is called to obtain the current operation and maintenance data corresponding to the report type; the historical report data is used as a benchmark for the current Perform data analysis on the operation and maintenance data to obtain analysis results; determine the corresponding strategy to be activated according to the analysis result, and perform automated operation and maintenance through the strategy to be activated. Obviously, this embodiment uses the data radiated by the determined report type as a framework for automated data collection behavior, data comparison behavior, data analysis behavior, and system optimization behavior. Such automated operation and maintenance operations greatly reduce work. System maintenance can be carried out efficiently, and the technical problem of system maintenance cannot be solved efficiently.
参照图3,图3为本申请自动化分析方法第二实施例的流程示意图,基于上述图2所示的第一实施例,提出本申请自动化分析方法的第二实施例。Referring to FIG. 3, FIG. 3 is a schematic flowchart of the second embodiment of the automated analysis method of this application. Based on the first embodiment shown in FIG. 2 above, the second embodiment of the automated analysis method of this application is proposed.
第二实施例中,所述步骤S50之后,所述自动化分析方法还包括:In the second embodiment, after the step S50, the automated analysis method further includes:
将所述当前运维数据与所述待启用策略导入与所述报告类型对应的预设报告模板中,以生成当前生产报告。Import the current operation and maintenance data and the strategy to be activated into a preset report template corresponding to the report type to generate a current production report.
将所述当前运维数据与所述待启用策略导入与所述报告类型对应的预设报告模板中,以生成当前生产报告。Import the current operation and maintenance data and the strategy to be activated into a preset report template corresponding to the report type to generate a current production report.
在具体实现中,为了便于补充历史报告数据,同时,也为了节省运维人员撰写报告的时间成本,在完成对于待启动策略的确认后,可将当前运维数据以及对应的待启用策略导入预设报告模板中,以获得一份或多份报告文件,无需运维人员再次人工撰写。In the specific implementation, in order to facilitate the supplement of historical report data, and at the same time, to save the time cost of the operation and maintenance personnel to write the report, after the confirmation of the strategy to be activated, the current operation and maintenance data and the corresponding strategy to be activated can be imported into the preview. Set up a report template to obtain one or more report documents without manual writing by operation and maintenance personnel.
此外,由于报告类型存在多种,不同的报告类型对应的待采集的数据类型不同,分析结果不同,报告模板也存在着差异。In addition, since there are multiple report types, different report types correspond to different types of data to be collected, analysis results are different, and report templates are also different.
进一步地,所述步骤S20之后,所述自动化分析方法还包括:Further, after the step S20, the automated analysis method further includes:
步骤S201:确定所述历史报告数据中记录的历史数据类型。Step S201: Determine the type of historical data recorded in the historical report data.
可以理解的是,任一种报告中将包括有多种类型的数据类型,可将历史报告中的数据类型记为历史数据类型。It is understandable that any report will include multiple types of data types, and the data types in historical reports can be recorded as historical data types.
所述步骤S30,包括:The step S30 includes:
步骤S301:通过预设监控接口获得与所述历史数据类型对应的当前运维数据。Step S301: Obtain current operation and maintenance data corresponding to the historical data type through a preset monitoring interface.
应当理解的是,比如,该历史数据类型包括有登录量信息,则也可实时调取当前业务***运行中的登录量信息。It should be understood that, for example, if the historical data type includes log-in information, the log-in information in the current business system operation can also be retrieved in real time.
所述步骤S301之后,所述自动化分析方法还包括:After the step S301, the automated analysis method further includes:
步骤S302:读取所述当前运维数据中的当前登录量信息。Step S302: Read the current login amount information in the current operation and maintenance data.
所述步骤S40,包括:The step S40 includes:
步骤S401:将所述历史报告数据中的历史登录量信息作为基准对所述当前运维数据中的当前登录量信息进行数据分析,以获得分析结果。Step S401: Use the historical login amount information in the historical report data as a reference to perform data analysis on the current login amount information in the current operation and maintenance data to obtain an analysis result.
可以理解的是,数据分析操作可具体至每一种数据类型,就登录量信息而言,若采用的数据分析方式为登录量信息之间的数量比较,则分析结果可为“历史登录量信息与当前登录量信息记录的数量均处于预设登录量范围内”,其中,预设登录量范围为一预先规定的登录量数值范围。可见,由于二者较为相似,则可直接采用历史报告数据中记录的历史策略作为当前使用的策略。It is understandable that the data analysis operation can be specific to each data type. As far as login information is concerned, if the data analysis method adopted is a quantitative comparison between login information, the analysis result can be "historical login information The number of information records with the current log-in volume is within the preset log-in volume range", where the preset log-in volume range is a predetermined log-in volume value range. It can be seen that since the two are relatively similar, the historical strategy recorded in the historical report data can be directly used as the currently used strategy.
本实施例中可自动生成生产报告,提高了运维人员的工作效率。In this embodiment, a production report can be automatically generated, which improves the work efficiency of operation and maintenance personnel.
参照图4,图4为本申请自动化分析方法第三实施例的流程示意图,基于上述图3所示的第二实施例,提出本申请自动化分析方法的第三实施例。Referring to FIG. 4, FIG. 4 is a schematic flow chart of the third embodiment of the automated analysis method of this application. Based on the second embodiment shown in FIG. 3, a third embodiment of the automated analysis method of this application is proposed.
第二实施例中,所述将所述历史报告数据中的历史登录量信息作为基准对所述当前运维数据中的当前登录量信息进行数据分析,以获得分析结果,包括:In the second embodiment, the data analysis of the current login amount information in the current operation and maintenance data using the historical login amount information in the historical report data as a reference to obtain the analysis result includes:
读取所述历史报告数据中的历史登录量信息,并确定与所述历史登录量信息对应的历史登录量区间;Read the historical login amount information in the historical report data, and determine the historical login amount interval corresponding to the historical login amount information;
将所述历史登录量区间与所述当前登录量信息进行比较,以获得比较结果;Comparing the historical login amount interval with the current login amount information to obtain a comparison result;
所述根据所述分析结果确定对应的待启用策略,通过所述待启用策略进行自动化运维,包括:The determining the corresponding strategy to be activated according to the analysis result, and performing automated operation and maintenance through the strategy to be activated, includes:
从所述历史报告数据中的各历史策略中确定与所述比较结果对应的历史策略,并将与所述比较结果对应的历史策略作为待启用策略,通过所述待启用策略进行自动化运维。The historical strategy corresponding to the comparison result is determined from each historical strategy in the historical report data, and the historical strategy corresponding to the comparison result is used as a strategy to be activated, and automated operation and maintenance is performed through the strategy to be activated.
可以理解的是,考虑到数据分析操作存在多种方式,比如,可直接将历史报告中的信息与实时产生的信息进行数值比较,并根据数值比较结果来确定当前可采用的策略。当然,数据分析操作也可使用分类器来实现。It is understandable that considering that there are multiple ways of data analysis operations, for example, you can directly compare the information in the historical report with the information generated in real time, and determine the currently available strategy based on the result of the numerical comparison. Of course, data analysis operations can also be implemented using classifiers.
在具体实现中,就数值比较方式而言,比如,某份历史报告中的历史登录量信息为10000次,所处的历史登录量区间为7000<x≤12000,x为登录量数值,而当前运维数据中记下的当前登录量信息为8000次。明显地,当前登录量信息也处于该历史登录量区间中,所以,比较结果可为“当前登录量信息处于历史登录量区间内”。In the specific implementation, as far as the numerical comparison method is concerned, for example, the historical login information in a historical report is 10,000 times, and the historical login volume interval is 7000<x≤12000, x is the login value, and the current The current login information recorded in the operation and maintenance data is 8000 times. Obviously, the current login amount information is also in the historical login amount interval, so the comparison result may be "the current login amount information is within the historical login amount interval".
应当理解的是,当前登录量信息与该份历史报告中的历史登录量信息落入相同的判定区间,则可采用与该份历史报告中同样的历史策略来进行当前的优化操作。毕竟,该份历史报告中原本已经记录有对应于该历史登录量区间的历史策略。It should be understood that if the current login amount information and the historical login amount information in the historical report fall within the same determination interval, the same historical strategy as in the historical report can be used to perform the current optimization operation. After all, the historical report has already recorded historical policies corresponding to the historical login volume interval.
进一步地,所述步骤S401,包括:Further, the step S401 includes:
步骤S402:根据所述历史报告数据中的历史登录量信息在预设分类器下构建出各待选取登陆量子集。Step S402: Construct each to-be-selected login quantum set under the preset classifier according to the historical login amount information in the historical report data.
可以理解的是,数据分析操作也可使用分类器来实现。具体而言,考虑到存在着大量不同的历史报告,自然存在着大量的历史报告数据,可先从历史报告数据中随机抽取出训练样本,该训练样本即为此处的待选取登陆量子集,其中,待选取登陆量子集之间彼此独立,而且,待选取登陆量子集中的数据可以互有重复。It is understandable that data analysis operations can also be implemented using classifiers. Specifically, considering that there are a large number of different historical reports, there is naturally a large amount of historical report data. You can first randomly extract training samples from the historical report data. The training samples are the quantum sets to be selected for landing here. Among them, the quantum sets to be selected to log in are independent of each other, and the data in the quantum sets to be selected to log in can overlap each other.
步骤S403:通过所述待选取登陆量子集分别构建对应的待选用子决策树。Step S403: Construct corresponding to-be-selected sub-decision trees through the to-be-selected landing quantum sets.
应当理解的是,比如,若抽取出m个待选取登陆量子集,m为正整数,然后,可基于每个待选取登陆量子集训练出一个对应的待选用子决策树。明显地,此处构建出的待选用子决策树均是基于历史报告获得。It should be understood that, for example, if m to-be-selected landing quantum sets are extracted, and m is a positive integer, then a corresponding to-be-selected sub-decision tree can be trained based on each to-be-selected landing quantum set. Obviously, the sub-decision trees to be selected constructed here are all obtained based on historical reports.
步骤S404:将所述当前运维数据中的当前登录量信息代入所述待选用子决策树中,以获得与所述待选用子决策树对应的各子判断结果。Step S404: Substitute the current login information in the current operation and maintenance data into the sub-decision tree to be selected to obtain each sub-judgment result corresponding to the sub-decision tree to be selected.
可以理解的是,在实际应用中,将把实时的当前登录量信息代入m个待选用子决策树中,将获得m个可能相同也可能不同的子判断结果。其中,若存在n个历史报告,n为正整数,而子判断结果若以相似程度为评价基准,则可表现为当前运维数据与n个历史报告中的某个历史报告相似程度较高。It is understandable that in practical applications, the real-time current login information will be substituted into m sub-decision trees to be selected, and m sub-judgment results that may be the same or different will be obtained. Among them, if there are n historical reports, n is a positive integer, and if the sub-judgment result uses similarity as the evaluation criterion, it can be expressed that the current operation and maintenance data is highly similar to a certain historical report among the n historical reports.
步骤S405:从所述子判断结果中选取目标子判断结果,并将所述目标子判断结果作为分析结果。Step S405: Select a target sub-judgment result from the sub-judgment results, and use the target sub-judgment result as the analysis result.
应当理解的是,若m个子判断结果中,数量最多的子判断结果为“当前运维数据与第5个历史报告数据相似程度较高”,则可将“当前运维数据与第5个历史报告数据相似程度较高”作为目标子判断结果以及分析结果。后续过程中,可将第5个历史报告数据中记录的历史策略作为待启用策略。It should be understood that if among the m subjudgment results, the most numerous subjudgment result is "the current operation and maintenance data is more similar to the fifth historical report data", then the "current operation and maintenance data and the fifth historical report The report data has a higher degree of similarity" as the target subjudgment result and analysis result. In the subsequent process, the historical strategy recorded in the fifth historical report data can be used as the strategy to be activated.
进一步地,所述通过所述待选取登陆量子集分别构建对应的待选用子决策树,包括:Further, the construction of corresponding to-be-selected sub-decision trees respectively through the to-be-selected login quantum set includes:
通过所述待选取登陆量子集对预设子决策树模型中的权重值进行调整,并将所述权重值调整后的预设子决策树模型作为与所述待选取登陆量子集对应的待选用子决策树;Adjust the weight value in the preset sub-decision tree model through the to-be-selected landing quantum set, and use the preset sub-decision tree model after the weight value adjustment as the to-be-selected corresponding to the to-be-selected landing quantum set Sub-decision tree
所述根据所述分析结果确定对应的待启用策略,通过所述待启用策略进行自动化运维之后,所述自动化分析方法还包括:After the corresponding strategy to be activated is determined according to the analysis result, and after the automated operation and maintenance is performed through the strategy to be activated, the automated analysis method further includes:
在接收到用户输入的修改指令时,根据所述修改指令确定对应的待修改策略;When receiving the modification instruction input by the user, determine the corresponding strategy to be modified according to the modification instruction;
在所述待修改策略与所述待启用策略不同时,在所述待选用子决策树中确定与所述待启用策略对应的目标子决策树;When the strategy to be modified is different from the strategy to be activated, determining a target sub-decision tree corresponding to the strategy to be activated in the sub-decision tree to be selected;
对所述目标子决策树中的权重值进行调整,以获得新的目标子决策树。The weight value in the target sub-decision tree is adjusted to obtain a new target sub-decision tree.
可以理解的是,在最终确定待启用策略后,业务人员可能会人工对该实际使用的策略进行调整,比如,若预设分类器为随机森林(Random Forest)算法,随机森林算法最终确定的待启用策略可能为“分配更高容量的缓存进行并发处理”,但是,业务人员考虑到实际性能人工将之变更另一策略为“对服务器的主机运算性能进行优化”。明显地,随机森林算法最终确定的待启用策略可能并不适宜,所以,可设置反馈机制对随机森林算法进行调整。It is understandable that after the strategy to be activated is finally determined, business personnel may manually adjust the strategy actually used. For example, if the preset classifier is Random Forest (Random Forest) Forest) algorithm, the strategy to be activated finally determined by the random forest algorithm may be "allocate a higher capacity cache for concurrent processing", but the business personnel manually change it to "comparing the server's host computing performance in consideration of actual performance. optimize". Obviously, the strategy to be activated finally determined by the random forest algorithm may not be suitable, so a feedback mechanism can be set to adjust the random forest algorithm.
在具体实现中,由于在构建待选用子决策树时,将以预设子决策树模型为蓝本,通过修改预设子决策树模型中的初始权重值来获得与待选取登陆量子集相协调的待选用子决策树。故而,若随机森林算法最终确定的待启用策略为第5个历史报告数据中记录的历史策略即“分配更高容量的缓存进行并发处理”,而用户输入的待修改策略为第4个历史报告数据中记录的历史策略即“对服务器的主机运算性能进行优化”,二者不同,则可选取出结果为第5个历史报告数据中记录的历史策略的子决策树。对该子决策树中的权重值进行重新调整,以获得新的目标子决策树,将使得在将该当前登录量信息再次代入新的目标子决策树中后,新的目标子决策树将获得的子判断结果不为第5个历史报告数据中记录的历史策略而为第4个历史报告数据中记录的历史策略,如此,也就修改了随机森林算法将产生的子判断结果,使之更加贴近业务人员人工选择的结果。In the specific implementation, because when constructing the sub-decision tree to be selected, the preset sub-decision tree model will be used as the blueprint, and the initial weight value in the preset sub-decision tree model is modified to obtain the coordinate with the quantum set to be selected for landing Sub-decision tree to be selected. Therefore, if the strategy to be activated finally determined by the random forest algorithm is the historical strategy recorded in the fifth historical report data, that is, "allocate a higher capacity cache for concurrent processing", and the strategy to be modified entered by the user is the fourth historical report The historical strategy recorded in the data is "optimizing the computing performance of the server's host". If the two are different, the optional result is the sub-decision tree of the historical strategy recorded in the fifth historical report data. The weight value in this sub-decision tree is re-adjusted to obtain a new target sub-decision tree, which will make the new target sub-decision tree obtain after substituting the current login information into the new target sub-decision tree. The sub-judgment result of is not the historical strategy recorded in the fifth historical report data but the historical strategy recorded in the fourth historical report data. In this way, the sub-judgment result generated by the random forest algorithm is modified to make it more Close to the result of manual selection by business personnel.
进一步地,所述通过预设监控接口获得与所述报告类型对应的当前运维数据,包括:Further, the obtaining the current operation and maintenance data corresponding to the report type through a preset monitoring interface includes:
通过调用与预设监控子***对应的预设监控接口以生成与所述预设监控子***对应的模拟登陆请求;Generating a simulated login request corresponding to the preset monitoring subsystem by calling the preset monitoring interface corresponding to the preset monitoring subsystem;
将所述报告类型对应的各历史数据类型写入所述模拟登陆请求中;Write each historical data type corresponding to the report type into the simulated login request;
将所述模拟登陆请求发送至所述预设监控子***,以使所述预设监控子***根据所述历史数据类型进行模拟登陆操作,并爬取所述预设监控子***响应于所述模拟登陆操作生成的当前运维数据。Send the simulated login request to the preset monitoring subsystem, so that the preset monitoring subsystem performs a simulated login operation according to the historical data type, and crawls the preset monitoring subsystem in response to the The current operation and maintenance data generated by the simulated login operation.
可以理解的是,为了获得实时运行的业务***产生的当前运维数据,可应用预设监控子***来监控业务***的运行,预设监控子***可为zabbix监控***或者grafana可视化***。其中,zabbix监控***可通过编写自动化脚本实现自定义监控,且可设置邮件告警,支持第三方接口;grafana可视化***作为一种开源的监控***,主要实现了对于中间件以及代码等组件的监控。It is understandable that in order to obtain the current operation and maintenance data generated by the business system running in real time, the preset monitoring subsystem can be used to monitor the operation of the business system. The preset monitoring subsystem can be the zabbix monitoring system or the grafana visualization system. Among them, the zabbix monitoring system can implement custom monitoring by writing automated scripts, and can set email alerts, and support third-party interfaces; the grafana visualization system, as an open source monitoring system, mainly realizes the monitoring of middleware and code components.
应当理解的是,可模拟登陆这些预设监控子***以爬取到实时的运行数据,具体而言,可调用这些预设监控子***的预设监控接口以向这些预设监控子***发起模拟登陆操作,从而使得这些预设监控子***对登录行为进行反馈,反馈的信息则可表征业务***的当前运行情况,可记为当前运维数据。It should be understood that these preset monitoring subsystems can be simulated and logged in to crawl real-time operating data. Specifically, the preset monitoring interfaces of these preset monitoring subsystems can be called to initiate simulation to these preset monitoring subsystems. The login operation allows these preset monitoring subsystems to feedback the login behavior, and the feedback information can characterize the current operation of the business system and can be recorded as current operation and maintenance data.
可以理解的是,为了获得预设监控子***反馈的信息,可应用网络爬虫技术以爬取到这些反馈的信息。It is understandable that in order to obtain the feedback information from the preset monitoring subsystem, web crawler technology can be applied to crawl the feedback information.
本实施例中可通过数值比较方式来获得分析结果,也可通过随机森林算法来取得分析结果。此外,还可设置人工反馈机制来调整随机森林算法,使之具备不断学习的能力。In this embodiment, the analysis result can be obtained by means of numerical comparison, and the analysis result can also be obtained by the random forest algorithm. In addition, an artificial feedback mechanism can be set up to adjust the random forest algorithm so that it has the ability to continuously learn.
此外,本申请实施例还提出一种存储介质,所述存储介质可以为非易失性可读存储介质。In addition, the embodiment of the present application also proposes a storage medium, and the storage medium may be a non-volatile readable storage medium.
本申请存储介质上存储有计算机可读指令,所述计算机可读指令被处理器执行时实现如上文所述的自动化分析方法的步骤。The storage medium of the present application stores computer-readable instructions, which, when executed by a processor, realize the steps of the automated analysis method as described above.
其中,该计算机可读指令被执行时所实现的方法可参照本申请自动化分析方法的各个实施例,此处不再赘述。For the method implemented when the computer-readable instruction is executed, please refer to each embodiment of the automated analysis method of the present application, which will not be repeated here.
此外,参照图5,本申请实施例还提出一种自动化分析装置,所述自动化分析装置包括:In addition, referring to FIG. 5, an embodiment of the present application also proposes an automated analysis device, which includes:
报告类型确定模块10,用于在接收到自动化分析请求时,根据所述自动化分析请求确定对应的报告类型。The report type determining module 10 is configured to determine the corresponding report type according to the automated analysis request when an automated analysis request is received.
可以理解的是,考虑到业务***在运行时涉及到的数据不仅体量较大且数据的类型也各不相同,为了高效地完成日常的***运维工作,以减少工作量,本实施例将自动化地进行数据采集操作以及自动化数据分析,并最终获得运维策略,通过调用该运维策略可以不断地优化该业务***,进而高效地进行***维护。It is understandable that considering that the data involved in the operation of the business system is not only large in volume but also of different types of data, in order to efficiently complete the daily system operation and maintenance work to reduce the workload, this embodiment will Automatically carry out data collection operations and automated data analysis, and finally obtain an operation and maintenance strategy. By calling the operation and maintenance strategy, the business system can be continuously optimized, and system maintenance can be performed efficiently.
在具体实现中,在接收到用户触发的或者业务***周期性自动触发的自动化分析请求时,可先确定该自动化分析请求对应的报告类型。考虑到业务***中常会生成一定数量的***维护报告,以备***分析或者提供给业务人员进行人工分析。而且,不同类型的***维护报告涉及到的数据类型将具有一定的针对性,将围绕着该***维护报告的类型展开,故而,可以某一报告类型辐射的数据类型为依据进行数据采集操作。In a specific implementation, when an automated analysis request triggered by a user or periodically and automatically triggered by a business system is received, the report type corresponding to the automated analysis request may be determined first. Considering that a certain number of system maintenance reports are often generated in business systems for system analysis or provided to business personnel for manual analysis. Moreover, the data types involved in different types of system maintenance reports will have certain pertinence and will be developed around the types of system maintenance reports. Therefore, data collection operations can be performed based on the type of data radiated by a certain report type.
历史数据采集模块20,用于采集与所述报告类型对应的历史报告数据。The historical data collection module 20 is used to collect historical report data corresponding to the report type.
应当理解的是,***维护报告的报告类型包括主动预防报告、生产问题分析报告、灾备管理工作报告以及版本变更报告等。比如,若该条自动化分析请求中涉及的报告类型为主动预防报告,则将自动化地采集之前已有的主动预防报告的报告数据,此处的历史报告数据就是指曾经生成过的主动预防报告的报告数据。It should be understood that the report types of system maintenance reports include proactive prevention reports, production problem analysis reports, disaster recovery management reports, and version change reports. For example, if the report type involved in the automated analysis request is an active prevention report, the report data of the previous active prevention report will be automatically collected. The historical report data here refers to the active prevention report that has been generated. Report data.
运维数据采集模块30,用于通过预设监控接口获得与所述报告类型对应的当前运维数据。The operation and maintenance data collection module 30 is configured to obtain current operation and maintenance data corresponding to the report type through a preset monitoring interface.
可以理解的是,主动预防报告涉及到的数据类型包括有某直销银行日活量、每日登录量、注册用户量、组件连接并发数以及接口调用响应超时统计量等。所以,将自动化地以这些数据类型为采集依据进行数据采集操作。It is understandable that the data types involved in the proactive prevention report include a direct sales bank's daily activity, daily logins, registered users, concurrent component connections, and interface call response timeout statistics. Therefore, the data collection operation will be automated based on these data types.
需要注意的是,此处的自动化采集操作获得的当前运维数据为此刻的业务***实时运行着的数据,而历史报告数据是旧的主动预防报告内的报告数据。It should be noted that the current operation and maintenance data obtained by the automated collection operation here is the data that the business system is running in real time, and the historical report data is the report data in the old active prevention report.
在具体实现中,为了自动化地采集到当前运维数据,可通过预设监控接口去获取该报告类型对应的数据类型的实时数据。其中,预设监控接口可为zabbix监控组件的监控接口。In specific implementation, in order to automatically collect current operation and maintenance data, real-time data of the data type corresponding to the report type can be obtained through the preset monitoring interface. Among them, the preset monitoring interface may be the monitoring interface of the zabbix monitoring component.
数据分析模块40,用于将所述历史报告数据作为基准对所述当前运维数据进行数据分析,以获得分析结果。The data analysis module 40 is configured to perform data analysis on the current operation and maintenance data using the historical report data as a reference to obtain an analysis result.
应当理解的是,在获取到旧的历史报告数据与新的当前运维数据后,由于历史报告数据中同时包括与报告类型对应的各数据类型对应的数据内容以及对这些数据内容进行分析后得出的历史策略,通过调用该历史策略可以解决这些数据内容披露的运行问题。比如,若历史报告数据中组件连接并发数较高,则历史报告数据中的历史策略可为“分配更高容量的缓存进行并发处理”,以缓解该种***问题。It should be understood that after obtaining the old historical report data and the new current operation and maintenance data, the historical report data also includes the data content corresponding to each data type corresponding to the report type, and the data content is obtained after analyzing the data content. The historical strategy can be used to solve the operation problem of the data content disclosure by calling the historical strategy. For example, if the number of concurrent component connections in the historical report data is high, the historical strategy in the historical report data can be "allocate a higher capacity cache for concurrent processing" to alleviate this type of system problem.
在具体实现中,以历史报告数据为鉴,若当前运维数据也为组件连接并发数较高,则分析结果为“历史报告数据与当前运维数据中的组件连接并发数均大于或等于预设并发数阈值”,其中,预设并发数阈值用于判断是否组件连接并发数较高。In the specific implementation, based on historical report data, if the current operation and maintenance data also indicates that the component connection concurrency is high, the analysis result is "the historical report data and the current operation and maintenance data in the component connection concurrency are greater than or equal to the expected Set the concurrency threshold", where the preset concurrency threshold is used to determine whether the component connection has a high concurrency.
自动化运维模块50,用于根据所述分析结果确定对应的待启用策略,通过所述待启用策略进行自动化运维。The automated operation and maintenance module 50 is configured to determine a corresponding strategy to be activated according to the analysis result, and perform automated operation and maintenance through the strategy to be activated.
可以理解的是,由于当前运维数据与历史报告数据存在着相同的问题,则可将与当前运维数据对应的待启用策略也设置为“分配更高容量的缓存进行并发处理”,则可对当前的业务***中缓存容量进行重新分配,分配更高容量。It is understandable that because the current operation and maintenance data and the historical report data have the same problems, the policy to be activated corresponding to the current operation and maintenance data can also be set to "allocate a higher capacity cache for concurrent processing". Reallocate the cache capacity in the current business system to allocate higher capacity.
应当理解的是,通过参见已有的历史报告,可以自动化地限定数据采集的范围,也可以自动化地进行优化策略的选取,同时,也将自动化地运行该优化策略,以完整地进行自动化运维的操作。It should be understood that by referring to the existing historical reports, the scope of data collection can be automatically limited, and the optimization strategy can also be selected automatically. At the same time, the optimization strategy will also be automatically run to complete automated operation and maintenance. Operation.
本实施例中根据自动化分析请求确定作为参照的报告类型,采集与报告类型对应的历史报告数据,调用预设监控接口来获得与报告类型对应的当前运维数据;将历史报告数据作为基准对当前运维数据进行数据分析,以获得分析结果;根据分析结果确定对应的待启用策略,通过待启用策略进行自动化运维。明显地,本实施例将以确定的报告类型所辐射的数据为框架来进行自动化的数据采集行为、数据比对行为、数据分析行为以及***优化行为,如此的自动化运维操作大大地减少了工作量,可以高效地进行***维护,进而解决了无法高效地进行***维护的技术问题。In this embodiment, the report type used as a reference is determined according to the automated analysis request, the historical report data corresponding to the report type is collected, the preset monitoring interface is called to obtain the current operation and maintenance data corresponding to the report type; the historical report data is used as a benchmark for the current Perform data analysis on the operation and maintenance data to obtain analysis results; determine the corresponding strategy to be activated according to the analysis result, and perform automated operation and maintenance through the strategy to be activated. Obviously, this embodiment uses the data radiated by the determined report type as a framework for automated data collection behavior, data comparison behavior, data analysis behavior, and system optimization behavior. Such automated operation and maintenance operations greatly reduce work. System maintenance can be carried out efficiently, and the technical problem of system maintenance cannot be solved efficiently.
在一实施例中,所述自动化分析装置还包括:In an embodiment, the automated analysis device further includes:
报告生成模块,用于将所述当前运维数据与所述待启用策略导入与所述报告类型对应的预设报告模板中,以生成当前生产报告。The report generation module is configured to import the current operation and maintenance data and the to-be-enabled strategy into a preset report template corresponding to the report type to generate a current production report.
在一实施例中,所述自动化分析装置还包括:In an embodiment, the automated analysis device further includes:
历史类型确定模块,用于确定所述历史报告数据中记录的历史数据类型;The historical type determining module is used to determine the historical data type recorded in the historical report data;
所述运维数据采集模块30,还用于通过预设监控接口获得与所述历史数据类型对应的当前运维数据;The operation and maintenance data collection module 30 is further configured to obtain current operation and maintenance data corresponding to the historical data type through a preset monitoring interface;
登录量读取模块,用于读取所述当前运维数据中的当前登录量信息;The login amount reading module is used to read the current login amount information in the current operation and maintenance data;
所述数据分析模块40,还用于将所述历史报告数据中的历史登录量信息作为基准对所述当前运维数据中的当前登录量信息进行数据分析,以获得分析结果。The data analysis module 40 is further configured to use the historical login amount information in the historical report data as a reference to perform data analysis on the current login amount information in the current operation and maintenance data to obtain an analysis result.
在一实施例中,所述数据分析模块40,还用于读取所述历史报告数据中的历史登录量信息,并确定与所述历史登录量信息对应的历史登录量区间;将所述历史登录量区间与所述当前登录量信息进行比较,以获得比较结果;In an embodiment, the data analysis module 40 is further configured to read historical login information in the historical report data, and determine a historical login volume interval corresponding to the historical login information; Comparing the log-in volume interval with the current log-in volume information to obtain a comparison result;
所述自动化运维模块50,还用于从所述历史报告数据中的各历史策略中确定与所述比较结果对应的历史策略,并将与所述比较结果对应的历史策略作为待启用策略,通过所述待启用策略进行自动化运维。The automated operation and maintenance module 50 is further configured to determine a historical strategy corresponding to the comparison result from each historical strategy in the historical report data, and use the historical strategy corresponding to the comparison result as a strategy to be activated, Automated operation and maintenance are performed through the strategy to be activated.
在一实施例中,所述数据分析模块40,还用于根据所述历史报告数据中的历史登录量信息在预设分类器下构建出各待选取登陆量子集;通过所述待选取登陆量子集分别构建对应的待选用子决策树;将所述当前运维数据中的当前登录量信息代入所述待选用子决策树中,以获得与所述待选用子决策树对应的各子判断结果;从所述子判断结果中选取目标子判断结果,并将所述目标子判断结果作为分析结果。In one embodiment, the data analysis module 40 is further configured to construct each to-be-selected login quantum set under a preset classifier according to the historical login amount information in the historical report data; Sets respectively to construct corresponding sub-decision trees to be selected; substituting the current login information in the current operation and maintenance data into the sub-decision trees to be selected to obtain the sub-judgment results corresponding to the sub-decision trees to be selected ; Select the target sub-judgment result from the sub-judgment results, and use the target sub-judgment result as the analysis result.
在一实施例中,所述自动化分析装置还包括:In an embodiment, the automated analysis device further includes:
决策树选定模块,用于通过所述待选取登陆量子集对预设子决策树模型中的权重值进行调整,并将所述权重值调整后的预设子决策树模型作为与所述待选取登陆量子集对应的待选用子决策树;The decision tree selection module is used to adjust the weight value in the preset sub-decision tree model through the to-be-selected login quantum set, and use the preset sub-decision tree model after the weight value adjustment as the reference to the waiting Select the sub-decision tree to be selected corresponding to the landing quantum set;
决策树调整模块,用于在接收到用户输入的修改指令时,根据所述修改指令确定对应的待修改策略;在所述待修改策略与所述待启用策略不同时,在所述待选用子决策树中确定与所述待启用策略对应的目标子决策树;对所述目标子决策树中的权重值进行调整,以获得新的目标子决策树。The decision tree adjustment module is configured to determine the corresponding strategy to be modified according to the modification instruction when the modification instruction input by the user is received; when the strategy to be modified is different from the strategy to be activated, select the child The target sub-decision tree corresponding to the strategy to be activated is determined in the decision tree; the weight value in the target sub-decision tree is adjusted to obtain a new target sub-decision tree.
在一实施例中,所述运维数据采集模块30,还用于通过调用与预设监控子***对应的预设监控接口以生成与所述预设监控子***对应的模拟登陆请求;将所述报告类型对应的各历史数据类型写入所述模拟登陆请求中;将所述模拟登陆请求发送至所述预设监控子***,以使所述预设监控子***根据所述历史数据类型进行模拟登陆操作,并爬取所述预设监控子***响应于所述模拟登陆操作生成的当前运维数据。In an embodiment, the operation and maintenance data collection module 30 is further configured to generate a simulated login request corresponding to the preset monitoring subsystem by calling the preset monitoring interface corresponding to the preset monitoring subsystem; Each historical data type corresponding to the report type is written into the simulated login request; the simulated login request is sent to the preset monitoring subsystem, so that the preset monitoring subsystem performs processing according to the historical data type Simulate a login operation, and crawl current operation and maintenance data generated by the preset monitoring subsystem in response to the simulated login operation.
本申请所述自动化分析装置的其他实施例或具体实现方式可参照上述各方法实施例,此处不再赘述。For other embodiments or specific implementations of the automated analysis device described in the present application, reference may be made to the foregoing method embodiments, and details are not described herein again.
以上仅为本申请的优选实施例,并非因此限制本申请的专利范围,凡是利用本申请说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本申请的专利保护范围内。The above are only preferred embodiments of this application, and do not limit the scope of this application. Any equivalent structure or equivalent process transformation made using the content of the description and drawings of this application, or directly or indirectly used in other related technical fields , The same reason is included in the scope of patent protection of this application.

Claims (20)

  1. 一种自动化分析方法,其中,所述自动化分析方法包括以下步骤: An automated analysis method, wherein the automated analysis method includes the following steps:
    在接收到自动化分析请求时,根据所述自动化分析请求确定对应的报告类型;When an automated analysis request is received, determine the corresponding report type according to the automated analysis request;
    采集与所述报告类型对应的历史报告数据;Collect historical report data corresponding to the report type;
    通过预设监控接口获得与所述报告类型对应的当前运维数据;Obtain current operation and maintenance data corresponding to the report type through a preset monitoring interface;
    将所述历史报告数据作为基准对所述当前运维数据进行数据分析,以获得分析结果;Performing data analysis on the current operation and maintenance data using the historical report data as a reference to obtain an analysis result;
    根据所述分析结果确定对应的待启用策略,通过所述待启用策略进行自动化运维;Determine the corresponding strategy to be activated according to the analysis result, and perform automated operation and maintenance through the strategy to be activated;
    其中,所述根据所述分析结果确定对应的待启用策略,通过所述待启用策略进行自动化运维之后,所述自动化分析方法还包括:Wherein, the corresponding strategy to be activated is determined according to the analysis result, and after the automated operation and maintenance is performed through the strategy to be activated, the automated analysis method further includes:
    将所述当前运维数据与所述待启用策略导入与所述报告类型对应的预设报告模板中,以生成当前生产报告;Importing the current operation and maintenance data and the strategy to be activated into a preset report template corresponding to the report type to generate a current production report;
    其中,所述采集与所述报告类型对应的历史报告数据之后,所述自动化分析方法还包括:Wherein, after the collection of historical report data corresponding to the report type, the automated analysis method further includes:
    确定所述历史报告数据中记录的历史数据类型;Determine the type of historical data recorded in the historical report data;
    所述通过预设监控接口获得与所述报告类型对应的当前运维数据,包括:The obtaining the current operation and maintenance data corresponding to the report type through the preset monitoring interface includes:
    通过预设监控接口获得与所述历史数据类型对应的当前运维数据;Obtain current operation and maintenance data corresponding to the historical data type through a preset monitoring interface;
    所述通过预设监控接口获得与所述历史数据类型对应的当前运维数据之后,所述自动化分析方法还包括:After the current operation and maintenance data corresponding to the historical data type is obtained through the preset monitoring interface, the automated analysis method further includes:
    读取所述当前运维数据中的当前登录量信息;Read the current login information in the current operation and maintenance data;
    所述将所述历史报告数据作为基准对所述当前运维数据进行数据分析,以获得分析结果,包括:The performing data analysis on the current operation and maintenance data using the historical report data as a reference to obtain the analysis result includes:
    将所述历史报告数据中的历史登录量信息作为基准对所述当前运维数据中的当前登录量信息进行数据分析,以获得分析结果。Data analysis is performed on the current login amount information in the current operation and maintenance data using the historical login amount information in the historical report data as a reference to obtain an analysis result.
  2. 如权利要求1所述的自动化分析方法,其中,所述将所述历史报告数据中的历史登录量信息作为基准对所述当前运维数据中的当前登录量信息进行数据分析,以获得分析结果,包括:The automated analysis method of claim 1, wherein the historical log-in amount information in the historical report data is used as a reference to perform data analysis on the current log-in amount information in the current operation and maintenance data to obtain an analysis result ,include:
    读取所述历史报告数据中的历史登录量信息,并确定与所述历史登录量信息对应的历史登录量区间;Read the historical login amount information in the historical report data, and determine the historical login amount interval corresponding to the historical login amount information;
    将所述历史登录量区间与所述当前登录量信息进行比较,以获得比较结果;Comparing the historical login amount interval with the current login amount information to obtain a comparison result;
    所述根据所述分析结果确定对应的待启用策略,通过所述待启用策略进行自动化运维,包括:The determining the corresponding strategy to be activated according to the analysis result, and performing automated operation and maintenance through the strategy to be activated, includes:
    从所述历史报告数据中的各历史策略中确定与所述比较结果对应的历史策略,并将与所述比较结果对应的历史策略作为待启用策略,通过所述待启用策略进行自动化运维。The historical strategy corresponding to the comparison result is determined from each historical strategy in the historical report data, and the historical strategy corresponding to the comparison result is used as a strategy to be activated, and automated operation and maintenance is performed through the strategy to be activated.
  3. 如权利要求1所述的自动化分析方法,其中,所述将所述历史报告数据中的历史登录量信息作为基准对所述当前运维数据中的当前登录量信息进行数据分析,以获得分析结果,包括:The automated analysis method of claim 1, wherein the historical log-in amount information in the historical report data is used as a reference to perform data analysis on the current log-in amount information in the current operation and maintenance data to obtain an analysis result ,include:
    根据所述历史报告数据中的历史登录量信息在预设分类器下构建出各待选取登陆量子集;According to the historical log-in amount information in the historical report data, construct each to-be-selected log-in quantum set under a preset classifier;
    通过所述待选取登陆量子集分别构建对应的待选用子决策树;Respectively constructing corresponding sub-decision trees to be selected through the quantum set to be selected for landing;
    将所述当前运维数据中的当前登录量信息代入所述待选用子决策树中,以获得与所述待选用子决策树对应的各子判断结果;Substituting the current login amount information in the current operation and maintenance data into the sub-decision tree to be selected to obtain each sub-judgment result corresponding to the sub-decision tree to be selected;
    从所述子判断结果中选取目标子判断结果,并将所述目标子判断结果作为分析结果。The target sub-judgment result is selected from the sub-judgment results, and the target sub-judgment result is used as the analysis result.
  4. 如权利要求3所述的自动化分析方法,其中,所述通过所述待选取登陆量子集分别构建对应的待选用子决策树,包括:The automated analysis method according to claim 3, wherein said separately constructing corresponding to-be-selected sub-decision trees through said to-be-selected login quantum set comprises:
    通过所述待选取登陆量子集对预设子决策树模型中的权重值进行调整,并将所述权重值调整后的预设子决策树模型作为与所述待选取登陆量子集对应的待选用子决策树;Adjust the weight value in the preset sub-decision tree model through the to-be-selected landing quantum set, and use the preset sub-decision tree model after the weight value adjustment as the to-be-selected corresponding to the to-be-selected landing quantum set Sub-decision tree
    所述根据所述分析结果确定对应的待启用策略,通过所述待启用策略进行自动化运维之后,所述自动化分析方法还包括:After the corresponding strategy to be activated is determined according to the analysis result, and after the automated operation and maintenance is performed through the strategy to be activated, the automated analysis method further includes:
    在接收到用户输入的修改指令时,根据所述修改指令确定对应的待修改策略;When receiving the modification instruction input by the user, determine the corresponding strategy to be modified according to the modification instruction;
    在所述待修改策略与所述待启用策略不同时,在所述待选用子决策树中确定与所述待启用策略对应的目标子决策树;When the strategy to be modified is different from the strategy to be activated, determining a target sub-decision tree corresponding to the strategy to be activated in the sub-decision tree to be selected;
    对所述目标子决策树中的权重值进行调整,以获得新的目标子决策树。The weight value in the target sub-decision tree is adjusted to obtain a new target sub-decision tree.
  5. 如权利要求1所述的自动化分析方法,其中,所述通过预设监控接口获得与所述报告类型对应的当前运维数据,包括:5. The automated analysis method according to claim 1, wherein said obtaining current operation and maintenance data corresponding to said report type through a preset monitoring interface comprises:
    通过调用与预设监控子***对应的预设监控接口以生成与所述预设监控子***对应的模拟登陆请求;Generating a simulated login request corresponding to the preset monitoring subsystem by calling the preset monitoring interface corresponding to the preset monitoring subsystem;
    将所述报告类型对应的各历史数据类型写入所述模拟登陆请求中;Write each historical data type corresponding to the report type into the simulated login request;
    将所述模拟登陆请求发送至所述预设监控子***,以使所述预设监控子***根据所述历史数据类型进行模拟登陆操作,并爬取所述预设监控子***响应于所述模拟登陆操作生成的当前运维数据。Send the simulated login request to the preset monitoring subsystem, so that the preset monitoring subsystem performs a simulated login operation according to the historical data type, and crawls the preset monitoring subsystem in response to the The current operation and maintenance data generated by the simulated login operation.
  6. 一种用户设备,其中,所述用户设备包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行计算机可读指令,所述计算机可读指令被所述处理器执行时,实现如下步骤:A user equipment, wherein the user equipment includes: a memory, a processor, and computer-readable instructions stored in the memory and capable of running on the processor, and the computer-readable instructions are executed by the processor When, implement the following steps:
    在接收到自动化分析请求时,根据所述自动化分析请求确定对应的报告类型;When an automated analysis request is received, determine the corresponding report type according to the automated analysis request;
    采集与所述报告类型对应的历史报告数据;Collect historical report data corresponding to the report type;
    通过预设监控接口获得与所述报告类型对应的当前运维数据;Obtain current operation and maintenance data corresponding to the report type through a preset monitoring interface;
    将所述历史报告数据作为基准对所述当前运维数据进行数据分析,以获得分析结果;Performing data analysis on the current operation and maintenance data using the historical report data as a reference to obtain an analysis result;
    根据所述分析结果确定对应的待启用策略,通过所述待启用策略进行自动化运维;Determine the corresponding strategy to be activated according to the analysis result, and perform automated operation and maintenance through the strategy to be activated;
    其中,所述根据所述分析结果确定对应的待启用策略,通过所述待启用策略进行自动化运维之后,所述处理器还用于执行如下步骤:Wherein, the corresponding strategy to be activated is determined according to the analysis result, and after the automated operation and maintenance is performed through the strategy to be activated, the processor is further configured to perform the following steps:
    将所述当前运维数据与所述待启用策略导入与所述报告类型对应的预设报告模板中,以生成当前生产报告;Importing the current operation and maintenance data and the strategy to be activated into a preset report template corresponding to the report type to generate a current production report;
    其中,所述采集与所述报告类型对应的历史报告数据之后,所述处理器还用于执行如下步骤:Wherein, after the historical report data corresponding to the report type is collected, the processor is further configured to perform the following steps:
    确定所述历史报告数据中记录的历史数据类型;Determine the type of historical data recorded in the historical report data;
    所述通过预设监控接口获得与所述报告类型对应的当前运维数据,包括:The obtaining the current operation and maintenance data corresponding to the report type through the preset monitoring interface includes:
    通过预设监控接口获得与所述历史数据类型对应的当前运维数据;Obtain current operation and maintenance data corresponding to the historical data type through a preset monitoring interface;
    所述通过预设监控接口获得与所述历史数据类型对应的当前运维数据之后,所述处理器还用于执行如下步骤:After obtaining the current operation and maintenance data corresponding to the historical data type through the preset monitoring interface, the processor is further configured to perform the following steps:
    读取所述当前运维数据中的当前登录量信息;Read the current login information in the current operation and maintenance data;
    所述将所述历史报告数据作为基准对所述当前运维数据进行数据分析,以获得分析结果,包括:The performing data analysis on the current operation and maintenance data using the historical report data as a reference to obtain the analysis result includes:
    将所述历史报告数据中的历史登录量信息作为基准对所述当前运维数据中的当前登录量信息进行数据分析,以获得分析结果。Data analysis is performed on the current login amount information in the current operation and maintenance data using the historical login amount information in the historical report data as a reference to obtain an analysis result.
  7. 如权利要求6所述的用户设备,其中,所述将所述历史报告数据中的历史登录量信息作为基准对所述当前运维数据中的当前登录量信息进行数据分析,以获得分析结果,包括:7. The user equipment according to claim 6, wherein the data analysis is performed on the current login amount information in the current operation and maintenance data using the historical login amount information in the historical report data as a reference to obtain the analysis result, include:
    读取所述历史报告数据中的历史登录量信息,并确定与所述历史登录量信息对应的历史登录量区间;Read the historical login amount information in the historical report data, and determine the historical login amount interval corresponding to the historical login amount information;
    将所述历史登录量区间与所述当前登录量信息进行比较,以获得比较结果;Comparing the historical login amount interval with the current login amount information to obtain a comparison result;
    所述根据所述分析结果确定对应的待启用策略,通过所述待启用策略进行自动化运维,包括:The determining the corresponding strategy to be activated according to the analysis result, and performing automated operation and maintenance through the strategy to be activated, includes:
    从所述历史报告数据中的各历史策略中确定与所述比较结果对应的历史策略,并将与所述比较结果对应的历史策略作为待启用策略,通过所述待启用策略进行自动化运维。The historical strategy corresponding to the comparison result is determined from each historical strategy in the historical report data, and the historical strategy corresponding to the comparison result is used as a strategy to be activated, and automated operation and maintenance is performed through the strategy to be activated.
  8. 如权利要求6所述的用户设备,其中,所述将所述历史报告数据中的历史登录量信息作为基准对所述当前运维数据中的当前登录量信息进行数据分析,以获得分析结果,包括:7. The user equipment according to claim 6, wherein the data analysis is performed on the current login amount information in the current operation and maintenance data using the historical login amount information in the historical report data as a reference to obtain the analysis result, include:
    根据所述历史报告数据中的历史登录量信息在预设分类器下构建出各待选取登陆量子集;According to the historical log-in amount information in the historical report data, construct each to-be-selected log-in quantum set under a preset classifier;
    通过所述待选取登陆量子集分别构建对应的待选用子决策树;Respectively constructing corresponding sub-decision trees to be selected through the quantum set to be selected for landing;
    将所述当前运维数据中的当前登录量信息代入所述待选用子决策树中,以获得与所述待选用子决策树对应的各子判断结果;Substituting the current login amount information in the current operation and maintenance data into the sub-decision tree to be selected to obtain each sub-judgment result corresponding to the sub-decision tree to be selected;
    从所述子判断结果中选取目标子判断结果,并将所述目标子判断结果作为分析结果。The target sub-judgment result is selected from the sub-judgment results, and the target sub-judgment result is used as the analysis result.
  9. 如权利要求8所述的用户设备,其中,所述通过所述待选取登陆量子集分别构建对应的待选用子决策树,包括:8. The user equipment according to claim 8, wherein said constructing corresponding to-be-selected sub-decision trees respectively through said to-be-selected login quantum set comprises:
    通过所述待选取登陆量子集对预设子决策树模型中的权重值进行调整,并将所述权重值调整后的预设子决策树模型作为与所述待选取登陆量子集对应的待选用子决策树;Adjust the weight value in the preset sub-decision tree model through the to-be-selected landing quantum set, and use the preset sub-decision tree model after the weight value adjustment as the to-be-selected corresponding to the to-be-selected landing quantum set Sub-decision tree
    所述根据所述分析结果确定对应的待启用策略,通过所述待启用策略进行自动化运维之后,所述处理器还用于执行如下步骤:After the corresponding strategy to be activated is determined according to the analysis result, and after the automated operation and maintenance is performed through the strategy to be activated, the processor is further configured to execute the following steps:
    在接收到用户输入的修改指令时,根据所述修改指令确定对应的待修改策略;When receiving the modification instruction input by the user, determine the corresponding strategy to be modified according to the modification instruction;
    在所述待修改策略与所述待启用策略不同时,在所述待选用子决策树中确定与所述待启用策略对应的目标子决策树;When the strategy to be modified is different from the strategy to be activated, determining a target sub-decision tree corresponding to the strategy to be activated in the sub-decision tree to be selected;
    对所述目标子决策树中的权重值进行调整,以获得新的目标子决策树。The weight value in the target sub-decision tree is adjusted to obtain a new target sub-decision tree.
  10. 如权利要求6所述的用户设备,其中,所述通过预设监控接口获得与所述报告类型对应的当前运维数据,包括:The user equipment according to claim 6, wherein the obtaining current operation and maintenance data corresponding to the report type through a preset monitoring interface comprises:
    通过调用与预设监控子***对应的预设监控接口以生成与所述预设监控子***对应的模拟登陆请求;Generating a simulated login request corresponding to the preset monitoring subsystem by calling the preset monitoring interface corresponding to the preset monitoring subsystem;
    将所述报告类型对应的各历史数据类型写入所述模拟登陆请求中;Write each historical data type corresponding to the report type into the simulated login request;
    将所述模拟登陆请求发送至所述预设监控子***,以使所述预设监控子***根据所述历史数据类型进行模拟登陆操作,并爬取所述预设监控子***响应于所述模拟登陆操作生成的当前运维数据。Send the simulated login request to the preset monitoring subsystem, so that the preset monitoring subsystem performs a simulated login operation according to the historical data type, and crawls the preset monitoring subsystem in response to the The current operation and maintenance data generated by the simulated login operation.
  11. 一种存储介质,其中,所述存储介质上存储有计算机可读指令,所述计算机可读指令被所述处理器执行时,实现如下步骤:A storage medium, wherein computer readable instructions are stored on the storage medium, and when the computer readable instructions are executed by the processor, the following steps are implemented:
    在接收到自动化分析请求时,根据所述自动化分析请求确定对应的报告类型;When an automated analysis request is received, determine the corresponding report type according to the automated analysis request;
    采集与所述报告类型对应的历史报告数据;Collect historical report data corresponding to the report type;
    通过预设监控接口获得与所述报告类型对应的当前运维数据;Obtain current operation and maintenance data corresponding to the report type through a preset monitoring interface;
    将所述历史报告数据作为基准对所述当前运维数据进行数据分析,以获得分析结果;Performing data analysis on the current operation and maintenance data using the historical report data as a reference to obtain an analysis result;
    根据所述分析结果确定对应的待启用策略,通过所述待启用策略进行自动化运维;Determine the corresponding strategy to be activated according to the analysis result, and perform automated operation and maintenance through the strategy to be activated;
    其中,所述根据所述分析结果确定对应的待启用策略,通过所述待启用策略进行自动化运维之后,所述处理器还用于执行如下步骤:Wherein, the corresponding strategy to be activated is determined according to the analysis result, and after the automated operation and maintenance is performed through the strategy to be activated, the processor is further configured to perform the following steps:
    将所述当前运维数据与所述待启用策略导入与所述报告类型对应的预设报告模板中,以生成当前生产报告;Importing the current operation and maintenance data and the strategy to be activated into a preset report template corresponding to the report type to generate a current production report;
    其中,所述采集与所述报告类型对应的历史报告数据之后,所述自动化分析方法还包括:Wherein, after the collection of historical report data corresponding to the report type, the automated analysis method further includes:
    确定所述历史报告数据中记录的历史数据类型;Determine the type of historical data recorded in the historical report data;
    所述通过预设监控接口获得与所述报告类型对应的当前运维数据,包括:The obtaining the current operation and maintenance data corresponding to the report type through the preset monitoring interface includes:
    通过预设监控接口获得与所述历史数据类型对应的当前运维数据;Obtain current operation and maintenance data corresponding to the historical data type through a preset monitoring interface;
    所述通过预设监控接口获得与所述历史数据类型对应的当前运维数据之后,所述处理器还用于执行如下步骤:After obtaining the current operation and maintenance data corresponding to the historical data type through the preset monitoring interface, the processor is further configured to perform the following steps:
    读取所述当前运维数据中的当前登录量信息;Read the current login information in the current operation and maintenance data;
    所述将所述历史报告数据作为基准对所述当前运维数据进行数据分析,以获得分析结果,包括:The performing data analysis on the current operation and maintenance data using the historical report data as a reference to obtain the analysis result includes:
    将所述历史报告数据中的历史登录量信息作为基准对所述当前运维数据中的当前登录量信息进行数据分析,以获得分析结果。Data analysis is performed on the current login amount information in the current operation and maintenance data using the historical login amount information in the historical report data as a reference to obtain an analysis result.
  12. 如权利要求11所述的存储介质,其中,所述将所述历史报告数据中的历史登录量信息作为基准对所述当前运维数据中的当前登录量信息进行数据分析,以获得分析结果,包括:The storage medium according to claim 11, wherein the data analysis is performed on the current login amount information in the current operation and maintenance data using the historical login amount information in the historical report data as a reference to obtain the analysis result, include:
    读取所述历史报告数据中的历史登录量信息,并确定与所述历史登录量信息对应的历史登录量区间;Read the historical login amount information in the historical report data, and determine the historical login amount interval corresponding to the historical login amount information;
    将所述历史登录量区间与所述当前登录量信息进行比较,以获得比较结果;Comparing the historical login amount interval with the current login amount information to obtain a comparison result;
    所述根据所述分析结果确定对应的待启用策略,通过所述待启用策略进行自动化运维,包括:The determining the corresponding strategy to be activated according to the analysis result, and performing automated operation and maintenance through the strategy to be activated, includes:
    从所述历史报告数据中的各历史策略中确定与所述比较结果对应的历史策略,并将与所述比较结果对应的历史策略作为待启用策略,通过所述待启用策略进行自动化运维。The historical strategy corresponding to the comparison result is determined from each historical strategy in the historical report data, and the historical strategy corresponding to the comparison result is used as a strategy to be activated, and automated operation and maintenance is performed through the strategy to be activated.
  13. 如权利要求11所述的存储介质,其中,所述将所述历史报告数据中的历史登录量信息作为基准对所述当前运维数据中的当前登录量信息进行数据分析,以获得分析结果,包括:The storage medium according to claim 11, wherein the data analysis is performed on the current login amount information in the current operation and maintenance data using the historical login amount information in the historical report data as a reference to obtain the analysis result, include:
    根据所述历史报告数据中的历史登录量信息在预设分类器下构建出各待选取登陆量子集;According to the historical log-in amount information in the historical report data, construct each to-be-selected log-in quantum set under a preset classifier;
    通过所述待选取登陆量子集分别构建对应的待选用子决策树;Respectively constructing corresponding sub-decision trees to be selected through the quantum set to be selected for landing;
    将所述当前运维数据中的当前登录量信息代入所述待选用子决策树中,以获得与所述待选用子决策树对应的各子判断结果;Substituting the current login amount information in the current operation and maintenance data into the sub-decision tree to be selected to obtain each sub-judgment result corresponding to the sub-decision tree to be selected;
    从所述子判断结果中选取目标子判断结果,并将所述目标子判断结果作为分析结果。The target sub-judgment result is selected from the sub-judgment results, and the target sub-judgment result is used as the analysis result.
  14. 如权利要求13所述的存储介质,其中,所述通过所述待选取登陆量子集分别构建对应的待选用子决策树,包括:The storage medium according to claim 13, wherein said separately constructing corresponding to-be-selected sub-decision trees through said to-be-selected login quantum set comprises:
    通过所述待选取登陆量子集对预设子决策树模型中的权重值进行调整,并将所述权重值调整后的预设子决策树模型作为与所述待选取登陆量子集对应的待选用子决策树;Adjust the weight value in the preset sub-decision tree model through the to-be-selected landing quantum set, and use the preset sub-decision tree model after the weight value adjustment as the to-be-selected corresponding to the to-be-selected landing quantum set Sub-decision tree
    所述根据所述分析结果确定对应的待启用策略,通过所述待启用策略进行自动化运维之后,所述处理器还用于执行如下步骤:After the corresponding strategy to be activated is determined according to the analysis result, and after the automated operation and maintenance is performed through the strategy to be activated, the processor is further configured to execute the following steps:
    在接收到用户输入的修改指令时,根据所述修改指令确定对应的待修改策略;When receiving the modification instruction input by the user, determine the corresponding strategy to be modified according to the modification instruction;
    在所述待修改策略与所述待启用策略不同时,在所述待选用子决策树中确定与所述待启用策略对应的目标子决策树;When the strategy to be modified is different from the strategy to be activated, determining a target sub-decision tree corresponding to the strategy to be activated in the sub-decision tree to be selected;
    对所述目标子决策树中的权重值进行调整,以获得新的目标子决策树。The weight value in the target sub-decision tree is adjusted to obtain a new target sub-decision tree.
  15. 如权利要求11所述的存储介质,其中,所述通过预设监控接口获得与所述报告类型对应的当前运维数据,包括:11. The storage medium of claim 11, wherein the obtaining the current operation and maintenance data corresponding to the report type through a preset monitoring interface comprises:
    通过调用与预设监控子***对应的预设监控接口以生成与所述预设监控子***对应的模拟登陆请求;Generating a simulated login request corresponding to the preset monitoring subsystem by calling the preset monitoring interface corresponding to the preset monitoring subsystem;
    将所述报告类型对应的各历史数据类型写入所述模拟登陆请求中;Write each historical data type corresponding to the report type into the simulated login request;
    将所述模拟登陆请求发送至所述预设监控子***,以使所述预设监控子***根据所述历史数据类型进行模拟登陆操作,并爬取所述预设监控子***响应于所述模拟登陆操作生成的当前运维数据。Send the simulated login request to the preset monitoring subsystem, so that the preset monitoring subsystem performs a simulated login operation according to the historical data type, and crawls the preset monitoring subsystem in response to the The current operation and maintenance data generated by the simulated login operation.
  16. 一种自动化分析装置,其中,所述自动化分析装置包括:An automated analysis device, wherein the automated analysis device includes:
    报告类型确定模块,用于在接收到自动化分析请求时,根据所述自动化分析请求确定对应的报告类型;The report type determining module is configured to determine the corresponding report type according to the automated analysis request when an automated analysis request is received;
    历史数据采集模块,用于采集与所述报告类型对应的历史报告数据;The historical data collection module is used to collect historical report data corresponding to the report type;
    运维数据采集模块,用于通过预设监控接口获得与所述报告类型对应的当前运维数据;Operation and maintenance data collection module, configured to obtain current operation and maintenance data corresponding to the report type through a preset monitoring interface;
    数据分析模块,用于将所述历史报告数据作为基准对所述当前运维数据进行数据分析,以获得分析结果;A data analysis module, configured to perform data analysis on the current operation and maintenance data using the historical report data as a reference to obtain an analysis result;
    自动化运维模块,用于根据所述分析结果确定对应的待启用策略,通过所述待启用策略进行自动化运维;The automated operation and maintenance module is configured to determine the corresponding strategy to be activated according to the analysis result, and perform automated operation and maintenance through the strategy to be activated;
    其中,报告生成模块,用于将所述当前运维数据与所述待启用策略导入与所述报告类型对应的预设报告模板中,以生成当前生产报告;Wherein, the report generation module is configured to import the current operation and maintenance data and the strategy to be activated into a preset report template corresponding to the report type to generate a current production report;
    其中,历史类型确定模块,用于确定所述历史报告数据中记录的历史数据类型;Wherein, the historical type determining module is used to determine the historical data type recorded in the historical report data;
    所述运维数据采集模块,还用于通过预设监控接口获得与所述历史数据类型对应的当前运维数据;The operation and maintenance data collection module is further configured to obtain current operation and maintenance data corresponding to the historical data type through a preset monitoring interface;
    登录量读取模块,用于读取所述当前运维数据中的当前登录量信息;The login amount reading module is used to read the current login amount information in the current operation and maintenance data;
    所述数据分析模块,还用于将所述历史报告数据中的历史登录量信息作为基准对所述当前运维数据中的当前登录量信息进行数据分析,以获得分析结果。The data analysis module is further configured to use the historical login amount information in the historical report data as a reference to perform data analysis on the current login amount information in the current operation and maintenance data to obtain an analysis result.
  17. 如权利要求16所述的自动化分析装置,其中,所述数据分析模块,还用于读取所述历史报告数据中的历史登录量信息,并确定与所述历史登录量信息对应的历史登录量区间;将所述历史登录量区间与所述当前登录量信息进行比较,以获得比较结果;The automated analysis device according to claim 16, wherein the data analysis module is further configured to read historical log-in amount information in the historical report data, and determine the historical log-in amount corresponding to the historical log-in amount information Interval; comparing the historical login amount interval with the current login amount information to obtain a comparison result;
    所述自动化运维模块,还用于从所述历史报告数据中的各历史策略中确定与所述比较结果对应的历史策略,并将与所述比较结果对应的历史策略作为待启用策略,通过所述待启用策略进行自动化运维。The automated operation and maintenance module is also used to determine the historical strategy corresponding to the comparison result from each historical strategy in the historical report data, and use the historical strategy corresponding to the comparison result as the strategy to be activated by The strategy to be activated performs automated operation and maintenance.
  18. 如权利要求16所述的自动化分析装置,其中,所述数据分析模块,还用于根据所述历史报告数据中的历史登录量信息在预设分类器下构建出各待选取登陆量子集;The automated analysis device according to claim 16, wherein the data analysis module is further configured to construct each quantum set to be selected for login under a preset classifier according to the historical login amount information in the historical report data;
    通过所述待选取登陆量子集分别构建对应的待选用子决策树;Respectively constructing corresponding sub-decision trees to be selected through the quantum set to be selected for landing;
    将所述当前运维数据中的当前登录量信息代入所述待选用子决策树中,以获得与所述待选用子决策树对应的各子判断结果;Substituting the current login amount information in the current operation and maintenance data into the sub-decision tree to be selected to obtain each sub-judgment result corresponding to the sub-decision tree to be selected;
    从所述子判断结果中选取目标子判断结果,并将所述目标子判断结果作为分析结果。The target sub-judgment result is selected from the sub-judgment results, and the target sub-judgment result is used as the analysis result.
  19. 如权利要求18所述的自动化分析装置,其中,决策树选定模块,用于通过所述待选取登陆量子集对预设子决策树模型中的权重值进行调整,并将所述权重值调整后的预设子决策树模型作为与所述待选取登陆量子集对应的待选用子决策树;The automated analysis device of claim 18, wherein the decision tree selection module is configured to adjust the weight value in the preset sub-decision tree model through the to-be-selected login quantum set, and adjust the weight value The latter preset sub-decision tree model is used as the to-be-selected sub-decision tree corresponding to the to-be-selected landing quantum set;
    决策树调整模块,用于在接收到用户输入的修改指令时,根据所述修改指令确定对应的待修改策略;在所述待修改策略与所述待启用策略不同时,在所述待选用子决策树中确定与所述待启用策略对应的目标子决策树;对所述目标子决策树中的权重值进行调整,以获得新的目标子决策树。The decision tree adjustment module is configured to determine the corresponding strategy to be modified according to the modification instruction when the modification instruction input by the user is received; when the strategy to be modified is different from the strategy to be activated, select the child The target sub-decision tree corresponding to the strategy to be activated is determined in the decision tree; the weight value in the target sub-decision tree is adjusted to obtain a new target sub-decision tree.
  20. 如权利要求16所述的自动化分析装置,其中,所述运维数据采集模块,还用于通过调用与预设监控子***对应的预设监控接口以生成与所述预设监控子***对应的模拟登陆请求;将所述报告类型对应的各历史数据类型写入所述模拟登陆请求中;将所述模拟登陆请求发送至所述预设监控子***,以使所述预设监控子***根据所述历史数据类型进行模拟登陆操作,并爬取所述预设监控子***响应于所述模拟登陆操作生成的当前运维数据。 The automated analysis device according to claim 16, wherein the operation and maintenance data collection module is further configured to generate a preset monitoring interface corresponding to the preset monitoring subsystem by calling a preset monitoring interface corresponding to the preset monitoring subsystem Simulate login request; write each historical data type corresponding to the report type into the simulated login request; send the simulated login request to the preset monitoring subsystem, so that the preset monitoring subsystem is based on The historical data type performs a simulated login operation, and crawls the current operation and maintenance data generated by the preset monitoring subsystem in response to the simulated login operation. To
PCT/CN2019/122685 2019-06-19 2019-12-03 Automated analysis method and device, user equipment, and storage medium WO2020253135A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910539817.9 2019-06-19
CN201910539817.9A CN110428127B (en) 2019-06-19 2019-06-19 Automatic analysis method, user equipment, storage medium and device

Publications (1)

Publication Number Publication Date
WO2020253135A1 true WO2020253135A1 (en) 2020-12-24

Family

ID=68408482

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/122685 WO2020253135A1 (en) 2019-06-19 2019-12-03 Automated analysis method and device, user equipment, and storage medium

Country Status (2)

Country Link
CN (1) CN110428127B (en)
WO (1) WO2020253135A1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114266324A (en) * 2021-12-30 2022-04-01 智慧眼科技股份有限公司 Model visualization modeling method and device, computer equipment and storage medium
CN114418512A (en) * 2021-10-18 2022-04-29 国网安徽省电力有限公司马鞍山供电公司 Automatic inspection system for information system of power enterprise
CN115277692A (en) * 2022-06-21 2022-11-01 华北电力科学研究院有限责任公司 Automatic operation and maintenance method, device and system for edge network computing terminal equipment
CN115408499A (en) * 2022-11-02 2022-11-29 思创数码科技股份有限公司 Automatic analysis and interpretation method and system for government affair data analysis report chart
CN115484138A (en) * 2022-09-13 2022-12-16 重庆邮电大学 Operation and maintenance tool rapid customization development method and system

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110428127B (en) * 2019-06-19 2022-04-15 深圳壹账通智能科技有限公司 Automatic analysis method, user equipment, storage medium and device
CN111161824A (en) * 2019-12-20 2020-05-15 苏州赛美科基因科技有限公司 Automatic report interpretation method and system
CN111209179A (en) * 2020-04-23 2020-05-29 成都四方伟业软件股份有限公司 Method, device and system for collecting and analyzing system operation and maintenance data
CN114301654A (en) * 2021-12-22 2022-04-08 山石网科通信技术股份有限公司 Report file processing method and device, storage medium and processor

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070294406A1 (en) * 2006-06-16 2007-12-20 Myles Suer Automated service level management system
CN108241565A (en) * 2016-12-26 2018-07-03 航天信息股份有限公司 A kind of system and method for being used to implement application system automation O&M
CN109743204A (en) * 2018-12-28 2019-05-10 肇庆学院 A kind of intelligence operational system
CN109800127A (en) * 2019-01-03 2019-05-24 众安信息技术服务有限公司 A kind of system fault diagnosis intelligence O&M method and system based on machine learning
CN110428127A (en) * 2019-06-19 2019-11-08 深圳壹账通智能科技有限公司 Automated analysis method, user equipment, storage medium and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070294406A1 (en) * 2006-06-16 2007-12-20 Myles Suer Automated service level management system
CN108241565A (en) * 2016-12-26 2018-07-03 航天信息股份有限公司 A kind of system and method for being used to implement application system automation O&M
CN109743204A (en) * 2018-12-28 2019-05-10 肇庆学院 A kind of intelligence operational system
CN109800127A (en) * 2019-01-03 2019-05-24 众安信息技术服务有限公司 A kind of system fault diagnosis intelligence O&M method and system based on machine learning
CN110428127A (en) * 2019-06-19 2019-11-08 深圳壹账通智能科技有限公司 Automated analysis method, user equipment, storage medium and device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114418512A (en) * 2021-10-18 2022-04-29 国网安徽省电力有限公司马鞍山供电公司 Automatic inspection system for information system of power enterprise
CN114266324A (en) * 2021-12-30 2022-04-01 智慧眼科技股份有限公司 Model visualization modeling method and device, computer equipment and storage medium
CN115277692A (en) * 2022-06-21 2022-11-01 华北电力科学研究院有限责任公司 Automatic operation and maintenance method, device and system for edge network computing terminal equipment
CN115484138A (en) * 2022-09-13 2022-12-16 重庆邮电大学 Operation and maintenance tool rapid customization development method and system
CN115408499A (en) * 2022-11-02 2022-11-29 思创数码科技股份有限公司 Automatic analysis and interpretation method and system for government affair data analysis report chart

Also Published As

Publication number Publication date
CN110428127B (en) 2022-04-15
CN110428127A (en) 2019-11-08

Similar Documents

Publication Publication Date Title
WO2020253135A1 (en) Automated analysis method and device, user equipment, and storage medium
WO2020233077A1 (en) System service monitoring method, device, and apparatus, and storage medium
WO2020215681A1 (en) Indication information generation method and apparatus, terminal, and storage medium
WO2020015067A1 (en) Data acquisition method, device, equipment and storage medium
WO2020034526A1 (en) Quality inspection method, apparatus, device and computer storage medium for insurance recording
WO2020147385A1 (en) Data entry method and apparatus, terminal and computer-readable storage medium
WO2020253034A1 (en) Client buried point test method, apparatus and device, and storage medium
WO2020006852A1 (en) Travel expenses self-service reimbursement verification processing method, apparatus and device, and computer storage medium
WO2020147396A1 (en) Method for dynamically configuring service domain name, device, apparatus, and storage medium
WO2019037196A1 (en) Method and device for task assignment, and computer-readable storage medium
WO2018120681A1 (en) Data synchronization method, device and system, data processing server, and storage medium
WO2020077832A1 (en) Cloud desktop access method, apparatus and device, and storage medium
WO2020224246A1 (en) Block chain-based data management method and apparatus, device and storage medium
WO2020233060A1 (en) Event notification method and apparatus, event notification server, and storage medium
WO2020253112A1 (en) Test strategy acquisition method, device, terminal, and readable storage medium
WO2020015064A1 (en) System fault processing method, apparatus, device and storage medium
WO2020073495A1 (en) Artificial intelligence-based reexamination method, apparatus, and device, and storage medium
WO2020119115A1 (en) Data verification method, device, apparatus, and storage medium
WO2020015060A1 (en) Power consumption anomaly estimation method and apparatus, device, and computer storage medium
WO2015178600A1 (en) Speech recognition method and apparatus using device information
WO2021012481A1 (en) System performance monitoring method and apparatus, device, and storage medium
WO2020253116A1 (en) Batch data execution method, device, storage medium, and member host in cluster
WO2020087981A1 (en) Method and apparatus for generating risk control audit model, device and readable storage medium
EP3756145A1 (en) Electronic apparatus and control method thereof
WO2012155709A1 (en) A method, system and storage medium for pushing user&#39;s personal label dynamically

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19933370

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19933370

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 25.03.2022)

122 Ep: pct application non-entry in european phase

Ref document number: 19933370

Country of ref document: EP

Kind code of ref document: A1