CN116301836A - Embedded development system based on domestic autonomous controllable environment - Google Patents
Embedded development system based on domestic autonomous controllable environment Download PDFInfo
- Publication number
- CN116301836A CN116301836A CN202111494903.6A CN202111494903A CN116301836A CN 116301836 A CN116301836 A CN 116301836A CN 202111494903 A CN202111494903 A CN 202111494903A CN 116301836 A CN116301836 A CN 116301836A
- Authority
- CN
- China
- Prior art keywords
- module
- code
- environment
- operating system
- codes
- 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
Images
Classifications
-
- 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/38—Creation or generation of source code for implementing user interfaces
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3684—Test management for test design, e.g. generating new test cases
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3688—Test management for test execution, e.g. scheduling of test suites
-
- 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/34—Graphical or visual programming
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Human Computer Interaction (AREA)
- Debugging And Monitoring (AREA)
- Stored Programmes (AREA)
Abstract
The invention provides an embedded development system based on a domestic autonomous controllable environment, which comprises: the integrated development framework module sets up and provides a plug-in running environment meeting OSGi specification requirements; a unified interface development framework serving as an integrated development environment; the code management module is configured to generate a syntax tree; storing the code in the local workspace in the form of items; the code compiling module is used for constructing source codes into executable binary files through preprocessing, compiling, assembling and linking; the code debugging module is used for suspending the whole operating system and collecting and displaying the current running state of the operating system by setting breakpoints on source codes or assembly codes; the code analysis module is used for enhancing the readability and the execution efficiency of the program and reducing the risk of bug in non-execution codes; the performance optimization module is configured to provide low overhead system global performance monitoring for evaluating and performance monitoring of the operating system.
Description
Technical Field
The invention relates to the technical field of computers, in particular to an embedded development system based on a domestic autonomous controllable environment.
Background
The processor and the operating system are used as basic software and hardware cores in an information technology system and are widely applied to the fields of party management, transportation, finance, energy and the like and the information infrastructure. The invention breaks through key technologies of software integrated development environments in a plurality of autonomous controllable computing environments, develops an embedded development platform based on the autonomous controllable environments, and can meet the requirements of autonomous controllable, high-reliability control, high-availability computing, information management and other aspects on the high-reliability operation system.
Disclosure of Invention
The invention aims to break monopoly of foreign organizations and institutions on the integrated development environment of the matched software of the operating system, realize an embedded development platform based on the domestic autonomous controllable environment and fill the blank in the field at present in China.
In order to achieve the above object, the present invention provides an embedded development system based on a domestic autonomous controllable environment, comprising:
the system comprises an integrated development framework module, a code management module, a code compiling module, a code debugging module, a code analysis module and a performance optimization module;
the integrated development framework module is set to be a unified architecture and interface, is developed by adopting Java language, and defines a plugin specification based on the dynamic and modularized OSGi specification; based on the Equisox plug-in operation platform, providing a plug-in operation environment meeting OSGi specification requirements; based on SWT/JFace graphical interface development frame, the method is used as a unified interface development frame of an integrated development environment;
the code management module is set to generate a grammar tree based on a lexical analysis technology, a semantic analysis technology and a text intelligent association technology; storing code in the form of projects in a local workspace while providing a unified framework for integration with configuration management tools in an integrated development environment, providing integration with SVN, git, CVS, synergy for code management;
the code compiling module is arranged to construct a source code into an executable binary file through preprocessing, compiling, assembling and linking based on a cross compiling tool chain provided by Feiteng and Loongson;
the code debugging module is used for supporting hardware simulator level debugging aiming at industrial embedded application, realizing application debugging in an integrated development environment, suspending the whole operating system and acquiring and displaying the current running state of the operating system by setting breakpoints on source codes or assembly codes;
the code analysis module is used for positioning useless codes or non-executable codes, enhancing the readability and the execution efficiency of the program and reducing the risk of bug in the non-executable codes;
the performance optimization module is configured to provide low-overhead global performance monitoring for evaluating and monitoring the performance of the operating system, and is used for solving the problems of high CPU occupation or incapability of improving the program performance by analyzing the hot functions of the system and the call chains, cache/TLB hit rate and function execution efficiency information thereof.
In some preferred embodiments, the displaying the current running state of the operating system includes: all register information, memory information, global variable information and information of a thread stack where a current breakpoint is located.
Advantageous effects
1. And realizing the key technology of third-party plug-in integration. The system adopts the Equisox plug-in running environment with wide application in the industry, builds an autonomous and controllable development environment, provides development environment expansion API and plug-in installation mechanism, realizes great expansibility, and can meet various development requirements; 2. key technologies of code editing, management and compiling are realized. The system provides functions of code management based on configuration management tools, local code editing history management, local code history recovery and the like, cross compiling tool chains oriented to embedded hardware and software environments, compiling parameter configuration interfaces and the like; 3. the key technologies of project management, process control and project release are realized. The system provides functions of project creation guidance, display, import, export, attribute editing and the like, supports demand tracking, task tracking and defect tracking, and provides functions of demand batch construction, solidification of an operating system, application and the like; 4. the key technologies of code debugging, coverage rate analysis and performance optimization are realized. The system provides debugging functions and cross debugging functions based on hardware and software debuggers, source code test coverage analysis and performance analysis report generation functions to provide performance optimization decision support.
Drawings
FIG. 1 is a schematic diagram of an embedded development system according to a preferred embodiment of the present invention;
FIG. 2 is a graphical operator interface diagram of another preferred embodiment of the present invention;
Detailed Description
The present invention will be further described with reference to the accompanying drawings, in order to make the objects, technical solutions and advantages of the present invention more apparent. In the description of the present invention, it should be understood that the terms "upper," "lower," "front," "rear," "left," "right," "top," "bottom," "inner," "outer," and the like indicate or are based on the orientation or positional relationship shown in the drawings, merely to facilitate description of the present invention and to simplify the description, and do not indicate or imply that the devices or elements referred to must have a specific orientation, be configured and operated in a specific orientation, and thus should not be construed as limiting the present invention.
The invention aims to provide a key technology for breaking through the unified architecture of a development environment, and an embedded development system based on a domestic autonomous controllable environment is realized, which comprises the following components:
an embedded development system based on a domestic autonomous controllable environment, comprising:
the system comprises an integrated development framework module, a code management module, a code compiling module, a code debugging module, a code analysis module and a performance optimization module;
the integrated development framework module is set to be a unified architecture and interface, is developed by adopting Java language, and defines a plugin specification based on the dynamic and modularized OSGi specification; based on the Equisox plug-in operation platform, providing a plug-in operation environment meeting OSGi specification requirements; based on SWT/JFace graphical interface development frame, the method is used as a unified interface development frame of an integrated development environment;
the code management module is set to generate a grammar tree based on a lexical analysis technology, a semantic analysis technology and a text intelligent association technology; storing code in the form of projects in a local workspace while providing a unified framework for integration with configuration management tools in an integrated development environment, providing integration with SVN, git, CVS, synergy for code management;
the code compiling module is arranged to construct a source code into an executable binary file through preprocessing, compiling, assembling and linking based on a cross compiling tool chain provided by Feiteng and Loongson;
the code debugging module is used for supporting hardware simulator level debugging aiming at industrial embedded application, realizing application debugging in an integrated development environment, suspending the whole operating system and acquiring and displaying the current running state of the operating system by setting breakpoints on source codes or assembly codes;
the code analysis module is used for positioning useless codes or non-executable codes, enhancing the readability and the execution efficiency of the program and reducing the risk of bug in the non-executable codes;
the performance optimization module is configured to provide low-overhead global performance monitoring for evaluating and monitoring the performance of the operating system, and is used for solving the problems of high CPU occupation or incapability of improving the program performance by analyzing the hot functions of the system and the call chains, cache/TLB hit rate and function execution efficiency information thereof.
In some preferred embodiments, the displaying the current running state of the operating system includes: all register information, memory information, global variable information and information of a thread stack where a current breakpoint is located.
The invention realizes the technical effects of the following three aspects: 1. and realizing the key technology of third-party plug-in integration. The system adopts the Equisox plug-in running environment with wide application in the industry, builds an autonomous and controllable development environment, provides development environment expansion API and plug-in installation mechanism, realizes great expansibility, and can meet various development requirements; 2. key technologies of code editing, management and compiling are realized. The system provides functions of code management based on configuration management tools, local code editing history management, local code history recovery and the like, cross compiling tool chains oriented to embedded hardware and software environments, compiling parameter configuration interfaces and the like; 3. the key technologies of project management, process control and project release are realized. The system provides functions of project creation guidance, display, import, export, attribute editing and the like, supports demand tracking, task tracking and defect tracking, and provides functions of demand batch construction, solidification of an operating system, application and the like; 4. the key technologies of code debugging, coverage rate analysis and performance optimization are realized. The system provides debugging functions and cross debugging functions based on hardware and software debuggers, source code test coverage analysis and performance analysis report generation functions to provide performance optimization decision support.
The technical scheme of the invention is further described below with reference to the accompanying drawings.
FIG. 1 is a diagram of an embedded development platform, which mainly includes a host supporting environment and a graphical operating environment. The host supporting environment provides an operation environment for the cross tool chain, provides a communication agent with a target machine side for the integrated development environment, and provides a cross debugging tool for the integrated development environment. The graphical operating environment is composed of a set of software modules associated with embedded software development, including: the system comprises an embedded application software debugging module, a binary file downloading and running module, a source code compiling module, an application solidifying module, an operating system solidifying module, a target machine communication management module, an operating system debugging module, a project management module, a project creation guide module, a source code editing module, a unit testing module and a static code checking module.
FIG. 2 is a graphical operation interface of a development platform that can create projects through menu bars, edit source files, compile projects, modify configuration, connect to a target machine for remote debugging, etc. The invention integrates embedded software design, development, debugging, simulation, test and integrated deployment, and organically combines a development platform and an operation platform. The development environment runs on the host machine side, provides rich project guidance and frameworks, and standardizes and simplifies the process of embedded board-level support package and software development. The development environment provides an intuitive configuration environment that allows embedded software developers to configure target boards, memory, operating systems, and components in a canonical, unified, centralized configuration view. Based on local area network, the service-oriented cross development environment eliminates the gap between host and target, and realizes localization of remote development. Remote cross debugging functions can be supported and remote target machine management is provided for development teams.
The foregoing has shown and described the basic principles, principal features and advantages of the invention. It will be understood by those skilled in the art that the present invention is not limited to the embodiments described above, and that the above embodiments and descriptions are merely illustrative of the principles of the present invention, and various changes and modifications may be made without departing from the spirit and scope of the invention, which is defined in the appended claims. The scope of the invention is defined by the appended claims and equivalents thereof.
Claims (2)
1. An embedded development system based on a domestic autonomous controllable environment, comprising:
the system comprises an integrated development framework module, a code management module, a code compiling module, a code debugging module, a code analysis module and a performance optimization module;
the integrated development framework module is set to be a unified architecture and interface, is developed by adopting Java language, and defines a plugin specification based on the dynamic and modularized OSGi specification; based on the Equisox plug-in operation platform, providing a plug-in operation environment meeting OSGi specification requirements; based on SWT/JFace graphical interface development frame, the method is used as a unified interface development frame of an integrated development environment;
the code management module is set to generate a grammar tree based on a lexical analysis technology, a semantic analysis technology and a text intelligent association technology; storing code in the form of projects in a local workspace while providing a unified framework for integration with configuration management tools in an integrated development environment, providing integration with SVN, git, CVS, synergy for code management;
the code compiling module is arranged to construct a source code into an executable binary file through preprocessing, compiling, assembling and linking based on a cross compiling tool chain provided by Feiteng and Loongson;
the code debugging module is used for supporting hardware simulator level debugging aiming at industrial embedded application, realizing application debugging in an integrated development environment, suspending the whole operating system and acquiring and displaying the current running state of the operating system by setting breakpoints on source codes or assembly codes;
the code analysis module is used for positioning useless codes or non-executable codes, enhancing the readability and the execution efficiency of the program and reducing the risk of bug in the non-executable codes;
the performance optimization module is configured to provide low-overhead global performance monitoring for evaluating and monitoring the performance of the operating system, and is used for solving the problems of high CPU occupation or incapability of improving the program performance by analyzing the hot functions of the system and the call chains, cache/TLB hit rate and function execution efficiency information thereof.
2. The embedded development system based on a domestic autonomous controlled environment of claim 1, wherein: the displaying the current running state of the operating system comprises the following steps: all register information, memory information, global variable information and information of a thread stack where a current breakpoint is located.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111494903.6A CN116301836A (en) | 2021-12-08 | 2021-12-08 | Embedded development system based on domestic autonomous controllable environment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111494903.6A CN116301836A (en) | 2021-12-08 | 2021-12-08 | Embedded development system based on domestic autonomous controllable environment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116301836A true CN116301836A (en) | 2023-06-23 |
Family
ID=86780171
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111494903.6A Pending CN116301836A (en) | 2021-12-08 | 2021-12-08 | Embedded development system based on domestic autonomous controllable environment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116301836A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117931205A (en) * | 2024-03-22 | 2024-04-26 | 北京智芯微电子科技有限公司 | Embedded integrated development system, method and electronic equipment |
-
2021
- 2021-12-08 CN CN202111494903.6A patent/CN116301836A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117931205A (en) * | 2024-03-22 | 2024-04-26 | 北京智芯微电子科技有限公司 | Embedded integrated development system, method and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20110191752A1 (en) | Method and System for Debugging of Software on Target Devices | |
CN114064152B (en) | Embedded multi-core debugging system based on dynamic loading and debugging method thereof | |
CN104462943B (en) | Non-intrusion type performance monitoring apparatus and method in operation system | |
CN101739333A (en) | Method, tool and device for debugging application program | |
CN102622470A (en) | General car code conversion method | |
CN101458633B (en) | Method for accessing host program by script program, and system and apparatus thereof | |
CN103389939A (en) | Detection method and detection system for controlled heap allocation bug | |
US8225286B2 (en) | Debugging interpreted input | |
Cassar et al. | eAOP: an aspect oriented programming framework for Erlang | |
CN118276844A (en) | Zhongke intelligent transport low-code configuration platform | |
CN116301836A (en) | Embedded development system based on domestic autonomous controllable environment | |
CN111159301A (en) | Data creating method, device, equipment and storage medium based on intelligent contract | |
CN109753281B (en) | Micro-grid energy management strategy visualization development tool based on graphical programming | |
CN110442520B (en) | Cross debugging system and method based on PLC programming language | |
CN117707499A (en) | Multi-source model algorithm analyzer plug-in and compiling algorithm based on virtualization technology | |
CN103631585A (en) | Method and system for developing application program | |
CN100517265C (en) | Microcontroller emulation system | |
CN116775009A (en) | Embedded software integrated development system based on graphical operating environment | |
CN115098080A (en) | Programming framework compatible with multiple languages | |
Zhang et al. | A dynamic software binary fault injection system for real-time embedded software | |
Lee et al. | A New Integrated Software Development Environment Based on SDL, MSC, and CHILL for Large‐scale Switching Systems | |
CN103559134A (en) | Configuration method and device for benchmark test component | |
CN112346778B (en) | Optimization method for automatically generating byte codes during compiling of Java program | |
Balzarotti et al. | Using program slicing to analyze aspect-oriented composition | |
CN116775010A (en) | Application development system based on Galaxy kylin system |
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 |