Method, system and device for constructing derived software based on original system

By editing and saving the user interface of derived software in a configuration file and selectively loading necessary modules, the method addresses the resource inefficiencies of traditional software platforms, achieving faster startup times and reduced resource consumption.

JP7656963B2Active Publication Date: 2025-04-04SHANGHAI TOSUN TECH LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2023551198
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2021-12-10
Filing Date
2022-09-05
Publication Date
2025-04-04
Estimated Expiration
2042-09-05

AI Technical Summary

Technical Problem

Traditional software platforms are resource-intensive, requiring significant system resources to load and execute, even when only user-designed software modules are needed, leading to inefficient resource consumption and slow startup times.

Method used

The method involves editing and saving the user interface of derived software in a configuration file, allowing the software platform to selectively load only the necessary kernel modules and display modules required by user modules, thereby reducing resource consumption and improving efficiency.

Benefits of technology

This approach allows for efficient loading and execution of user-designed software modules by distinguishing between dependencies, selectively loading required modules, saving CPU resources, reducing memory consumption, and enhancing user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007656963000001
    Figure 0007656963000001
  • Figure 0007656963000002
    Figure 0007656963000002
  • Figure 0007656963000003
    Figure 0007656963000003
Patent Text Reader

Abstract

The present invention belongs to the technical field of software derivation, and particularly relates to a method, system and device for constructing derived software based on an original system. The method for constructing derived software based on an original system is as follows: By editing the user interface of the derived software and saving it in a derived software interface configuration file, and generating an interface designed by the user based on the derived software interface configuration file, in the process of the software platform subsequently loading user modules, it can distinguish the dependencies of different user modules, and selectively load the required kernel modules, saving the system CPU, reducing memory consumption, and improving the efficiency of the user using the software platform.
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 derivation, and more particularly to a method, system and device for constructing derived software based on an original system. [Background technology]

[0002] The existing software platform supports the user to carry out secondary development on it, thereby obtaining the user's desired user interface and functions, such as Matlab software. After the user finishes the secondary development, the user obtains the software module loaded based on the existing software platform. When the user wants to execute the software module he designed, he needs to execute the software platform first, and the user software module can be loaded in the manner supported by the software platform, the user software module can be opened, and the user's desired function can be executed.

[0003] Traditional software platforms are feature-rich, so they occupy a large amount of system resources to load the complete platform. Even if the scale of a user's software module is small, it can be loaded and executed after the entire software platform itself is fully loaded. When software modules of multiple user software need to run simultaneously, the consumption of system resources by the software platform on which each user software module depends will be overlaid, thereby causing exhaustion of system resources. Therefore, based on the above technical problems, it is necessary to design a method, system and device for constructing derived software based on a new original system. Summary of the Invention

[0004] An object of the present invention is to provide a method, system and apparatus for constructing derived software based on an original system.

[0005] In order to solve the above technical problems, the present invention provides a method for constructing derived software based on an original system, which includes: Compiling and saving a user interface of the derived software in a derived software interface configuration file; and A user-designed interface is generated based on the derived software interface configuration file.

[0006] Furthermore, the method for editing the user interface of the derived software and saving it in the derived software interface configuration file includes: A derived software interface editor of the software platform edits the user interface of the derived software and stores it in a derived software interface configuration file. The software platform and derived software are executed by a kernel module of the software platform.

[0007] Furthermore, a method for generating a user-designed interface based on the derived software interface configuration file includes: In the operating 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 currently only loads the kernel modules and derived software interface display modules on which the user modules depend.

[0008] Furthermore, the method for generating a user-designed interface based on the derived software interface configuration file further includes: A derived software interface display module in the software platform reads the derived software interface configuration file and generates a 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 derived software based on an original system, comprising: an editing module for editing and storing a user interface of the derived software in a derived software interface configuration file; and An interface generation module generates a user-designed interface based on the derived software interface configuration file.

[0010] In a third aspect, the present invention further provides a derived software apparatus, comprising: The software platform includes a kernel module, a derived software management module, and a derived software display module.

[0011] The kernel module of the software platform is adapted to control the derived software management module to edit the user interface of the derived software, and store it in 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 according to the derived software interface configuration file. Additionally, the derived software device further includes other software modules of the software platform. Other software modules of the software platform depend on the kernel module of the software platform to operate.

[0012] Furthermore, the derived software management module includes a derived software interface editor. The derived software interface editor is suitable for editing a user interface of the derived software and storing it in a derived software interface configuration file.

[0013] The beneficial effects of the present invention are as follows: the present invention edits the user interface of derived software and saves it in a derived software interface configuration file, and generates an interface designed by a user based on the derived software interface configuration file, and in the process of the software platform subsequently loading user modules, it can distinguish the dependencies of different user modules, selectively load required kernel modules, save the system CPU, reduce memory consumption, and improve the efficiency of the user using the software platform.

