Data storage method and device of digital twin equipment management system

By using a variety of databases (relational, time series, graph, object and cache database) to store different types of data in the digital twin equipment management system, the problem of traditional storage solutions being unable to meet high concurrency and high real-time requirements is solved, and the High-performance, scalable and secure data storage solutions.

CN118626489APending Publication Date: 2024-09-10CHINA RAILWAY FIRST SURVEY & DESIGN INST GRP

Patent Information

Application Number
CN202410763231.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-13
Publication Date
2024-09-10

AI Technical Summary

Technical Problem

Traditional data storage solutions cannot meet the storage and processing needs of digital twin equipment management systems for large amounts of high-real-time data. In particular, they have poor performance when processing complex relational data and cannot meet the requirements of high throughput and low latency.

Method used

A variety of databases are used for data storage, including relational databases, time series databases, graph databases, object storage, distributed cache databases, and message middleware to store business relationship data, IoT data, knowledge engineering data, file data, and cache data. and message flow data, classified and tagged according to data type and source, and read and queried through appropriate query languages ​​and interfaces.

Benefits of technology

It improves data reading and writing speed and processing performance, meets the high concurrency and high real-time requirements of the digital twin equipment management system, ensures data consistency, security and scalability, and supports diverse data query and analysis functions. .

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118626489A
    Figure CN118626489A
Patent Text Reader

Abstract

The invention discloses a data storage method and device for a digital twin equipment management system. The method comprises the following steps: acquiring collected original data; classifying and processing the original data; different types of data are stored by using different databases, and the method comprises the following steps of: for business relation data, storing by using a relational database; storing the Internet of Things data by using a time sequence database; storing knowledge engineering data by using a graph database; storing the file data by using object storage; the cache data is stored by using a distributed cache database; and storing the message flow data by using the message middleware. According to the method, multiple databases are adopted for data storage, appropriate databases are selected according to different types of data, the advantages and characteristics of all the databases are brought into full play, the read-write speed and the processing performance of the data are improved, and the requirements of the digital twin equipment management system for high concurrency and high real-time performance in the aspect of data storage are met.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of digital twin equipment management, and in particular to a data storage method and device for a digital twin equipment management system. Background Art

[0002] The digital twin equipment management system is a technical solution based on the Internet of Things and data analysis, which is used to achieve real-time monitoring, management and optimization of equipment. With the development of industrial intelligence, equipment is becoming increasingly complex, and it is essential to effectively monitor and manage its status and performance.

[0003] The digital twin equipment management system has the complexity of equipment and the importance of real-time monitoring and management. The complexity of equipment is reflected in the various sensors, controllers, actuators and other components it contains, as well as the complex relationships and interactions between them. Real-time monitoring and management of equipment can promptly detect potential problems, predict equipment failures and optimize equipment performance, thereby improving production efficiency and reducing maintenance costs.

[0004] However, traditional data storage solutions often cannot meet the huge and real-time data processing requirements generated by equipment. Relational databases perform poorly when processing large amounts of time series data and cannot meet the requirements of high throughput and low latency. For knowledge engineering data with complex relationships, traditional relational databases find it difficult to intuitively express the complex relationships between entities. Therefore, the data storage solutions under the existing technology cannot simultaneously meet the requirements of the digital twin equipment management system for large-scale, high-real-time data storage and processing, and it is necessary to improve them.

[0005] In short, the digital twin equipment management system covers the complexity of equipment and the importance of real-time monitoring and management, while the traditional data storage solutions of the prior art have obvious limitations when facing large amounts of high-real-time data. In order to overcome these problems, the present invention proposes a technical solution for using multiple databases for data storage to meet the storage and processing requirements of the digital twin equipment management system for large amounts of high-real-time data. Summary of the invention

[0006] The present application provides a data storage method and device for a digital twin equipment management system to solve the problem that traditional data storage solutions cannot meet the high concurrency and high real-time requirements of the digital twin equipment management system in terms of data storage.

[0007] According to the first aspect, an embodiment provides a data storage method for a digital twin equipment management system, the method comprising:

[0008] Obtain the collected raw data;

[0009] Classifying and processing the raw data;

[0010] Different types of data are stored in different databases, including:

[0011] For business relationship data, use a relational database to store it;

[0012] For IoT data, use a time series database to store it;

[0013] For knowledge engineering data, use graph database for storage;

[0014] For file data, use object storage for storage;

[0015] For cached data, a distributed cache database is used for storage;

[0016] For message flow data, use message middleware for storage.

