Domestic database system for supporting spaceflight discrete manufacturing MES system

By designing a domestic database system that supports the aerospace discrete manufacturing MES system, the problems of high cost and data security risks in the existing technology are solved, the flexibility and scalability of the system are achieved, the data processing efficiency and security are improved, and the adaptability is improved. The special needs of aerospace manufacturing ensure the real-time and accuracy of data.

CN118708569AInactive Publication Date: 2024-09-27BEIJING XINGHANG MECHANICAL ELECTRICAL EQUIP CO LTD +1

Patent Information

Application Number
CN202410863963.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-30
Publication Date
2024-09-27
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The widely used foreign database products in existing aerospace manufacturing MES systems result in high costs and data security risks, making it difficult to meet the special needs of aerospace manufacturing.

Method used

A domestic database system is designed to support the aerospace discrete manufacturing MES system. It adopts a modular design and includes a database module, a data processing module, a system interface module and a control module. Interconnection is achieved through standardized interfaces, and domestic database software is used to optimize data processing. , providing real-time data stream processing and data security strategies to ensure the security and real-time nature of data.

Benefits of technology

It achieves system flexibility and scalability, reduces costs, improves data processing efficiency and security, adapts to the special needs of aerospace manufacturing, ensures real-time and accuracy of data, reduces delays, and provides data aggregation and analysis capabilities to support real-time monitoring and optimization of production lines.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118708569A
    Figure CN118708569A
Patent Text Reader

Abstract

The embodiment of the invention discloses a localized database system for supporting an aerospace discrete manufacturing MES system, and relates to the technical field of aerospace manufacturing digital management, the localized database system comprises a database module, a data processing module, a system interface module and a control module, each module adopts a modular design, and interconnection and intercommunication are realized through a standardized interface; wherein the database module is optimized based on domestic database software so as to support aerospace manufacturing data; the data processing module provides real-time data stream processing and supports data aggregation and analysis; the system interface module provides extensible APIs according to national standards, and the control module implements data security and access control strategies. According to the method, the problems of high cost and high data security risk caused by the fact that foreign database products are widely used in a current system can be effectively solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of digital management technology for aerospace manufacturing, and specifically to a localized database system that supports aerospace discrete manufacturing MES system. Background Art

[0002] With the continuous development of China's aerospace industry, customers have higher and higher requirements for the functions, performance indicators and comprehensiveness of spacecraft, and have also put forward higher requirements for the delivery progress and delivery quality of spacecraft. In order to adapt to this change, manufacturing companies need a high degree of coordination between departments, improve the level of refined management, and improve intelligent manufacturing capabilities. For discrete manufacturing companies that produce multiple varieties and small batches (discrete manufacturing products are often made up of multiple parts that are processed through a series of discontinuous processes and finally assembled), they generally use MES systems (Manufacturing Execution System) to monitor various data in real time and guide production. However, the foreign database products widely used in existing systems are not only costly, but also pose data security risks. Summary of the invention

[0003] This application provides a localized database system that supports the aerospace discrete manufacturing MES system, which is used to improve the problem of widespread use of foreign database products in the current system, resulting in high costs and high data security risks.

[0004] The embodiment of the present application provides a localized database system supporting aerospace discrete manufacturing MES system, including:

[0005] Database module, data processing module, system interface module and control module, each module adopts modular design and realizes interconnection through standardized interfaces;

[0006] Among them, the database module is based on domestic database software and optimized to support aerospace manufacturing data; the data processing module provides real-time data stream processing and supports data aggregation and analysis; the system interface module provides an extensible API in accordance with national standards, and the control module implements data security and access control strategies.

[0007] In some embodiments, the database module adopts optimized storage strategies including data sharding technology to increase data writing and reading speeds.

[0008] In some embodiments, the data processing module includes middleware for preprocessing received data streams, which can reduce database load and support real-time data monitoring and event-triggered processing.

[0009] In some embodiments, the system interface module achieves seamless connection with other information systems of aerospace enterprises by defining standardized data exchange formats and protocols.

[0010] In some embodiments, the control module includes multiple backup and fault tolerance mechanisms to ensure the persistence and integrity of data under various abnormal circumstances.

[0011] In some embodiments, the data processing module further includes a prediction analysis unit for performing prediction analysis of the production process based on historical data and current data streams, thereby optimizing the real-time scheduling of the production line.

[0012] In some embodiments, the localized database system further includes a database query processing module, which is signal-connected to the database module and configured to receive a query request and execute a database query.

[0013] In some embodiments, the database query processing module includes:

[0014] SQL parser, used to convert query statements from text form into internal data structures that the database can understand and operate;

[0015] The query optimizer is responsible for considering multiple possible query execution strategies and selecting the optimal query plan by estimating the costs of these strategies;

[0016] The query execution engine manages the actual execution of queries and calls services of other modules in the database system according to the plan selected by the query optimizer;

[0017] Storage manager, which manages how database data is stored on disk and in memory, and optimizes data access speed;

[0018] Transaction management and concurrency control ensure that multiple query and update requests in the database system can be executed efficiently and safely at the same time.

