Digital twinborn rule engine method and system based on intelligent oil field station

By designing a digital twin rule engine system in a smart oilfield station, the problem of poor flexibility and maintainability caused by hard coding is solved, and the flexible configuration and efficient execution of business rules are achieved, which improves the efficiency and accuracy of production management.

CN119048268APending Publication Date: 2024-11-29SHENZHEN JIAYUNTONG ELECTRONICS
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411179959.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-27
Publication Date
2024-11-29

AI Technical Summary

Technical Problem

In the production scheduling and management of smart oilfield stations, the business rules in the existing technology are embedded in the system through hard-coded methods, resulting in poor flexibility and maintainability of the system, making it difficult to quickly adjust to cope with changes in the production environment and business needs.

Method used

Design a digital twin rule engine method and system based on smart oilfield stations, including digital twin platform integration, rule base management, rule reasoning and matching, microservice architecture and multilingual support, use Rete algorithm for efficient rule matching, and provide graphical users Interface and flexible deployment solutions support independent management and rapid adjustment of rules.

Benefits of technology

It realizes flexible configuration and dynamic adjustment of business rules, improves the flexibility and maintainability of the system, supports multi-dimensional rule construction, ensures the rapid and accurate rule execution, and enhances the accuracy and efficiency of production management.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119048268A_ABST
    Figure CN119048268A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of intelligent oil fields, in particular to a digital twinborn rule engine method and system based on an intelligent oil field station yard, and the method and system comprise the steps of design and implementation of a rule engine system, rule configuration and testing, and system integration and deployment. The design and implementation of the rule engine system are as follows: A1, digital twin platform integration: virtual and real mapping and synchronization: the digital twin platform collects real-time data of an oil field station through Internet of Things equipment and a sensor; independent configuration and dynamic adjustment of business rules are achieved through a rule engine, limitation of a hard coding mode is avoided, the flexibility and maintainability of the system are enhanced, multi-dimensional rule management supports construction and representation of multi-dimensional rules, the scheduling requirement in a complex business scene can be met, and the scheduling efficiency is improved. And the accuracy and efficiency of production management are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of smart oilfield technology, and in particular to a digital twin rule engine method and system based on a smart oilfield station. Background Art

[0002] Smart oilfield refers to a modern oilfield development model that uses advanced information technology and data analysis methods to intelligently optimize and manage the entire process of oilfield exploration, development, production, and management.

[0003] In the production scheduling and management of smart oilfield stations, there are a large number of complex and changeable business rules. These rules are often embedded in the system through hard coding, resulting in poor flexibility and maintainability of the system.

[0004] When the actual production environment and business needs change, hard-coded rules are difficult to adjust quickly, affecting production efficiency and management effectiveness.

[0005] Therefore, the main technical problem of the present invention is how to achieve independent management and flexible configuration of business rules so as to quickly respond to changes in production demand without affecting system operation and optimize production scheduling and management processes. Summary of the invention

[0006] The purpose of the present invention is to solve the above-mentioned shortcomings in the prior art and to propose a digital twin rule engine method and system based on a smart oilfield station.

[0007] In order to achieve the above object, the present invention adopts the following technical solutions:

[0008] Design a digital twin rule engine method and system based on a smart oilfield station, the digital twin rule engine method and system based on a smart oilfield station including: design and implementation of a rule engine system, rule configuration and testing, and system integration and deployment;

[0009] Design and implementation of the rule engine system:

[0010] A1. Digital twin platform integration:

[0011] Virtual-reality mapping and synchronization: The digital twin platform collects real-time data from oilfield stations through IoT devices and sensors, builds a mapping relationship between virtual models and real equipment, and realizes real-time data synchronization and dynamic monitoring;

[0012] Virtual simulation and optimization: On the digital twin platform, virtual simulation of production scheduling and equipment operation is carried out to verify and optimize scheduling strategies and improve production efficiency and equipment utilization;

[0013] A2. Rule base management:

[0014] Centralized storage and management: The scheduling rules are centrally stored and managed through the rule base, supporting the addition, deletion, modification and query of rules. The scheduling rules are represented by tree structure and table structure, which is convenient for the configuration and adjustment of rules.

