Risk strategy operation state monitoring method and device and electronic equipment
By obtaining and parsing the running status files of risk strategies, obtaining specified types of running status data and displaying them, it solves the problem of inconsistent risk strategy management in the financial field, realizes automated monitoring and management of risk strategies, simplifies the management process and Reduced costs.
Patent Information
- Application Number
- CN202410792651.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2024-05-30
- Filing Date
- 2024-06-19
- Publication Date
- 2024-10-01
AI Technical Summary
Risk strategies in the financial field lack unified management and effective monitoring methods, and the operating status of risk strategies cannot be automatically monitored. Moreover, there is a lack of a unified visual management system, resulting in managers being unable to intuitively understand the specific situation of risk strategies.
Provides a method and device for monitoring the running status of risk strategies. By acquiring and parsing the running status files of risk strategies, specified types of running status data are obtained and displayed based on preconfigured chart formats. Policy parameters are adjusted when data anomalies exist. Realize automated monitoring and management of risk strategy operating status.
It achieves effective monitoring and management of the operating status of risk strategies, provides unified visual display and automated adjustment functions, simplifies the management process of risk strategies, and reduces time and labor costs.
Smart Images

Figure CN118733380A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing technology, in particular to the field of rule management or visualization image technology. Specifically, the present application relates to a method, device and electronic equipment for monitoring the operating status of a risk strategy. Background Art
[0002] In finance, risk strategies are a set of rules used to identify potential financial risks.
[0003] Currently, risk strategies lack unified management, and there is no effective means to monitor the operating status of risk strategies.
[0004] Among them, data related to the operating status of risk strategies are generally retained in a scattered manner and cannot support unified automated monitoring.
[0005] In addition, when managing risk strategies, there is a lack of a unified visual management system, which makes it impossible for managers to intuitively understand the specific circumstances of the risk strategies. Summary of the invention
[0006] The purpose of this application is to solve at least one of the above technical defects. The technical solution adopted by this application is as follows:
[0007] In a first aspect, an embodiment of the present application provides a method for monitoring the running status of a risk strategy, the method comprising:
[0008] In response to receiving a request for monitoring the operating status of the risk strategy, obtaining an operating status file corresponding to the risk strategy, the operating status file being determined based on operating status data of the risk strategy after execution;
[0009] Parse the running status file and obtain the parsing result;
[0010] At least one specified type of operating status data is obtained based on the parsing result.
[0011] Optionally, after obtaining at least one specified type of operating status data, the method further includes:
[0012] Based on a preconfigured chart format, at least one specified type of operating status data is converted into a chart, and the chart is displayed.
[0013] Optionally, the at least one specified type of operating status data includes at least one of the following:
[0014] The period during which the risk strategy is run;
[0015] The coverage of risk strategies to users;
[0016] The time it takes to execute risky strategies.
[0017] Optionally, in response to at least one specified type of operating status data including a time consumption for executing a risk strategy, obtaining at least one specified type of operating status data includes:
[0018] Parse the running status file to obtain the execution start time and execution end time of the risk strategy;
[0019] The time taken to execute the risk strategy is determined based on the execution start time and the execution end time.
[0020] Optionally, the above method further includes:
[0021] In response to at least one specified type of operating status data having data anomalies, a policy parameter of the operating policy is adjusted based on the operating status data having the data anomalies.
[0022] Optionally, the running status file also includes initial warning data, and the above method further includes:
[0023] Parse initial warning data from the running status file;
[0024] Combine the initial warning data with the preset rule expression to obtain the warning analysis data;
[0025] Match the numerical value of the warning analysis data with the data value interval corresponding to each warning state to determine the current warning state.
[0026] Optionally, the warning state includes: being in a normal state, being in a warning state, and being in a critical state. In response to the current warning state being in the warning state, the method further includes:
[0027] Based on the value of the warning analysis data corresponding to the current warning status, the strategy parameters of the operation strategy are adjusted.
[0028] Optionally, after obtaining at least one specified type of operating status data, the method further includes:
[0029] Generate monitoring records of operation status files;
[0030] Parse the running status file and obtain the parsing results, including:
[0031] In response to the existence of the monitoring record of the running status file, the parsing result is determined as parsing failure.
[0032] Optionally, the running status file is parsed to obtain a parsing result, including at least one of the following:
[0033] In response to the running status file being parsed, determining the parsing result as a parsing failure;
[0034] In response to the data in the running status file being empty, the parsing result is determined to be a parsing failure.
[0035] In a second aspect, an embodiment of the present application provides a device for monitoring the running status of a risk strategy, the device comprising:
[0036] An operation status file acquisition module, configured to acquire an operation status file corresponding to a risk strategy in response to receiving an operation status monitoring request for the risk strategy, wherein the operation status file is determined based on the operation status data of the risk strategy after execution;
[0037] A file parsing module, used to parse the running status file and obtain the parsing result;
[0038] The running status data acquisition module is used to acquire at least one specified type of running status data based on the parsing result.
[0039] Optionally, the above device further includes:
[0040] The visualization display module is used to convert the at least one specified type of operating status data into a chart based on a preconfigured chart format after acquiring the at least one specified type of operating status data, and to display the chart.
[0041] Optionally, the at least one specified type of operating status data includes at least one of the following:
[0042] The period during which the risk strategy is run;
[0043] The coverage of risk strategies to users;
[0044] The time it takes to execute risky strategies.
[0045] Optionally, in response to at least one specified type of operating status data including the time consumed to execute the risk strategy, the operating status data acquisition module, when acquiring the at least one specified type of operating status data, is specifically configured to:
[0046] Parse the running status file to obtain the execution start time and execution end time of the risk strategy;
[0047] The time taken to execute the risk strategy is determined based on the execution start time and the execution end time.
[0048] Optionally, the above device further includes:
[0049] The abnormality adjustment module is used to adjust the policy parameters of the operation policy based on the operation status data with the data abnormality in response to the existence of data abnormality in at least one specified type of operation status data.
[0050] Optionally, the operating status file also includes initial warning data, and the device also includes a warning status determination module, which is used to:
[0051] Parse initial warning data from the running status file;
[0052] Combine the initial warning data with the preset rule expression to obtain the warning analysis data;
[0053] Match the numerical value of the warning analysis data with the data value interval corresponding to each warning state to determine the current warning state.
[0054] Optionally, the warning state includes: being in a normal state, being in a warning state, and being in a critical state. In response to the current warning state being in the warning state, the above device further includes:
[0055] The warning adjustment module is used to adjust the policy parameters of the operation policy based on the value of the warning analysis data corresponding to the current warning state.
[0056] Optionally, the above device further includes:
[0057] A monitoring record module, for generating a monitoring record of an operation status file after acquiring at least one specified type of operation status data;
[0058] The file parsing module is used to:
[0059] In response to the existence of the monitoring record of the running status file, the parsing result is determined as parsing failure.
[0060] Optionally, the file parsing module is used for at least one of the following:
[0061] In response to the running status file being parsed, determining the parsing result as a parsing failure;
[0062] In response to the data in the running status file being empty, the parsing result is determined to be a parsing failure.
[0063] In a third aspect, an embodiment of the present application provides an electronic device, the electronic device comprising: a processor and a memory;
[0064] A memory, used for storing operation instructions;
[0065] A processor is used to execute the risk strategy operation status monitoring method as shown in any implementation of the first aspect of the present application by calling an operation instruction.
[0066] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method for monitoring the operating status of a risk strategy shown in any implementation of the first aspect of the present application.
[0067] The beneficial effects of the technical solution provided by the embodiment of the present application are:
[0068] The solution provided by the embodiment of the present application is to obtain the operating status file corresponding to the risk strategy in response to receiving the operating status monitoring request for the risk strategy, and the operating status file is determined based on the operating status data of the risk strategy after execution; parse the operating status file to obtain the parsing result; and obtain at least one specified type of operating status data based on the parsing result. Based on this solution, the operating status data of the risk strategy can be automatically obtained, and the effective monitoring and management of the operating status of the risk strategy can be realized. BRIEF DESCRIPTION OF THE DRAWINGS
[0069] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in describing the embodiments of the present application are briefly introduced below.
[0070] Figure 1 A flow chart of a method for monitoring the operating status of a risk strategy provided in an embodiment of the present application;
[0071] Figure 2 A flowchart of a specific implementation method of a risk strategy operation status monitoring method provided in an embodiment of the present application;
[0072] Figure 3 A schematic diagram of the structure of a monitoring device for the operation status of a risk strategy provided in an embodiment of the present application;
[0073] Figure 4 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0074] The embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present application, and cannot be interpreted as limiting the present invention.
[0075] It will be understood by those skilled in the art that, unless expressly stated, the singular forms "one", "said", and "the" used herein may also include plural forms. It should be further understood that the term "comprising" used in the specification of the present application refers to the presence of the features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or groups thereof. It should be understood that when we refer to an element as being "connected" or "coupled" to another element, it may be directly connected or coupled to the other element, or there may be an intermediate element. In addition, the "connection" or "coupling" used herein may include wireless connection or wireless coupling. The term "and / or" used herein includes all or any unit and all combinations of one or more associated listed items.
[0076] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.
[0077] At present, risk strategy management in the financial system may have the following defects:
[0078] 1. Lack of unified management of risk strategies. Specifically, there is a lack of unified visual operating system, unified rule management, unified decision-making conclusions, unified rule caliber, unified peripheral system docking and unified data retention.
[0079] 2. Risk strategy-related data between different systems cannot be automatically connected, which means that automated processing of risk strategy-related data cannot be achieved, making it inconvenient for data fusion management between systems.
[0080] 3. The tracking and monitoring of risk strategies lacks automation and systematization. A large amount of historical operating status data of risk strategies is stored in scattered folders and cannot be saved centrally. It cannot be used as standardized and unified underlying data to support the automation of risk strategy monitoring.
[0081] 4. There is a lack of complete recording tools for the launch, changes, abnormal situations and strategy versions of risk strategies.
[0082] The risk strategy operation status monitoring method, device and electronic device provided in the embodiments of the present application are intended to solve at least one of the above technical problems in the prior art.
[0083] The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.
[0084] Figure 1 A flow chart of a method for monitoring the running status of a risk strategy provided by an embodiment of the present application is shown as follows: Figure 1 As shown, the method may mainly include:
[0085] Step S110: in response to receiving a request for monitoring the operating status of a risk strategy, obtaining an operating status file corresponding to the risk strategy, where the operating status file is determined based on operating status data of the risk strategy after execution;
[0086] Step S120: parsing the running status file to obtain parsing results;
[0087] Step S130: obtaining at least one specified type of operating status data based on the analysis result.
[0088] Among them, the operating status data of the risk strategy after execution can be uniformly stored in the operating status file under the specified directory, realizing the unified collection and retention of the operating status data.
[0089] As an example, the running status file may exist in the cloud. When the user needs to monitor the running status, a running status monitoring request may be initiated, and the system requests the running status file from the cloud.
[0090] The operation status monitoring request may be for all risk strategies in the system or for some specified risk strategies in the system.
[0091] In the embodiment of the present application, after the running status file is obtained, the running status file can be parsed, and the running status data can be determined based on the parsing result.
[0092] By uniformly acquiring operation status data, effective monitoring and management of the operation status of risk strategies can be achieved.
[0093] The method provided in the embodiment of the present application obtains the operating status file corresponding to the risk strategy in response to receiving the operating status monitoring request for the risk strategy, the operating status file is determined based on the operating status data of the risk strategy after execution; parses the operating status file to obtain the parsing result; and obtains at least one specified type of operating status data based on the parsing result. Based on this solution, the operating status data of the risk strategy can be automatically obtained, and the effective monitoring and management of the operating status of the risk strategy can be realized.
[0094] In an optional manner of the embodiment of the present application, after obtaining at least one specified type of operating status data, the method further includes:
[0095] Based on a preconfigured chart format, at least one specified type of operating status data is converted into a chart, and the chart is displayed.
[0096] In the embodiment of the present application, in order to achieve visual monitoring of the operating status of the risk strategy, the operating status data can be converted into a chart based on a preconfigured chart format, thereby achieving visual display.
[0097] The preconfigured chart formats may include, but are not limited to, line charts, bar charts, and the like.
[0098] As an example, echarts can be used as a visualization tool to visualize the operating status of risk strategies.
[0099] In an optional manner of the embodiment of the present application, at least one specified type of operating status data includes at least one of the following:
[0100] The period during which the risk strategy is run;
[0101] The coverage of risk strategies to users;
[0102] The time it takes to execute risky strategies.
[0103] As an example, the operation status data may be within a predetermined period, such as the last 31 days. The operation status data may be periodically batched and stored, such as automatically batching and storing the coverage amount and the time consumed every other day.
[0104] As an example, the running time, coverage, and time consumption may be displayed in the form of a bar chart.
[0105] In an optional manner of the embodiment of the present application, in response to at least one specified type of operating status data including the time consumed to execute the risk strategy, obtaining at least one specified type of operating status data includes:
[0106] Parse the running status file to obtain the execution start time and execution end time of the risk strategy;
[0107] The time taken to execute the risk strategy is determined based on the execution start time and the execution end time.
[0108] In an embodiment of the present application, the running status file will include the execution start time and execution end time of the risk strategy. The execution start time and execution end time of the risk strategy can be obtained separately, and the difference between the two can be calculated to calculate the time consumed in executing the risk strategy.
[0109] In an optional manner of the embodiment of the present application, the above method further includes:
[0110] In response to at least one specified type of operating status data having data anomalies, a policy parameter of the operating policy is adjusted based on the operating status data having the data anomalies.
[0111] In the embodiment of the present application, various types of operating status data may be pre-configured with their abnormal threshold ranges. When the value of the operating status data is within the abnormal threshold range, it may be determined that there is a data abnormality.
[0112] Abnormal operation status data can reflect that the operation strategy is unreasonable. At this time, the strategy parameters of the operation strategy can be adjusted based on the preset adjustment method.
[0113] For example, when running a risk strategy, if it is monitored that the risk of overseas transactions is lower during holidays, the risk strategy for overseas transactions can be relaxed, such as lowering the strategy parameters used for early warning.
[0114] In an optional manner of the embodiment of the present application, the operation status file also includes initial warning data, and the above method further includes:
[0115] Parse initial warning data from the running status file;
[0116] Combine the initial warning data with the preset rule expression to obtain the warning analysis data;
[0117] Match the numerical value of the warning analysis data with the data value interval corresponding to each warning state to determine the current warning state.
[0118] In an embodiment of the present application, the running status data in the running status file may also contain a part of indicators that can be used for early warning analysis, and this part of specific types of indicators can be marked as initial early warning data.
[0119] The rule expression can be composed of variables and logical operators. The initial warning data is combined with the preset rule expression, that is, the initial warning data is brought in as a variable, and the initial warning data is logically operated based on the logical operator, and the obtained logical operation result is used as the warning analysis data.
[0120] Multiple data value intervals may be set for the early warning analysis data. When the data value of the early warning analysis data falls within a certain data value interval, it represents that the early warning analysis result is the early warning state corresponding to the data value interval.
[0121] In the embodiment of the present application, the operation status data in the operation status file may come from multiple independent sub-business systems, such as the pre-loan system, the loan system, and the post-loan system. During the early warning analysis, the operation status data from different sub-business systems can be uniformly obtained from the operation status file, realizing the automatic connection of different sub-business systems and facilitating the integrated management of data.
[0122] As an example, echarts can be used as a visualization tool to use a curve chart to show the warning status in the past 31 days.
[0123] In an optional manner of the embodiment of the present application, the warning state includes: being in a normal state, being in a warning state, and being in a critical state. In response to the current warning state being in the warning state, the method further includes:
[0124] Based on the value of the warning analysis data corresponding to the current warning status, the strategy parameters of the operation strategy are adjusted.
[0125] In the embodiment of the present application, the warning state may include being in a normal state, being in a warning state, and being in a critical state. Among them, when being in the warning state, it means that the corresponding warning analysis data is abnormal.
[0126] Data anomalies in the early warning analysis data can reflect that there are unreasonable aspects in the operation strategy. At this time, the strategy parameters of the operation strategy can be adjusted based on the preset adjustment method and the value of the early warning analysis data.
[0127] In an optional manner of the embodiment of the present application, after obtaining at least one specified type of operating status data, the method further includes:
[0128] Generate monitoring records of operation status files;
[0129] Parse the running status file and obtain the parsing results, including:
[0130] In response to the existence of the monitoring record of the running status file, the parsing result is determined as parsing failure.
[0131] In the embodiment of the present application, a monitoring record of the operation status file can be generated during the monitoring and management of the risk strategy.
[0132] The monitoring record may indicate that the running status file within a certain historical period has been monitored by the system. If the running status file needs to be parsed again in the future, when it is determined that there is a monitoring record, the file will no longer be parsed and the parsing result will be determined as parsing failure.
[0133] In an optional manner of the embodiment of the present application, parsing the running status file to obtain a parsing result includes at least one of the following:
[0134] In response to the running status file being parsed, determining the parsing result as a parsing failure;
[0135] In response to the data in the running status file being empty, the parsing result is determined to be a parsing failure.
[0136] In an embodiment of the present application, the analysis of the running status file can be recorded. When it is determined that the running status file has been analyzed, it means that the running status file has been monitored by the system. At this time, the analysis result can be determined as a analysis failure.
[0137] In the embodiment of the present application, if the data in the running status file is empty, that is, there is no corresponding running status data in the running status file, the parsing result can be determined as a parsing failure.
[0138] As an example, Figure 2 A flow chart showing a specific implementation of the method for monitoring the operating status of a risk strategy provided in the present application.
[0139] like Figure 2 As shown in the figure, the overall process of this solution is:
[0140] Get the risk strategy running status file from the specified directory of the cloud storage, and then parse and judge it.
[0141] During the analysis and judgment, first, it can be determined whether the running status file has been read and parsed. If the running status file has been read and parsed, the process can be terminated. Secondly, it can be determined whether the running status file exists in the cloud storage tag. The cloud storage tag is the monitoring record of the running status file. Through the monitoring record, it can be determined whether the running status file has been monitored. If so, the process can be terminated. Finally, it can be determined whether the running status file is empty. If it is empty, the process can be terminated.
[0142] After the running status file is parsed, the initial warning data can be extracted from the running status file and combined with the regular expression to calculate the strategic warning data (ie the aforementioned warning analysis data), so as to determine the warning status.
[0143] Extract the strategy running time period, strategy time consumption, and strategy coverage from the strategy running data.
[0144] Extract user labels from the running status file and display them together with the visualization.
[0145] Insert the warning status, strategy running time, strategy time consumption, and strategy coverage into the strategy data table. Insert the processing results into the monitoring record table.
[0146] This application provides a risk strategy management and analysis tool based on automatic data collection and chart visualization statistical analysis, which automates and visualizes the entire risk strategy process. Users only need to configure the minimum information for data collection to automatically collect and process data. The recent data trends can be intuitively seen through page charts, thereby capturing the weak points of customer risks and taking corresponding processing measures.
[0147] The risk strategy management and analysis tool provided by this application can simplify operations, reduce time and labor costs, realize unified management of the entire process, and automate the connection between strategies and operations; complete the integrated management of processes and data for data and disposal actions between strategy systems, and realize automated and visualized monitoring by using automatic data collection and chart data statistics. Complete records of historical strategy launches, changes, abnormal situations, and strategy versions are achieved.
[0148] Based on Figure 1 The same principle as shown in the method, Figure 3 A schematic diagram of the structure of a monitoring device for the operation status of a risk strategy provided in an embodiment of the present application is shown. Figure 3 As shown, the monitoring device 30 for the risk strategy operation status may include:
[0149] The operation status file acquisition module 310 is used to obtain the operation status file corresponding to the risk strategy in response to receiving the operation status monitoring request for the risk strategy, and the operation status file is determined based on the operation status data of the risk strategy after execution;
[0150] The file parsing module 320 is used to parse the running status file and obtain the parsing result;
[0151] The operation status data acquisition module 330 is used to acquire at least one specified type of operation status data based on the analysis result.
[0152] The device provided in the embodiment of the present application obtains the operating status file corresponding to the risk strategy in response to receiving the operating status monitoring request for the risk strategy, and the operating status file is determined based on the operating status data of the risk strategy after execution; parses the operating status file to obtain the parsing result; and obtains at least one specified type of operating status data based on the parsing result. Based on this solution, the operating status data of the risk strategy can be automatically obtained to achieve effective monitoring and management of the operating status of the risk strategy.
[0153] It can be understood that the above modules of the monitoring device for the operation status of the risk strategy in this embodiment have the function of realizing Figure 1 The functions of the corresponding steps of the method for monitoring the operating status of the risk strategy in the embodiment shown in . The function can be implemented by hardware, or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above functions. The above modules can be software and / or hardware, and the above modules can be implemented separately or integrated with multiple modules. For the functional description of each module of the monitoring device for the operating status of the risk strategy, please refer to Figure 1 The corresponding description of the method for monitoring the operating status of the risk strategy in the embodiment shown in will not be repeated here.
[0154] An embodiment of the present application provides an electronic device, including a processor and a memory;
[0155] A memory, used for storing operation instructions;
[0156] The processor is used to execute the risk strategy operation status monitoring method provided in any embodiment of the present application by calling an operation instruction.
[0157] As an example, Figure 4 A schematic diagram of the structure of an electronic device applicable to the embodiment of the present application is shown. Figure 4 As shown, the electronic device 2000 includes: a processor 2001 and a memory 2003. The processor 2001 and the memory 2003 are connected, such as through a bus 2002. Optionally, the electronic device 2000 may also include a transceiver 2004. It should be noted that in actual applications, the transceiver 2004 is not limited to one, and the structure of the electronic device 2000 does not constitute a limitation on the embodiments of the present application.
[0158] The processor 2001 is applied in the embodiment of the present application to implement the method shown in the above method embodiment. The transceiver 2004 may include a receiver and a transmitter. The transceiver 2004 is applied in the embodiment of the present application to implement the function of the electronic device of the embodiment of the present application communicating with other devices when executed.
[0159] Processor 2001 may be a CPU (Central Processing Unit), a general purpose processor, a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. It may implement or execute various exemplary logic blocks, modules and circuits described in conjunction with the disclosure of this application. Processor 2001 may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, etc.
[0160] The bus 2002 may include a path to transmit information between the above components. The bus 2002 may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus. The bus 2002 may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 4 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0161] The memory 2003 can be a ROM (Read Only Memory) or other types of static storage devices that can store static information and instructions, a RAM (Random Access Memory) or other types of dynamic storage devices that can store information and instructions, or an EEPROM (Electrically Erasable Programmable Read Only Memory), a CD-ROM (Compact Disc Read Only Memory) or other optical disk storage, optical disk storage (including compressed optical disk, laser disk, optical disk, digital versatile disk, Blu-ray disk, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited to these.
[0162] Optionally, the memory 2003 is used to store application code for executing the solution of the present application, and the execution is controlled by the processor 2001. The processor 2001 is used to execute the application code stored in the memory 2003 to implement the risk strategy operation status monitoring method provided in any embodiment of the present application.
[0163] The electronic device provided in the embodiment of the present application is applicable to any embodiment of the above method and will not be described in detail here.
[0164] The embodiment of the present application provides an electronic device, which, compared with the prior art, obtains the operating status file corresponding to the risk strategy in response to receiving a request for monitoring the operating status of the risk strategy, the operating status file is determined based on the operating status data of the risk strategy after execution; parses the operating status file to obtain a parsing result; and obtains at least one specified type of operating status data based on the parsing result. Based on this solution, the operating status data of the risk strategy can be automatically obtained, and effective monitoring and management of the operating status of the risk strategy can be achieved.
[0165] An embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon. When the program is executed by a processor, the method for monitoring the operating status of a risk strategy shown in the above method embodiment is implemented.
[0166] The computer-readable storage medium provided in the embodiments of the present application is applicable to any embodiment of the above method and will not be described in detail here.
[0167] The embodiment of the present application provides a computer-readable storage medium. Compared with the prior art, in response to receiving a request for monitoring the operating status of a risk strategy, the operating status file corresponding to the risk strategy is obtained, and the operating status file is determined based on the operating status data of the risk strategy after execution; the operating status file is parsed to obtain a parsing result; and at least one specified type of operating status data is obtained based on the parsing result. Based on this solution, the operating status data of the risk strategy can be automatically obtained, and effective monitoring and management of the operating status of the risk strategy can be achieved.
[0168] It should be understood that, although the steps in the flowchart of the accompanying drawings are displayed in sequence as indicated by the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least a part of the steps in the flowchart of the accompanying drawings may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and their execution order is not necessarily sequential, but can be executed in turn or alternately with other steps or at least a part of the sub-steps or stages of other steps.
[0169] The above descriptions are only some embodiments of the present invention. It should be pointed out that, for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A method for monitoring the operating status of a risk strategy, It is characterized in that include: In response to receiving a request for monitoring the operating status of a risk strategy, obtaining an operating status file corresponding to the risk strategy, wherein the operating status file is determined based on operating status data of the risk strategy after execution; Parsing the running status file to obtain a parsing result; At least one specified type of operating status data is acquired based on the parsing result.
2. The method according to claim 1, It is characterized in that After acquiring at least one specified type of operating status data, the method further includes: Based on a preconfigured chart format, the at least one specified type of operating status data is converted into a chart, and the chart is displayed.
3. The method according to claim 1, It is characterized in that The at least one specified type of operating status data includes at least one of the following: The period of time during which the risk strategy is to be run; The coverage of the risk strategy to users; The time it takes to execute the risk strategy.
4. The method according to claim 3, It is characterized in that In response to the at least one specified type of operating status data including the time consumed to execute the risk strategy, the obtaining of the at least one specified type of operating status data includes: Parsing the running status file to obtain the execution start time and execution end time of the risk strategy; Based on the execution start time and the execution end time, the time consumed in executing the risk strategy is determined.
5. The method according to claim 4, It is characterized in that Also includes: In response to the existence of data anomalies in the at least one specified type of operating status data, a policy parameter of the operating policy is adjusted based on the operating status data having the data anomaly.
6. The method according to claim 1, It is characterized in that The operation status file also includes initial warning data, and the method further includes: Parsing the initial warning data from the operating status file; Combining the initial warning data with a preset regular expression to obtain warning analysis data; The numerical value of the warning analysis data is matched with the data value interval corresponding to each warning state to determine the current warning state.
7. The method according to claim 6, It is characterized in that The warning state includes: being in a normal state, being in a warning state, and being in a critical state. In response to the current warning state being in the warning state, the method further includes: Based on the value of the warning analysis data corresponding to the current warning state, the strategy parameters of the operation strategy are adjusted.
8. The method according to any one of claims 1 to 7, It is characterized in that After acquiring at least one specified type of operating status data, the method further includes: Generate a monitoring record of the operating status file; The step of parsing the running status file to obtain a parsing result includes: In response to the existence of the monitoring record of the running status file, the parsing result is determined as parsing failure.
9. The method according to any one of claims 1 to 7, It is characterized in that The step of parsing the running status file to obtain a parsing result includes at least one of the following: In response to the running status file having been parsed, determining the parsing result as parsing failure; In response to the data in the running status file being empty, the parsing result is determined to be a parsing failure.
10. A monitoring device for the operation status of a risk strategy, It is characterized in that include: An operation status file acquisition module, configured to, in response to receiving an operation status monitoring request for a risk strategy, acquire an operation status file corresponding to the risk strategy, wherein the operation status file is determined based on the operation status data of the risk strategy after execution; A file parsing module, used for parsing the running status file to obtain a parsing result; The operating status data acquisition module is used to acquire at least one specified type of operating status data based on the analysis result.
11. The device according to claim 10, It is characterized in that Also includes: A visualization display module is used to convert the at least one specified type of operating status data into a chart based on a preconfigured chart format after acquiring the at least one specified type of operating status data, and to display the chart.
12. The device according to claim 10, It is characterized in that The at least one specified type of operating status data includes at least one of the following: The period of time during which the risk strategy is to be run; The coverage of the risk strategy to users; The time it takes to execute the risk strategy.
13. The device according to claim 12, It is characterized in that In response to the at least one specified type of operating status data including the time consumed to execute the risk strategy, the operating status data acquisition module, when acquiring the at least one specified type of operating status data, is specifically configured to: Parsing the running status file to obtain the execution start time and execution end time of the risk strategy; Based on the execution start time and the execution end time, the time consumed in executing the risk strategy is determined.
14. The device according to claim 13, It is characterized in that Also includes: The abnormality adjustment module is used to adjust the policy parameters of the operation policy based on the operation status data with the data abnormality in response to the existence of data abnormality in the at least one specified type of operation status data.
15. The device according to claim 10, It is characterized in that The operation status file also includes initial warning data, and the device also includes a warning status determination module, which is used to: Parsing the initial warning data from the operating status file; Combining the initial warning data with a preset regular expression to obtain warning analysis data; The numerical value of the warning analysis data is matched with the data value interval corresponding to each warning state to determine the current warning state.
16. The device according to claim 15, It is characterized in that The warning state includes: being in a normal state, being in a warning state, and being in a critical state. In response to the current warning state being in the warning state, the device further includes: The warning adjustment module is used to adjust the strategy parameters of the operation strategy based on the value of the warning analysis data corresponding to the current warning state.
17. The device according to any one of claims 10 to 16, It is characterized in that Also includes: A monitoring record module, configured to generate a monitoring record of the operating status file after acquiring at least one specified type of operating status data; The file parsing module is used for: In response to the existence of the monitoring record of the running status file, the parsing result is determined as parsing failure.
18. The device according to any one of claims 10 to 16, It is characterized in that The file parsing module is used for at least one of the following: In response to the running status file having been parsed, determining the parsing result as parsing failure; In response to the data in the running status file being empty, the parsing result is determined to be a parsing failure.
19. An electronic device, It is characterized in that including a processor and a memory; The memory is used to store operation instructions; The processor is used to execute the method according to any one of claims 1 to 9 by calling the operation instruction.
20. A computer-readable storage medium, It is characterized in that The storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 9 is implemented.