[0019] In some embodiments, the database query processing module is preset with a database query efficiency formula for evaluating the execution efficiency of the domestic database system for different data queries.

[0020] In some embodiments, the database query efficiency formula is:

[0021]

[0022] It can be seen that the embodiments of the present application have at least the following beneficial effects:

[0023] The localized database system adopts a modular design, which enables the system to flexibly adapt to different aerospace manufacturing needs and allows for rapid upgrades or functional expansion. Each module is interconnected through a standardized interface. This design advantage not only facilitates data flow and integration between modules, but also improves the maintainability and scalability of the entire system.

[0024] The database module is based on the optimization of domestic database software, which means that the system can make full use of the characteristics of domestic software and meet the special requirements of aerospace manufacturing data through targeted optimization. This optimization helps to increase the speed of data writing and query, improve data access efficiency, and thus reduce delays when capturing large amounts of data generated during the production process, ensuring the real-time and accuracy of the data.

[0025] The data processing module provides real-time data stream processing and supports data aggregation and analysis functions, allowing the MES system to quickly convert large amounts of data into valuable information, which is crucial for real-time monitoring of production line conditions, early identification of anomalies, making quick decisions, and optimizing aerospace manufacturing processes.

[0026] The extensible API of the system interface module is provided in accordance with national standards, ensuring the compatibility of the system with third-party equipment or software, which is conducive to the rapid integration of the MES system in the internal information system of aerospace enterprises and reduces deployment time and cost.

[0027] The data security and access control strategies provided by the control module ensure the security and confidentiality of key manufacturing data, which is particularly important in the aerospace manufacturing field involving national security and intellectual property protection. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0029] Figure 1 A schematic diagram of the structure of a localized database system supporting an aerospace discrete manufacturing MES system provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0030] The technical solutions in the embodiments of the present application will be described clearly and completely below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present application.

[0031] See also Figure 1 The embodiment of the present application provides a localized database system supporting aerospace discrete manufacturing MES system, including:

[0032] Database module, data processing module, system interface module and control module, each module adopts modular design and realizes interconnection through standardized interfaces;

[0033] Among them, the database module is based on domestic database software and optimized to support aerospace manufacturing data; the data processing module provides real-time data stream processing and supports data aggregation and analysis; the system interface module provides an extensible API in accordance with national standards, and the control module implements data security and access control strategies.

[0034] The embodiments of the present application have at least the following beneficial effects:

[0035] The localized database system adopts a modular design, which enables the system to flexibly adapt to different aerospace manufacturing needs and allows for rapid upgrades or functional expansion. Each module is interconnected through a standardized interface. This design advantage not only facilitates data flow and integration between modules, but also improves the maintainability and scalability of the entire system.

[0036] The database module is based on the optimization of domestic database software, which means that the system can make full use of the characteristics of domestic software and meet the special requirements of aerospace manufacturing data through targeted optimization. This optimization helps to increase the speed of data writing and query, improve data access efficiency, and thus reduce delays when capturing large amounts of data generated during the production process, ensuring the real-time and accuracy of the data.

[0037] The data processing module provides real-time data stream processing and supports data aggregation and analysis functions, allowing the MES system to quickly convert large amounts of data into valuable information, which is crucial for real-time monitoring of production line conditions, early identification of anomalies, making quick decisions, and optimizing aerospace manufacturing processes.

[0038] The extensible API of the system interface module is provided in accordance with national standards, ensuring the compatibility of the system with third-party equipment or software, which is conducive to the rapid integration of the MES system in the internal information system of aerospace enterprises and reduces deployment time and cost.

[0039] The data security and access control strategies provided by the control module ensure the security and confidentiality of key manufacturing data, which is particularly important in the aerospace manufacturing field involving national security and intellectual property protection.

[0040] It should be noted that in the construction of this system, we focused on four core modules: database module, data processing module, system interface module and control module. These modules adopt a modular design concept and are connected to each other through high-standard and strictly defined interfaces. This method provides good interoperability between systems and also facilitates possible functional expansion and maintenance in the future. In order to ensure the efficient operation of the entire system and the consistency of data, we adopted a unified communication protocol and data format. In the overall architecture, each module must not only be able to respond to requests quickly, but also ensure the reliability and security of data. For example, the database module will receive data from the data processing module, and the processing module may receive sensor data sent by the manufacturing execution system; the control module will make decisions and execute control strategies based on the external system feedback obtained by the interface module. The system interface module is responsible for standardizing control instructions and data security strategies so that external systems can be executed safely and accurately.

[0041] For example, consider an aerospace manufacturing scenario where various sensors in the manufacturing workshop continuously collect real-time data on the production line and then transmit the data to the data processing module. In this module, the data is initially processed by the middleware and then stored in the database module. The data in the database module needs to be accessed by the job management software. At this time, the system interface module will provide a standardized API service, allowing the job management software to obtain the required data in a safe and efficient manner. At the same time, the control module will monitor the access mode of the job management software to ensure that only authorized users can access sensitive data. At the same time, the control module will also maintain the integrity and consistency of the data.

