Method and device for dynamically monitoring service data, electronic equipment and storage medium

By encapsulating and filtering the raw monitoring data, and combining it with user-defined rules to perform monitoring in the rule executor, the problem of dynamic adjustment of existing monitoring systems when business needs change frequently is solved, and efficient business data monitoring is achieved.

CN112667480BActive Publication Date: 2026-02-10PING AN SECURITIES CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202011625880.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-12-30
Publication Date
2026-02-10
Estimated Expiration
2040-12-30

AI Technical Summary

Technical Problem

Existing monitoring systems struggle to dynamically adjust monitoring rules when business needs change frequently, resulting in incomplete and inaccurate monitoring.

Method used

By acquiring raw monitoring data, encapsulating and filtering it, standard monitoring data is generated. User-defined monitoring rules are received and executed in the rule executor to generate and push monitoring results.

Benefits of technology

It enables dynamic monitoring when business requirements change frequently, improving monitoring efficiency and success rate, and reducing the consumption and waste of computing resources.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112667480B_ABST
    Figure CN112667480B_ABST
Patent Text Reader

Abstract

The application relates to a data processing technology and discloses a dynamic monitoring method for business data, which comprises the following steps: obtaining original monitoring data generated in an actual business scenario, and encapsulating the original monitoring data to obtain encapsulated monitoring data; filtering the encapsulated monitoring data to obtain standard monitoring data, and sending the standard monitoring data to a preset rule executor; receiving a user-inputted self-defined monitoring rule, and sending the self-defined monitoring rule to the rule executor; executing monitoring on the standard monitoring data according to the self-defined monitoring rule in the rule executor, generating a monitoring result, and pushing the monitoring result to a user. The application also relates to a blockchain technology, and the monitoring result can be stored in a blockchain. The application can realize the function of dynamically monitoring business data when business requirements change frequently.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of data processing technology, and in particular to a method, apparatus, electronic device, and computer-readable storage medium for dynamic monitoring of business data. Background Technology

[0002] Current monitoring systems typically employ traditional, fixed hard-coding methods, embedding monitoring rules within the code or calling generic process controls. However, actual business operations are complex and diverse, and generic process controls cannot meet all monitoring needs. Furthermore, business rules frequently change or are added. To ensure more complete and accurate monitoring, monitoring rules must also be modified or added accordingly. Neither hard-coding nor control-based methods can satisfy the need for dynamic changes and execution of monitoring rules in the face of frequent business changes. Summary of the Invention

[0003] This invention provides a method, apparatus, electronic device, and computer-readable storage medium for dynamic monitoring of business data. Its main purpose is to provide a method for dynamically monitoring business data when business requirements change frequently.

[0004] To achieve the above objectives, the present invention provides a method for dynamic monitoring of business data, comprising:

[0005] Obtain raw monitoring data generated in actual business scenarios, and encapsulate the raw monitoring data to obtain encapsulated monitoring data;

[0006] The encapsulated monitoring data is filtered to obtain standard monitoring data, which is then sent to a preset rule executor.

[0007] Receive user-inputted custom monitoring rules and send the defined monitoring rules to the rule executor;

[0008] The rule executor performs monitoring on the standard monitoring data according to the custom monitoring rules, generates monitoring results, and pushes the monitoring results to the user.

[0009] Optionally, the step of acquiring raw monitoring data generated in actual business scenarios and encapsulating the raw monitoring data to obtain encapsulated monitoring data includes:

[0010] Use a pre-set data collector to acquire raw monitoring data generated in actual business scenarios;

[0011] The original monitoring data is converted to a new format to obtain parsed monitoring data;

[0012] The parsed monitoring data is encapsulated to obtain encapsulated monitoring data.

[0013] Optionally, filtering the packaging monitoring data to obtain standard monitoring data includes:

[0014] The pre-built filtering function is executed using the encapsulated monitoring data as parameters;

[0015] Delete the data in the encapsulated monitoring data that satisfies the filtering function to obtain the standard monitoring data.

[0016] Optionally, the step of performing monitoring on the standard monitoring data according to the custom monitoring rules in the rule executor and generating monitoring results includes:

[0017] Set the rule context according to the custom monitoring rules;

[0018] Generate a custom function corresponding to the custom monitoring rule based on the rule context;

