Derivative software construction method, system and device based on a native system
By editing and saving the user interface configuration file of the derived software, only necessary kernel modules are loaded, which solves the problem of excessive resource consumption in the existing technology and realizes the efficient operation of the software platform.
Patent Information
- Application Number
- CN202111504046.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-10
- Publication Date
- 2025-10-10
- Estimated Expiration
- 2041-12-10
AI Technical Summary
Existing software platforms require a large amount of system resources when loading user software modules, leading to system resource exhaustion, especially when multiple user software modules are running at the same time. Resource consumption is superimposed.
By editing the user interface of the derived software and saving it as a configuration file, a user-designed interface is generated, and only the kernel module and interface display module that the current user module depends on are loaded, avoiding loading other unnecessary modules.
It saves the system's CPU and memory consumption, and improves the startup speed of the software platform and user efficiency.
Smart Images

Figure CN114138268B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The application belongs to the technical field of software derivation, and particularly relates to a derivation software construction method, system and device based on a native system. BACKGROUND
[0002] The existing software platform supports secondary development of users thereon, so that the users obtain user interfaces and functions expected by the users, for example, Matlab software. After the secondary development of the users is completed, the users obtain a software module loaded based on the existing software platform. The users need to first run the software platform, load the user software module in a manner supported by the software platform, and then open the user interface and execute the functions expected by the users.
[0003] The existing software platform occupies a large amount of system resources due to rich functions. Even if the software module of the user is small in size, the user software module cannot be loaded and run until the entire software platform itself is completely loaded. In the case that multiple user software modules need to be run simultaneously, the consumption of system resources by the software platform relied on by each user software module will be superimposed, thereby leading to exhaustion of system resources.
[0004] Therefore, based on the above technical problems, a new derivation software construction method, system and device based on a native system need to be designed. SUMMARY
[0005] The application aims to provide a derivation software construction method, system and device based on a native system.
[0006] In order to solve the above technical problems, the application provides a derivation software construction method based on a native system, which comprises the following steps.
[0007] editing a user interface of the derivation software and saving the user interface into a derivation software interface configuration file; and
[0008] generating the interface designed by the user according to the derivation software interface configuration file.
[0009] Further, the method of editing the user interface of the derivation software and saving the user interface into the derivation software interface configuration file comprises the following steps.
[0010] editing the user interface of the derivation software through a derivation software interface editor of the software platform and saving the user interface into the derivation software interface configuration file;
[0011] running the software platform and the derivation software through a software platform kernel module of the software platform.
[0012] Further, the method of generating the interface designed by the user according to the derivation software interface configuration file comprises the following steps.
[0013] The software platform reads the derived software interface configuration file in the user module running state, and obtains the kernel module relied on by the current user module from the derived software interface configuration file;
[0014] The software platform only loads the kernel module relied on by the current user module and the derived software interface display module.
[0015] Further, the method for generating the user-designed interface according to the derived software interface configuration file further comprises:
[0016] The derived software interface display module in the software platform reads the derived software interface configuration file, and generates the user-designed interface according to the information in the configuration file.
[0017] In a second aspect, the application further provides a derived software construction system based on a native system, comprising:
[0018] The editing module edits the user interface of the derived software and saves it as a derived software interface configuration file; and
[0019] The interface generation module generates the user-designed interface according to the derived software interface configuration file.
[0020] In a third aspect, the application further provides a derived software device, comprising:
[0021] The software platform kernel module, the derived software management module and the derived software display module.
[0022] The software platform kernel module is adapted to control the derived software management module to edit the user interface of the derived software and save it as a derived software interface configuration file;
[0023] The software platform kernel module is adapted to control the derived software display module to generate the user-designed interface according to the derived software interface configuration file.
[0024] Further, the derived software device further comprises other software modules of the software platform;
[0025] The other software modules of the software platform are adapted to rely on the software platform kernel module to run.
[0026] Further, the derived software management module comprises a derived software interface editor;
[0027] The derived software interface editor is adapted to edit the user interface of the derived software and save it as a derived software interface configuration file.
[0028] The beneficial effects of the present application are that the present application edits the user interface of the derived software, and saves the derived software interface configuration file; and generates the user designed interface according to the derived software interface configuration file, so that the software platform can distinguish the dependent items of different user modules in the process of subsequently loading the user module, selectively loads the required kernel module, saves the CPU and memory consumption of the system, and improves the efficiency of the user using the software platform.
[0029] Other features and advantages of the present application will be set forth in the following description, and in part will become apparent to those skilled in the art upon examination of the following or can be learned by practice of the present application. The objects and other advantages of the present application will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
[0030] In order to make the above-mentioned purposes, features and advantages of the present application more obvious and easy to understand, the following preferred embodiments are specifically described below, and the accompanying drawings are described in detail as follows. BRIEF DESCRIPTION OF DRAWINGS
[0031] In order to more clearly illustrate the specific embodiments of the present application or the technical solutions in the prior art, the following will briefly introduce the drawings needed to be used in the specific embodiments or the prior art description. Obviously, the drawings in the following description are some embodiments of the present application, and those skilled in the art can also obtain other drawings according to these drawings without creative labor.
[0032] Figure 1 is a flow chart of the derived software construction method based on the native system of the present application;
[0033] Figure 2 is a principle schematic diagram of the software platform constructing derived software of the present application;
[0034] Figure 3 is a running principle schematic diagram of the derived software in the software platform of the present application;
[0035] Figure 4 is a CAN communication test system example based on the software platform of the present application. DETAILED DESCRIPTION
[0036] In order to make the purposes, technical solutions and advantages of the embodiments of the present application more clear, the technical solutions of the present application will be described clearly and completely in combination with the drawings. Obviously, the described embodiments are some of the embodiments of the present application, but not all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative labor are within the protection scope of the present application.
[0037] As Figure 1As shown, this embodiment provides a method for constructing derived software based on the native system, including: editing the user interface of the derived software and saving it as a derived software interface configuration file; and generating a user-designed interface based on the derived software interface configuration file, so that the software platform can distinguish the dependencies of different user modules in the process of subsequently loading user modules, and selectively load the required kernel modules, thereby saving the system's CPU and memory consumption and improving the efficiency of users using the software platform.
[0038] like Figure 2 As shown, in this embodiment, the derived software constructed on the native system includes: a software platform kernel module, other software modules of the software platform, a derived software management module, and a derived software display module; the software platform includes a derived software management module, a software platform kernel module and other software platform modules; the derived software management module includes a derived software interface editor.
[0039] In this embodiment, the method for editing the user interface of the derived software and saving it as a derived software interface configuration file includes: the user can edit the user interface of the derived software through the derived software interface editor of the software platform and save it as a derived software interface configuration file; run the software platform and the derived software through the software platform kernel module of the software platform; the software platform kernel module is a software module that the software platform itself and the derived software must rely on to run, and it is unconditionally loaded when the software platform is running; other software modules are other modules that rely on the software platform kernel module to run, and the software platform can dynamically load and unload this type of module at runtime.
[0040] like Figure 3 As shown, in this embodiment, the method for generating a user-designed interface based on a derived software interface configuration file includes: the software platform can be composed of a derived software interface display module and a software platform kernel module in the user running state; the software platform first reads the derived software interface configuration file in the user module running state, and obtains the kernel module on which the current user module depends from the derived software interface configuration file; the software platform only loads the kernel module and the derived software interface display module on which the current user module depends.
[0041] In the embodiment, the method for generating the user-designed interface according to the derived software interface configuration file further comprises: the derived software interface display module in the software platform reads the derived software interface configuration file and generates the user-designed interface according to the information in the configuration file, so that the user can further operate on the interface; the software platform selectively loads the kernel module and the derived software interface display module in the user running state without loading other software modules, thereby improving the starting speed of the software platform, reducing the resource consumption, and enabling the derived software to be used independently of the original system to reduce the CPU and memory resources occupied by the original system and improve the response speed of the user software module.
[0042] As shown in Figure 4 Specifically, the embodiment provides a CAN communication test system based on a software platform, which comprises an automotive network software platform and a derived software interface configuration file. The automotive network software platform is the original system and provides bottom support for the software module of the user. The derived software interface configuration file is for the software module designed by the user based on the software platform. The software platform comprises a derived software management module and a plurality of basic modules, such as a kernel communication module, a kernel simulation module, a kernel test module, and other software modules. The derived software interface configuration file depends on the kernel communication module for operation and does not depend on the kernel simulation module, the kernel test module, and other software modules. The derived software interface configuration file is loaded by the software platform. During the loading process, the software platform analyzes the kernel module relied on by the derived software and learns that the kernel communication module is the module relied on by the derived software, and other modules are not dependency items. The software platform continues to load the kernel module according to the dependency item, thereby completing the loading and initialization of the derived software. The software platform selectively loads the kernel communication module, thereby avoiding the loading of other modules and improving the starting speed of the software platform and reducing the system resource occupation.
[0043] In the embodiment, a derived software construction system based on an original system can also be provided according to the derived software construction method based on the original system, which comprises: an editing module that edits the user interface of the derived software and saves it as a derived software interface configuration file; and an interface generation module that generates the user-designed interface according to the derived software interface configuration file.
[0044] In this embodiment, a derived software device is constructed according to a method for constructing derived software based on a native system, comprising: a software platform kernel module, a derived software management module, and a derived software display module. The software platform kernel module is adapted to control the derived software management module to edit the user interface of the derived software and save it as a derived software interface configuration file; the software platform kernel module is adapted to control the derived software display module to generate a user-designed interface based on the derived software interface configuration file; the software platform is modularized, and the dependencies of the software platform-related modules are saved in the user module, thereby avoiding the need to load the entire software platform when starting the user module alone, reducing system resource usage and improving the startup speed of the user-derived software; and the software platform is enabled to distinguish the dependencies of different user modules during the subsequent loading of the user module and selectively load the required kernel module, thereby saving the system's CPU and memory consumption and improving the efficiency of the user's use of the software platform.
[0045] In this embodiment, the derived software device further includes: other software modules of the software platform; the other software modules of the software platform are adapted to run in dependence on the core module of the software platform.
[0046] In this embodiment, the derived software management module includes: a derived software interface editor; the derived software interface editor is suitable for editing the user interface of the derived software and saving it as a derived software interface configuration file.
[0047] In summary, the present invention edits the user interface of the derived software and saves it as a derived software interface configuration file; and generates a user-designed interface based on the derived software interface configuration file, so that the software platform can distinguish the dependencies of different user modules in the subsequent process of loading user modules, and selectively load the required kernel modules, thereby saving the system's CPU and memory consumption and improving the user's efficiency in using the software platform.
[0048] In several embodiments provided in the present application, it should be understood that the disclosed devices and methods can also be implemented by other manners. The device embodiments described above are merely illustrative, for example, the flowcharts and block diagrams in the drawings show the possible implementation architecture, function and operation of the apparatus, method and computer program product according to the embodiments of the present application. In this regard, each block in the flowchart or block diagram can represent a module, a program segment or a part of code, which includes one or more executable instructions for implementing the specified logic function. It should also be noted that in some alternative implementations, the functions noted in the blocks can occur in different orders from those noted in the drawings. For example, two consecutive blocks can actually be executed substantially in parallel, and they can also be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagram and / or flowchart, and the combination of blocks in the block diagram and / or flowchart, can be implemented by a dedicated hardware-based system for performing the specified functions or actions, or can be implemented by a combination of dedicated hardware and computer instructions.
[0049] In addition, the functional modules in the various embodiments of the present application can be integrated together to form an independent part, or each module can exist independently, or two or more modules can be integrated to form an independent part.
[0050] If the functions are implemented in the form of software function modules and sold or used as independent products, they can be stored in a computer readable storage medium. Based on this understanding, the technical solutions of the present application can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and various media that can store program codes.
[0051] Based on the above ideal embodiments according to the present application, through the above description, relevant personnel can make various changes and modifications without deviating from the scope of the technical idea of the present application. The technical scope of the present application is not limited to the contents in the specification, and must be determined by the scope of the claims.
Claims
1. A method for constructing derived software based on a native system, characterized in that: include: Edit the user interface of the derived software and save it as a derived software interface configuration file; as well as Generate a user-designed interface based on a derived software interface configuration file; The method of editing the user interface of the derived software and saving it as a derived software interface configuration file includes: Edit the user interface of the derived software through the derived software interface editor of the software platform and save it as a derived software interface configuration file; Run the software platform and derived software through the software platform kernel module of the software platform; The method for generating a user-designed interface according to a derived software interface configuration file comprises: When the software platform is in the user module running state, it first reads the derived software interface configuration file and obtains the kernel module that the current user module depends on from the derived software interface configuration file; The software platform only loads the kernel module and derived software interface display module that the current user module depends on; Among them, the native system is the software platform, that is, the automobile network software platform.
2. The method for constructing derived software based on a native system according to claim 1, wherein: The method for generating a user-designed interface according to the derived software interface configuration file further comprises: The derived software interface display module in the software platform reads the derived software interface configuration file and generates a user-designed interface according to the information in the configuration file.
3. A derived software construction system using the derived software construction method according to claim 1 or 2, characterized in that: include: Editing module, editing the user interface of the derived software and saving it as a derived software interface configuration file; as well as The interface generation module generates the user-designed interface based on the derived software interface configuration file.
4. A derived software device, characterized in that: include: Software platform kernel module, derived software management module, derived software display module; The software platform kernel module is adapted to control the derived software management module to edit the user interface of the derived software and save it as a derived software interface configuration file; The software platform kernel module is adapted to control the derived software display module to generate a user-designed interface according to a derived software interface configuration file; The derived software device also includes: other software modules of the software platform; Other software modules of the software platform are suitable for running in dependence on the core module of the software platform; The derived software management module includes: a derived software interface editor; The derived software interface editor is suitable for editing the user interface of the derived software and saving it as a derived software interface configuration file.
Citation Information
Patent Citations
Software platform development method and apparatus
CN105183458A
Secondary development platform for human-computer interface of open numerical control system and design method thereof
CN106055338A
Method, system and terminal for configuring user-defined human-computer interface through touch screen
CN112578986A