High real-time data communication method and device

Through the unified management of high-real-time communication middleware DDS and data plane, the data communication protocol compatibility problem between different functional modules is solved, high real-time and rapid integration are achieved, and the accuracy and stability of information transmission are improved.

CN120075322BActive Publication Date: 2025-08-26CHINESE PEOPLES LIBERATION ARMY UNIT 32802
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202411941829.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-12-26
Publication Date
2025-08-26
Estimated Expiration
2044-12-26

AI Technical Summary

Technical Problem

The data communication protocols between different functional modules are difficult to compatible, algorithm components cannot be quickly integrated, and data communication between different functional software is difficult to meet the requirements of high real-time.

Method used

It adopts high real-time communication middleware DDS, type identification and encoding processing is performed through channel modeling information, combined with unified management of data planes, data format conversion and encoding are realized, and plug-and-play and fast integration of different functional software.

Benefits of technology

It realizes data communication protocol compatibility between different functional modules, improves the accuracy and stability of information transmission, meets the requirements of high real-time, and supports plug-and-play and fast integration.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120075322B_ABST
    Figure CN120075322B_ABST
Patent Text Reader

Abstract

The present invention discloses a high-real-time data communication method and apparatus, the method comprising: obtaining data to be communicated; performing transmission processing on the data to be communicated to obtain received data; and performing data plane unified management processing on the received data to obtain unified standard data. The transmission processing of the data to be communicated to obtain received data comprises: performing format conversion processing on the data to be communicated using communication middleware to obtain unified format data; performing segmentation and encoding processing on the unified format data using a soft communication bus to obtain encoded data; and transmitting the encoded data from a transmitting end to a receiving end, so that the receiving end obtains the received data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of communications, and in particular to a high-real-time data communication method and device. Background Art

[0002] Data communication is a communication method that emerged from the integration of communications and computer technologies. Data communication between different software is a crucial component of this method. Transmitting information between two locations relies on transmission channels, connecting data terminals to computers and enabling data terminals in different locations to share information resources, both software and hardware. With the rapid development of the information technology industry, the requirements for data communication speed and real-time performance are becoming increasingly stringent. To meet the data communication needs of different functional software, different data communication methods have emerged. Currently, data communication methods are diverse, involving communication architectures, high-speed buses, bus standards, and data communication interfaces. Communication architectures include multipoint-to-multipoint, point-to-multipoint, and point-to-point. High-speed buses include PCI, CPCI, PCI-E, VME, and quasi-buses. Bus standards include parallel and serial buses. Data communication interfaces include parallel and serial interfaces. Despite the increasing diversity of data communication methods, data communication between different functional modules faces challenges such as incompatible communication protocols and the inability to quickly integrate algorithm components. Furthermore, data communication between different functional software components struggles to meet high real-time requirements. Summary of the Invention

[0003] The present invention mainly solves the problem that data communication between different functional modules is also faced with the problem that different communication protocols are difficult to be compatible and algorithm components cannot be quickly integrated. At the same time, data communication between different functional software is also difficult to meet high real-time requirements. The present invention discloses a high real-time data communication method and device.

[0004] In a first aspect of an embodiment of the present application, a high-real-time data communication method is disclosed, comprising:

[0005] S1, obtain the data to be communicated;

[0006] S2, performing transmission processing on the data to be communicated to obtain received data;

[0007] S3, performing unified data plane management processing on the received data to obtain unified standard data.

[0008] The transmitting and processing the data to be communicated to obtain received data includes:

[0009] S21, using communication middleware to perform format conversion processing on the data to be communicated to obtain data in a unified format;

[0010] S22, using a soft communication bus to segment and encode the unified format data to obtain encoded data;

[0011] S23, transmitting the encoded data from the transmitting end to the receiving end, and the receiving end obtains the received data.

[0012] The communication middleware is one of the object access middleware CORBA, the message middleware MPI and the subscription publishing middleware DDS.

[0013] The method of using the soft communication bus to segment and encode the unified format data to obtain encoded data includes:

[0014] S221, using the channel modeling information, performing type identification processing on the transmission channel between the transmitting end and the receiving end to obtain channel type information;

[0015] S222, determining a corresponding channel coding model based on the channel type information;

[0016] S223: Utilize a channel coding model to encode the unified format data to obtain encoded data.

[0017] The method of using the channel modeling information to perform type identification processing on the transmission channel between the transmitting end and the receiving end to obtain channel type information includes:

[0018] The channel modeling information is sent from the transmitting end to the receiving end, and the receiving end obtains the receiving modeling information;

[0019] Perform difference type discrimination processing on the channel modeling information and the reception modeling information to obtain channel type information.

[0020] The performing difference type discrimination processing on the channel modeling information and the reception modeling information to obtain channel type information includes:

[0021] The sequence corresponding to the channel modeling information is represented as a1(i), i=1, 2, ..., A1, and the sequence corresponding to the reception modeling information is represented as a2(j), j=1, 2, ..., A1, where i and j represent the sequence number of the element in the sequence and A1 represents the sequence length;

[0022] Dividing the channel modeling information and the reception modeling information into N1 segments, respectively, to obtain corresponding N1 subsequences; numbering the subsequences of the channel modeling information and the reception modeling information according to the order of their appearance, respectively, to obtain sequence numbers of the subsequences;

[0023] A detection matrix is ​​constructed using all subsequences corresponding to the channel modeling information; a row vector of the detection matrix is ​​a subsequence corresponding to the channel modeling information;

[0024] A receiving matrix is ​​constructed using all subsequences corresponding to the receiving modeling information; a row vector of the receiving matrix is ​​a subsequence corresponding to the receiving modeling information;

[0025] Comparing the detection matrix and the reception matrix to obtain a difference quantization value;

[0026] The difference quantization value is discriminated and processed to obtain channel type information.

[0027] The comparing the detection matrix and the receiving matrix to obtain a difference quantization value includes:

[0028] Performing correlation calculation on the detection matrix and the receiving matrix to obtain a correlation vector;

[0029] The calculation expression of the association calculation is:

[0030]

[0031] Among them, A1 ij is the element in the i-th row and j-th column of the detection matrix A1, A2 ij is the element of the i-th row and j-th column of the receiving matrix A2, p i is the i-th element of the correlation vector, M1 and M2 are the row dimension and column dimension of the detection matrix respectively;

[0032] Perform normalized entropy calculation on the correlation vector to obtain a difference quantization value;

[0033] The normalized entropy value calculation process is calculated as follows:

[0034]

[0035] Among them, R is the difference quantification value.

[0036] The comparing the detection matrix and the receiving matrix to obtain a difference quantization value includes:

[0037] Subtracting the detection matrix and the reception matrix item by item and taking the absolute value to obtain a difference matrix;

[0038] Performing a first vector extraction process on the difference matrix to obtain a first vector;

[0039] performing a second vector extraction process on the difference matrix to obtain a second vector;

[0040] Performing difference quantization calculation processing on the first vector and the second vector to obtain a difference quantization value;

[0041] The expression of the first vector extraction process is:

[0042]

[0043] Among them, a + is the first vector, is the i-th element of the first vector, a ij is the element in the i-th row and j-th column of the difference matrix, and m and n are the row dimension and column dimension of the difference matrix respectively;

[0044] The expression of the second vector extraction process is:

[0045]

[0046] Among them, a - is the second vector, is the i-th element of the second vector,

[0047] The expression for the difference quantification calculation process is:

[0048]

[0049] Where R is the difference quantization value, ω i is the preset i-th importance weight.

[0050] The performing discrimination processing on the difference quantization value to obtain channel type information includes:

[0051] When the difference quantization value is greater than a first preset value, determining that the channel type information is a first channel model;

[0052] When the difference quantization value is less than or equal to a first preset value, it is determined that the channel type information is a second channel model.

[0053] According to a second aspect of an embodiment of the present invention, a high-real-time data communication device is disclosed, the device comprising:

[0054] a memory storing executable program code;

[0055] a processor coupled to the memory;

[0056] The processor calls the executable program code stored in the memory to execute the high real-time data communication method.

[0057] The beneficial effects of the present invention are:

[0058] The high-real-time data communication technology proposed in this invention is compatible with different communication protocols through middleware technology, performs security authentication and rights management on data, and facilitates plug-and-play and rapid integration of different functional software and modules;

[0059] The high-real-time data communication subscription and publishing middleware DDS proposed in this invention implements functional interfaces by providing C / C++ programming interfaces and the IDL interface standard language to applications. By establishing a standard communication middleware selection, architecture composition, and data interaction architecture, it provides efficient and universal communication functions, supports real-time monitoring of system communication status and data flow topology, and ensures the real-time performance of the system.

[0060] The channel type identification and processing algorithm proposed in the present invention can quickly and accurately classify channel types, and adopt corresponding coding strategies for transmission information based on the classification results, thereby improving the accuracy and stability of information transmission.

[0061] The present invention proposes unified management of the data plane in the high-real-time data communication technology, in which data standardization supports upper-layer applications to perform parsing based on data standards; the data integration management platform provides a unified access interface for upper-layer applications, and supports various applications to perform data management, security control and data sharing based on standard interfaces and data formats. BRIEF DESCRIPTION OF THE DRAWINGS

[0062] Figure 1 Flow chart for the implementation of the method of the present invention;

[0063] Figure 2 This is a schematic diagram of the composition of a high-real-time communication device proposed in Embodiment 3 of the present invention;

[0064] Figure 3 This is a block diagram of the composition of the real-time communication middleware of the device of the present invention. DETAILED DESCRIPTION

[0065] In order to better understand the content of the present invention, an embodiment is given here.

[0066] Figure 1 4 is an implementation flow chart of the method of the present invention.

[0067] In view of the current situation of using different protocols for communication at different stages and rapid integration of algorithm components, a high real-time communication technology is proposed to be compatible with different communication protocols, perform security authentication and authority management on data, and realize plug-and-play and rapid integration of software with different functions. The high real-time communication technology proposed in the present invention is realized by selecting three parts: high real-time communication middleware DDS, loosely coupled integration based on data, and unified management of data plane. Among them, (1) the subscription and publishing middleware DDS can meet the requirements of loose coupling, scalability, reconfigurability, and high reliability of hardware and software; (2) the loosely coupled integration technology approach based on data mainly includes soft bus communication mechanism and soft bus design, which realizes the decoupling of application software in terms of time and space; (3) the unified management of data plane includes data standardization and data management platform, among which data standardization defines the format standards of various types of data, including real-time data and non-real-time data, and supports upper-level applications to perform parsing based on data standards; the data integration management platform provides a unified access interface for upper-level applications, and supports various applications to perform data management, security control and data sharing based on standard interfaces and data formats.

[0068] In a first aspect of an embodiment of the present application, a high-real-time data communication method is disclosed, comprising:

[0069] S1, obtain the data to be communicated;

[0070] S2, performing transmission processing on the data to be communicated to obtain received data;

[0071] S3, performing unified data plane management processing on the received data to obtain unified standard data;

[0072] The transmitting and processing the data to be communicated to obtain received data includes:

[0073] S21, using communication middleware to perform format conversion processing on the data to be communicated to obtain data in a unified format;

[0074] S22, using a soft communication bus to segment and encode the unified format data to obtain encoded data;

[0075] S23, transmitting the encoded data from the transmitting end to the receiving end, and the receiving end obtains the received data;

[0076] The communication middleware is one of the object access middleware CORBA, the message middleware MPI and the subscription publishing middleware DDS;

[0077] The method of using the soft communication bus to segment and encode the unified format data to obtain encoded data includes:

[0078] S221, using the channel modeling information, performing type identification processing on the transmission channel between the transmitting end and the receiving end to obtain channel type information;

[0079] S222, determining a corresponding channel coding model based on the channel type information;

[0080] S223, using a channel coding model, encoding the unified format data to obtain encoded data;

