Method, system and equipment for generating user design interface according to derived software interface configuration file
By editing and saving the derived software interface configuration file, only the necessary kernel modules and interface display modules are loaded, solving the resource exhaustion problem in the existing technology and improving the startup speed and user efficiency of the software platform.
Patent Information
- Application Number
- CN202511340157.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-10
- Publication Date
- 2025-12-23
AI Technical Summary
When loading user software modules, existing software platforms require the entire platform to be fully loaded, leading to the exhaustion of system resources. This is especially true when multiple user software modules are running simultaneously, resulting in cumulative resource consumption and impacting system efficiency.
By editing the user interface of the derived software and saving it as a configuration file, a user-designed interface is generated. Only the kernel modules and interface display modules that the current user module depends on are loaded, avoiding the loading of other non-dependent modules. Selective loading is achieved by utilizing the combination of the software platform kernel modules and interface display modules.
It saves system CPU and memory consumption, improves software platform startup speed and user efficiency, and reduces resource consumption.
Smart Images

Figure CN121187579A_ABST
Abstract
Description
[0001] The present application is a divisional application of 2021115040463, a method, system and device for constructing derivative software based on a native system. TECHNICAL FIELD
[0002] The present application belongs to the technical field of software derivation, and specifically relates to a method, system and device for constructing derivative software based on a native system. BACKGROUND
[0003] Existing software platforms support secondary development by users, thereby obtaining user interfaces and functions expected by users, such as Matlab software. After the secondary development is completed, the user obtains a software module loaded based on the existing software platform. The user needs to first run the software platform to load the user software module in a manner supported by the software platform, so as to open the user interface and execute the function expected by the user.
[0004] The existing software platform is rich in functions, and loading the complete platform requires a large amount of system resources. Even if the user's software module 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 where 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.
[0005] Therefore, based on the above technical problems, a new method, system and device for constructing derivative software based on a native system are needed to be designed. SUMMARY
[0006] The purpose of the present application is to provide a method, system and device for constructing derivative software based on a native system.
[0007] In order to solve the above technical problems, the present application provides a method for constructing derivative software based on a native system, comprising:
[0008] editing a user interface of the derivative software and saving it as a derivative software interface configuration file; and
[0009] generating an interface designed by the user according to the derivative software interface configuration file.
[0010] Further, the method of editing a user interface of the derivative software and saving it as a derivative software interface configuration file comprises:
[0011] editing a user interface of the derivative software and saving it as a derivative software interface configuration file through a derivative software interface editor of the software platform;
[0012] running the software platform and the derivative software through a software platform kernel module of the software platform.
[0013] Further, the method for generating the user-designed interface according to the derived software interface configuration file comprises:
[0014] 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.
[0015] The software platform only loads the kernel module relied on by the current user module and the derived software interface display module.
[0016] Further, the method for generating the user-designed interface according to the derived software interface configuration file further comprises:
[0017] 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.
[0018] In a second aspect, the application further provides a derived software construction system based on a native system, comprising:
[0019] The editing module edits the user interface of the derived software, and saves the user interface into a derived software interface configuration file; and
[0020] The interface generation module generates the user-designed interface according to the derived software interface configuration file.
[0021] In a third aspect, the application further provides a derived software device, comprising:
[0022] The software platform kernel module, the derived software management module and the derived software display module.
[0023] 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 the user interface into a derived software interface configuration file.
[0024] 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.
[0025] Further, the derived software device further comprises: other software modules of the software platform.
[0026] The other software modules of the software platform are adapted to rely on the software platform kernel module to run.
[0027] Further, the derived software management module comprises: a derived software interface editor.
[0028] The derived software interface editor is adapted to edit the user interface of the derived software, and save the user interface into a derived software interface configuration file.
[0029] The beneficial effects of the present application are that the present application derives the user interface of the software, and saves it as a 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, and selectively loads the required kernel modules in the process of subsequently loading the user modules, thereby saving the CPU and memory consumption of the system, and improving the efficiency of the user using the software platform.
[0030] Other features and advantages of the present application will be set forth in the descriptions that follow, 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 can be realized and attained by the structure particularly pointed out in the description and the drawings.
[0031] In order to make the above-mentioned objects, 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
[0032] 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 obtain other drawings according to these drawings without any creative labor.
[0033] Figure 1 is a flow chart of the derived software construction method based on the native system of the present application;
[0034] Figure 2 is a principle schematic diagram of the software platform constructing derived software of the present application;
[0035] Figure 3 is a running principle schematic diagram of the derived software in the software platform of the present application;
[0036] Figure 4 is a CAN communication test system example based on the software platform of the present application. DETAILED DESCRIPTION
[0037] In order to make the objects, 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 any creative labor are within the protection scope of the present application.
[0038] As Figure 1As shown, the embodiment provides a derivative software construction method based on a native system, which comprises: editing a user interface of the derivative software and saving it as a derivative software interface configuration file; and generating a user-designed interface according to the derivative software interface configuration file, so that the software platform can distinguish the dependencies of different user modules and selectively load the required kernel modules in the process of subsequently loading the user modules, thereby saving the CPU and memory consumption of the system and improving the efficiency of the user using the software platform.
[0039] As Figure 2 shown, in the embodiment, the derivative software constructed on the native system comprises: a software platform kernel module, other software modules of the software platform, a derivative software management module, and a derivative software display module; the software platform comprises the derivative software management module, the software platform kernel module, and other software platform modules; and the derivative software management module comprises a derivative software interface editor.
[0040] In the embodiment, the method of editing a user interface of the derivative software and saving it as a derivative software interface configuration file comprises: a user can edit a user interface of the derivative software through the derivative software interface editor of the software platform and save it as a derivative software interface configuration file; the software platform and the derivative software are run through the software platform kernel module of the software platform; the software platform kernel module is a software module that must be relied on by both the software platform itself and the derivative software, and it is loaded unconditionally when the software platform is run; and other software modules are other modules that rely on the software platform kernel module for running, and the software platform can dynamically load and unload this type of module when running.
[0041] As Figure 3 shown, in the embodiment, the method of generating a user-designed interface according to the derivative software interface configuration file comprises: the software platform in the user running state can be composed of the derivative software interface display module and the software platform kernel module; and in the user module running state of the software platform, the derivative software interface configuration file is first read to obtain the kernel modules relied on by the current user module from the derivative software interface configuration file; and the software platform only loads the kernel modules relied on by the current user module and the derivative software interface display module.
[0042] 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.
[0043] 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.
[0044] 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.
[0045] In the embodiment, a derivative software device is constructed according to a derivative software construction method based on a native system, which comprises a software platform kernel module, a derivative software management module and a derivative software display module. The software platform kernel module is adapted to control the derivative software management module to edit a user interface of the derivative software and save the user interface as a derivative software interface configuration file. The software platform kernel module is adapted to control the derivative software display module to generate the user-designed interface according to the derivative software interface configuration file. The software platform is modularized, and the dependency of the software platform related module is saved in the user module, so that the entire software platform does not need to be loaded when the user module is started alone, the resource occupation of the system is reduced, and the starting speed of the user derivative software is improved. The software platform can distinguish the dependency of different user modules and selectively load the required kernel module in the process of subsequently loading the user module, the CPU and memory consumption of the system is saved, and the efficiency of the user using the software platform is improved.
[0046] In the embodiment, the derivative software device further comprises a software platform other software module, and the software platform other software module is adapted to depend on the software platform kernel module to run.
[0047] In the embodiment, the derivative software management module comprises a derivative software interface editor, and the derivative software interface editor is adapted to edit the user interface of the derivative software and save the user interface as the derivative software interface configuration file.
[0048] In summary, the user interface of the derivative software is edited and saved as the derivative software interface configuration file, and the user-designed interface is generated according to the derivative software interface configuration file, so that the software platform can distinguish the dependency of different user modules and selectively load the required kernel module in the process of subsequently loading the user module, the CPU and memory consumption of the system is saved, and the efficiency of the user using the software platform is improved.
[0049] 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.
[0050] 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.
[0051] 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.
[0052] 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 according to the scope of the claims.
Claims
1. A method for generating a user-designed interface based on a derived software interface configuration file, characterized in that, include: When the user module is running, the software platform 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 modules and derived software interface display modules that the current user module depends on; among them, The software platform mentioned is the automotive network software platform.
2. The method according to claim 1, characterized in that, include: The method for generating the derived software interface configuration file includes: Edit the user interface of the derived software using the derived software interface editor of the software platform, and save it as a derived software interface configuration file.
3. The method according to claim 1, characterized in that, include: The software platform and its derivative software run through the software platform kernel module.
4. The method as described in claim 1, characterized in that, The method for generating a user-designed interface based on a derived software interface configuration file further includes: 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.
5. A method for constructing derived software based on a native system, characterized in that, Edit the user interface of the derived software and save it as a configuration file for the derived software interface; and, The interface is generated using the method described in any one of claims 1-4.
6. An interface generation module, characterized in that, The interface generation module generates the interface by performing the method described in any one of claims 1-4.
7. A derived software construction system based on a native system, characterized in that, include: The editing module allows you to edit the user interface of the derived software and save it as a configuration file for the derived software interface. as well as The interface generation module as described in claim 6 generates a user-designed interface based on the derived software interface configuration file.
8. A derived software device, characterized in that, include: Software platform kernel module, derived software management 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 generate user-designed interfaces based on derived software interface configuration files.
9. The derived software device as described in claim 8, characterized in that, The derived software device also includes: other software modules of the software platform; Other software modules of the software platform are adapted to run in dependence on the software platform kernel module.
10. The derived software device as claimed in claim 8, characterized in that, 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.
11. A computer-readable storage medium, characterized in that, include: Several instructions are used to cause a computer device to perform the steps of the method as described in any one of claims 1-4; or, Several instructions are provided to cause a computer device to perform the steps of the derived software construction method as described in claim 5.
12. A computer, characterized in that, Includes the computer-readable storage medium as described in claim 11.
13. A computer program product, characterized in that, include: Several instructions are used to cause a computer device to perform the steps of the method as described in any one of claims 1-4; or, Several instructions are provided to cause a computer device to perform the steps of the derived software construction method as described in claim 5.
