Instruction running method and development system based on real-time operating system

Through the transformation and optimization of VSCodiumIDE, a command operation method and development system based on real-time operating system is provided, which solves multiple problems in the integrated development environment under the real-time operating system, realizes an efficient and convenient development process, and improves development efficiency and quality.

CN120066577APending Publication Date: 2025-05-30ANHUI GUOXUN CORE MICROTECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411955173.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-27
Publication Date
2025-05-30

AI Technical Summary

Technical Problem

The existing integrated development environment has problems such as cumbersome and easy to make mistakes in the construction of engineering environments, complex and high risk of writing CMake files, high workload of third-party library installation, and the inability to directly configure the isolation core and update the system, which seriously affects development efficiency and project progress.

Method used

By deeply transforming and optimizing the open source VSCodiumIDE, it provides instructions running methods and development systems based on real-time operating systems, including project configuration modules, cross-platform construction modules, third-party library installation modules, isolated core configuration modules and kernel system update modules, achieving convenient and efficient visual project development and configuration.

Benefits of technology

It significantly reduces the difficulty of development, shortens development time, improves the overall development efficiency and quality of the project, and provides strong technical support for innovative development in high-end technology fields.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120066577A_ABST
    Figure CN120066577A_ABST
Patent Text Reader

Abstract

The invention discloses an instruction running method based on a real-time operating system, which comprises the following steps of: acquiring a project configuration file, and storing the project configuration file in a preset format; generating a corresponding compiling configuration file according to the instruction; obtaining a third-party library according to the instruction, and installing the third-party library based on the instruction; generating at least one control program based on the input code and / or the code of the third-party library; and identifying the core architecture of the to-be-configured device, obtaining configurable isolation core parameters and corresponding functions, and binding the selected control program with the selected core. The invention further discloses a development system using the method. The instruction running method can adapt to the characteristics and requirements of a real-time operating system, and provides a convenient and efficient visual project development and configuration tool for developers, so that the development difficulty is remarkably reduced, the development time is shortened, the overall development efficiency and quality of projects are improved, and powerful technical support is provided for innovative development of the high-end technical field.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of software development, and specifically, to an instruction running method and a development system based on a real-time operating system. Background Art

[0002] In today's era of rapid technological development, high-end precision technology fields such as artificial intelligence and industrial control are showing a booming development trend, which puts more stringent requirements on the performance and functions of real-time operating systems. With its excellent real-time performance and high stability, real-time operating systems have gradually emerged and gained wide application and recognition in these key fields. However, the functions of existing integrated development environments under real-time operating systems still cannot meet the needs of developers, seriously restricting the development efficiency and the smooth progress of projects.

[0003] Specifically, the traditional integrated development environment exposes the following significant problems when facing real-time operating systems:

[0004] The complexity and error-proneness of engineering environment setup: When developers need to transplant engineering projects between different devices, the existing integrated development environment cannot directly run engineering files. This means that developers must manually repeat the reconfiguration work of the development environment for each new device. This process not only consumes a large amount of precious development time, but also, due to the involvement of numerous complex configuration parameters and steps, is extremely prone to configuration errors caused by human negligence, thereby affecting the normal development of the project, prolonging the development cycle, and increasing costs;

[0005] The complexity and high risk of CMake file writing: During the project compilation process, the writing of CMake files is a crucial link. However, traditional integrated development environments require developers to have a deep knowledge reserve of CMake to manually write CMake files. When dealing with large projects, the files and dependencies to be added are intricate, which makes developers face extremely high error risks during manual operations. A minor syntax error or dependency omission may lead to compilation failures and even abnormal construction of the entire project, seriously affecting the development progress and the stability of the project;

[0006] The huge workload of third-party library installation: Different platforms and diverse engineering projects often require specific third-party library support. In the traditional integrated development environment, developers need to manually add the required third-party libraries one by one. For large projects, the number of third-party libraries they depend on may reach up to hundreds, which undoubtedly brings a heavy workload to developers. The process of manually downloading, decompressing, and configuring each third-party library is not only time-consuming and laborious, but also prone to problems such as version incompatibility and dependency conflicts, further increasing the complexity and uncertainty of project development.

