Business availability monitoring device and method of cost control system and electronic equipment

By introducing an automated testing framework and operation and maintenance module in the cost control system, real-time monitoring and automated operation and maintenance of the system are achieved, the shortcomings of manual inspection in the existing technology are solved, and the stability and availability of the system are improved.

CN120045416APending Publication Date: 2025-05-27BEIJING HESI HUIZHI INFORMATION TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510149589.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-11
Publication Date
2025-05-27

AI Technical Summary

Technical Problem

The business availability monitoring and operation and maintenance of existing cost control systems mainly relies on manual inspection and customer feedback, and there are problems such as failure to detect system problems in a timely manner, being affected by subjective factors, and being low in accuracy.

Method used

It provides a business availability monitoring device for a cost control system, including a timing scheduling module, an automated test framework, a data collection and storage module, an early warning notification module and an automatic operation and maintenance module. Through the automated test framework, it regularly executes pages and interfaces to automatically test cases, collects execution process data and result data, obtains business availability indicators, and sends early warning notifications when the indicator is below the set threshold and executes automated operation and maintenance scripts.

Benefits of technology

Real-time monitoring and automated operation and maintenance of the cost control system are realized, system problems are discovered and dealt with in a timely manner, system stability and availability are ensured, and subjective impact and error rate of manual inspection are reduced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120045416A_ABST
    Figure CN120045416A_ABST
Patent Text Reader

Abstract

The invention provides a service availability monitoring device and method for a cost control system and electronic equipment. The service availability monitoring device comprises an automatic test framework, a service availability monitoring framework and a service availability monitoring framework, wherein the automatic test framework is used for configuring a page automatic test case and an interface automatic test case according to a service scene of the cost control system; the timed scheduling module is used for regularly executing the page automatic test case and the interface automatic test case through the automatic test framework; the data collection and storage module is used for collecting execution process data and execution result data of the automatic test case, and obtaining and storing an index value of a service availability index of a service scene; the early warning notification module is used for sending an early warning notification when the index value of the service availability index is lower than a set threshold value; and the automatic operation and maintenance module is used for carrying out troubleshooting and positioning according to the early warning notification, and executing an automatic operation and maintenance script. According to the invention, real-time monitoring and automatic operation and maintenance can be carried out on the cost control system, system problems can be found and processed in time, and the stability and availability of the system are ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of system monitoring and operation and maintenance, and in particular, to a business availability monitoring device, method and electronic device for an expense control system. Background Art

[0002] With the continuous development of enterprise informatization construction, the expense control system (FCS) plays an increasingly important role in enterprise management. With the progress of technology, the functions and application scope of the expense control system have been continuously expanded, not only limited to the financial management field, but also integrated with other enterprise management systems such as ERP, CRM, OA, etc., forming a more comprehensive and in-depth enterprise resource planning system. This makes the expense control system an indispensable part of enterprise management and plays a key role in enhancing enterprise competitiveness and market adaptability. With the development of technology and the increase of enterprise requirements, the functions of the expense control system have become more and more complex. Therefore, the stability and availability of the expense control system directly affect the operation efficiency of the enterprise. The existing business availability monitoring and operation and maintenance of the expense control system mainly rely on manual inspection and customer feedback, and there are problems such as inability to detect system problems in time, being affected by subjective factors, and low accuracy. Summary of the Invention

[0003] In view of this, the purpose of the present invention is to provide a business availability monitoring device, method and electronic device for an expense control system, which can perform real-time monitoring and automated operation and maintenance on the expense control system, timely discover and handle system problems, and ensure the stability and availability of the system.

[0004] To achieve the above purpose, the technical solution adopted by the present invention is as follows:

[0005] In the first aspect, the present invention provides a business availability monitoring device for an expense control system, including: a timing scheduling module, an automated test framework, a data collection and storage module, a warning notification module, and an automatic operation and maintenance module; the automated test framework is used to configure page automated test cases and interface automated test cases according to the business scenarios of the expense control system; the timing scheduling module is used to regularly execute page automated test cases and interface automated test cases through the automated test framework; the data collection and storage module is used to collect the execution process data and execution result data of the page automated test cases and interface automated test cases, and obtain and store the index values of the business availability indicators of the business scenarios based on the execution process data and execution result data; the warning notification module is used to send a warning notification in real time when the index value of the business availability indicator is lower than the set threshold; the automatic operation and maintenance module is used to perform fault troubleshooting and location according to the warning notification and execute an automated operation and maintenance script.

[0006] Optionally, the data collection and storage module is further configured to collect and store the operation data of the basic system components of the expense control system.

[0007] Optionally, it further includes: a data cockpit, configured to perform statistical analysis and visual display on the business availability metrics of the business scenario and the operation data of the basic system components of the expense control system, and generate a business availability report.

[0008] Optionally, the data cockpit is further configured to optimize and upgrade the expense control system according to the business availability report.

[0009] Optionally, the timed scheduling module adopts the xxjob distributed task scheduling platform, and is further configured to monitor the execution progress of the page automation test cases and interface automation test cases, and view the task logs.

[0010] In a second aspect, the present invention provides a method for monitoring the business availability of an expense control system, which is applied to the business availability monitoring device of the expense control system according to any one of the first aspect, and includes: configuring page automation test cases and interface automation test cases according to the business scenario of the expense control system; timing the execution of the page automation test cases and interface automation test cases through an automation test framework; collecting the execution process data and execution result data of the page automation test cases and interface automation test cases, and obtaining and storing the business availability metrics of the business scenario based on the execution process data and execution result data; when the business availability metrics are lower than the set threshold, sending a warning notification in real time; performing fault troubleshooting and location according to the warning notification, and executing an automated operation and maintenance script.

[0011] Optionally, it further includes: collecting and storing the operation data of the basic system components of the expense control system.

[0012] Optionally, it further includes: performing statistical analysis and visual display on the business availability metrics of the business scenario and the operation data of the basic system components of the expense control system, and generating a business availability report.

[0013] In a third aspect, the present invention provides an electronic device, including a processor and a memory, where the memory stores computer executable instructions that can be executed by the processor, and the processor executes the computer executable instructions to implement the steps of the method according to any one of the second aspect.

[0014] In a fourth aspect, the present invention provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is run by a processor, it executes the steps of the method according to any one of the second aspect.

[0015] The present invention brings the following beneficial effects:

[0016] The business availability monitoring device, method and electronic device of the above-mentioned cost control system provided by the present invention include: a timing scheduling module, an automated test framework, a data collection and storage module, a warning notification module and an automatic operation and maintenance module; the automated test framework is used to configure page automated test cases and interface automated test cases according to the business scenarios of the cost control system; the timing scheduling module is used to execute the page automated test cases and interface automated test cases regularly through the automated test framework; the data collection and storage module is used to collect the execution process data and execution result data of the page automated test cases and interface automated test cases, and obtain and store the index values of the business availability indicators of the business scenarios based on the execution process data and execution result data; the warning notification module is used to send a warning notification in real time when the index value of the business availability indicator is lower than the set threshold; the automatic operation and maintenance module is used to perform fault troubleshooting and positioning according to the warning notification and execute the automated operation and maintenance script. The above device can regularly execute page automated test cases and interface automated test cases through the automated test framework, collect the execution process data and execution result data of the automated test cases, obtain the business availability indicators, and when the business availability indicators are lower than the set threshold, it can send a warning notification and trigger the execution of the automated operation and maintenance script, so as to be able to monitor the cost control system in real time and perform automatic operation and maintenance, discover and handle system problems in time, and ensure the stability and availability of the system.

[0017] Other features and advantages of the present invention will be described in the following specification, and, in part, will be obvious from the specification, or will be understood by implementing the present invention. The objectives and other advantages of the present invention are realized and obtained by the structures specifically pointed out in the specification, claims and drawings.