[0015] Flexible configuration: Independent management of the rule base enables flexible configuration of rules, supporting rapid adjustment of business rules based on actual production needs;

[0016] A3. Rule reasoning and matching:

[0017] Efficient matching algorithm: Use the Rete algorithm to implement rule reasoning and matching, and dynamically execute scheduling rules based on the actual situation at the production site. The Rete algorithm improves the speed and efficiency of rule matching by building an efficient pattern matching network;

[0018] Intelligent decision support: Combine the real-time and historical data provided by the digital twin platform to provide intelligent decision support and optimize production scheduling and equipment management;

[0019] A4. System architecture:

[0020] Microservice architecture: The system adopts a microservice architecture, which is divided into data receiving module, rule base management module, rule engine core module, rule verification module, system management module, result output module and log management module. Each module has clear functions and works together to ensure the efficient operation of the system.

[0021] Modular design: Each module is independent of each other, which facilitates system expansion and maintenance, and improves system flexibility and maintainability;

[0022] A5. Multi-language support:

[0023] Multi-language call: The rule engine system supports multiple programming language calls, such as Python and Java, and provides rich API interfaces to facilitate integration and call with other systems;

[0024] Cross-platform compatibility: The system has good cross-platform compatibility and can run stably on different operating systems and hardware platforms.

[0025] In detail, the rule configuration and testing includes a rule configuration UI interface and a rule testing function.

[0026] In detail, the rule configuration UI interface:

[0027] Friendly interface design: We have designed and developed two rule configuration UI interfaces: tree-shaped and table-shaped, so that users can easily configure and adjust rules. The interface is friendly, easy to operate, and supports fast addition, deletion, modification, and query of rules.

[0028] Intuitive operation: Through the intuitive graphical interface, users can easily define and adjust rules, reduce operational complexity and improve work efficiency.

[0029] In detail, the rule test function:

[0030] Quick verification: After the rule editing is completed, the system provides a rule testing function to quickly verify the correctness and effectiveness of the rules, ensuring the accuracy and reliability of the rules in actual execution;

[0031] Simulation testing: With the help of the digital twin platform, virtual simulation and simulation testing of rules are carried out to ensure the feasibility and stability of the rules in the real environment.

[0032] In detail, the system integration and deployment includes an integration mode and a deployment method.

[0033] In detail, the integration mode:

[0034] Independent operation and integration: The rule engine system can run independently or be integrated with other systems through APIs, supporting rapid integration and calling. The system adopts the CQRS (Command Query Responsibility Separation) architecture to reduce system coupling and improve system performance.

[0035] Seamless integration with the digital twin platform: The rule engine system is seamlessly integrated with the digital twin platform to ensure real-time synchronization of data and efficient rule execution.

[0036] In detail, the deployment method:

[0037] Flexible deployment: The system supports multiple deployment methods, and you can choose the appropriate deployment solution according to actual needs to ensure stable operation and efficient management of the system;

[0038] Cloud and local deployment: The system supports cloud and local deployment modes to meet the needs of oilfield stations of different sizes and types and provide flexible solutions.

[0039] The digital twin rule engine method and system based on smart oilfield stations proposed in the present invention have the following beneficial effects:

[0040] 1. Flexibility and maintainability of the present invention: The independent configuration and dynamic adjustment of business rules are realized through the rule engine, avoiding the limitation of hard coding and enhancing the flexibility and maintainability of the system;

[0041] 2. Multi-dimensional rule management of the present invention: supports the construction and representation of multi-dimensional rules, can meet the scheduling needs in complex business scenarios, and improve the accuracy and efficiency of production management;

[0042] 3. Efficient rule reasoning: Adopt Rete algorithm to achieve efficient rule reasoning and matching, ensuring the speed and accuracy of rule execution;

[0043] 4. Convenient rule configuration: Provides a graphical user interface so that business personnel can easily configure and manage rules without having programming knowledge;

[0044] 5. Extensive system integration: Provides standard API interfaces to support rapid integration with different systems and enhance the applicability and scalability of the rule engine. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] Figure 1 This is a technical architecture diagram of the rule engine of the present invention;

