CN109542442A - A kind of display interface edit methods based on ARINC661 standard - Google Patents

A kind of display interface edit methods based on ARINC661 standard Download PDF

Info

Publication number
CN109542442A
CN109542442A CN201811472092.8A CN201811472092A CN109542442A CN 109542442 A CN109542442 A CN 109542442A CN 201811472092 A CN201811472092 A CN 201811472092A CN 109542442 A CN109542442 A CN 109542442A
Authority
CN
China
Prior art keywords
display interface
edit methods
layer
layers
methods according
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.)
Pending
Application number
CN201811472092.8A
Other languages
Chinese (zh)
Inventor
张曼
冯毅
刘硕
陈颖图
陈思宇
刘博�
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xian Aeronautics Computing Technique Research Institute of AVIC
Original Assignee
Xian Aeronautics Computing Technique Research Institute of AVIC
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Xian Aeronautics Computing Technique Research Institute of AVIC filed Critical Xian Aeronautics Computing Technique Research Institute of AVIC
Priority to CN201811472092.8A priority Critical patent/CN109542442A/en
Publication of CN109542442A publication Critical patent/CN109542442A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/34Graphical or visual programming

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)
  • Document Processing Apparatus (AREA)

Abstract

The disclosure provides a kind of display interface edit methods based on ARINC661 standard, and display interface includes one or more figure layers, wherein the display interface edit methods include: the XML script for defining display interface;The management of one or more of figure layers is realized by XML script using visual editor;The XML script of display interface is saved, the executable binary system DF file that can be parsed by target machine is converted into.The display interface edit methods meet growing, the complicated graphical demand of cockpit display system, significantly reduce the difficulty of DF designer.

Description