[0018] In order to make the above objectives, features and advantages of the present invention more obvious and understandable, the following specifically gives preferred embodiments and, in conjunction with the accompanying drawings, the detailed description is as follows. Description of the Drawings

[0019] In order to more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the following will briefly introduce the drawings required for use in the description of the specific embodiments or the prior art. Obviously, the following drawings are some embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.

[0020] Figure 1 Schematic structural diagram of a business availability monitoring device for a cost control system provided by an embodiment of the present invention;

[0021] Figure 2 Schematic structural diagram of another business availability monitoring device for a cost control system provided by an embodiment of the present invention;

[0022] Figure 3 This is a flowchart of a method for monitoring the business availability of a cost control system provided by an embodiment of the present invention;

[0023] Figure 4 This is a processing flowchart for monitoring the business availability of a cost control system provided by an embodiment of the present invention;

[0024] Figure 5 This is a schematic structural diagram of an electronic device provided by an embodiment of the present invention.

[0025] Icon:

[0026] 11 - Timing scheduling module; 12 - Automated test framework; 13 - Data collection and storage module; 14 - Early warning notification module; 15 - Automatic operation and maintenance module; 16 - Data cockpit. Detailed implementation manners

[0027] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings. Apparently, the described embodiments are some, but not all, of the embodiments of the present invention. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.

[0028] Currently, with the development of technology and the increase in enterprise requirements, the functions of cost control systems have become increasingly complex. Therefore, the stability and availability of cost control systems directly affect the operation efficiency of enterprises. The current monitoring and operation and maintenance of the business availability of cost control systems mainly rely on manual inspections and customer feedback, and there are the following problems: (1) Low inspection efficiency, unable to detect system problems and early warning notifications in real time; (2) Manual inspections are easily affected by subjective factors and have low accuracy; (3) It is difficult to achieve comprehensive monitoring of complex business scenarios; (4) Unable to achieve automated operation and maintenance; (5) Unable to trace historical monitoring data to provide reference for subsequent system optimization.

[0029] Based on this, a business availability monitoring device, method, and electronic device for a cost control system provided by an embodiment of the present invention can perform real-time monitoring and automated operation and maintenance on the cost control system, timely discover and handle system problems, and ensure the stability and availability of the system.

[0030] For ease of understanding of this embodiment, first, a business availability monitoring device for a cost control system disclosed in an embodiment of the present invention will be introduced in detail. Refer to Figure 1Schematic diagram of the structure of a business availability monitoring device for a cost control system, showing that the device mainly includes the following parts: a timing scheduling module 11, an automated testing framework 12, a data collection and storage module 13, a warning notification module 14, and an automatic operation and maintenance module 15.

[0031] Among them, the automated testing framework 12 is used to configure page automated test cases and interface automated test cases according to the business scenarios of the cost control system. Specifically, the cost control system is abbreviated as the FC system, which can realize the full-process digital cost control management of "application, consumption, reimbursement, reconciliation, accounting, archiving, and reporting", and automatically collect and transfer consumption data in multiple scenarios such as business trips, vehicle use, catering, and office procurement. The business scenarios at least include: project cost application / reimbursement, business trip cost application / reimbursement, office cost application / reimbursement, invoice recognition, etc.

[0032] In the embodiment of the present invention, programming languages such as Python and Java can be used, combined with automated testing tools such as Selenium and Appium, to build an automated testing framework 12, and efficiently write and implement page automated test cases and scripts, as well as interface automated test cases and scripts.

[0033] The timing scheduling module 11 is used to periodically execute page automated test cases and interface automated test cases through the automated testing framework. Specifically, in the embodiment of the present invention, an xxjob distributed task scheduling platform can be used to periodically execute page automated test cases and interface automated test cases through the automated testing framework. It can also monitor the execution progress of page automated test cases and interface automated test cases, and view task logs.

