Real-time interaction device for virtual and real data of ship power system

By designing a real-time interactive device for virtual and real data in the ship's power system, using components such as user component end, server end, data management end, timing database and message middleware, the scalability, frequency and delay problems of virtual and real data interaction in virtual experiments are solved, efficient data interaction and storage management are achieved, and the effective implementation of virtual experiments is supported.

CN120215696APending Publication Date: 2025-06-27CHINA SHIP DEV & DESIGN CENT
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510240418.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-03
Publication Date
2025-06-27

Smart Images

  • Figure CN120215696A_ABST
    Figure CN120215696A_ABST
Patent Text Reader

Abstract

The invention discloses a real-time interaction device for virtual and real data of a ship power system, and relates to the technical field of virtual tests of the ship power system, a user component end analyzes the collected virtual and real data, converts the analyzed virtual and real data into a unified standard format for packaging, and completes data distribution through publishing and subscribing to message-oriented middleware; the data management end monitors the real-time data published in the message-oriented middleware so as to monitor and display various real-time data through the data management end; and the server monitors the real-time data published in the message middleware, performs virtual-real data fusion operation on the received physical data and simulation data to generate a virtual-real unified data source general table, publishes the virtual-real unified data source general table to the message middleware, and writes the virtual-real unified data source general table into the time sequence database in real time for persistent storage. According to the invention, efficient interaction and storage management of virtual and real data among objects such as a real object system, a simulation model and a situation awareness model of a ship power system can be realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of virtual testing for ship power systems, and particularly to a device for real-time interaction of virtual and real data of a ship power system. Background Art

[0002] As a typical multi-domain physical system, the ship power system involves multiple fields such as machinery, control, thermodynamics, and fluid. It is difficult to accurately and comprehensively grasp its operating characteristics through traditional physical tests, and the cost is high and the test cycle is long. With the rapid development and application of digital twin technology in the ship field, by means of key digital twin technologies such as precise simulation modeling and 3D visualization, when applied to the ship power system, it can realize the visual expression of all-element information in the physical space and the virtual space, and based on this, virtual tests can be carried out to study and verify the characteristics of various operating conditions of the system.

[0003] The virtual test of the ship power system mainly includes the online collaboration of objects such as the physical system, the simulation model, and the situation awareness model. The physical system generates test data in real time from the distributed control system (Data Communication Subsystem, DCS), and has the characteristics of a large number of test measurement points and a high data refresh frequency; the simulation model receives the input real-time data of the physical system, performs real-time simulation and generates simulation data; the situation awareness model simultaneously receives the real-time data of the physical system and the simulation model based on Unity and performs 3D visualization display.

[0004] For the ship power system, the physical system is a physical entity, and the simulation model and the situation awareness model are virtual entities. A large amount of test data, simulation data and other twin data are generated by the interaction between the physical system and the simulation model, and are transmitted to the situation awareness model in real time. The data interaction and management in the virtual experiment process have the following characteristics and requirements:

[0005] 1) Many data users and high scalability requirements

[0006] There are multiple data users in the virtual test, such as the physical system, the simulation model, and the situation awareness model. And as the virtual test process continues, there are also new extended user requirements for evaluating and correcting the generated virtual and real data;

[0007] 2) High frequency and low latency

[0008] The test data of the power system physical test comes from various sensors such as temperature, pressure, flow rate, and liquid level of each subsystem. The measurement point sampling frequency is high, and the generated data is quickly refreshed in a short time. At the same time, to ensure the accuracy of the simulation model, the simulation model must run synchronously with the physical system and collaborate online, with low latency data interaction requirements;

[0009] 3) The data has timeliness

[0010] The data generated by the physical system and simulation model of the power system are a series of structured time-series data with timestamps generated over time.

[0011] 4) Large data scale

[0012] Under the conditions of high data refresh frequency and decades of operation and storage, the virtual test process will generate a large amount of virtual and real data, with high requirements for data storage and management.

[0013] Based on the characteristics and requirements of data interaction and storage in the virtual test process of the ship power system described above, there is an urgent need to construct a real-time interaction method for virtual and real data of the ship power system to support the effective development of virtual tests, and to achieve efficient interaction, storage and management of virtual and real data among objects such as the physical system, simulation model, and situation awareness model of the ship power system. Summary of the Invention

[0014] An embodiment of the present invention provides a real-time interaction device for virtual and real data of a ship power system, which can achieve efficient interaction, storage and management of virtual and real data among objects such as the physical system, simulation model, and situation awareness model of the ship power system.

[0015] In a first aspect, the present invention provides a real-time interaction device for virtual and real data of a ship power system, including: a user component end, a server end, a data management end, a time-series database, and a message middleware;