[0046] Figure 2 This is a diagram of the rule engine system architecture of the present invention;

[0047] Figure 3 This is a diagram of the rule engine application architecture of the present invention;

[0048] Figure 4 This is a structural diagram of the rule engine of the present invention;

[0049] Figure 5 A simplified diagram of the rule engine application of the present invention;

[0050] Figure 6 A flow chart for implementing the rule engine of the present invention;

[0051] Figure 7 A diagram showing the relationship between modules of the rule engine system of the present invention;

[0052] Figure 8 This is a module relationship diagram of the rule engine system of the integrated digital twin of the present invention. DETAILED DESCRIPTION

[0053] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments.

[0054] Reference Figure 1-Figure 8 , a digital twin rule engine method and system based on a smart oilfield station, including, the digital twin rule engine method and system based on a smart oilfield station include: design and implementation of a rule engine system, rule configuration and testing, system integration and deployment;

[0055] Design and implementation of rule engine system:

[0056] A1. Digital Twin Platform Integration:

[0057] Virtual-reality mapping and synchronization: The digital twin platform collects real-time data from oilfield stations through IoT devices and sensors, builds a mapping relationship between virtual models and real equipment, and realizes real-time data synchronization and dynamic monitoring;

[0058] Virtual simulation and optimization: On the digital twin platform, virtual simulation of production scheduling and equipment operation is carried out to verify and optimize scheduling strategies and improve production efficiency and equipment utilization;

[0059] A2. Rule base management:

[0060] Centralized storage and management: The scheduling rules are centrally stored and managed through the rule base, supporting the addition, deletion, modification and query of rules. The scheduling rules are represented by tree structure and table structure, which is convenient for the configuration and adjustment of rules.

[0061] Flexible configuration: Independent management of the rule base enables flexible configuration of rules, supporting rapid adjustment of business rules based on actual production needs;

[0062] A3. Rule reasoning and matching:

[0063] Efficient matching algorithm: Use the Rete algorithm to implement rule reasoning and matching, and dynamically execute scheduling rules based on the actual situation at the production site. The Rete algorithm improves the speed and efficiency of rule matching by building an efficient pattern matching network;

[0064] Intelligent decision support: Combine the real-time and historical data provided by the digital twin platform to provide intelligent decision support and optimize production scheduling and equipment management;

[0065] A4. System architecture:

[0066] Microservice architecture: The system adopts a microservice architecture, which is divided into data receiving module, rule base management module, rule engine core module, rule verification module, system management module, result output module and log management module. Each module has clear functions and works together to ensure the efficient operation of the system.

[0067] Modular design: Each module is independent of each other, which facilitates system expansion and maintenance, and improves system flexibility and maintainability;

[0068] A5. Multi-language support:

[0069] Multi-language call: The rule engine system supports multiple programming language calls, such as Python and Java, and provides rich API interfaces to facilitate integration and call with other systems;

[0070] Cross-platform compatibility: The system has good cross-platform compatibility and can run stably on different operating systems and hardware platforms.

[0071] It should be further explained that rule configuration and testing includes rule configuration UI interface and rule testing function.

[0072] It should be further explained that the rule configuration UI interface:

[0073] Friendly interface design: We have designed and developed two rule configuration UI interfaces: tree-shaped and table-shaped, so that users can easily configure and adjust rules. The interface is friendly, easy to operate, and supports fast addition, deletion, modification, and query of rules.

[0074] Intuitive operation: Through the intuitive graphical interface, users can easily define and adjust rules, reduce operational complexity and improve work efficiency.

[0075] It should be further explained that the rule test function:

[0076] Quick verification: After the rule editing is completed, the system provides a rule testing function to quickly verify the correctness and effectiveness of the rules, ensuring the accuracy and reliability of the rules in actual execution;

[0077] Simulation testing: With the help of the digital twin platform, virtual simulation and simulation testing of rules are carried out to ensure the feasibility and stability of the rules in the real environment.

[0078] It should be further explained that system integration and deployment include integration mode and deployment method.

[0079] It should be further explained that the integrated mode:

[0080] Independent operation and integration: The rule engine system can run independently or be integrated with other systems through APIs, supporting rapid integration and calling. The system adopts the CQRS (Command Query Responsibility Separation) architecture to reduce system coupling and improve system performance.

[0081] Seamless integration with the digital twin platform: The rule engine system is seamlessly integrated with the digital twin platform to ensure real-time synchronization of data and efficient rule execution.

[0082] It should be further explained that the deployment method is:

[0083] Flexible deployment: The system supports multiple deployment methods, and you can choose the appropriate deployment solution according to actual needs to ensure stable operation and efficient management of the system;

[0084] Cloud and local deployment: The system supports cloud and local deployment modes to meet the needs of oilfield stations of different sizes and types and provide flexible solutions.

[0085] Figure 1 This is the technical architecture diagram of the rule engine, which is described in detail as follows:

[0086] 1. Smart oilfield station digital twin layer:

[0087] (1) Real-time data collection and synchronization: The digital twin platform collects real-time data from oilfield stations through IoT devices and sensors, ensuring real-time synchronization between virtual models and real equipment, and realizing dynamic monitoring and data-driven decision support.

[0088] (2) Virtual simulation and optimization: On the digital twin platform, virtual simulation of production scheduling and equipment operation is carried out to verify and optimize scheduling strategies and improve production efficiency and equipment utilization.

[0089] (3) Data fusion and analysis: Integrate multi-source data, combine real-time data and historical data, and provide comprehensive business insights and intelligent decision support through data fusion and analysis.

[0090] (4) Predictive maintenance and optimization: Through digital twin technology, predictive maintenance and optimization of equipment can be carried out to reduce downtime and improve equipment operating efficiency.

[0091] (5) Intelligent alarm and response: Utilize the real-time monitoring function of the digital twin platform to set intelligent alarm rules, detect abnormal situations in a timely manner and respond quickly to ensure production safety and stability.

[0092] (6) Interactive visualization: It provides an interactive 3D visualization interface, allowing users to intuitively understand the operating status and key indicators of the oilfield station, and supports multi-dimensional display and analysis of data.

[0093] 2. Access control layer:

[0094] (1) AJAX: used for asynchronous requests to update part of the web page content without reloading the entire page.

[0095] (2) API: provides an interface for front-end and back-end data interaction.

[0096] (3) HTTP: used for data transmission between client and server.

[0097] (4)AXIOS: A Promise-based HTTP library for sending asynchronous requests.

[0098] 3. Professional logic layer:

[0099] (1) CQRS: Command Query Responsibility Separation, used to handle the separation of read and write operations.

[0100] (2) Rule set: contains multiple rules and is used to define business logic.

[0101] (3) Decision table: defines rules in tabular form and is used for the management of simple rules.

[0102] (4) Rule engine: core module that executes rules and makes decisions.

[0103] 4. Technical service layer:

[0104] (1) Front-end service (API): provides interface services for the front-end and back-end.

[0105] (2) Public services (toolkit): provide commonly used tools and functional modules.

[0106] (3) Data services (add, delete, modify and query): handle basic database operations.

[0107] (4) Log service: records system operations and exception logs.

[0108] 5. Platform component layer:

[0109] (1) Nginx: Reverse proxy server, used for load balancing and static file serving. (2) Micro Rule Engine: Lightweight rule engine, used for rule execution. (3) Bement UI: Front-end UI component library, providing rich UI components.

[0110] (4)Antd V: Ant Design Vue, another front-end UI component library.

[0111] 6. Operation resource layer:

[0112] (1) Linux: open source operating system.

[0113] (2) Windows: Microsoft's operating system.

[0114] (3)Docker: Containerization technology used for application packaging and deployment.

[0115] (4)MySQL: a relational database used for data storage.

[0116] Figure 2 This is the rule engine system architecture diagram, which is described in detail as follows:

[0117] 1. Management console:

[0118] (1) Permission management: manage user permissions.

[0119] (2) Version control: manage rule versions.

[0120] (3) Import / Export: Import and export functions of rules.

[0121] 2. Management platform library:

[0122] (1) Rule base: stores all rules.

[0123] (2) Database: stores system data.