[0007] It is impossible to set up an isolated core for a real-time operating system and update the system, etc.: When the existing integrated development environment involves the configuration of the isolated core and system update operations, developers cannot directly complete relevant operations in the integrated development environment, but need to achieve these functions through other complex and inconvenient methods. For example, to configure the isolated core through command-line tools, it is necessary to write complex instruction sets at the uboot stage to achieve this effect.

[0008] This not only increases the difficulty and complexity of the operation, but also may cause system failures due to improper operations, seriously affecting the development experience and system stability. Summary of the Invention

[0009] In order to overcome the defects in the prior art, the present invention provides an instruction running method and a development system based on a real-time operating system. The instruction running method based on the real-time operating system deeply transforms and optimizes the open-source VSCodium IDE, enabling it to accurately adapt to the characteristics and requirements of the real-time operating system, providing developers with a convenient and efficient visual project development and configuration tool, thereby significantly reducing the development difficulty, shortening the development time, improving the overall development efficiency and quality of the project, and providing strong technical support for the innovative development in the high-end technology field.

[0010] To achieve the above object, the technical solution adopted by the present invention is: An instruction running method based on a real-time operating system, comprising the following steps:

[0011] Obtain a project configuration file and save the project configuration file in a preset format;

[0012] Generate a corresponding compilation configuration file according to the user instruction;

[0013] Obtain a third-party library according to the user instruction and install the third-party library based on the user instruction;

[0014] Generate at least one control program based on the code input by the user and / or the code of the third-party library;

[0015] Identify the core architecture of the device to be configured, obtain the configurable isolated core parameters and corresponding functions, bind the selected control program to the selected core, and run the selected control program by the selected core.

[0016] Further, the step of saving the project configuration file in a preset format includes:

[0017] Obtain the configuration requirements of different devices and projects, determine a unified project configuration file format, convert the existing project configuration into a unified format through a format conversion module, and store the project configuration in the unified format in a text form.

[0018] Further, when transplanting the configuration file, detect the format of the project configuration file. If the format of the project configuration file is different from the preset format, generate a prompt message.

[0019] Further, the step of saving the project configuration file in the preset format further includes:

[0020] Before modifying the project configuration file, create a backup and recovery program for the project configuration file. The recovery program is used to quickly restore the project configuration file to the backup state.

[0021] Further, the step of obtaining the third-party library according to the user instruction includes:

[0022] According to the user instruction, add the source code git repository address of the selected third-party library to the script set;

[0023] Download the source code of the third-party library according to the source code git repository address in the script set, and complete the decompression and compilation work.

[0024] Further, the step of binding the selected control program to the selected core includes:

[0025] Bind the selected control program and the selected core according to the user instruction, and detect whether the isolated core configuration takes effect. If it does not take effect, generate a prompt message.

[0026] Further, it further includes the step of updating the kernel system. The step of updating the kernel system includes:

[0027] Parse the uploaded kernel file, and read the version number of the kernel file, the supported instruction set architecture, and the version of the system library on which the kernel depends;

[0028] Read the version number of the target device, the supported instruction set architecture, and the version of the system library on which the kernel depends;

[0029] Compare the kernel file with the version number of the target device, the supported instruction set architecture, and the version of the system library on which the kernel depends. If the information matches, start the upgrade operation.

[0030] A development system based on a real-time operating system using the above method for running instructions based on a real-time operating system, including:

[0031] A project configuration module, and the format conversion module is used to save the obtained project configuration file in a preset format;

[0032] A cross-platform building module. The cross-platform building module includes a visual CMake configuration interface. The visual CMake configuration interface includes a plurality of configuration buttons. The configuration buttons have a mapping relationship with CMake parameters. Users can select to generate corresponding compilation configuration files according to different systems;

[0033] A third-party library installation module, the third-party library installation module includes a visual installation interface, and the visual installation interface is used to display third-party libraries, and users can select the required third-party libraries on the visual installation interface;

[0034] An isolated core configuration module, the isolated core configuration module is used to identify the core architectures of different devices under a real-time operating system, obtain configurable isolated core parameters and corresponding functions, and users can bind a preset program to the core;