[0019] The custom function is executed using the standard monitoring data as parameters to generate monitoring results.

[0020] Optionally, after performing monitoring on the standard monitoring data according to the custom monitoring rules in the rule executor and generating monitoring results, the method further includes:

[0021] Receive new custom monitoring rules;

[0022] Based on the standard monitoring data, the new custom monitoring rules are executed to generate new monitoring results;

[0023] Update the monitoring results in the preset monitoring display panel and show the new monitoring results to the user.

[0024] To address the above problems, the present invention also provides a dynamic monitoring device for business data, the device comprising:

[0025] The data encapsulation module is used to acquire raw monitoring data generated in actual business scenarios and encapsulate the raw monitoring data to obtain encapsulated monitoring data.

[0026] The data filtering module is used to filter the encapsulated monitoring data to obtain standard monitoring data, and send it to the preset rule executor.

[0027] The rule receiving module is used to receive user-inputted custom monitoring rules and send the defined monitoring rules to the rule executor.

[0028] The monitoring execution module is used in the rule executor to perform monitoring on the standard monitoring data according to the custom monitoring rules, generate monitoring results, and push the monitoring results to the user.

[0029] Optionally, the data filtering module performs the following operations to obtain standard monitoring data:

[0030] The pre-built filtering function is executed using the encapsulated monitoring data as parameters;

[0031] Delete the data in the encapsulated monitoring data that satisfies the filtering function to obtain the standard monitoring data.

[0032] Optionally, the monitoring execution module performs the following operations to generate monitoring results:

[0033] Set the rule context according to the custom monitoring rules;

[0034] Generate a custom function corresponding to the custom monitoring rule based on the rule context;

[0035] The custom function is executed using the standard monitoring data as parameters to generate monitoring results.

[0036] To address the above problems, the present invention also provides an electronic device, the electronic device comprising:

[0037] Memory, storing at least one instruction; and

[0038] The processor executes instructions stored in the memory to implement the dynamic monitoring method for business data described in any one of the above.

[0039] To address the aforementioned problems, the present invention also provides a computer-readable storage medium, comprising a data storage area and a program storage area, wherein the data storage area stores data, and the program storage area stores a computer program, which is executed by a processor to implement the dynamic monitoring method for business data described in any one of the above.

[0040] This invention acquires raw monitoring data generated in actual business scenarios and encapsulates it to obtain encapsulated monitoring data, ensuring that the acquired data is up-to-date. The encapsulated monitoring data is then filtered to obtain standard monitoring data, which is sent to a preset rule executor. Filtering reduces the data volume and improves the efficiency of data monitoring. Custom monitoring rules input by the user are received and sent to the rule executor. These user-defined monitoring rules can dynamically respond to changes in monitoring needs. The rule executor performs monitoring on the standard monitoring data according to the custom monitoring rules, generates monitoring results, and pushes the results to the user, ensuring a high success rate for dynamic monitoring of business data and reducing the occupation and waste of computing resources. Therefore, the dynamic monitoring method, device, and computer-readable storage medium for business data proposed in this invention can achieve the goal of dynamically monitoring business data when business needs change frequently. Attached Figure Description

[0041] Figure 1 A flowchart illustrating a dynamic monitoring method for business data provided in an embodiment of the present invention;

[0042] Figure 2 This is a flowchart illustrating a data encapsulation method provided in an embodiment of the present invention;

[0043] Figure 3 This is a schematic flowchart of a data filtering method provided in an embodiment of the present invention;

[0044] Figure 4 This is a flowchart illustrating a monitoring rule execution method according to an embodiment of the present invention;

[0045] Figure 5 This is a schematic diagram of a module for a dynamic monitoring device for business data provided in an embodiment of the present invention;

[0046] Figure 6 A schematic diagram of the internal structure of an electronic device for implementing a dynamic monitoring method for business data according to an embodiment of the present invention;

[0047] The realization of the objective, functional features and advantages of the present invention will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation

[0048] It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.

[0049] The execution subject of the dynamic monitoring method for business data provided in this application embodiment includes, but is not limited to, at least one of the following electronic devices that can be configured to execute the method provided in this application embodiment: a server, a terminal, etc. In other words, the dynamic monitoring method for business data can be executed by software or hardware installed on a terminal device or a server device, and the software can be a blockchain platform. The server includes, but is not limited to, a single server, a server cluster, a cloud server, or a cloud server cluster.