[0124] 3. Rule management platform:

[0125] (1) Rule definition: a module that defines rules.

[0126] (2) Rule Editor: Module for editing rules.

[0127] (3) Rule construction: Module for building rules.

[0128] (4) Rule compilation: module for compiling rules.

[0129] (5) Multi-language parser: supports rule parsing in multiple languages.

[0130] 4. Rules Engine:

[0131] (1) Agenda: The order in which management rules are executed.

[0132] (2) Rule execution engine: executes rules.

[0133] (3) Pattern matching: matching rules and data.

[0134] 5. HTTP / API service layer: provides HTTP and API interface services.

[0135] 6. Production scheduling system: scheduling production tasks.

[0136] 7. Data acquisition system: collect system operation data.

[0137] 8. Smart Oilfield Station Digital Twin Platform:

[0138] (1) Real-time data collection: IoT devices and sensors are used to collect oilfield station data in real time, such as equipment status and production parameters.

[0139] (2) Virtual-reality mapping and synchronization: The digital twin platform maps and synchronizes the collected real-time data with the virtual model to ensure the dynamic update of the virtual model.

[0140] (3) Data fusion and analysis: Fusion and analysis of multi-source data to provide comprehensive business insights and intelligent decision support.

[0141] (4) Virtual simulation and optimization: Perform virtual simulation of production scheduling and equipment operation on the digital twin platform to verify and optimize scheduling strategies.

[0142] (5) Predictive maintenance and optimization: Based on digital twin technology, predictive maintenance of equipment can be performed to reduce downtime and improve equipment operating efficiency.

[0143] (6) Intelligent alarm and response: Through real-time monitoring function, intelligent alarm rules can be set to detect abnormal situations in time and respond quickly.

[0144] 9. Main process:

[0145] (1) System administrator logs in to the management console: The administrator operates the system through the console.

[0146] (2) Interaction between the management console and the basic platform library: The console interacts with the rule base and database.

[0147] (3) Process personnel log in to the rule management platform to perform rule operations: Process personnel perform rule operations through the management platform.

[0148] (4) The rule management platform interacts with the basic platform library and the rule engine: The management platform interacts with the rule library, database and rule engine.

[0149] (5) Internal process of the rule engine: Pattern matching reads the rule base and database, transmits it to the agenda, then to the rule engine, and finally returns it to the rule management platform.

[0150] (6) The operation results are transmitted to the production scheduling system and data acquisition system through the HTTP / API service layer for use by equipment and users.

[0151] (7) Real-time data feedback and optimization: The digital twin platform monitors the operating status of the oilfield station in real time, feeds data back to the rule engine, and dynamically optimizes scheduling and management rules.

[0152] Figure 3 This is the rule engine application architecture diagram, which is described in detail as follows:

[0153] 1. Application layer:

[0154] (1) User interface: including rule editing, test calling, and digital twin platform monitoring interface, used for user interaction with the system.

[0155] (2) Database: stores application data.

[0156] 2. Call layer:

[0157] (1) Third-party applications: external systems and applications.

[0158] (2) Internal application: application program within the system.

[0159] (3) Digital twin platform: data and simulation services provided by the digital twin platform.

[0160] 3. Rule Engine API: Provides interfaces with the rule engine core and digital twin platform.

[0161] 4. Rule engine core:

[0162] (1) Rule management: definition and editing of management rules.

[0163] (2) Inference engine: the reasoning process of processing rules.

[0164] (3) Execution engine: contains the agenda and working memory, and is responsible for the execution of rules.

[0165] (4) Data support: real-time data and historical data support provided by the digital twin platform.

[0166] (5) Simulation optimization: virtual simulation and optimization results using the digital twin platform.

[0167] 5. Rule base: stores all rules, including optimization rules and simulation results obtained from the digital twin platform.

[0168] 6. The main process is described as follows:

[0169] (1) Interaction between the rule engine core and the rule base: The core module interacts with the rule base for data.

[0170] (2) Business interaction within the execution engine: Business interaction is performed between the agenda and working memory within the execution engine.

[0171] (3) Rule management sends instructions to the execution engine: The rule management module sends execution instructions to the execution engine.

