High real-time data communication method and device
Through the combination of communication middleware and soft communication bus, the compatibility and real-time problems of data communication protocols between different functional modules are solved, and the rapid integration and efficient transmission of data are achieved.
Patent Information
- Application Number
- CN202411941829.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-26
- Publication Date
- 2025-05-30
- Estimated Expiration
- 2044-12-26
AI Technical Summary
Data communication between different functional modules faces the problem of difficult compatibility of different communication protocols and the inability to quickly integrate algorithm components, and it is difficult to meet the requirements of high real-time.
By using communication middleware for format conversion and soft communication bus for slicing and encoding processing, unified standardization of data is achieved, and channel type identification and encoding model determination are carried out through channel modeling information to ensure efficient transmission of data on different channels.
It realizes plug-and-play and fast integration between different functional software and modules, and is compatible with different communication protocols, ensuring high real-time and accuracy of data communication.
Smart Images

Figure CN120075322A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of communications, and more particularly to a high-real-time data communication method and apparatus. Background Art
[0002] Data communication is a communication method resulting from the combination of communication technology and computer technology. Data communication between different software is an important part of it. To transmit information between two locations, a transmission channel is relied upon to connect the data terminal to the computer, enabling information resource sharing of software and hardware between data terminals at different locations. With the rapid development of the information technology industry, the requirements for the speed and real-time performance of data communication are getting higher and higher. To meet the data communication needs of different functional software, different data communication methods have emerged. Currently, there are various data communication methods, which involve the communication structure, high-speed buses, bus standards, data communication interfaces, etc. Among them, the communication structure includes multi-point to multi-point, point to multi-point, and point to point structures; high-speed buses include buses such as PCI, CPCI, PCI-E, VME, and quasi-buses; bus standards include parallel buses and serial buses; data communication interfaces include parallel interfaces and serial interfaces. Although the data communication methods are becoming more and more abundant, the data communication between different functional modules also faces problems such as difficulty in compatibility of different communication protocols and inability to quickly integrate algorithm components. At the same time, the data communication between different functional software also has difficulty in meeting the requirements of high real-time performance. Summary of the Invention
[0003] The present invention mainly solves the problems that the data communication between different functional modules also faces difficulties in compatibility of different communication protocols and inability to quickly integrate algorithm components, and at the same time, the data communication between different functional software also has difficulty in meeting the requirements of high real-time performance. The present invention discloses a high-real-time data communication method and apparatus.
[0004] In a first aspect of an embodiment of the present application, a high-real-time data communication method is disclosed, including:
[0005] S1, obtaining data to be communicated;
[0006] S2, performing transmission processing on the data to be communicated to obtain received data;
[0007] S3, performing unified management processing on the data plane of the received data to obtain uniformly standard data.
[0008] The performing transmission processing on the data to be communicated to obtain received data includes:
[0009] S21, using a communication middleware to perform format conversion processing on the data to be communicated to obtain uniformly formatted data;
[0010] S22. Use the soft communication bus to perform segmentation and encoding processing on the unified format data to obtain encoded data;
[0011] S23. Transmit the encoded data from the sending 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 publish-subscribe middleware DDS.
[0013] The use of the soft communication bus to perform segmentation and encoding processing on the unified format data to obtain encoded data includes:
[0014] S221. Use the channel modeling information to perform type recognition processing on the transmission channel between the sending end and the receiving end to obtain channel type information;
[0015] S222. Based on the channel type information, determine the corresponding channel coding model;
[0016] S223. Use the channel coding model to perform encoding processing on the unified format data to obtain encoded data.
[0017] The use of the channel modeling information to perform type recognition processing on the transmission channel between the sending end and the receiving end to obtain channel type information includes:
[0018] Send the channel modeling information from the sending end to the receiving end, and the receiving end obtains the received modeling information;
[0019] Perform differential type discrimination processing on the channel modeling information and the received modeling information to obtain channel type information.
[0020] The performing of differential type discrimination processing on the channel modeling information and the received modeling information to obtain channel type information includes:
[0021] Represent the sequence corresponding to the channel modeling information as a 1 (i), i = 1, 2,..., A1, represent the sequence corresponding to the received modeling information as a 2 (j), j = 1, 2,..., A1, both i and j represent the serial numbers of the elements in the sequence, and A1 represents the sequence length;
[0022] Divide both the channel modeling information and the received modeling information into N1 segments equally to obtain the corresponding N1 subsequences respectively; number the subsequences of the channel modeling information and the received modeling information respectively according to the order in which they appear to obtain the serial number values of the subsequences;
[0023] Construct a detection matrix by using all subsequences corresponding to the channel modeling information; the row vectors of the detection matrix are the subsequences corresponding to the channel modeling information;
[0024] Construct a reception matrix by using all subsequences corresponding to the reception modeling information; the row vectors of the reception matrix are the subsequences corresponding to the reception modeling information;
[0025] Perform a comparison process on the detection matrix and the reception matrix to obtain a difference quantization value;
[0026] Perform a discrimination process on the difference quantization value to obtain channel type information.
[0027] The step of performing a comparison process on the detection matrix and the reception matrix to obtain a difference quantization value includes:
[0028] Perform a correlation calculation on the detection matrix and the reception matrix to obtain a correlation vector;
[0029] The correlation calculation is expressed by the following formula:
[0030]
[0031] where, A1 ij is the element at the i-th row and j-th column of the detection matrix A1, A2 ij is the element at the i-th row and j-th column of the reception matrix A2, p i is the i-th element of the correlation vector, and M1 and M2 are the row dimension and column dimension of the detection matrix respectively;
[0032] Perform a normalized entropy value calculation process on the correlation vector to obtain a difference quantization value;
[0033] The normalized entropy value calculation process is expressed by the following formula:
[0034]
[0035] where, R is the difference quantization value.
[0036] The step of performing a comparison process on the detection matrix and the reception matrix to obtain a difference quantization value includes:
[0037] Perform a subtraction item by item and an absolute value taking process on the detection matrix and the reception matrix to obtain a difference matrix;
[0038] Perform a first vector extraction process on the difference matrix to obtain a first vector;
[0039] Perform a second vector extraction process on the difference matrix to obtain a second vector;
[0040] Perform differential quantization calculation processing on the first vector and the second vector to obtain a differential quantization value;
[0041] The expression for the first vector extraction processing is:
[0042]
[0043] where 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 for the second vector extraction processing is:
[0045]
[0046] where a - is the second vector, is the i-th element of the second vector,
[0047] The expression for the differential quantization calculation processing is:
[0048]
[0049] In the formula, R is the differential quantization value, ω i is the preset i-th importance weight.
[0050] Performing discrimination processing on the differential quantization value to obtain channel type information includes:
[0051] When the differential quantization value is greater than the first preset value, determine that the channel type information is the first channel model;
[0052] When the differential quantization value is less than or equal to the first preset value, determine that the channel type information is the second channel model.
[0053] In the second aspect of the embodiments of the present invention, a high-real-time data communication device is disclosed, and the device includes:
[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 and executes the high-real-time data communication method described above.
[0057] The beneficial effects of the present invention are:
[0058] The high-real-time data communication technology proposed by the present invention is compatible with different communication protocols through middleware technology, performs security authentication and permission management on data, and facilitates the plug-and-play and rapid integration of different functional software and modules.
[0059] The high-real-time data communication subscription and publication middleware DDS proposed by the present invention provides C / C++ programming interfaces to applications and provides IDL interface standard languages to implement functional interfaces. By constructing the architecture of standard selection, architecture composition, and data interaction of the communication middleware, it provides efficient and general communication functions, supports real-time monitoring of system communication status, data flow topology, etc., and ensures the real-time performance of the system.
[0060] The channel type recognition and processing algorithm proposed by the present invention can quickly and accurately classify the channel type, and according to the classification result, adopt corresponding coding strategies for the transmitted information, improving the accuracy and stability of information transmission.
[0061] The unified management of the data plane in the high-real-time data communication technology proposed by the present invention, in which data standardization supports upper-layer applications to parse based on data standards; the data integration management platform provides a unified access interface to upper-layer applications, and supports various applications to perform data management, security control, and data sharing based on standard interfaces and data formats. Description of the Drawings
[0062] Figure 1 It is the implementation flowchart of the method of the present invention.
[0063] Figure 2 It is the composition schematic diagram of the high-real-time communication device proposed in the third embodiment of the present invention.
[0064] Figure 3 It is the composition block diagram of the real-time communication middleware of the device of the present invention. Detailed Embodiments
[0065] To better understand the content of the present invention, an embodiment is given here.
[0066] Figure 1 It is the implementation flowchart of the method of the present invention.
[0067] In view of the current situation of using different protocols for communication in different stages and quickly integrating algorithm components, a high-real-time communication technology is proposed, which is used to be compatible with different communication protocols, perform security authentication and permission management on data, and can realize the plug-and-play and quick integration of different functional software. The high-real-time communication technology proposed by the present invention is realized through three parts: selecting a high-real-time communication middleware DDS, loosely coupled integration based on data, and unified management of the data plane. Among them, (1) the subscription and publication middleware DDS can meet the requirements of loose coupling, scalability, reconfigurability, high reliability, etc. between software and hardware; (2) the technical approach of loosely coupled integration based on data mainly includes a soft bus communication mechanism and a soft bus design, which realizes the decoupling of application software in two aspects of time and space; (3) the unified management of the data plane includes two parts: data standardization and a data management platform. Among them, data standardization defines the format standards of various types of data, including real-time data and non-real-time data, and supports upper-layer applications to parse based on the 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 the standard interface and data format.
[0068] In the first aspect of the embodiment of the present application, a high-real-time data communication method is disclosed, including:
[0069] S1, obtaining data to be communicated;
[0070] S2, performing transmission processing on the data to be communicated to obtain received data;
[0071] S3, performing unified management processing on the data plane of the received data to obtain uniformly standard data;
[0072] The performing transmission processing on the data to be communicated to obtain received data includes:
[0073] S21, using a communication middleware to perform format conversion processing on the data to be communicated to obtain uniformly formatted data;
[0074] S22, using a soft communication bus to perform segmentation and encoding processing on the uniformly formatted data to obtain encoded data;
[0075] S23, transmitting the encoded data from a sending end to a receiving end, and the receiving end obtains received data;
[0076] The communication middleware is one of an object access middleware CORBA, a message middleware MPI, and a subscription and publication middleware DDS;
[0077] The using a soft communication bus to perform segmentation and encoding processing on the uniformly formatted data to obtain encoded data includes:
[0078] S221. Use the channel modeling information to perform type identification processing on the transmission channel between the transmitter and the receiver to obtain channel type information;
[0079] S222. Based on the channel type information, determine the corresponding channel coding model;
[0080] S223. Use the channel coding model to perform coding processing on the unified format data to obtain coded data;
[0081] The step of using the channel modeling information to perform type identification processing on the transmission channel between the transmitter and the receiver to obtain channel type information includes:
[0082] Send the channel modeling information from the transmitter to the receiver, and the receiver obtains the received modeling information;
[0083] Perform differential type discrimination processing on the channel modeling information and the received modeling information to obtain channel type information; the channel modeling information is pre-stored in the receiver and is known to the receiver;
[0084] The step of performing differential type discrimination processing on the channel modeling information and the received modeling information to obtain channel type information includes:
[0085] Represent the sequence corresponding to the channel modeling information as a 1 (i), where i = 1, 2,..., A1, represent the sequence corresponding to the received modeling information as a 2 (j), where j = 1, 2,..., A1, and both i and j represent the serial numbers of the elements in the sequence, and A1 represents the sequence length;
[0086] Divide both the channel modeling information and the received modeling information into N1 segments equally to obtain N1 corresponding subsequences respectively; number the subsequences of the channel modeling information and the received modeling information in the order of their appearance to obtain the serial number values of the subsequences;
[0087] Use all the subsequences corresponding to the channel modeling information to construct a detection matrix; the row vectors of the detection matrix are the subsequences corresponding to the channel modeling information;
[0088] Use all the subsequences corresponding to the received modeling information to construct a received matrix; the row vectors of the received matrix are the subsequences corresponding to the received modeling information;
[0089] Perform comparison processing on the detection matrix and the received matrix to obtain a differential quantization value;
[0090] Perform discrimination processing on the differential quantization value to obtain channel type information;
[0091] Performing comparison processing on the detection matrix and the reception matrix to obtain a difference quantization value, including:
[0092] Performing correlation calculation on the detection matrix and the reception matrix to obtain a correlation vector;
[0093] The correlation calculation, its calculation expression is:
[0094]
[0095] Wherein, A1 ij is the element in the i-th row and j-th column of the detection matrix A1, A2 ij is the element in the i-th row and j-th column of the reception matrix A2, p i is the i-th element of the correlation vector, and M1 and M2 are the row dimension and column dimension of the detection matrix respectively;
[0096] Performing normalized entropy value calculation processing on the correlation vector to obtain a difference quantization value;
[0097] The normalized entropy value calculation processing, its calculation expression is:
[0098]
[0099] Wherein, R is the difference quantization value.
[0100] Performing comparison processing on the detection matrix and the reception matrix to obtain a difference quantization value, including:
[0101] Performing element-by-element subtraction and absolute value taking on the detection matrix and the reception matrix to obtain a difference matrix;
[0102] Performing first vector extraction processing on the difference matrix to obtain a first vector;
[0103] Performing second vector extraction processing 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 processing is:
[0106]
[0107] Wherein, 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 as follows:
[0109]
[0110] where a - is the second vector, is the i-th element of the second vector,
[0111] The expression of the differential quantization calculation process is as follows:
[0112]
[0113] In the formula, R is the differential quantization value, and ω i is the preset i-th importance weight.
[0114] Performing discrimination processing on the differential quantization value to obtain channel type information includes:
[0115] When the differential quantization value is greater than the first preset value, determining that the channel type information is the first channel model;
[0116] When the differential quantization value is less than or equal to the first preset value, determining that the channel type information is the second channel model.
[0117] The first preset value can be 1.5;
[0118] The value of N1 should ensure that A1 / N1 is an integer.
[0119] For the channel modeling information, it includes the 1st subsequence to the N1th subsequence; for the reception modeling information, it includes the 1st subsequence to the N1th subsequence.
[0120] The calculation expression of the first channel model is as follows:
[0121]
[0122] where s(k) is the k-th element of the signal sequence, NS is the length of the signal sequence, and y 1 (z,x) is the element in the z-th row and x-th column of the transformation data information corresponding matrix obtained by the first channel model, p 1 () is the transformation function corresponding to the first channel model, p 1 (kT 1 -zT 1 ) is the value of p 1 () at kT 1 -zT 1 T 1 and F 1 are respectively the time-domain transformation length and frequency-domain transformation length of the first channel model;
[0123] The calculation expression of the second channel model is as follows:
[0124]
[0125] where y 2 (z, x) is the element in the z-th row and x-th column of the transformation data information corresponding matrix obtained from the second channel model, and p 2 () is the transformation function corresponding to the second channel model, and p 2 (kT 2 - zT 2 ) is the value of p 2 () at kT 2 - zT 2 , T 2 and F 2 are respectively the time-domain transformation length and the frequency-domain transformation length of the second channel model; p 1 () has a stronger ability to resist channel frequency offset than p 2 ().
[0126] The format conversion process is to convert the data into a unified data format recognizable by the soft communication bus;
[0127] The data to be communicated is the data that needs to be transmitted from the sending end to the receiving end;
[0128] The process of performing unified management processing on the received data to obtain unified standard data includes:
[0129] Classifying and organizing the data management, classifying the data according to the theme information of the data to obtain data category information;
[0130] Managing all data through the theme unified management system to form a distributed data theme directory, supporting users to subscribe to the required data on demand;
[0131] Sorting out various data information of system interaction and performing standardized design to obtain data standard information; the data standard information includes data naming specifications, data theme descriptions, data format descriptions, etc., and data parsing can be realized based on the standard specifications;
[0132] Using the data standard information and the data category information to construct and obtain unified standard data;
[0133] The process of performing unified management processing on the received data to obtain unified standard data further includes:
[0134] Data registration: Based on the data definition standard, complete the registration of the data on the data integration management platform, including data interfaces and data formats, and the registered data can provide data services externally;
[0135] Data management: uniformly manage various types of data in the situation system, including data theme editing, data format definition, data permission management, data addition, deletion, modification, and query, etc.;
[0136] Real-time data persistent storage: Select a data theme and store real-time data in a database or a file system to achieve real-time data persistent storage.
[0137] In a second aspect of the embodiments of the present invention, a high real-time data communication device is disclosed. The device includes:
[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 and executes the high real-time data communication method described above.
[0141] In a third aspect of the embodiments of the present invention, a high real-time data communication device is disclosed.
[0142] The high real-time communication device proposed by the present invention is implemented through three parts: a high real-time communication middleware, a data-based loose coupling integration module, and a data plane unified management module. Among them, the high real-time communication middleware can meet requirements such as software and hardware loose coupling, scalability, reconfigurability, and high reliability; the implementation of the data-based loose coupling integration module mainly includes a soft bus communication mechanism and a soft bus design, achieving decoupling of application software in two aspects: time and space; the data plane unified management module includes two parts: data standardization and a data management platform. Among them, data standardization defines the format standards of various types of data, including real-time data and non-real-time data, and supports upper-layer applications to parse based on the 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 the standard interface and data format.
[0143] The composition schematic diagram of the high real-time communication device proposed in the third embodiment of the present invention is as Figure 2 shown. The composition block diagram of the real-time communication middleware of the device of the present invention is as Figure 3 shown.
[0144] The technical approach of the high real-time communication middleware mainly involves content such as the selection of communication middleware standards, architecture composition, and data interaction, specifically including:
[0145] Standard Selection: The communication middleware shields the underlying hardware communication details, provides efficient and general communication functions, supports real-time monitoring of the system communication status, data flow topology, etc. The processing overhead and bandwidth overhead of the communication middleware are relatively low, without affecting the real-time performance of the system. The mainstream real-time communication middleware standards mainly include: the object access middleware CORBA, the message middleware MPI, and the publish-subscribe middleware DDS. The CORBA and MPI standards have characteristics such as being related to the physical location and the centralized architecture being prone to single-point failure. Compared with CORBA and MPI, DDS has characteristics such as being independent of the physical location and having no central point, and is more capable of meeting the requirements of software and hardware loose coupling, scalability, reconfigurability, high reliability, etc. required for realizing high real-time communication.
[0146] Architecture Composition: The high real-time communication middleware architecture of DDS consists of four layers, mainly including the operating system / communication protocol shielding layer, the RTPS interconnection layer, the publish-subscribe logic layer, and the user interface layer. As Figure 2 shown, among them, (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, so that the upper layer can focus on the logical design of the publish-subscribe data model without caring about the heterogeneity of the operating system resources. (2) The RTPS interconnection layer: mainly stipulates the mutual discovery behavior between entities to ensure interconnection and interoperability with middleware implemented by different manufacturers, meeting the requirements of application programs being independent of DDS middleware products of the same standard from different manufacturers. (3) The publish-subscribe logic layer uses the messages and message behaviors designed by the underlying RTPS to implement the publish-subscribe data model, defines and implements the entities and their functions in the publish-subscribe data model. (4) The user interface layer implements the interfaces defined in the DDS specification. Application programs create DDS entities, publish and subscribe to data through these development interfaces, and configure the communication requirements of publish-subscribe through these interfaces. Provide C / C++ programming interfaces for applications and provide IDL interface standard languages to implement function interfaces.
[0147] DDS Data Interaction: For the application data interaction method without using the DDS real-time communication middleware, since the application program and the hardware are mutually coupled, both communication parties must know the physical location of the other party. Taking the network as an example, that is, they must know the IP and port number of the other party. The DDS real-time communication middleware organizes all the data in the system by topic; the publisher publishes the topic data to be shared through the data writer; the subscriber subscribes to the topic data it is interested in through the data reader; without the existence and location information of other application programs, it realizes decoupling in space and time, as Figure 3 shown. Compared with the traditional application data interaction method, when using the DDS real-time communication middleware for application data interaction, as long as the topics of both parties match, they can communicate, without caring about who the sender and subscriber are and where they are.
[0148] The technical approaches of the data-based loose coupling integration module mainly include soft bus communication mechanisms, soft bus design, etc. Specifically, they include:
[0149] 1. Soft bus communication mechanisms, including the following:
[0150] Data communication based on topics: In a communication system based on the publish-subscribe mechanism, the sender of topic data is called the publisher, and the receiver of topic data is called the subscriber. The basic principle of the publish-subscribe mechanism is that the sender sends the published topic to the topic management server, and the topic management server stores the published topic in several queues. When a subscriber of a topic accesses the system, the published topic data is then forwarded to the receiver. Different data is distinguished by different topic names. The publisher publishes topic data that other applications are interested in to the topic management server, while the subscriber receives the topic data it is interested in from the topic management server. The publisher and the subscriber are associated through the topic management server.
[0151] Decoupling of application software: The communication method based on the publish-subscribe mechanism can communicate between different platforms. It is often used to shield the characteristics between various platforms and protocols, realize the collaboration between application programs, provide synchronous or asynchronous connections for application functions, support the real-time transmission or store-and-forward of topic data, and is suitable for the loose coupling interconnection between functional components. Publish-subscribe communication has good flexibility and scalability, and supports active and real-time information transmission methods. When the publisher generates dynamically updated data, the topic management server will actively notify the subscribers of this topic that there is new data available through the publication of events, without the need for the subscribers to perform queries with an uncertain frequency. The publish-subscribe mechanism is suitable for application requirements with real-time, asynchronous, heterogeneous, dynamic, and loose coupling characteristics. The publish-subscribe mechanism realizes the decoupling of application software in two aspects: time and space. The publisher and subscriber of the component do not need to be online at the same time to be able to transmit topic data. Through store-and-forward, this asynchronous transmission ability is provided, realizing time decoupling; neither the publisher nor the subscriber of the component needs to know the physical address, port, or even the logical name and number of the other party. Through topics, data stream matching is achieved, realizing space decoupling.
[0152] 2. Soft bus design
[0153] Implement the component integration soft bus design based on the publish-subscribe mechanism to achieve asynchronous and loose coupling interconnection between components, and support the dynamic loading and plug-and-play of components. When the system is integrated, each independent component is closely combined through soft bus technology to form a complete function, supporting data communication, scheduling control, and status monitoring of components. Soft bus design mainly 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, and provides the upper layer with unified registration and read / write services for interfaces. The Data Soft Bus provides standard encapsulated data transceiver interfaces, standardly encapsulates communication methods such as 10 Gigabit Ethernet, shared memory, and SRIO, shields the underlying hardware details, and supports application components to perform adaptive data transceiver through the unified interface of the Data Soft Bus. When the two communicating components are within the same processor, shared memory is used for data communication. When the two communicating components are in different processors or heterogeneous platforms, 10 Gigabit Ethernet or SRIO is used for data transceiver.
[0155] Control Soft Bus: Defines the control scheduling command communication protocol, including commands issued by the component management: component start / stop, update function library, update configuration file, update transceiver topic, etc., and commands feedback by functional components: component heartbeat, component status, etc. The Control Soft Bus provides control services such as component registration, start / stop, and upgrade for the application layer, formulates the control information interaction protocol between components and the management module, and realizes the dynamic loading and plug-and-play of components.
[0156] Monitoring Soft Bus: The Monitoring Soft Bus provides the system with application software status monitoring and heartbeat feedback services. Application components send heartbeat information to the management module through the Monitoring Soft Bus to realize real-time status collection and system monitoring of application software. The Monitoring Soft Bus defines the debugging and monitoring data organization protocol, including data flow monitoring, framework monitoring, component monitoring, function monitoring, etc. The Soft Bus encapsulates the data interaction protocol and data transmission method between components, and provides a standard Soft Bus communication interface for the application layer, decoupling software from software, and supporting the dynamic loading, plug-and-play, and upgrade and replacement of different software functional components.
[0157] Data Plane Unified Management Module, which includes two parts: the Data Standardization Platform and the Data Management Platform. Among them, the Data Standardization Platform is used to define the format standards of various types of data, including real-time data and non-real-time data, and supports upper-layer applications to parse 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. Specifically include:
[0158] 1. Data standardization defines data standards for various types of data. Users only need to use standard data topic tags, data formats, and data transceiver interfaces to obtain and use data on demand, and achieve data sharing, including the following content:
[0159] (1) Data classification and organization: Unifiedly manage all data of the system through topics to form a distributed data topic directory, and support users to subscribe to the required data on demand;
[0160] (2) Data standardization: Sort out various data information in system interaction and conduct standardized design, including data naming specifications, data theme descriptions, data format descriptions, etc. Data parsing can be achieved based on the 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 to achieve unified data management and on-demand sharing. It includes the following:
[0162] (1) Data registration: Based on the data definition standard, complete the registration of data in the data integration management platform, including data interfaces and data formats. The registered data can provide data services externally;
[0163] (2) Data management: Uniformly manage various data of the situation system, including data theme editing, data format definition, data permission management, data addition, deletion, modification, and query, etc.;
[0164] (3) Real-time data persistent storage: Select a data theme and store the real-time data in a database or a file system to achieve real-time data persistent storage.
[0165] The above are only embodiments of the present application and are not used to limit the present application. For those skilled in the art, various changes and modifications can be made to the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall 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, obtaining 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.
2. The high real-time data communication method according to claim 1, characterized in that: The step of performing transmission processing on the data to be communicated to obtain received data includes: S21, using the communication middleware to perform format conversion processing on the data to be communicated to obtain data in a unified format; S22, using the soft communication bus to segment and encode the unified format data to obtain encoded data; S23, transmitting the encoded data from the sending end to the receiving end, and the receiving end obtains the received data.
3. The high real-time data communication method according to claim 2, characterized in that: The communication middleware is one of the object access middleware CORBA, the message middleware MPI and the subscription publishing middleware DDS.
4. The high real-time data communication method according to claim 2, characterized in that: 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.
5. The high real-time data communication method according to claim 4, characterized in that: 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 the channel type information 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 channel modeling information and the receiving modeling information are subjected to difference type discrimination processing to obtain channel type information.
6. The high real-time data communication method according to claim 5, characterized in that: The performing difference type discrimination processing on the channel modeling information and the receiving modeling information to obtain the channel type information includes: 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 both represent the sequence numbers of the elements in the sequence, and A1 represents the sequence length; The channel modeling information and the receiving modeling information are equally divided into N1 segments to obtain corresponding N1 subsequences respectively; the subsequences of the channel modeling information and the receiving modeling information are numbered according to the order of their appearance to obtain the sequence number values of the subsequences; Using all subsequences corresponding to the channel modeling information, a detection matrix is constructed; the row vector of the detection matrix is the 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 receiving matrix to obtain a difference quantization value; The difference quantization value is discriminated and processed to obtain channel type information.
7. The high real-time data communication method according to claim 6, characterized in that: 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.
8. The high real-time data communication method according to claim 6, characterized in that: The comparing the detection matrix and the receiving matrix to obtain a difference quantization value includes: Subtracting the detection matrix and the receiving matrix item by item and taking absolute values 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 of 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.
9. The high real-time data communication method according to claim 5, characterized in that: 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.
10. 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 9.
Citation Information
Patent Citations
Method and device for sorting coding and integrated exchange and management of heterogeneous data of enterprise
CN104111998A
Data transmission and display method and equipment thereof
CN106603565A
Service providing method based on internet big data
CN110765337A
Channel modeling method and device
CN111628837A
Unified real-time data acquisition device and acquisition method
CN115269694A