Risk control early warning method and device

By generating and compiling risk control warning rules into executable files, and directly executing the files for risk control warning processing, the problem of low interpretation and translation efficiency of interpreted scripts is solved, and the processing efficiency of the risk control warning system is improved.

CN117709724BActive Publication Date: 2024-10-11LOGOSDATA
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311744199.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-18
Publication Date
2024-10-11
Estimated Expiration
2043-12-18

AI Technical Summary

Technical Problem

When the existing risk control and early warning system processes business data, it needs to be interpreted and translated based on interpreted scripts, resulting in low processing efficiency.

Method used

A compiled script is generated and compiled into an executable file, and the executable file is directly executed for risk control and early warning processing, avoiding the parsing and translation step.

Benefits of technology

Significantly improves the efficiency of business data processing by the risk control and early warning system and reduces processing time.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117709724B_ABST
    Figure CN117709724B_ABST
Patent Text Reader

Abstract

The present application discloses a risk control warning method and device, which relates to the field of risk control technology. The method of the present application includes: obtaining a risk control warning set corresponding to a target company, wherein the risk control warning set corresponding to the target company includes multiple risk control warning rules corresponding to the target company; generating a compiled script corresponding to the target company according to the risk control warning set corresponding to the target company, wherein the compiled script includes multiple risk control warning rules; compiling the compiled script to obtain an executable file corresponding to the target company; receiving multiple risk control warning data sent by the target company, wherein the risk control warning data is specifically the business data of the target company; executing the executable file, so as to perform risk control warning processing on each risk control warning data based on the multiple risk control warning rules corresponding to the target company, so as to obtain a warning result corresponding to each risk control warning data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of risk control technology, and in particular to a risk control early warning method and device. Background Art

[0002] Risk control refers to taking various measures and methods to eliminate or reduce the possibility of risk events, or to reduce the losses caused by risk events. Among them, risk control warning is a very core component of risk control business. The risk control warning system processes the target company's business data to obtain risk control warning results. According to the risk control warning results, the target company's potential risks can be discovered in advance, and timely warnings can be issued for potential risks to notify staff to take corresponding measures, thereby effectively avoiding risks.

[0003] At present, when it is necessary to perform risk control and early warning processing on the target company's business data, it is usually necessary to first generate an interpretive script corresponding to the target company based on multiple risk control and early warning rules corresponding to the target company, and then perform risk control and early warning processing on the target company's business data based on the interpretive script corresponding to the target company; because when risk control and early warning processing is performed on business data based on the interpretive script, each risk control and early warning rule contained in the interpretive script needs to be interpreted and translated once before it can be executed, which results in a lot of time-consuming and low efficiency for performing risk control and early warning processing on the target company's business data based on the interpretive script. Summary of the invention

[0004] The embodiments of the present application provide a risk control warning method and device, the main purpose of which is to improve the efficiency of risk control warning processing on the business data of a target company.

[0005] In order to solve the above technical problems, the embodiments of the present application provide the following technical solutions:

[0006] In a first aspect, the present application provides a risk control early warning method, which is applied to a risk control early warning system, and the method includes:

[0007] Obtaining a risk control warning set corresponding to the target company, wherein the risk control warning set corresponding to the target company includes multiple risk control warning rules corresponding to the target company;

[0008] Generate a compiled script corresponding to the target company according to the risk control warning set corresponding to the target company, wherein the compiled script includes a plurality of the risk control warning rules;

[0009] Compiling the compiled script to obtain an executable file corresponding to the target company;

[0010] Receiving a plurality of risk control warning data sent by the target company, wherein the risk control warning data is specifically business data of the target company;

[0011] The executable file is executed to perform risk control warning processing on each of the data to be warned of risk control based on the multiple risk control warning rules corresponding to the target company, so as to obtain a warning result corresponding to each of the data to be warned of risk control.

[0012] In a second aspect, the present application further provides a risk control warning device, which is applied to a risk control warning system, and includes:

[0013] An acquisition unit is used to acquire a risk control warning set corresponding to a target company, wherein the risk control warning set corresponding to the target company includes a plurality of risk control warning rules corresponding to the target company;

[0014] A generating unit, configured to generate a compiled script corresponding to the target company according to the risk control warning set corresponding to the target company, wherein the compiled script includes a plurality of the risk control warning rules;

[0015] A compiling unit, used for compiling the compiled script to obtain an executable file corresponding to the target company;

[0016] A first receiving unit is configured to receive a plurality of risk control warning data sent by the target company, wherein the risk control warning data is specifically business data of the target company;

[0017] An execution unit is used to execute the executable file so as to perform risk control warning processing on each of the data to be warned of risk control based on multiple risk control warning rules corresponding to the target company, so as to obtain a warning result corresponding to each of the data to be warned of risk control.