[0081] The method of using the channel modeling information to perform type identification processing on the transmission channel between the transmitting end and the receiving end to obtain channel type information includes:

[0082] The channel modeling information is sent from the transmitting end to the receiving end, and the receiving end obtains the receiving modeling information;

[0083] Performing difference type discrimination processing on the channel modeling information and the receiving modeling information to obtain channel type information; the channel modeling information is pre-stored in the receiving end and is known to the receiving end;

[0084] The performing difference type discrimination processing on the channel modeling information and the reception modeling information to obtain channel type information includes:

[0085] The sequence corresponding to the channel modeling information is represented as a1(i), i=1, 2, ..., A1, and the sequence corresponding to the reception modeling information is represented as a2(j), j=1, 2, ..., A1, where i and j represent the sequence number of the element in the sequence and A1 represents the sequence length;

[0086] Dividing the channel modeling information and the reception modeling information into N1 segments, respectively, to obtain corresponding N1 subsequences; numbering the subsequences of the channel modeling information and the reception modeling information according to the order of their appearance, respectively, to obtain sequence numbers of the subsequences;

[0087] A detection matrix is ​​constructed using all subsequences corresponding to the channel modeling information; a row vector of the detection matrix is ​​a subsequence corresponding to the channel modeling information;

[0088] A receiving matrix is ​​constructed using all subsequences corresponding to the receiving modeling information; a row vector of the receiving matrix is ​​a subsequence corresponding to the receiving modeling information;

[0089] Comparing the detection matrix and the reception matrix to obtain a difference quantization value;

[0090] performing discrimination processing on the difference quantization value to obtain channel type information;

[0091] The comparing the detection matrix and the receiving matrix to obtain a difference quantization value includes:

[0092] Performing correlation calculation on the detection matrix and the receiving matrix to obtain a correlation vector;

[0093] The calculation expression of the association calculation is:

[0094]

[0095] Among them, A1 ij is the element in the i-th row and j-th column of the detection matrix A1, A2 ij is the element of the i-th row and j-th column of the receiving matrix A2, p i is the i-th element of the correlation vector, M1 and M2 are the row dimension and column dimension of the detection matrix respectively;

[0096] Perform normalized entropy calculation on the correlation vector to obtain a difference quantization value;

[0097] The normalized entropy value calculation process is calculated as follows:

[0098]

[0099] Among them, R is the difference quantification value.

[0100] The comparing the detection matrix and the receiving matrix to obtain a difference quantization value includes:

[0101] Subtracting the detection matrix and the reception matrix item by item and taking the absolute value to obtain a difference matrix;

[0102] Performing a first vector extraction process on the difference matrix to obtain a first vector;

[0103] performing a second vector extraction process on the difference matrix to obtain a second vector;

[0104] Performing difference quantization calculation processing on the first vector and the second vector to obtain a difference quantization value;

[0105] The expression of the first vector extraction process is:

[0106]

[0107] Among them, a + is the first vector, is the i-th element of the first vector, a ij is the element in the i-th row and j-th column of the difference matrix, and m and n are the row dimension and column dimension of the difference matrix respectively;

[0108] The expression of the second vector extraction process is:

[0109]

[0110] Among them, a - is the second vector, is the i-th element of the second vector,

[0111] The expression for the difference quantification calculation process is:

[0112]

[0113] Where R is the difference quantization value, ω i is the preset i-th importance weight.

[0114] The performing discrimination processing on the difference quantization value to obtain channel type information includes:

[0115] When the difference quantization value is greater than a first preset value, determining that the channel type information is a first channel model;

[0116] When the difference quantization value is less than or equal to a first preset value, it is determined that the channel type information is a second channel model.

[0117] The first preset value may be 1.5;

[0118] The value of N1 should ensure that A1 / N1 is an integer.

[0119] The channel modeling information includes the 1st subsequence to the N1th subsequence; the reception modeling information includes the 1st subsequence to the N1th subsequence.

[0120] The calculation expression of the first channel model is:

[0121]

[0122] Wherein, s(k) is the kth element of the signal sequence, NS is the length of the signal sequence, y1(z,x) is the element of the zth row and xth column of the matrix corresponding to the transformed data information obtained by the first channel model, p1() is the transformation function corresponding to the first channel model, p1(kT1-zT1) is the value of p1() at kT1-zT1, T1 and F1 are the time domain transform length and frequency domain transform length of the first channel model, respectively;

[0123] The calculation expression of the second channel model is:

[0124]

[0125] Among them, y2(z,x) is the element of the z-th row and x-th column of the matrix corresponding to the transformed data information obtained by the second channel model, p2() is the transformation function corresponding to the second channel model, p2(kT2-zT2) is the value of p2() at kT2-zT2, T2 and F2 are the time domain transformation length and frequency domain transformation length of the second channel model respectively; the ability of p1() to resist channel frequency offset is stronger than that of p2().

[0126] The format conversion process is to convert the data into a unified data format that can be recognized by the soft communication bus;

[0127] The data to be communicated is data that needs to be transmitted from the sending end to the receiving end;

[0128] The performing unified data plane management processing on the received data to obtain unified standard data includes:

[0129] Classify and organize data, classify data according to its subject information, and obtain data category information;

[0130] All data in the system are managed uniformly through themes, forming a distributed data theme directory, which supports users to subscribe to the data they need on demand;

[0131] Organize various data information interacting with the system and perform standardized design to obtain data standard information; the data standard information includes data naming specifications, data subject descriptions, data format descriptions, etc., and data analysis can be achieved based on standard specifications;

[0132] Utilize data standard information and data category information to construct unified standard data;

[0133] The performing unified data plane management processing on the received data to obtain unified standard data further includes:

[0134] Data registration: Based on data definition standards, data registration is completed on the data integration management platform, including data interface and data format. The registered data can provide data services externally;

[0135] Data management: unified management of all types of data in the situation system, including data subject editing, data format definition, data permission management, data addition, deletion, modification and query, etc.

[0136] Real-time data persistent storage: Select a data topic and store real-time data in a database or file system to achieve real-time data persistent storage.

[0137] According to a second aspect of an embodiment of the present invention, a high-real-time data communication device is disclosed, the device comprising:

[0138] a memory storing executable program code;

[0139] a processor coupled to the memory;

[0140] The processor calls the executable program code stored in the memory to execute the high real-time data communication method.

[0141] A third aspect of the embodiments of the present invention discloses a high real-time data communication device.

[0142] The high real-time communication device proposed in the present invention is realized through three parts: high real-time communication middleware, data-based loosely coupled integration module, and data plane unified management module; among them, the high real-time communication middleware can meet the requirements of loose coupling of software and hardware, scalability, reconfigurability, high reliability, etc.; the implementation of the data-based loosely coupled integration module mainly includes soft bus communication mechanism and soft bus design, which realizes the decoupling of application software in two aspects such as time and space; the data plane unified management module includes two parts: data standardization and data management platform, among which data standardization defines the format standards of various types of data, including real-time data and non-real-time data, and supports upper-level applications to perform parsing based on data standards; the data integration management platform provides a unified access interface for upper-level applications, and supports various applications to perform data management, security control and data sharing based on standard interfaces and data formats.

[0143] The schematic diagram of the composition of the high real-time communication device proposed in the third embodiment of the present invention is as follows: Figure 2 The block diagram of the real-time communication middleware of the device of the present invention is shown in FIG. Figure 3 shown.

[0144] The technical approach of high-real-time communication middleware mainly involves the selection of communication middleware standards, architecture composition, and data interaction, including:

[0145] Standard selection: Communication middleware shields the underlying hardware communication details, provides efficient and versatile communication capabilities, and supports real-time monitoring of system communication status, data flow topology, and other aspects. The communication middleware has low processing and bandwidth overhead, which does not affect the real-time performance of the system. Mainstream real-time communication middleware standards include: object access middleware CORBA, message middleware MPI, and subscription publishing middleware DDS. CORBA and MPI standards are characterized by physical location dependency and a central point architecture that is prone to single points of failure. Compared to CORBA and MPI, DDS is physically independent and has no central point, making it more capable of meeting the requirements for loose coupling, scalability, reconfigurability, and high reliability required for high-real-time communication.