[0042] Through such an architecture, not only the stability and performance of the system are improved, but also the security and accuracy of the data are guaranteed. The system design allows it to quickly adapt to changing production needs and evolving national data security standards while maintaining the simplicity and intuitiveness of user operation.

[0043] In some embodiments, the database module uses optimized storage strategies including data sharding technology to increase data writing and reading speeds. The database module includes:

[0044] High-performance storage engine: Its core feature lies in its multi-dimensional sharding scheme, which adopts a row-column hybrid storage architecture and uses advanced data distribution algorithms to distribute data shards. The algorithm intelligently distributes data to different storage nodes based on the data access pattern and hot spot characteristics, prevents overload of a single node, achieves load balancing, and avoids the generation of performance bottlenecks. Furthermore, the high-performance storage engine includes a real-time data stream analysis engine, which pre-analyzes the data stream during the data writing phase, dynamically predicts the hot spot trend of the data, and provides decision-making references for the intelligent data allocation manager. The real-time data stream analysis engine monitors the generation of sensor and production line data in real time, intelligently predicts and determines the hot spot nature of the data, and further guides the decision-making of the intelligent data allocation manager. For example, in the scenarios of manufacturing parameters, component tracking, and quality control, the real-time data stream analysis engine can predict the data hot spots that are about to be formed, and dynamically adjust the data sharding layout in advance, so that when the parts pass through the high-speed production line, the data processing module can respond quickly and provide the necessary data writing and reading support.

[0045] Distributed transaction processor: This processor is dedicated to cross-shard transaction management, ensuring that the consistency and ACID characteristics of data between shards are not affected. When performing cross-shard operations, the two-phase commit protocol is implemented to accurately process and return results, ensuring that data consistency is not compromised even in a distributed environment. After adding a timestamp-based consistency protocol, this processor can more effectively manage data updates across nodes, further improving the accuracy and efficiency of transaction processing. By introducing a timestamp-based consistency protocol, cross-shard data consistency issues can be handled more efficiently, providing a two-phase commit protocol to ensure atomicity and consistency. The adaptive data indexing strategy means that when there are intensive operations on cross-shard data, such as part manufacturing data access, the timestamp-based protocol can ensure real-time consistency of data between different nodes, thereby supporting real-time tracking and quality control of parts during the manufacturing process.

[0046] Intelligent Data Allocation Manager: This manager is responsible for monitoring data access patterns and shard usage, and dynamically adjusting the layout of data shards based on real-time trends in data access. Using the latest machine learning algorithms, it can intelligently predict data access hotspots and automatically migrate hotspot data to appropriate nodes to adapt to changes in data access patterns, optimize storage layout, and improve query performance. Combining containerization and virtualization technologies, flexible migration of shards is achieved to ensure the optimization of storage layout. The Intelligent Data Allocation Manager adopts a more flexible portable data sharding strategy, combined with containerization and virtualization technologies, making data migration between storage nodes more flexible and efficient. Combined with this framework, convenient data migration and optimized storage layout will provide optimal data access speed and real-time scheduling at each stage of component manufacturing to meet the challenges of intensive data.

[0047] For example, consider the intensive data generated in the manufacture of spacecraft parts, involving manufacturing parameters, component tracking, and quality control. The database module needs to efficiently record such data, especially on high-speed production lines where the data is generated and transmitted very quickly. The design of data sharding and intelligent data allocation manager enables the database module to quickly accept large amounts of new data and provide real-time query responses. For example, when it is necessary to trace the manufacturing history of a part, the relevant data shards can be quickly located and accessed to support manufacturing decisions.

[0048] In order to optimize storage strategies and improve data writing and reading speeds, it is necessary to implement intelligent preprocessing and allocation of data shards, consider data hot spots and access patterns, ensure load balancing, and avoid performance bottlenecks. In detail:

[0049] Intelligent preprocessing and distribution: Leverage real-time data stream analysis engines (such as Apache Kafka connected to Spark Streaming) to monitor and preprocess incoming data streams in real time. The engine can identify data hot spots and periodic patterns based on prior knowledge and real-time analysis to provide guidance for sharding strategies. Integrate machine learning models, especially predictive models, to analyze data generation trends and access patterns. These models can learn data generation and access patterns from historical data and make predictions about future trends to support decisions on intelligent sharding strategies.

[0050] For example, a new batch of spacecraft engine parts enters the production line, and the real-time data stream analysis engine monitors the data collected from various inspection sites. These data include parameters such as temperature and pressure. Using the machine learning model trained with historical data, the system can predict which parts may become hot spots. For example, a batch of parts needs to be frequently accessed for further analysis due to abnormal inspection data. Based on these prediction results, the intelligent data allocation manager automatically adjusts the storage distribution of this batch of parts data in the database, giving priority to allocating it to high-performance storage nodes, or storing copies of its data in the cache to improve reading speed and processing efficiency.

[0051] Design of data sharding algorithms: Advanced data distribution algorithms, such as consistent hashing or data sharding based on Rendezvous Hashing calculations, are applied in the design of storage engines. These algorithms can reasonably distribute data to various storage nodes when new data is written, taking into account previous hot spots and access patterns. The load prediction algorithm is used in combination with quantitatively analyzed hot spot data to adjust the sharding rules in real time. For example, data shards can be dynamically migrated to storage nodes based on access frequency and I / O indicators, as well as predicted future access patterns, to ensure that hot spot data is located on the best performing node.