[0017] Furthermore, the collected raw data is obtained, including:

[0018] Collect real-time data from various equipment and sensors, including device status, sensor data, and operation records; obtain collected data by using preset communication protocols and interfaces.

[0019] Furthermore, the raw data is classified and processed, specifically including:

[0020] Classify and label the data according to its type and source;

[0021] According to pre-set rules and algorithms, the data is processed and cleaned to remove invalid data and noise.

[0022] Furthermore, the data is classified and labeled according to its type and source, including:

[0023] Use data type judgment algorithm to analyze and judge the received data;

[0024] According to the characteristics, structure and format of the data, data types are identified and classified using technical means including data pattern matching, regular expressions and machine learning.

[0025] Furthermore, different types of data are stored in different databases, including:

[0026] The business relationship data is business data related to equipment management, including equipment information, maintenance records, and fault reports; the relational database includes MySQL;

[0027] The IoT data includes sensor data and real-time monitoring data; the time series database includes Tdengi ne;

[0028] The knowledge engineering data includes knowledge graph data and related relationship data; the graph database includes Neo4j;

[0029] The file data includes unstructured data of documents, pictures, and videos; the object storage includes MiniO;

[0030] The distributed cache database includes Redis; the message middleware includes Kafka.

[0031] Furthermore, the method further comprises:

[0032] According to business needs, read and query the required data from different storage databases.

[0033] Furthermore, according to business needs, the required data is read and queried from different storage databases, including:

[0034] Use SQL query language to retrieve business relationship data from relational databases;

[0035] Use time series query language to query IoT data from time series database;

[0036] Use graph query languages ​​to query knowledge engineering data from graph databases;

[0037] Read and download file data through the API interface provided by object storage;

[0038] Use the read interface provided by the cache database to obtain cache data;

[0039] Use the subscription and consumption functions provided by the message middleware to read real-time message stream data.

[0040] According to the second aspect, an embodiment provides a data storage device for a digital twin equipment management system, the device comprising:

[0041] A data acquisition module is used to acquire the collected raw data;

[0042] A data processing module, used for classifying and processing the raw data;

[0043] The data storage module is used to store different types of data using different databases, including:

[0044] For business relationship data, use a relational database to store it;

[0045] For IoT data, use a time series database to store it;

[0046] For knowledge engineering data, use graph database for storage;

[0047] For file data, use object storage for storage;

[0048] For cached data, a distributed cache database is used for storage;

[0049] For message stream data, use message middleware for storage;

[0050] The data reading module is used to read and query the required data from different storage databases according to business needs.

[0051] According to the third aspect, an embodiment provides an electronic device, the device comprising: a processor and a memory;

[0052] The memory is used to store one or more program instructions;

[0053] The processor is used to run one or more program instructions to execute the steps of a data storage method for a digital twin equipment management system as described in any of the above items.

[0054] According to the fourth aspect, an embodiment provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of a data storage method for a digital twin equipment management system as described in any one of the above items are implemented.

[0055] The present application provides a data storage method and device for a digital twin equipment management system, which obtains collected raw data; classifies and processes the raw data; and uses different databases to store different types of data, including: for business relationship data, using a relational database for storage; for IoT data, using a time series database for storage; for knowledge engineering data, using a graph database for storage; for file data, using object storage for storage; for cache data, using a distributed cache database for storage; for message stream data, using message middleware for storage. The present invention uses multiple databases for data storage, and selects appropriate databases for different types of data to give full play to the advantages and characteristics of each database, improve the data reading and writing speed and processing performance, and meet the high concurrency and high real-time requirements of the digital twin equipment management system in data storage. BRIEF DESCRIPTION OF THE DRAWINGS

[0056] Figure 1 A flowchart of a data storage method for a digital twin equipment management system provided by one embodiment of the present invention;

[0057] Figure 2 A schematic diagram of a data storage method for a digital twin equipment management system provided by one embodiment of the present invention;

[0058] Figure 3 A schematic diagram of a data storage path in a data storage method of a digital twin equipment management system provided by an embodiment of the present invention;

[0059] Figure 4 An implementation architecture diagram of a data storage method for a digital twin equipment management system provided by one embodiment of the present invention;

[0060] Figure 5 A Tdeni core data storage path in a data storage method for a digital twin equipment management system provided by an embodiment of the present invention;

[0061] Figure 6 A schematic diagram of the logical structure of a data storage device of a digital twin equipment management system provided by one embodiment of the present invention. DETAILED DESCRIPTION

