Alert method and system for generating configuration object model based on aPaas platform

By configuring table fields on the aPaas platform to define the warning model and listen to business document changes, the scalability and real-time problems of traditional warning systems are solved, and flexible and accurate warning services are realized to adapt to complex business scenarios.

CN118897773BActive Publication Date: 2025-08-12和创(北京)科技股份有限公司
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202410972045.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-19
Publication Date
2025-08-12
Estimated Expiration
2044-07-19

AI Technical Summary

Technical Problem

Traditional early warning systems are difficult to adapt to the diversity and variation of business documents, resulting in the tight coupling of early warning rules and business logic, the modification is cumbersome and difficult to expand, and the real-time nature is insufficient, which affects the accuracy and efficiency of early warning.

Method used

Based on the aPaas platform, we define the warning model through the configuration table field, create a message queue to listen for business document changes, and judge whether to send notifications based on the warning model configuration, supporting flexible warning rule configuration and personalized services.

Benefits of technology

It improves the flexibility, real-time and accuracy of the system, reduces human errors, enhances the scalability and manageability of the system, and meets the needs of complex and changeable business scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118897773B_ABST
    Figure CN118897773B_ABST
Patent Text Reader

Abstract

The embodiments of this specification provide a method and system for generating early warnings based on a configuration object model on an aPaaS platform. The method includes: defining early warning models based on fields in a configuration table, with each early warning model corresponding to a business document, and saving the defined early warning model configuration in the configuration table; creating a message queue to monitor changes to business document information based on messages sent by received business documents; and when business document information changes, querying the configuration table based on the business document to determine whether a corresponding early warning model exists for the current business document object, and determining whether a corresponding early warning notification needs to be sent based on the early warning model configuration. This invention can improve system performance in terms of flexibility, real-time performance, accuracy, configurability, and manageability.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This document relates to the field of event warning technology, and in particular to a method and system for generating warnings based on a configuration object model of an aPaas platform. Background Art

[0002] In the field of event alerting, with the increasing complexity of enterprise businesses and the dramatic increase in data processing volume, real-time monitoring and alerting of business documents are becoming increasingly important. Users of aPaaS platforms generate a large number of forms and documents daily, and many require monitoring sensitive data and automatically issuing alert notifications. However, traditional alert systems often suffer from hard-coded, fixed alert rules, and difficulty in scalability and maintenance. These issues make the systems difficult to adapt to the diversity and variability of business documents, thereby reducing the accuracy and timeliness of alerts. Traditional alert systems often encode alert rules directly in the code, resulting in a tight coupling between alert rules and business logic. Modifying alert rules requires modifying the code and redeploying the system, a cumbersome and error-prone process. As business documents increase and change, alert systems need to support more alert rules and business logic. However, due to the tight coupling of alert rules with business logic, the system's scalability and maintainability are poor, making it difficult to meet business needs. Furthermore, traditional alert systems often rely on polling or scheduled tasks to check for changes in business documents. This approach lacks real-time performance and cannot promptly detect changes in business documents and issue alert notifications.

[0003] In order to solve the above problems, a method is needed that can automatically trigger early warnings based on different object documents by customizing the object early warning model. Summary of the Invention

[0004] One or more embodiments of this specification provide a method for generating an early warning based on a configuration object model of an aPaaS platform, including:

[0005] Define early warning models based on the fields in the configuration table. Each early warning model corresponds to a business document, and the defined early warning model configuration is saved in the configuration table.

[0006] Create a message queue and monitor whether the business document information has changed based on the messages sent by the received business documents;

[0007] When the business document information changes, the configuration table is queried based on the business document to determine whether there is an early warning model corresponding to the current business document object, and whether a corresponding early warning notification needs to be sent is determined based on the early warning model configuration.

[0008] Furthermore, the fields of the configuration table include: business object, business type, triggering time, warning rule condition, warning level, notification method and notification content.

[0009] Furthermore, the warning rule conditions support branch condition configuration.

[0010] Furthermore, the message content sent by the business document includes the name of the object to which the business document belongs, the operation type, the operator and the document data content, wherein the operation type includes adding and modifying. The message format sent by different business documents is the same.