[0018] In a third aspect, an embodiment of the present application provides a storage medium, wherein the storage medium includes a stored program, wherein when the program is running, the device where the storage medium is located is controlled to execute the risk control warning method described in the first aspect.

[0019] In a fourth aspect, an embodiment of the present application provides a risk control and early warning device, which includes a storage medium; and one or more processors, wherein the storage medium is coupled to the processor, and the processor is configured to execute program instructions stored in the storage medium; when the program instructions are executed, the risk control and early warning method described in the first aspect is executed.

[0020] By means of the above technical solution, the technical solution provided by this application has at least the following advantages:

[0021] The present application provides a risk control warning method and device. The present application can, after the risk control warning system obtains a risk control warning set including multiple risk control warning rules corresponding to the target company, generate a compiled script corresponding to the target company according to the multiple risk control warning rules included in the risk control warning set corresponding to the target company, and compile the compiled script corresponding to the target company to obtain an executable file corresponding to the target company; after receiving multiple risk control warning data sent by the target company, the risk control warning system executes the executable file corresponding to the target company. After the executable file corresponding to the target company is executed, the executable file corresponding to the target company will perform risk control warning processing on each risk control warning data based on the multiple risk control warning rules corresponding to the target company, thereby obtaining a warning result corresponding to each risk control warning data. Because, after the compiled script corresponding to the target company is compiled into the executable file corresponding to the target company and the executable file corresponding to the target company is executed, the executable file corresponding to the target company does not need to parse and translate the multiple risk control warning rules corresponding to the target company, and can directly perform risk control warning processing on the target company's business data based on the multiple risk control warning rules corresponding to the target company, thereby effectively reducing the time spent by the risk control warning system on risk control warning processing of the target company's business data, and further effectively improving the efficiency of the risk control warning system in performing risk control warning processing on the target company's business data.

[0022] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] By reading the detailed description below with reference to the accompanying drawings, the above and other purposes, features and advantages of the exemplary embodiments of the present application will become easy to understand. In the accompanying drawings, several embodiments of the present application are shown in an exemplary and non-limiting manner, and the same or corresponding reference numerals represent the same or corresponding parts, wherein:

[0024] Figure 1 A flow chart of a risk control early warning method provided in an embodiment of the present application is shown;

[0025] Figure 2 Another flow chart of a risk control and early warning method provided by an embodiment of the present application is shown;

[0026] Figure 3 A block diagram of a wind control and early warning device provided in an embodiment of the present application is shown;

[0027] Figure 4A block diagram of another risk control and early warning device provided in an embodiment of the present application is shown. DETAILED DESCRIPTION

[0028] The exemplary embodiments of the present application will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present application are shown in the accompanying drawings, it should be understood that the present application can be implemented in various forms and should not be limited by the embodiments described herein. On the contrary, these embodiments are provided in order to enable a more thorough understanding of the present application and to fully convey the scope of the present application to those skilled in the art.

[0029] In addition, the words “first”, “second” and the like used in the present application do not indicate any order, quantity or importance, but are only used to distinguish different parts.

[0030] It should be noted that, unless otherwise specified, the technical terms or scientific terms used in this application should have the common meanings understood by technicians in the field to which this application belongs.

[0031] At present, when it is necessary to perform risk control warning processing on the target company's business data, it is usually necessary to first generate an explanatory script corresponding to the target company based on multiple risk control warning rules corresponding to the target company, and then perform risk control warning processing on the target company's business data based on the explanatory script corresponding to the target company.

[0032] When risk control warning processing is performed on business data based on interpreted scripts, each risk control warning rule contained in the interpreted script needs to be interpreted and translated once before it can be executed. As a result, risk control warning processing on the target company's business data based on interpreted scripts takes a lot of time and is inefficient.

[0033] Therefore, in order to improve the efficiency of risk control early warning processing of the target company's business data, the embodiment of the present application provides a risk control early warning method, which is applied to the risk control early warning system, such as Figure 1 As shown, the method includes:

[0034] 101. Obtain the risk control warning set corresponding to the target company.

[0035] In the embodiment of the present application, the executor in each step is the risk control warning system.

[0036] Among them, the risk control warning set corresponding to the target company includes multiple risk control warning rules corresponding to the target company. The risk control warning rules corresponding to the target company are used to detect whether there are risks in the business data of the target company, that is, based on the multiple risk control warning rules corresponding to the target company, the business data of the target company can be processed for risk control warning, thereby obtaining corresponding warning results.

[0037] In order to ensure that the risk control warning processing of the target company's business data can be accurately performed, the risk control warning system needs to first obtain a risk control warning set that includes multiple risk control warning rules corresponding to the target company.

