Computer device
By editing and saving user interfaces in a configuration file, the software platform selectively loads necessary kernel modules, addressing resource inefficiencies in conventional systems and enhancing startup speed and efficiency.
Patent Information
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2025-03-14
- Publication Date
- 2026-03-16
AI Technical Summary
Conventional software platforms consume excessive system resources due to the need to load the entire platform for each user software module, even when the scale of the user's software module is small, leading to inefficient resource usage and prolonged startup times when multiple modules are executed simultaneously.
A method and system for constructing derivative software that involves editing and saving user interfaces to a configuration file, allowing the software platform to selectively load only the necessary kernel modules based on module dependencies, reducing CPU and memory consumption.
This approach improves the efficiency and speed of software platform usage by distinguishing module dependencies, selectively loading required kernel modules, thereby saving system resources and reducing memory consumption.
Smart Images

Figure 0007829961000001 
Figure 0007829961000002 
Figure 0007829961000003
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of software derivation, and specifically relates to a computer device that executes a method for constructing derivative software based on an original system.
Background Art
[0002] Existing software platforms support secondary development by users, thereby obtaining a desired user interface and functions, such as Matlab software. After the user finishes secondary development, the user obtains a software module loaded based on the existing software platform. If the user wants to execute the software module designed by himself / herself, he / she first needs to execute the software platform, load the user software module in a manner supported by the software platform, open the user interface, and execute the functions desired by the user.
[0003] Conventional software platforms are rich in functions, so they occupy a large amount of system resources to load a complete platform. Even if the scale of the user's software module is small, it can be loaded and executed after the entire software platform itself is completely loaded. When multiple user software modules need to be executed simultaneously, the consumption of system resources by the software platforms on which each user software module depends is overlaid, thereby causing the consumption of system resources. Therefore, based on the above technical problems, it is necessary to design a method, system and device for constructing derivative software based on a new original system.
Summary of the Invention
[0004] An object of the present invention is to provide a computer device that executes a method for constructing derivative software based on an original system.
[0005] To solve the above technical problems, the present invention provides a method for constructing derivative software based on the original system, and includes the following: Edit the user interface of the derived software and save it to the derived software interface configuration file, and, It generates user-designed interfaces based on derived software interface configuration files.
[0006] Furthermore, methods for editing the user interface of the above-mentioned derived software and saving it to the derived software interface configuration file include the following: The software platform's derived software interface editor is used to edit the user interface of derived software and save it to a derived software interface configuration file. The software platform and its derivative software are executed by the kernel modules of the software platform.
[0007] Furthermore, the method for generating user-designed interfaces based on the above derived software interface configuration files includes the following: The software platform, in the operating state of the user module, first reads the derived software interface configuration file and retrieves the kernel modules that the current user module depends on from the derived software interface configuration file. The software platform currently loads only the kernel modules and derived software interface display modules that user modules depend on.
[0008] Furthermore, the method for generating user-designed interfaces based on the above derived software interface configuration files includes the following: The derived software interface display module in the software platform reads the derived software interface configuration file and generates the user-designed interface based on the information in the configuration file.
[0009] In a second aspect, the present invention further provides a system for building derivative software based on the original system, which includes: An editing module that edits the user interface of derived software and saves it to a derived software interface configuration file, and, This is an interface generation module that generates user-designed interfaces based on derived software interface configuration files.
[0010] In a third aspect, the present invention further provides a derived software device, This includes the kernel module, derived software management module, and derived software display module of the software platform.
[0011] The kernel module of the above software platform is suitable for controlling the above-mentioned derived software management module to edit the user interface of derived software and save it to a derived software interface configuration file. The kernel module of the above software platform is suitable for controlling the above derived software display module and generating user-designed interfaces based on derived software interface configuration files. Furthermore, the above-mentioned derived software device further includes other software modules of the software platform. Other software modules of the above software platform depend on the kernel module of the above software platform to operate.
[0012] Furthermore, the above-mentioned derived software management module includes a derived software interface editor. The above-mentioned derivative software interface editor is suitable for editing the user interface of derivative software and saving it to a derivative software interface configuration file.
[0013] The beneficial effects of the present invention are as follows: The present invention allows editing the user interface of derived software, saving it in a derived software interface configuration file, and generating a user-designed interface based on the derived software interface configuration file. In the subsequent process of the software platform loading user modules, it is possible to distinguish the dependencies of different user modules, selectively load the necessary kernel modules, save CPU resources in the system, reduce memory consumption, and improve the efficiency with which users use the software platform.
[0014] Other features and advantages of the present invention are described in the following specification, and some will become apparent from the specification or will be understood by carrying out the invention. The object and other advantages of the present invention are realized and achieved in the structures particularly indicated in the specification and drawings. To make the above-mentioned objectives, features, and advantages of the present invention easier to understand, preferred embodiments will be given below and described in detail in conjunction with the accompanying drawings. [Brief explanation of the drawing]
[0015] To more clearly illustrate specific embodiments of the present invention or technical solutions of the prior art, the drawings that may be used to describe specific embodiments or prior art are briefly described below. The drawings described below represent some embodiments of the present invention, and it will be apparent to those skilled in the art that other drawings can be obtained from these drawings without any creative effort. [Figure 1] Figure 1 is a flowchart illustrating a method for constructing derivative software based on the original system of the present invention. [Figure 2]Figure 2 is a schematic diagram illustrating the principle by which the software platform of the present invention constructs derived software. [Figure 3] Figure 3 is a schematic diagram illustrating the operating principle of the derivative software of the present invention on a software platform. [Figure 4] Figure 4 shows an example of a CAN communication test system based on the software platform of the present invention. [Modes for carrying out the invention]
[0016] To further clarify the object, technical solution, and advantages of the embodiments of the present invention, the technical solution of the present invention will be clearly and completely described below with reference to the drawings. Clearly, the embodiments described are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained without creative work by those skilled in the art are all within the scope of protection of the present invention.
[0017] As shown in Figure 1, this embodiment provides a method for building derived software based on an original system, which includes editing the user interface of the derived software and saving it in a derived software interface configuration file, and generating a user-designed interface based on the derived software interface configuration file. In the process in which the software platform subsequently loads user modules, it is possible to distinguish the dependencies of different user modules, selectively load the necessary kernel modules, save CPU resources in the system, reduce memory consumption, and improve the efficiency with which the user uses the software platform.
[0018] As shown in FIG. 2, in this embodiment, the derivative software based on the constructed original system includes a kernel module of the software platform, other software modules of the software platform, a derivative software management module, and a derivative software display module. The software platform includes a derivative software management module, a kernel module of the software platform, and other software platform modules. The derivative software management module includes a derivative software interface editor.
[0019] In this embodiment, the method for editing the user interface of the above derivative software and saving it in the derivative software interface configuration file includes the following: The user can edit the user interface of the derivative software by using the derivative software interface editor of the software platform and save it in the derivative software interface configuration file. The kernel module of the software platform executes the software platform and the derivative software. The kernel module of the software platform is a software module that must depend on the execution of the software platform itself and the derivative software, and it is unconditionally loaded when the software platform is executed. Other software modules are other modules that depend on the execution of the kernel module of the software platform, and the software platform can dynamically load and unload modules of this type when it is executed.
[0020] As shown in FIG. 3, in this embodiment, the method for generating an interface designed by a user based on the above-derived software interface configuration file includes the following: The software platform can be composed of a derived software interface display module and a kernel module of the software platform in the execution state of the user module. In the execution state of the user module, the software platform first reads the derived software interface configuration file 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 on which the current user module depends and the derived software interface display module.
[0021] In this embodiment, the method for generating an interface designed by a user based on the above-derived software interface configuration file further includes the following: The derived software interface display module in the software platform reads the derived software interface configuration file and generates an interface designed by the user based on the information in the configuration file, enabling the user to further operate on the interface. In the execution state of the user module, the software platform selectively loads the kernel module of the software platform and the display module of the derived software interface, without loading other software modules, thereby improving the startup speed of the software platform and reducing resource consumption. The derived software is used separately from the original system, reducing the CPU and memory resources occupied by the original system and improving the response speed of the user software module.
[0022] As shown in Figure 4, this embodiment specifically provides an example of a CAN communication test system based on a software platform, which consists of two parts: an automotive network software platform and a derived software interface configuration file. The automotive network software platform is the original system and provides basic support to the user's software modules. The derived software interface configuration file is a software module designed by the user based on the software platform. The software platform includes a derived software management module and several basic modules: a kernel communication module, a kernel simulation module, a kernel test module, and other software modules. The derived software interface configuration file runs dependent on the kernel communication module and does not depend on the kernel simulation module, kernel test module, or other software modules. The derived software interface configuration file is loaded by the software platform, and during the loading process, the software platform analyzes the kernel modules that the derived software depends on, determines that the kernel communication module is one of those modules, and that other modules are not dependencies. The software platform continues to load kernel modules based on the dependencies, thereby completing the loading and initialization of the derived software. The software platform selectively loads the kernel communication module and avoids loading other modules, thereby improving the startup speed of the software platform and reducing the occupation of system resources.
[0023] In this embodiment, a system for constructing derivative software based on the original system can be provided based on a method for constructing derivative software based on the original system, and includes an editing module and an interface generation module. The editing module edits the user interface of the derivative software and saves it in a derivative software interface configuration file. The interface generation module generates an interface designed by the user based on the derivative software interface configuration file.
[0024] In this embodiment, a derived software device is constructed based on a method for constructing derived software based on the original system, and includes a kernel module of the software platform, a derived software management module, and a derived software display module. The kernel module of the software platform is suitable for controlling the derived software management module to edit the user interface of the derived software and saving it to a derived software interface configuration file. The kernel module of the software platform is suitable for controlling 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 related modules of the software platform are stored in user modules, thereby avoiding loading the entire software platform when a user module is started independently, reducing system resource consumption, and improving the startup speed of user-derived software. In the process of the software platform subsequently loading user modules, dependencies of different user modules can be distinguished, necessary kernel modules can be selectively loaded, saving the system's CPU, reducing memory consumption, and improving the efficiency of the user using the software platform.
[0025] In this embodiment, the derived software device further includes other software modules of the software platform. These other software modules of the software platform depend on the kernel module of the software platform to run.
[0026] 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 to a derived software interface configuration file.
[0027] As described above, the present invention allows the software platform to distinguish between dependencies of different user modules during the subsequent loading of user modules. This is achieved by editing the user interface of derived software, saving it in a derived software interface configuration file, and generating user-designed interfaces based on the derived software interface configuration file. This enables the software platform to selectively load necessary kernel modules, save system CPU resources, reduce memory consumption, and improve the efficiency with which users use the software platform.
[0028] In some embodiments provided by this application, the disclosed apparatus and methods can, of course, be implemented in other ways. The embodiments of the apparatus described above are merely illustrative; for example, the flowcharts and block diagrams in the drawings illustrate the implementable architectures, functions, and operations of the apparatus, methods, and computer program products according to some embodiments of the present invention. In this regard, each block in a flowchart or block diagram may represent a module, program segment, or part of code containing one or more executable instructions for performing a given logical function. In some alternative implementations, the functions represented in the blocks may occur in an order different from that shown in the drawings. For example, two consecutive blocks can actually be executed substantially in parallel, and sometimes in reverse order depending on the related functions. It should also be noted that each block in a block diagram and / or flowchart, and combinations of blocks in a block diagram and / or flowchart, may be implemented in a dedicated hardware-based system that performs a given function or operation, or in a combination of dedicated hardware and computer instructions.
[0029] Furthermore, in each embodiment of the present invention, each functional module may be integrated to form a single independent part, each module may exist individually, or two or more modules may be integrated to form a single independent part.
[0030] The above functions can be implemented in the form of software function modules and, when sold or used as independent products, can be stored on a computer-readable storage medium. Based on this understanding, the technical solutions of the present invention, or parts of them that contribute essentially to the prior art, or parts of such technical solutions, can be represented in the form of a software product. The computer software product is stored on a storage medium and contains a plurality of commands that cause a single computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage mediums include: various media capable of storing program code, such as U disks, removable disks, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0031] By illustrating the preferred embodiments of the present invention described above, those skilled in the art can make various changes and modifications to the above-described content without departing from the technical spirit of the present invention. The technical scope of the present invention is not limited to the contents of the specification and must be determined based on the claims.
Claims
1. A computer device, wherein the computer device is configured to perform a method for constructing derivative software based on an original system, and the method is Edit the user interface of the derived software and save the edited user interface to the derived software interface configuration file. This includes generating an interface designed by the user based on the aforementioned derived software interface configuration file, Generating a user-designed interface based on the aforementioned derived software interface configuration file is: Depending on the software platform, in the execution state of the user module, the derived software interface configuration file is first read, and the kernel modules on which the current user module depends are obtained from the derived software interface configuration file, A computer device characterized in that the software platform loads only the kernel modules and derived software interface display modules on which the current user module depends.
2. Generating a user-designed interface based on the aforementioned derived software interface configuration file is: The computer device according to claim 1, further comprising generating an interface designed by the user based on information in the derived software interface configuration file using the derived software interface display module in the software platform.
3. A computer device, Includes the kernel module of the software platform and derived software display modules, The kernel module of the software platform is configured to control the derived software display module and generate user-designed interfaces based on a derived software interface configuration file in which edited user interfaces are stored. Generating a user-designed interface based on the aforementioned derived software interface configuration file is: The aforementioned software platform, while the user module is running, first reads the derived software interface configuration file, and obtains the kernel modules that the current user module depends on from the derived software interface configuration file. A computer device characterized in that the software platform loads only the kernel modules and derived software interface display modules on which the current user module depends.
4. The computer device according to claim 3, further comprising other software modules of the software platform, wherein the other software modules of the software platform are configured to run in reliance on the kernel module of the software platform.
5. Further comprising a derivative software management module of the software platform, The computer device according to claim 3, characterized in that the derived software management module includes a derived software interface editor, the derived software interface editor is configured to edit the user interface of derived software and save the edited user interface to the derived software interface configuration file.
6. A computer-readable storage medium storing computer-readable instructions, wherein when the instructions are executed by at least one processor, a method for constructing derivative software based on an original system is performed. The aforementioned method, Edit the user interface of the derived software and save the edited user interface to the derived software interface configuration file. This includes generating an interface designed by the user based on the aforementioned derived software interface configuration file, Generating a user-designed interface based on the aforementioned derived software interface configuration file is: Depending on the software platform, in the execution state of the user module, the derived software interface configuration file is first read, and the kernel modules on which the current user module depends are obtained from the derived software interface configuration file, A computer-readable storage medium characterized by including loading only the kernel modules and derived software interface display modules on which the current user module depends, via the software platform.
7. Generating a user-designed interface based on the aforementioned derived software interface configuration file is: The computer-readable storage medium according to claim 6, further comprising the derived software interface display module in the software platform generating an interface designed by the user based on information in the derived software interface configuration file.
8. Editing the user interface of the derived software and saving the edited user interface to the derived software interface configuration file is: The software platform's derived software interface editor edits the user interface of the derived software, and saves the edited user interface to the derived software interface configuration file. The computer-readable storage medium according to claim 6, characterized in that it includes executing the software platform and the derived software by the kernel module of the software platform.
9. A program used to cause a computer to execute a method for building derivative software based on an original system, The aforementioned method, Edit the user interface of the derived software and save the edited user interface to the derived software interface configuration file. This includes generating an interface designed by the user based on the aforementioned derived software interface configuration file, Generating a user-designed interface based on the aforementioned derived software interface configuration file is: Depending on the software platform, in the execution state of the user module, the derived software interface configuration file is first read, and the kernel modules on which the current user module depends are obtained from the derived software interface configuration file, A program characterized by including loading only the kernel modules and derived software interface display modules on which the current user module depends, using the aforementioned software platform.
10. Generating a user-designed interface based on the aforementioned derived software interface configuration file is: The program according to claim 9, further comprising generating an interface designed by the user based on information in the derived software interface configuration file using the derived software interface display module in the software platform.
11. Editing the user interface of the derived software and saving the edited user interface to the derived software interface configuration file is: The software platform's derived software interface editor edits the user interface of the derived software, and saves the edited user interface to the derived software interface configuration file. The program according to claim 9, characterized in that it includes executing the software platform and the derived software by the kernel module of the software platform.
Citation Information
Patent Citations
Method, system and terminal for configuring user-defined human-computer interface through touch screen
CN112578986A
Actuating method for automobile computer system
JP2000118330A
Server and method for making customized application using integrated application and recording medium therefor
JP2019003607A
Redundant file deletion method, apparatus and storage medium
US20150331882A1