[0034] The data collection and storage module 13 is used to collect the execution process data and execution result data of page automated test cases and interface automated test cases, and obtain and store the business availability indicators of business scenarios based on the execution process data and execution result data. Specifically, in the embodiment of the present invention, the data collection and storage module 13 can collect and store the execution process data and execution result data of page automated test cases and interface automated test cases in real time, and obtain and store the business availability indicators of business scenarios. It can also collect and store the operation data of the basic system components of the cost control system.

[0035] In the embodiment of the present invention, the business availability indicators of business scenarios include: (1) Quantitative indicators, including but not limited to: page loading time, interface call time, page response speed, interface response speed, average time required for users to complete the system functions corresponding to the business scenario, number of errors and error locations during user operations, consumption of resources (network resources, computing resources, etc.), etc.;

[0036] (2) Qualitative indicators, including but not limited to: ease of page navigation, clarity and readability of page content, error prevention and recovery mechanisms, accessibility (for example, screen reader support for visually impaired users), usability (for example, evaluating usability based on the severity of the problem (for example, blocking, serious, normal, minor, etc.)) and classification of problems (for example, function, interface, interaction, information architecture, etc.). Specifically, the AI ​​model can be used to analyze the execution process data and the execution result data, and a weighted scoring algorithm can be used to calculate the index value of the business availability index of the business scenario. The index value of the business availability index is the weighted sum of the scores corresponding to the above indicators, and different indicators correspond to different weights. The AI ​​model also outputs the scores corresponding to the above indicators to facilitate the subsequent generation of business availability reports and optimization of cost control systems.

[0037] The early warning notification module 14 is used to send an early warning notification in real time when the service availability index is lower than a set threshold. Specifically, in the embodiment of the present invention, the early warning notification module 14 can integrate message sending channels such as DingTalk, Enterprise WeChat, and Feishu, and send an early warning notification in real time when the service availability index of the business scenario of the cost control system is lower than the set threshold.

[0038] The automatic operation and maintenance module 15 is used to perform fault troubleshooting and location according to the early warning notification, and execute the automatic operation and maintenance script. Specifically, in the embodiment of the present invention, the automatic operation and maintenance module 15 can integrate the automatic operation and maintenance script commonly used in the cost control system, perform fault troubleshooting and location according to the monitoring results of the business availability indicators (i.e., early warning notifications), and automatically run the automatic operation and maintenance script to realize the automatic operation and maintenance of the system.

[0039] In specific implementation, the priority of fault repair can be determined according to the severity of the fault and the scope of impact, and the automated operation and maintenance script can be executed to repair the fault according to the priority; the severity of the fault is proportional to the index value of the business availability index. The larger the index value, the higher the severity, the higher the priority, and the earlier it is repaired; the scope of impact is proportional to the number of pages and / or interfaces affected by the fault. The larger the number, the wider the impact, the higher the priority, and the earlier it is repaired; the pages and / or interfaces affected by the fault are determined by the dependency relationship between the pages and / or interfaces.

[0040] The business availability monitoring device of the above-mentioned cost control system provided by the embodiment of the present invention can periodically execute page automation test cases and interface automation test cases through the automation test framework, and collect the execution process data and execution result data of the automation test cases to obtain business availability indicators. When the business availability indicator is lower than the set threshold, it can send an early warning notification and trigger the execution of the automation operation and maintenance script, so as to perform real-time monitoring and automation operation and maintenance of the cost control system, timely discover and handle system problems, and ensure the stability and availability of the system.

[0041] Further, referring to Figure 2 As shown, the business availability monitoring device of the above-mentioned cost control system further includes: a data cockpit 16, which is used to statistically analyze and visually display the business availability indicators of the business scenario and the operation data of the basic system components of the cost control system, and generate a business availability report; and is also used to optimize and upgrade the cost control system according to the business availability report.

