Data processing and displaying system and method suitable for multi-source data input of control system

By designing a data processing and display system suitable for multi-source data input in the control system, the problem of cyclical modification, frequent change and high modification costs in the interface function changes in the prior art is solved, and a reusable and easy-to-reuse data analysis display system is realized, reducing the complexity and cost of software development.

CN120045347APending Publication Date: 2025-05-27BEIJING AEROSPACE AUTOMATIC CONTROL RES INST
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411953022.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-27
Publication Date
2025-05-27

AI Technical Summary

Technical Problem

When the prior art processes multi-source data input in control systems, there is diversity in the display technology of interface parameters, resulting in the risk of repeated modifications, frequent changes, and high modification costs.

Method used

A data processing and display system suitable for multi-source data input of control system is designed, including a common front- and back-end message template, a data sending and receiving bus, a data analysis module and a data display module. Through the coordinated work of these modules, data analysis and display are realized.

Benefits of technology

It realizes a reusable and easy-to-reuse front-end data analysis and display system, which is not coupled with other software codes. It is suitable for the data processing and display of multi-source data input in the control system, and reduces the workload of software developers to write code repeatedly, and improves the efficiency, quality and reliability of software development.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120045347A_ABST
    Figure CN120045347A_ABST
Patent Text Reader

Abstract

The invention relates to a data processing and displaying system and method suitable for multi-source data input of a control system. The data processing and displaying system comprises a front-end and back-end message universal template, a data receiving and transmitting bus, a data analysis module and a data display module. The front-end and back-end message general template is used for defining a front-end and back-end general interface protocol and data by a user by taking a front-end and back-end message element as a unit, the template is converted into an xml configuration file through format conversion, and a front-end and back-end data analysis display template is formed; the data transceiving bus is used for connecting a server-side interface and a front-end external interface of the back-end application software and connecting a client-side interface and a server-side interface of the back-end application software; the data analysis module analyzes the front-end data analysis display template and the rear-end data analysis display template to obtain corresponding data; and the data display module displays the data analyzed by the data analysis module. When the requirement is changed, only the correctness of the configuration file needs to be maintained, function change can be achieved without code writing, the workload of repeated code writing is greatly reduced, and the efficiency, quality and reliability of software development are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of launch measurement and control system design, and relates to a data processing and display system and method applicable to multi-source data input of a control system. Background Art

[0002] When performing front-end and back-end software function interaction between different platforms and devices, the front-end and back-end systems work together. The back-end software is deployed on the back-end main control computer and has an interface, which is responsible for the overall process control, real-time monitoring of test process data, and human-computer interaction operations.

[0003] Under the control of the back-end main control computer, the front-end cooperates to complete test control, system self-check, and centralized monitoring of all information.

[0004] Since the back-end main control computer involves human-computer interaction operations, the display technology of interface parameters is a basic function of all back-end software of the launch measurement and control system. The data processing and display function codes of each project are different, resulting in a variety of display methods. In addition, due to the limited range of the system interface layout, manually changing the interface becomes the only means, resulting in the risk of repeated modification, frequent changes, and high modification costs for interface function changes. Therefore, a reusable and easy-to-reuse front-end and back-end data parsing and display system that is not coupled with other software codes and is applicable to data processing and display of multi-source data input of the control system is needed. Summary of the Invention

[0005] The technical problem solved by the present invention is: overcoming the deficiencies of the prior art, and proposing a data processing and display system and method applicable to multi-source data input of a control system.

[0006] The technical solution adopted by the present invention is:

[0007] A data processing and display system applicable to multi-source data input of a control system includes a front-end and back-end message general template, a data transceiver bus, a data parsing module, and a data display module;

[0008] The front-end and back-end message general template: taking the front-end and back-end message elements as units, providing users with a definition of the front-end and back-end general interface protocol, and converting the defined template into an xml configuration file through format conversion to form a front-end and back-end data parsing and display template; the front-end and back-end data parsing and display template is sent to the data parsing module through the data transceiver bus;