[0035] A kernel system update module, the kernel system update module is used to upload kernel files to update the kernel system.

[0036] This development system based on a real-time operating system deeply transforms and optimizes the open-source VSCodium IDE, enabling it to accurately adapt to the characteristics and requirements of the real-time operating system, providing developers with a convenient and efficient visual project development and configuration tool, thereby significantly reducing the development difficulty, shortening the development time, improving the overall development efficiency and quality of the project, and providing strong technical support for the innovative development in high-end technology fields.

[0037] Further, the isolated core configuration module includes a visual interaction interface, the visual interaction interface presents the isolated core parameters to the user, and the isolated core parameters include device identification codes;

[0038] The visual interaction interface includes an isolated core configuration interface, and the selection boxes on the isolated core configuration interface correspond to the setting instructions of the underlying isolated core.

[0039] Through the above technical solution, the conversion between the selection box and the setting instructions of the system underlying isolated core is realized through configuration code. Users only need to perform a simple tick operation to set the isolated core, without having to deeply understand the complex isolated core configuration details, improving the configuration efficiency of device-specific functions and enhancing the support ability of the development environment for specific hardware platforms.

[0040] Further, the isolated core configuration module includes a verification sub-module, the verification sub-module is used to detect whether the configured isolated core takes effect. If the configured isolated core does not take effect, the verification sub-module pops up a feedback interface to prompt error information for the user to adjust in time. The method for detecting whether the isolated core takes effect includes measuring the response time of a preset application program and comparing the differences when the isolated core is enabled and disabled. If the isolated core is effective, the response time of the preset application program should be more stable and not show obvious fluctuations due to the interference of other tasks.

[0041] Further, the kernel system update module includes:

[0042] Kernel file upload interaction interface, which is used to display the device model under the real-time operating system;

[0043] Matching sub-module, which associates and matches the uploaded kernel file with the real-time operating system of the target device, and extracts update information. The parsing and adaptation of the kernel file are realized through code to ensure that the uploaded kernel file corresponds one-to-one with the real-time operating system of the target device and ensure the smooth progress of the update.

[0044] Furthermore, the kernel system update module includes a log sub-module, which is used to record the update log of the kernel system update. When an exception occurs during the update, the system can be rolled back to the stable state before the update according to the update log to ensure the stable operation of the system.

[0045] Furthermore, the project configuration module includes:

[0046] Verification sub-module, which is used to detect the format of the configuration file when the configuration file is generated or transplanted, and generate prompt information when problems such as format errors and parameter missing occur;

[0047] Backup sub-module, which is used to back up the project configuration file. If an error occurs in the project configuration file after format conversion, it can be quickly restored to the configuration state before conversion to ensure the stability of project transplantation.

[0048] Furthermore, the cross-platform build module includes:

[0049] Visual CMake configuration interface, which includes multiple configuration buttons. The configuration buttons have a mapping relationship with CMake parameters. The mapping relationship between the configuration buttons and the corresponding CMake parameters is realized through code to ensure that the content selected or input by the user can be accurately converted into the corresponding syntax content in the CMakeList file.

[0050] Auxiliary sub-module, which is used to provide configuration suggestions and parameters for the user according to the project type and the dependencies selected by the user to further reduce the operation difficulty;

[0051] Preview sub-module, which is used to display the configuration compilation effect to facilitate timely adjustment of the accompanying content.

[0052] Furthermore, the visual installation interface of the third-party library installation module has a search and filtering interface. The third-party library installation module also includes:

[0053] Script set module, which is used to add the source code git repository address of the third-party library selected by the user in the visual installation interface.

[0054] Furthermore, the third-party library installation module includes a loading sub-module, which is used to download the source code of the third-party libraries added in the script set module, and complete the decompression and compilation work. The link of the third-party library source and the download rules are set in the loading sub-module. During the project compilation process, the loading sub-module automatically completes a series of operations such as source code download, decompression, and compilation according to the third-party libraries selected in the visual installation interface.

[0055] Furthermore, the third-party library installation module includes:

[0056] A version management sub-module, which is used to detect the version update of the third-party libraries. When adding a new third-party library, the version management sub-module can detect whether there is a version conflict between the new third-party library and the existing third-party libraries. If there is no conflict, it can be added smoothly; if there is a conflict, a prompt message will be generated.

[0057] With the above technical solutions, the beneficial effects of the present invention are as follows:

[0058] 1. This application visualizes the cross-platform construction module, the third-party library installation module, the isolated core configuration module, and the kernel system update module. Users can complete the file configuration through simple tick operations, avoiding cumbersome configuration problems, simplifying the operation process of users during development, and reducing development time.

[0059] 2. In this application, the isolated core configuration module identifies the core architectures of different devices under the real-time operating system, obtains the configurable isolated core parameters and corresponding functions. Users can complete the configuration of the isolated core through simple tick operations on the visual interaction interface of the isolated core configuration module, improving the configuration efficiency of device-specific functions.

[0060] To make the above and other purposes, features, and advantages of the present invention more obvious and understandable, the following specific preferred embodiments are given in conjunction with the accompanying drawings and are described in detail as follows. BRIEF DESCRIPTION OF THE DRAWINGS

[0061] In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings required for the description of the embodiments or the prior art. Obviously, the following drawings are only some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.

[0062] Figure 1 It is a schematic diagram of the system architecture of the development system based on the real-time operating system in the embodiment of the present invention.

[0063] Figure 2It is a functional schematic diagram of the development system based on the real-time operating system in the embodiment of the present invention.

[0064] Figure 3 It is a process schematic diagram of the project configuration module in the embodiment of the present invention.

[0065] Figure 4 It is a process schematic diagram of the cross-platform building module in the embodiment of the present invention.

[0066] Figure 5 It is a process schematic diagram of the third-party library installation module in the embodiment of the present invention.

[0067] Figure 6 It is a process schematic diagram of the isolated core configuration module in the embodiment of the present invention.

[0068] Figure 7 It is a process schematic diagram of the kernel system update module in the embodiment of the present invention. Detailed implementation manners

[0069] Next, the technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.

[0070] It should be noted that in the description of the present invention, the terms "first", "second", etc. are only used for descriptive purposes and to distinguish similar objects, and there is no sequence between them, nor can they be understood as indicating or implying relative importance. In addition, in the description of the present invention, unless otherwise specified, the meaning of "a plurality" is two or more.

[0071] Embodiment: An instruction running method based on a real-time operating system is disclosed in this embodiment, including the following steps:

[0072] Obtain the configuration requirements of different devices and projects, determine a unified project configuration file format, convert the existing project configuration into a unified format through a format conversion module, and store the project configuration in the unified format in a text form;

[0073] When transplanting the configuration file, detect the project configuration file format. If it is detected that the project configuration file format is different from the preset format, a prompt message will be generated;

[0074] Among them, before each modification of the project configuration file, a backup and recovery function of the project configuration file will be created, and the recovery function will quickly restore the project configuration file to the backup state;

[0075] Generate corresponding compilation configuration files according to user instructions;

[0076] According to user instructions, add the source code git repository addresses of the selected third-party libraries to the script set, download the source code of the third-party libraries according to the source code git repository addresses in the script set, and complete the decompression and compilation work;

[0077] Generate at least one control program based on the code input by the user and / or the code of the third-party library;

[0078] Identify the core architecture of the device to be configured, obtain configurable isolation core parameters and corresponding functions, bind the selected control program to the selected core, and run the selected control program by the selected core; It should be noted that after binding the selected control program to the selected core, automatically detect whether the isolation core configuration takes effect. If it does not take effect, generate a prompt message.

[0079] It also includes the step of updating the kernel system:

[0080] Parse the uploaded kernel file, and read the version number of the kernel file, the instruction set architecture supported, and the version of the system library on which the kernel depends;

[0081] Read the version number of the target device, the instruction set architecture supported, and the version of the system library on which the kernel depends;

[0082] Compare the kernel file with the version number of the target device, the instruction set architecture supported, and the version of the system library on which the kernel depends. If the information matches, start the upgrade action.