[0038] 102. Generate a compiled script corresponding to the target company based on the risk control warning set corresponding to the target company.

[0039] Among them, the compiled script corresponding to the target company contains multiple risk control warning rules corresponding to the target company.

[0040] After obtaining the risk control warning set corresponding to the target company, the risk control warning system can generate a compiled script corresponding to the target company based on the risk control warning set corresponding to the target company, that is, generate a compiled script corresponding to the target company based on multiple risk control warning rules contained in the risk control warning set corresponding to the target company.

[0041] 103. Compile the compiled script to obtain an executable file corresponding to the target company.

[0042] After generating the compiled script corresponding to the target company, the risk control warning system can compile the compiled script corresponding to the target company to obtain the executable file corresponding to the target company.

[0043] 104. Receive multiple risk control warning data sent by the target company.

[0044] Among them, the data to be used for risk control warning is specifically the business data of the target company.

[0045] When the target company expects the risk control warning system to process its own business data, the target company will send the business data as data to be processed for risk control warning to the risk control warning system. At this time, the risk control warning system can receive multiple data to be processed for risk control warning sent by the target company.

[0046] 105. Execute the executable file to perform risk control warning processing on each data to be subject to risk control warning based on multiple risk control warning rules corresponding to the target company, so as to obtain a warning result corresponding to each data to be subject to risk control warning.

[0047] After receiving multiple risk control warning data sent by the target company, the risk control warning system can execute the executable file corresponding to the target company; after the executable file corresponding to the target company is executed, the executable file corresponding to the target company will perform risk control warning processing on each risk control warning data based on the multiple risk control warning rules corresponding to the target company, thereby obtaining the warning result corresponding to each risk control warning data. Because, after the compiled script corresponding to the target company is compiled into the executable file corresponding to the target company and the executable file corresponding to the target company is executed, the executable file corresponding to the target company does not need to parse and translate the multiple risk control warning rules corresponding to the target company, and can directly perform risk control warning processing on the target company's business data based on the multiple risk control warning rules corresponding to the target company, thereby effectively reducing the time spent by the risk control warning system on the target company's business data, and thus effectively improving the efficiency of the risk control warning system on the target company's business data.

[0048] An embodiment of the present application provides a risk control warning method. After the risk control warning system obtains a risk control warning set including multiple risk control warning rules corresponding to the target company, the risk control warning system generates a compiled script corresponding to the target company according to the multiple risk control warning rules included in the risk control warning set corresponding to the target company, and compiles the compiled script corresponding to the target company to obtain an executable file corresponding to the target company; after receiving multiple risk control warning data sent by the target company, the risk control warning system executes the executable file corresponding to the target company. After the executable file corresponding to the target company is executed, the executable file corresponding to the target company will perform risk control warning processing on each risk control warning data based on the multiple risk control warning rules corresponding to the target company, thereby obtaining a warning result corresponding to each risk control warning data. Because, after the compiled script corresponding to the target company is compiled into the executable file corresponding to the target company and the executable file corresponding to the target company is executed, the executable file corresponding to the target company does not need to parse and translate the multiple risk control warning rules corresponding to the target company, and can directly perform risk control warning processing on the target company's business data based on the multiple risk control warning rules corresponding to the target company, thereby effectively reducing the time spent by the risk control warning system on risk control warning processing of the target company's business data, and further effectively improving the efficiency of the risk control warning system in performing risk control warning processing on the target company's business data.

[0049] To explain in more detail below, the present application embodiment provides another risk control early warning method, as follows Figure 2 As shown, the method includes:

[0050] 201. Determine the corresponding risk control warning set for the target company based on the corresponding business needs of the target company.

[0051] In order to ensure that the target company's business data can be accurately processed for risk control warning, the risk control warning system needs to predetermine the risk control warning set corresponding to the target company. The following will explain in detail how the risk control warning system determines the risk control warning set corresponding to the target company.

[0052] First, business requirements sent by the target company are received, wherein the business requirements corresponding to the target company record (1) what types of business data are at risk, (2) what types of business data are not at risk, (3) what indicator values ​​of business data are at risk, and (4) what indicator values ​​of business data are not at risk, but are not limited to these.

[0053] Secondly, determine the corresponding risk control warning set for the target company based on the corresponding business needs of the target company.

[0054] Specifically, the risk control warning system may, but is not limited to, use any one of the following two methods to determine the risk control warning set corresponding to the target company according to the business needs of the target company.

[0055] Among them, a plurality of preset keyword sets and a risk control warning set corresponding to each preset keyword set are stored in the local storage space of the risk control warning system, and the preset keyword set includes a plurality of preset keywords.

