Monitoring method and device, equipment, storage medium and product
The monitoring logic is executed through the indicator assistant platform and the rule engine, and the problem of embedding monitoring logic in the existing technology is solved, and the monitoring function is realized with lightweight and low-risk, and the development cost and production environment risks are reduced.
Patent Information
- Application Number
- CN202411395685.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-08
- Publication Date
- 2025-02-14
AI Technical Summary
When existing projects need to add metric monitoring, monitoring logic needs to be embedded in the project code, which increases the workload and complexity.
In response to the indicator monitoring instructions through the indicator assistant platform, it reads the monitoring logic rules of the current indicator, calls the preset rule engine to execute the monitoring logic, and pushes the monitoring results to the financial transaction cloud platform.
The monitoring logic is stripped out from the engineering code, a low-code platform is built, which simplifies monitoring code, reduces development costs and production environment risks, and realizes real-time notification of alarms and visualization of monitoring indicators.
Smart Images

Figure CN119440941A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of monitoring technology, and in particular to a monitoring method, device, equipment, storage medium and product. Background Art
[0002] At present, there is a business information processing system and method, whose architecture includes a project management component and an operation and maintenance monitoring module. The component receives and interprets input data, builds a comprehensive project overview based on it, and provides an intuitive project association interface to ensure accurate tracking of project progress. These input data deeply depict the project goals, including requirement specifications, expected completion dates, and designated development team members. The development delivery part is dedicated to managing the preset code repository, which generates and executes code corresponding to project requirements, covering the entire life cycle from prototype construction, quality testing to final deployment. The operation and maintenance monitoring module serves as an independent monitoring center, focusing on the operating status after the code is deployed. According to the customized settings of each project, the module triggers notifications, synchronizes status updates, and performs team member management tasks in real time to ensure the efficiency and smoothness of the overall operation.
[0003] However, if existing projects need to add indicator monitoring, they need to embed monitoring logic in the engineering code, which increases the workload and complexity. Summary of the invention
[0004] The main purpose of this application is to provide a monitoring method, device, equipment, storage medium and product, aiming to solve the technical problem that if existing projects need to add indicator monitoring, it is necessary to embed monitoring logic in the engineering code, which increases the workload and complexity.
[0005] To achieve the above purpose, the present application proposes a monitoring method, which is applied to the indicator assistant platform, and the method includes:
[0006] In response to the indicator monitoring instruction, read the monitoring logic rule of the current indicator;
[0007] Call the preset rule engine, execute the corresponding monitoring logic rules in sequence, monitor the current indicators, and obtain the monitoring results;
[0008] The monitoring results are pushed to the financial transaction cloud platform.
[0009] In one embodiment, before the step of reading the monitoring logic rule of the current indicator in response to the indicator monitoring instruction, the step further includes:
[0010] Receive an indicator monitoring instruction sent by the financial transaction cloud platform calling an interface in a preset format on the indicator assistant platform, wherein the indicator monitoring instruction includes: a monitoring name and / or an indicator code of the current indicator, and the indicator monitoring instruction is triggered based on a pre-configured scheduling task.
[0011] In one embodiment, before the step of reading the monitoring logic rule of the current indicator in response to the indicator monitoring instruction, the step further includes:
[0012] In response to the rule configuration instruction, a data source to be monitored is obtained from the business code development platform through a pre-created system tool, the business code development platform is pre-added with data sources to be monitored in different business scenarios, and the system tool is created based on the relevant tables to be monitored in the data sources added on the business code development platform;
[0013] For the data source that needs to be monitored, configure monitoring logic rules in the configuration interface of the indicator assistant platform.
[0014] In one implementation, the monitoring logic rules include: system tool code, indicator format pushed to the financial transaction cloud platform, and specific QLExpress expression logic.
[0015] The present application also proposes a monitoring method, which is applied to a financial transaction cloud platform, and the method comprises:
[0016] Send an indicator monitoring instruction to the indicator assistant platform, so that the indicator assistant platform responds to the indicator monitoring instruction, reads the monitoring logic rules of the current indicator, calls the preset rule engine, executes the corresponding monitoring logic rules in sequence, monitors the current indicator, and obtains the monitoring results;
[0017] Receive the monitoring results sent by the indicator assistant platform.
[0018] In one implementation, the step of sending an indicator monitoring instruction to the indicator assistant platform includes:
[0019] In response to the scheduled arrival of a pre-configured scheduling task, the indicator assistant is called through an interface in a preset format on the indicator assistant platform, and an indicator monitoring instruction is sent to the indicator assistant platform. The indicator monitoring instruction includes: the monitoring name and / or indicator code of the current indicator, and the indicator monitoring instruction is triggered based on the pre-configured scheduling task.
[0020] In one embodiment, the method further comprises:
[0021] When the monitoring result is abnormal, the monitoring result is visualized and / or an alarm is issued according to pre-configured indicator information.
[0022] In one implementation, before the step of sending the indicator monitoring instruction to the indicator assistant platform, the step also includes:
[0023] Configuring indicator information on the financial transaction cloud platform, the indicator information including: indicator display format information;
[0024] Scheduling tasks are configured on the financial transaction cloud platform to achieve regular automatic monitoring.
[0025] The present application also proposes a monitoring method, which is applied to a business code development platform, and the method includes:
[0026] The data source that needs to be monitored is provided to the indicator assistant platform through a pre-created system tool, so that the indicator assistant platform configures monitoring logic rules for the data source that needs to be monitored, and when receiving the indicator monitoring instruction, reads the monitoring logic rules of the current indicator, calls the preset rule engine, executes the corresponding monitoring logic rules in sequence, monitors the current indicator, obtains the monitoring results, and pushes the monitoring results to the financial transaction cloud platform.
[0027] In one embodiment, before the step of providing the indicator assistant platform with the data source to be monitored by the pre-created system tool, the step further includes:
[0028] Add data sources that need to be monitored in different business scenarios on the business code development platform;
[0029] A system tool that creates a database schema based on the relevant tables that need to be monitored in the added data sources.
[0030] In one implementation, the step of providing the indicator assistant platform with the data source to be monitored through the pre-created system tool includes:
[0031] After configuring the data source, the data table in the data source to be monitored is mapped out through the system tool, and the specific data to be monitored is queried from the mapped data table through a custom format.
[0032] The present application also proposes a monitoring device, the device comprising:
[0033] A reading module, used to respond to the indicator monitoring instruction and read the monitoring logic rules of the current indicator;
[0034] The monitoring module is used to call the preset rule engine, execute the corresponding monitoring logic rules in sequence, monitor the current indicators, and obtain the monitoring results;
[0035] The push module is used to push the monitoring results to the financial transaction cloud platform.
[0036] The present application also proposes a monitoring device, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the monitoring method described above.
[0037] The present application also proposes a storage medium, which is a computer-readable storage medium. A computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the monitoring method described above are implemented.
[0038] The present application also proposes a computer program product, which includes a computer program. When the computer program is executed by a processor, the steps of the monitoring method described above are implemented.
[0039] One or more technical solutions proposed in this application have at least the following technical effects: respond to the indicator monitoring instruction through the indicator assistant platform, read the monitoring logic rules of the current indicator; call the preset rule engine, execute the corresponding monitoring logic rules in sequence, monitor the current indicator, and obtain the monitoring results; push the monitoring results to the financial transaction cloud platform. The technical solution of this application separates the monitoring function from the business system, that is, extracts the monitoring logic from the engineering code, pre-builds a low-code platform in the monitoring field, and implements the monitoring function in a lightweight way. The monitoring logic is executed by the rule engine set in the indicator assistant, which simplifies the monitoring code, and the indicator assistant platform does not need to directly connect to the data source, avoiding the complex process of maintaining multiple data sources. Through the system of this application, users can complete indicator monitoring of various business scenarios through rapid configuration, solving the problem that the existing technology needs to integrate monitoring logic in the engineering code, which increases the workload and complexity.
[0040] Compared with the existing technology, the process of putting the monitoring logic into the engineering code is heavier, and the monitoring logic needs to be put online at the same time as the system goes online, which increases the risk of problems in the production environment. If the monitoring logic is put online separately from the system, there will be an additional production process, which will undoubtedly increase the risk of production accidents during the production process. The technical solution of this application can separate the monitoring logic from the engineering code and put it on a lightweight and low-risk platform to implement it through simple configuration, which not only reduces the development cost caused by monitoring, but also reduces the risk of problems in the production environment. It can also use the preset Zhaohu alarm and financial transaction cloud platform to realize real-time notification of alarms and visualization of monitoring indicators. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0042] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0043] Figure 1 A schematic diagram of a flow chart provided for the first embodiment of the monitoring method of the present application;
[0044] Figure 2 This is a schematic diagram of the overall process of an embodiment of the monitoring method of the present application;
[0045] Figure 3 A flowchart of the second embodiment of the monitoring method of the present application is provided;
[0046] Figure 4 This is a schematic diagram of the overall configuration process involved in the monitoring method embodiment of this application;
[0047] Figure 5 A schematic diagram of a flow chart provided for the third embodiment of the monitoring method of the present application;
[0048] Figure 6 A flowchart of the fourth embodiment of the monitoring method of the present application is provided;
[0049] Figure 7 This is a schematic diagram of the module structure of the monitoring device according to an embodiment of the present application;
[0050] Figure 8 A schematic diagram of the device structure of the hardware operating environment involved in the monitoring method in the embodiment of the present application.
[0051] The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0052] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.
[0053] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.
[0054] The main solution of the embodiment of the present application is: respond to the indicator monitoring instruction through the indicator assistant platform, read the monitoring logic rules of the current indicator; call the preset rule engine, execute the corresponding monitoring logic rules in sequence, monitor the current indicator, and obtain the monitoring results; push the monitoring results to the financial transaction cloud platform. The technical solution of the present application separates the monitoring function from the business system, that is, extracts the monitoring logic from the engineering code, pre-builds a low-code platform in the monitoring field, and uses a lightweight method to implement the monitoring function. The monitoring logic is executed by the rule engine set in the indicator assistant, which simplifies the monitoring code, and the indicator assistant platform does not need to directly connect to the data source, avoiding the complex process of maintaining multiple data sources. Through the system of this application, users can complete the indicator monitoring of various business scenarios through rapid configuration, solving the problem that the existing technology needs to integrate the monitoring logic in the engineering code, which increases the workload and complexity.
[0055] Compared with the existing technology, the process of putting the monitoring logic into the engineering code is heavier, and the monitoring logic needs to be put online at the same time as the system goes online, which increases the risk of problems in the production environment. If the monitoring logic is put online separately from the system, there will be an additional production process, which will undoubtedly increase the risk of production accidents during the production process. The technical solution of this application can separate the monitoring logic from the engineering code and put it on a lightweight and low-risk platform to implement it through simple configuration, which not only reduces the development cost caused by monitoring, but also reduces the risk of problems in the production environment. It can also use the preset Zhaohu alarm and financial transaction cloud platform to realize real-time notification of alarms and visualization of monitoring indicators.
[0056] In the business information processing system architecture in the prior art, if it is necessary to add indicator monitoring to an existing project, it is necessary to embed the monitoring logic in the engineering code, which increases the workload and complexity.
[0057] Accordingly, the embodiment of the present application provides a solution that can solve the technical problem that if existing projects need to add indicator monitoring, they need to embed monitoring logic in the engineering code, which increases the workload and complexity. The technical solution of the present application can separate the monitoring logic from the engineering code and put it on a lightweight and low-risk platform to be implemented through simple configuration, which not only reduces the development cost caused by monitoring, but also reduces the risk of problems in the production environment. Furthermore, with the help of preset Zhaohu alarms and financial transaction cloud platforms, real-time notification of alarms and visualization of monitoring indicators can be realized.
[0058] In the embodiment of the present application, the monitoring system architecture involved may mainly include: an indicator assistant platform, a business code development platform, and a financial transaction cloud platform, wherein:
[0059] The indicator assistant platform is mainly used to perform indicator monitoring operations. The indicator assistant application software, rule engine and monitoring logic rules of each indicator are configured on the indicator assistant platform. The monitoring logic rules can be configured through the indicator assistant page. The indicator assistant provides an operational configuration interface, where you can configure ghostCode (system tool code), the indicator format pushed to the financial transaction cloud platform, the specific QLExpress expression logic and other information. In this way, the monitoring logic can be extracted from the engineering code, and a low-code platform in the monitoring field can be built.
[0060] The business code development platform is a low-code development platform. The data sources that need to be monitored are added to the business code development platform. Here, the ghost (system tool) provided by the business code development platform is used to support multiple data sources. A variety of different data sources are directly connected through the business code development platform, so that the indicator assistant platform is exempted from the process of maintaining multiple data sources, and the existing organizational-level capabilities are fully reused to make the indicator assistant more lightweight. Among them, in the business code development platform, ghost is created based on the relevant tables that need to be monitored in the added data source. After configuring the data source, you can map out the specific tables under the data source that need to be monitored by creating a ghost in the "database" mode of the business code development platform. At the same time, you can use the "custom sql" function in ghost to query the specific data that needs to be monitored in a custom format.
[0061] The financial transaction cloud platform mainly configures scheduling tasks, indicator information, and issues indicator monitoring instructions. Among them, the configuration of indicator information on the financial transaction cloud platform is mainly because each monitoring implemented by the indicator assistant will eventually be pushed to the financial transaction cloud platform for display, so it is necessary to configure the display format information on the financial transaction cloud platform, such as the number of columns, column names, indicator names, etc.
[0062] In addition, you can configure the unified log platform and the Benliu platform on the financial transaction cloud platform, and configure the log monitoring rules and the alarm information that needs to be pushed to Zhaohu on the unified log platform. The indicator assistant can support custom log printing. You can print the alarm log in the log monitoring rule, and then use the existing monitoring rule configuration of the unified log platform and the Zhaohu alarm push function to achieve real-time alarm and monitoring. Configure scheduling tasks on the Benliu platform to achieve scheduled automatic monitoring. The indicator assistant provides an API in a unified format. You can call the indicator assistant by passing in the monitoring name configured by the Benliu platform and the indicator code of the financial transaction cloud platform to monitor the data.
[0063] It should be noted that the unified log platform and the Benliu platform can also be set up independently, and this embodiment does not make specific limitations on this.
[0064] It should be noted that the executor of the method of the embodiment of the present application can be a computing service device with data processing, network communication and program running functions, such as mobile terminals such as tablets and mobile phones or fixed devices such as servers, or a device, system, electronic device, etc. that can realize the above functions.
[0065] Based on the above monitoring system architecture, an embodiment of the method of the present application is proposed to realize the monitoring of business data indicators.
[0066] The present application embodiment provides a monitoring method, referring to Figure 1 , Figure 1 This is a flow chart of the first embodiment of the monitoring method of the present application.
[0067] In this embodiment, the monitoring method includes steps S10 to S30, each of which is explained in detail below.
[0068] like Figure 1 As shown, the first embodiment of the present application proposes a monitoring method, which is applied to the indicator assistant platform, and the method includes:
[0069] Step S10, in response to the indicator monitoring instruction, reading the monitoring logic rule of the current indicator;
[0070] Among them, the monitoring object in this embodiment can be project data in various business scenarios, which is mainly used in the financial field, but not limited to the financial field.
[0071] The technical solution of this embodiment is mainly proposed for projects in different business scenarios where it may be necessary to add indicator monitoring.
[0072] In the prior art, if a project needs to add indicator monitoring, it is necessary to embed the monitoring logic in the engineering code, which increases the workload and complexity.
[0073] The technical solution of this embodiment can separate the monitoring logic from the engineering code and put it on a lightweight and low-risk platform for simple configuration, which not only reduces the development cost caused by monitoring, but also reduces the risk of problems in the production environment. It can also use the preset Zhaohu alarm and financial transaction cloud platform to achieve real-time notification of alarms and visualization of monitoring indicators. It can solve the technical problem that if existing projects need to add indicator monitoring, they need to embed monitoring logic in the engineering code, which increases the workload and complexity.
[0074] The execution subject of this embodiment may be a monitoring device or system, which may be carried on a terminal or server in the form of hardware or software, and the terminal or server may be an indicator assistant platform.
[0075] The present embodiment and the following embodiments are described below by taking a monitoring system as an example. The monitoring system can be set on an indicator assistant platform.
[0076] As mentioned above, the indicator assistant platform is mainly used to perform indicator monitoring operations. The indicator assistant application software, rule engine and monitoring logic rules of each indicator are configured on the indicator assistant platform. The monitoring logic rules can be configured through the indicator assistant page.
[0077] Among them, the indicator assistant provides an operable configuration interface, where users can configure ghostCode (system tool code), the indicator format pushed to the financial trading cloud platform, specific QLExpress expression logic and other information as monitoring logic rules through configuration operations. In this way, the monitoring logic can be extracted from the engineering code, and a low-code platform in the monitoring field can be built. Then, through simple configuration, the development cost caused by monitoring is reduced, and the risk of problems in the production environment is reduced.
[0078] QLExpress is a lightweight, high-performance rule engine based on Java language, and a dynamic script engine parsing tool. It provides a concise and flexible way to write and execute rules, and can be used to implement complex business logic and decision-making processes.
[0079] Here are some of the features and capabilities of QLExpress:
[0080] Concise and easy to use: QLExpress uses a syntax similar to SQL, making rule writing more concise and easy to understand. Developers can define rules using a syntax similar to expressions without having to write complex code structures.
[0081] High performance: QLExpress uses highly optimized algorithms and data structures to achieve fast rule evaluation and execution. It supports efficient matching and calculation of large-scale data sets and has excellent execution performance.
[0082] Dynamicity: QLExpress supports the definition and modification of dynamic rules, and can dynamically load and execute rules at runtime. This enables the system to make flexible decisions and adjust behaviors according to real-time needs.
[0083] Extensibility: QLExpress provides a rich set of built-in functions and operators to support operations and calculations on various data types. It also supports custom functions and operators to meet specific business needs.
[0084] Security: QLExpress provides a security control mechanism that can limit the access rights and resource usage of rules. It also supports rule version management and audit functions to ensure the security and traceability of rules.
[0085] Seamless integration with Java: QLExpress can be seamlessly integrated with Java code, and can easily call Java classes and methods. This allows developers to use existing Java libraries and functions to support rule execution.
[0086] Wide application: QLExpress can be used in various scenarios, such as business rule engines, decision support systems, data cleaning and conversion, etc. It has been widely used in industries such as finance, telecommunications, insurance, and e-commerce.
[0087] In general, QLExpress is a powerful and easy-to-use rule engine with high performance, flexibility and scalability. It can help developers quickly implement complex business logic and decision-making processes and improve the flexibility and efficiency of the system.
[0088] In this embodiment, specific QLExpress expression logic and other information are used as a kind of monitoring logic rule.
[0089] The indicator assistant platform stores the configured monitoring logic rules locally for subsequent matching during indicator monitoring.
[0090] Specifically, as an implementation method, after receiving the indicator monitoring instruction, the indicator assistant platform parses the indicator monitoring instruction and reads the monitoring logic rules of the current indicator locally according to the indicator-related information carried by the indicator monitoring instruction.
[0091] The indicator monitoring instruction includes: the monitoring name and / or indicator code of the current indicator, etc.
[0092] Among them, the indicators that need to be monitored can be configured according to the actual situation. For example, according to the project requirements, the monitoring indicators of the corresponding project data can be configured, such as requirement specifications, expected completion deadlines, and designated development team members. In addition, it can also include the running status after the code is deployed, etc., which can cover the entire life cycle from prototype construction, quality testing to final deployment, and ensure the efficiency, smoothness and reliability of the overall operation of the business project.
[0093] Among them, as an implementation method, the indicator monitoring instruction can be triggered on the financial transaction cloud platform, and the indicator monitoring instruction is sent to the indicator assistant platform through the financial transaction cloud platform.
[0094] The indicator monitoring instruction may be triggered based on a pre-configured scheduling task.
[0095] As an implementation method, a scheduling task can be configured on the financial transaction cloud platform to realize scheduled automatic monitoring. When the pre-configured scheduling task arrives on time, the financial transaction cloud platform triggers the indicator monitoring instruction, calls the indicator assistant, and realizes the indicator monitoring.
[0096] As an implementation method, an interface in a preset format can be configured on the indicator assistant platform for the financial transaction cloud platform to call.
[0097] Specifically, the indicator assistant provides an API in a unified format, which can be called by passing in the monitoring name configured by the financial transaction cloud platform and the indicator code of the financial transaction cloud platform to monitor the data.
[0098] Among them, the indicator assistant platform receives the indicator monitoring instruction sent by the financial transaction cloud platform calling the interface of the preset format on the indicator assistant platform, and reads the monitoring logic rules of the current indicator locally according to the indicator-related information carried by the indicator monitoring instruction.
[0099] Step S20, calling the preset rule engine, executing the corresponding monitoring logic rules in sequence, monitoring the current indicators, and obtaining monitoring results;
[0100] In this embodiment, a rule engine is configured on the indicator assistant platform, and the rule engine is used to execute monitoring logic rules, which can effectively realize the monitoring of project indicators.
[0101] After reading the monitoring logic rules of the current indicator, the indicator assistant platform calls the preset rule engine, executes the corresponding monitoring logic rules in the order of monitoring indicators or the order of monitoring logic rules of monitoring indicators, monitors the current indicator, and obtains the monitoring results.
[0102] Among them, the monitoring logic rules include: system tool code, indicator format pushed to the financial transaction cloud platform, specific QLExpress expression logic, etc.
[0103] Among them, any type of data source can be connected through the system tool (ghost), thus avoiding the complex process of maintaining multiple data sources; the QLExpress rule engine is used to execute the monitoring logic, simplifying the monitoring code.
[0104] Therefore, based on the indicator monitoring method of low-code and rule engine, the monitoring function is separated from the business system, a low-code platform in the monitoring field is built, and the monitoring function is implemented in a lightweight way. This not only reduces the development cost caused by monitoring, but also reduces the risk of problems in the production environment. It solves the technical problem that if existing projects need to add indicator monitoring, they need to embed monitoring logic in the engineering code, which increases the workload and complexity.
[0105] Step S30, pushing the monitoring results to the financial transaction cloud platform.
[0106] The monitoring results of the indicators may be normal or abnormal.
[0107] This embodiment supports the Zhaohu alarm and push indicator platform for problems found by monitoring, realizing multiple time-effective monitoring. Among them, if an abnormal situation is monitored, the problem found by monitoring can be alarmed or pushed to the financial transaction cloud platform for visual display, so as to remind relevant staff to deal with the problem in time.
[0108] As mentioned above, the financial transaction cloud platform mainly configures scheduling tasks, indicator information, and issues indicator monitoring instructions, etc. Among them, the configuration of indicator information on the financial transaction cloud platform is mainly because each monitoring implemented by the indicator assistant will eventually be pushed to the financial transaction cloud platform for display, so it is necessary to configure the display format information on the financial transaction cloud platform, such as the number of columns, column names, indicator names, etc.
[0109] After receiving the monitoring results sent by the indicator assistant platform, the financial transaction cloud platform displays the indicator monitoring results based on the previously configured display format information, such as the number of columns, column names, indicator names, etc. of the indicators.
[0110] It should be noted that the unified log platform and the Benliu platform can be configured on the financial transaction cloud platform, and the log monitoring rules and alarm information that needs to be pushed to Zhaohu can be configured on the unified log platform. The indicator assistant can support custom log printing. By printing the alarm log in the log monitoring rules, and then using the existing monitoring rule configuration of the unified log platform and the Zhaohu alarm push function, real-time alarm and monitoring can be achieved. Scheduling tasks can be configured on the Benliu platform to achieve scheduled automatic monitoring.
[0111] It should be noted that the unified log platform and the Benliu platform can also be set up independently, and this embodiment does not make specific limitations on this.
[0112] This embodiment uses the above scheme, specifically through the indicator assistant platform to respond to the indicator monitoring instruction, read the monitoring logic rules of the current indicator; call the preset rule engine, execute the corresponding monitoring logic rules in sequence, monitor the current indicator, and obtain the monitoring results; push the monitoring results to the financial transaction cloud platform. The technical solution of the present application separates the monitoring function from the business system, that is, extracts the monitoring logic from the engineering code, pre-builds a low-code platform in the monitoring field, and uses a lightweight method to implement the monitoring function. Without invading the project engineering, the monitoring of an indicator can be realized quickly and lightweight. The monitoring logic is executed by the rule engine set in the indicator assistant, which simplifies the monitoring code, and the indicator assistant platform does not need to directly connect to the data source, avoiding the complex process of maintaining multiple data sources. Through the system of this application, users can complete the indicator monitoring of various business scenarios through rapid configuration, solving the problem that the existing technology needs to integrate the monitoring logic in the engineering code, which increases the workload and complexity.
[0113] Compared with the existing technology, the process of putting the monitoring logic into the engineering code is heavier, and the monitoring logic needs to be put online at the same time as the system goes online, which increases the risk of problems in the production environment. If the monitoring logic is put online separately from the system, there will be an additional production process, which will undoubtedly increase the risk of production accidents during the production process. The technical solution of this application can separate the monitoring logic from the engineering code and put it on a lightweight and low-risk platform to implement it through simple configuration, which not only reduces the development cost caused by monitoring, but also reduces the risk of problems in the production environment. It can also use the preset Zhaohu alarm and financial transaction cloud platform to realize real-time notification of alarms and visualization of monitoring indicators.
[0114] The overall process of this embodiment can refer to Figure 2 shown.
[0115] Based on the first embodiment of the present application, in the second embodiment of the present application, the same or similar contents as those in the first embodiment can refer to the above introduction, and will not be repeated in the following. Figure 3 In step S10, in response to the indicator monitoring instruction, the step of reading the monitoring logic rule of the current indicator also includes steps S01 to S02:
[0116] Step S01, in response to the rule configuration instruction, a data source to be monitored is obtained from the business code development platform through a pre-created system tool, the business code development platform is pre-added with data sources to be monitored in different business scenarios, and the system tool is created based on the relevant tables to be monitored in the data sources added on the business code development platform;
[0117] In this embodiment, the indicator assistant platform can configure monitoring logic rules for various business scenarios, wherein the data sources of various business scenarios can be connected through the business code development platform.
[0118] Specifically, as mentioned above, the business code development platform is a low-code development platform, and the data sources that need to be monitored are added to the business code development platform.
[0119] Here, we use the ghost (system tool) support for multiple data sources provided by the business code development platform to directly connect to a variety of different data sources through the business code development platform, so that the indicator assistant platform is exempted from the process of maintaining multiple data sources, fully reuses the existing organization-level capabilities, and makes the indicator assistant more lightweight.
[0120] In the business code development platform, ghost is created based on the relevant tables that need to be monitored in the added data source. After configuring the data source, you can map the specific tables under the data source that need to be monitored by creating a ghost in the "database" mode of the business code development platform. At the same time, you can query the specific data that needs to be monitored in a custom format in ghost through the "custom sql" function.
[0121] After receiving the rule configuration instruction, the indicator assistant platform obtains the data source to be monitored from the business code development platform through the system tool pre-created by the business code development platform, and then can configure monitoring logic rules for the data source to be monitored.
[0122] Step S02: configuring monitoring logic rules in the configuration interface of the indicator assistant platform for the data source to be monitored.
[0123] The monitoring logic rules include: system tool code, indicator format pushed to the financial transaction cloud platform, and specific QLExpress expression logic.
[0124] The process of adding data sources, creating ghosts, configuring rules, configuring indicators, configuring alarms, and configuring scheduling involved in this embodiment can be referred to Figure 4 shown.
[0125] The technical solution of this application separates the monitoring function from the business system, that is, extracts the monitoring logic from the engineering code, pre-builds a low-code platform in the monitoring field, and uses the ghost (system tool) provided by the business code development platform to support multiple data sources. It directly connects to a variety of different data sources through the business code development platform. The indicator assistant platform does not need to directly connect to the data source, which eliminates the need for the indicator assistant platform to maintain multiple data sources. The complex process of maintaining multiple data sources is avoided, and the existing organizational-level capabilities are fully reused, making the indicator assistant more lightweight. Thus, a lightweight method is used to implement the monitoring function, without intruding into the project project, and the monitoring of an indicator can be quickly and lightweight. The monitoring logic is executed by the rule engine set in the indicator assistant, which simplifies the monitoring code. Through the system of this application, users can complete the indicator monitoring of various business scenarios through rapid configuration, solving the problem that the existing technology needs to integrate the monitoring logic in the engineering code, which increases the workload and complexity.
[0126] Compared with the existing technology, the process of putting the monitoring logic into the engineering code is heavier, and the monitoring logic needs to be put online at the same time as the system goes online, which increases the risk of problems in the production environment. If the monitoring logic is put online separately from the system, there will be an additional production process, which will undoubtedly increase the risk of production accidents during the production process. The technical solution of this application can separate the monitoring logic from the engineering code and put it on a lightweight and low-risk platform to implement it through simple configuration, which not only reduces the development cost caused by monitoring, but also reduces the risk of problems in the production environment. It can also use the preset Zhaohu alarm and financial transaction cloud platform to realize real-time notification of alarms and visualization of monitoring indicators.
[0127] The present application also provides a monitoring method, referring to Figure 5 , Figure 5 This is a flow chart of the third embodiment of the monitoring method of the present application.
[0128] In this embodiment, the monitoring method includes steps S100 to S200, each of which is explained in detail below.
[0129] like Figure 5 As shown, the third embodiment of the present application proposes a monitoring method, which is applied to a financial transaction cloud platform, and the method includes:
[0130] S100, sending an indicator monitoring instruction to the indicator assistant platform, so that the indicator assistant platform responds to the indicator monitoring instruction, reads the monitoring logic rule of the current indicator, calls the preset rule engine, executes the corresponding monitoring logic rule in sequence, monitors the current indicator, and obtains the monitoring result;
[0131] S200, receiving the monitoring results sent by the indicator assistant platform.
[0132] Among them, the monitoring object in this embodiment can be project data in various business scenarios, which is mainly used in the financial field, but not limited to the financial field.
[0133] The technical solution of this embodiment is mainly proposed for projects in different business scenarios where it may be necessary to add indicator monitoring.
[0134] In the prior art, if a project needs to add indicator monitoring, it is necessary to embed the monitoring logic in the engineering code, which increases the workload and complexity.
[0135] The technical solution of this embodiment can separate the monitoring logic from the engineering code and put it on a lightweight and low-risk platform for simple configuration, which not only reduces the development cost caused by monitoring, but also reduces the risk of problems in the production environment. It can also use the preset Zhaohu alarm and financial transaction cloud platform to achieve real-time notification of alarms and visualization of monitoring indicators. It can solve the technical problem that if existing projects need to add indicator monitoring, they need to embed monitoring logic in the engineering code, which increases the workload and complexity.
[0136] The execution subject of this embodiment may be a monitoring device or system, which may be carried on a terminal or server in the form of hardware or software. The terminal or server may be a financial transaction cloud platform.
[0137] The present embodiment and the following embodiments are described below by taking a monitoring system as an example. The monitoring system can be set up on a financial transaction cloud platform.
[0138] In this embodiment, the financial transaction cloud platform interacts with the indicator assistant platform, and the indicator assistant platform also interacts with the business code development platform to achieve effective monitoring of business project indicators.
[0139] As mentioned above, the financial transaction cloud platform mainly configures scheduling tasks, indicator information, and issues indicator monitoring instructions, etc. The indicator assistant platform is mainly used to perform indicator monitoring operations.
[0140] The indicator assistant platform is equipped with the indicator assistant application software, rule engine and monitoring logic rules of each indicator. The monitoring logic rules can be configured through the indicator assistant page.
[0141] Among them, the indicator assistant provides an operable configuration interface, where users can configure ghostCode (system tool code), the indicator format pushed to the financial trading cloud platform, specific QLExpress expression logic and other information as monitoring logic rules through configuration operations. In this way, the monitoring logic can be extracted from the engineering code, and a low-code platform in the monitoring field can be built. Then, through simple configuration, the development cost caused by monitoring is reduced, and the risk of problems in the production environment is reduced.
[0142] The indicator assistant platform stores the configured monitoring logic rules locally for subsequent matching during indicator monitoring.
[0143] Specifically, first, the financial transaction cloud platform sends an indicator monitoring instruction to the indicator assistant platform.
[0144] The indicator monitoring instruction includes: the monitoring name and / or indicator code of the current indicator, etc.
[0145] As an implementation method, after receiving the indicator monitoring instruction, the indicator assistant platform parses the indicator monitoring instruction and reads the monitoring logic rules of the current indicator locally according to the indicator-related information carried by the indicator monitoring instruction.
[0146] The indicator monitoring instruction may be triggered based on a pre-configured scheduling task.
[0147] As an implementation method, a scheduling task can be configured on the financial transaction cloud platform to realize scheduled automatic monitoring. When the pre-configured scheduling task arrives on time, the financial transaction cloud platform triggers the indicator monitoring instruction, calls the indicator assistant, and realizes the indicator monitoring.
[0148] As an implementation method, an interface in a preset format can be configured on the indicator assistant platform for the financial transaction cloud platform to call.
[0149] Specifically, the indicator assistant provides an API in a unified format, which can be called by passing in the monitoring name configured by the financial transaction cloud platform and the indicator code of the financial transaction cloud platform to monitor the data.
[0150] As an implementation method, the step of the financial transaction cloud platform sending an indicator monitoring instruction to the indicator assistant platform may include:
[0151] In response to the scheduled arrival of a pre-configured scheduling task, the indicator assistant is called through an interface of a preset format on the indicator assistant platform, and an indicator monitoring instruction is sent to the indicator assistant platform.
[0152] Among them, the indicator assistant platform receives the indicator monitoring instruction sent by the financial transaction cloud platform calling the interface of the preset format on the indicator assistant platform, and reads the monitoring logic rules of the current indicator locally according to the indicator-related information carried by the indicator monitoring instruction.
[0153] Then, the indicator assistant platform calls the preset rule engine, executes the corresponding monitoring logic rules in sequence, monitors the current indicator, obtains the monitoring results, and sends the monitoring results to the financial transaction cloud platform.
[0154] In this embodiment, a rule engine is configured on the indicator assistant platform, and the rule engine is used to execute monitoring logic rules, which can effectively realize the monitoring of project indicators.
[0155] After reading the monitoring logic rules of the current indicator, the indicator assistant platform calls the preset rule engine, executes the corresponding monitoring logic rules in the order of monitoring indicators or the order of monitoring logic rules of monitoring indicators, monitors the current indicator, and obtains the monitoring results.
[0156] Among them, the monitoring logic rules include: system tool code, indicator format pushed to the financial transaction cloud platform, specific QLExpress expression logic, etc.
[0157] Among them, any type of data source can be connected through the system tool (ghost), thus avoiding the complex process of maintaining multiple data sources; the QLExpress rule engine is used to execute the monitoring logic, simplifying the monitoring code.
[0158] Therefore, based on the indicator monitoring method of low-code and rule engine, the monitoring function is separated from the business system, a low-code platform in the monitoring field is built, and the monitoring function is implemented in a lightweight way. This not only reduces the development cost caused by monitoring, but also reduces the risk of problems in the production environment. It solves the technical problem that if existing projects need to add indicator monitoring, they need to embed monitoring logic in the engineering code, which increases the workload and complexity.
[0159] After receiving the monitoring results sent by the indicator assistant platform, the financial transaction cloud platform will visualize the monitoring results and / or issue an alarm notification according to the pre-configured indicator information when the monitoring results are abnormal.
[0160] The indicator information includes: indicator display format information, such as the number of columns displayed, column names, indicator names, etc.
[0161] Among them, the indicator information is configured on the financial transaction cloud platform mainly because every monitoring implemented by the indicator assistant will eventually be pushed to the financial transaction cloud platform for display. Therefore, it is necessary to configure the display format information on the financial transaction cloud platform, such as the number of columns displayed, column names, indicator names, etc.
[0162] After receiving the monitoring results sent by the indicator assistant platform, the financial transaction cloud platform displays the indicator monitoring results based on the previously configured display format information, such as the number of columns, column names, indicator names, etc. of the indicators.
[0163] It should be noted that the unified log platform and the Benliu platform can be configured on the financial transaction cloud platform, and the log monitoring rules and alarm information that needs to be pushed to Zhaohu can be configured on the unified log platform. The indicator assistant can support custom log printing. By printing the alarm log in the log monitoring rules, and then using the existing monitoring rule configuration of the unified log platform and the Zhaohu alarm push function, real-time alarm and monitoring can be achieved. Scheduling tasks can be configured on the Benliu platform to achieve scheduled automatic monitoring.
[0164] It should be noted that the unified log platform and the Benliu platform can also be set up independently, and this embodiment does not make specific limitations on this.
[0165] This embodiment uses the above scheme, specifically by sending an indicator monitoring instruction to the indicator assistant platform, so that the indicator assistant platform responds to the indicator monitoring instruction, reads the monitoring logic rules of the current indicator, calls the preset rule engine, executes the corresponding monitoring logic rules in sequence, monitors the current indicator, and obtains the monitoring results. The technical solution of the present application separates the monitoring function from the business system, that is, extracts the monitoring logic from the engineering code, pre-builds a low-code platform in the monitoring field, and uses a lightweight method to implement the monitoring function. Without intruding into the project engineering, the monitoring of an indicator can be quickly and lightweight. The monitoring logic is executed by the rule engine set in the indicator assistant, which simplifies the monitoring code, and the indicator assistant platform does not need to directly connect to the data source, avoiding the complex process of maintaining multiple data sources. Through the system of the present application, users can complete the indicator monitoring of various business scenarios through rapid configuration, solving the problem that the existing technology needs to integrate the monitoring logic in the engineering code, which increases the workload and complexity.
[0166] Compared with the existing technology, the process of putting the monitoring logic into the engineering code is heavier, and the monitoring logic needs to be put online at the same time as the system goes online, which increases the risk of problems in the production environment. If the monitoring logic is put online separately from the system, there will be an additional production process, which will undoubtedly increase the risk of production accidents during the production process. The technical solution of this application can separate the monitoring logic from the engineering code and put it on a lightweight and low-risk platform to implement it through simple configuration, which not only reduces the development cost caused by monitoring, but also reduces the risk of problems in the production environment. It can also use the preset Zhaohu alarm and financial transaction cloud platform to realize real-time notification of alarms and visualization of monitoring indicators.
[0167] The present application also provides a monitoring method, referring to Figure 6 , Figure 6 This is a flow chart of the fourth embodiment of the monitoring method of the present application.
[0168] In this embodiment, the monitoring method includes step S300.
[0169] like Figure 6 As shown, the fourth embodiment of the present application proposes a monitoring method, which is applied to a business code development platform, and the method includes:
[0170] Step S300, provides the data source that needs to be monitored to the indicator assistant platform through a pre-created system tool, so that the indicator assistant platform configures monitoring logic rules for the data source that needs to be monitored, and when receiving the indicator monitoring instruction, reads the monitoring logic rules of the current indicator, calls the preset rule engine, executes the corresponding monitoring logic rules in sequence, monitors the current indicator, obtains the monitoring results, and pushes the monitoring results to the financial transaction cloud platform.
[0171] Specifically, as mentioned above, the business code development platform is a low-code development platform, and the data sources that need to be monitored are added to the business code development platform.
[0172] Here, we use the ghost (system tool) support for multiple data sources provided by the business code development platform to directly connect to a variety of different data sources through the business code development platform, so that the indicator assistant platform is exempted from the process of maintaining multiple data sources, fully reuses the existing organization-level capabilities, and makes the indicator assistant more lightweight.
[0173] In the business code development platform, ghost is created based on the relevant tables that need to be monitored in the added data source. After configuring the data source, you can map the specific tables under the data source that need to be monitored by creating a ghost in the "database" mode of the business code development platform. At the same time, you can query the specific data that needs to be monitored in a custom format in ghost through the "custom sql" function.
[0174] After receiving the rule configuration instruction, the indicator assistant platform obtains the data source to be monitored from the business code development platform through the system tool pre-created by the business code development platform, and then can configure monitoring logic rules for the data source to be monitored.
[0175] The monitoring logic rules include: system tool code, indicator format pushed to the financial transaction cloud platform, and specific QLExpress expression logic.
[0176] The process of adding data sources, creating ghosts, configuring rules, configuring indicators, configuring alarms, and configuring scheduling involved in this embodiment can be referred to Figure 4shown.
[0177] Furthermore, before the step of providing the indicator assistant platform with the data source to be monitored through the pre-created system tool, the step further includes:
[0178] Add data sources that need to be monitored in different business scenarios on the business code development platform;
[0179] A system tool that creates a database schema based on the relevant tables that need to be monitored in the added data sources.
[0180] The step of providing the indicator assistant platform with the data source to be monitored through the pre-created system tool includes:
[0181] After configuring the data source, the data table in the data source to be monitored is mapped out through the system tool, and the specific data to be monitored is queried from the mapped data table through a custom format.
[0182] For the specific principles of implementing indicator monitoring in this embodiment, please refer to the above embodiments and will not be repeated here.
[0183] The technical solution of this application separates the monitoring function from the business system, that is, extracts the monitoring logic from the engineering code, pre-builds a low-code platform in the monitoring field, and uses the ghost (system tool) provided by the business code development platform to support multiple data sources. It directly connects to a variety of different data sources through the business code development platform. The indicator assistant platform does not need to directly connect to the data source, which eliminates the need for the indicator assistant platform to maintain multiple data sources. The complex process of maintaining multiple data sources is avoided, and the existing organizational-level capabilities are fully reused, making the indicator assistant more lightweight. Thus, a lightweight method is used to implement the monitoring function, without intruding into the project project, and the monitoring of an indicator can be quickly and lightweight. The monitoring logic is executed by the rule engine set in the indicator assistant, which simplifies the monitoring code. Through the system of this application, users can complete the indicator monitoring of various business scenarios through rapid configuration, solving the problem that the existing technology needs to integrate the monitoring logic in the engineering code, which increases the workload and complexity.
[0184] Compared with the existing technology, the process of putting the monitoring logic into the engineering code is heavier, and the monitoring logic needs to be put online at the same time as the system goes online, which increases the risk of problems in the production environment. If the monitoring logic is put online separately from the system, there will be an additional production process, which will undoubtedly increase the risk of production accidents during the production process. The technical solution of this application can separate the monitoring logic from the engineering code and put it on a lightweight and low-risk platform to implement it through simple configuration, which not only reduces the development cost caused by monitoring, but also reduces the risk of problems in the production environment. It can also use the preset Zhaohu alarm and financial transaction cloud platform to realize real-time notification of alarms and visualization of monitoring indicators.
[0185] In addition, the present application also provides a monitoring device, such as Figure 7 As shown, the device comprises:
[0186] The reading module 10 is used to read the monitoring logic rules of the current indicator in response to the indicator monitoring instruction;
[0187] The monitoring module 20 is used to call the preset rule engine, execute the corresponding monitoring logic rules in sequence, monitor the current indicators, and obtain the monitoring results;
[0188] The push module 30 is used to push the monitoring results to the financial transaction cloud platform.
[0189] The monitoring device provided by the present application adopts the monitoring method in the above embodiment, which can separate the monitoring logic from the engineering code and put it on a lightweight and low-risk platform to be implemented through simple configuration, which not only reduces the development cost caused by monitoring, but also reduces the risk of problems in the production environment. It can also use the preset Zhaohu alarm and financial transaction cloud platform to achieve real-time notification of alarms and visualization of monitoring indicators. Compared with the prior art, the beneficial effects of the monitoring device provided by the present application are the same as the beneficial effects of the monitoring method provided by the above embodiment, and the other technical features in the monitoring device are the same as the features disclosed in the above embodiment method, which will not be repeated here.
[0190] In addition, the present application also proposes a monitoring device, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the monitoring method described above.
[0191] Reference below Figure 8, which shows a schematic diagram of the structure of a monitoring device suitable for implementing the embodiment of the present application. The monitoring device in the embodiment of the present application may include but is not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions: tablet computers), PMPs (Portable Media Players: portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 8 The monitoring device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0192] like Figure 8 As shown, the monitoring device may include a processing device 1001 (e.g., a central processing unit, a graphics processor, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM: Read Only Memory) 1002 or a program loaded from a storage device 1003 to a random access memory (RAM: Random Access Memory) 1004. In RAM1004, various programs and data required for the operation of the monitoring device are also stored. The processing device 1001, ROM1002, and RAM1004 are connected to each other through a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Generally, the following systems can be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touch pad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 1008 including, for example, a liquid crystal display (LCD: Liquid Crystal Display), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 can allow the monitoring device to communicate with other devices wirelessly or by wire to exchange data. Although the monitoring device with various systems is shown in the figure, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems can be implemented or have alternatively.
[0193] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.
[0194] The monitoring device provided by the present application adopts the monitoring method in the above embodiment, which can separate the monitoring logic from the engineering code and put it on a lightweight and low-risk platform to be implemented through simple configuration, which not only reduces the development cost caused by monitoring, but also reduces the risk of problems in the production environment. It can also use the preset Zhaohu alarm and financial transaction cloud platform to achieve real-time notification of alarms and visualization of monitoring indicators. Compared with the prior art, the beneficial effects of the monitoring device provided by the present application are the same as the beneficial effects of the monitoring method provided by the above embodiment, and the other technical features in the monitoring device are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.
[0195] It should be understood that the various parts disclosed in this application can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.
[0196] In addition, to achieve the above-mentioned purpose, the present application also proposes a storage medium, which is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the monitoring method described above are implemented.
[0197] The computer-readable storage medium provided in the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination of the above.
[0198] The computer-readable storage medium may be included in the monitoring device; or may exist independently without being installed in the monitoring device.
[0199] The above-mentioned computer-readable storage medium carries one or more programs. When the above-mentioned one or more programs are executed by the monitoring device, the monitoring device: reads the monitoring logic rules of the current indicator by responding to the indicator monitoring instruction; calls the preset rule engine, executes the corresponding monitoring logic rules in sequence, monitors the current indicator, and obtains the monitoring results; pushes the monitoring results to the financial transaction cloud platform.
[0200] Computer program code for performing the operations of the present application may be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0201] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0202] The modules involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.
[0203] The readable storage medium provided by the present application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned monitoring method, and can separate the monitoring logic from the engineering code and put it on a lightweight and low-risk platform to be implemented through simple configuration, which not only reduces the development cost caused by monitoring, but also reduces the risk of problems in the production environment. Furthermore, with the help of preset Zhaohu alarms and financial transaction cloud platforms, real-time notification of alarms and visualization of monitoring indicators can be achieved. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided by the present application are the same as the beneficial effects of the monitoring method provided by the above-mentioned embodiments, which will not be repeated here.
[0204] In addition, to achieve the above-mentioned purpose, the present application also provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the steps of the monitoring method described above are implemented.
[0205] The computer program product provided by this application can separate the monitoring logic from the engineering code and put it on a lightweight and low-risk platform to be implemented through simple configuration, which not only reduces the development cost caused by monitoring, but also reduces the risk of problems in the production environment. It can also use the preset Zhaohu alarm and financial transaction cloud platform to achieve real-time notification of alarms and visualization of monitoring indicators. Compared with the prior art, the beneficial effects of the computer program product provided by this application are the same as the beneficial effects of the monitoring method provided by the above embodiment, which will not be repeated here.
[0206] One or more technical solutions proposed in this application have at least the following technical effects:
[0207] The monitoring function is separated from the business system, that is, the monitoring logic is extracted from the engineering code, and a low-code platform for the monitoring field is pre-built. The ghost (system tool) provided by the business code development platform supports multiple data sources, and a variety of different data sources are directly connected through the business code development platform. The indicator assistant platform does not need to directly connect to the data source, which eliminates the need for the indicator assistant platform to maintain multiple data sources. The complex process of maintaining multiple data sources is avoided, and the existing organizational-level capabilities are fully reused, making the indicator assistant more lightweight. Therefore, a lightweight method is used to implement the monitoring function, without intruding into the project project, and the monitoring of an indicator can be realized quickly and lightweight. The monitoring logic is executed by the rule engine set in the indicator assistant, which simplifies the monitoring code. Through the system of this application, users can complete the indicator monitoring of various business scenarios through rapid configuration, which solves the problem that the existing technology needs to integrate the monitoring logic in the engineering code, which increases the workload and complexity.
[0208] Compared with the existing technology, the process of putting the monitoring logic into the engineering code is heavier, and the monitoring logic needs to be put online at the same time as the system goes online, which increases the risk of problems in the production environment. If the monitoring logic is put online separately from the system, there will be an additional production process, which will undoubtedly increase the risk of production accidents during the production process. The technical solution of this application can separate the monitoring logic from the engineering code and put it on a lightweight and low-risk platform to implement it through simple configuration, which not only reduces the development cost caused by monitoring, but also reduces the risk of problems in the production environment. It can also use the preset Zhaohu alarm and financial transaction cloud platform to realize real-time notification of alarms and visualization of monitoring indicators.
[0209] The above descriptions are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect applications in other related technical fields are included in the patent protection scope of the present application.
Claims
1. A monitoring method, characterized in that: Applied to the indicator assistant platform, the method includes: In response to the indicator monitoring instruction, read the monitoring logic rule of the current indicator; Call the preset rule engine, execute the corresponding monitoring logic rules in sequence, monitor the current indicators, and obtain the monitoring results; The monitoring results are pushed to the financial transaction cloud platform.
2. The method according to claim 1, characterized in that Before the step of reading the monitoring logic rule of the current indicator in response to the indicator monitoring instruction, the following steps are also included: Receive an indicator monitoring instruction sent by the financial transaction cloud platform calling an interface in a preset format on the indicator assistant platform, wherein the indicator monitoring instruction includes: a monitoring name and / or an indicator code of the current indicator, and the indicator monitoring instruction is triggered based on a pre-configured scheduling task.
3. The method according to claim 1, characterized in that Before the step of reading the monitoring logic rule of the current indicator in response to the indicator monitoring instruction, the method further includes: In response to the rule configuration instruction, the data source to be monitored is obtained from the business code development platform through a pre-created system tool, the business code development platform is pre-added with data sources to be monitored in different business scenarios, and the system tool is created based on the relevant tables to be monitored in the data sources added on the business code development platform; For the data source that needs to be monitored, configure monitoring logic rules in the configuration interface of the indicator assistant platform.
4. The method according to claim 3, characterized in that The monitoring logic rules include: system tool code, indicator format pushed to the financial transaction cloud platform, and specific QLExpress expression logic.
5. A monitoring method, characterized in that: Applied to a financial transaction cloud platform, the method includes: Send an indicator monitoring instruction to the indicator assistant platform, so that the indicator assistant platform responds to the indicator monitoring instruction, reads the monitoring logic rules of the current indicator, calls the preset rule engine, executes the corresponding monitoring logic rules in sequence, monitors the current indicator, and obtains the monitoring results; Receive the monitoring results sent by the indicator assistant platform.
6. The method according to claim 5, characterized in that The step of sending the indicator monitoring instruction to the indicator assistant platform includes: In response to the scheduled arrival of a pre-configured scheduling task, the indicator assistant is called through an interface in a preset format on the indicator assistant platform, and an indicator monitoring instruction is sent to the indicator assistant platform. The indicator monitoring instruction includes: the monitoring name and / or indicator code of the current indicator, and the indicator monitoring instruction is triggered based on the pre-configured scheduling task.
7. The method according to claim 5, characterized in that The method further comprises: When the monitoring result is abnormal, the monitoring result is visualized and / or an alarm is issued according to pre-configured indicator information.
8. The method according to claim 7, characterized in that Before the step of sending the indicator monitoring instruction to the indicator assistant platform, the following steps are also included: Configuring indicator information on the financial transaction cloud platform, the indicator information including: indicator display format information; Scheduling tasks are configured on the financial transaction cloud platform to achieve regular automatic monitoring.
9. A monitoring method, characterized in that: Applied to a business code development platform, the method includes: The data source that needs to be monitored is provided to the indicator assistant platform through a pre-created system tool, so that the indicator assistant platform configures monitoring logic rules for the data source that needs to be monitored, and when receiving the indicator monitoring instruction, reads the monitoring logic rules of the current indicator, calls the preset rule engine, executes the corresponding monitoring logic rules in sequence, monitors the current indicator, obtains the monitoring results, and pushes the monitoring results to the financial transaction cloud platform.
10. The method according to claim 9, characterized in that Before the step of providing the indicator assistant platform with the data source to be monitored through the pre-created system tool, the step further includes: Add data sources that need to be monitored in different business scenarios on the business code development platform; A system tool that creates a database schema based on the relevant tables that need to be monitored in the added data sources.
11. The method according to claim 10, characterized in that The step of providing the indicator assistant platform with the data source to be monitored through the pre-created system tool includes: After configuring the data source, the data table in the data source to be monitored is mapped out through the system tool, and the specific data to be monitored is queried from the mapped data table through a custom format.
12. A monitoring device, characterized in that: The device comprises: A reading module, used to respond to the indicator monitoring instruction and read the monitoring logic rules of the current indicator; The monitoring module is used to call the preset rule engine, execute the corresponding monitoring logic rules in sequence, monitor the current indicators, and obtain the monitoring results; The push module is used to push the monitoring results to the financial transaction cloud platform.
13. A monitoring device, characterized in that: The device comprises: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the monitoring method according to any one of claims 1 to 11.
14. A storage medium, characterized in that: The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the monitoring method according to any one of claims 1 to 7 are implemented.
15. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the steps of the monitoring method according to any one of claims 1 to 11 are implemented.