[0016] Among them, the physical system, simulation model, and situation awareness model are respectively based on Modbus, OPC UA, and TCP communication protocols, and the physical data and simulation data are sent and received through the user component end;

[0017] The user component end parses the collected virtual and real data and converts it into a unified standard format for packaging, and completes data distribution through publishing and subscribing to the message middleware;

[0018] The data management end acts as a consumer of the message queue, listens to the real-time data published in the message middleware, and monitors and displays various real-time data through the data management end;

[0019] The server end acts as a consumer of the message queue, listens to the real-time data published in the message middleware, performs virtual and real data fusion operations on the received physical data and simulation data, generates a general table of unified virtual and real data sources, publishes it to the message middleware, so that data users of the physical system, simulation model, and situation awareness model can subscribe to the data, and at the same time writes the general table of unified virtual and real data sources into the time-series database for persistent storage.

[0020] In some instances, the user component side is equipped with communication interface settings, data parsing and packaging, real-time data display, and data communication service functions. It adopts a one-to-one mode with data users and is deployed on each data user terminal. It supports various communication protocols including TCP, Modbus, and OPC UA, and is set according to the IP, port, and communication protocol of the data user. It can access new extended users, has good scalability, directly interacts with data users through a real-time communication interface, parses the data obtained from data users and packages it for publication to the message middleware, conducts data communication with other components and users, and has a visual interface for real-time data display of the current user component side.

[0021] In some instances, the message middleware is deployed on the server side, which can achieve the purposes of application decoupling, asynchronous communication, and traffic peak shaving. The user component side, the server side, and the data management side publish and subscribe to data through the message middleware to implement data transmission in the message publish-subscribe mode, and at the same time provide cache message persistence to ensure the reliability of communication data.

[0022] In some instances, the server side is equipped with virtual-real data fusion, data storage, data query, and data communication service functions. It provides functions of virtual-real data fusion, data writing, storage, and query to the time series database. It subscribes to the real-time data published by all data users in the message middleware in real time, conducts virtual-real data fusion operations, generates a general table of virtual-real unified data sources, publishes it to the message middleware for consumption by other data users, and at the same time writes the general table of virtual-real unified data sources into the time series database for persistent storage and directly queries the data in the time series database.

[0023] In some instances, the time series database, as the carrier of time series data persistence, receives the general table of virtual-real unified data sources written by the server side for persistent storage, and at the same time supports the server side to query and obtain historical data, as well as the data management personnel to query historical data at the data management side.

[0024] In some instances, the data management side is equipped with data user definition, historical data simulation, real-time data simulation, and data visualization functions. It is deployed on the terminal of the data administrator and has an interactive interface. It can directly manage the access rights of all data users and data input / output tables through the definition of data users, subscribe to the real-time data of each data user through the message middleware, and directly query historical data through the time series database, realizing the query and visual display of the real-time data and historical data of all data users. At the same time, it has a function of simulating and sending real-time data of data users with historical data.

[0025] Generally speaking, compared with the prior art through the above technical solutions conceived by the present invention, the following beneficial effects can be achieved:

[0026] The present invention enables real-time interaction between virtual and physical data of a ship power system, which can guide the development of a real-time interaction and management platform for virtual and physical data during the virtual test of the ship power system, realizing high-frequency, low-latency, and large-scale virtual real-time sequence data interaction and storage management among objects such as physical systems, simulation models, and situation awareness models. At the same time, it has good scalability and can effectively support the implementation of virtual tests for ship power systems. Brief Description of the Drawings

[0027] To more clearly illustrate the technical solutions in the embodiments of the present invention, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, the drawings in the following description are only some embodiments of the present invention. For those skilled in the art, without creative efforts, other drawings can be obtained based on these drawings.

[0028] Figure 1 It is a schematic diagram of the real-time interaction and management architecture of virtual and physical data of the ship power system provided by an embodiment of the present invention;

[0029] Figure 2 It is a flow chart of virtual and physical data in the virtual test process of the ship power system provided by an embodiment of the present invention. Detailed Embodiments

[0030] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the drawings in the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, rather than all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative efforts belong to the scope of protection of the present invention.

[0031] In the following description, specific embodiments of the present invention will be described with reference to steps and symbols executed by one or more computers, unless otherwise specified. Therefore, these steps and operations will be mentioned several times as being executed by a computer. As used herein, computer execution includes operations of a computer processing unit that represents electronic signals in a structured form of data. This operation transforms the data or maintains its position in the computer's memory system, which can be reconfigured or otherwise changed in a manner well known to those skilled in the art to change the operation of the computer. The data structure maintained by the data is the physical location of the memory, which has specific characteristics defined by the data format. However, the principles of the present invention are described in the above text, which does not represent a limitation. Those skilled in the art will understand that the following various steps and operations can also be implemented in hardware.