[0146] Architecture composition: DDS high real-time communication middleware architecture consists of four layers, including operating system / communication protocol shielding layer, RTPS interconnection layer, publish-subscribe logic layer, and user interface layer. Figure 2 As shown, (1) the operating system / communication protocol shielding layer mainly completes the encapsulation of the hardware platform / operating system resources used by the DDS system and uniformly provides them to the upper layer for use, so that the upper layer can focus on the logical design of the publish-subscribe data model without worrying about the heterogeneity of operating system resources. (2) RTPS interoperability layer: mainly stipulates the mutual discovery behavior between entities to ensure that they can be interconnected with middleware implemented by different manufacturers, meeting the requirements of application independence from DDS middleware products of different manufacturers with the same standard. (3) The publish-subscribe logic layer uses the messages and message behaviors designed by the underlying RTPS to implement the publish-subscribe data model, define and implement the entities and their functions in the publish-subscribe data model. (4) The user interface layer implements the interfaces defined in the DDS specification. Applications use these development interfaces to create DDS entities, publish and subscribe data, and configure the publish-subscribe communication requirements through these interfaces. Provides C / C++ programming interfaces to applications, and provides IDL interface standard language to implement functional interfaces.

[0147] DDS data interaction: an application data interaction method that does not use the DDS real-time communication middleware. Since the application and hardware are coupled with each other, both communicating parties must know each other's physical location. For example, in the case of the network, they must know each other's IP and port number. The DDS real-time communication middleware organizes all data in the system by topic; publishers publish topic data that needs to be shared through data writers; subscribers subscribe to the topic data they are interested in through data readers; there is no need for the existence and location information of other applications, achieving spatial and temporal decoupling, such as Figure 3 Compared to traditional application data interaction methods, when using DDS real-time communication middleware for application data interaction, both parties can communicate as long as the topics match, without having to care about who the sender and subscriber are or where they are located.

[0148] The technical approach of loosely coupled integration modules based on data mainly includes soft bus communication mechanism, soft bus design, etc. Specifically, it includes:

[0149] 1. Soft bus communication mechanism, including the following:

[0150] Topic-based data communication: In a publish-subscribe communication system, the sender of topic data is called a publisher, and the receiver of topic data is called a subscriber. The basic principle of the publish-subscribe mechanism is that the sender sends the published topic to a topic management server. The topic management server stores the published topic in several queues and forwards the published topic data to the receiver when a subscriber with the topic accesses the system. Different data is distinguished by different topic names. The publisher publishes topic data of interest to other applications to the topic management server, and the subscriber receives the topic data of interest to them from the topic management server. The publisher and subscriber are connected through the topic management server.

[0151] Application Decoupling: Publish-subscribe communication enables communication between different platforms. It's often used to shield platform and protocol idiosyncrasies, enable inter-application collaboration, provide synchronous or asynchronous connectivity for application functions, support real-time data transfer or store-and-forward, and is suitable for loosely coupled interconnection between functional components. Publish-subscribe communication offers excellent flexibility and scalability, supporting proactive, real-time information delivery. When a publisher generates dynamically updated data, the topic management server proactively notifies the topic's subscribers of the availability of new data through event publishing, eliminating the need for subscribers to perform infrequent queries. The publish-subscribe mechanism is well-suited for applications requiring real-time, asynchronous, heterogeneous, dynamic, and loosely coupled data. It decouples applications in both time and space. Component publishers and subscribers do not need to be online simultaneously to transmit topic data. Store-and-forward provides this asynchronous transmission capability, achieving temporal decoupling. Component publishers and subscribers do not need to know each other's physical addresses, ports, or even their logical names or number. Data flow matching through topics achieves spatial decoupling.