[0009] The data transceiver bus: used to connect the server interface of the back-end application software and the front-end external interface, and to connect the client interface of the back-end application software and the server interface of the back-end application software;

[0010] Data parsing module: Parse the front-end and back-end data parsing and display templates to obtain corresponding data and send it to the data display module;

[0011] Data display module: Display the data parsed by the data parsing module.

[0012] Preferably, the data transceiver bus can also cache data.

[0013] Preferably, the data parsing module enters different event branches according to the corresponding data types to process different parsing formats, thereby calculating the values of the corresponding data.

[0014] Preferably, the data display module enters different event branches according to the corresponding data display types to process different display forms.

[0015] Preferably, the server of the back-end application software is responsible for communicating with the front-end and other systems with communication protocol interfaces, summarizing, aggregating, and parsing the received data, and forwarding it to the client of the back-end application software for display through the data transceiver bus; the interface of the client of the back-end application software is only used to display data.

[0016] Preferably, the front-end and back-end message elements include message name, message identifier, message length, message content, and CRC check code.

[0017] The data processing and display method using the data processing and display system for multi-source data input applicable to a control system includes:

[0018] The server of the back-end application software receives external input data through the data transceiver bus, and summarizes, aggregates, and parses the received data by using the front-end and back-end data parsing and display templates;

[0019] The server of the back-end application software realizes specific parsing operations by calling the external interface provided by the data parsing module;

[0020] The server of the back-end application software sends the parsed data to the client of the back-end application software through the data transceiver bus;

[0021] The client of the back-end application software calls the data display module, and the data display module makes corresponding display actions by retrieving the display parameters and display control names in the front-end and back-end data parsing and display templates.

[0022] Preferably, the external interface of the data parsing module corresponds one-to-one with the event branches corresponding to each data type.

[0023] Preferably, the external interface of the data display module corresponds one-to-one with the event branches corresponding to each data display type.

[0024] The beneficial effects of the present invention compared with the prior art are as follows:

[0025] The present invention proposes a set of front-end and back-end data parsing and display systems and methods that are reusable and easy to reuse, are not coupled with other software codes, are applicable to the data processing and display of multi-source data input in a control system, and have configurable functions. It meets the requirements for the reliability of data display and the rapidity of technical state change in development scenarios with multiple tasks, high intensity, and fast demand iteration. When an application calls the interfaces of the data parsing module and the data display module, when the requirements change, only the correctness of the configuration file needs to be maintained, and the function change can be realized without writing code, which greatly reduces the workload of software developers repeating code writing and improves the efficiency, quality, and reliability of software development. Brief Description of the Drawings

[0026] Figure 1 It is a general structure diagram of front-end and back-end common message elements;

[0027] Figure 2 It is a schematic diagram of the working principle of the application program;

[0028] Figure 3 It is a structure diagram of the DataCheck.xml configuration file;

[0029] Figure 4 It is a structure diagram of the DataShow.xml configuration file. Detailed Embodiment

[0030] The present invention will be further described below with reference to the accompanying drawings.

[0031] The present invention is used for front-end and back-end software function interaction between different platforms and devices to achieve reliable transmission of multi-source data. By formulating a set of operation methods and protocols, it is possible to configure the parsing format and display form during the transmission and display of multi-source data, so as to achieve the purpose of being reusable and easy to reuse.

[0032] The data processing and display system of the present invention includes front-end and back-end message elements, front-end and back-end message general templates, a data transceiver bus, a data parsing module, and a data display module. A set of protocols is formulated, and a front-end and back-end common interface protocol, that is, a front-end and back-end message general template, is defined by combining the protocol characteristics of multiple models, and the protocol is converted into the format of an xml configuration file through format conversion, so as to form a front-end and back-end data parsing and display template with front-end and back-end message elements as units. A method for separating the parsing and display services of the back-end application software client and the server is proposed.