[0032] As used herein, the terms "module" or "unit" can be regarded as software objects executed on the computing system. Different components, modules, engines, and services herein can be regarded as implementation objects on the computing system. The devices and methods herein are preferably implemented in software, but can also be implemented in hardware, all within the scope of protection of the present invention.

[0033] Those skilled in the art of the present technology can understand that, unless specifically stated otherwise, the singular forms "a", "an", and "the" used herein may also include the plural forms. It should be further understood that the term "comprising" used in the specification of the present invention means the presence of features, integers, steps, operations, elements, and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and / or their groups. It should be understood that when we say an element is "connected" or "coupled" to another element, it can be directly connected or coupled to other elements, or there may also be intermediate elements. In addition, the "connection" or "coupling" used herein may include wireless connection or wireless coupling. The phrase "and / or" used herein includes all or any unit and all combinations of one or more of the associated listed items.

[0034] For the requirements and characteristics of the virtual test of the ship power system, such as a large number of data users, high scalability requirements, high frequency, low latency, and large scale for the virtual-real data interaction, the following problems need to be solved:

[0035] 1) Support various mainstream Internet communication protocols and industrial communication protocols, and have good scalability for multiple data users;

[0036] 2) Meet the requirements of high-frequency and low-latency interaction of virtual-real data among the physical system, simulation model, and situation awareness model of the power system;

[0037] 3) Implement efficient compression and persistent storage of virtual-real data generated during the virtual test of the power system.

[0038] Such as Figure 1 For the real-time interaction and management architecture of virtual-real data of the ship power system, this architecture mainly includes five parts: user component end, server end, data management end, time series database, and message middleware:

[0039] (1) User component side: It has functions such as communication interface setting, data parsing and packaging, real-time data display, and data communication service. It adopts a one-to-one mode with data users and is deployed on each data user terminal. It supports various communication protocols such as TCP, Modbus, and OPCUA. It is set according to information such as the IP, port, and communication protocol of data users, can quickly access newly added and extended users, and has good scalability. It directly interacts with data users through a real-time communication interface, parses the data obtained from data users and packages it for publication to the message middleware, conducts data communication with other components and users, and has a visual interface for displaying the real-time data of the current user component side;

[0040] (2) Message middleware: To meet the real-time data transmission requirements of high frequency and low latency, improve the throughput and concurrent performance of the system's time-series data, avoid blocking and performance bottlenecks caused by synchronous data calls, and ensure the real-time nature of data interaction, a message middleware is set and deployed on the server side, which can achieve the purposes of application decoupling, asynchronous communication, and traffic peak shaving. The user component side, server side, and data management side publish and subscribe to data through the message middleware to achieve efficient data transmission in the message publish-subscribe mode. At the same time, it provides cache message persistence to ensure the reliability of communication data;

[0041] (3) Server side: It has functions such as virtual-real data fusion, data storage, data query, and data communication service. To ensure the authority and unity of virtual-real data, a server side is set to provide functions for virtual-real data fusion, writing, storing, and querying data in the time-series database. The server side subscribes to the real-time data published by all data users in the message middleware in real time, conducts virtual-real data fusion operations, generates a general table of the unified virtual-real data source, publishes it to the message middleware for consumption by other data users. At the same time, the server side writes the general table of the unified virtual-real data source into the time-series data for persistent storage, and can directly query the data in the time-series database;

[0042] (4) Time-series database: To meet the efficient writing and storage of large-scale time-series data and at the same time provide good query functions, a time-series database is set as the carrier for persistent storage of time-series data. The time-series database receives the general table of the unified virtual-real data source written by the server side for persistent storage, and at the same time supports the server side to query and obtain historical data, as well as data managers to query historical data at the data management side.

[0043] (5) Data management terminal: It has functions such as data user definition, historical data simulation, real-time data simulation, and data visualization. The data management terminal is deployed on the data administrator's terminal and has a good interaction interface. It can directly manage the access rights of all data users and data input / output tables through the definition of data users. The data management terminal subscribes to the real-time data of each data user through the message middleware and directly queries historical data through the time series database, realizing the query and visual display of the real-time data and historical data of all data users. At the same time, it has the function of simulating and sending real-time data of data users with historical data as the data.

[0044] Such as Figure 2 As shown in the virtual-real data flow diagram of the virtual test process of the ship power system, based on the virtual-real data real-time interaction and management architecture method of the ship power system, data interaction between the physical system, simulation model, and situation awareness model can be realized:

[0045] (1) The physical system, simulation model, and situation awareness model are respectively based on communication protocols such as Modbus, OPC UA, and TCP, and realize the sending and receiving of physical data and simulation data through the user component end;

[0046] (2) The user component end parses the collected virtual-real data and converts it into a unified standard format for packaging, and completes data distribution through the publication and subscription of the message middleware;