[0052] The data distribution algorithm used not only statically allocates storage locations based on data blocks, but also dynamically adjusts according to the actual data access pattern. For example, if it is found that the inspection data of a certain spacecraft part is frequently accessed because of its outstanding performance in a certain flight mission, the system will immediately migrate this part of the data to a faster storage medium or a node closer to the computing resources. In intensive data scenarios, such as the production of high-frequency engine parts, data not only needs to be written quickly but may also become a hot spot for analysis. At this point, the data sharding algorithm automatically identifies and executes load balancing strategies, such as distributing hot data to multiple nodes, or creating multiple copies of high-frequency access part data to avoid overloading a single node.

[0053] Ensure load balancing and performance: Based on the data sharding strategy, distribute data across multiple nodes in the cluster to disperse the request load. Monitor the load and response time of each node, and balance the load between nodes through automatic or manual data migration and replication strategies. If performance bottlenecks occur, elastic expansion strategies, such as adding new physical machines or virtual machines as database nodes, can be used to share access pressure. Using containerization technology (such as Docker), new database instances can be quickly deployed to respond to performance requirements. Apply cache layer technology, such as Redis or Memcached, to provide a fast access layer for frequently accessed data. Maintain the cache count through intelligent cache invalidation strategies and LRU (least recently used) strategies.

[0054] For the manufacturing data of spacecraft parts, the elastic expansion mechanism can automatically increase storage and processing resources according to the real-time load situation. If the system detects that the node is close to or reaches the performance limit when processing the data of a batch of engine parts, it will automatically activate more resources, such as starting more database instances to share the load. Use cache to provide fast access paths for frequently accessed parts data. Combined with intelligent prediction algorithms, the system can predict which parts data may become short-term access hotspots and prepare fast access channels for these hotspot data in the cache in advance. Adaptive data indexing strategies are crucial to maintaining performance. The system dynamically adjusts the index according to the access pattern of the part data, such as selecting appropriate indexing technology (B-Tree, Hash index, etc.) or optimizing the index structure to improve query efficiency. The timeliness of data.

[0055] In some embodiments, the data processing module includes middleware for preprocessing received data streams, which can reduce database load and support real-time data monitoring and event-triggered processing.

[0056] Furthermore, the data processing module also includes a prediction analysis unit for performing prediction analysis of the production process based on historical data and current data streams, thereby optimizing the real-time scheduling of the production line.

[0057] The data processing module is responsible for efficient and real-time preprocessing and analysis of the received data stream, thus providing value-added data support for the aerospace discrete manufacturing MES system. This module is functionally separated from the database module, and processes data stream analysis and operations separately to reduce the direct computing load on the database module and ensure flexibility and scalability.

[0058] The data processing module includes:

[0059] Middleware, as the data flow entrance, first standardizes and transfers data. It is responsible for receiving data from sensors, terminal devices and other systems, and preprocessing according to preset rules. This includes data format conversion, cleaning invalid data, outlier detection and preliminary aggregation. These operations lay a solid foundation for subsequent data flow analysis.

[0060] The real-time stream processing engine is the core of the data processing module and uses an efficient stream computing framework to process continuous data streams. It performs real-time monitoring, complex event processing (CEP) and stream analysis on the processed data to achieve instant data processing and decision support.

[0061] Predictive analysis unit, which integrates advanced data mining and machine learning algorithms to mine patterns and trends from historical data and real-time data streams, such as possible bottlenecks in the production process. The analysis results of this unit can be used to predict future production needs, assist in production optimization, and provide decision-making suggestions for real-time scheduling systems.

[0062] For example, for the temperature, pressure, and vibration data collected during the test of a spacecraft engine, the data processing module first performs necessary standardization and preprocessing through the middleware. Subsequently, the real-time stream processing engine further analyzes the data to identify abnormal patterns, such as temperature rise trends or pressure fluctuations. At the same time, the predictive analysis unit analyzes the historical patterns of this data, determines possible causes of failure, and predicts its impact on the overall manufacturing cycle.

[0063] The data processing module that integrates middleware, real-time stream processing engine and predictive analysis unit provides the aerospace discrete manufacturing MES system with the ability to not only process real-time data, but also conduct in-depth analysis and prediction, thereby greatly improving production efficiency and quality assurance.

[0064] It should be noted that in this embodiment, the middleware is a crucial component of the data processing module of the aerospace discrete manufacturing MES system, which is mainly responsible for receiving, standardizing and forwarding data, and lays the foundation for subsequent data flow processing and analysis. Specific functions include:

[0065] Data reception: The middleware can connect to various data sources, such as sensors, control systems, and testing equipment, to receive data streams from all aspects of the production line in a unified format.

[0066] Standardization processing: Format the collected data to meet the requirements of system storage and processing, including data encoding, unit conversion and timestamp labeling.

[0067] Data cleaning: The middleware removes noise, corrects errors, fills in missing values, and excludes data that does not comply with business rules through predefined rules and algorithms.

[0068] Data routing: Based on the characteristics and destination of the data, the middleware determines the direction of data flow to ensure that the data is accurately delivered to the designated backend service or database.

[0069] It should also be noted that the method for the real-time stream processing engine of the data processing module to realize real-time monitoring of data and complex event processing includes:

[0070] Real-time analysis: Use stream computing frameworks (such as Apache Flink or Apache Storm) to analyze and process each event in the data stream to ensure immediate response after the data is generated.

[0071] Complex Event Processing (CEP): Use CEP engines to identify and correlate complex patterns in event streams, such as specific sequences of events or anomalies, and trigger corresponding processes or alerts.

[0072] Regarding the predictive analysis unit, it uses deep learning and data mining technology to extract patterns and trends from large-scale historical data, and then predict future events or conditions. Its workflow can be divided into the following steps:

[0073] Data mining: Use algorithms such as association rule learning and cluster analysis to discover regularities and correlations from historical data.

[0074] Machine learning model training: Apply models such as regression analysis, decision trees, support vector machines (SVM), neural networks, etc. to train predictors to analyze patterns in data.

[0075] Model evaluation and optimization: Continuously evaluate and optimize model performance through cross-validation, A / B testing, etc. to improve the accuracy and robustness of predictions.

[0076] Result deployment: Deploy the trained model to the real-time system to achieve real-time prediction and decision support for newly generated data.

[0077] Through the close integration and collaboration of these three components, the data processing module provides comprehensive data flow processing and analysis capabilities for the aerospace discrete manufacturing MES system with high transparency and efficiency.

[0078] In some embodiments, the system interface module achieves seamless connection with other information systems of aerospace enterprises by defining standardized data exchange formats and protocols. The system interface module in this embodiment constitutes a bridge for the aerospace discrete manufacturing MES system to communicate with the outside world. The system interface module must provide a set of clear, standardized and secure APIs (application programming interfaces) to achieve two-way data flow and effective integration with external devices or systems. It specifically includes the following implementation details:

[0079] Standardized definition of interfaces: All APIs are defined in accordance with international and national standards, such as using the RESTful API standard design style and using JSON or XML format for data transmission. At the same time, each API's function, input and output data format, and usage methods are documented in detail to ensure that third-party developers can easily connect.

[0080] Security design: A variety of security mechanisms are implemented at the interface level, including TLS / SSL encrypted transmission, OAuth2.0 standard authentication and authorization process, and control measures such as API access frequency limit to prevent data leakage or illegal access.

[0081] Scalability guarantee: Through modular architecture and interface version management, the future scalability of the system is maintained. Based on this architecture, new functions and services can be added or updated without affecting the operation of the existing system.

[0082] Service monitoring and logging: The system interface module will record all API call logs, including request time, request IP, operation content and results, etc. At the same time, the health status and response time of the API are monitored in real time to ensure the stability of the service.

[0083] For example, considering that an external system may need to obtain the manufacturing data of a certain component of a spacecraft, the MES system exposes a query API through the system interface module. This API allows the input of the component ID and time range as parameters, and returns all relevant data of the component within the time period. Through such an API, the MES system can be seamlessly integrated with external systems such as the supply chain system and the quality control system, share data, and drive the optimization of the overall manufacturing process. By setting up the system interface module, the information transmission of data management and process management of the entire life cycle of the product from design, process, manufacturing to delivery can be realized, solving the problems of data non-intercommunication between various process departments, backward information level, complex production process, opaque production progress, low management efficiency, and high communication costs.

[0084] In some embodiments, the control module includes multiple backup and fault tolerance mechanisms to ensure the persistence and integrity of data under various abnormal conditions. The control module involves a multi-level security and access control strategy that integrates the following main aspects:

[0085] Data encryption: All sensitive data, whether in transmission or storage, uses a high-strength encryption algorithm (such as AES-256) to ensure that it cannot be accessed or interpreted without authorization.

[0086] Authentication mechanism: Implement a role-based access control (RBAC) policy and require users to authenticate through a secure login process, such as using multi-factor authentication (MFA) to increase security levels.

[0087] Authorization and permission management: Once authenticated, the user's operating permissions are limited according to the predefined policies for their role. Administrators can refine permission settings and assign access rights according to the principle of least privilege, thereby limiting access to sensitive data and key operations.

[0088] Security Audit: The system will record detailed logs of all user operations, including timestamps, user IDs, performed operations and their results, etc., to support subsequent security reviews and track potential security incidents.

[0089] Anomaly detection and alarm: By monitoring user activities and system events in real time, the control module can identify abnormal behavior patterns, such as requests at unusual access times or attempts to access data in unauthorized areas, and can automatically trigger security alarms.

[0090] For example, a specific application in authorization is that only authenticated and authorized production managers can modify key parameters of the manufacturing execution system (MES). When the system detects that an unauthorized user attempts to change MES parameters, the control module will reject the request and record the relevant details, and notify the system administrator for further processing if necessary.

[0091] For the control module, the security protection mechanisms include:

[0092] Comprehensive encryption strategy: The control module implements end-to-end encryption measures. This includes protecting data in transit using Transport Layer Security (TLS) and encrypting data at rest using strong encryption algorithms such as AES. In addition, sensitive information such as passwords and access tokens are also hashed in the database for additional protection.

[0093] Border defense mechanism: The control module monitors and filters malicious traffic by configuring network security components such as firewalls, intrusion detection systems (IDS) and intrusion prevention systems (IPS). Any unusual or unauthorized network requests will be identified and blocked.

[0094] Strict authentication and authorization control: The control module must also implement a strong authentication mechanism to limit access rights to only those necessary users and processes, implement the principle of least privilege, and use multi-factor authentication (MFA) to increase the security verification level.

[0095] Real-time monitoring and alarm system: The control module monitors all system activities to instantly detect potential unauthorized operations or abnormal behaviors. The system is also equipped with an automated response mechanism that can immediately issue an alarm and take preventive measures once suspicious activities or signs are detected.

[0096] Application layer security: The control module implements security measures at the application level, such as input validation, output encoding, CSRF (cross-site request forgery) and XSS (cross-site scripting) protection, to prevent attacks that exploit application vulnerabilities.

[0097] In some embodiments, the localized database system further includes a database query processing module, which is signal-connected to the database module and configured to receive a query request and execute a database query. Further, the database query processing module includes:

[0098] SQL parser, used to convert query statements from text form into internal data structures that the database can understand and operate;

[0099] The query optimizer is responsible for considering multiple possible query execution strategies and selecting the optimal query plan by estimating the costs of these strategies;

[0100] The query execution engine manages the actual execution of queries and calls services of other modules in the database system according to the plan selected by the query optimizer;

[0101] Storage manager, which manages how database data is stored on disk and in memory, and optimizes data access speed;

[0102] Transaction management and concurrency control ensure that multiple query and update requests in the database system can be executed efficiently and safely at the same time.

[0103] The database query processing module has the capabilities of intelligent query optimization, cache strategy and load balancing. The following is a specific implementation method:

[0104] Intelligent query optimizer: The optimizer in the query processing module uses artificial intelligence algorithms (such as genetic algorithms) to dynamically select the optimal query execution plan. It evaluates the costs of different execution plans, including the expected number of I / Os, CPU usage time, and memory consumption, and selects the execution path with the lowest cost based on the current system load and data distribution.

[0105] Query cache management: The intelligent cache management system can identify and store the result sets of frequent queries, reduce the number of direct accesses to the database, and improve query efficiency. The cached results will be updated or invalidated in real time according to data changes to ensure the consistency of cached data.

[0106] Adaptive load balancing: This module can automatically distribute query requests according to the query type and the load of the current database system. It can distribute the load balancing to one or more database servers, optimize the use of system resources, and avoid single point overload.

[0107] Fault tolerance mechanism: When a fault occurs, the query processing module can automatically switch to a backup server or re-execute the query, thereby achieving seamless query services and improving system reliability.

[0108] For example, considering that users need to query manufacturing data for a specific time period, which is a highly repetitive query, the intelligent query optimizer can evaluate historical query patterns and adjust query plans in advance; the query cache management system will store these results so that subsequent similar requests can directly obtain data from the cache, significantly reducing processing time. When multiple users query concurrently, the adaptive load balancer will evenly distribute query tasks to ensure the optimization of the overall system response time.

[0109] The intelligent query optimizer is responsible for selecting the most efficient query execution plan in the database query processing module. This process usually involves the following steps:

[0110] Parsing queries: The optimizer first parses the user's query statement and converts it into an internal logical execution plan.

[0111] Generate execution strategies: The optimizer enumerates possible execution strategies, such as index seek, table scan, join strategy, etc.

[0112] Cost estimation: For each possible execution strategy, the optimizer uses a cost model to estimate the necessary disk I / O, network communication, CPU computation, and other overheads, and predicts the size of intermediate results.

[0113] Statistics and machine learning: Leverage database statistics and historical query performance, combined with machine learning models for more accurate cost predictions. Machine learning models can identify query patterns, predict execution times, and learn from historical data to optimize future queries.

[0114] Select the best plan: Based on the above evaluation, the optimizer selects the execution plan with the lowest overall cost.

[0115] Real-time Adjustment: The optimizer continuously monitors the actual performance of the execution plan and compares it with the prediction to train and adjust the machine learning model to achieve higher accuracy in future selections.

[0116] Query cache management implementation of database query processing module:

[0117] The implementation of query cache management focuses on storing and reusing frequently used query results to speed up data retrieval. This mechanism usually includes:

[0118] Query identification: When a query is submitted, the cache manager checks whether there is a matching result set.

[0119] Result storage: If the result of the query does not exist in the cache, the system will calculate the result and add it to the cache.

[0120] Cache invalidation and updates: Data update operations may cause the data in the cache to no longer be valid. The cache manager must be able to detect when the data in the cache becomes stale due to source data updates and remove it from the cache or update it.

[0121] Cache strategy: Use cache replacement strategies such as Least Recently Used (LRU) and Most Frequently Used (MFU) to maximize cache efficiency.