[0042] In the embodiment of the present invention, the data cockpit 16 is a data visualization and analysis tool, which can realize the analysis, processing and custom display of business monitoring data (i.e., business availability indicators and operation data), and generate a business availability report. Specifically, first, the collected business monitoring data (such as system response time, request success rate, error rate, etc.) is cleaned and preprocessed, such as outlier detection and processing, missing value filling, data format conversion, data aggregation, etc.; then tools such as the pandas library of Python, R language, SQL query, etc. are used to perform data analysis tasks, such as time series analysis to discover trends and periodic patterns; classification analysis to identify factors causing performance degradation; clustering analysis, etc.; then visualization tools such as Grafana, Tableau, etc. are used to display the analysis results in the form of charts; finally, the above analysis results are integrated into an easy-to-understand business availability report. The report may include: business overview: the basic situation of the business, such as business scale, goals, etc.; monitoring indicators: the adopted monitoring indicators and their importance descriptions; performance analysis: based on the results of data analysis, evaluate the business performance; problem diagnosis: list the problems found during the monitoring process and possible reasons; recommended measures: put forward improvement suggestions according to the analysis results.

[0043] In addition, the cost control system can also be optimized and upgraded according to the business availability report. For example, the corresponding relationship between faults and optimizations can be preset. For example, for page display faults, page optimization is carried out; for user interaction faults, interaction design adjustment and function enhancement are carried out, and so on.

[0044] The business availability monitoring device of the above-mentioned cost control system provided by the embodiment of the present invention can realize the real-time monitoring of the business availability of the cost control system through page and interface automation technology; through automated operations such as automated execution of test cases and automatic operation and maintenance, it reduces manual intervention and improves the monitoring efficiency; the monitoring can cover all business scenarios of the cost control system to ensure no dead ends in monitoring; standardized test cases are adopted to ensure the accuracy of monitoring results; the device supports rapid deployment, reducing the enterprise operation and maintenance cost; it can start an automated operation and maintenance script to realize automatic operation and maintenance according to the monitoring results, improving the stability and reliability of the system; and provides data support for the continuous optimization of the cost control system.

[0045] For the business availability monitoring device of the cost control system provided in the foregoing embodiments, the embodiments of the present invention further provide a method for monitoring the business availability of a cost control system. Refer to Figure 3 The flowchart of a method for monitoring the business availability of a cost control system shown in the figure shows that the method mainly includes the following steps S301 to S305:

[0046] Step S301: Configure page automation test cases and interface automation test cases according to the business scenarios of the cost control system.

[0047] In one implementation, according to the business scenarios of the cost control system, write standardized page (such as: page login, entering the home page, document submission) automation test cases and interface (such as: single sign-on, openapi interface, external integration interface) automation test cases.

[0048] Step S302: Regularly execute page automation test cases and interface automation test cases through an automation test framework.

[0049] In one implementation, based on the xxjob scheduled task framework, regularly execute page automation test cases and interface automation test cases through an automation test framework.

[0050] Step S303: Collect the execution process data and execution result data of page automation test cases and interface automation test cases, and obtain and store the business availability metrics of the business scenarios based on the execution process data and execution result data.

[0051] In one implementation, collect the execution process data and execution result data of automation test cases in real time to obtain the business availability data of the system.

[0052] Step S304: When the business availability metric is lower than the set threshold, send a warning notification in real time.

[0053] In one implementation, when the business availability metric of the system is lower than the set threshold, send a warning notification in real time through message channels such as DingTalk, Enterprise WeChat, and Feishu.

[0054] Step S305: Perform fault troubleshooting and localization according to the warning notification, and execute the automated operation and maintenance script.

[0055] In one implementation, perform fault troubleshooting and localization according to the warning notification, and trigger the execution and processing of the automated operation and maintenance script to ensure the stable operation of the system.