A kind of display interface edit methods based on ARINC661 standard
Technical field
The present invention relates to the visualizing editing method for the display interface for meeting ARINC661 standard and system, by using can Depending on the edit methods and XML extensible markup language changed, the target machine that cooperation can parse DF file forms a set of general meet The display interface generation method and system of ARINC661 standard, thus solve graphical interfaces Visual Creating, editor and generation The problem of.
Background technique
SCADE is the major product series of French Ace Te Er Technology Co., Ltd..It grinds for aviation electronics display system Unit processed provides a set of total solution for meeting ARINC661 standard.Although function is more powerful, expense compares Height, early investment is bigger, and late maintenance cost is also higher.For this purpose, developing a kind of display interface editor of ARINC661 standard Method has saved resource to avoid the high cost at project experimental development initial stage, additionally it is possible to improve the efficiency of experiment.
Currently, there are one the ARINC661 developing instrument java arrinc661 to increase income, the function of this tool also compares It is relatively complete, but tool editing interface is simple, and data is fewer, some functions be not easy using, it is therefore desirable to develop a set of Powerful, easy-to-use, highly integrated arinc661 editing machine, to meet the growing, complicated graphical of cockpit display system The difficulty of DF designer is greatly reduced in demand.
Summary of the invention
The display interface edit methods based on ARINC661 standard through the invention realize above-mentioned purpose, wherein showing boundary Face includes one or more figure layers, and the display interface edit methods include: the XML script for defining display interface;Using visual Change the management that editing machine realizes one or more of figure layers by XML script;The XML script of display interface is saved, conversion At the executable binary system DF file that can be parsed by target machine.
In above-mentioned display interface edit methods, it can be realized by XML script using tree construction one or more of The management of figure layer, to adjust the Z order of figure layer in the display interface.
In above-mentioned display interface edit methods, each figure layer may include one or more graphic elements (widgets), Visual editor can be used doubly linked list and carry out to the graphic element in a figure layer in one or more of figure layers Management.
In above-mentioned display interface edit methods, being managed to graphic element may include shared category to graphic element Property carry out batch modification.
In above-mentioned display interface edit methods, the management to one or more of figure layers may include carrying out to figure layer It hides, duplication, delete.
Above-mentioned display interface edit methods can also include that the binary system DF running paper converted is had parsing energy On the target machine of power, to verify display interface edited result.
In above-mentioned display interface edit methods, it can star the UA client of visual editor, pass through UA client Send the communications protocol based on ARINC661 to target machine, modification graphic element at runtime can Alternative Attribute, it is dynamic to generate Draw effect.
Above-mentioned display interface edit methods, can satisfy that cockpit display system is growing, complicated graphical demand, greatly Width reduces the development difficulty of DF designer, improves development efficiency.
By the present invention in that cooperation can parse DF file with visual edit methods and XML extensible markup language Target machine forms a set of general display screen generating method and system based on ARINC661 standard, to solve visual Change the problem of display picture generates.
User can use visualizing editing method editor of the invention, modification and save display picture figure, then Display is run on the target machine that can parse DF file.Solve display interface be not easy to edit to DF executable file, modify, The problems such as addition.
The present invention can create any figure layer, can be hidden, replicate, delete to figure layer, can to figure layer Z order into Any adjustment of row.
The present invention can carry out batch modification to the shared attribute of widgets object;
According to another aspect of the present invention, propose the visualizing editing method of display interface, comprising: define figure layer and The XML tag of widgets;Actual cockpit display interface is drawn by visual editor;According in visual editor circle Display interface is drawn in face and generates general XML script, and the conversion of XML script is generated into the analysable DF text in target machine Part.
The display interface edit methods, wherein affiliated widgets attribute includes: public attribute and privately owned attribute.
The display interface edit methods, wherein forming one by drawing the widgets in figure layer and figure layer The process of a display interface XML file includes:
Create a figure layer;
Figure layer is drawn using basic figure widgets;
Wdgets in figure layer and figure layer is preserved, XML script is formed;
A figure layer is created again, repeats above step
The z-order of each figure layer is preserved;
According to the z-order of each figure layer, the XML script of All Layers is combined, forms the corresponding XML file of display interface;
The display interface edit methods further include being criticized using public attribute of the visual editor to widgets Amount modification, in which:
Distinguish the public attribute and privately owned attribute of widgets;
It for the public attribute to be modified, is searched by doubly linked list, then batch modification;
Widgets after modification attribute is repainted out.
The display interface edit methods further include that visual editor contains a UA client, when client with After operation can parse the target machine connection of DF file, the communications protocol of ARINC661 standard, modification can be met by sending It can Alternative Attribute when the operation of the widgets drawn by editing machine.
Using display interface edit methods of the invention, development efficiency is also improved while cost is reduced.
Detailed description of the invention
The present invention will be described in detail with reference to the attached drawings, in which:
Fig. 1 describes the flow chart of display interface visualizing editing method according to an embodiment of the invention;
Fig. 2 shows the schematic diagram of the hierarchical relationship of display interface;
Fig. 3 shows the flow chart of the edit methods of the display interface using visual editor;
Fig. 4 shows the schematic diagram of visual editor editing interface according to an embodiment of the invention.
Specific embodiment
XML language is widely used extensible markup language, and the subset of standard generalized markup language is a kind of for marking Note electronic document makes it have structural markup language.It provides unified method to describe and exchange independently of application program Institutional data.It is the effective of technology and processing structure information cross-platform, dependent on content in Internet environment Tool.
Fig. 1 describes the visualizing editing method of display interface according to an embodiment of the invention, including passing through can Depending on changing editing machine editor actual displayed interface;The XML tag of map data mining platform based on definition and basic widgetsXML label, XML file corresponding with actual displayed interface is generated according at the actual displayed interface of visual edit, and utilizes XML file Convert thereof into the analysable DF file of target machine;And the UA client by visual editor, when client connects energy After the target machine for enough parsing DF file, the communications protocol of ARINC661 standard can be met by sending, modification passes through visualization It can Alternative Attribute when the operation for the widgets that editing machine is drawn.
Specifically, method and system of the invention a set of general XML tag definition especially set out, these labels can It is accurate to describe figure layer, the relationship between widgets and multi-layer image in figure layer.The figure layer of definition and the attribute packet of widgets Include figure layer ID, widgets title, multiple attributes of type widgets of widgets etc..Show the general XML mark of graphical interfaces One specific embodiment of label is as follows:
<a661_Display>... ... ... ... ... ... ... defines a display interface
<A661_Layer>... ... ... ... ... ... ... defines a figure layer
<model>
<prop LayerId>... ... ... ... ... define the id of figure layer
<prop ContextNumber>... ... ... ... define the context relation of figure layer
<prop Height>... ... ... ... ... ... define the height of figure layer
<prop Width>... ... ... ... ... ... define the width of figure layer
</model>
<A661_widget name=" " type=" ">... ... defines the name and type of a widget
<model>
<prop name="PosX"value="5800"/>define the attribute and the corresponding value of attribute of widget
……………………
</A661_widget>... ... ... ... terminate the definition of a widget
</A661_Layer>... ... ... ... terminate the definition of a figure layer
……………………
Define other figure layers
</a661_Display>... ... ... terminate the definition of a display interface
By taking a circle as an example, the XML script of corresponding display interface is as follows:
<a661_Display library_version="0"supp_version="2">... define a display circle Face
<model>
<prop name="ApplicationId"value="1"/>... draw the application program ID of display interface
</model>
<A661_Layer name=" a661_layer ">... defines a figure layer
<model>
<prop LayerId="0"/>... ... define a figure layer id
<prop ContextNumber="0"/>... ... define the context relation of figure layer
<prop Height="768"/>... ... ... define the width attribute of figure layer
<prop Width="1024"/>... ... ... define the length attribute of figure layer
</model>
<A661_widgetname=" GPArcCircle_1 " type=" A661_GP_ARC_CIRCLE ">... definition One widget
<model>
<prop name="WidgetIdent"value="1"/>... define the ID of a widget
<prop name="Anonymous"value="A661_TRUE"/>... define circular ARINC661 standard Attribute
<prop name="Visible"value="A661_TRUE"/>... ibid
<prop name="PosX"value="7780"/>... ibid
<prop name="PosY"value="10260"/>... ibid
<prop name="StartAngle"value="0"/>... ibid
<prop name="EndAngle"value="360"/>... ibid
<prop name="Radius"value="2260"/>... ibid
<prop name="StyleSet"value="0"/>... ibid
<prop name="ColorIndex"value="132"/>... ibid
<prop name="Filled"value="A661_TRUE"/>... ibid
<prop name="FillIndex"value="67"/>... ibid
<prop name="Halo"value="A661_TRUE"/>... ibid
</model>
</A661_widget>... ... ... ... terminate the definition of a widget
</A661_Layer>... ... ... ... terminate the definition of a figure layer
</a661_Display>... ... ... ... terminate the definition of a display interface
By above-mentioned definition, the XML tag of available display interface.Display interface can be infinite layering.Fig. 2 is aobvious Show between layers, the tree-shaped relationship between layer and widgets is described as follows with XML language:
Next, method application visual editor of the invention.Visual editor is the visualization of XML script and parsing Platform.In this way, the mapper of display interface does not have to the specific semantical definition for being concerned about XML, and value needs patterned Display interface is designed, energy concentration can be helped to be placed on design interface, without paying close attention to low-level details.
Visual editor is realized using C# language.Fig. 3 shows visual editor is how to draw display interface It produces and, be then converted into XML file, then reconvert is at executable df file.It includes step S301 building Layer figure layer Object is managed, the newly-built of figure layer, deletion, duplication, visibility management are responsible for;Construct the public affairs of all ARINC661 Widget objects Cobasis class defines the attribute and method of base class;Construct all ARINC661Widget objects subclass include Container, Graphics, Interactive, Maps, Utilites define the attribute and method of subclass, create figure layer, in newly-built figure layer The corresponding attribute of upper addition widgets, setting widgets, saves figure layer;S302 draw display interface need All Layers and Doubly linked list can also can be used to the widgets object of each figure layer to the visibility of figure layer and Z sequence modification in widgets It is managed, realizes that object shares the operations such as the quick lookup of attribute, modification, if you do not need to editor can jump to S303 step; S303 will draw display interface and carry out XML serialization;XML file is converted to binary system DF file by S304;S305 starting editor Device UA client, the communications protocol defined according to ARINC661 are communicated with having the target machine of parsing function, can be modified When the operation of widgets can Alternative Attribute, simulation animation effect.
Above-described embodiment is for illustrating the principle of the present invention and its effect, and is not intended to limit the present invention.It is any Person skilled in the art can without prejudice to spirit and under the scope of, modify to embodiment.Therefore of the invention Protection scope, should be as listed by claims of the present invention.