[0152] 2.Soft bus design

[0153] A component integration soft bus design based on a publish-subscribe mechanism enables asynchronous, loosely coupled interconnection between components, supporting dynamic loading and plug-and-play. During system integration, soft bus technology tightly integrates independent components to form a complete function, supporting component data communication, scheduling control, and status monitoring. The soft bus design primarily includes a data soft bus, a control soft bus, and a monitoring soft bus.

[0154] Data Soft Bus: The data soft bus encapsulates communication methods such as SRIO, 10 Gigabit Ethernet, and shared memory, providing unified interface registration, read, and write services to the upper layer. The data soft bus provides a standard data transceiver interface, standardizing the encapsulation of communication methods such as 10 Gigabit Ethernet, shared memory, and SRIO, shielding underlying hardware details and enabling application components to adaptively transmit and receive data through the unified data soft bus interface. When two communicating components are within the same processor, shared memory is used for data communication. When two communicating components are on different processors or heterogeneous platforms, 10 Gigabit Ethernet or SRIO is used for data transmission and reception.

[0155] Control Soft Bus: This defines the communication protocol for control and scheduling commands. This includes commands issued by component management, such as component startup and shutdown, function library and configuration file updates, and update send and receive topics. It also provides feedback from functional components, such as component heartbeats and component status. The control soft bus provides control services such as component registration, startup and shutdown, and upgrades to the application layer. It also establishes a protocol for control information exchange between components and the management module, enabling dynamic loading and plug-and-play of components.

[0156] Monitoring Softbus: The monitoring softbus provides application software status monitoring and heartbeat feedback services. Application components send heartbeat information to the management module via the monitoring softbus, enabling real-time status acquisition and system monitoring of application software. The monitoring softbus defines a protocol for organizing debugging monitoring data, encompassing data flow monitoring, framework monitoring, component monitoring, and function monitoring. The softbus encapsulates inter-component data interaction protocols and data transmission methods, providing a standard softbus communication interface to the application layer. This decouples software from other software components and supports dynamic loading, plug-and-play, and upgrade replacement of different software functional components.

[0157] The unified data plane management module consists of two parts: a data standardization platform and a data management platform. The data standardization platform is used to define the format standards for various types of data, including real-time and non-real-time data, and supports upper-layer applications to parse data based on data standards. The data integration management platform provides a unified access interface for upper-layer applications, supporting various applications to perform data management, security control, and data sharing based on standard interfaces and data formats. Specifically, it includes:

[0158] 1. Data standardization defines data standards for various types of data. Users only need to use standard data subject tags, data formats, and data sending and receiving interfaces to obtain and use data on demand and achieve data sharing. This includes the following:

[0159] (1) Data classification organization: All data in the system are managed uniformly through themes, forming a distributed data theme directory to support users to subscribe to the data they need on demand;

[0160] (2) Data standardization: sort out various data information of system interactions and conduct standardized design, including data naming specifications, data subject descriptions, data format descriptions, etc. Data analysis can be achieved based on standard specifications.

[0161] 2. The data integration management platform encapsulates a unified data sharing interface and provides a visual data management interface for upper-layer applications, enabling unified data management and on-demand sharing. It includes the following:

[0162] (1) Data registration: Based on the data definition standards, data registration is completed on the data integration management platform, including data interface and data format. The registered data can provide data services to the outside world;

[0163] (2) Data management: unified management of all types of data in the situation system, including data subject editing, data format definition, data permission management, data addition, deletion, modification and query, etc.

[0164] (3) Real-time data persistent storage: Select a data topic and store the real-time data in a database or file system to achieve real-time data persistent storage.

[0165] The foregoing is merely an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present application should all be included within the scope of the claims of the present application.

Claims