[0062] The present invention is further described in detail below by specific embodiments in conjunction with the accompanying drawings. Wherein similar elements in different embodiments adopt associated similar element numbers. In the following embodiments, many detailed descriptions are for making the present application better understood. However, those skilled in the art can easily recognize that some features can be omitted in different situations, or can be replaced by other elements, materials, methods. In some cases, some operations related to the present application are not shown or described in the specification, this is to avoid the core part of the present application being overwhelmed by too much description, and for those skilled in the art, it is not necessary to describe these related operations in detail, and they can fully understand the related operations according to the description in the specification and the general technical knowledge in the art.

[0063] In addition, the features, operations or characteristics described in the specification can be combined in any appropriate manner to form various implementations. At the same time, the steps or actions in the method description can also be interchanged or adjusted in a manner that is obvious to those skilled in the art. Therefore, the various sequences in the specification and the drawings are only for the purpose of clearly describing a certain embodiment and are not meant to be a required sequence, unless otherwise specified that a certain sequence must be followed.

[0064] The first embodiment of the present invention provides a data storage method for a digital twin equipment management system, which can judge according to the data type and select appropriate storage schemes and reading schemes to implement storage and reading operations that match the data type, thereby ensuring the correct storage and efficient reading of data and improving the performance and flexibility of the system. Figure 1 , Figure 2 , Figure 3 and Figure 4 Provide detailed explanation.

[0065] like Figure 1 As shown, in step S100, the collected original data is obtained.

[0066] In this embodiment, data collection and transmission:

[0067] Collect real-time data from various equipment and sensors, including equipment status, sensor data, operation records, etc. Use appropriate communication protocols and interfaces to transmit the collected data to the backend system.

[0068] like Figure 1 As shown, in step S200, the original data is classified and processed.

[0069] In this embodiment, data classification and processing:

[0070] The backend system classifies and labels the data according to its type and source for subsequent storage and reading operations.

[0071] According to pre-set rules and algorithms, the data is processed and cleaned to remove invalid data and noise.

[0072] Data type judgment:

[0073] In the background system, the data type judgment algorithm is used to analyze and judge the received data.

[0074] According to the characteristics, structure and format of the data, data types are identified and classified using technical means such as data pattern matching, regular expressions, and machine learning.

[0075] like Figure 1 As shown, in step S300, different types of data are stored using different databases, including:

[0076] For business relationship data, use a relational database to store it;

[0077] For IoT data, use a time series database to store it;

[0078] For knowledge engineering data, use graph database for storage;

[0079] For file data, use object storage for storage;

[0080] For cached data, a distributed cache database is used for storage;

[0081] For message flow data, use message middleware for storage.

[0082] Database selection and configuration: In response to the needs of the digital twin equipment management system, the present invention selects a variety of databases to store different types of data. Specifically, the business relationship data storage uses the relational database MySQL, the IoT data storage uses the time series database storage Tdeng ne, the knowledge engineering data storage uses the graph database storage Neo4j, the file data storage uses the object storage M in IO, the cache data storage uses the distributed cache database storage Redis, and the message stream data storage uses the message middleware storage Kafka.

[0083] Data storage path design: The present invention establishes different data storage paths for different data sources. The core data storage path is as follows: Figure 5 As shown in the figure, a database system with Tdengi ne time series database as the core is built. The system can achieve efficient storage and management of different types of data by cooperating with other databases.

[0084] In this embodiment, the data is stored:

[0085] Business relationship data storage: Business data related to equipment management is stored in the relational database MySQL, including equipment information, maintenance records, fault reports, etc.

[0086] IoT data storage: Store sensor data and real-time monitoring data in the time series database Tdengi ne to ensure high-throughput and low-latency data storage and query capabilities.

[0087] Knowledge engineering data storage: Store knowledge graph data and related relationships in the graph database Neo4j to achieve the expression and query of complex relationships.

[0088] File data storage: Store documents, pictures, videos and other file data in object storage Min IO to achieve storage and management of unstructured data.

[0089] Cache data storage: Store frequently used data and calculation results in the distributed cache database Redis to improve data access speed and system response performance.

[0090] Message stream data storage: Store real-time message stream data in the message middleware Kafka to support real-time data stream processing and distribution.

[0091] The implementation steps of the data storage solution of the present invention include:

[0092] Choose the appropriate database for storage according to different data types;

[0093] Configure and optimize each database to improve data read and write performance and storage efficiency;

[0094] Design reasonable data storage paths and data interaction methods to ensure timely data update and synchronization;

[0095] Back up and restore data to ensure data reliability and persistent storage;