Claims (7)

1. a kind of display interface edit methods based on ARINC661 standard, display interface includes one or more figure layers, wherein The display interface edit methods include:
Define the XML script of display interface;
The management of one or more of figure layers is realized by XML script using visual editor;
The XML script of display interface is saved, the executable binary system DF file that can be parsed by target machine is converted into.
2. display interface edit methods according to claim 1, wherein realizing described one using tree construction by XML script The management of a or multiple figure layers, to adjust the Z order of figure layer in the display interface.
3. display interface edit methods according to claim 1, wherein each figure layer includes one or more graphic elements, Visual editor is managed the graphic element in a figure layer in one or more of figure layers using doubly linked list.
4. display interface edit methods according to claim 3, wherein being managed graphic element including to pattern primitive The shared attribute of element carries out batch modification.
5. display interface edit methods according to claim 1, wherein including to the management of one or more of figure layers Figure layer is hidden, replicate, is deleted.
6. display interface edit methods according to claim 1, further include, the binary system DF running paper converted is existed On target machine with analytic ability, to verify display interface edited result.
7. display interface edit methods according to claim 6, wherein the UA client of starting visual editor, passes through UA client to target machine send the communications protocol based on ARINC661, modification graphic element at runtime can Alternative Attribute, To generate animation effect.
CN201811472092.8A 2018-12-04 2018-12-04 A kind of display interface edit methods based on ARINC661 standard Pending CN109542442A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811472092.8A CN109542442A (en) 2018-12-04 2018-12-04 A kind of display interface edit methods based on ARINC661 standard

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811472092.8A CN109542442A (en) 2018-12-04 2018-12-04 A kind of display interface edit methods based on ARINC661 standard