[0056] The business availability monitoring method of the above-mentioned expense control system provided by the embodiments of the present invention can execute page automation test cases and interface automation test cases regularly through an automated test framework, collect the process data and execution result data of the automated test cases, obtain business availability metrics, and when the business availability metrics are lower than the set threshold, it can send early warning notifications and trigger the execution of automated operation and maintenance scripts, so as to be able to monitor the expense control system in real time and perform automated operation and maintenance, discover and handle system problems in time, and ensure the stability and availability of the system.

[0057] In one implementation, the above method further includes: collecting and storing the operation data of the basic system components of the expense control system. In specific implementation, the operation data of the basic system components (servers, k8s clusters, JVM, DB, message components, gateways, etc.) of the expense control system can be collected regularly and stored.

[0058] Furthermore, the above method further includes: statistically analyzing and visually displaying the business availability metrics of the business scenario and the operation data of the basic system components of the expense control system, and generating a business availability report. In specific implementation, the collected monitoring data (business availability metrics and operation data) is statistically analyzed, the data is visually displayed, and a business availability report is generated. In addition, the expense control system can be continuously optimized according to the analysis results.

[0059] For ease of understanding, the embodiments of the present invention also provide a processing flowchart for the business availability monitoring of an expense control system. Refer to Figure 4 as shown, which mainly includes: 1. Preparation of page and interface automation test cases; 2. Regular execution of automation test cases; 3. Data collection and storage; 4. Real-time sending of early warning notifications; 5. Triggering automated operation and maintenance; 6. Using a data cockpit and optimizing the system.

[0060] It should be noted that the method provided by the embodiments of the present invention has the same implementation principle and the same technical effects as those of the foregoing device embodiments. For the sake of brief description, for the parts not mentioned in the method embodiments, reference can be made to the corresponding content in the foregoing device embodiments.

[0061] The embodiments of the present invention also provide an electronic device. Specifically, the electronic device includes a processor and a storage device; a computer program is stored on the storage device, and when the computer program is run by the processor, it executes the method described in any one of the above implementations.

[0062] Figure 5A schematic structural diagram of an electronic device provided by an embodiment of the present invention. The electronic device 100 includes: a processor 50, a memory 51, a bus 52, and a communication interface 53. The processor 50, the communication interface 53, and the memory 51 are connected through the bus 52. The processor 50 is configured to execute an executable module stored in the memory 51, such as a computer program.

[0063] Among them, the memory 51 may include a high-speed random access memory (RAM), and may also include a non-volatile memory, such as at least one disk memory. Through at least one communication interface 53 (which can be wired or wireless), a communication connection is established between this system network element and at least one other network element. The Internet, wide area network, local area network, metropolitan area network, etc. can be used.

[0064] The bus 52 may be an ISA bus, a PCI bus, an EISA bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For the sake of simplicity of representation, Figure 5 only a bidirectional arrow is used in the figure, but it does not mean that there is only one bus or one type of bus.

[0065] Among them, the memory 51 is used to store a program. After receiving an execution instruction, the processor 50 executes the program. The method executed by the device defined by the flow process disclosed in any embodiment of the foregoing embodiments of the present invention can be applied to the processor 50 or implemented by the processor 50.

[0066] The processor 50 may be an integrated circuit chip with the ability to process signals. In the implementation process, each step of the above method can be completed by the integrated logic circuit of the hardware in the processor 50 or the instructions in the form of software. The above-mentioned processor 50 may be a general-purpose processor, including a central processing unit (CPU for short), a network processor (NP for short), etc.; it may also be a digital signal processor (DSP for short), an application specific integrated circuit (ASIC for short), a field-programmable gate array (FPGA for short) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. It can implement or execute the various methods, steps and logic block diagrams disclosed in the embodiments of the present invention. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc. The steps of the method disclosed in combination with the embodiments of the present invention can be directly embodied as being executed and completed by a hardware decoding processor, or executed and completed by a combination of the hardware and software modules in the decoding processor. The software module may be located in a mature storage medium in the art such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. This storage medium is located in the memory 51, and the processor 50 reads the information in the memory 51 and combines its hardware to complete the steps of the above method.