[0050] Reference Figure 1 The diagram shown is a flowchart illustrating a dynamic monitoring method for business data according to an embodiment of the present invention. In this embodiment, the dynamic monitoring method for business data includes:

[0051] S1. Obtain the raw monitoring data generated in the actual business scenario, and encapsulate the raw monitoring data to obtain encapsulated monitoring data.

[0052] For details, please refer to Figure 2 As shown, S1 includes:

[0053] S10. Use a pre-set data collector to acquire raw monitoring data generated in actual business scenarios;

[0054] S11. Convert the format of the original monitoring data to obtain parsed monitoring data;

[0055] S12. The parsed monitoring data is encapsulated to obtain encapsulated monitoring data.

[0056] The raw monitoring data includes sub-businesses within the actual business system, operational procedures for various businesses, specific operational details for each step, user information, and log information. The data collector is functional code capable of dynamically tracking and acquiring various data generated within the actual business system in real time.

[0057] Furthermore, actual business systems are complex and diverse, using a variety of programming languages ​​such as Java, C, and C++. Therefore, in a preferred embodiment of the present invention, a format conversion function is used to convert the original monitoring data into a format that is consistent with the programming language used to execute the monitoring rules.

[0058] Ideally, in actual business systems, a large number of business processes occur every day. The system's data collector records the business data and operational data generated during these processes to form raw monitoring data, which is then sent to the backend. The raw monitoring data often occurs on system pages, and the data format is different from the data format that the backend can process. Therefore, it is necessary to convert the format of this data into a format that the backend can process, such as converting JSON data into Java object data.

[0059] In this embodiment of the invention, the parsed monitoring data is encapsulated to obtain encapsulated monitoring data, and the encapsulated monitoring data is saved to a preset data sharing area, which can enhance the flexibility of business data monitoring and facilitate subsequent expansion applications.

[0060] S2. Filter the encapsulated monitoring data to obtain standard monitoring data, and send it to the preset rule executor.

[0061] The preset rule executor described in this embodiment of the invention is built based on BeanShell dynamic scripts, has a rich set of built-in functions, supports various complex business logic operations, can be applied to large-scale enterprise-level monitoring needs, and can meet very complex business relationship descriptions.

[0062] For details, please refer to Figure 3 As shown, the filtering of the packaging monitoring data to obtain standard monitoring data includes:

[0063] S21. Execute a pre-built filtering function using the encapsulated monitoring data as parameters;

[0064] S22. Delete the data in the encapsulated monitoring data that satisfies the filtering function to obtain the standard monitoring data.

[0065] Furthermore, the filtering function is a function that judges the input parameters and returns data that meets the judgment conditions. In this embodiment of the invention, the filtering function includes filtering functions such as judging whether the data is empty and judging whether the date is the current date.

[0066] The encapsulation monitoring data obtained in this embodiment of the invention includes all data in the actual business system. Therefore, the encapsulation monitoring data will contain a lot of invalid data. For example, a user may just log in to view their personal information, but accidentally click on a certain business processing option and quickly return. In fact, the content of this business data is empty, but the data collector will still record this operation. In order to reduce the processing burden of the computer and improve the processing efficiency of the computer, such data can be deleted.

[0067] Preferably, using the filtering function to filter the encapsulated monitoring data can ensure that the data is real-time and valid, reduce unnecessary data processing, and improve the system's data processing efficiency.

[0068] S3. Receive user-inputted custom monitoring rules and send the defined monitoring rules to the rule executor.

[0069] The custom monitoring rules described in this embodiment of the invention are specifications that should be followed in actual business scenarios, used to capture abnormal operations by users during the business process. For example, requiring users to click the "OK" button to take effect when submitting a business application can be a monitoring rule. When a user violates the monitoring rule (forgets to click or accidentally clicks another button), the operation data will be captured.

[0070] Preferably, the custom monitoring rules are defined by the user based on actual business operations and the operational process of handling those operations. These rules are written in BeanShell, a loosely typed scripting language that fully conforms to Java syntax. This approach is simple and allows users to quickly learn and write monitoring rules. Furthermore, the custom monitoring rules can be entered in a preset editor interface using Java code format, which is very convenient. The editor interface can also detect basic syntax errors, thereby improving the efficiency of writing monitoring rules.