[0014] Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of the invention. The objectives and other advantages of the invention will be realized and attained in the structure particularly pointed out in the description and drawings. In order to make the above objects, features and advantages of the present invention more comprehensible, preferred embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings. [Brief description of the drawings]

[0015] In order to more clearly describe the specific embodiments of the present invention or the technical solutions of the prior art, the following briefly describes the drawings that need to be used to describe the specific embodiments or the prior art. The drawings described in the following description are some embodiments of the present invention, and it is obvious that those skilled in the art can obtain other drawings from these drawings without creative efforts. [Figure 1] FIG. 1 is a flow chart of a method for constructing derived software based on an original system of the present invention. [Diagram 2]FIG. 2 is a schematic diagram of the principle of the software platform of the present invention for constructing derived software. [Diagram 3] FIG. 3 is a schematic diagram of the operating principle of the derived software of the present invention in a software platform. [Figure 4] FIG. 4 is an example of a CAN communication test system based on the software platform of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0016] In order to make the objectives, technical solutions and advantages of the embodiments of the present invention clearer, the following will clearly and completely describe the technical solutions of the present invention with reference to the drawings. Obviously, the described embodiments are only some of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative labor are all within the scope of protection of the present invention.

[0017] As shown in Figure 1, this embodiment provides a method for constructing derived software based on an original system, including editing the user interface of the derived software and saving it in a derived software interface configuration file, and generating an interface designed by a user based on the derived software interface configuration file. In the process of the software platform subsequently loading user modules, it can distinguish the dependencies of different user modules, and selectively load the required kernel modules, saving the system CPU, reducing memory consumption, and improving the efficiency of the user using the software platform.

[0018] 2, in this embodiment, the derived software based on the constructed original system includes a kernel module of a software platform, 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 kernel module of the software platform, and other software platform modules. The derived software management module includes a derived software interface editor.

[0019] In this embodiment, the method for editing the user interface of the derived software and saving it in the derived software interface configuration file includes the following: a user can edit the user interface of the derived software through a derived software interface editor of the software platform and save it in the derived software interface configuration file. The software platform and the derived software are executed by a kernel module of the software platform. The kernel module of the software platform is a software module that must depend on the execution of the software platform itself and the derived 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 a user-designed interface based on the derived software interface configuration file includes the following: the software platform can be configured with 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 and the derived software interface display module on which the current user module depends.

[0021] In this embodiment, the method for generating a user-designed interface based on the derived software interface configuration file further includes: a derived software interface display module in the software platform reads the derived software interface configuration file, and generates a user-designed interface based on the information in the configuration file, so as to allow the user to further operate on the interface; the software platform selectively loads a kernel module and a derived software interface display module of the software platform in a running state of the user module, and does not load other software modules, thereby improving the startup speed of the software platform and reducing resource consumption; and 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 FIG. 4, specifically, this embodiment provides an example of a CAN communication test system based on a software platform, which is composed of two parts: an automobile network software platform and a derived software interface configuration file. Among them, the automobile network software platform is an original system and provides basic support for the user's software module. 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 a number 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 to execute, 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, and in the loading process, the software platform analyzes the kernel module that the derived software depends on, and finds that the kernel communication module is its dependent module, and other modules are not dependent items. The software platform continues to load the kernel module based on the dependent items, thereby completing the loading and initialization of the derived software. The software platform selectively loads the kernel communication module, avoiding the loading of 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 derived software based on an original system can be further provided according to the method for constructing derived software based on an original system, which includes an editing module and an interface generating module, the editing module is for editing a user interface of the derived software and saving it in a derived software interface configuration file, and the interface generating module is for generating an interface designed by a user according to the derived software interface configuration file.

[0024] In this embodiment, a derived software device is constructed according to a method for constructing derived software based on an original system, and includes a kernel module of a 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 save it in a derived software interface configuration file. The kernel module of the software platform is suitable for controlling the derived software display module to generate an interface designed by a user according to the derived software interface configuration file. The software platform is modularized, and the dependencies of related modules of the software platform are stored in the user module, thereby avoiding the loading of the entire software platform when the user module is started alone, reducing the resource occupation of the system, and improving the starting speed of the user derived software. In the process of loading the user module thereafter, the software platform can distinguish the dependencies of different user modules, and selectively load the required kernel module, saving the CPU of the system, 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, which depend on the kernel module of the software platform to execute.

[0026] In this embodiment, the derived software management module includes a derived software interface editor, which is suitable for editing the user interface of the derived software and storing it in a derived software interface configuration file.