Publications (1)

Publication Number Publication Date
CN109542442A true CN109542442A (en) 2019-03-29

Family

ID=65852761

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811472092.8A Pending CN109542442A (en) 2018-12-04 2018-12-04 A kind of display interface edit methods based on ARINC661 standard

Country Status (1)

Country Link
CN (1) CN109542442A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113434137A (en) * 2021-06-01 2021-09-24 中国航空工业集团公司沈阳飞机设计研究所 Cabin display software performance optimization method based on SCADE

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102520899A (en) * 2011-12-07 2012-06-27 中国航空无线电电子研究所 Universal cockpit display management system and method for developing corresponding display and control systems
CN104331278A (en) * 2014-10-15 2015-02-04 南京航空航天大学 Instruction filtering method and device for specifications of ARINC661
CN104503902A (en) * 2014-12-05 2015-04-08 中国航空工业集团公司第六三一研究所 Method for testing DF file based on ARINC661 specification
CN105530316A (en) * 2016-01-13 2016-04-27 桂林理工大学 Collaborative plotting spatial system of heterogeneous spatial information based on cloud computing technology
US20170060542A1 (en) * 2015-08-25 2017-03-02 Cognizant Technology Solutions India Pvt. Ltd. System and method for efficiently managing enterprise architecture using resource description framework
CN107729007A (en) * 2017-11-21 2018-02-23 华北电力大学 A kind of transformer station uniformly monitors the implementation method of graphic editor on-line
CN108132779A (en) * 2017-12-07 2018-06-08 中国航空工业集团公司西安航空计算技术研究所 A kind of design and verification method of the visualization DF based on ARINC661

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102520899A (en) * 2011-12-07 2012-06-27 中国航空无线电电子研究所 Universal cockpit display management system and method for developing corresponding display and control systems
CN104331278A (en) * 2014-10-15 2015-02-04 南京航空航天大学 Instruction filtering method and device for specifications of ARINC661
CN104503902A (en) * 2014-12-05 2015-04-08 中国航空工业集团公司第六三一研究所 Method for testing DF file based on ARINC661 specification
US20170060542A1 (en) * 2015-08-25 2017-03-02 Cognizant Technology Solutions India Pvt. Ltd. System and method for efficiently managing enterprise architecture using resource description framework
CN105530316A (en) * 2016-01-13 2016-04-27 桂林理工大学 Collaborative plotting spatial system of heterogeneous spatial information based on cloud computing technology
CN107729007A (en) * 2017-11-21 2018-02-23 华北电力大学 A kind of transformer station uniformly monitors the implementation method of graphic editor on-line
CN108132779A (en) * 2017-12-07 2018-06-08 中国航空工业集团公司西安航空计算技术研究所 A kind of design and verification method of the visualization DF based on ARINC661

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
姚旭寅: "基于SCADE软件的通用显示软件框架开发", 《科技创新导报》 *
袁磊 等: "基于ARINC661的DF文件设计平台研究与实现", 《现代电子技术》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113434137A (en) * 2021-06-01 2021-09-24 中国航空工业集团公司沈阳飞机设计研究所 Cabin display software performance optimization method based on SCADE