[0056] (1) First, the business requirements of the target company are output and displayed so that the staff can determine multiple risk control warning rules corresponding to the target company based on the business requirements of the target company; second, multiple risk control warning rules corresponding to the target company input by the staff are received; finally, a risk control warning set corresponding to the target company is generated based on the multiple risk control warning rules corresponding to the target company.

[0057] (2) First, extract multiple business keywords corresponding to the target company from the business requirements corresponding to the target company according to preset rules, wherein the preset rules record a method for extracting multiple business keywords corresponding to the target company from the business requirements corresponding to the target company; second, match the multiple business keywords corresponding to the target company with each preset keyword set respectively, that is, first match the multiple business keywords corresponding to the target company with the multiple preset keywords included in the first preset keyword set, and then match the multiple business keywords corresponding to the target company with the multiple preset keywords included in the second preset keyword set... When the multiple business keywords corresponding to the target company are completely consistent with the multiple preset keywords included in a certain preset keyword set, it is determined that the multiple business keywords corresponding to the target company are successfully matched with the preset keyword set; finally, the risk control warning set corresponding to the successfully matched preset keyword set is determined as the risk control warning set corresponding to the target company.

[0058] It should be noted that in actual use, after the risk control warning system determines the risk control warning set corresponding to the successfully matched preset keyword set as the risk control warning set corresponding to the target company, it can also output and display the risk control warning set corresponding to the target company, so that the staff can check whether there is a problem with the risk control warning set corresponding to the target company; when the staff determines that there is a problem with the risk control warning set corresponding to the target company, the staff will input a modification request to the risk control warning system, wherein the modification request includes a rule modification instruction; after receiving the modification request, the risk control warning system will modify the multiple risk control warning rules contained in the risk control warning set corresponding to the target company according to the rule modification instruction contained in the modification request.

[0059] Furthermore, in an embodiment of the present application, after the risk control warning system determines the risk control warning set corresponding to the target company according to the business needs corresponding to the target company, it can also output and display the business needs and risk control warning set corresponding to the target company, so that the staff can understand the characteristics of the target company's business data and the characteristics of each risk control warning rule corresponding to the target company based on the business needs and risk control warning set corresponding to the target company, thereby determining the cache mechanism corresponding to the target company, and sending the cache mechanism corresponding to the target company to the risk control warning system, wherein the cache mechanism corresponding to the target company is used to indicate whether the execution result of each risk control warning rule corresponding to the target company needs to be cached; at this time, the risk control warning system can receive the cache mechanism corresponding to the target company input by the staff, and store the cache mechanism corresponding to the target company in the local storage space.

[0060] 202. Obtain the risk control warning set corresponding to the target company.

[0061] Regarding step 202, obtaining the risk control warning set corresponding to the target company, please refer to Figure 1 The description of the corresponding parts will not be repeated here in the embodiments of the present application.

[0062] 203. Generate a compiled script corresponding to the target company according to the risk control warning set corresponding to the target company.

[0063] Among them, regarding step 203, generating a compiled script corresponding to the target company according to the risk control warning set corresponding to the target company, please refer to Figure 1 The description of the corresponding parts will not be repeated here in the embodiments of the present application.

[0064] 204. Compile the compiled script to obtain an executable file corresponding to the target company.

[0065] Regarding step 204, compiling the compiled script to obtain an executable file corresponding to the target company, please refer to Figure 1 The description of the corresponding parts will not be repeated here in the embodiments of the present application.

[0066] 205. Receive multiple risk control warning data sent by the target company.

[0067] Regarding step 205, receiving multiple risk control warning data sent by the target company, please refer to Figure 1 The description of the corresponding parts will not be repeated here in the embodiments of the present application.

[0068] 206. Execute the executable file to perform risk control warning processing on each data to be subject to risk control warning based on the cache mechanism corresponding to the target company and multiple risk control warning rules to obtain a warning result corresponding to each data to be subject to risk control warning.

[0069] After receiving multiple risk control warning data sent by the target company, the risk control warning system can first obtain the cache mechanism corresponding to the target company, and then execute the executable file corresponding to the target company; after the executable file corresponding to the target company is executed, the executable file corresponding to the target company will perform risk control warning processing on each risk control warning data based on the cache mechanism corresponding to the target company and multiple risk control warning rules, thereby obtaining the warning result corresponding to each risk control warning data.