[0033] Figure 2This is the working principle diagram of the present invention. Specifically, by combining the analysis of multiple protocol features, a general interface protocol for the front and back ends is defined, that is, a general template for front and back end messages. And through format conversion, the protocol is converted into the format of an xml configuration file, thus forming a front and back end data parsing and display template with front and back end message elements as units. In addition, since the system needs to display data from multiple devices and has a high requirement for the real-time display of data. Therefore, the back-end application software transmits the front and back end data parsing and display template to the data parsing module and the data display module through the data transceiver bus. The server of the back-end application software realizes specific parsing operations by calling the external interface provided by the data parsing module; the client of the back-end application software makes corresponding display actions by retrieving the display key parameters and display control names in the front and back end data parsing and display template.

[0034] The structure diagram of the general message element for the front and back ends is as Figure 1 shown, including message name, message identifier, message length, message content, and CRC check code.

[0035] The data transceiver bus is mainly a bridge connecting the server interface of the back-end application software and the front-end external interface, as well as the client interface of the back-end application software and the server interface of the back-end application software. All parsing and display operations of the back-end application software for messages are always transmitted to the data parsing module and the data display module through the data transceiver bus. While isolating the back-end application program from the data parsing and display function modules, the data transceiver bus also acts as a cache pool to prevent data loss caused by waiting for timely scheduling when the processor performance is insufficient.

[0036] The data parsing module is mainly used to process the data parsing operations of front and back end messages. It is an independent module, and its implementation method is to enter different event branches (such as uint8, uint16, 1bit, float, etc.) according to the corresponding data types for parsing and processing in different formats, so as to calculate the values of the corresponding data. During the operation of the data parsing module, the server software of the back-end application software does not need to know the specific implementation method, and only needs to call the interface provided by the data parsing module according to the format of the front and back end messages. At the same time, the data display module, like the data parsing module, is also an independent module, and its implementation method is also to enter different event branches (such as LAMP, LCD, TABLE, CURVEPLOT, etc.) according to the corresponding data display types for display processing in different formats. During the operation of the data display module, the client software of the back-end application software also does not need to know the specific implementation method, and only needs to call the interface provided by the data display module according to the display format of the key data to be displayed in the front and back end messages. The working scenarios of the above two modules truly achieve the isolation of the application program from the data parsing and data display modules.

[0037] When separating the processing and display of data, the interface of the client software of the back-end application software is only used to display data. The server software of the back-end application software is responsible for communicating with the front-end and other software with communication protocol interfaces, performing complex processing such as summarizing, aggregating, and parsing the received data, and then uniformly packaging and forwarding the processed data to the client software of the back-end application software for display; separating the parsing and display functions from the functions of communicating with external software makes the software highly flexible. The change of one software does not affect the execution and use of the other software, which is convenient for the maintenance of the software's later functions. The whole process only needs to use the general message xml configuration file generated by the protocol, and then make the application program call the external interfaces of the data parsing module and the data display module. When the requirements change, only the correctness of the configuration file needs to be maintained, and the function change can be realized without writing code, which can greatly reduce the workload of software developers repeating code writing and improve the efficiency, quality, and reliability of software development.

[0038] Figure 3 It is the structure diagram of the DataCheck.xml configuration file. Figure 4 It is the structure diagram of the DataShow.xml configuration file.

[0039] The data processing and display method of the present invention includes the following steps:

[0040] The user defines the front-end and back-end common interface protocol using the front-end and back-end message common template, and converts the defined template into an xml configuration file through format conversion to form the front-end and back-end data parsing and display template;

[0041] The server of the back-end application software receives external input data using the data transceiver bus, and performs summarizing, aggregating, and parsing processing on the received data by using the front-end and back-end data parsing and display template;

[0042] The server of the back-end application software realizes the specific parsing operation by calling the external interface provided by the data parsing module;

[0043] The server of the back-end application software sends the parsed data to the client of the back-end application software through the data transceiver bus;

[0044] The client of the back-end application software calls the data display module, and the data display module makes corresponding display actions by retrieving the display parameters and display control names in the front-end and back-end data parsing and display template.