[0071] Preferably, after receiving the custom monitoring rule, a monitoring execution request is generated, the monitoring execution request taking the custom monitoring rule as a parameter, and sent to the rule executor. S4. In the rule executor, monitoring is performed on the standard monitoring data according to the custom monitoring rule, monitoring results are generated, and the monitoring results are pushed to the user.

[0072] For details, please refer to Figure 4 As shown, the step of executing the custom monitoring rule in the rule executor based on the standard monitoring data to generate monitoring results includes:

[0073] S41. Set the rule context according to the custom monitoring rule;

[0074] S42. Generate a custom function corresponding to the custom monitoring rule based on the rule context;

[0075] S43. Execute the custom function using the standard monitoring data as parameters to generate monitoring results.

[0076] The rule context refers to the monitoring rules obtained by the rule executor reorganizing the custom monitoring rules in a certain order based on the BeanShell interpreter; the custom function is a custom function that can achieve different monitoring requirements and corresponds to the rules in the rule context.

[0077] Preferably, the custom monitoring rules generally contain multiple monitoring rules, which need to be sorted according to priority to generate a rule context. The priority can be set by the user or based on the logical relationship between the monitoring rules.

[0078] Preferably, the custom function can also predefine some general functional functions, such as printing the calendar, setting the cache, etc., or some general business functions, such as obtaining the calendar information of day T, day T-1 and day T+1, determining whether it is a working day, sending an alert email, obtaining the monitoring status, etc. Predefining some general functions can improve the working efficiency of the rule executor.

[0079] Furthermore, in this embodiment of the invention, the rule executor is based on the BeanShell interpreter, sets up a rule context, predefines various functions, executes rules based on the acquired data, and pushes the analysis results after rule execution as monitoring results to a preset monitoring dashboard. Users can view the monitoring results in the monitoring dashboard and process actual business based on the monitoring results.

[0080] Preferably, the monitoring results are obtained by using the standard detection data as parameters, executing the standard detection data one-to-one with the custom monitoring rules, and determining whether the standard monitoring data conforms to the custom monitoring rules. For example, if the monitoring rule requires clicking the "OK" button to take effect when processing a certain service, and a user forgets to click it, the monitoring system will display this data on the monitoring interface and remind the user whether they still need to process the service. It should be emphasized that, to further ensure the privacy and security of the above monitoring results, the monitoring results can also be stored in a blockchain node.

[0081] The monitoring dashboard includes abnormal messages that violate the custom monitoring rules, specific monitoring data that violates the custom monitoring rules, and reminder information for the user.

[0082] Preferably, in this embodiment of the invention, after the rule executor performs monitoring on the standard monitoring data according to the custom monitoring rules and generates monitoring results, it can also receive new custom monitoring rules and execute monitoring to generate new monitoring results. The step of receiving new custom monitoring rules and executing monitoring to generate new monitoring results includes:

[0083] Receive new custom monitoring rules;

[0084] Based on the standard monitoring data, the new custom monitoring rules are executed to generate new monitoring results;

[0085] Update the monitoring results in the preset monitoring display panel and show the new monitoring results to the user.

[0086] Preferably, the present invention can still monitor business data when the business scenario changes. By updating the custom monitoring rules, the changes in the business scenario can be met. The rule executor can immediately obtain the new monitoring rules and execute them with the standard detection data as parameters to obtain new monitoring results, thereby realizing real-time dynamic monitoring of business data.

[0087] This invention acquires raw monitoring data generated in actual business scenarios and encapsulates it to obtain encapsulated monitoring data, ensuring that the acquired data is up-to-date. The encapsulated monitoring data is then filtered to obtain standard monitoring data, which is sent to a preset rule executor. Filtering reduces the data volume and improves the efficiency of data monitoring. Custom monitoring rules input by the user are received and sent to the rule executor. These user-defined monitoring rules can dynamically respond to changes in monitoring needs. The rule executor performs monitoring on the standard monitoring data according to the custom monitoring rules, generates monitoring results, and pushes the results to the user, ensuring a high success rate for dynamic monitoring of business data and reducing the occupation and waste of computing resources. Therefore, the dynamic monitoring method, device, and computer-readable storage medium for business data proposed in this invention can achieve the goal of dynamically monitoring business data when business needs change frequently.

