Integration method of json-based io and control logic configuration

An integration method and control logic technology, applied in the field of JSON data interaction, can solve the problems of complex data relationship, high coupling between modules, and high development and maintenance costs

CN111124384BActive Publication Date: 2021-12-07中国航发控制系统研究所
7 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Publication Date
2021-12-07

Smart Images

  • Figure 1
    Figure 1
Patent Text Reader

Abstract

The present invention relates to a kind of integration method of IO and control logic configuration based on JSON, it comprises the following steps: Step 1, according to the structure encapsulation format of IO data in the control code, write JSON file, the JSON file of described writing and control The structure level of the IO data in the code is consistent; step 2, establish a data class corresponding to each level of the above JSON file in the project of the configuration software; step 3, write the function ReadJSON and JSON file for reading the JSON file The writing function WriteJSON; step 4, the integrated function function UpdateSoftJosnData forming the interface data; this function is called to update the interface data every time the configuration software is started or the IO interface signal changes. The invention can quickly generate interface exchange files through JSON, efficiently output dependent interface resource data, and greatly improve the efficiency of data exchange; at the same time, the clear and concise self-describing ability of JSON is used to realize a complete description of the entire dependent resource.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The invention relates to an integration method, in particular to a JSON-based IO and control logic configuration integration method, belonging to the technical field of JSON data interaction. Background technique

[0002] The integration of IO signals and control logic is an indispensable function in the configuration development process. Its function is to integrate the logic part of the control software with the hardware interface module and communication module to realize data exchange between modules.

[0003] Configuration development is the mainstream method in the current gas turbine market. It has the advantages of friendly user interface, convenient maintenance and management, and one-stop solution service. It enables users to build or Change your own product control software, high degree of freedom in demand support. At present, foreign advanced gas turbine suppliers all have their own configuration development platforms, which brings pressu...

Examples

Embodiment Construction

[0015] The present invention will be further described below in conjunction with specific drawings and embodiments.

[0016] In order to quickly generate interface exchange files through JSON, efficiently output dependent interface resource data, and greatly improve the efficiency of data exchange; at the same time, use the clear and concise self-describing ability of JSON to achieve a complete description of the entire dependent resource. The method includes the following steps:

[0017] Step 1, according to the structure encapsulation format of IO data in the control code, write JSON file, the level of the structure body of the described JSON file of writing and IO data in the control code is consistent;

[0018] In the embodiment of the present invention, according to the structure encapsulation format of the IO data in the control code, the JSON file can be directly written and obtained. The specific process of writing and obtaining the JSON file is well known to those ski...