[0070] It should be noted that the executable file corresponding to the target company performs risk control warning processing on the target company's business data based on the target company's corresponding cache mechanism and multiple risk control warning rules. It can limit which risk control warning rules' corresponding execution results can be cached, so as to ensure that when an unexecuted risk control warning rule refers to the execution result corresponding to an executed risk control warning rule, there is no need to execute the executed risk control warning rule again, thereby further improving the efficiency of risk control warning processing on the target company's business data; it can also limit which risk control warning rules' corresponding execution results do not need to be cached (for example, the indicator value contained in the execution result corresponding to a certain risk control warning rule is cyclically applied, and caching the execution result corresponding to the risk control warning rule may cause inaccurate warning results to occur), thereby improving the accuracy of risk control warning processing on the target company's business data.

[0071] Furthermore, as a response to the above Figure 1 and Figure 2In order to realize the method shown in the figure, another embodiment of the present application also provides a risk control warning device, which is applied to the risk control warning system. This device embodiment corresponds to the aforementioned method embodiment. For the sake of ease of reading, this device embodiment will no longer repeat the details of the aforementioned method embodiment one by one, but it should be clear that the device in this embodiment can correspond to all the contents of the aforementioned method embodiment. This device is used to improve the efficiency of risk control warning processing of the target company's business data, specifically as follows Figure 3 As shown, the device comprises:

[0072] An acquisition unit 31 is used to acquire a risk control warning set corresponding to a target company, wherein the risk control warning set corresponding to the target company includes a plurality of risk control warning rules corresponding to the target company;

[0073] A generating unit 32 is configured to generate a compiled script corresponding to the target company according to the risk control warning set corresponding to the target company obtained by the obtaining unit 31, wherein the compiled script includes a plurality of the risk control warning rules;

[0074] A compiling unit 33, configured to compile the compiled script generated by the generating unit 32 to obtain an executable file corresponding to the target company;

[0075] A first receiving unit 34 is configured to receive a plurality of risk control warning data sent by the target company, wherein the risk control warning data is specifically business data of the target company;

[0076] The execution unit 35 is used to execute the executable file compiled by the compilation unit 33, so as to perform risk control warning processing on each of the data to be warned based on multiple risk control warning rules corresponding to the target company, so as to obtain a warning result corresponding to each of the data to be warned.

[0077] Further, such as Figure 4 As shown, the device also includes:

[0078] The second receiving unit 36 ​​is used to receive the business demand sent by the target company before the obtaining unit 31 obtains the risk control warning set corresponding to the target company;

[0079] The determining unit 37 is used to determine the risk control warning set corresponding to the target company according to the business demand corresponding to the target company received by the second receiving unit 36.

[0080] Further, such as Figure 4As shown, the determination unit 37 is specifically used to output and display the business needs corresponding to the target company, so that the staff can determine multiple risk control warning rules corresponding to the target company according to the business needs corresponding to the target company; receive the multiple risk control warning rules corresponding to the target company input by the staff; and generate a risk control warning set corresponding to the target company according to the multiple risk control warning rules corresponding to the target company.

[0081] Further, such as Figure 4 As shown, the local storage space of the risk control and early warning system stores a plurality of preset keyword sets and a risk control and early warning set corresponding to each of the preset keyword sets, and the preset keyword set contains a plurality of preset keywords;

[0082] The determination unit 37 is specifically used to extract multiple business keywords corresponding to the target company from the business needs corresponding to the target company according to preset rules; match the multiple business keywords corresponding to the target company with each of the preset keyword sets respectively; and determine the risk control warning set corresponding to the preset keyword set that is successfully matched as the risk control warning set corresponding to the target company.

[0083] Further, such as Figure 4 As shown, the determination unit 37 is also used to output and display the risk control warning set corresponding to the target company; receive a modification request, wherein the modification request includes a rule modification instruction; and modify the risk control warning set corresponding to the target company according to the rule modification instruction.

[0084] Further, such as Figure 4 As shown, the device also includes:

[0085] The output unit 38 is used to output and display the business requirements and risk control warning set corresponding to the target company after the determination unit 37 determines the risk control warning set corresponding to the target company according to the business requirements corresponding to the target company, so that the staff can determine the cache mechanism corresponding to the target company according to the business requirements and risk control warning set corresponding to the target company, wherein the cache mechanism corresponding to the target company is used to indicate whether the execution result of each risk control warning rule corresponding to the target company needs to be cached;

[0086] The third receiving unit 39 is used to receive the cache mechanism corresponding to the target company input by the staff, and store the cache mechanism corresponding to the target company in the local storage space.

[0087] Further, such as Figure 4As shown, the execution unit 35 is specifically used to obtain the cache mechanism corresponding to the target company; execute the executable file so as to perform risk control warning processing on each of the data to be warned based on the cache mechanism corresponding to the target company and multiple risk control warning rules to obtain the warning result corresponding to each of the data to be warned.