[0045] In the present invention, the UDP communication command format between the front-end control software and the back-end service software is shown in Table 1. The UDP communication command format between the back-end service software and the front-end control software is shown in Table 3.

[0046] Table 1 UDP Communication Command Format between Front-end Control Software and Back-end Service Software

[0047]

[0048] Table 2 Definition of Front-end Forwarding 1553 / Glink Message Data Types

[0049] Serial number Value Meaning 1 0x1234 Analog result

[0050] Table 3 UDP Communication Command Format between Back-end Service Software and Front-end Control Software

[0051]

[0052] The present invention relates to a data processing and display system and method applicable to multi-source data input of a control system, which is used for front-end and back-end software function interaction between different platforms and devices to achieve reliable transmission of multi-source data. By formulating a set of operation methods and protocols, it is realized that the parsing format and display form of multi-source data can be configured during the process of transmission and display, so as to achieve the purpose of being reusable and easy to reuse.

[0053] The present invention separates the parsing and display functions from the functions of communicating with external software, making the software have high flexibility. The change of one party's software does not affect the execution and use of the other party's software, which is convenient for the maintenance of the software's later functions.

[0054] The parts not detailed in the present invention belong to the common general knowledge of those skilled in the art.

Claims

1. A data processing and display system suitable for multi-source data input of a control system, characterized in that: Including front-end and back-end message general templates, data transceiver bus, data analysis module, and data display module; Front-end and back-end message universal template: takes the front-end and back-end message element as the unit, for users to define the front-end and back-end universal interface protocol, and converts the defined template into an XML configuration file through format conversion to form a front-end and back-end data parsing and display template; the front-end and back-end data parsing and display template is sent to the data parsing module through the data transceiver bus; Data transceiver bus: used to connect the server interface of the back-end application software and the front-end external interface, as well as to connect the client interface of the back-end application software and the server interface of the back-end application software; Data parsing module: parses the front-end and back-end data parsing display templates, obtains the corresponding data, and sends it to the data display module; Data display module: displays the data analyzed by the data analysis module.

2. A data processing and display system suitable for multi-source data input of a control system according to claim 1, characterized in that: The data transceiver bus can also cache data.

3. A data processing and display system suitable for multi-source data input of a control system according to claim 1, characterized in that: The data analysis module enters different event branches according to the corresponding data types to perform processing in different analysis formats, thereby calculating the value of the corresponding data.

4. A data processing and display system suitable for multi-source data input of a control system according to claim 1, characterized in that: The data display module enters different event branches to perform processing in different display forms according to the corresponding data display type.

5. A data processing and display system suitable for multi-source data input of a control system according to claim 1, characterized in that: The server of the back-end application software is responsible for communicating with the front-end and other systems with communication protocol interfaces, summarizing, aggregating, and parsing the received data, and forwarding it to the client of the back-end application software for display by using the data transceiver bus; the client interface of the back-end application software is only used to display data.

6. A data processing and display system suitable for multi-source data input of a control system according to claim 1, characterized in that: The front-end and back-end message elements include message name, message identifier, message length, message content, and CRC check code.

7. A data processing and display method using a data processing and display system applicable to multi-source data input of a control system according to any one of claims 1 to 6, characterized in that: include: The server of the back-end application software receives external input data through the data transceiver bus, and summarizes, aggregates and analyzes the received data by using the front-end and back-end data analysis and display templates; The server of the back-end application software implements specific parsing operations by calling the external interface provided by the data parsing module; The server of the back-end application software sends the parsed data to the client of the back-end application software through the data transceiver bus; The client of the back-end application software calls the data display module, and the data display module analyzes the display parameters and display control names in the display template by retrieving the front-end and back-end data to make corresponding display actions.

8. The data processing and display method according to claim 7, characterized in that: The external interface of the data analysis module corresponds one-to-one to the event branch corresponding to each data type.

9. The data processing and display method according to claim 7, characterized in that: The external interface of the data display module corresponds one-to-one to the event branch corresponding to each data display type.