Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Packing method of application dependent self-contained technology under linux system

A technology and file system technology, applied in the direction of program control design, instrumentation, electrical digital data processing, etc., can solve problems such as no update of the release version, waste of system resources, and impact of cross-platform features

Active Publication Date: 2022-01-28
KYLIN CORP
View PDF6 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] 1. Tools such as flatpak and snap that use container technology shield the difference in system version through container technology, and install a system version similar to the release version in the container, which takes up a lot of disk space and wastes system resources
[0008] 2. The flatpak and snap application stores are in the hands of foreign distribution manufacturers. It is extremely inconvenient for domestic users to install or submit applications. It is very difficult for users to make and install their own software packages
[0009] 3. Due to the limitation of the container, there are many restrictions in application development. For example, the application in the container cannot call the system's own input method, the system's own browser, etc. Although the publisher has implemented it for many years, it is still rarely accepted by users
[0010] 4. Also due to the isolation limitation of container technology, applications inside the container cannot use the latest software resources outside the container, resulting in no reason for the release version to be updated
[0012] 1. The AppImage program decompresses the package to the / tmp directory when it is running, and deletes the temporary files generated by decompression when the program is running, which is inefficient when the software package is relatively large
[0013] 2. The AppImage program will generate a separate instance each time it runs, which will cause a large number of duplicate instances to be generated synchronously when running multiple program instances, resulting in unnecessary waste of system resources
[0014] 3. Each AppImage program exists in isolation, and cannot be called by other applications in the system, nor can it be called by other applications in the system. It is not managed by the existing program installer in the system, which may easily cause system confusion
[0015] 4. The package of i386 architecture will depend on libc:i386 in the system, and the cross-platform feature will be affected

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Packing method of application dependent self-contained technology under linux system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0067] Take the wine project as an example to explain the implementation details:

[0068] wine ("Wine Is Not an Emulator") is a compatibility layer that can run Windows applications on a variety of POSIX-compliant operating systems (such as linux, macOS and BSD, etc.). Wine does not simulate the internal Windows logic like a virtual machine or emulator, but translates Windows API calls into other POSIX calls, which saves performance and memory usage of other behaviors, allowing you to cleanly integrate Windows applications into The user's desktop.

[0069] Due to the need to simulate almost all Windows APIs, the dependencies of wine are extremely complicated. It is necessary to use thousands of dynamic libraries including fonts such as FreeFont, graphics and images such as OpenGL and JPEG, and forms such as X11. Therefore, it is difficult to manage the dependencies of wine applications. System upgrades or software replacements may cause various instability problems in functi...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention belongs to the field of computer software, and particularly relates to a packaging method for an application dependent self-contained technology under a linux system. The method comprises the following steps: creating a squashfs file; starting a systemd-mount automatic mounting service to complete the automatic creation of a mounting point; operating an entry control script, and guiding an environment variable to a file system under a directory of the mounting point by detecting a system environment; starting a Preloader module, and dynamically modifying the environment variable into a path of a dynamic linker in the file system of the mounting point in real time. The invention has the beneficial effects that there is no dependency on original library files in a system, the influence of system software package upgrading on an internal environment of a self-dependent package is completely isolated, and the environment of the system is not influenced; the system can interact with existing software packages of the system, and software such as a browser and the like of the system can be called and can also be called by software in the system; cross-release version release of running software is supported.

Description

technical field [0001] The invention belongs to the field of computer software, and in particular relates to a packaging method for application-dependent self-contained technology under a Linux system. Background technique [0002] In the distribution of the Linux operating system, each distribution will update and iterate its own system according to its own release cycle, and each iteration will release a new set of software packages. It is difficult to change the relationship across versions, especially for i386 architecture applications in the current mainstream x86_64 environment, there are often dependency problems such as missing dependent packages or version mismatches. In a self-dependent environment, its most basic and critical dependent packages Libc6:i386 is even slightly different from the original libc6:i386 in the system, which will cause program running errors. [0003] Existing methods commonly found in current linux distributions are listed below: [0004]...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/445
CPCG06F9/44505G06F9/44521
Inventor 林超超梁珂铭夏宇琦吴春光齐璇战茅
Owner KYLIN CORP
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products