[0122] Write strategy: Considering the query pattern and frequency of data changes, the manager formulates an appropriate write strategy to decide when to refresh the cache.

[0123] Further explanation of the adaptive load balancing mechanism:

[0124] The adaptive load balancing mechanism enables the database query processing module to dynamically distribute the query load based on the current system status and the performance of the database server. This is achieved through the following steps:

[0125] Performance monitoring: Real-time monitoring of key performance indicators such as response time, CPU and memory usage of each database server.

[0126] Analyze workloads: Estimate resource requirements for different queries based on query types and historical performance data.

[0127] Dynamic allocation: The system assigns queries to the best server based on the server load. For example, some resource-intensive queries will be assigned to servers with lighter loads.

[0128] Elastic expansion: When needed, adaptive load balancing can request more database instances from cloud resources to cope with sudden increases in query pressure.

[0129] Failover mechanism: If a database server experiences performance degradation or failure, the load balancer will automatically transfer queries to other healthy servers to ensure the continuity of query services.

[0130] Through the above measures, the adaptive load balancing mechanism improves the resource utilization efficiency of the database query processing module and the overall stability of the system.

[0131] In some embodiments, the database query processing module is preset with a database query efficiency formula for evaluating the execution efficiency of the domestic database system for different data queries. Further, the database query efficiency formula is:

[0132]

[0133] Among them, DQE creative Indicates database query efficiency.

[0134] W q Represents the weight factor of the query, which is assigned according to the business priority of the query.

[0135] E d It is an indicator of data environment efficiency, which comprehensively considers the impact of data distribution and replication strategy on query efficiency.

[0136] T p It is the time performance ratio, which compares the ratio of expected query execution time to actual query execution time.

[0137] Q t is the query response time, which is the time from issuing a query request to receiving all the results.

[0138] L represents the system load factor, which is the ratio of the actual workload to the system's maximum load capacity.

[0139] H l is the hardware delay factor, which takes into account the impact of hardware performance on query response time.

[0140] C q is the query complexity, taking into account the number of tables and join operations involved in the query.

[0141] U f A factor representing unindexed fields, which relates to the number of fields in a query that are not accelerated by an index.

[0142] S r The size of the result set returned, that is, the amount of data or number of rows returned.

[0143] I o Represents the I / O operation factor, which is estimated based on the number of I / O operations generated during the query process.

[0144] PMC stands for Predictive Model Execution Cost Factor, which is a machine learning model trained based on historical query run times, resource consumption (such as CPU and memory usage), and query characteristics (for example, query size, number of tables involved, index types, etc.). The output of PMC is an estimate of the expected cost and time of the current query plan.

[0145] Description of the process of obtaining and calculating each factor of the formula:

[0146] Query weight factor W q : Set query classification criteria, such as real-time, data volume, business impact, etc., and assign specific weights to each query based on its classification.

[0147] Data environment efficiency E d: Analyze the storage of data, including physical location, redundancy level, and access patterns. Evaluate the efficiency of data management strategies, such as sharding and distributed query capabilities

[0148] Time performance ratio T p : Maintain a query performance benchmark table to record the expected response time of standard queries. Record the actual response time of each query in real time. Calculate T p It is the ratio of actual response time to the expected baseline.

[0149] Query response time Q t : Use database monitoring tools or middleware to record the execution time of each query.

[0150] System load rate L: Track resource usage in real time through operating system and database monitoring tools. Calculate the average CPU and memory usage during query execution as the system load.

[0151] Hardware delay factor H l : Regularly perform performance tests on hardware devices to determine read and write rates and network latency. Correlate test results with resulting query execution times.

[0152] Query complexity C q : Analyze the structure of the query statement through the query parser. Quantitatively evaluate the complexity based on the type and number of operations in the statement.

[0153] Factor U for unindexed fields f : Collect information about fields that are not optimized by indexes from query execution plans. Score these fields based on their nature and quantity.

[0154] The size of the result set returned is S r : Monitor query results and record the number of rows or total amount of data returned.

[0155] I / O Operation Factor I o : By counting the number of disk reads and writes generated during the query process, a corresponding scoring model is established based on the system's I / O performance.

[0156] Predictive Model Execution Cost Factor (PMC): Collect historical query performance data for use as a training model. Design and train a machine learning model to predict the cost of query execution. Use the model to predict the PMC value for new query requests. With this introduction, the database is able to predict the resource consumption and time cost of each query plan, thereby providing more refined query optimization decisions.

[0157] Assuming that there is a query request involving multiple tables and complex join operations, calculating the query can help database administrators choose the most appropriate resource allocation plan, such as selecting a query plan with lower estimated resource consumption or scheduling queries to avoid peak hours, ensuring balanced and efficient system operation.

[0158] It should also be noted that, based on any of the above embodiments, the corresponding connection relationship and signal transmission relationship between the modules in the localized database system include:

[0159] Database module and data processing module: The database module is the core of data storage and retrieval, and it is directly connected to the data processing module. The data processing module is responsible for preprocessing and analyzing the real-time data stream and storing the processing results back to the database module. In addition, the data processing module can also issue query requests to the database module to retrieve the required historical data. This two-way signal transmission relationship ensures efficient management and execution of data flows.