1. A high real-time data communication method, characterized in that: include: S1, obtain the data to be communicated; S2, performing transmission processing on the data to be communicated to obtain received data; S3, performing unified data plane management processing on the received data to obtain unified standard data; The transmitting and processing the data to be communicated to obtain received data includes: S21, using communication middleware to perform format conversion processing on the data to be communicated to obtain data in a unified format; S22, using a soft communication bus to segment and encode the unified format data to obtain encoded data; S23, transmitting the encoded data from the transmitting end to the receiving end, and the receiving end obtains the received data; The method of using the soft communication bus to segment and encode the unified format data to obtain encoded data includes: S221, using the channel modeling information, performing type identification processing on the transmission channel between the transmitting end and the receiving end to obtain channel type information; S222, determining a corresponding channel coding model based on the channel type information; S223, using a channel coding model, encoding the unified format data to obtain encoded data; Step S221 includes: The channel modeling information is sent from the transmitting end to the receiving end, and the receiving end obtains the receiving modeling information; The sequence corresponding to the channel modeling information is represented as a1(i), i=1, 2, ..., B1, and the sequence corresponding to the reception modeling information is represented as a2(j), j=1, 2, ..., B1, where i and j represent the sequence number of the element in the sequence, and B1 represents the sequence length; Dividing the channel modeling information and the reception modeling information into N1 segments, respectively, to obtain corresponding N1 subsequences; numbering the subsequences of the channel modeling information and the reception modeling information according to the order of their appearance, respectively, to obtain sequence numbers of the subsequences; A detection matrix is ​​constructed using all subsequences corresponding to the channel modeling information; a row vector of the detection matrix is ​​a subsequence corresponding to the channel modeling information; A receiving matrix is ​​constructed using all subsequences corresponding to the receiving modeling information; a row vector of the receiving matrix is ​​a subsequence corresponding to the receiving modeling information; Comparing the detection matrix and the reception matrix to obtain a difference quantization value; The difference quantization value is discriminated and processed to obtain channel type information.

2. The high real-time data communication method according to claim 1, wherein: The communication middleware is one of the object access middleware CORBA, the message middleware MPI and the subscription publishing middleware DDS.

3. The high real-time data communication method according to claim 1, wherein: The comparing the detection matrix and the receiving matrix to obtain a difference quantization value includes: Performing correlation calculation on the detection matrix and the receiving matrix to obtain a correlation vector; The calculation expression of the association calculation is: Among them, A1 ij is the element in the i-th row and j-th column of the detection matrix A1, A2 ij is the element of the i-th row and j-th column of the receiving matrix A2, p i is the i-th element of the correlation vector, M1 and M2 are the row dimension and column dimension of the detection matrix respectively; Perform normalized entropy calculation on the correlation vector to obtain a difference quantization value; The normalized entropy value calculation process is calculated as follows: Among them, R is the difference quantification value.

4. The high real-time data communication method according to claim 1, wherein: The comparing the detection matrix and the receiving matrix to obtain a difference quantization value includes: Subtracting the detection matrix and the reception matrix item by item and taking the absolute value to obtain a difference matrix; Performing a first vector extraction process on the difference matrix to obtain a first vector; performing a second vector extraction process on the difference matrix to obtain a second vector; Performing difference quantization calculation processing on the first vector and the second vector to obtain a difference quantization value; The expression of the first vector extraction process is: Among them, a + is the first vector, is the i-th element of the first vector, a ij is the element in the i-th row and j-th column of the difference matrix, and m and n are the row dimension and column dimension of the difference matrix respectively; The expression of the second vector extraction process is: Among them, a - is the second vector, is the i-th element of the second vector, The expression for the difference quantification calculation process is: Where R is the difference quantization value, ω i is the preset i-th importance weight.

5. The high real-time data communication method according to claim 1, wherein: The performing discrimination processing on the difference quantization value to obtain channel type information includes: When the difference quantization value is greater than a first preset value, determining that the channel type information is a first channel model; When the difference quantization value is less than or equal to a first preset value, it is determined that the channel type information is a second channel model.

6. A high real-time data communication device, characterized in that: The device comprises: a memory storing executable program code; a processor coupled to the memory; The processor calls the executable program code stored in the memory to execute the high real-time data communication method according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • Unified real-time data acquisition device and acquisition method

    CN115269694A