[0088] An embodiment of the present application provides a risk control warning method and device. According to the embodiment of the present application, after the risk control warning system obtains a risk control warning set including multiple risk control warning rules corresponding to the target company, the risk control warning system generates a compiled script corresponding to the target company according to the multiple risk control warning rules included in the risk control warning set corresponding to the target company, and compiles the compiled script corresponding to the target company to obtain an executable file corresponding to the target company; after receiving multiple risk control warning data sent by the target company, the risk control warning system executes the executable file corresponding to the target company. After the executable file corresponding to the target company is executed, the executable file corresponding to the target company will perform risk control warning processing on each risk control warning data based on the multiple risk control warning rules corresponding to the target company, thereby obtaining a warning result corresponding to each risk control warning data. Because, after the compiled script corresponding to the target company is compiled into the executable file corresponding to the target company and the executable file corresponding to the target company is executed, the executable file corresponding to the target company does not need to parse and translate the multiple risk control warning rules corresponding to the target company, and can directly perform risk control warning processing on the target company's business data based on the multiple risk control warning rules corresponding to the target company, thereby effectively reducing the time spent by the risk control warning system on risk control warning processing of the target company's business data, and further effectively improving the efficiency of the risk control warning system in performing risk control warning processing on the target company's business data.

[0089] An embodiment of the present application provides a storage medium, which includes a stored program, wherein when the program is running, the device where the storage medium is located is controlled to execute the above-mentioned risk control warning method.

[0090] The storage medium may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM, and the memory includes at least one storage chip.

[0091] An embodiment of the present application also provides a risk control and early warning device, which includes a storage medium; and one or more processors, wherein the storage medium is coupled to the processor, and the processor is configured to execute program instructions stored in the storage medium; when the program instructions are executed, the risk control and early warning method described above is executed.

[0092] The embodiment of the present application provides a device, which includes a processor, a memory, and a program stored in the memory and executable on the processor. When the processor executes the program, the following steps are implemented:

[0093] Obtaining a risk control warning set corresponding to the target company, wherein the risk control warning set corresponding to the target company includes multiple risk control warning rules corresponding to the target company;

[0094] Generate a compiled script corresponding to the target company according to the risk control warning set corresponding to the target company, wherein the compiled script includes a plurality of the risk control warning rules;

[0095] Compiling the compiled script to obtain an executable file corresponding to the target company;

[0096] Receiving a plurality of risk control warning data sent by the target company, wherein the risk control warning data is specifically business data of the target company;

[0097] The executable file is executed to perform risk control warning processing on each of the data to be warned of risk control based on the multiple risk control warning rules corresponding to the target company, so as to obtain a warning result corresponding to each of the data to be warned of risk control.

[0098] Furthermore, before obtaining the risk control warning set corresponding to the target company, the method further includes:

[0099] Receiving business requirements sent by the target company;

[0100] A risk control warning set corresponding to the target company is determined according to the business needs corresponding to the target company.

[0101] Furthermore, determining the risk control warning set corresponding to the target company according to the business needs corresponding to the target company includes:

[0102] The output displays the business requirements corresponding to the target company, so that the staff can determine multiple risk control warning rules corresponding to the target company according to the business requirements corresponding to the target company;

[0103] Receiving multiple risk control warning rules corresponding to the target company input by the staff;

[0104] A risk control warning set corresponding to the target company is generated according to multiple risk control warning rules corresponding to the target company.

[0105] Further, the local storage space of the risk control warning system stores a plurality of preset keyword sets and a risk control warning set corresponding to each of the preset keyword sets, wherein the preset keyword set includes a plurality of preset keywords; and determining the risk control warning set corresponding to the target company according to the business needs corresponding to the target company includes:

[0106] Extracting a plurality of business keywords corresponding to the target company from the business requirements corresponding to the target company according to preset rules;

[0107] Matching the multiple business keywords corresponding to the target company with each of the preset keyword sets respectively;

[0108] The risk control warning set corresponding to the preset keyword set that is successfully matched is determined as the risk control warning set corresponding to the target company.

[0109] Furthermore, after determining the risk control warning set corresponding to the preset keyword set that has been matched successfully as the risk control warning set corresponding to the target company, the method further includes:

[0110] The output shows the risk control warning set corresponding to the target company;

[0111] receiving a modification request, wherein the modification request includes a rule modification instruction;

[0112] The risk control warning set corresponding to the target company is modified according to the rule modification instruction.

[0113] Furthermore, after determining the risk control warning set corresponding to the target company according to the business needs corresponding to the target company, the method further includes:

[0114] The output displays the business requirements and risk control warning set corresponding to the target company, so that the staff can determine the cache mechanism corresponding to the target company according to the business requirements and risk control warning set corresponding to the target company, wherein the cache mechanism corresponding to the target company is used to indicate whether the execution result of each risk control warning rule corresponding to the target company needs to be cached;