Similar Documents

Publication Publication Date Title
Tosi Matplotlib for Python developers
US6769095B1 (en) Hierarchically structured control information editor
US9087296B2 (en) Navigable semantic network that processes a specification to and uses a set of declaritive statements to produce a semantic network model
US20090119578A1 (en) Programming Interface for a Computer Platform
US8209598B1 (en) Exporting electronic documents from rich internet applications
CN101944027A (en) User interface generation method
CN111324381B (en) Development system, development method, development apparatus, computer device, and storage medium
US20220255984A1 (en) System and Method to Standardize and Improve Implementation Efficiency of User Interface Content
Nolan et al. Interactive and animated scalable vector graphics and R data displays
Lecolinet A molecular architecture for creating advanced GUIs
WO2023159595A1 (en) Method and device for constructing and configuring three-dimensional space scene model, and computer program product
CN109542442A (en) A kind of display interface edit methods based on ARINC661 standard
Watt SVG unleashed
Fujima Building a meme media platform with a JavaScript MVC framework and HTML5
US9372844B2 (en) Automatically generating a business process flow GUI using a symbolic annotation language
Neumann et al. Webmapping with Scalable Vector Graphics (SVG): Delivering the promise of high quality and interactive web maps
CN115691772A (en) Operation visualization system and corresponding computer device and storage medium
CN108132779A (en) A kind of design and verification method of the visualization DF based on ARINC661
CN110275996B (en) Device and method for providing page frame for content development through data visualization development
Swayne et al. Ggobi: Xgobi redesigned and extended
Asthana et al. Computer graphics for scientists and engineers
CA2377945A1 (en) Hierarchically structured control information editor
Belfore et al. An interactive land use VRML application (ILUVA) with servlet assist
Lv et al. Study on police graphic plotting technology based on web
Fogarty et al. Specifying behavior and semantic meaning in an unmodified layered drawing package

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