[0088] like Figure 5 The diagram shown is a functional block diagram of the dynamic monitoring device for business data of this invention.

[0089] The dynamic monitoring device 100 for business data described in this invention can be installed in an electronic device. Depending on the functions implemented, the dynamic monitoring device for business data may include a data encapsulation module 101, a data filtering module 102, a rule receiving module 103, and a monitoring execution module 104. The modules described herein can also be referred to as units, which are a series of computer program segments that can be executed by the processor of an electronic device and can perform fixed functions, and are stored in the memory of the electronic device.

[0090] In this embodiment, the functions of each module / unit are as follows:

[0091] The data encapsulation module 101 is used to acquire raw monitoring data generated in actual business scenarios and encapsulate the raw monitoring data to obtain encapsulated monitoring data.

[0092] The data filtering module 102 is used to filter the encapsulated monitoring data to obtain standard monitoring data and send it to a preset rule executor.

[0093] The rule receiving module 103 is used to receive user-inputted custom monitoring rules and send the defined monitoring rules to the rule executor.

[0094] The monitoring execution module 104 is used in the rule executor to perform monitoring on the standard monitoring data according to the custom monitoring rules, generate monitoring results, and push the monitoring results to the user.

[0095] In detail, the specific implementation steps of each module of the dynamic monitoring device for business data are as follows:

[0096] The data encapsulation module 101 is used to acquire the raw monitoring data generated in the actual business scenario and encapsulate the raw monitoring data to obtain encapsulated monitoring data.

[0097] Specifically, the data encapsulation module 101 performs the following operations:

[0098] Use a pre-set data collector to acquire raw monitoring data generated in actual business scenarios;

[0099] The original monitoring data is converted to a new format to obtain parsed monitoring data;

[0100] The parsed monitoring data is encapsulated to obtain encapsulated monitoring data.

[0101] The raw monitoring data includes sub-businesses within the actual business system, operational procedures for various businesses, specific operational details for each step, user information, and log information. The data collector is functional code capable of dynamically tracking and acquiring various data generated within the actual business system in real time.

[0102] Furthermore, actual business systems are complex and diverse, using a variety of programming languages ​​such as Java, C, and C++. Therefore, in a preferred embodiment of the present invention, a format conversion function is used to convert the original monitoring data into a format that is consistent with the programming language used to execute the monitoring rules.

[0103] In this embodiment of the invention, the parsed monitoring data is encapsulated to obtain encapsulated monitoring data, and the encapsulated monitoring data is saved to a preset data sharing area, which can enhance the flexibility of business data monitoring and facilitate subsequent expansion applications.

[0104] The data filtering module 102 is used to filter the encapsulated monitoring data to obtain standard monitoring data, and send it to a preset rule executor.

[0105] The preset rule executor described in this embodiment of the invention is built based on BeanShell dynamic scripts, has a rich set of built-in functions, supports various complex business logic operations, can be applied to large-scale enterprise-level monitoring needs, and can meet very complex business relationship descriptions.

[0106] Specifically, the filtering of the packaging monitoring data to obtain standard monitoring data includes:

[0107] The pre-built filtering function is executed using the encapsulated monitoring data as parameters;

[0108] Delete the data in the encapsulated monitoring data that satisfies the filtering function to obtain the standard monitoring data.

[0109] Furthermore, the filtering function is a function that judges the input parameters and returns data that meets the judgment conditions. In this embodiment of the invention, the filtering function includes filtering functions such as judging whether the data is empty and judging whether the date is the current date.

[0110] Preferably, using the filtering function to filter the encapsulated monitoring data can ensure that the data is real-time and valid, reduce unnecessary data processing, and improve the system's data processing efficiency.

[0111] The rule receiving module 103 is used to receive user-inputted custom monitoring rules and send the defined monitoring rules to the rule executor.

[0112] The custom monitoring rules described in this embodiment of the invention are specifications that should be followed in actual business scenarios, used to capture abnormal operations by users during the business process. For example, requiring users to click the "OK" button to take effect when submitting a business application can be a monitoring rule. When a user violates the monitoring rule (forgets to click or accidentally clicks another button), the operation data will be captured.

