CN-122018417-A - Logic editing system and method for rapid construction of aviation man-machine interaction prototype
Abstract
The invention provides a logic editing system and a logic editing method for rapid construction of an aviation man-machine interaction prototype. The system comprises a control module, a logic blueprint module and a console module, wherein the console module is used for configuring an external data interface of a node object, the control module encapsulates interaction response and content display logic inside the node object, the logic blueprint module configures numerical value processing and branch judgment logic between the node objects, and the node object refers to an object of a certain level in an aviation man-machine interaction prototype, such as a window node object and a button node object. The requirement of logic editing inside the control can be met.
Inventors
- ZHUANG QIANZHENG
- WANG HUAN
- FU YUHUI
- LI CHEN
- LI XIAODONG
- HU JIAWEN
- LI YINGJING
- ZENG WEIMING
- HE YAN
Assignees
- 中国航空无线电电子研究所
Dates
- Publication Date
- 20260512
- Application Date
- 20251219
Claims (8)
- 1. A logic editing system for fast building of an aviation man-machine interaction prototype is characterized by comprising a control module, a logic blueprint module and a console module, wherein the console module is used for configuring an external data interface of a node object, the control module encapsulates interaction response and content display logic inside the node object, the logic blueprint module configures numerical value processing and branch judgment logic between the node objects, and the node object refers to an object of a certain level in the aviation man-machine interaction prototype, such as a window node object and a button node object.
- 2. The rapid-construction logic editing system for the aviation man-machine interaction prototype according to claim 1, wherein the control module is internally provided with various commonly used controls in an aviation man-machine interaction interface, encapsulates control internal logic comprising interaction response and data response, exposes a logic interface, a data interface, a style interface, a state interface and an event interface of the control, and provides a control attribute editing panel for visually checking and editing attribute values in the interfaces.
- 3. The rapid prototyping logic editing system of claim 1 wherein the logic blueprint module is capable of editing the internal and external logic of 2D prototypes and 3D prototypes by means of graphical programming and based on a "data-event" mechanism.
- 4. The logic editing system for rapid construction of an aviation man-machine interaction prototype according to claim 1, wherein the console module comprises an interface management module, an interface configuration module, a data forwarding and simulation module and a data management module, wherein the interface management module is used for managing internal and external interface relations between the console and the 2D/3D prototype, the external simulation environment and the external interaction equipment, the internal interface refers to a data interface between the console and the 2D prototype and the 3D prototype, and the external interface refers to a data interface between the console and the external simulation environment and the external interaction equipment.
- 5. A logic editing method for rapid construction of an aeronautical man-machine interaction prototype, characterized in that the logic editing system for rapid construction of an aeronautical man-machine interaction prototype according to any one of claims 1-4 is adopted, comprising the following steps: Step 101, configuring an internal interface through a console module; step 102, adding and editing controls through a control module; step 103, editing logic blocks and data streams through a logic blueprint module; And 104, forwarding the internal interface data through a console module to preview the aviation man-machine interaction prototype.
- 6. The method for quickly constructing an aeronautical man-machine interaction prototype according to claim 5, wherein the step 101 specifically comprises the following steps: Step 201, importing an external simulation interface configuration file, and analyzing an external simulation display interface and an external simulation control interface; 202, newly establishing an internal simulation display interface and an internal simulation control interface, and respectively binding with an external interface; Step 203, newly creating an internal control event interface and binding with an external device interface; Step 204, editing the mapping relation between the external equipment interface and the external simulation control interface; And 205, outputting an internal interface configuration script for calling by the control module and the logic blueprint module.
- 7. The method for quickly constructing an aeronautical man-machine interaction prototype according to claim 5, wherein in step 102, the control property editing panel comprises: 301, an indication reading control, which consists of a text layer and a background layer and is used for displaying indication reading information of numerical value, text or time; 302, a basic attribute column for editing the name, position and content size of the control in the aeronautical man-machine interaction prototype; 303, a data attribute column for editing the current data content of the control, binding a control data interface and an internal simulation display interface, wherein after updating a certain data field bound by the internal simulation display interface, the current displayed data content is updated together; a logic attribute column for editing the internal logic of the control; 305, a state attribute box for editing the state attribute of the control; 306, style property column for editing style properties of each state of the control.
- 8. The method for quickly constructing an aeronautical man-machine interaction prototype according to claim 5, wherein in step 103, the logic blocks in the logic blueprint comprise: 401, logic blueprint popup, adding and editing a logic block and a data stream container; And 402, a simulation data update event block, which is used for receiving the data of the DCS_IAS field, triggering the logic block after the data of the DCS_IAS field is updated, and outputting the data of the DCS_IAS field. The DCS_IAS field is from an internal interface configuration script output by the control console module; 403, a simulation data update event block, which is used for receiving the data of DCS_IAS_DES field, triggering the logic block after the data of DCS_IAS_DES field is updated, and outputting the data of DCS_IAS_DES field; A control assignment block selects an indication reading control, invokes a data interface of the control, and modifies the current data content of the control into a DCS_IAS_DES field value; A numerical value calculation block, wherein the input value is the numerical value of a DCS_IAS field and a DCS_IAS_DES field, the selected calculation mode is |A-B|, and the numerical value of the output value DCS_IAS field is subtracted by the absolute value of the numerical value of the DCS_IAS_DES field; 406, a section judging block, wherein the input value is the absolute value of the DCS_IAS field value minus the DCS_IAS_DES field value, the section Min is 0, the section Max is 100, the judging mode is Min < A < Max, when the absolute value of the DCS_IAS field value minus the DCS_IAS_DES field is within the section 0 to 100, 1 is output at the real branch port, otherwise, 0 is output at the false branch port; 407, a display hidden control block, when the real branch port of the interval judgment block 406 outputs 1, the logic block executes after receiving the data, and sets the indication value reading control to be in a display state; 408, a display hidden control block, when the interval judgment block 406 outputs 0 on the false branch port, the logic block executes after receiving the data, and sets the display value reading control to be in a hidden state; 409, an interaction control event block, which is used for monitoring the clicking event of the self-resetting button A, and outputting 1 after the triggering of the event; The interaction control event block is used for monitoring a keyboard B key pressing event, the event comes from an internal interface configuration script output by the console module, the event output value defined in the console module is 2, when the console module monitors that the keyboard B key is pressed, the event is sent, and the logic block in the logic blueprint module is triggered to output 2; The simulation update event block 411, when the logic block receives the value 2 sent by the interaction control event block 409, the logic block starts to execute, modifies the value of DCS_DAS_OFF field to 2, then sends the internal simulation control interface data to the console module, and the console module converts the internal simulation control interface data into external simulation control interface data and sends the external simulation control interface data to the external simulation environment; And 412, a control state switching block, which is used for switching the state of the indication reading through the state interface of the control. When the self-reset button A is clicked, the logic block receives a variable 1 sent by the interaction control event block 409, and the index value of the default state of the indication reading is 1, the indication reading is switched to the default state, and when the keyboard B key is pressed, the logic block receives a variable 2 sent by the interaction control event block 410, and the index value of the reverse state of the indication reading is 2, the indication reading is switched to the reverse state.
Description
Logic editing system and method for rapid construction of aviation man-machine interaction prototype Technical Field The invention belongs to the technical field of man-machine interaction interface design, and particularly relates to a logic editing system and method for rapid construction of an aviation man-machine interaction prototype. Background The aviation man-machine interaction prototype has the capability characteristics of task simulation data driving, multi-channel interaction, two-dimensional and three-dimensional compatibility and the like. Logic editing in the human-computer interaction prototype construction process mainly adopts two modes of graphical editing or script editing. The traditional graphical editing mode can not meet the construction requirements of a complex data-driven aviation man-machine interaction interface. The designer adds the encapsulated UI controls to the human-machine interaction interface, sets their properties and states, and defines interaction logic by setting events such as clicking, sliding, and the like and corresponding response actions. This approach relies on encapsulated UI controls and events, cannot support customized or innovative interaction logic, and is difficult to implement in communication with external environments. The cost of the traditional script editing mode is high. The programmer writes code script to realize the complex logic in the man-machine interaction prototype, which requires a certain programming knowledge, and is a threshold for the designers of non-technical background, so that the designers and the programmer are required to mutually cooperate, and the cost of manpower and communication is increased. Disclosure of Invention The invention provides a logic editing system and a logic editing method for quick construction of an aviation man-machine interaction prototype, which aim at meeting the construction requirement of the aviation man-machine interaction prototype and enable a designer to quickly edit more complex internal and external interaction logic. According to the first aspect of the invention, a logic editing system for fast building of an aviation man-machine interaction prototype is provided, and internal and external change logic of the aviation man-machine interaction prototype can be rapidly edited. The control system comprises a control module, a logic blueprint module and a console module, wherein the console module is used for configuring an external data interface of a node object, the control module encapsulates interactive response and content display logic inside the node object, the logic blueprint module configures numerical value processing and branch judgment logic between the node objects, and the node object refers to an object of a certain level in an aviation man-machine interaction prototype, such as a window node object and a button node object. The aviation man-machine interaction prototype is divided into a 2D man-machine interaction prototype and a 3D man-machine interaction prototype, wherein the 2D man-machine interaction prototype refers to a flattened aviation man-machine interaction interface, the 3D man-machine interaction prototype refers to a virtual three-dimensional aviation man-machine interaction display control system and a task scene, and the 2D man-machine interaction prototype can be imported into the 3D man-machine interaction prototype. In one possible embodiment, the control module is internally provided with various commonly used controls in an aviation man-machine interaction interface, encapsulates control internal logic comprising interaction response and data response, exposes a logic interface, a data interface, a style interface, a state interface and an event interface of the control, and provides a control attribute editing panel for visually viewing and editing attribute values in the interfaces. The common controls are divided into two types, namely a 2D control and a 3D control. The 2D control refers to a flattened control, and can be used for constructing a 2D human-computer interaction prototype, and the 2D control comprises controls of basic types, container types, button types, window types, progress bar types, scale belt types, world balls types, map types, multimedia types and the like. The 3D control refers to a three-dimensional control, and is used for constructing a 2D human-computer interaction prototype and a 3D human-computer interaction prototype, and comprises controls of discrete control types, continuous control types, scene types and the like. The basic class controls comprise an indication reading control, a label control, an icon control, a drop-down selection control, an editable text box control, a menu control, a list control, a tree view control, a numeric keyboard control and the like. The container class controls include container controls, TAB controls, FAB controls, form controls, and the like. The button type controls comprise a self-r