[0172] (4) Interaction between the inference engine and the execution engine: The inference engine handles the inference process and interacts with the execution engine.

[0173] (5) The rule engine API sends instructions to the rule engine core, and the core returns data to the API: The API module sends instructions to the rule engine core, and the core module returns the execution results.

[0174] (6) Application layer user interface and database interaction: The user interface module interacts with the database.

[0175] (7) Application layer and rule engine API interaction: The application layer module interacts with the rule engine through API.

[0176] (8) Digital twin platform integration content:

[0177] Real-time data collection: Integrate real-time data collected through IoT devices and sensors into the working memory of the rule engine so that the rule engine can obtain and utilize the latest data in real time.

[0178] Virtual-reality mapping and synchronization: Integrate the mapping and synchronization mechanism between real-time data and virtual models into the pattern matching and data processing modules of the rule engine to ensure that the rule engine can execute rules based on the latest virtual model.

[0179] Data fusion and analysis: Integrate the fusion and analysis results of multi-source data into the data support module of the rule engine to provide comprehensive business insights and decision support for the rule engine.

[0180] Virtual simulation and optimization: Integrate the virtual simulation and optimization results on the digital twin platform into the simulation optimization module of the rule engine, and use these results to perform rule optimization and scheduling strategy verification.

[0181] Predictive maintenance and optimization: Integrate the predictive maintenance plan and optimization results of the equipment into the rule base of the rule engine to help the rule engine perform maintenance scheduling and optimization.

[0182] Intelligent alarm and response: Integrate intelligent alarm rules and response mechanisms into the execution engine of the rule engine to ensure that the rule engine can detect abnormal situations in time and respond quickly.

[0183] Figure 4 This is the structure diagram of the rule engine, which is described in detail as follows:

[0184] 1. Inference Engine:

[0185] (1) Pattern matching: Matching input data and rule conditions to increase the ability to match real-time data and optimization results.

[0186] (2) Agenda: Manage the execution order of rules, and add the ability to dynamically adjust the execution order of rules based on real-time data and simulation results. (3) Execution Engine: Execute successfully matched rules, and add the ability to execute rules driven by real-time data and handle exception responses.

[0187] 2. Rule base: stores all defined rules, including optimization rules and simulation results obtained from the digital twin platform.

[0188] 3. Working memory: stores data needed during the execution process, including real-time data, historical data and simulation results.

[0189] 4. The main process is described as follows:

[0190] (1) The data of the rule base and working memory are transferred to the pattern matching module: the rules and data are input into the pattern matching module for matching. Real-time data collection and virtual-real synchronization data are also transferred to the pattern matching module.

[0191] (2) Pattern matching is passed to the agenda: The successfully matched rules are passed to the agenda for scheduling. The virtual simulation and optimization results of the digital twin platform will also affect the scheduling order of the agenda.

[0192] (3) The agenda is passed to the execution engine: After the agenda is scheduled, the rules are passed to the execution engine for execution. Intelligent alarm information is also passed to the execution engine through the agenda so that abnormal situations can be responded to in a timely manner.

[0193] Figure 5 This is a simplified diagram of the rule engine application. The main process is described as follows:

[0194] 1. Process personnel login rule management: Process personnel log in to the system through the rule management module and edit the rules in combination with virtual-real mapping and synchronized data.

[0195] 2. System administrator logs in to the business configuration: The system administrator logs in to the system through the business configuration module. Use data fusion and analysis results to configure business logic.

[0196] 3. Rule management edits content and writes it into the rule base: Process personnel edit rules in the rule management module and write the rules into the rule base, including virtual simulation and optimization results and intelligent alarm rules.

[0197] 4. The rule base reads the business configuration: The rule base reads the business configuration data.

[0198] 5. Business configuration is written into the business database: The business configuration module writes configuration data into the business database, including real-time data collection and predictive maintenance plans.

[0199] 6. The rule base reads and executes the rules: The rule base reads and executes the rules, combining real-time data and synchronized data of virtual-reality mapping to ensure the accuracy and timeliness of rule execution.

[0200] 7. Rule execution reads business library: The rule execution module reads data from the business library for rule execution, including real-time data, fusion analysis results and intelligent alarm information.

[0201] Figure 6 This is a flowchart for implementing the rule engine. The main process is described as follows:

[0202] 1. Rule definition: Users define rules, which are input into the system and combined with the results of virtual simulation and optimization to ensure the accuracy and effectiveness of the rules.

[0203] 2. Rule editing: Users edit rules, which can be loaded and stored into the rule base, and optimized using real-time data and fusion analysis results.

[0204] 3. Rule compilation: compile the edited rules and convert them into an executable format.

[0205] 4. Rule matching: Compiled rules are matched with input data to increase matching support for real-time data and virtual-reality mapping data.

[0206] 5. Agenda processing: If there is a conflict in rule matching, it will be passed to the agenda for conflict resolution. When resolving the conflict, the predictive maintenance and optimization results will be referred to. After the conflict is resolved, the match is displayed as successful.

[0207] 6. Successful match: After a successful match, the rules are passed to the execution engine and further processed in combination with the intelligent alarm and response mechanism.

[0208] 7. Execution engine executes rules: The execution engine executes the successfully matched rules and outputs the results, combining real-time data collection and synchronized data of virtual-reality mapping to ensure the accuracy and timeliness of the execution results.

[0209] Figure 7 This is a diagram of the relationship between the modules of the rule engine system. The main process is described as follows:

[0210] The data management module sends data to the system management module and the rule base management module: the data management module sends the real-time data collection and fusion analysis results to the system management module and the rule base management module.

[0211] The rule base management module sends data to the system management module and interconnects with the rule engine core module: The rule base management module sends data, virtual simulation results, predictive maintenance plans and intelligent alarm rules to the system management module and interconnects with the rule engine core module.

[0212] Figure 8 This is the relationship diagram of the rule engine system modules that integrates digital twins:

[0213] 1. Data management module:

[0214] (1) Send real-time data collection to the system management module.

[0215] (2) Send the fusion analysis results to the system management module and the rule base management module.

[0216] 2. System management module:

[0217] (1) Receive and process real-time data and fusion analysis results sent by the data management module.

[0218] (2) Perform virtual-reality mapping and synchronization to ensure dynamic updating of the virtual model.

[0219] (3) Send the processed data to the rule base management module and the rule engine core module.

[0220] 3. Rule base management module:

[0221] (1) Store and manage rules, virtual simulation results, predictive maintenance plans, and intelligent alarm rules.

[0222] (2) Interconnect with the system management module to send and receive relevant data.

[0223] (3) Interconnect with the core module of the rule engine to provide data support required for rule execution.

[0224] 4. Rule engine core module:

[0225] (1) Receive rules and data sent by the rule base management module.

[0226] (2) Execute rules and provide decision support, combining real-time data and simulation results to ensure the accuracy and effectiveness of rule execution.

[0227] The core of the present invention: Independent rule base management: Through centralized rule base management, independent configuration and dynamic adjustment of business rules are achieved, thereby enhancing the flexibility and maintainability of the system.

[0228] Multi-dimensional rule construction and characterization: Supports the construction and characterization of scheduling rules based on multiple dimensions such as time, priority, resource constraints, exception handling and cost to meet complex business needs.

[0229] Rule reasoning and matching: Rete algorithm is used to achieve efficient rule reasoning and matching, ensuring the accuracy and timeliness of rule execution.

[0230] Visual rule configuration interface: Provides a graphical user interface to support business personnel in self-configuring and managing rules, thus improving operational convenience.

[0231] Standardized interface integration: Provides standard API interfaces to support rapid integration with other systems and achieve wide applicability of the rule engine.

[0232] The above description is only a preferred specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can make equivalent replacements or changes according to the technical scheme and inventive concept of the present invention within the technical scope disclosed by the present invention, which should be covered by the protection scope of the present invention.

Claims