[0113] Preferably, the custom monitoring rules are defined by the user based on actual business operations and the operational process of handling those operations. These rules are written in BeanShell, a loosely typed scripting language that fully conforms to Java syntax. This approach is simple and allows users to quickly learn and write monitoring rules. Furthermore, the custom monitoring rules can be entered in a preset editor interface using Java code format, which is very convenient. The editor interface can also detect basic syntax errors, thereby improving the efficiency of writing monitoring rules.

[0114] The monitoring execution module 104 is used in the rule executor to perform monitoring on the standard monitoring data according to the custom monitoring rules, generate monitoring results, and push the monitoring results to the user.

[0115] Specifically, the step of executing the custom monitoring rule in the rule executor based on the standard monitoring data to generate monitoring results includes:

[0116] Set the rule context according to the custom monitoring rules;

[0117] Generate a custom function corresponding to the custom monitoring rule based on the rule context;

[0118] The custom function is executed using the standard monitoring data as parameters to generate monitoring results.

[0119] The rule context refers to the monitoring rules obtained by the rule executor reorganizing the custom monitoring rules in a certain order based on the BeanShell interpreter; the custom function is a custom function that can achieve different monitoring requirements and corresponds to the rules in the rule context.

[0120] Preferably, the custom function can also predefine some general functional functions, such as printing the calendar, setting the cache, etc., or some general business functions, such as obtaining the calendar information of day T, day T-1 and day T+1, determining whether it is a working day, sending an alert email, obtaining the monitoring status, etc. Predefining some general functions can improve the working efficiency of the rule executor.

[0121] Furthermore, in this embodiment of the invention, the rule executor is based on the BeanShell interpreter, sets up a rule context, predefines various functions, executes rules based on the acquired data, and pushes the analysis results after rule execution as monitoring results to a preset monitoring dashboard. Users can view the monitoring results in the monitoring dashboard and process actual business based on the monitoring results.

[0122] Preferably, the monitoring results are obtained by using the standard detection data as parameters, executing the standard detection data one-to-one with the custom monitoring rules, and determining whether the standard monitoring data conforms to the custom monitoring rules. For example, if the monitoring rule requires clicking the "OK" button to take effect when processing a certain service, and a user forgets to click it, the monitoring system will display this data on the monitoring interface and remind the user whether they still need to process the service. It should be emphasized that, to further ensure the privacy and security of the above monitoring results, the monitoring results can also be stored in a blockchain node.

[0123] The monitoring dashboard includes abnormal messages that violate the custom monitoring rules, specific monitoring data that violates the custom monitoring rules, and reminder information for the user.

[0124] Preferably, in this embodiment of the invention, after the rule executor performs monitoring on the standard monitoring data according to the custom monitoring rules and generates monitoring results, it can also receive new custom monitoring rules and execute monitoring to generate new monitoring results. The step of receiving new custom monitoring rules and executing monitoring to generate new monitoring results includes:

[0125] Receive new custom monitoring rules;

[0126] Based on the standard monitoring data, the new custom monitoring rules are executed to generate new monitoring results;

[0127] Update the monitoring results in the preset monitoring display panel and show the new monitoring results to the user.

[0128] Preferably, the present invention can still monitor business data when the business scenario changes. By updating the custom monitoring rules, the changes in the business scenario can be met. The rule executor can immediately obtain the new monitoring rules and execute them with the standard detection data as parameters to obtain new monitoring results, thereby realizing real-time dynamic monitoring of business data.

[0129] like Figure 6 The diagram shown is a structural schematic of the electronic device for implementing the dynamic monitoring method for business data according to the present invention.

[0130] The electronic device 1 may include a processor 10, a memory 11 and a bus, and may also include a computer program stored in the memory 11 and capable of running on the processor 10, such as a dynamic monitoring program 12 for business data.

[0131] The memory 11 includes at least one type of readable storage medium, such as flash memory, portable hard drive, multimedia card, card-type memory (e.g., SD or DX memory), magnetic memory, magnetic disk, optical disk, etc. In some embodiments, the memory 11 can be an internal storage unit of the electronic device 1, such as a portable hard drive. In other embodiments, the memory 11 can be an external storage device of the electronic device 1, such as a plug-in portable hard drive, smart media card (SMC), secure digital card (SD), flash card, etc., equipped on the electronic device 1. Furthermore, the memory 11 can include both internal and external storage units of the electronic device 1. The memory 11 can be used not only to store application software and various types of data installed on the electronic device 1, such as the code of the dynamic monitoring program 12 for business data, but also to temporarily store data that has been output or will be output.