[0096] Through the above technical solutions, the present invention can effectively solve the data storage problems of the digital twin equipment management system and provide a high-performance, scalable and secure data storage solution.

[0097] The data storage solution of the present invention has the following advantages:

[0098] High performance: Different types of databases can be used to optimize the characteristics of different data types, thereby improving data reading and writing speed and processing performance.

[0099] Data consistency: By properly configuring each database, you can ensure data consistency and integrity and avoid data conflicts and errors.

[0100] Data security: Ensure data security and privacy protection by reasonably setting database permissions and encryption measures.

[0101] Data scalability: The use of distributed databases and cache databases can achieve horizontal expansion and load balancing of the system to adapt to the growth of data scale and the needs of high concurrent access.

[0102] like Figure 1 As shown, in step S400, required data is read and queried from different storage databases according to business requirements.

[0103] In this embodiment, data reading and query:

[0104] According to different business needs, the backend system extracts the required data by querying the relevant database.

[0105] Use SQL query language to retrieve business relationship data from the relational database MySQL.

[0106] Use the time series query language to query IoT data from the time series database Tdengi ne.

[0107] Use graph query language to query knowledge engineering data from the graph database Neo4j.

[0108] Read and download file data through the API interface provided by object storage Mini IO.

[0109] Use the read interface provided by the cache database Redis to obtain cache data.

[0110] Use the subscription and consumption functions provided by the message middleware Kafka to read real-time message stream data.

[0111] Through the above process, the backend system can effectively store and read different types of data in the storage system, and realize the management and utilization of various data generated in the digital twin equipment management system of the rail transit system. This complex and special process can meet the system's high concurrency, high real-time and large-capacity data storage requirements, and support a variety of data query and analysis functions.

[0112] A data storage method for a digital twin equipment management system provided by an embodiment of the present invention has the following advantages compared to the closest prior art:

[0113] First, by using multiple databases for storage and optimizing for different data types, the present invention can improve the data reading and writing speed and processing performance;

[0114] Secondly, the combination of in-memory database and chassis database realizes the real-time and persistent storage of data, ensuring the security and reliability of data;

[0115] Finally, the memory database is used to store real-time and temporary data, and the chassis database is used to store large amounts of historical data to meet the needs of different data capacities.

[0116] To sum up, the technical solution of the present invention can better meet the requirements of the digital twin equipment management system for data storage.

[0117] Corresponding to the data storage method of a digital twin equipment management system disclosed above, an embodiment of the present invention further discloses a data storage device of a digital twin equipment management system, such as Figure 6 As shown, it specifically includes:

[0118] A data acquisition module is used to acquire the collected raw data;

[0119] A data processing module, used for classifying and processing the raw data;

[0120] The data storage module is used to store different types of data using different databases, including:

[0121] For business relationship data, use a relational database to store it;

[0122] For IoT data, use a time series database to store it;

[0123] For knowledge engineering data, use graph database for storage;

[0124] For file data, use object storage for storage;

[0125] For cached data, a distributed cache database is used for storage;

[0126] For message stream data, use message middleware for storage;

[0127] The data reading module is used to read and query the required data from different storage databases according to business needs.

[0128] It should be noted that for the detailed description of the data storage device of a digital twin equipment management system provided in an embodiment of the present invention, reference can be made to the relevant description of the data storage method of a digital twin equipment management system provided in an embodiment of the present application, which will not be repeated here.

[0129] In addition, an embodiment of the present invention also provides an electronic device, comprising: a processor and a memory; the memory is used to store one or more program instructions; the processor is used to run one or more program instructions to execute the steps of a data storage method for a digital twin equipment management system as described in any of the above items.

[0130] It should be noted that for the detailed description of an electronic device provided in an embodiment of the present invention, reference can be made to the relevant description of a data storage method for a digital twin equipment management system provided in an embodiment of the present application, which will not be repeated here.

[0131] In addition, an embodiment of the present invention also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of a data storage method for a digital twin equipment management system as described in any of the above items are implemented.

[0132] It should be noted that for the detailed description of a computer-readable storage medium provided in an embodiment of the present invention, reference can be made to the relevant description of a data storage method for a digital twin equipment management system provided in an embodiment of the present application, which will not be repeated here.