[0083] Embodiment 2 discloses a development system based on a real-time operating system for executing the above-mentioned instruction running method based on a real-time operating system, including:

[0084] A project configuration module, which is used to analyze the configuration requirement characteristics of different devices and projects, determine a unified project configuration file format standard, which covers various key configuration parameters and information. The project configuration module can store the configured project configuration information in the form of a file. When migrating projects between different devices, only the stored file needs to be transplanted, without the need for reconfiguration operations, reducing the risk of configuration errors and providing convenience for developers in a multi-device development environment. As Figure 3 shown, the project configuration module includes a verification sub-module and a backup sub-module. The verification sub-module is used to automatically detect possible format errors, parameter omissions, etc. in the configuration file during generation and transplantation. If a problem is detected, a prompt message is generated to facilitate the user to correct it in time. The backup sub-module is used to back up the project configuration file, so that developers can quickly restore to the previous stable configuration state in case of unexpected situations, ensuring the stability of project transplantation.

[0085] A cross-platform build module for generating corresponding compilation configuration files on different systems. As Figure 4 shown, the cross-platform build module includes an auxiliary sub-module and a preview sub-module. The visual CMake configuration interface includes multiple configuration buttons, and the mapping relationship between the configuration buttons and the corresponding CMake parameters is implemented by writing code to ensure that the content selected or input by the user can be accurately converted into the corresponding syntax content in the CMakeList file. The auxiliary sub-module can automatically provide users with common configuration suggestions and some default parameters according to the project type, selected dependencies, etc., further reducing the operation difficulty. The preview sub-module has functions of syntax checking and compilation preview. After the user completes the configuration, it can quickly check for syntax errors and display the general compilation effect, facilitating timely adjustment of the configuration content.

[0086] The cross-platform build module adopts a visual CMake file configuration method, making the originally complex CMake configuration process simple and easy to understand. Developers can complete the generation of the CMakeList file through an intuitive operation interface without having to delve into the CMake syntax rules, effectively reducing the development threshold and improving the development efficiency.

[0087] A third-party library installation module that adapts to the common third-party libraries required for various industries such as industrial control design, artificial intelligence, and robotics. The third-party library installation module is used to install third-party libraries according to requirements. A third-party library refers to a software library developed by non-official or non-standard library developers for extending functions in a specific programming language. As Figure 5 shown, the third-party library installation module includes a visual installation interface, a script set module, a loading sub-module, and a version management sub-module. The visual installation interface is used to display third-party libraries and has a search and filtering interface for conveniently retrieving the required third-party libraries. The script set module is used to add the source code git repository addresses of the third-party libraries selected by the user in the visual installation interface. The loading sub-module is used to download the source code of the third-party libraries added in the script set module and complete the decompression and compilation work. The download rules and links to the third-party library sources are set in the loading sub-module. During the project compilation process, the loading sub-module automatically completes a series of operations such as source code download, decompression, and compilation according to the third-party libraries selected in the visual installation interface. The version management sub-module is used to detect the version update situation of third-party libraries. When adding a new third-party library, the version management sub-module can detect whether there is a version conflict between the new third-party library and the existing third-party libraries. If there is no conflict, it is added smoothly; if there is a conflict, a prompt message is generated.

[0088] Isolation core configuration module, which can identify the core architectures of different devices under a real-time operating system, obtain configurable isolation core parameters and corresponding functions, and bind a preset application program to a core for execution. The isolation core is a core technical mechanism for implementing system resource isolation and security protection. It isolates different computing tasks or processes through hardware or software means to ensure that they run in their respective isolated environments without interference from each other, thereby improving the security, stability, and reliability of the system. As Figure 6 shown, the isolation core configuration module includes a visual interaction interface and a verification sub-module. The visual interaction interface presents the obtained isolation core parameters to the user, and the isolation core parameters include device identification codes. The visual interaction interface includes an isolation core configuration interface, which realizes the conversion between the selection box of the isolation core configuration interface and the setting instructions of the underlying isolation core of the system through configuration codes. Users only need to perform a simple tick operation to set the isolation core without having to deeply understand the complex isolation core configuration details, improving the configuration efficiency of device-specific functions and enhancing the support ability of the development environment for specific hardware platforms. The verification sub-module is used to detect whether the configured isolation core takes effect. If the configured isolation core does not take effect, the verification sub-module pops up a feedback interface to prompt error information for the user to adjust in a timely manner. The method for detecting whether the isolation core takes effect includes measuring the response time of a preset application program and comparing the differences when the isolation core is enabled and disabled. If the isolation core is effective, the response time of the preset application program should be more stable and not show obvious fluctuations due to the interference of other tasks.