[0115] The cache mechanism corresponding to the target company input by the staff is received, and the cache mechanism corresponding to the target company is stored in the local storage space.

[0116] Further, the executing the executable file so as to perform risk control warning processing on each of the data to be risk control warning based on the multiple risk control warning rules corresponding to the target company to obtain a warning result corresponding to each of the data to be risk control warning, includes:

[0117] Obtaining a cache mechanism corresponding to the target company;

[0118] The executable file is executed to perform risk control warning processing on each of the data to be warned of risk control based on the cache mechanism corresponding to the target company and multiple risk control warning rules to obtain a warning result corresponding to each of the data to be warned of risk control.

[0119] The present application also provides a computer program product, which, when executed on a data processing device, is suitable for executing a program code that initializes the following method steps: obtaining a risk control warning set corresponding to a target company, wherein the risk control warning set corresponding to the target company includes multiple risk control warning rules corresponding to the target company; generating a compiled script corresponding to the target company according to the risk control warning set corresponding to the target company, wherein the compiled script includes multiple risk control warning rules; compiling the compiled script to obtain an executable file corresponding to the target company; receiving multiple risk control warning data sent by the target company, wherein the risk control warning data are specifically business data of the target company; executing the executable file so as to perform risk control warning processing on each of the risk control warning data based on the multiple risk control warning rules corresponding to the target company to obtain a warning result corresponding to each of the risk control warning data.

[0120] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0121] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0122] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0123] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0124] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0125] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0126] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0127] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0128] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.

[0129] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included within the scope of the claims of the present application.

Claims

1. A risk control early warning method, It is characterized in that The method is applied to a risk control early warning system, and the method includes: Obtaining a risk control warning set corresponding to the target company, wherein the risk control warning set corresponding to the target company includes multiple risk control warning rules corresponding to the target company; Generating a compiled script corresponding to the target company according to the risk control warning set corresponding to the target company, wherein the compiled script includes a plurality of the risk control warning rules; Compiling the compiled script to obtain an executable file corresponding to the target company; Receiving a plurality of risk control warning data sent by the target company, wherein the risk control warning data is specifically business data of the target company; Executing the executable file to perform risk control warning processing on each of the data to be risk control warning based on the multiple risk control warning rules corresponding to the target company, so as to obtain a warning result corresponding to each of the data to be risk control warning; Before obtaining the risk control warning set corresponding to the target company, the method further includes: Receive the business requirements sent by the target company, wherein the business requirements record: what type of business data is at risk; what type of business data is not at risk; what indicator value of business data is at risk; what indicator value of business data is not at risk; Determine a risk control warning set corresponding to the target company according to the business needs corresponding to the target company; After determining the risk control warning set corresponding to the target company according to the business needs corresponding to the target company, the method further includes: The output displays the business requirements and risk control warning set corresponding to the target company, so that the staff can determine the cache mechanism corresponding to the target company according to the business requirements and risk control warning set corresponding to the target company, wherein the cache mechanism corresponding to the target company is used to indicate whether the execution result of each risk control warning rule corresponding to the target company needs to be cached; receiving the cache mechanism corresponding to the target company input by the staff, and storing the cache mechanism corresponding to the target company in the local storage space; The executing the executable file so as to perform risk control warning processing on each of the data to be risk control warning based on the multiple risk control warning rules corresponding to the target company to obtain a warning result corresponding to each of the data to be risk control warning, includes: Obtaining a cache mechanism corresponding to the target company; Execute the executable file so as to perform risk control warning processing on each of the data to be warned based on the cache mechanism and multiple risk control warning rules corresponding to the target company, so as to obtain the warning result corresponding to each of the data to be warned, wherein the executable file performs risk control warning processing on each of the data to be warned based on the cache mechanism and multiple risk control warning rules corresponding to the target company, and is used to define which execution results corresponding to the risk control warning rules need to be cached, so that when the unexecuted risk control warning rule refers to the execution result corresponding to the executed risk control warning rule, there is no need to execute the executed risk control warning rule again, and is also used to define which execution results corresponding to the risk control warning rules do not need to be cached, so as to avoid caching the execution results corresponding to the risk control warning rules when there is a circular reference in the indicator value contained in the execution results corresponding to the risk control warning rules, resulting in inaccurate warning results; The local storage space of the risk control and early warning system stores a plurality of preset keyword sets and a risk control and early warning set corresponding to each of the preset keyword sets, wherein the preset keyword set includes a plurality of preset keywords; the risk control and early warning set corresponding to the target company is determined according to the business needs corresponding to the target company, including: Extracting a plurality of business keywords corresponding to the target company from the business requirements corresponding to the target company according to preset rules; Matching the multiple business keywords corresponding to the target company with each of the preset keyword sets respectively; The risk control warning set corresponding to the preset keyword set that is successfully matched is determined as the risk control warning set corresponding to the target company.