[0132] In some embodiments, the processor 10 may be composed of integrated circuits, such as a single packaged integrated circuit or multiple integrated circuits with the same or different functions, including combinations of one or more central processing units (CPUs), microprocessors, digital processing chips, graphics processors, and various control chips. The processor 10 is the control unit of the electronic device, connecting various components of the entire electronic device through various interfaces and lines. It executes programs or modules stored in the memory 11 (e.g., dynamic monitoring programs for business data) and calls data stored in the memory 11 to perform various functions of the electronic device 1 and process data.

[0133] The bus can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. This bus can be divided into an address bus, a data bus, a control bus, etc. The bus is configured to enable communication between the memory 11 and at least one processor 10, etc.

[0134] Figure 6 Only electronic devices with components are shown; it will be understood by those skilled in the art that... Figure 6The structure shown does not constitute a limitation on the electronic device 1, and may include fewer or more components than shown, or combine certain components, or have different component arrangements.

[0135] For example, although not shown, the electronic device 1 may also include a power supply (such as a battery) to power various components. Preferably, the power supply can be logically connected to the at least one processor 10 through a power management device, thereby enabling functions such as charging management, discharging management, and power consumption management. The power supply may also include one or more DC or AC power supplies, recharging devices, power fault detection circuits, power converters or inverters, power status indicators, and other arbitrary components. The electronic device 1 may also include various sensors, Bluetooth modules, Wi-Fi modules, etc., which will not be described in detail here.

[0136] Furthermore, the electronic device 1 may also include a network interface. Optionally, the network interface may include a wired interface and / or a wireless interface (such as a Wi-Fi interface, a Bluetooth interface, etc.), which is typically used to establish communication connections between the electronic device 1 and other electronic devices.

[0137] Optionally, the electronic device 1 may further include a user interface, which may be a display, an input unit (such as a keyboard), or a standard wired or wireless interface. Optionally, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, or an OLED (Organic Light-Emitting Diode) touchscreen. The display may also be appropriately referred to as a screen or display unit, used to display information processed in the electronic device 1 and to display a visual user interface.

[0138] It should be understood that the embodiments described are for illustrative purposes only and are not limited to this structure in the scope of the patent application.

[0139] The dynamic monitoring program 12 for the business data stored in the memory 11 of the electronic device 1 is a combination of multiple instructions. When run in the processor 10, it can achieve the following:

[0140] Obtain raw monitoring data generated in actual business scenarios, and encapsulate the raw monitoring data to obtain encapsulated monitoring data;

[0141] The encapsulated monitoring data is filtered to obtain standard monitoring data, which is then sent to a preset rule executor.

[0142] Receive user-inputted custom monitoring rules and send the defined monitoring rules to the rule executor;

[0143] The rule executor performs monitoring on the standard monitoring data according to the custom monitoring rules, generates monitoring results, and pushes the monitoring results to the user.

[0144] Furthermore, if the modules / units integrated in the electronic device 1 are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. The computer-readable medium may include: any entity or device capable of carrying the computer program code, a recording medium, a USB flash drive, a portable hard drive, a magnetic disk, an optical disk, a computer memory, or a read-only memory (ROM).

[0145] In the several embodiments provided by this invention, it should be understood that the disclosed devices, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of modules is only a logical functional division, and other division methods may be used in actual implementation.

[0146] The modules described as separate components may or may not be physically separate. The components shown as modules may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs.

[0147] Furthermore, the functional modules in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or in the form of hardware plus software functional modules.

[0148] It will be apparent to those skilled in the art that the present invention is not limited to the details of the exemplary embodiments described above, and that the present invention can be implemented in other specific forms without departing from the spirit or essential characteristics of the present invention.

[0149] Therefore, the embodiments should be considered exemplary and non-limiting in all respects, and the scope of the invention is defined by the appended claims rather than the foregoing description. Thus, all variations falling within the meaning and scope of equivalents of the claims are intended to be embraced within the invention. No appended reference numerals in the claims should be construed as limiting the scope of the claims.

