CN106569801B - Configuration display and control system based on complex parameters - Google Patents
Configuration display and control system based on complex parameters Download PDFInfo
- Publication number
- CN106569801B CN106569801B CN201610906709.7A CN201610906709A CN106569801B CN 106569801 B CN106569801 B CN 106569801B CN 201610906709 A CN201610906709 A CN 201610906709A CN 106569801 B CN106569801 B CN 106569801B
- Authority
- CN
- China
- Prior art keywords
- module
- configuration
- control
- data
- parameter
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/20—Software design
- G06F8/22—Procedural
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/36—Software reuse
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/71—Version control; Configuration management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Human Computer Interaction (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
A configuration display and control system based on complex parameters comprises a data configuration module, a control design module, an interface configuration module and a display terminal module. The data configuration module realizes the configuration of test coverage parameters, data frame protocols, parameter processing formulas and user login authorities. The control design module realizes the design of the configuration control and supports the user to define the control. The interface configuration module is used for rapidly configuring a terminal interface meeting the test task. And the display terminal module loads a test task terminal interface accessible by the current user, interacts with the data center, receives test parameter data and attributes sent by each configuration control and displays the test parameter data and attributes. The invention achieves the goal that a set of software is applied to the universalization of a plurality of models, designs a universalization interface for the control, can develop the self-defined function on the basis of the existing function, realizes the real-time monitoring of the complex parameter test data of the aircraft, reduces the cost and improves the development efficiency.
Description
Technical Field
The invention relates to a complex parameter set-based dynamic display and control system, and belongs to the technical field of testing.
Background
With the continuous improvement of the launching frequency of the aerospace craft in China and the increase of various types of advanced research, higher requirements are put forward on the testing efficiency of the aerospace craft. At present, the technical implementation approaches of the test, launch and control software are mainly divided into two types, namely traditional code implementation and configuration-based technology implementation.
The traditional testing, launching and controlling software is characterized in that due to the difference of specific model task requirements, functions are realized through code customization and development according to specific test requirements, one set of software can only aim at one model and test task, once the task requirements and the test scheme are changed, a special developer is required to develop again according to the requirements, the testing and maintenance of the software require a large amount of manpower and material resource expenditure, and meanwhile difficulty is brought to the reliability of the software.
At present, some testing, launching and controlling software is combined with a configuration technology, partial functions of the software can be completed in a simple mode similar to building blocks, when the requirement of a test task is changed, a large amount of development of a bottom layer source code level is not needed, the flexibility and configurability of the software are realized, the design and development efficiency is improved, and the software development period is shortened. For example, the target range measurement and control software consists of an engineering manager, a development system, an operation system, a real-time database and other modules, and different missile measurement and control projects are quickly established according to missile types, test purposes and measurement and control schemes. The existing configuration testing and launching control software forms a set of internal closed-loop system according to the actual data engineering and the characteristics of the tested object, and realizes the processing, editing and displaying of fixed type data, and the tight coupling among modules of interactive interface editing, data monitoring, data processing, data storage and the like by means of a pre-cured program. The aerospace craft is complicated in remote measurement parameters, different types of aircrafts and models have different parameter design and processing, and once a data processing end changes, editing and monitoring of an interactive interface cannot be applied. The design of the configuration control of the existing testing, launching and controlling software is limited to a specific engineering type, although the user-defined control can be integrated, the design of the control is lack of a universal interface, and a user needs to compile a large amount of codes for expanding the control function and developing a new control, so that the integration difficulty is high.
Disclosure of Invention
The invention solves the problems: the configuration display control system based on the complex parameters overcomes the defects of the prior art, achieves the goal that one set of software is applied to multiple models in a universal mode, designs a universal interface for the control, greatly reduces the difficulty of flexible extension and integration of the control, realizes real-time monitoring of complex parameter test data of the aircraft, saves manpower and material resources, reduces cost, greatly improves development efficiency, and realizes software multiplexing.
The technical solution of the invention is as follows: a configuration display and control system based on complex parameters comprises: the system comprises a data configuration module, a control design module, an interface configuration module and a display terminal module;
a data configuration module: the method comprises the steps of configuring test coverage parameters, a data frame protocol, a parameter processing formula and user login permission, and generating a data configuration file stored in an xml file format for an interface configuration module and a display terminal module;
a control design module: the configuration control element design is realized and is used by an interface configuration module and a display control terminal module; the module comprises a series of well-defined controls, and is provided with a universal persistent interface and a standardized data service interface, so that the user-defined controls are supported; when the display terminal module interacts with the data center, each configuration control element receives data analyzed by the display terminal module, extracts data corresponding to self-bound test parameters from the data, and sends the extracted test parameter data and self control attributes to the display terminal module;
an interface configuration module: the terminal interface configuration method comprises the steps that a terminal interface meeting a test task is rapidly configured, and after configuration is completed, interface configuration information is stored in an xml file format and is loaded by a display terminal module; the specific configuration method comprises the following steps: aiming at a specific test task, establishing an interface template and a configuration interface, selecting a corresponding control from a control library in a dragging mode to carry out layout design on a display terminal interface, and carrying out attribute setting and binding test parameters on the control, wherein the test parameters are from a data configuration file generated by a data configuration module;
a display terminal module: when a user logs in the system, loading a test task terminal interface which can be accessed by the current user according to user permission information configured by the data configuration module and xml interface configuration information generated by the interface configuration module; the configuration control device is connected with the data center, receives and analyzes data sent by the data center, sends the analyzed data to all the configuration controls, receives test parameter data and attributes sent by each configuration control, and displays the test parameter data according to the attributes of each configuration control.
The control design module provides a universal persistence interface for each control, and the universal persistence interface has the following four functions: setting a unique identifier, deserializing, information persistence and copying;
the setting of the unique identifier is that a unique identifier ID is set for the control; deserializing is used for obtaining attributes set by the control from the interface configuration information, including all attribute names and attribute values, and converting the attribute values into corresponding numerical value types; writing the current or modified attribute name and attribute value of the control into interface configuration information by information persistence; the copy is used for realizing the copy use of all the attributes of the current control.
The control design module provides a standardized data service interface for each control, and the standardized data service interface has the following five functions: starting, pausing, stopping, obtaining parameter types and obtaining binding parameters;
starting processing events for subscribing various data services, including real-time data receiving events and historical data receiving events; suspending processing events for suspending subscription data services; stopping processing events for unsubscribing data services; the method comprises the steps of obtaining a parameter type for obtaining the type of a control associated parameter, wherein the parameter type comprises an analog quantity, a state quantity, a parameter quantity, a fault diagnosis and a fault absence; and acquiring the binding parameters to acquire parameter information bound by the control, wherein the parameter information is stored in an Xelement type and is used for positioning the associated parameters of the control.
The data configuration file generated by the data configuration module is simultaneously provided for the data center, so that the data center can process various types of data.
Compared with the prior art, the invention has the beneficial effects that:
(1) the invention gets rid of a mode of developing a set of software from beginning to end in a project or a model, separates the display control from the data center, realizes the configuration of test coverage parameters, data frame protocols, participation processing formulas and user login authorities through the data configuration module, and provides data configuration files for the data center, thereby realizing the processing of various types of data in different fields, further expanding the application range of the display control system, achieving the universal target of applying a set of software to a plurality of models, realizing the real-time monitoring of the test data of complex parameters of the aircraft, saving manpower and material resources, reducing the cost, greatly improving the development efficiency and realizing the reuse of the software.
(2) The invention adopts the software configuration design idea, solidifies the functions of communication, data processing, data display and the like in a program by using a universal processing code, takes the test parameters, the communication protocol, the calculation formula and the like as configuration parameter items, and adopts a configuration tool to carry out configuration and entry, thereby realizing the rapid configurable design. Once the parameters, communication protocols and test detailed rule input are clear, the software can be configured and operated, and one set of software can be used for multiple models.
(3) The control design module realizes standardization and flexible expansion of user-defined control design through a standardized data service interface and a universal persistent interface, realizes automatic generation of interactive interface configuration, automatically loads a monitoring display terminal, can develop user-defined functions on the basis of using the existing functions, conveniently completes software updating and upgrading without modifying a lot when the user requirements change, and greatly expands the application range and the application field of the invention.
Drawings
FIG. 1 is a schematic diagram of a display control system according to the present invention;
FIG. 2 is a diagram illustrating the design and invocation of a universal interface for configuration controls according to the present invention;
fig. 3 is a schematic diagram illustrating a terminal module interface loading and data displaying method.
Detailed Description
The invention provides a configuration display and control system based on complex parameters, which is applied to test, launch and control software, separates display and control from a data center, and realizes the processing of various types of data in different fields, the configuration of a display and control interface and the flexible loading of a terminal, and as shown in figure 1, the system comprises a data configuration module, a control design module, an interface configuration module and a display terminal module.
The data configuration module realizes the configuration of test coverage parameters, data frame protocols, parameter processing formulas and user login permissions, and generates data configuration files stored in an xml file format for the interface configuration module and the display terminal module to use.
The data configuration module is specifically realized as follows:
the data configuration module comprises a parameter base configuration module, a frame protocol configuration module, a formula configuration module and a user authority configuration module, wherein: the parameter library configuration module mainly completes configuration management of test coverage parameters, and mainly comprises functions of parameter directory establishment, parameter creation, parameter editing, parameter deletion, parameter searching, parameter storage and the like. The parameter information includes parameter name, parameter code number, maximum value, minimum value, unit, real-time processing, print report, parameter property, etc. The configuration process supports manual configuration of a user through a human-computer interaction interface, and simultaneously supports batch import of parameters through word and excel file formats. The configured parameter information is stored in an xml file form to form a parameter library of software for a frame protocol configuration module, a formula configuration module and an interface configuration module.
A frame protocol configuration module: the configuration of the data frame protocol is completed, and the configuration mainly comprises the functions of frame protocol management, main frame importing, subframe importing, editing, deleting, searching, saving, frame protocol directory management and the like. And providing a uniform universal frame protocol configuration template, and importing the data frame information after the data frame information is filled by a user. The corresponding parameter base information can be automatically matched and associated with the frame protocol. The frame protocol information comprises a parameter name, a parameter code number, a parameter sequence, a byte number, an occurrence frequency, whether a subframe is present, a subframe name, a data type, whether an inverted code is present, a low byte is present, a grouping, a segment number, a start bit, a bit length, a channel position and the like. The frame protocol information storage also adopts xml file storage to form a software frame protocol library.
A formula configuration module: the method mainly completes the configuration function of the parameter processing formula. The method comprises the functions of importing a parameter formula, editing, deleting and managing formula catalogues, wherein the function of importing the parameter formula realizes the searching of parameters in a parameter library, the function of importing the parameter formula information matched with parameters in the parameter library in a word file, and the function of importing the parameter formula information into a formula configuration library. The formula information includes parameter names, parameter codes, and coefficients a, b, and c of the linear formula y ═ a/b × + c. And the formula information storage adopts xml file storage to form a formula library of the software.
A user authority configuration module: the authority configuration of the login software user is mainly completed, and the authority configuration comprises the configuration management of a user name, a password, a role, a department and an access interface. The information storage adopts xml file storage. For use by the display terminal module.
The control design module realizes the design of a configuration control for the interface configuration module and the display terminal module; the module comprises a series of well-defined controls including texts, numerical quantities, analog quantities, status lights, curves, switching bars, star point diagrams and the like, and can be directly used by the system. Meanwhile, the system has a universal persistent interface and a standardized data service interface, supports a user-defined control, realizes flexible design and quick definition of the user-defined control, is directly used by the system, and greatly reduces development cost.
The control design module is specifically designed as follows:
the control design module mainly comprises a basic core module, an attribute management module, a persistence module and a data service module. Wherein: the basic core module defines basic properties and editor types for the property panel design of the control, and the basic properties and the editor types are used by a user in the development process of the user-defined control. The basic properties include the properties of name, description, event, focus, hide, priority edit, form type filter, etc. of the property panel. The editor types comprise various editor attributes such as colors, fonts, drop-down boxes, xml editors, multi-selection boxes, character types, integer types, floating point types, time, dragging types, combination types and the like.
An attribute management module: the attribute management module realizes flexible definition of the custom control attributes. The definition of the custom control attribute can be realized only by calling and setting the basic attribute and the editor type of the basic core module. For example, adding the attribute of the background color of the control to a certain newly-built custom control, only defining the name of a property panel as the background color and the type of the editor as the color, and enabling the generated control to be used by an interface configuration module and to have the editing attribute of the background color.
A persistence module: the persistence module defines and realizes a universal persistence interface of the control, and the interface comprises the following four functions: setting a unique identifier, deserializing, information persistence and copying. And setting a unique identifier, namely setting a unique identifier ID for the control. The deserialization is used for obtaining all the attribute names and attribute values defined by the control from the interface configuration information and converting the attribute values into corresponding numerical value types. And writing the current or modified attribute name and attribute value of the control into interface configuration information by information persistence. The copy is used for realizing the copy use of all the attributes of the current control.
A data service module: the data service module defines and realizes a standardized data service interface of the control, and the standardized data service interface has the following five functions: start, pause, stop, get parameter type and get binding parameter. And starting processing events for subscribing various data services, including real-time data receiving events, historical data receiving events and the like. The pause is for pausing the subscription data service processing event. Stopping processing events for unsubscribing data services. The parameter type is used for obtaining the type of the associated parameter of the control, wherein 1 represents an analog quantity, 2 represents a state quantity, 3 represents a parameter quantity, 4 represents fault diagnosis, and 5 represents no associated parameter type. The binding parameters are used for acquiring parameter information bound by the control, and the parameter information is stored in an Xelement type and used for positioning the associated parameters of the control.
Fig. 2 is a schematic diagram illustrating the design and calling of a universal interface of the configuration control according to the present invention, wherein the interface configuration module and the display terminal module are based on the configuration control. And if a configuration page is newly established, the interface configuration module adds a new control in the page, triggers the control to set the unique control identification and sets the control attribute. And if a new configuration page is not needed, loading the defined control, acquiring the defined attribute information of the added control by calling the deserialization function, wherein the attribute information can be used for a user to set the control in the page, saving the page information after the setting of the control attribute is finished, calling a universal persistent interface, writing the control related configuration information in the page into an xml configuration file, and generating the page configuration file. When the configured page is operated, the display terminal module loads the control, performs data subscription in the process and calls a standardized data service interface. The method comprises the steps of processing an event by starting a function subscription data service, acquiring a parameter type associated with a control by acquiring a parameter type function, acquiring parameter information bound by the control by acquiring a bound parameter function, and canceling the data subscription event by calling a stop function after the terminal control finishes data loading.
The interface configuration module is used for rapidly configuring a terminal interface meeting the test task, and after the configuration is finished, interface configuration information is stored in an xml file format and is loaded by the display terminal module; the specific configuration method comprises the following steps: aiming at a specific test task, an interface template and a configuration interface are established, a corresponding control is selected from a control library in a dragging mode to carry out layout design on a display terminal interface, attribute setting and binding test parameters are carried out on the control, and complex test parameters are set and come from a data configuration file generated by a data configuration module.
The interface configuration module is specifically designed as follows:
the interface configuration module comprises a control library management module, an interface template management module, an interface layout design module, an attribute configuration module and a parameter binding module. Wherein: the control library management module is used for managing all the configuration controls and the self-defined controls. The control classes include control controls, state controls, drawing controls, and other four classes. The control comprises a direct instruction, an indirect instruction, a test flow, a dynamic editing direct instruction and a dynamic editing indirect instruction. The state control comprises an analog quantity text, a digital quantity text, an analog quantity lamp, a state quantity lamp, a total out-of-tolerance lamp, a parameter out-of-tolerance count, a bit-based interpretation state lamp, a bit-based interpretation state word and the like. The drawing control comprises a curve drawing control and a star point drawing control. Other controls include page switches, system time, real-time status output, and the like.
An interface layout design module: the configuration of the test display interface is realized, a configuration page is newly established, the established page is displayed in a main editing window in a label page mode, in an editable page, a required control is dragged to a specified position of the page from a tool box through a dragging method, and the size and the position of the control can be subjected to dragging type modification. In the editing page, one or more controls are selected in a pointing mode, and pasting and copying operations can be carried out on the controls. After the layout design of the interface is finished, the configured page is saved as a template, and the template and the page information are saved in an XML file format. The editor may continue to edit the existing page by loading the local template. And the preview function can be started to preview the designed page without operating a terminal aiming at the configured page.
An attribute configuration module: the attribute configuration module realizes the attribute configuration function of the configurable control, a user can perform personalized setting on the style of the page and the control, the attributes such as the position, the size, the font, the color and the like of the control belong to the common basic attributes of the control, and specific attribute configurations such as a judgment mode, a refresh frequency, a display digit (if the display is in hexadecimal, complex data display 0-3 digits) and the like are also provided for different user-defined controls, and the special attributes can be defined and realized through the attribute management module of the control design module.
A parameter binding module: and the parameter binding module realizes the creation of the incidence relation between the configuration control and the processing parameter. Selecting binding parameters, acquiring a parameter library form, selecting the parameters to be bound through parameter names and codes, returning parameter information in an Xelement structure form, associating the parameter information with the current control, wherein the attribute comprises all information of the selected parameters, and processing data through acquiring the bound parameter information when the display terminal loads the control.
A display terminal module: when a user logs in the system, loading a test task terminal interface which can be accessed by the current user according to user permission information configured by the data configuration module and xml interface configuration information generated by the interface configuration module; and each configuration control component extracts the data corresponding to the bound test parameters from the data, and sends the extracted data and the set attributes to the display terminal module for display.
The display terminal module is specifically designed as follows:
the display terminal module comprises a network communication module, a user authority verification module, an interface loading module and a data processing module. Wherein: the network communication module supports two communication protocols of TCP and UDP, and is responsible for receiving data frames transmitted by the data center and sending status frames to the data center. And data communication between the display control terminal module and the data center is realized.
A user authority verification module: and the user authority verification module is used for verifying a user name and a password when the operation terminal is started, and loading a test task terminal interface accessible to the user according to the user access authority returned by the data center. And configuring the user authority information in the data configuration module. For example, the user a is configured with the right to view the interface of the GNC system terminal, and after the user a logs in the terminal, only the interface of the GNC system can be accessed, and other sub-system interfaces cannot be accessed.
An interface loading module: the interface loading module realizes the loading operation of the test task terminal interface configured in the interface configuration module on the display terminal module. The module designs a uniform service execution process, facilitates flexible expansion and rapid modification of software and controls, realizes loading and running of each user-defined control, and realizes real-time display of data by the controls.
A data processing module: and the data processing module is used for processing the data received by the control from the network communication module and displaying the data according to the display mode configured by the control. The display modes comprise bitwise display, binary display, decimal display and hexadecimal display. The method for processing and displaying data according to the control configuration comprises the following steps: firstly, selecting the numerical quantity parameter values from the data frames, converting the numerical quantity parameter values into decimal, then converting the decimal into a binary character string, intercepting the binary character string according to the configuration start bit and the configuration stop bit displayed by the control according to the bit, converting the intercepted binary character string into decimal, and then converting the processed data into binary, hexadecimal or decimal for refreshing and displaying in real time according to the configuration display mode. For example, a parameter with a byte value of 230 is selected from 0 to 3 bits and displayed in hexadecimal. 230 is converted into binary 11100110, the binary character string after 0 to 3 bits is intercepted is 1110, the binary character string is converted into decimal 14, 14 is converted into hexadecimal E, and the control finally refreshes the data display E.
As shown in fig. 3, a method for loading an interface of a display terminal module and displaying data is provided, in which a communication between the display terminal module and a data center is established through a network communication module, the display terminal module sends login verification frame information to the data center according to login information of a user, and after the verification is successful, the data center returns the login verification frame information, which includes a test task terminal interface allowing the current user to load. The display terminal module is provided with a uniform display operation window 'Shell', and loads a template file generated in the interface configuration module in the window loading process, wherein the template file comprises a plurality of pages customized by a user, each page is an xml file, and all page xml file information is uniformly stored in a globle. And (4) initializing the page layout and creating the controls by reading the global xml file and traversing all the page xml files in the template, wherein the xml file of each page stores all the controls and attribute information contained in the configured page layout. When a program traverses each control in a page layout, the program enables the current control to subscribe a real-time data receiving event and acquire the parameter types which can be processed by the current control, then judges whether the current control is bound with the parameter information to be processed according to different parameter types, if the control does not have the bound parameter information, the parameter information bound by the control is acquired from interface configuration information (a page xml file), after traversing of all the controls in the page layout is completed, a corresponding parameter registration command is sent to a data center so that the data center can process the registered parameters, and finally a registration completion command is sent to the data center to inform the data center of completing parameter registration. The network communication module monitors a data frame sent by the data center to the display terminal module, checks the structure of the data frame after the data frame is received, and judges the frame type. And sending the data frame to a control subscribed to receive the corresponding data frame type according to different data frame types, informing the control of a data receiving event, analyzing the data frame, acquiring the number of parameters and a parameter ID in the data frame, traversing all the parameters, refreshing the display data of the control and displaying the data according to the set attribute if the ID is consistent with the parameter ID bound by the control.
The display control system gets rid of a mode of developing a set of software from beginning to end in an engineering or a model, separates display control from a data center, realizes the configuration of test coverage parameters, a data frame protocol, a participation processing formula and user login authority through a data configuration module, and provides a data configuration file for the data center, thereby realizing the processing of various types of data in different fields and further expanding the application range of the display control system; the method comprises the steps of adopting a complex parameter data processing and displaying method based on event registration to realize real-time monitoring of aircraft complex parameter test data, providing a configuration control element design method of a standardized data service interface and a universal persistent interface, carrying out custom control element design standardization and flexible expansion, realizing automatic generation of interactive interface configuration and automatic loading of a monitoring display terminal, achieving the purpose that one set of software is applied to multiple models in a universal mode, realizing real-time monitoring of aircraft complex parameter test data, saving manpower and material resources, reducing cost, greatly improving development efficiency and realizing software multiplexing.
Those skilled in the art will appreciate that those matters not described in detail in the present specification are well known in the art.
Claims (4)
1. A configuration display control system based on complex parameters is characterized by comprising: the system comprises a data configuration module, a control design module, an interface configuration module and a display terminal module;
a data configuration module: the method comprises the steps of configuring test coverage parameters, a data frame protocol, a parameter processing formula and user login permission, and generating a data configuration file stored in an xml file format for an interface configuration module and a display terminal module;
the data configuration module comprises a parameter library configuration module, a frame protocol configuration module, a formula configuration module and a user permission configuration module;
a parameter base configuration module: completing configuration management of test coverage parameters, including parameter directory establishment, parameter creation, editing, deletion, search and storage functions; the parameter information comprises parameter names, parameter codes, maximum values, minimum values, units, real-time processing, printing reports and parameter properties; the configuration process supports manual configuration of a user through a human-computer interaction interface, and simultaneously supports batch import of parameters through word and excel file formats; the configured parameter information is stored in an xml file form to form a parameter library of software for a frame protocol configuration module, a formula configuration module and an interface configuration module;
a frame protocol configuration module: finishing the configuration of a data frame protocol, including frame protocol management, leading-in of a main frame, leading-in of a sub-frame, editing, deleting, searching, storing and frame protocol directory management functions; providing a uniform universal frame protocol configuration template, and importing the data frame information after the data frame information is filled by a user; corresponding parameter library information can be automatically matched and associated with a frame protocol; the frame protocol information comprises a parameter name, a parameter code number, a parameter sequence, the number of bytes, the occurrence frequency, whether a subframe is present or not, a subframe name, a data type, whether an inverted code is present or not, whether a low byte is present or not, grouping, a segment number, a start bit, a bit length and a wave channel position; storing frame protocol information by using an xml file to form a software frame protocol library;
a formula configuration module: finishing a parameter processing formula configuration function, including parameter formula importing, editing, deleting and formula catalog management functions, wherein the parameter formula importing function realizes searching parameters in a parameter library, realizes importing parameter formula information matched with the parameters in the parameter library in a word file, and imports the parameter formula information into a formula configuration library; the formula information comprises parameter names, parameter codes and coefficients a, b and c of a linear formula y, a/b, x and c, and the formula information is stored by an xml file to form a formula library of the software;
a user authority configuration module: the authority configuration of the login software user is completed, the authority configuration comprises the configuration management of a user name, a password, a role, a department and an access interface, and the information storage adopts an xml file for storage and is used by a display terminal module;
a control design module: the configuration control element design is realized and is used by an interface configuration module and a display control terminal module; the module comprises a series of well-defined controls, and is provided with a universal persistent interface and a standardized data service interface, so that the user-defined controls are supported; when the display terminal module interacts with the data center, each configuration control element receives data analyzed by the display terminal module, extracts data corresponding to self-bound test parameters from the data, and sends the extracted test parameter data and self control attributes to the display terminal module;
the control design module comprises a basic core module, an attribute management module, a persistence module and a data service module;
a basic core module: defining basic properties and editor types for the property panel design of the control, and enabling a user to use the basic properties and the editor types in the development process of self-defining the control; the basic attributes comprise the attributes of name, description, event, focus, hiding, preferential editing and form type filtering of an attribute panel, and the editor types comprise color, font, drop-down box, xml editor, multi-choice box, character type, integer type, floating point type, time, drag and combination type;
an attribute management module: the flexible definition of the custom control attribute is realized, and the definition of the custom control attribute can be realized only by calling and setting the basic attribute and the editor type of the basic core module;
a persistence module: a universal persistent interface of the control is defined and realized, and the interface comprises the following four functions: setting a unique identifier, deserializing, information persistence and copying;
a data service module: the standardized data service interface of the control is defined and realized, and has the following five functions: starting, pausing, stopping, obtaining parameter types and obtaining binding parameters;
an interface configuration module: the terminal interface configuration method comprises the steps that a terminal interface meeting a test task is rapidly configured, and after configuration is completed, interface configuration information is stored in an xml file format and is loaded by a display terminal module; the specific configuration method comprises the following steps: aiming at a specific test task, establishing an interface template and a configuration interface, selecting a corresponding control from a control library in a dragging mode to carry out layout design on a display terminal interface, and carrying out attribute setting and binding test parameters on the control, wherein the test parameters are from a data configuration file generated by a data configuration module;
the interface configuration module comprises a control library management module, an interface layout design module, an attribute configuration module and a parameter binding module;
control library management module: the system is used for managing all configuration controls and custom controls, the control classification comprises control controls, state controls, drawing controls and other four types, and the control controls comprise direct instructions, indirect instructions, test flows, dynamic editing direct instructions and dynamic editing indirect instructions; the state control comprises an analog quantity text, a digital quantity text, an analog quantity lamp, a state quantity lamp, a total out-of-tolerance lamp, a parameter out-of-tolerance count, a bit-based interpretation state lamp and a bit-based interpretation state word; the drawing control comprises a curve drawing control and a star point drawing control; other controls include page switching, system time, real-time status output controls;
an interface layout design module: the method comprises the steps of configuring a test display interface, creating a configuration page, displaying the created page in a main editing window in a label page mode, dragging a required control to a specified position of the page from a tool box through a dragging method in an editable page, and performing dragging type modification on the size and the position of the control; in the editing page, one or more controls are selected in a pointing mode, and pasting and copying operations can be carried out on the controls; after the layout design of the interface is finished, the configured page is saved as a template, the template and the page information are saved in an XML file format, an editor can continuously edit the existing page by loading a local template, a terminal does not need to be operated aiming at the configured page, a preview function can be started, and the designed page is previewed;
an attribute configuration module: the attribute configuration module realizes the attribute configuration function of the configuration control, and a user can set the style of the page and the control individually;
a parameter binding module: the parameter binding module realizes the creation of the incidence relation between the configuration control and the processing parameter; selecting binding parameters, acquiring a parameter library form, selecting parameters to be bound according to parameter names and codes, returning parameter information in an Xelement structure form, associating the parameter information with a current control, wherein the attribute comprises all information of the selected parameters, and processing data by acquiring the bound parameter information when a display terminal loads the control;
a display terminal module: when a user logs in the system, loading a test task terminal interface which can be accessed by the current user according to user permission information configured by the data configuration module and xml interface configuration information generated by the interface configuration module; the configuration control device is connected with a data center, receives and analyzes data sent by the data center, sends the analyzed data to all configuration controls, receives test parameter data and attributes sent by each configuration control, and displays the test parameter data according to the attributes of each configuration control;
the display terminal module comprises a network communication module, a user authority verification module, an interface loading module and a data processing module;
a network communication module: the data center supports two communication protocols of TCP and UDP, and is responsible for receiving data frames transmitted by the data center and sending status frames to the data center to realize data communication between the display control terminal module and the data center;
a user authority verification module: the user authority verification module is used for verifying a user name and a password when the operation terminal is started, and loading a test task terminal interface accessible to a user according to the user access authority returned by the data center; configuring the user authority information in a data configuration module;
an interface loading module: the interface loading module realizes the loading and running of a test task terminal interface configured in the interface configuration module on the display terminal module, designs a uniform service execution process, is convenient for flexible expansion and rapid modification of software and controls, realizes the loading and running of each user-defined control and realizes the real-time display of data by the controls;
a data processing module: the data processing module is used for processing the data received by the control from the network communication module and processing and displaying the data according to a display mode configured by the control, wherein the display mode comprises bitwise display, binary display, decimal display and hexadecimal display.
2. The system of claim 1, wherein: the control design module provides a universal persistence interface for each control, and the universal persistence interface has the following four functions: setting a unique identifier, deserializing, information persistence and copying;
the setting of the unique identifier is that a unique identifier ID is set for the control; deserializing is used for obtaining attributes set by the control from the interface configuration information, including all attribute names and attribute values, and converting the attribute values into corresponding numerical value types; writing the current or modified attribute name and attribute value of the control into interface configuration information by information persistence; the copy is used for realizing the copy use of all the attributes of the current control.
3. The system of claim 1, wherein: the control design module provides a standardized data service interface for each control, and the standardized data service interface has the following five functions: starting, pausing, stopping, obtaining parameter types and obtaining binding parameters;
starting processing events for subscribing various data services, including real-time data receiving events and historical data receiving events; suspending processing events for suspending subscription data services; stopping processing events for unsubscribing data services; the method comprises the steps of obtaining a parameter type for obtaining the type of a control associated parameter, wherein the parameter type comprises an analog quantity, a state quantity, a parameter quantity, a fault diagnosis and a fault absence; and acquiring the binding parameters to acquire parameter information bound by the control, wherein the parameter information is stored in an Xelement type and is used for positioning the associated parameters of the control.
4. The system of claim 1, wherein: the data configuration file generated by the data configuration module is simultaneously provided for the data center, so that the data center can process various types of data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610906709.7A CN106569801B (en) | 2016-10-18 | 2016-10-18 | Configuration display and control system based on complex parameters |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610906709.7A CN106569801B (en) | 2016-10-18 | 2016-10-18 | Configuration display and control system based on complex parameters |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106569801A CN106569801A (en) | 2017-04-19 |
CN106569801B true CN106569801B (en) | 2020-04-10 |
Family
ID=58533688
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610906709.7A Active CN106569801B (en) | 2016-10-18 | 2016-10-18 | Configuration display and control system based on complex parameters |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106569801B (en) |
Families Citing this family (39)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107861459A (en) * | 2017-11-09 | 2018-03-30 | 山东省计算中心(国家超级计算济南中心) | A kind of PLC control system and its control method of configurable aobvious control integration |
CN108491195A (en) * | 2018-01-26 | 2018-09-04 | 海尔优家智能科技(北京)有限公司 | Equipment controls page generation method and system |
CN108346342B (en) * | 2018-03-02 | 2019-02-26 | 北京空间技术研制试验中心 | Analogue system for astronaut training |
CN108595175A (en) * | 2018-04-02 | 2018-09-28 | 北京航空航天大学 | Digital aircraft Real-time Two-dimensional display interface source program artificial intelligence Writing method |
CN108711179B (en) * | 2018-05-21 | 2022-07-19 | 杭州多技教育科技有限公司 | Drawing reduction method and system |
CN108829440B (en) * | 2018-05-31 | 2023-05-02 | 福州谛听科技有限公司 | Method and system for converting logic configuration array into logic execution command |
CN109960492A (en) * | 2018-10-15 | 2019-07-02 | 扬州万方电子技术有限责任公司 | A kind of detection system and its application method based on QT platform |
CN110362465A (en) * | 2018-10-22 | 2019-10-22 | 江苏艾科半导体有限公司 | A method of test program relevant information is saved using XML file |
CN109189099B (en) * | 2018-11-09 | 2021-07-13 | 福州大学 | Graphical control configuration method of quad-rotor unmanned aerial vehicle |
CN109558524A (en) * | 2018-11-14 | 2019-04-02 | 无锡信捷电气股份有限公司 | The internet of things equipment monitoring method and device of configurableization |
CN111367597A (en) * | 2018-12-26 | 2020-07-03 | 杭州海康威视系统技术有限公司 | Color switching method and device and electronic equipment |
CN110554896B (en) * | 2019-08-02 | 2022-09-13 | 中电科思仪科技(安徽)有限公司 | Interface design method based on preset picture pixel anchor point information processing |
CN110795071A (en) * | 2019-10-11 | 2020-02-14 | 国电南京自动化股份有限公司 | User interface design and code separation method supporting real-time data dynamic binding |
CN110673879A (en) * | 2019-10-24 | 2020-01-10 | 珠海格力电器股份有限公司 | One-key adjustment method and device for element style of configuration software |
CN110888354A (en) * | 2019-11-21 | 2020-03-17 | 深圳赛动生物自动化有限公司 | Method and device for realizing automatic identification of access equipment, computer equipment and medium |
CN111190598B (en) * | 2019-12-30 | 2022-01-04 | 中国航发控制系统研究所 | Gas turbine monitoring software picture configuration method based on control library drag-type development |
CN113448642B (en) * | 2020-03-11 | 2022-11-15 | 成都鼎桥通信技术有限公司 | System file access method and device and electronic equipment |
CN111585792B (en) * | 2020-04-17 | 2023-05-26 | 湖南三一智能控制设备有限公司 | Data port configuration method and data port configuration device |
WO2021258349A1 (en) * | 2020-06-24 | 2021-12-30 | 深圳市大疆创新科技有限公司 | Test configuration method and apparatus for unmanned aerial vehicle, and terminal device |
CN111488631B (en) * | 2020-06-28 | 2020-09-22 | 中国核动力研究设计院 | Nuclear-level security display device and configuration-analysis system thereof |
CN111880787A (en) * | 2020-07-23 | 2020-11-03 | 中国航发控制系统研究所 | Configuration development method for distributed IO (input/output) component of gas turbine control software |
CN112130847A (en) * | 2020-09-18 | 2020-12-25 | 苏州讯罡智能设备有限公司 | Target machine visual monitoring software design method based on eclipse plug-in |
CN112169313B (en) * | 2020-10-19 | 2024-04-12 | 网易(杭州)网络有限公司 | Game interface setting method and device, electronic equipment and storage medium |
CN112162733B (en) * | 2020-10-23 | 2022-11-22 | 西安电子工程研究所 | Design method of phased array radar modular monitoring software based on Qt |
CN112416224B (en) * | 2020-11-17 | 2022-03-18 | 珠海格力电器股份有限公司 | Function extension method and storage medium for configuration software button control |
CN112702386B (en) * | 2020-11-30 | 2024-05-24 | 中国南方航空股份有限公司 | Real-time subscription system for aircraft fault information |
CN112631585B (en) * | 2020-12-22 | 2023-03-31 | 中国航空工业集团公司西安航空计算技术研究所 | XML-based rapid parameter interface configuration method |
CN115048161A (en) * | 2021-02-26 | 2022-09-13 | 华为技术有限公司 | Application control method, electronic device, apparatus, and medium |
CN112905262B (en) * | 2021-03-09 | 2024-06-04 | 中国人民解放军63920部队 | Configuration method and device of aerospace measurement and control system |
CN113050966B (en) * | 2021-03-12 | 2024-07-26 | 重庆长安汽车股份有限公司 | Method and system for updating theme of vehicle display interface |
CN113505054B (en) * | 2021-04-08 | 2023-12-12 | 中国航空无线电电子研究所 | Network data static test system and test method for unmanned aerial vehicle control station |
CN113703758B (en) * | 2021-08-16 | 2023-10-31 | 深圳市顶控科技有限公司 | Method for quickly cloning configuration custom control |
CN113791636A (en) * | 2021-08-24 | 2021-12-14 | 上海机电工程研究所 | System and method for controlling configurable execution |
CN113900749A (en) * | 2021-09-26 | 2022-01-07 | 成都飞机工业(集团)有限责任公司 | Monitoring picture online customization method based on test flight monitoring platform |
CN114090125B (en) * | 2021-11-23 | 2024-07-23 | 金蝶软件(中国)有限公司 | Interface configuration method and related equipment |
CN114117011A (en) * | 2021-11-29 | 2022-03-01 | 武汉联影智融医疗科技有限公司 | Development method, device and system of lower computer simulator and storage medium |
CN114896003A (en) * | 2022-04-13 | 2022-08-12 | 青岛海尔科技有限公司 | Page configuration method and device, storage medium and electronic device |
CN115840352A (en) * | 2022-10-27 | 2023-03-24 | 宁畅信息产业(北京)有限公司 | Parameter testing method, device, equipment and medium |
CN115686634B (en) * | 2023-01-03 | 2023-03-28 | 东方空间技术(山东)有限公司 | Processing method, device, terminal and storage medium for testing, issuing and controlling flow instructions |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6097386A (en) * | 1997-03-07 | 2000-08-01 | International Business Machines Corporation | Data processing system having context sensitive visual feedback for user interface controls and method therefor |
CN103593730A (en) * | 2013-10-30 | 2014-02-19 | 中国运载火箭技术研究院 | Design parameter management system capable of backtracking |
CN103761082A (en) * | 2013-12-31 | 2014-04-30 | 湖南大唐先一科技有限公司 | Componential research and development mode and domain driving model combined application development system and platform |
CN105974804A (en) * | 2016-05-09 | 2016-09-28 | 北京小米移动软件有限公司 | Method and device for controlling equipment |
-
2016
- 2016-10-18 CN CN201610906709.7A patent/CN106569801B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6097386A (en) * | 1997-03-07 | 2000-08-01 | International Business Machines Corporation | Data processing system having context sensitive visual feedback for user interface controls and method therefor |
CN103593730A (en) * | 2013-10-30 | 2014-02-19 | 中国运载火箭技术研究院 | Design parameter management system capable of backtracking |
CN103761082A (en) * | 2013-12-31 | 2014-04-30 | 湖南大唐先一科技有限公司 | Componential research and development mode and domain driving model combined application development system and platform |
CN105974804A (en) * | 2016-05-09 | 2016-09-28 | 北京小米移动软件有限公司 | Method and device for controlling equipment |
Non-Patent Citations (1)
Title |
---|
"航天通用测发控软件平台设计与应用";褚厚斌 等;《计算机测量与控制》;20140531;第1799-1801页 * |
Also Published As
Publication number | Publication date |
---|---|
CN106569801A (en) | 2017-04-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106569801B (en) | Configuration display and control system based on complex parameters | |
CN114035773B (en) | Configuration-based low-code form development method, system and device | |
CN108279932B (en) | Method and device for dynamically configuring user interface of mobile terminal | |
CN107357942A (en) | A kind of source code auxiliary Core Generator and its generation method | |
EP3367234A2 (en) | Systems and methods for arbitrary software logic modeling | |
CN109933752A (en) | A kind of method and apparatus exporting electronic document | |
CN102760059B (en) | Automatic generating method for standardized test scripts of relay protection device of electrical system | |
CN102236544B (en) | Method and device for designing skins | |
CN104021080A (en) | Automatic testing system based on custom scripts | |
CN107273122A (en) | Based on decoupling mechanism can iteration set up operation system method and its terminal | |
CN109783083A (en) | WEB application development approach and its system | |
CN114205230B (en) | Configuration method, system, medium and electronic equipment of cloud primary network element | |
CN111784108B (en) | Modeling method and device of main data management platform | |
CN105096104A (en) | Form operation authority control method, apparatus and office automation system | |
de_Almeida Monte-Mor et al. | Applying MDA approach to create graphical user interfaces | |
CN108089879A (en) | Increment updating method, equipment and programmable device | |
CN107122182B (en) | Method and system for constructing and releasing code | |
CN106951593B (en) | Method and device for generating configuration file of protection measurement and control device | |
CN115098082A (en) | Production line script generation method, system, equipment and medium based on Jenkins plug-in | |
CN113505054B (en) | Network data static test system and test method for unmanned aerial vehicle control station | |
CN117539458A (en) | Visual and draggable low-code development tool | |
CN115328462A (en) | Js visualization development tool based on Vue and using method | |
CN116151804A (en) | Automatic operation ticket generation method, device, equipment and storage medium | |
CN114153425A (en) | Application modeling system and modeling method thereof | |
CN114385243A (en) | Method and device for automatically issuing instructions for controlling layout engine |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |