Intelligent and efficient business rule hot loading system and method
By designing an intelligent and efficient business rule hot loading system, including defining rule models, establishing rule libraries, monitoring rule changes, dynamic loading of new rules and rule caching, the problem of inefficiency in the traditional loading of medical quality control rules is solved and medical quality control is achieved. The dynamic update and rapid application of control rules improve the efficiency and accuracy of medical quality control.
Patent Information
- Application Number
- CN202411467075.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-21
- Publication Date
- 2025-01-24
AI Technical Summary
The traditional medical quality control rules are inefficient, cumbersome, and difficult to update, and cannot meet the needs of modern medical information systems for efficiency, intelligence and flexibility.
Design an intelligent and efficient business rule hot-loading system, including defining rule models, establishing rule libraries, monitoring rule changes, dynamically loading new rules and rule caching, and realizing dynamic updates and rapid application of quality control rules through hot-loading engines and caching mechanisms. .
The dynamic updates and rapid application of medical quality control rules have been realized, the efficiency and accuracy of medical quality control are improved, and the needs of modern medical information systems for efficient, intelligent and flexible needs.
Smart Images

Figure CN119356755A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of medical information technology, and in particular to an intelligent and efficient basic medical quality control rule hot loading system and method, which aims to realize the dynamic update and rapid application of medical quality control rules and improve the efficiency and accuracy of medical quality control. Background Art
[0002] With the rapid development of medical technology and the continuous growth of medical data, medical quality control rules are an important guarantee for ensuring the quality and safety of medical services. However, the traditional way of loading medical quality control rules has problems such as low efficiency, cumbersome operation, and difficulty in updating, which cannot meet the needs of modern medical information systems for efficiency, intelligence, and flexibility. Therefore, the development of an intelligent and efficient basic medical quality control rule hot loading system and method is of great significance to improving the quality and safety of medical services. Summary of the invention
[0003] The technical solution adopted by the present invention is: an intelligent and efficient business rule hot loading system and method, characterized in that: it includes the following steps: the first step is to define the rule model; the second step is to establish a rule base. According to the actual needs of medical quality control, a rule base containing various medical quality control rules is established. The rules in the rule base can be updated and expanded as needed to meet the needs of different medical scenarios; the third step is to monitor rule changes; (1) real-time detection: the hot loading engine uses a special monitoring mechanism to monitor the changes in the quality control rule base in real time. When it detects that the rules have changed (such as adding new rules, modifying rule parameters or rule logic), the hot loading engine will identify these changes and prepare to load the rules; the fourth step is to dynamically load new rules (2) read new rules: hot loading The hot loading engine will read the changed rules in the rule base, use the rule parser to parse the new rules, convert them into system executable instructions, and then dynamically load the new rules into the system. Step 5, rule cache. (1) Cache mechanism: In order to improve loading efficiency, the hot loading engine will use a cache mechanism to store the loaded quality control rules, which usually includes storing rule instructions in memory for fast access. (2) Cache update: When new rules are loaded, the cache will be updated accordingly, which includes adding new rule instructions to the cache or replacing existing rule instructions. (3) Cache management: In order to maintain the validity of the cache, the hot loading engine also needs to perform cache management, which includes regularly cleaning up expired cache items and handling cache conflicts. BRIEF DESCRIPTION OF THE DRAWINGS
[0004] Figure 1 It is a schematic diagram of the present invention.
[0005] Figure 2 It is a working schematic diagram of the present invention. DETAILED DESCRIPTION
[0006] like Figures 1 to 2 As shown, the present invention solves the above technical problems through the following technical solutions, and the present invention comprises the following steps:
[0007] 1. Define the rule model, such as business type, rule code, rule full path, rule type, applicable scope, and rule parameters.
[0008] 2. Rule library establishment: According to the actual needs of medical quality control, a rule library containing various medical quality control rules is established. The rules in the rule library can be updated and expanded as needed to meet the needs of different medical scenarios.
[0009] 3. Monitor rule changes
[0010] (1) Real-time detection: The hot loading engine uses a dedicated monitoring mechanism to monitor changes in the quality control rule base in real time. When it detects changes in rules (such as adding new rules, modifying rule parameters or rule logic), the hot loading engine will identify these changes and prepare to load the rules.
[0011] 4. Dynamically load new rules
[0012] (1) Reading new rules: The hot loading engine reads the rules that have changed in the rule base, uses the rule parser to parse the new rules, converts them into system executable instructions, and then dynamically loads the new rules into the system.
[0013] 5. Rule Cache
[0014] (1) Cache mechanism: To improve loading efficiency, the hot loading engine uses a cache mechanism to store the loaded quality control rules. This usually involves storing rule instructions in memory for quick access.
[0015] (2) Cache update: When new rules are loaded, the cache will be updated accordingly. This includes adding new rule instructions to the cache or replacing existing rule instructions.
[0016] (3) Cache management: In order to maintain the effectiveness of the cache, the hot reload engine also needs to perform cache management, which includes regularly clearing expired cache items and handling cache conflicts.
Claims
1. An intelligent and efficient business rule hot loading system and method, characterized by: The following steps are involved: The first step is to define the rule model. The second step is to establish a rule base. According to the actual needs of medical quality control, a rule base containing various medical quality control rules is established. The rules in the rule base can be updated and expanded as needed to meet the needs of different medical scenarios. Step 3: Monitor rule changes. (1) Real-time detection: The hot loading engine uses a special monitoring mechanism to monitor changes in the quality control rule base in real time. When it detects that a rule has changed (such as adding a new rule, modifying rule parameters or rule logic), the hot loading engine will identify these changes and prepare to load the rule. Step 4: Dynamically load new rules (2) Read new rules: The hot loading engine reads the rules that have changed in the rule base, uses the rule parser to parse the new rules, converts them into system executable instructions, and then dynamically loads the new rules into the system. Step 5: Rule caching. (1) Cache mechanism: To improve loading efficiency, the hot loading engine uses a cache mechanism to store loaded quality control rules, which usually includes storing rule instructions in memory for fast access. (2) Cache update: When new rules are loaded, the cache is updated accordingly, which includes adding new rule instructions to the cache or replacing existing rule instructions. (3) Cache management: To maintain the validity of the cache, the hot loading engine also needs to perform cache management, which includes regularly cleaning up expired cache items and handling cache conflicts.
2. An intelligent and efficient business rule hot loading system and method as claimed in claim 1, characterized in that: The type of the rule model is defined as business type.
3. The intelligent and efficient business rule hot loading system and method according to claim 1, characterized in that: Define the type of the rule model as the full path of the rule.
4. The intelligent and efficient business rule hot loading system and method according to claim 1, characterized in that: Define the type of rule model as the scope of application.
5. The intelligent and efficient business rule hot loading system and method according to claim 1, characterized in that: Define the type of the rule model as a rule parameter.
Citation Information
Cited By
Supervision method and system supporting dynamic hot update and efficient matching of rules
CN122053490A
A regulatory method and system supporting dynamic hot update and efficient matching of rules
CN122053490B