2. The method according to claim 1, It is characterized in that Determining the risk control warning set corresponding to the target company according to the business needs corresponding to the target company includes: The output displays the business requirements corresponding to the target company, so that the staff can determine multiple risk control warning rules corresponding to the target company according to the business requirements corresponding to the target company; Receiving multiple risk control warning rules corresponding to the target company input by the staff; A risk control warning set corresponding to the target company is generated according to multiple risk control warning rules corresponding to the target company.

3. The method according to claim 1, It is characterized in that After determining the risk control warning set corresponding to the preset keyword set that is matched successfully as the risk control warning set corresponding to the target company, the method further includes: The output shows the risk control warning set corresponding to the target company; receiving a modification request, wherein the modification request includes a rule modification instruction; The risk control warning set corresponding to the target company is modified according to the rule modification instruction.

4. A risk control early warning device, It is characterized in that The device is applied to a risk control early warning system, and the device comprises: An acquisition unit, configured to acquire a risk control warning set corresponding to a target company, wherein the risk control warning set corresponding to the target company includes a plurality of risk control warning rules corresponding to the target company; A generating unit, configured to generate a compiled script corresponding to the target company according to the risk control warning set corresponding to the target company, wherein the compiled script includes a plurality of the risk control warning rules; A compiling unit, used for compiling the compiled script to obtain an executable file corresponding to the target company; A first receiving unit is configured to receive a plurality of risk control warning data sent by the target company, wherein the risk control warning data is specifically business data of the target company; An execution unit, configured to execute the executable file, so as to perform risk control warning processing on each of the data to be risk control warning based on the multiple risk control warning rules corresponding to the target company, so as to obtain a warning result corresponding to each of the data to be risk control warning; A second receiving unit is used to receive a business requirement sent by the target company before the acquisition unit acquires the risk control warning set corresponding to the target company, wherein the business requirement records: what type of business data is at risk; what type of business data is not at risk; what indicator value of business data is at risk; what indicator value of business data is not at risk; A determination unit, configured to determine a risk control warning set corresponding to the target company according to a business demand corresponding to the target company; an output unit, configured to output and display the business requirements and the risk control warning set corresponding to the target company after the determination unit determines the risk control warning set corresponding to the target company according to the business requirements corresponding to the target company, so that the staff can determine the cache mechanism corresponding to the target company according to the business requirements and the risk control warning set corresponding to the target company, wherein the cache mechanism corresponding to the target company is used to indicate whether the execution result of each risk control warning rule corresponding to the target company needs to be cached; A third receiving unit, configured to receive the cache mechanism corresponding to the target company input by the staff member, and store the cache mechanism corresponding to the target company in a local storage space; The execution unit is specifically used to obtain the cache mechanism corresponding to the target company; execute the executable file so as to perform risk control warning processing on each of the data to be warned based on the cache mechanism corresponding to the target company and multiple risk control warning rules, so as to obtain the warning result corresponding to each of the data to be warned, wherein the executable file performs risk control warning processing on each of the data to be warned based on the cache mechanism corresponding to the target company and multiple risk control warning rules, and is used to limit which execution results corresponding to the risk control warning rules need to be cached, so that when the unexecuted risk control warning rule refers to the execution result corresponding to the executed risk control warning rule, there is no need to execute the executed risk control warning rule again, and is also used to limit which execution results corresponding to the risk control warning rules do not need to be cached, so as to avoid caching the execution results corresponding to the risk control warning rules when there is a circular reference in the indicator value contained in the execution results corresponding to the risk control warning rules, resulting in inaccurate warning results; The local storage space of the risk control and warning system stores multiple preset keyword sets and risk control and warning sets corresponding to each preset keyword set, wherein the preset keyword set includes multiple preset keywords; the determination unit is specifically used to extract multiple business keywords corresponding to the target company from the business needs corresponding to the target company according to preset rules; respectively match the multiple business keywords corresponding to the target company with each of the preset keyword sets; and determine the risk control and warning set corresponding to the preset keyword set that is successfully matched as the risk control and warning set corresponding to the target company.

5. A storage medium, It is characterized in that The storage medium includes a stored program, wherein when the program is running, the device where the storage medium is located is controlled to execute the risk control and early warning method described in any one of claims 1 to 3.

6. A risk control early warning device, It is characterized in that The device includes a storage medium; and one or more processors, the storage medium is coupled to the processor, and the processor is configured to execute program instructions stored in the storage medium; when the program instructions are executed, the risk control and early warning method described in any one of claims 1 to 3 is executed.