[0047] (3) The data management terminal, as a consumer of the message queue, listens to the real-time data published in the message middleware, and the data administrator monitors and displays various real-time data through the data management terminal;

[0048] (4) The server, as a consumer of the message queue, listens to the real-time data published in the message middleware, performs virtual-real data fusion operations on the received physical data and simulation data, generates a general table of virtual-real unified data sources, publishes it to the message middleware, and subscribes to the data by data users such as the physical system, simulation model, and situation awareness model. At the same time, the server writes the general table of virtual-real unified data sources into the time series data for persistent storage in real time.

[0049] Through the above technical solutions in the embodiments of the present invention:

[0050] 1) Aiming at the characteristics and requirements of data users for virtual-real data interaction in the virtual test of the ship power system, a C / S architecture is designed. From bottom to top, the virtual-real data real-time interaction and management architecture consists of a user component end, a server, and a data management terminal, with good scalability;

[0051] 2) For the requirements of high-frequency and low-latency data transmission, in the face of the high-load scenario of large-scale high-frequency data transmission, the message middleware technology and the publish-subscribe message queue mode are adopted to achieve asynchronous communication of data, application decoupling, and traffic peak shaving.

[0052] 3) For the characteristics of virtual test data, such as strong structured timeliness, mainly write data, large data scale, and long persistent storage time, a time-series database is used for reading, writing, and storage management.

[0053] The above has introduced in detail a real-time interaction device for virtual and real data of a ship power system provided by an embodiment of the present invention. Specific examples are used in this article to elaborate on the principle and implementation manner of the present invention. The description of the above embodiments is only used to help understand the method and its core idea of the present invention; at the same time, for those skilled in the art, according to the idea of the present invention, there will be changes in the specific implementation manner and application scope. In summary, the content of this specification should not be construed as a limitation of the present invention.

Claims

1. A real-time interactive device for virtual and real data of a ship power system, characterized in that: include: User component side, server side, data management side, time series database and message middleware; The user component end parses the collected virtual and real data and converts them into a unified standard format for packaging, and completes data distribution through publishing and subscribing to the message middleware; The data management terminal, as a consumer of the message queue, monitors the real-time data published in the message middleware, so as to monitor and display various types of real-time data through the data management terminal; As a consumer of the message queue, the server listens to the real-time data published on the message middleware, and performs virtual-real data fusion operations on the received physical data and simulation data, generates a virtual-real unified data source summary table, and publishes it to the message middleware so that data users of the physical system, simulation model, and situation awareness model can subscribe to the data. At the same time, the virtual-real unified data source summary table is written into the time series database in real time for persistent storage.

2. The device according to claim 1, characterized in that The user component end has the functions of communication interface setting, data analysis and packaging, real-time data display and data communication service. It adopts a one-to-one mode with data users and is deployed on each data user terminal. It supports various communication protocols including TCP, Modbus and OPC UA. It is set according to the IP, port and communication protocol of the data user, and accesses new extended users. It has good scalability, directly interacts with data users through the real-time communication interface, parses the data after obtaining the data user data, and packages and publishes it to the message middleware, communicates data with other components and users, and has a visual interface for real-time data display of the current user component end.

3. The device according to claim 2, characterized in that The message middleware is deployed on the server side, which can achieve the purpose of application decoupling, asynchronous communication and traffic peak shaving. The user component side, server side and data management side publish and subscribe to data through the message middleware, realize data transmission in the message publish-subscribe mode, and provide cache message persistence to ensure the reliability of communication data.

4. The device according to claim 3, characterized in that The server has the functions of virtual-real data fusion, data storage, data query and data communication, provides virtual-real data fusion, data writing, storage and query on the time series database, subscribes to the real-time data published by all data users in the message middleware in real time, performs virtual-real data fusion operations, generates a virtual-real unified data source summary table, publishes it to the message middleware for consumption by other data users, and writes the virtual-real unified data source summary table into the time series database for persistent storage, and directly queries the data in the time series database.

5. The device according to claim 4, characterized in that The time series database serves as a carrier for the persistence of time series data, receives the virtual and real unified data source master table written by the server, and performs persistent storage, while supporting the server to query and obtain historical data, as well as the data management personnel to query historical data at the data management end.

6. The device according to claim 5, characterized in that The data management end has data user definition, historical data simulation, real-time data simulation and data visualization functions, is deployed on the data administrator's terminal, has an interactive interface, can directly manage the access permissions and data input / output tables of all data users through the definition of data users, subscribe to the real-time data of each data user through the message middleware, and directly query historical data through the time series database, so as to realize the query and visualization of the real-time data and historical data of all data users, and at the same time has the function of simulating the sending of historical data as the real-time data of data users.