[0133] Those skilled in the art will appreciate that all or part of the functions of the various methods in the above-mentioned embodiments can be implemented by hardware or by computer programs. When all or part of the functions in the above-mentioned embodiments are implemented by computer programs, the program can be stored in a computer-readable storage medium, and the storage medium can include: read-only memory, random access memory, disk, optical disk, hard disk, etc., and the program is executed by a computer to implement the above-mentioned functions. For example, the program is stored in the memory of the device, and when the program in the memory is executed by the processor, all or part of the above-mentioned functions can be implemented. In addition, when all or part of the functions in the above-mentioned embodiments are implemented by computer programs, the program can also be stored in a storage medium such as a server, another computer, disk, optical disk, flash disk or mobile hard disk, and can be downloaded or copied and saved in the memory of the local device, or the system of the local device is updated, and when the program in the memory is executed by the processor, all or part of the functions in the above-mentioned embodiments can be implemented.

[0134] The above specific examples are used to illustrate the present invention, which is only used to help understand the present invention and is not intended to limit the present invention. For those skilled in the art, according to the concept of the present invention, some simple deductions, modifications or substitutions can be made.

Claims

1. A data storage method for a digital twin equipment management system, characterized in that: The method comprises: Obtain the collected raw data; Classifying and processing the raw data; Different types of data are stored in different databases, including: For business relationship data, use a relational database to store it; For IoT data, use a time series database to store it; For knowledge engineering data, use graph database for storage; For file data, use object storage for storage; For cached data, a distributed cache database is used for storage; For message flow data, use message middleware for storage.

2. A data storage method for a digital twin equipment management system according to claim 1, characterized in that: Get the collected raw data, including: Collect real-time data from various equipment and sensors, including device status, sensor data, and operation records; obtain collected data by using preset communication protocols and interfaces.

3. A data storage method for a digital twin equipment management system according to claim 1, characterized in that: Classifying and processing the raw data, specifically including: Classify and label the data according to its type and source; According to pre-set rules and algorithms, the data is processed and cleaned to remove invalid data and noise.

4. A data storage method for a digital twin equipment management system according to claim 3, characterized in that: Classify and label the data according to its type and source, including: Use data type judgment algorithm to analyze and judge the received data; According to the characteristics, structure and format of the data, data types are identified and classified using technical means including data pattern matching, regular expressions and machine learning.

5. The data storage method of a digital twin equipment management system according to claim 1, characterized in that: Different types of data are stored in different databases, including: The business relationship data is business data related to equipment management, including equipment information, maintenance records, and fault reports; the relational database includes MySQL; The IoT data includes sensor data and real-time monitoring data; the time series database includes Tdengine; The knowledge engineering data includes knowledge graph data and related relationship data; the graph database includes Neo4j; The file data includes unstructured data of documents, pictures, and videos; the object storage includes MinIO; The distributed cache database includes Redis; the message middleware includes Kafka.

6. A data storage method for a digital twin equipment management system according to claim 1, characterized in that: The method further comprises: According to business needs, read and query the required data from different storage databases.

7. A data storage method for a digital twin equipment management system according to claim 6, characterized in that: According to business needs, read and query the required data from different storage databases, including: Use SQL query language to retrieve business relationship data from relational databases; Use time series query language to query IoT data from time series database; Use graph query languages ​​to query knowledge engineering data from graph databases; Read and download file data through the API interface provided by object storage; Use the read interface provided by the cache database to obtain cache data; Use the subscription and consumption functions provided by the message middleware to read real-time message stream data.

8. A data storage device for a digital twin equipment management system, characterized in that: The device comprises: A data acquisition module is used to acquire the collected raw data; A data processing module, used for classifying and processing the raw data; The data storage module is used to store different types of data using different databases, including: For business relationship data, use a relational database to store it; For IoT data, use a time series database to store it; For knowledge engineering data, use graph database for storage; For file data, use object storage for storage; For cached data, a distributed cache database is used for storage; For message stream data, use message middleware for storage; The data reading module is used to read and query the required data from different storage databases according to business needs.

9. An electronic device, characterized in that: The device comprises: a processor and a memory; The memory is used to store one or more program instructions; The processor is used to run one or more program instructions to execute the steps of a data storage method for a digital twin equipment management system as described in any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps of a data storage method for a digital twin equipment management system as described in any one of claims 1 to 7.

Citation Information

Patent Citations

  • Knowledge mining engine system based on graph database

    CN114969441A

  • Data collection method and device and digital twin platform

    CN115407970A

  • Information storage service system based on big data

    CN116166661A

  • IT system alarm data processing method and device based on knowledge graph

    CN118057327A

  • Digital twin processing method and digital twin system

    WO2023246347A1

Cited By

  • Mass data cleaning method for FDC

    CN120812089A