[0027] As described above, the present invention edits the user interface of the derived software and saves it in a derived software interface configuration file, and generates an interface designed by the user based on the derived software interface configuration file. In the process of the software platform subsequently loading user modules, the software platform can distinguish dependencies of different user modules, selectively load required kernel modules, save the system CPU, reduce memory consumption, and improve the efficiency with which the user uses the software platform.

[0028] In some embodiments provided by the present application, it is to be understood that the disclosed apparatus and method may be realized in other manners. The above-described apparatus embodiments are merely illustrative, and for example, the flowcharts and block diagrams in the drawings illustrate possible architectures, functions, and operations of the apparatus, methods, and computer program products according to several embodiments of the present invention. In this regard, each block in the flowchart or block diagram may represent a module, program segment, or part of code including one or more executable instructions for performing a certain logical function. It is to be noted that in some alternative implementations, the functions depicted in the blocks may occur in a different order than that depicted in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and may sometimes be executed in a reverse order depending on the functions involved. It is also to be noted that each block of the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts may be realized in a dedicated hardware-based system that executes a certain function or operation, or may be realized in a combination of dedicated hardware and computer instructions.

[0029] In addition, each functional module in each embodiment of the present invention may be integrated together to form a single independent part, each module may exist independently, or two or more modules may be integrated together to form a single independent part.

[0030] The above functions can be realized in the form of software functional modules and stored in a computer readable storage medium when sold or used as an independent product. Based on this understanding, the technical solution of the present invention can be essentially or partly contributed to the prior art or part of the technical solution can be expressed in the form of a software product. The computer software product is stored in a storage medium and contains a number of commands to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the method in each embodiment of the present invention. The aforementioned storage medium includes: U disk, removable disk, read-only memory (ROM), random access memory (RAM), magnetic disk, optical disk, and other media capable of storing various program codes.

[0031] The above-mentioned preferred embodiments of the present invention have been enlightened, and those skilled in the art can make various changes and modifications based on the above description 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, but should be determined based on the claims.

Claims

1. A method for constructing derived software based on an original system expressed in the form of a computer software product and executed on a computer device, comprising: Compiling a user interface of the derived software and saving it in a derived software interface configuration file; generating a user-designed interface based on the derived software interface configuration file; The method for editing a user interface of the derived software and saving it in the derived software interface configuration file includes: A derived software interface editor of a software platform edits a user interface of the derived software and stores it in the derived software interface configuration file; executing the software platform and the derived software through a kernel module of the software platform; A method for generating a user-designed interface based on the derived software interface configuration file includes the steps of: The software platform, in a user module execution state, first reads the derived software interface configuration file, and obtains a kernel module on which the current user module depends from the derived software interface configuration file; The software platform loads only the kernel module and the derived software interface display module on which the current user module depends, A method for constructing derived software based on an original system.

2. The method for generating a user-designed interface based on 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 generating said user designed interface based on information in a raw software interface configuration file; 2. A method for constructing derived software based on an original system according to claim 1.

3. An editing module and an interface generating module, The editing module edits a user interface of the derived software and stores it in a derived software interface configuration file; The interface generation module generates a user-designed interface based on the derived software interface configuration file; Compiling and saving a user interface of the derived software in the derived software interface configuration file includes: A derived software interface editor of a software platform edits a user interface of the derived software and stores it in the derived software interface configuration file; executing the software platform and the derived software through a kernel module of the software platform; generating a user-designed interface based on the derived software interface configuration file, The software platform, in a user module execution state, first reads the derived software interface configuration file, and obtains a kernel module on which the current user module depends from the derived software interface configuration file; The software platform loads only the kernel module and the derived software interface display module on which the current user module depends, A system for constructing derived software based on an original system.

4. The software platform includes a kernel module, a derived software management module, and a derived software display module; The kernel module of the software platform is adapted to control the derived software management module to edit a user interface of the derived software, and store the edited user interface in a derived software interface configuration file; a kernel module of the software platform adapted to control the derived software display module to generate a user-designed interface based on the derived software interface configuration file; generating a user-designed interface based on the derived software interface configuration file, The software platform, in a user module execution state, first reads the derived software interface configuration file, and obtains a kernel module on which the current user module depends from the derived software interface configuration file; The software platform loads only the kernel module and the derived software interface display module on which the current user module depends, A derived software device characterized by:

5. the derived software device further includes other software modules of the software platform; The other software modules of the software platform are adapted to execute depending on the kernel module of the software platform; 5. A derived software apparatus as claimed in claim 4.

6. The derived software management module includes a derived software interface editor; the derived software interface editor is adapted to edit a user interface of the derived software and store it in the derived software interface configuration file; 6. A derived software apparatus as claimed in claim 5.

Citation Information

Patent Citations

  • Method, system and terminal for configuring user-defined human-computer interface through touch screen

    CN112578986A