[0011] Furthermore, judging whether a corresponding warning notification needs to be sent according to the warning model configuration specifically includes:

[0012] According to the warning model corresponding to the current business document object, it is judged whether the document data content meets the warning rule conditions. If it does, a warning notification of the corresponding level is sent according to the notification method and notification content configured in the model. If it does not meet the conditions, no warning notification is sent.

[0013] Furthermore, the notification methods include message center reminders, SMS notifications and email notifications.

[0014] Furthermore, the method further comprises:

[0015] When the warning model in the configuration table is deleted, it is determined whether the business object corresponding to the warning model has no warning model configuration. If the business object has no associated model configuration, the message queue is canceled from monitoring the message of the document information change of the business object.

[0016] One or more embodiments of this specification provide a configuration object model generation early warning system based on an aPaaS platform, including:

[0017] Model configuration module: used to define early warning models based on the fields in the configuration table. Each early warning model corresponds to a business document, and the defined early warning model configuration is saved in the configuration table.

[0018] Information judgment module: used to create a message queue and monitor whether the business document information has changed based on the messages sent by the received business documents;

[0019] Warning judgment module: used to query the configuration table based on the business document whether there is a warning model corresponding to the current business document object when the business document information changes, and determine whether the corresponding warning notification needs to be sent based on the warning model configuration.

[0020] One or more embodiments of this specification provide an electronic device, including:

[0021] processor; and,

[0022] A memory arranged to store computer-executable instructions, which, when executed, enable the processor to implement the steps of the above-mentioned method for generating an early warning based on a configuration object model of the aPaas platform.

[0023] One or more embodiments of this specification provide a storage medium for storing computer-executable instructions, which, when executed, implement the steps of the above-mentioned method for generating an early warning based on aPaas platform configuration object model.

[0024] By adopting the embodiment of the present invention, the early warning model is defined by configuring the fields of the table, which can flexibly adapt to the early warning requirements of different business documents. When the business document or the early warning requirement changes, it is only necessary to update the configuration table without large-scale modification, thereby improving scalability; it is possible to determine whether it is necessary to send an early warning notification based on the latest received business document information, thereby reducing the error rate of human judgment, ensuring the accuracy of the early warning, and improving work efficiency; personalized early warning services can be provided for different business document definitions, which can meet complex and changing business scenarios; therefore, the present invention can improve the system's flexibility, real-time performance, accuracy, configurability, and manageability.

[0025] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention, 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 invention more obvious and easy to understand, the specific implementation methods of the present invention are specifically listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] In order to more clearly illustrate one or more embodiments of this specification or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments recorded in this specification. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0027] Figure 1 A flowchart of a method for generating an early warning based on a configuration object model of an aPaas platform according to one or more embodiments of this specification;

[0028] Figure 2 A specific flow chart of a method for generating an early warning based on a configuration object model of an aPaas platform according to one or more embodiments of this specification;

[0029] Figure 3 A schematic diagram of the composition of a configuration object model generation early warning system based on the aPaas platform provided in one or more embodiments of this specification;

[0030] Figure 4 A schematic diagram of the structure of an electronic device provided in one or more embodiments of this specification. DETAILED DESCRIPTION

[0031] In order to enable those skilled in the art to better understand the technical solutions in one or more embodiments of this specification, the technical solutions in one or more embodiments of this specification will be clearly and completely described below in conjunction with the drawings in one or more embodiments of this specification. Obviously, the described embodiments are only part of the embodiments of this specification, not all of the embodiments. Based on one or more embodiments of this specification, all other embodiments obtained by ordinary technicians in this field without making creative efforts should fall within the scope of protection of this document.

[0032] Method Example

[0033] According to an embodiment of the present invention, a method for generating an early warning based on a configuration object model of an aPaas platform is provided. Figure 1 A flowchart of a method for generating an early warning based on a configuration object model of an aPaas platform is provided in one or more embodiments of this specification, such as Figure 1 As shown, the method for generating an early warning based on the configuration object model of the aPaas platform according to an embodiment of the present invention specifically includes:

[0034] S1. Define early warning models based on the fields in the configuration table. Each early warning model corresponds to a business document, and the defined early warning model configuration is saved in the configuration table.

[0035] The fields of the configuration table include: business object, business type, triggering time, warning rule conditions, warning level, notification method and notification content. The warning rule conditions support branch condition configuration.

[0036] Define the warning model based on the above configuration table fields, such as Figure 2 As shown, this embodiment defines a payment warning model, a contract warning model, and an insurance warning model, and saves the defined model configurations to a model configuration table. The defined models correspond to payment forms, contract forms, and insurance forms, respectively.

[0037] S2. Create a message queue and monitor whether the business document information has changed based on the message sent by the received business document.

[0038] The created message queue receives messages sent by business documents. These messages include the name of the business document object, the operation type, the operator, and the document data. Operation types include add and modify, and the message format is the same for different business documents. In this embodiment, the payment form, contract form, and insurance form send the form object name, whether the add or modify operation is being performed, the operator, and the document data to the monitoring message queue. The message queue then determines whether the business document information has changed based on the received messages.

[0039] S3. When the business document information changes, query the configuration table based on the business document to see if there is an early warning model corresponding to the current business document object, and determine whether a corresponding early warning notification needs to be sent based on the early warning model configuration.

[0040] When business document information changes, the system first queries the business document configuration table to see whether a warning model corresponding to the current business document object exists. If so, the system then determines whether the document data content meets the warning rule conditions based on the warning model corresponding to the current business document object. If so, a warning notification of the corresponding level is sent based on the notification method and notification content configured in the model. If not, no warning notification is sent.

[0041] In this embodiment, the notification methods for early warning notification include message center reminder, SMS notification and email notification.

[0042] It should be noted that when the warning model in the configuration table is deleted, it is first determined whether the business object corresponding to the warning model has no warning model configuration. If the business object has no associated model configuration, the message queue's message monitoring of the business object's document information changes is canceled.

[0043] The beneficial effects of the present invention are as follows:

[0044] By adopting the embodiment of the present invention, the early warning model is defined by configuring the fields of the table, which can flexibly adapt to the early warning requirements of different business documents. When the business document or the early warning requirement changes, it is only necessary to update the configuration table without large-scale modification, thereby improving scalability; it is possible to determine whether it is necessary to send an early warning notification based on the latest received business document information, thereby reducing the error rate of human judgment, ensuring the accuracy of the early warning, and improving work efficiency; personalized early warning services can be provided for different business document definitions, which can meet complex and changing business scenarios; therefore, the present invention can improve the system's flexibility, real-time performance, accuracy, configurability, and manageability.

[0045] System Example

[0046] According to an embodiment of the present invention, a configuration object model generation early warning system based on the aPaas platform is provided. Figure 3 A schematic diagram of a configuration object model generation early warning system based on an aPaas platform is provided for one or more embodiments of this specification, such as Figure 3 As shown, the configuration object model generation early warning system based on the aPaas platform according to an embodiment of the present invention specifically includes:

[0047] Model configuration module 30: used to define early warning models based on the fields in the configuration table. Each early warning model corresponds to a business document, and the defined early warning model configuration is saved in the configuration table.

[0048] Information judgment module 32: used to create a message queue and monitor whether the business document information has changed according to the message sent by the received business document;

[0049] Warning judgment module 34: used to query the configuration table for the existence of a warning model corresponding to the current business document object when the business document information changes, and determine whether a corresponding warning notification needs to be sent based on the warning model configuration.

[0050] The embodiment of the present invention is a system embodiment corresponding to the above-mentioned method embodiment. The specific operations of each module can be understood by referring to the description of the method embodiment, which will not be repeated here.

[0051] Device Example 1

[0052] An embodiment of the present invention provides an electronic device, such as Figure 4 As shown, it includes: a memory 40, a processor 42, and a computer program stored in the memory 40 and executable on the processor 42. When the computer program is executed by the processor 42, the following method steps are implemented:

[0053] S1. Define early warning models based on the fields in the configuration table. Each early warning model corresponds to a business document. Save the defined early warning model configuration in the configuration table.

[0054] S2. Create a message queue and monitor whether the business document information has changed based on the message sent by the received business document;

[0055] S3. When the business document information changes, query the configuration table based on the business document to see if there is an early warning model corresponding to the current business document object, and determine whether a corresponding early warning notification needs to be sent based on the early warning model configuration.

[0056] Device Example 2

[0057] An embodiment of the present invention provides a computer-readable storage medium having stored thereon a program for implementing information transmission. When the program is executed by the processor 42, the following method steps are implemented:

[0058] S1. Define early warning models based on the fields in the configuration table. Each early warning model corresponds to a business document. Save the defined early warning model configuration in the configuration table.

[0059] S2. Create a message queue and monitor whether the business document information has changed based on the message sent by the received business document;

[0060] S3. When the business document information changes, query the configuration table based on the business document to see if there is an early warning model corresponding to the current business document object, and determine whether a corresponding early warning notification needs to be sent based on the early warning model configuration.

[0061] The computer-readable storage medium in this embodiment includes, but is not limited to, ROM, RAM, magnetic disk, or optical disk.

[0062] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the above embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for generating an early warning based on a configuration object model of an aPaas platform, characterized in that: include: Define early warning models based on the fields in the configuration table. Each early warning model corresponds to a business document, and the defined early warning model configuration is saved in the configuration table. The fields of the configuration table include: business object, business type, triggering time, warning rule conditions, warning level, notification method and notification content; Create a message queue and monitor whether the business document information has changed based on the messages sent by the received business documents; When business document information changes, query the configuration table based on the business document to see whether there is an early warning model corresponding to the current business document object, and determine whether a corresponding early warning notification needs to be sent based on the early warning model configuration; Specifically, the warning model corresponding to the current business document object is used to determine whether the document data content meets the warning rule conditions. If so, a warning notification of the corresponding level is sent according to the notification method and notification content configured in the model. If not, no warning notification is sent.

2. The method according to claim 1, characterized in that The warning rule conditions support branch condition configuration.

3. The method according to claim 1, characterized in that The message content sent by a business document includes the name of the business document object, operation type, operator, and document data content. Operation types include add and modify. The message format sent by different business documents is the same.

4. The method according to claim 1, wherein The notification methods include message center reminders, SMS notifications and email notifications.

5. The method according to claim 1, wherein The method further comprises: When the warning model in the configuration table is deleted, it is determined whether the business object corresponding to the warning model has no warning model configuration. If the business object has no associated model configuration, the message queue is canceled from monitoring the message of the document information change of the business object.

6. A configuration object model generation early warning system based on aPaas platform, characterized in that: include: Model configuration module: used to define early warning models based on the fields in the configuration table. Each early warning model corresponds to a business document, and the defined early warning model configuration is saved in the configuration table. The fields of the configuration table include: business object, business type, triggering time, warning rule conditions, warning level, notification method and notification content; Information judgment module: used to create a message queue and monitor whether the business document information has changed based on the messages sent by the received business documents; Warning judgment module: used to query the configuration table for the existence of a warning model corresponding to the current business document object when the business document information changes, and determine whether a corresponding warning notification needs to be sent based on the warning model configuration; Specifically, the warning model corresponding to the current business document object is used to determine whether the document data content meets the warning rule conditions. If so, a warning notification of the corresponding level is sent according to the notification method and notification content configured in the model. If not, no warning notification is sent.

7. An electronic device, characterized in that: include: processor; as well as, A memory arranged to store computer-executable instructions, which, when executed, enable the processor to implement the steps of the method for generating an early warning based on a configuration object model of an aPaas platform as described in any one of claims 1 to 5.

8. A storage medium, characterized in that: Used to store computer-executable instructions, which, when executed, implement the steps of the method for generating an early warning based on the configuration object model of the aPaas platform as described in any one of claims 1 to 5.

Citation Information

Patent Citations

  • Service early warning method, system, equipment and medium

    CN116957491A