[0150] Furthermore, it is clear that the word "comprising" does not exclude other units or steps, and the singular does not exclude the plural. Multiple units or devices recited in a system claim may also be implemented by a single unit or device through software or hardware. The term "second class" is used to indicate names and does not indicate any specific order.

[0151] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit it. Although the present invention has been described in detail with reference to preferred embodiments, those skilled in the art should understand that modifications or equivalent substitutions can be made to the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention.

Claims

1. A method for dynamic monitoring of business data, characterized in that, The method includes: Obtain raw monitoring data generated in actual business scenarios, and encapsulate the raw monitoring data to obtain encapsulated monitoring data; The encapsulated monitoring data is filtered to obtain standard monitoring data, which is then sent to a preset rule executor. The system receives user-inputted custom monitoring rules and sends them to the rule executor. These custom monitoring rules are defined based on actual business scenarios and operational procedures. Priorities are set according to the logical relationships between monitoring rules. In the rule executor, the custom monitoring rules are sorted according to priority and a rule context is generated. Custom function corresponding to the custom monitoring rule is generated according to the rule context. The custom function and the predefined general function are executed with the standard monitoring data as parameters to generate monitoring results and push the monitoring results to the user.

2. The dynamic monitoring method for business data as described in claim 1, characterized in that, The process of acquiring raw monitoring data generated in actual business scenarios and encapsulating the raw monitoring data to obtain encapsulated monitoring data includes: Use a pre-set data collector to acquire raw monitoring data generated in actual business scenarios; The original monitoring data is converted to a new format to obtain parsed monitoring data; The parsed monitoring data is encapsulated to obtain encapsulated monitoring data.

3. The dynamic monitoring method for business data as described in claim 1, characterized in that, The process of filtering the packaging monitoring data to obtain standard monitoring data includes: The pre-built filtering function is executed using the encapsulated monitoring data as parameters; Delete the data in the encapsulated monitoring data that satisfies the filtering function to obtain the standard monitoring data.

4. The dynamic monitoring method for business data as described in claim 1, characterized in that, After generating the monitoring results, the method further includes: Receive new custom monitoring rules; Based on the standard monitoring data, the new custom monitoring rules are executed to generate new monitoring results; Update the monitoring results in the preset monitoring display panel and show the new monitoring results to the user.

5. A dynamic monitoring device for business data, characterized in that, The device includes: The data encapsulation module is used to acquire raw monitoring data generated in actual business scenarios and encapsulate the raw monitoring data to obtain encapsulated monitoring data. The data filtering module is used to filter the encapsulated monitoring data to obtain standard monitoring data, and send it to the preset rule executor. The rule receiving module is used to receive user-inputted custom monitoring rules and send the custom monitoring rules to the rule executor. The custom monitoring rules are defined based on the actual business and the operation process of handling business in the actual business scenario. The monitoring execution module is used to set priorities according to the logical relationship between monitoring rules. In the rule executor, the custom monitoring rules are sorted according to priority and a rule context is generated. Custom function corresponding to the custom monitoring rule is generated according to the rule context. The custom function and the predefined general function are executed with the standard monitoring data as parameters to generate monitoring results and push the monitoring results to the user.

6. The dynamic monitoring device for business data as described in claim 5, characterized in that, The data filtering module performs the following operations to obtain standard monitoring data: The pre-built filtering function is executed using the encapsulated monitoring data as parameters; Delete the data in the encapsulated monitoring data that satisfies the filtering function to obtain the standard monitoring data.

7. An electronic device, characterized in that, The electronic device includes: Memory, storing at least one instruction; and The processor executes instructions stored in the memory to perform the dynamic monitoring method for business data as described in any one of claims 1 to 4.

8. A computer-readable storage medium, comprising a data storage area and a program storage area, wherein the data storage area stores data and the program storage area stores a computer program, characterized in that, When the computer program is executed by the processor, it implements the dynamic monitoring method for business data as described in any one of claims 1 to 4.

Citation Information

Patent Citations

  • Event monitoring method as well as rule engine device and system

    CN102043702A

  • Data monitoring method, equipment and system

    CN106371984A

  • Data consistency monitor method, computer device and storage medium

    CN107644077A