[0089] Optionally, the method for detecting whether the isolation core takes effect also includes common isolation core effectiveness identification methods such as task scheduling order monitoring, CPU usage rate monitoring, and memory usage observation. Among them, task scheduling order monitoring is to view the execution order and allocation of tasks through the task scheduling information or debugging tools provided by the system. If the isolation core takes effect, tasks should be executed in the corresponding core or area according to the set isolation policy without illegal scheduling across isolation boundaries. CPU usage rate monitoring is to use the built-in performance monitoring tools of the system or third-party monitoring software to observe the usage rate of each CPU core. If the isolation core takes effect, the task load on the isolated core should be relatively stable and meet expectations, without abnormal fluctuations or excessive usage rates.

[0090] Kernel system update module, which is used to upload kernel files to update the kernel system. As Figure 7As shown, the kernel system update module includes a kernel file upload interaction interface, a matching sub-module, and a log sub-module. The user selects the corresponding device model on the kernel file upload interaction interface and sets upload restrictions and verification rules such as the format and size of the kernel file. The matching sub-module parses the uploaded kernel file, reads the version number, supported instruction set architecture, and the version of the basic system libraries on which the kernel depends, etc., and reads the above information in the target device through system instructions and compares it with the information parsed by the matching sub-module. If the information comparison is satisfied, it means the matching is successful. The uploaded kernel file is associated and matched with the real-time operating system of the target device through the matching sub-module, and update information is extracted to ensure that the uploaded kernel file and the real-time operating system of the target device are in one-to-one correspondence, ensuring the smooth progress of the update. The log sub-module is used to record the update log of the kernel system update. When an exception occurs during the update, the system can be rolled back to the stable state before the update according to the update log, ensuring the completely stable operation of the system.

[0091] Optionally, the kernel system update module is provided with a one-key update execution module, which integrates various operation instructions required for system update and executes them in an orderly manner according to the established process after the user clicks the update button to achieve the update of the kernel system.

[0092] This development system based on the real-time operating system deeply transforms and optimizes the open-source VSCodium IDE, enabling it to accurately adapt to the characteristics and requirements of the real-time operating system, providing developers with a convenient and efficient visual project development and configuration tool, thereby significantly reducing the development difficulty, shortening the development time, improving the overall development efficiency and quality of the project, and providing strong technical support for the innovative development in the high-end technology field.

[0093] In the present invention, specific embodiments are used to elaborate on the principle and implementation manner of the present invention. The description of the above embodiments is only used to help understand the method and its core idea of the present invention; at the same time, for those of ordinary skill in the art, according to the idea of the present invention, there will be changes in the specific implementation manner and application scope. In summary, the content of this specification should not be construed as a limitation to the present invention.

Claims

1. A method for executing instructions based on a real-time operating system, characterized in that: The following steps are involved: Get the project configuration file and save it in a preset format; Generate corresponding compilation configuration files according to user instructions; Obtain third-party libraries according to user instructions and install third-party libraries based on user instructions; generating at least one control program based on the code input by the user and / or the code of the third-party library; Identify the core architecture of the device to be configured, obtain configurable isolated core parameters and corresponding functions, bind the selected control program to the selected core, and run the selected control program by the selected core.

2. The instruction execution method based on a real-time operating system according to claim 1, characterized in that: Steps to save a project configuration file in a preset format include: Obtain the configuration requirements of different devices and projects, determine a unified project configuration file format, convert the existing project configuration into a unified format through the format conversion module, and store the unified format project configuration in the form of a collection.

3. The instruction execution method based on the real-time operating system according to claim 2, characterized in that: When porting configuration files, the project configuration file format is detected. If the project configuration file format is different from the preset format, a prompt message is generated.