1. Digital twin rule engine method and system based on smart oilfield station, The invention comprises, wherein: The digital twin rule engine method and system based on the smart oilfield station include: design and implementation of the rule engine system, rule configuration and testing, system integration and deployment; Design and implementation of the rule engine system: A1. Digital Twin Platform Integration: Virtual-reality mapping and synchronization: The digital twin platform collects real-time data from oilfield stations through IoT devices and sensors, builds a mapping relationship between virtual models and real equipment, and realizes real-time data synchronization and dynamic monitoring; Virtual simulation and optimization: On the digital twin platform, virtual simulation of production scheduling and equipment operation is carried out to verify and optimize scheduling strategies and improve production efficiency and equipment utilization; A2. Rule base management: Centralized storage and management: The scheduling rules are centrally stored and managed through the rule base, supporting the addition, deletion, modification and query of rules. The scheduling rules are represented by tree structure and table structure, which is convenient for the configuration and adjustment of rules. Flexible configuration: Independent management of the rule base enables flexible configuration of rules, supporting rapid adjustment of business rules based on actual production needs; A3. Rule reasoning and matching: Efficient matching algorithm: Use the Rete algorithm to implement rule reasoning and matching, and dynamically execute scheduling rules based on the actual situation at the production site. The Rete algorithm improves the speed and efficiency of rule matching by building an efficient pattern matching network; Intelligent decision support: Combine the real-time and historical data provided by the digital twin platform to provide intelligent decision support and optimize production scheduling and equipment management; A4. System architecture: Microservice architecture: The system adopts a microservice architecture, which is divided into data receiving module, rule base management module, rule engine core module, rule verification module, system management module, result output module and log management module. Each module has clear functions and works together to ensure the efficient operation of the system. Modular design: Each module is independent of each other, which facilitates system expansion and maintenance, and improves system flexibility and maintainability; A5. Multi-language support: Multi-language call: The rule engine system supports multiple programming language calls, such as Python and Java, and provides rich API interfaces to facilitate integration and call with other systems; Cross-platform compatibility: The system has good cross-platform compatibility and can run stably on different operating systems and hardware platforms.

2. The digital twin rule engine method and system based on the smart oilfield station according to claim 1 is characterized by: The rule configuration and testing includes a rule configuration UI interface and a rule testing function.

3. The digital twin rule engine method and system based on the smart oilfield station according to claim 2 is characterized in that: The rule configuration UI interface: Friendly interface design: We have designed and developed two rule configuration UI interfaces: tree-shaped and table-shaped, so that users can easily configure and adjust rules. The interface is friendly, easy to operate, and supports fast addition, deletion, modification, and query of rules. Intuitive operation: Through the intuitive graphical interface, users can easily define and adjust rules, reduce operational complexity and improve work efficiency.

4. The digital twin rule engine method and system based on the smart oilfield station according to claim 2 is characterized in that: The rule test function: Quick verification: After the rule editing is completed, the system provides a rule testing function to quickly verify the correctness and effectiveness of the rules, ensuring the accuracy and reliability of the rules in actual execution; Simulation testing: With the help of the digital twin platform, virtual simulation and simulation testing of rules are carried out to ensure the feasibility and stability of the rules in the real environment.

5. The digital twin rule engine method and system based on the smart oilfield station according to claim 1 is characterized in that: The system integration and deployment include integration mode and deployment method.

6. The digital twin rule engine method and system based on the smart oilfield station according to claim 5 is characterized in that: The integration mode: Independent operation and integration: The rule engine system can run independently or be integrated with other systems through APIs, supporting rapid integration and calling. The system adopts the CQRS (Command Query Responsibility Separation) architecture to reduce system coupling and improve system performance. Seamless integration with the digital twin platform: The rule engine system is seamlessly integrated with the digital twin platform to ensure real-time synchronization of data and efficient rule execution.

7. The digital twin rule engine method and system based on the smart oilfield station according to claim 5 is characterized in that: The deployment method described: Flexible deployment: The system supports multiple deployment methods, and you can choose the appropriate deployment solution according to actual needs to ensure stable operation and efficient management of the system; Cloud and local deployment: The system supports cloud and local deployment modes to meet the needs of oilfield stations of different sizes and types and provide flexible solutions.

Citation Information

Cited By

  • Airport business rule management and task arrangement method and system based on digital twinning

    CN122450438A