CN115774549A - Page character code editing system and method of airborne display equipment - Google Patents
Page character code editing system and method of airborne display equipment Download PDFInfo
- Publication number
- CN115774549A CN115774549A CN202211538806.7A CN202211538806A CN115774549A CN 115774549 A CN115774549 A CN 115774549A CN 202211538806 A CN202211538806 A CN 202211538806A CN 115774549 A CN115774549 A CN 115774549A
- Authority
- CN
- China
- Prior art keywords
- page
- character
- data
- code
- editing
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 31
- 239000003086 colorant Substances 0.000 claims description 12
- 102100031456 Centriolin Human genes 0.000 claims description 7
- 101000941711 Homo sapiens Centriolin Proteins 0.000 claims description 7
- 238000003860 storage Methods 0.000 claims description 6
- 238000006243 chemical reaction Methods 0.000 claims description 5
- 238000011161 development Methods 0.000 abstract description 16
- 230000000007 visual effect Effects 0.000 abstract description 10
- 238000010586 diagram Methods 0.000 description 4
- 238000004891 communication Methods 0.000 description 3
- 238000013461 design Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000011156 evaluation Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 238000004904 shortening Methods 0.000 description 1
Images
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Document Processing Apparatus (AREA)
Abstract
The invention provides a page character code editing system and method of an airborne display device, wherein a page display linked list module of the system is used for storing and managing data of current page characters; the page editing module is used for visually editing the page characters of the airborne display equipment, generating an edited character display page and displaying the edited character display page; the code generation module is used for converting the edited character display page into a C language code which can be compiled and executed and conforms to an ARINC739A protocol and an ARINC429 protocol; and the main control module is used for initializing the system and calling and managing each module of the system. The code editing system and the code editing method can realize visual operation and visual editing of the page of the airborne display equipment, reduce the workload of the page character code development work of the airborne display equipment, reduce the development difficulty of the page character code development work, and shorten the development period.
Description
Technical Field
The invention relates to the field of airplane airborne display equipment, in particular to a page character code editing system and method of airplane airborne display equipment.
Background
The display device on board the flight deck provides communication, page display and control functions for a plurality of on-board subsystem devices. The MCDU is installed on a variety of aircraft models including large passenger airliners, such as air passenger a320 and boeing 737, for data display and control of flight management computer, satellite communications unit systems, and other subsystem devices. Therefore, in the flight communication navigation system of a large passenger aircraft, a Multifunctional Control Display Unit (MCDU) conforming to ARINC739A and ARINC429 protocols is a relatively important display and control device as a general onboard display control embedded device.
Because the development of the airborne display equipment such as the multifunctional control display unit and the like needs to accord with the ARINC739A and other related protocols, the software development of the airborne display equipment has the following problems and difficulties:
a) Developers need to deeply research relevant standard protocols such as ARINC739A and the like, development workload is large, and development time period is long;
b) The protocol is realized by handwriting codes, the interface display effect is not visual, and visual editing cannot be realized;
c) The proficiency and experience of the corresponding code editor are highly dependent.
Therefore, the market urgently needs to develop a page character code editing system and an editing method of the onboard display equipment, and the page of the onboard display equipment can be visually edited through the system and the method.
Disclosure of Invention
In order to solve the problems in the prior art, the invention provides a page character code editing system and method for airborne display equipment, which can realize visual operation and visual editing of the page of the airborne display equipment, reduce the workload of the page character code development work of the airborne display equipment, reduce the development difficulty and shorten the development period.
In order to achieve the purpose, the invention provides the following technical scheme: a page character code editing system of an onboard display device includes
The page display linked list module is used for storing and managing data of current page characters;
the page editing module is used for visually editing the page characters of the airborne display equipment, generating an edited character display page (namely generating an edited page file) and displaying the edited character display page;
the code generation module is used for converting the edited character display page into C language codes which can be compiled and executed and conform to an ARINC739A protocol and an ARINC429 protocol;
and the main control module is used for initializing the system and calling and managing each module of the system.
The preferred technical scheme also comprises a page viewing module, which is used for reading, loading and displaying the character display page (page file) in the xml format, analyzing the character display page and storing the data of the currently analyzed page characters into a page display linked list module.
The page viewing module can aggravate and read the page file in the existing xml format stored externally or internally, so that the page character code editing system can perform updating, editing and operation on the page file in the existing xml format, further saving the development workload and shortening the development time.
The preferred technical scheme further comprises a page storage module, which is used for converting the edited character display page into an xml format file and storing the xml format file.
The page storage module of the page character code editing system can store the page file (namely the edited character display page) in the xml format edited by the page editing module, and also can store the page file loaded and read by the page viewing module. The page files are stored in the page storage module in the xml format, so that the page files can be directly called when needing to be edited again in the future, new updating and iteration are performed on the original xml format page files, and the development workload is further saved.
According to the preferable technical scheme, the page editing module carries out visual editing on the page characters of the airborne display equipment and comprises editing of page character positions, character colors, character fonts and character contents.
In a preferred technical solution, the code generation module converts data of corresponding page characters into C language codes conforming to the formats of the RINC739A and the ARINC429 as follows:
the method comprises the steps of adopting an automatic code generation method based on template arrangement to generate codes of ARINC739A protocol, extracting a common basic code template through the implemented C language codes of an STX DATA word, a CNTRL DATA word, a DATA DATA word and an ETX DATA word DATA packet of the ARINC739A protocol, and then adding placeholders at code positions which may need to be replaced. When the code is generated, according to the content of the character data elements in the page data linked list, the numerical values of parameters such as character line numbers, character column positions, character colors, character fonts and the like in the character data elements are converted into code text characters, and placeholders in the basic code template are replaced, so that the C language code conforming to ARINC739A and ARINC429 standard formats is generated. Still another object of the present invention is to provide a method for editing page character codes of an onboard display device, which includes the following steps:
initializing, namely initializing a page data linked list module by a main control module;
page editing, namely acquiring new character adding operation by a page editing module, generating and displaying an edited character display page, and updating the data of page characters of the current character display page to a page data linked list module in real time;
and a code generation step, wherein the code generation module acquires the data of the page characters of the current character display page needing to be converted from the data linked list module and converts the data of the corresponding page characters into C language codes conforming to the RINC739A and ARINC429 standard formats.
According to the preferable technical scheme, in the page editing step, the page editing module acquires new character adding operation, namely sequentially acquires added character line numbers, character column positions, character colors, character fonts and character contents.
In a preferred embodiment, the conversion protocol for converting the data of the corresponding page characters into C language codes conforming to the formats of the RINC739A and the ARINC429 in the code generation step is as follows:
the method comprises the steps of adopting an automatic code generation method based on template arrangement to generate codes of ARINC739A protocol, extracting a common basic code template through STX DATA words, CNTRL DATA words, DATA DATA words and ETX DATA words of the ARINC739A protocol and DATA packet C language codes, and then adding placeholders at code positions which may need to be replaced. When the code is generated, according to the content of the character data elements in the page data linked list, the numerical values of parameters such as character line numbers, character column positions, character colors, character fonts and the like in the character data elements are converted into code text characters, and placeholders in the basic code template are replaced, so that the C language code conforming to ARINC739A and ARINC429 standard formats is generated.
Compared with the prior art, the page character code editing system and the evaluation method of the airborne display equipment have the beneficial effects that:
1. the invention can realize visual operation and visual realization of editing, saving and modifying the page of the airborne display equipment, including editing, saving and modifying the position, color, font and content of the displayed characters.
2. The code generation module can conveniently generate the C language code conforming to the ARINC739A protocol and the ARINC429 protocol in a protocol built-in mode, and reduces the development workload, difficulty and development period of airborne display equipment software.
3. The page character code marking system can directly edit and check the interface of the airborne display equipment on a PC software interface.
4. The editing system and the editing method can realize visual editing, so that industrial design personnel or flat surface design personnel without the capability of software code writers or programmers unfamiliar with the ARINC739A protocol and the ARINC429 protocol can realize the editing and development of the page character codes of the onboard display equipment.
Drawings
Fig. 1 is an overall system architecture diagram of a page character code editing system of an onboard display device according to embodiment 1 of the present invention.
Fig. 2 is a schematic overall work flow diagram of the page character code editing system of the onboard display device according to embodiment 1 of the present invention.
Fig. 3 is an overall system architecture diagram of a page character code editing system of an onboard display device according to embodiment 2 of the present invention.
Fig. 4 is a schematic view of the overall work flow of the page character code editing system of the onboard display device according to embodiment 2 of the present invention.
Fig. 5 is a schematic workflow diagram of a page editing module in embodiment 2 of the present invention.
Fig. 6 is a schematic view of a workflow of the page view module in embodiment 2 of the present invention.
Fig. 7 is a schematic flowchart of a work flow of the page memory module in embodiment 2 of the present invention.
Fig. 8 is a schematic view of a workflow of a code generation module in embodiment 2 of the present invention.
Detailed Description
Referring to fig. 1 to 8, a system and a method for editing a page character code of an onboard display device according to the present invention will be further described.
Example 1
As shown in fig. 1 to 2, a page character code editing system of an onboard display device includes a page display linked list module, which is used for storing and managing data of current page characters;
the page editing module is used for visually editing the page characters of the airborne display equipment, generating an edited character display page (namely generating an edited page file) and displaying the edited character display page;
the code generation module is used for converting the edited character display page into a C language code which can be compiled and executed and conforms to an ARINC739A protocol and an ARINC429 protocol;
and the main control module is used for initializing the system and calling and managing each module of the system.
As shown in fig. 2, the working principle and the editing method of the page character code editing system of the onboard display device are as follows:
initializing, namely, initializing a page data linked list module by a main control module;
a page editing step, in which a page editing module acquires operation of adding new characters or character strings (sequentially acquires information on the aspects of adding characters or character string line numbers, character or character string positions, character or character string colors, character or character string fonts, character or character string contents and the like), generates and displays an edited character display page, and updates page character data of the current character display page to a page data linked list module in real time;
and a code generation step, wherein the code generation module acquires page character data of the current character display page to be converted from the data linked list module and converts the corresponding page character data into a C language code conforming to RINC739A and ARINC429 standard formats.
The conversion protocol for converting the data of the corresponding page characters into C language code conforming to the format of the RINC739A and ARINC429 standards is as follows:
the method comprises the steps of adopting an automatic code generation method based on template arrangement to generate codes of ARINC739A protocol, extracting a common basic code template through STX DATA words, CNTRL DATA words, DATA DATA words and ETX DATA words of the ARINC739A protocol and DATA packet C language codes, and then adding placeholders at code positions which may need to be replaced. When the codes are generated, according to the content of the characters or the data elements of the character strings in the page data linked list, the numerical values of parameters such as the numbers of the characters or the character string lines, the positions of the characters or the character string lines, the colors of the characters or the character string, the fonts of the characters or the character string and the like in the data elements of the character strings are converted into code text characters, and placeholders in the basic code template are replaced, so that the C language codes conforming to ARINC739A and ARINC429 standard formats are generated.
Example 2
As shown in fig. 3 to 8, a system for editing page character codes of an onboard display device includes a main control module for system initialization and calling and managing each module of the system.
And the page display linked list module is used for storing and managing the data of the current page characters.
And the page editing module is used for visually editing the page characters of the airborne display equipment, generating an edited character display page (namely, generating an edited page file), displaying the edited character display page and realizing the editing of the character display page meeting the ARINC739A standard.
And the page viewing module is used for reading, loading and displaying the character display page (page file) in the xml format, analyzing the character display page and storing the data of the currently analyzed page characters into the page display linked list module. The module can view the character display page being edited in real time. Meanwhile, the edited character display page file can be loaded and viewed. Of course, an external character display page file (character display page or page file for short) in xml format may be loaded.
And the page storage module is used for converting the edited character display page into an xml format file and storing the xml format file. The page storage module can store character display pages in an xml format, namely, storing edited files into page files in the xml format for subsequent editing or other purposes.
And the code generation module is used for converting the edited character display page into C language codes which can be compiled and executed and conform to the ARINC739A protocol and the ARINC429 protocol. This module enables the conversion of edited character display pages into ARINC429 page message C language code that can be compiled for execution and that conforms to the ARINC739A standard.
As shown in fig. 4 to 8, the working principle and the editing method of the page character code editing system of the onboard display device are as follows:
firstly, initializing a system, namely initializing a page display linked list, then initializing a display page, judging whether a page file needs to be loaded after the initialization is completed, if so, selecting the page file, then analyzing the existing interface file, then updating the page data linked list, and finally displaying the character page. And then judging whether the character needs to be added or not, if so, acquiring the line number and the column position of the character string needing to be added on line, then acquiring character string data, inserting the data into a page data linked list, and finally updating the page for display. And then judging whether the page display is emptied, and if so, emptying the page data linked list and the character page display to restore to the initial state. And then judging whether the page file needs to be stored, if so, firstly selecting the page file, and then writing the data in the page data linked list into the page file. And then judging whether a code needs to be generated or not, if so, firstly selecting a code file, then acquiring data in a page data linked list, and then converting the data into a C language source code file and a header file which accord with ARINC739 and ARINC429 formats.
As shown in fig. 5, the page editing module obtains an operation of adding a new character string, and if the new operation exists, sequentially obtains a character string number, a character string position, a character string color, a character string font and a character string content, and if the character length is 0, outputs error reporting information, otherwise, inserts all character string data into the page data linked list, and then visually displays the new character string data.
As shown in fig. 6, when a page file in an external xml format needs to be loaded or an xml file inside the system needs to be checked, the page file needing to be checked is selected according to an operation, and if the page file is not selected, subsequent operations are not performed. After selecting a page file to be checked, software firstly analyzes a page file header, then sequentially analyzes character string data elements including character string line numbers, character string positions, character string colors, character string fonts and contents in the elements, then sequentially writes the character string data elements into a page data linked list, and finally sequentially displays the character string data elements.
As shown in fig. 7, when the pagefile needs to be stored, the pagefile needing to be stored is selected according to the operation, and if the pagefile is not selected, the subsequent operation is not performed. After selecting a page file to be stored, sequentially acquiring character string data elements in a page data linked list by software, and then sequentially writing the character string data elements into the page file, wherein the character string data elements comprise character string numbers, character string positions, character string colors, character string fonts and content in the elements, and if unwritten character string data exist after writing, circularly executing writing operation, otherwise, finishing the writing operation.
As shown in fig. 8, when code conversion is required, a code file to be generated is selected according to an operation, and if the code file is not selected, subsequent operations are not performed. After selecting a code file needing to be written, a production code module sequentially obtains character string DATA elements in a page DATA chain table, then converts character string numbers, character string positions, character string colors, character string fonts and contents in the character string DATA elements into C language codes conforming to ARINC739A and ARINC429 standard formats, and sequentially generates STX DATA words, CNTRL DATA words, DATA words and ETX DATA words, wherein a plurality of DATA word codes can be generated according to the length of the character string contents, if unwritten character string DATA elements exist after writing, the code generation operation is circularly repeated, and if the unwritten character string DATA elements exist after writing, the final EOT DATA word is generated so as to finish the code generation operation.
The protocol for converting the data of the page characters in the forms of ASCII codes and the like in the page data linked list module into the C language codes conforming to ARINC739A and ARINC429 standard formats by the code generation module is as follows:
the method comprises the steps of adopting an automatic code generation method based on template arrangement to generate codes of ARINC739A protocol, extracting a common basic code template through STX DATA words, CNTRL DATA words, DATA DATA words and ETX DATA words of the ARINC739A protocol and DATA packet C language codes, and then adding placeholders at code positions which may need to be replaced. When the code is generated, according to the content of the character string data elements in the page data linked list, the numerical values of parameters such as the character string number, the character string position, the character string color, the character string font and the like in the character string data elements are converted into code text characters, and placeholders in the basic code template are replaced, so that the C language code conforming to ARINC739A and ARINC429 standard formats is generated.
The present invention should be considered as limited only by the preferred embodiments of the invention, and not limited to the above embodiments, and it should be understood that any modifications, equivalents and improvements made within the spirit and principle of the invention are included in the scope of the invention.
Claims (10)
1. The page character code editing system of the airborne display equipment is characterized in that: which comprises
The page display linked list module is used for storing and managing data of current page characters;
the page editing module is used for visually editing the page characters of the airborne display equipment, generating an edited character display page and displaying the edited character display page;
the code generation module is used for converting the edited character display page into C language codes which can be compiled and executed and conform to an ARINC739A protocol and an ARINC429 protocol;
and the main control module is used for initializing the system and calling and managing each module of the system.
2. The system for editing page character codes of onboard display equipment according to claim 1, characterized in that: the device also comprises a page viewing module which is used for reading, loading and displaying the character display page in the xml format, analyzing the character display page and storing the data of the currently analyzed page characters into the page display linked list module.
3. The page character code editing system of the on-board display device according to claim 2, wherein: the system also comprises a page storage module which is used for converting the edited character display page into an xml format file and storing the xml format file.
4. The page character code editing system of the on-board display device according to claim 3, wherein: the page editing module visually edits the page characters of the airborne display equipment, including editing the positions, the colors, the fonts and the content of the page characters.
5. The page character code editing system of the on-board display device according to claim 4, wherein: the code generation module adopts an automatic code generation method based on template arrangement to convert data of corresponding page characters into C language codes conforming to the RINC739A and ARINC429 standard formats.
6. The page character code editing system of the on-board display device according to claim 5, wherein: the code generation module adopts an automatic code generation method based on template arrangement, and the specific process is as follows: extracting a common basic code template through C language codes of STX DATA words, CNTRL DATA words, DATA DATA words and ETX DATA word DATA packets conforming to ARINC739A protocol, and then adding placeholders at positions of codes needing to be replaced; when the code is generated, according to the content of the character data elements in the page data linked list module, the numerical values of parameters such as character line numbers, character column positions, character colors, character fonts and the like in the character data elements are converted into code text characters, and placeholders in the basic code template are replaced, so that the C language code conforming to ARINC739A and ARINC429 standard formats is generated.
7. The page character code editing method of the airborne display equipment is characterized by comprising the following steps: which comprises the following steps:
initializing, namely, initializing a page data linked list module by a main control module;
page editing, namely acquiring new character adding operation by a page editing module, generating and displaying an edited character display page, and updating the data of page characters of the current character display page to a page data linked list module in real time;
and a code generation step, wherein the code generation module acquires the data of the page characters of the current character display page needing to be converted from the data linked list module and converts the data of the corresponding page characters into C language codes conforming to the RINC739A and ARINC429 standard formats.
8. The method for editing page character codes of an onboard display device according to claim 7, wherein: in the page editing step, the page editing module acquires new character adding operation, namely sequentially acquires the row number of the added character, the position of a character column, the color of the character, the font of the character and the content of the character.
9. The method for editing page character codes of onboard display equipment according to claim 8, wherein: the conversion protocol for converting the data of the corresponding page characters into the C language codes conforming to the RINC739A and ARINC429 standard formats in the code generation step is an automatic code generation method based on template layout.
10. The method for editing page character codes of an onboard display device according to claim 9, wherein: the automatic code generation method based on template layout comprises the following specific processes: extracting a common basic code template through C language codes of STX DATA words, CNTRL DATA words, DATA DATA words and ETX DATA word DATA packets conforming to ARINC739A protocol, and then adding placeholders at positions of codes needing to be replaced; when the code is generated, according to the content of the character data elements in the page data linked list, the numerical values of the character line numbers, the character column positions, the character colors and the character fonts in the character data elements are converted into code text characters, and placeholders in the basic code template are replaced, so that the C language code conforming to ARINC739A and ARINC429 standard formats is generated.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211538806.7A CN115774549A (en) | 2022-12-01 | 2022-12-01 | Page character code editing system and method of airborne display equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211538806.7A CN115774549A (en) | 2022-12-01 | 2022-12-01 | Page character code editing system and method of airborne display equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115774549A true CN115774549A (en) | 2023-03-10 |
Family
ID=85391187
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211538806.7A Pending CN115774549A (en) | 2022-12-01 | 2022-12-01 | Page character code editing system and method of airborne display equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115774549A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN119397623A (en) * | 2024-12-31 | 2025-02-07 | 北京蓝天航空科技股份有限公司 | Simulation display method, device, equipment, medium and product of flight management system |
-
2022
- 2022-12-01 CN CN202211538806.7A patent/CN115774549A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN119397623A (en) * | 2024-12-31 | 2025-02-07 | 北京蓝天航空科技股份有限公司 | Simulation display method, device, equipment, medium and product of flight management system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109948134B (en) | Report automatic generation method, system, electronic equipment and storage medium | |
CN100587685C (en) | Method of selecting character style | |
CN110968294B (en) | Business domain model establishing system and method | |
CN107807954B (en) | Visual modeling multidimensional analysis system and method thereof | |
CN101122899A (en) | Report generation method and device | |
CN106469140A (en) | A kind of report generating system and its method | |
CN117724686B (en) | Visual generation method and device for XML-based design verification code | |
CN115774549A (en) | Page character code editing system and method of airborne display equipment | |
CN111124380A (en) | Front-end code generation method | |
CN104375814A (en) | Generation method and device of an interface document | |
CN114707196B (en) | Spacecraft platform visualization design method and device, electronic equipment and medium | |
CN111736815B (en) | Modularized development tool, system and method for test file script | |
CN110968999A (en) | Annotating method and system for automatically realizing fine granularity and diversification of docx file | |
CN109684395A (en) | A kind of visualized data Universal joint analytic method based on natural language processing | |
CN110502735B (en) | Method and system for quickly manufacturing universal process file of electronic equipment | |
CN116974525A (en) | Webpage generation method and device, electronic equipment and storage medium | |
CN107015955B (en) | Document editing method and device | |
CN115309652A (en) | Software test document processing method and device, computer equipment and storage medium | |
CN107506340A (en) | A kind of data transfer device and system | |
CN101325758A (en) | Mobile communication equipment capable of displaying multiple languages and method thereof | |
CN112214981A (en) | Demonstration file generation method and device, electronic equipment and storage medium | |
CN114186549B (en) | Docx document service processing and data utilization system and method | |
TWI736250B (en) | Data labeling system and data labeling method | |
US20030033332A1 (en) | Control/display unit page builder software tool | |
Lunansky et al. | Short Introduction to R |
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 |