Computer-implemented method, system, and computer device for constructing derivative software based on source system

By editing and saving the user interface as a configuration file and selectively loading dependent kernel modules, the method addresses resource exhaustion in software platforms, enhancing startup speed and efficiency.

RU2864774C2Active Publication Date: 2026-06-29SHANGHAI TOSUN TECH LTD

Patent Information

Authority / Receiving Office
RU · RU
Patent Type
Patents
Current Assignee / Owner
SHANGHAI TOSUN TECH LTD
Filing Date
2022-09-05
Publication Date
2026-06-29

AI Technical Summary

Technical Problem

Existing software platforms require full loading of system resources for each custom software module, leading to resource exhaustion when multiple modules run simultaneously, due to overlapping consumption.

Method used

A method and system for constructing derivative software that involves editing and saving the user interface as a configuration file, allowing selective loading of only dependent kernel modules, reducing CPU and memory consumption by distinguishing and loading only necessary components.

Benefits of technology

This approach saves system resources and improves startup speed and efficiency by selectively loading only dependent kernel modules, reducing CPU and memory usage.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000001_ABST
    Figure 00000001_ABST
Patent Text Reader

Abstract

FIELD: computer technology.SUBSTANCE: method of construction of derivative software based on the original system, which includes editing and saving the user interface of the derivative software as a configuration file; generating the user-developed interface; wherein editing and saving the configuration file includes: editing and saving the configuration file by means of an editor of the derivative software interface of the software platform; managing the software platform and software by means of a kernel module of the software platform; wherein generating the user-developed interface in accordance with the configuration file includes: reading the configuration file by the software platform and obtaining the kernel module on which the current user module depends from the configuration file; loading by the software platform only the necessary modules.EFFECT: ensuring efficient use of the central processor by loading only the required kernel module from the configuration file when loading user modules.5 cl, 4 dwg
Need to check novelty before this filing date? Find Prior Art

Description

[0001] FIELD OF TECHNOLOGY

[0002] The present invention relates to the field of software development technology, in particular to a computer-implemented method, system and computer device for constructing derivative software based on an original system.

[0003] BACKGROUND TO THE INVENTION

[0004] A previous software platform, such as Matlab, allows users to re-develop it to achieve the desired user interface and functions. After completing the re-development, the resulting software module is loaded onto the previous software platform. If users want their own software module to run, they must first manage the software platform, and the custom software module must be loaded in the software platform's support mode before opening the user interface and executing the desired functions.

[0005] Due to the numerous functions of the previous software platform, loading the complete platform requires a large amount of system resources. Even if the size of the custom software module is very small, it can only be loaded and run after the entire software platform has fully loaded. If multiple custom software modules need to run simultaneously, the system resources consumed by the software platform on which each custom software module depends will overlap, resulting in exhaustion of system resources.

[0006] Therefore, based on the above technical problems, it is necessary to develop a new method, system and device for constructing derivative software based on the original system.

[0007] SUMMARY OF THE INVENTION

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

[0009] In order to solve the above technical problems, a first aspect of the present invention provides a method for constructing derivative software based on an original system, including:

[0010] editing the user interface of the derivative software and saving the user interface of the derivative software as a derivative software interface configuration file; and

[0011] Generating the user-designed interface according to the derivative API configuration file;

[0012] wherein, editing the user interface of the derivative software and saving the user interface of the derivative software as a derivative software interface configuration file includes:

[0013] editing the user interface of the derivative software and saving the user interface of the derivative software as a derivative software interface configuration file through the derivative software interface editor of the software platform; and

[0014] managing the software platform and derivative software through the software platform kernel module of the said software platform;

[0015] wherein, generating the user-developed interface in accordance with the configuration file of the derivative software interface includes:

[0016] the software platform first reads the configuration file of the derivative software interface in the state under the control of the user module, and obtains the kernel module on which the current user module depends from the configuration file of the derivative software interface; and

[0017] Loading by the software platform only the kernel module on which the current user module depends and the derived API display module.

[0018] In a preferred embodiment, the method for generating a user-designed interface according to a configuration file of a derivative software interface further includes:

[0019] 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.

[0020] In a second aspect, the present invention provides a system for constructing derivative software based on a source system, comprising:

[0021] a processor comprising an editing module configured to edit a user interface of the derivative software and store the user interface of the derivative software as a configuration file of the derivative software interface;

[0022] an interface generation module, configured to generate a user-designed interface according to a derivative software interface configuration file and provide instructions to a dedicated hardware acceleration unit;

[0023] communication bus;

[0024] a main memory configured to receive a configuration file of the derivative software interface from a computer-readable storage medium of the computer device of the derivative software and to provide instructions to a dedicated hardware acceleration unit; and

[0025] a dedicated hardware acceleration unit configured to retrieve, upon receiving instructions from main memory, dependencies from a configuration file saved after editing the user interface necessary for selectively loading modules and, when the user-designed interface is generated, visualizing the interface data;

[0026] The specified processor and the specified memory are interconnected via a communication bus.

[0027] In a third aspect, the present invention provides a computer device for derivative software, comprising:

[0028] the above system;

[0029] a machine-readable storage medium containing machine-readable instructions that, when executed by a processor, cause a computer device to perform the derivative software of the above method; and

[0030] software platform kernel module, derivative software control module and derivative software interface display module;

[0031] wherein the software platform kernel module is configured to control the derivative software control module to edit the user interface of the derivative software and save the user interface of the derivative software as a configuration file of the derivative software interface; and

[0032] the software platform core module is configured to control the derivative software interface display module to generate a user-designed interface in accordance with the derivative software interface configuration file;

[0033] wherein the derivative software control module contains a derivative software interface editor;

[0034] wherein the derivative software interface editor is configured to edit the user interface of the derivative software and save the user interface of the derivative software as a derivative software interface configuration file; and

[0035] managing the software platform and derivative software through the kernel module of the software platform of the said software platform.

[0036] In a preferred embodiment, the derivative software device further comprises other software modules of the software platform;

[0037] wherein other software modules of the software platform are configured to be controlled depending on the core module of the software platform.

[0038] The advantages of the present invention are as follows: in the present invention, the user interface of the derivative software is edited and saved as a derivative software interface configuration file, and a user-designed interface is generated in accordance with the derivative software interface configuration file. It is clear that the software platform can distinguish dependent elements of various user modules and selectively load the desired kernel module in the subsequent user module loading process, thereby saving CPU and system memory consumption and improving the efficiency of users using the software platform.

[0039] Other features and advantages of the present invention will be described in the following description and will become partially apparent from the description or apparent through practice of the present invention. The purpose and other advantages of the present invention are realized and achieved by the design specifically indicated in the description and drawings.

[0040] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easier to understand, preferred embodiments are given below and described in detail in conjunction with drawings.

[0041] BRIEF DESCRIPTION OF GRAPHIC MATERIALS

[0042] To illustrate specific embodiments of the present invention or technical solutions more clearly in the prior art, the drawings required to be used in the description of specific embodiments or the prior art will be briefly described below. The drawings described below represent some embodiments of the present invention, and those skilled in the art can obtain other drawings based on these drawings without creative efforts.

[0043] Fig. 1 shows a flow chart of a method for constructing derivative software based on the original system according to the present invention.

[0044] Fig. 2 is a schematic diagram showing the principle of constructing derivative software on the software platform according to the present invention.

[0045] Fig. 3 is a schematic diagram showing the operating principle of the derivative software in the software platform according to the present invention.

[0046] Fig. 4 is an example showing a controller area network (CAN) communication testing system based on the software platform according to the present invention.

[0047] DETAILED DESCRIPTION OF IMPLEMENTATION OPTIONS

[0048] To make the objectives, technical solutions, and advantages of the embodiments of the present invention more clear, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings. The described embodiments are part of the embodiments of the present invention, but not all the embodiments. All other embodiments obtained by ordinary persons skilled in the art based on the embodiments of the present invention without creative work shall be included within the protection scope of the present invention.

[0049] As shown in Fig. 1, this embodiment provides a method for constructing derivative software based on a source system. The method comprises editing the user interface of the derivative software and saving the user interface of the derivative software as a derivative software interface configuration file, and generating a user-designed interface in accordance with the derivative software interface configuration file. It is understood that the software platform can distinguish dependent elements of various user modules and selectively load the desired kernel module in the subsequent user module loading process, thereby saving CPU and memory consumption of the system and improving the efficiency of users using the software platform.

[0050] As shown in Fig. 2, in this embodiment, the derivative software constructed based on the original 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 a derivative software management module, a software platform kernel module, and other software modules. The derivative software management module comprises a derivative software interface editor.

[0051] In this embodiment, a method for editing a user interface of a derivative software and storing the user interface of the derivative software as a configuration file of a derivative software interface includes: editing a user interface of the derivative software and storing the user interface of the derivative software as a configuration file of a derivative software interface by means of a derivative software interface editor of a software platform; and managing the software platform and the derivative software by means of a kernel module of the software platform of said software platform.A software platform kernel module is a software module on which the operation of both the software platform itself and its derivatives must depend. The software platform kernel module is unconditionally loaded during the software platform's operation. Other software modules are other modules that operate dependent on the software platform kernel module and can be dynamically loaded and unloaded during the software platform's operation.

[0052] As shown in Fig. 3, in the present embodiment, a method for generating a user-designed interface according to a configuration file of a derivative software interface includes: generating a software platform by means of a display module of the derivative software interface and a kernel module of the software platform in a state under the control of the user; first reading, by the software platform, the configuration file of the derivative software interface in a state under the control of the user module, and obtaining the kernel module on which the current user module depends from the configuration file of the derivative software interface; and loading, by the software platform, only the kernel module on which the current user module depends and the display module of the derivative software interface.

[0053] In this embodiment, the method for generating a user-designed interface according to a derivative software interface configuration file further comprises: a derivative software interface display module in a software platform reading a derivative software interface configuration file and generating a user-designed interface according to the information in the configuration file, so that the user can further operate the interface. In the user-controlled state, the software platform kernel module and the derivative software interface display module are selectively loaded by the software platform, but other software modules are not loaded.In this way, the startup speed of the software platform is increased, resource consumption is reduced, and the derivative software can be used separately from the original system to reduce the CPU and memory resources occupied by the original system and improve the response speed of the custom software module.

[0054] As shown in Fig. 4, in particular, this embodiment provides an example of a CAN communication test system based on a software platform, which is formed by an in-vehicle network software platform and a derivative software interface configuration file. The in-vehicle network software platform is a source system that provides basic support for a user software module. The derivative software interface configuration file is a software module developed by the user based on the software platform. The software platform includes a derivative software control module and several core modules. The several core modules include a core communication module, a core simulation module, a core test module, and other software modules.The derivative software interface configuration file operates dependently on the kernel communication module and is independent of the kernel simulation module, kernel test module, and other software modules. The derivative software interface configuration file is loaded by the software platform. During the loading process, the software platform analyzes the kernel module on which the derivative software depends and determines that the kernel communication module is the module on which the derivative software depends, and that other modules are not dependent elements. The software platform continues loading the kernel module according to the dependent element to complete the loading and initialization of the derivative software. The software platform selectively loads the kernel communication module and avoids loading other modules, thereby increasing the startup speed of the software platform and reducing the use of system resources.

[0055] In this embodiment, a system for constructing derivative software based on a source system can also be provided in accordance with a method for constructing derivative software based on a source system. The system comprises: an editing module configured to edit a user interface of the derivative software and store the user interface of the derivative software as a configuration file of the derivative software interface; and an interface generation module configured to generate an interface developed by the user in accordance with the configuration file of the derivative software interface.

[0056] In this embodiment, a derivative software device is constructed according to a method for constructing derivative software based on a source system. The derivative software device comprises a software platform kernel module, a derivative software control module, and a derivative software interface display module. The software platform kernel module is configured to control the derivative software control module to edit the user interface of the derivative software and save the user interface of the derivative software as a derivative software interface configuration file.The software platform kernel module is configured to control the display module of the derivative software interface to generate a user-designed interface in accordance with the derivative software interface configuration file. The software platform has a modular structure, and the dependent elements of the corresponding software platform modules are stored in the user module to avoid loading the entire software platform when launching the user module separately. This reduces the use of system resources and improves the startup speed of the user-designed derivative software. The software platform can distinguish between the dependent elements of different user modules and selectively load the desired kernel module during the subsequent loading process of user modules, thereby saving CPU and system memory consumption and increasing the efficiency of users using the software platform.

[0057] In this embodiment, the derivative software device further comprises: other software modules of the software platform. The other software modules of the software platform are configured to be controlled depending on the core module of the software platform.

[0058] In this embodiment, the derivative software management module includes a derivative software interface editor. The derivative software interface editor is configured to edit the user interface of the derivative software and save the user interface of the derivative software as a derivative software interface configuration file.

[0059] In conclusion, in the present invention, the user interface of the derivative software is edited and saved as a derivative software interface configuration file, and the user-developed interface is generated in accordance with the derivative software interface configuration file. It is clear that the software platform can distinguish dependent elements of various user modules and selectively load the desired kernel module in the subsequent user module loading process, thereby saving CPU and memory consumption and improving the efficiency of users using the software platform.

[0060] It should be understood that in several embodiments provided in the present invention, the disclosed device and method can also be implemented in other ways. The embodiments of the device described above are only schematic. For example, the block diagram and block diagram in the drawings show the possible architecture, functions and operations of devices, methods and computer program products according to many embodiments of the present invention. For this purpose, each block in the block diagram or block diagram can represent a part of a module, a program segment or code and a part of a module, wherein the program segment or code contains one or more executable instructions for implementing a given logical function. It should also be noted that in some alternative implementations, the functions noted in the block may also occur in an order different from the order indicated in the drawings.For example, two sequential blocks may actually be executed largely in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in a flowchart and / or block diagram, and combinations of blocks in a flowchart and / or block diagram, may be implemented by a specialized hardware system performing a given function or action, or by a combination of specialized hardware and computer instructions.

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

[0062] If the function is implemented as a software functional module and sold and used as an independent product, it can be stored on a computer-readable storage medium. Based on this understanding, the technical solution of the present invention essentially consists in that a part complementary to the prior art or a part of the technical solution can be reflected in the form of a software product. The computer program product is stored on a storage medium and contains a plurality of instructions enabling a computing device (such as a personal computer, server, or network equipment, etc.) to perform all or part of the steps of the described method in each embodiment of the present invention.The above-mentioned storage medium includes a USB flash drive, a portable hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, an optical disk, and other media that can store program codes.

[0063] Based on the above ideal embodiments of the present invention, those skilled in the art can make various changes and modifications with the help of the above explanatory content without deviating from the scope of the technical idea of ​​the present invention. The technical scope of the present invention is not limited by the contents of this specification, but should be determined in accordance with the scope of the claims.

Claims

1. A computer-assisted method for constructing derivative software based on a source system, comprising: editing the user interface of the derivative software and saving the user interface of the derivative software as a derivative software interface configuration file; and generating a user-designed interface in accordance with a derivative software interface configuration file; wherein editing the user interface of the derivative software and saving the user interface of the derivative software as a configuration file of the derivative software interface includes: editing the user interface of the derivative software and saving the user interface of the derivative software as a derivative software interface configuration file by means of a derivative software interface editor of the software platform; and managing the software platform and derivative software through the core module of the software platform of the said software platform; wherein the generation of the user-developed interface in accordance with the configuration file of the derived software interface includes: first reading by the software platform the configuration file of the derived software interface in the state under control of the user module, and obtaining the kernel module on which the current user module depends from the configuration file of the derived software interface; and loading by the software platform only the kernel module on which the current user module depends and the module displaying the derived software interface.

2. The method according to paragraph 1, characterized in that the method for generating a user-developed interface in accordance with the configuration file of the derivative software interface additionally includes: reading by the display module of the derivative software interface in the software platform a configuration file of the derivative software interface and generating an interface developed by the user according to the information in the configuration file.

3. A system for constructing derivative software based on a source system, comprising: a processor comprising an editing module configured to edit the user interface of the derivative software and to store the user interface of the derivative software as a configuration file of the derivative software interface; an interface generation module configured to generate a user-designed interface in accordance with a configuration file of a derivative software interface and to provide instructions to a dedicated hardware acceleration unit; communication bus; a main memory configured to receive a configuration file of the derivative software interface from a machine-readable storage medium of the computer device of the derivative software and to provide instructions to a dedicated hardware acceleration unit; and a dedicated hardware acceleration unit configured to retrieve, upon receiving instructions from the main memory, dependencies from a configuration file saved after editing the user interface, necessary for selectively loading modules, and, when the user-designed interface is generated, visualizing the interface data; wherein said processor and said memory are interconnected via a communication bus.

4. A computer device containing derivative software: the system according to paragraph 3; a machine-readable storage medium containing machine-readable instructions that, when executed by a processor, cause a computer device to execute the derivative software of the method according to claim 1 or 2; and a software platform kernel module, a derivative software control module, and a derivative software interface display module; wherein the core module of the software platform is configured to control the control module of the derivative software for editing the user interface of the derivative software and storing the user interface of the derivative software as a configuration file of the derivative software interface; and the core module of the software platform is configured to control the display module of the derivative software interface for generating the interface developed by the user in accordance with the configuration file of the derivative software interface; wherein the derivative software control module contains a derivative software interface editor; wherein the editor of the derivative software interface is configured to edit the user interface of the derivative software and save the user interface of the derivative software as a configuration file of the derivative software interface; and control of the software platform and derivative software by means of the kernel module of the software platform of the said software platform.

5. The device according to paragraph 4, characterized in that the device of the derivative software additionally contains other software modules of the software platform; wherein other software modules of the software platform are configured to be controlled depending on the core module of the software platform.