[0067] The computer program product of the readable storage medium provided by the embodiments of the present invention includes a computer-readable storage medium storing program code, and the instructions included in the program code can be used to execute the method described in the foregoing method embodiments. For the specific implementation, reference can be made to the foregoing method embodiments and will not be elaborated here.

[0068] When the above-mentioned functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard disks, read-only memories (ROM, Read-Only Memory), random access memories (RAM, Random Access Memory), magnetic disks, or optical discs.

[0069] Finally, it should be noted that the above-mentioned embodiments are only specific embodiments of the present invention, which are used to illustrate the technical solutions of the present invention, rather than to limit them. The protection scope of the present invention is not limited thereto. Although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that any person skilled in the art within the technical scope disclosed by the present invention can still modify the technical solutions described in the foregoing embodiments or can easily think of changes, or perform equivalent replacements on some of the technical features; and these modifications, changes, or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention and should all be covered by the protection scope of the present invention. Therefore, the protection scope of the present invention should be subject to the protection scope of the claims.

Claims

1. A service availability monitoring device for a cost control system, characterized in that: include: Timing scheduling module, automated testing framework, data collection and storage module, early warning notification module and automatic operation and maintenance module; The automated testing framework is used to configure page automated testing cases and interface automated testing cases according to the business scenarios of the expense control system; The timing scheduling module is used to regularly execute the page automation test cases and the interface automation test cases through the automation test framework; The data collection and storage module is used to collect the execution process data and execution result data of the page automation test cases and the interface automation test cases, and obtain and store the indicator value of the business availability indicator of the business scenario based on the execution process data and execution result data; The warning notification module is used to send a warning notification in real time when the indicator value of the service availability indicator is lower than a set threshold; The automatic operation and maintenance module is used to perform fault troubleshooting and location according to the early warning notification, and execute the automatic operation and maintenance script.

2. The device according to claim 1, characterized in that The data collection and storage module is also used to collect and store the operating data of the basic system components of the cost control system.

3. The device according to claim 2, characterized in that Also includes: The data cockpit is used to statistically analyze and visualize the business availability indicators of the business scenarios and the operating data of the basic system components of the cost control system, and generate a business availability report.

4. The device according to claim 3, characterized in that The data cockpit is also used to optimize and upgrade the cost control system according to the service availability report.

5. The device according to claim 1, characterized in that The timing scheduling module adopts the xxjob distributed task scheduling platform, and is also used to monitor the execution progress of the page automation test cases and interface automation test cases, and to view task logs.

6. A method for monitoring service availability of a cost control system, characterized in that: The service availability monitoring device applied to the cost control system according to any one of claims 1 to 5 comprises: Configure page automation test cases and interface automation test cases according to the business scenarios of the expense control system; Through the automated testing framework, the page automated testing cases and the interface automated testing cases are executed regularly; Collecting the execution process data and execution result data of the page automation test cases and the interface automation test cases, and acquiring and storing the business availability index of the business scenario based on the execution process data and the execution result data; When the service availability indicator is lower than the set threshold, a warning notification is sent in real time; Perform fault troubleshooting and location according to the warning notification, and execute automated operation and maintenance scripts.

7. The method according to claim 6, characterized in that Also includes: The operating data of the basic system components of the cost control system are collected and stored.

8. The method according to claim 7, characterized in that Also includes: The business availability indicators of the business scenarios and the operating data of the basic system components of the cost control system are statistically analyzed and visualized, and a business availability report is generated.

9. An electronic device, characterized in that: The method comprises a processor and a memory, wherein the memory stores computer executable instructions that can be executed by the processor, and the processor executes the computer executable instructions to implement the steps of the method according to any one of claims 6 to 8.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 6 to 8 are performed.