[0160] Data Processing Module and Control Module: The data processing module transmits feedback from its monitoring and anomaly detection to the control module. The control module performs security measures such as access control, alarm triggering, or operation auditing based on these feedbacks. In addition, the control module also manages the permissions and security configuration of the data processing module.

[0161] Database module and control module: The control module has the function of configuring and monitoring the database module. It can audit the operation of the database module, monitor data access behavior, and lock the database or perform other necessary security operations when a security incident is detected.

[0162] Control module and system interface module: The system interface module serves as a bridge between the external system and the MES database system, and its security policies are all formulated by the control module. The control module authenticates and authorizes the system interface module to ensure that all data transmission through the interface complies with security standards.

[0163] System interface module and database module: The API provided by the system interface module allows the query and update of data in the database module in a secure manner. All database requests initiated by the external system through the system interface module must be processed by the database module.

[0164] System interface module and data processing module: The external system can use the API provided by the system interface module to trigger the data flow processing and analysis of the data processing module. At this time, the data processing module can receive signals for real-time analysis or respond to external requests.

[0165] The position relationship of the database query processing module: The database query processing module runs through the entire system and is closely related to the database module. At the same time, it is also controlled by the access strategy of the control module. This module can receive query requests from the system interface, intelligently optimize the query efficiency, and assign them to the database module for processing.

[0166] To summarize the above description, we can see a hierarchical structure in which data flows along a specific path, and each module communicates with each other through defined interfaces and protocols, while operating under the unified security policy of the control module. While maintaining independence, each module must also coordinate and cooperate to ensure the smooth operation and information security of the entire system. This structural relationship and transmission path will be clearly shown in the block diagram.

[0167] The above is a detailed introduction to a domestic database system supporting aerospace discrete manufacturing MES system provided by an embodiment of the present application. This article uses specific examples to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for technical personnel in this field, according to the ideas of the present application, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. A localized database system supporting aerospace discrete manufacturing MES system, characterized in that: include: Database module, data processing module, system interface module and control module, each module adopts modular design and realizes interconnection through standardized interfaces; Among them, the database module is based on domestic database software and optimized to support aerospace manufacturing data; The data processing module provides real-time data stream processing and supports data aggregation and analysis; the system interface module provides an extensible API in accordance with national standards, and the control module implements data security and access control strategies.

2. The localized database system supporting the aerospace discrete manufacturing MES system according to claim 1 is characterized in that: The database module adopts optimized storage strategies including data sharding technology to improve data writing and reading speeds.

3. The localized database system supporting the aerospace discrete manufacturing MES system according to claim 1 is characterized in that: The data processing module includes middleware for preprocessing received data streams, which can reduce database load and support real-time data monitoring and event-triggered processing.

4. The localized database system supporting the aerospace discrete manufacturing MES system according to claim 1 is characterized in that: The system interface module achieves seamless connection with other information systems of aerospace enterprises by defining standardized data exchange formats and protocols.

5. The localized database system supporting the aerospace discrete manufacturing MES system according to claim 1 is characterized in that: The control module includes multiple backup and fault tolerance mechanisms to ensure the persistence and integrity of data under various abnormal circumstances.

6. The localized database system supporting the aerospace discrete manufacturing MES system according to claim 3 is characterized in that: The data processing module also includes a prediction analysis unit for performing prediction analysis of the production process based on historical data and current data streams, thereby optimizing the real-time scheduling of the production line.

7. The localized database system supporting the aerospace discrete manufacturing MES system according to claim 1 is characterized in that: The localized database system also includes a database query processing module, which is signal-connected to the database module and is configured to receive a query request and execute a database query.

8. The localized database system supporting the aerospace discrete manufacturing MES system according to claim 7 is characterized in that: The database query processing module includes: SQL parser, used to convert query statements from text form into internal data structures that the database can understand and operate; The query optimizer is responsible for considering multiple possible query execution strategies and selecting the optimal query plan by estimating the costs of these strategies; The query execution engine manages the actual execution of queries and calls services of other modules in the database system according to the plan selected by the query optimizer; Storage manager, which manages how database data is stored on disk and in memory, and optimizes data access speed; Transaction management and concurrency control ensure that multiple query and update requests in the database system can be executed efficiently and safely at the same time.

9. The localized database system supporting the aerospace discrete manufacturing MES system according to claim 7 is characterized in that: The database query processing module is preset with a database query efficiency formula for evaluating the execution efficiency of the domestic database system for different data queries.

10. The localized database system supporting the aerospace discrete manufacturing MES system according to claim 9 is characterized in that: The database query efficiency formula is:

Citation Information

Patent Citations

  • Data migration method and system

    CN109635024A

  • Data interaction system for archive management

    CN117827743A

  • Hydraulic engineering construction management integrated system based on multi-source data analysis

    CN118071297A

Cited By

  • Document data processing method and device based on DuckDB database

    CN119025556A

  • Power grid data interaction and auditing method based on multi-source heterogeneous distributed data

    CN120046200A