4. The instruction execution method based on a real-time operating system as claimed in claim 2, characterized in that: Steps to save the project configuration file in a preset format also include: Before modifying the project configuration file, create a backup and recovery program for the project configuration file, and the recovery program can quickly restore the project configuration file to the backup state.

5. The instruction execution method based on a real-time operating system according to claim 1, characterized in that: Steps to obtain third-party libraries according to user instructions include: According to user instructions, add the source code git repository address added by the selected third-party library to the script collection; Download the source code of the third-party library according to the source code git repository address in the script set, and complete the decompression and compilation work.

6. The instruction execution method based on a real-time operating system according to claim 1, characterized in that: The steps to bind the selected control program to the selected core include: Bind the selected control program to the selected core according to the user's instructions, and check whether the isolated core configuration is effective. If not, generate a prompt message.

7. The instruction execution method based on a real-time operating system according to claim 1, characterized in that: The steps of updating the kernel system are also included. The steps of updating the kernel system include: Parse the uploaded kernel file, read the kernel file version number, supported instruction set architecture, and the version of the system library that the kernel depends on; Read the version number of the target device, the supported instruction set architecture, and the version of the system library that the kernel depends on; The kernel file is compared with the version number of the target device, the supported instruction set architecture, and the version of the system library on which the kernel depends. If the information matches, the upgrade action is started.

8. A development system based on a real-time operating system using the instruction execution method based on a real-time operating system according to any one of claims 1 to 7, characterized in that: include: The project configuration module, the format conversion module is used to save the acquired project configuration file in a preset format, the project configuration module includes a verification submodule and a backup submodule, the verification submodule is used to detect the format of the configuration file when the configuration file is generated or transplanted, and generate a prompt message if there is a problem with the format; the backup submodule is used to back up the project configuration file; A cross-platform construction module, which includes a visual CMake configuration interface, an auxiliary submodule and a preview submodule. The visual CMake configuration interface includes multiple configuration buttons, which have a mapping relationship with CMake parameters. Users can generate corresponding compilation configuration files according to different system selections. The auxiliary submodule is used to provide users with configuration suggestions and parameters according to the project type and the dependencies selected by the user. The preview submodule is used to display the configuration compilation effect; A third-party library installation module, the third-party library installation module includes a visual installation interface, a script collection module, a loading submodule and a version management submodule. The visual installation interface of the third-party library installation module has a search and screening interface. The visual installation interface is used to display the third-party library, and the user can select the required third-party library in the visual installation interface; the script collection module is used to add the source code git repository address of the third-party library selected by the user in the visual installation interface; the loading submodule is used to download the source code of the third-party library added in the script collection module, and complete the decompression and compilation work; the version management submodule is used to detect the version update of the third-party library. When adding a new third-party library, the version management submodule can detect whether there is a version conflict between the new third-party library and the existing third-party library. If there is no conflict, it will be added smoothly. If there is a conflict, a prompt message will be generated; An isolated core configuration module, which is used to identify the core architecture of different devices under the real-time operating system, obtain configurable isolated core parameters and corresponding functions, and the user can bind a preset program to the core; A kernel system update module is used to upload kernel files to update the kernel system.

9. The real-time operating system-based development system according to claim 8, characterized in that: The isolation core configuration module includes a visual interactive interface, and the visual interactive interface presents isolation core parameters to the user, and the isolation core parameters include a device identification code; The visual interaction interface includes an isolation core configuration interface, and the selection box of the isolation core configuration interface corresponds to the setting instruction of the underlying isolation core; The verification submodule is used to detect whether the configured isolation core is effective. If the configured isolation core is not effective, the verification submodule pops up a feedback interface to prompt an error message.

10. The real-time operating system-based development system according to claim 1, characterized in that: The kernel system update module includes: A kernel file upload interactive interface, wherein the kernel file upload interactive interface is used to display the device model under the real-time operating system; A matching submodule, wherein the matching submodule associates and matches the uploaded kernel file with the real-time operating system of the target device and extracts update information; The log submodule is used to record the update log of the kernel system update.