CN117707543A - Application installation package manufacturing and installation method, computing device and storage medium - Google Patents

Application installation package manufacturing and installation method, computing device and storage medium Download PDF

Info

Publication number
CN117707543A
CN117707543A CN202311716517.6A CN202311716517A CN117707543A CN 117707543 A CN117707543 A CN 117707543A CN 202311716517 A CN202311716517 A CN 202311716517A CN 117707543 A CN117707543 A CN 117707543A
Authority
CN
China
Prior art keywords
application
file
installation package
runtime environment
computing device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311716517.6A
Other languages
Chinese (zh)
Inventor
刘建强
胡庆红
袁海胜
袁啟良
陈会星
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Uniontech Software Technology Co Ltd
Original Assignee
Uniontech Software Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Uniontech Software Technology Co Ltd filed Critical Uniontech Software Technology Co Ltd
Priority to CN202311716517.6A priority Critical patent/CN117707543A/en
Publication of CN117707543A publication Critical patent/CN117707543A/en
Pending legal-status Critical Current

Links

Abstract

The present invention relates to the field of application development, and in particular, to an application installation package manufacturing and installation method, a computing device, and a storage medium, where the method includes: generating an engineering file, and compiling and generating an application data file according to the engineering file; acquiring a runtime environment file according to the engineering file, generating a compressed file according to the application data file and the runtime environment file, wherein the compressed file also comprises an application self-starting script and an application information description file; generating an application installation package according to the compressed file and the loader; responding to an operation instruction of an application installation package, and executing the application self-starting script according to a loader: determining version information of an environment file in the running process required by the application according to the application information description file; creating a container, and hanging the runtime environment file in the container according to version information of the runtime environment file to construct a runtime environment of the application; the application is run based on the application's running environment and the application data file. The invention ensures that the application can run on various operating systems.

Description

Application installation package manufacturing and installation method, computing device and storage medium
Technical Field
The present invention relates to the field of application development, and in particular, to an application installation package manufacturing and installation method, a computing device, and a storage medium.
Background
As various applications in computers are developed, the manner in which the applications are installed becomes diversified. When the application is installed, an application installation package mode can be adopted for installation. In the prior art, the application installation package commonly used includes a deb package, but deb has such problems that: the deb packet has poor system compatibility, can only run in a debian system and its release due to its special packet format, and has poor running stability, and because of the complex dependency relationship between deb packets, when one of the dependencies is destroyed, multiple applications may not run, even the risk of system crashes may result.
For this reason, a new application installation package manufacturing and installation method is required.
Disclosure of Invention
To this end, the present invention provides an application installation package fabrication and installation method that seeks to solve, or at least alleviate, the above-identified problems.
According to an aspect of the present invention, there is provided an application installation package making and installing method adapted to run in a computing device, the method comprising: generating an engineering file, and compiling and generating an application data file according to the engineering file; acquiring a runtime environment file according to the engineering file, and generating a compressed file according to the application data file and the runtime environment file, wherein the compressed file also comprises an application self-starting script and an application information description file; generating an application installation package according to the compressed file and the loader; responding to an operation instruction of an application installation package, and executing the application self-starting script according to the loader: determining version information of an environment file in the running process required by the application according to the application information description file; creating a container, and hanging the runtime environment file in the container according to version information of the runtime environment file to construct an application running environment; and running the application based on the running environment of the application and the application data file.
Optionally, in the method according to the present invention, an operating system is running in the computing device, the compressed file further includes an entry package, the entry package including one or more entry files, the method further comprising: when running an application, responding to a call request of an operating system; determining a corresponding entry file according to the call request; and processing the corresponding call request according to the corresponding entry file.
Optionally, in the method according to the present invention, the hanging the runtime environment file in the container according to version information of the runtime environment file includes: determining a self-contained runtime environment file installed by an operating system, and judging whether the version of the runtime environment file required by the running application is met; if not, the runtime environment file included in the application installation package is installed in the container.
Optionally, in the method according to the present invention, further comprising: and if so, mounting the self-contained runtime environment file installed by the operating system in the container.
Optionally, in the method according to the present invention, the operation instruction of the application installation package includes a double-click operation on the application installation package.
Optionally, in the method according to the present invention, further comprising: determining a first version of an installed application of an application installation package; determining whether a second version of the application is installed in the computing device; and if the application of the second version is judged to be installed, storing the application data file of the application installation package under the first folder, and storing the application data file of the application of the second version under the second folder.
Optionally, in the method according to the present invention, the compressed file further comprises a rights control file, the method further comprising: and setting an authority control module of the application according to the authority control file of the application installation package, wherein the authority control module is suitable for performing authority control on the message interaction request and the call request of the operating system and the application.
Optionally, in the method according to the invention, the application data file is stored in the computing device in the form of a code repository, the method comprising: in response to an update request for an application, the application is incrementally updated according to application data files stored in a code repository.
According to another aspect of the present invention, there is provided a computing device comprising: one or more processors; a memory; and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs including instructions for performing the application installation package making and installing methods according to the present invention.
According to yet another aspect of the present invention, there is provided a computer readable storage medium storing one or more programs, the one or more programs comprising instructions, which when executed by a computing device, cause the computing device to perform the application installation package production and installation method according to the present invention.
The method for manufacturing and installing the application installation package is suitable for being executed in the computing equipment, and the method ensures that the application can run on various operating systems according to the runtime environment file in the application installation package by generating the compressed file according to the runtime environment file and the application data file, and the operation cannot be performed due to the change of the operating system; and each installed application is provided with a relatively independent running environment in the container, and even if other applications are unloaded and changed, the application can still normally run, and corresponding functions are realized.
Drawings
To the accomplishment of the foregoing and related ends, certain illustrative aspects are described herein in connection with the following description and the annexed drawings, which set forth the various ways in which the principles disclosed herein may be practiced, and all aspects and equivalents thereof are intended to fall within the scope of the claimed subject matter. The above and other objects, features and advantages of the present disclosure will become more apparent from the following detailed description when read in conjunction with the accompanying drawings. Like reference numerals generally refer to like parts or elements throughout the present disclosure.
FIG. 1 illustrates a schematic diagram of an application installation package fabrication and installation method 100 according to an exemplary embodiment of the present invention;
FIG. 2 illustrates a block diagram of a computing device 200 according to an exemplary embodiment of the invention;
FIG. 3 illustrates a directory structure diagram of an application installation package according to an exemplary embodiment of the present invention;
fig. 4 shows a directory diagram after application installation according to an exemplary embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art. Like reference numerals generally refer to like parts or elements.
Fig. 1 shows a schematic diagram of an application installation package making and installing method 100 according to an exemplary embodiment of the invention. The application installation package fabrication and installation method 100 of the present invention is suitable for execution in a computing device.
FIG. 2 illustrates a block diagram of a computing device 200 according to an exemplary embodiment of the invention. In a basic configuration, computing device 200 includes at least one processing unit 220 and system memory 210. According to one aspect, depending on the configuration and type of computing device, system memory 210 includes, but is not limited to, volatile storage (e.g., random access memory), non-volatile storage (e.g., read-only memory), flash memory, or any combination of such memories. According to one aspect, system memory 210 includes an operating system 211.
According to one aspect, operating system 211 is suitable, for example, for controlling the operation of computing device 200. Further, examples are practiced in connection with a graphics library, other operating systems, or any other application program and are not limited to any particular application or system. This basic configuration is illustrated in fig. 2 by those components within dashed line 215. According to one aspect, computing device 200 has additional features or functionality. For example, according to one aspect, computing device 200 includes additional data storage devices (removable and/or non-removable) such as, for example, magnetic disks, optical disks, or tape.
As set forth hereinabove, according to one aspect, program modules 212 are stored in system memory 210. According to one aspect, program modules 212 may include one or more application programs, the invention is not limited to the type of application program, e.g., applications further include: email and contacts applications, word processing applications, spreadsheet applications, database applications, slide show applications, drawing or computer-aided application, web browser applications, etc.
According to one aspect, the examples may be practiced in a circuit comprising discrete electronic components, a packaged or integrated electronic chip containing logic gates, a circuit utilizing a microprocessor, or on a single chip containing electronic components or a microprocessor. For example, the example may be practiced with a system on a chip (SOC) that integrates the components shown in fig. 2 on a single integrated circuit. According to one aspect, such SOC devices may include one or more processing units, graphics units, communication units, system virtualization units, and various application functions, all of which are integrated (or "burned") onto a chip substrate as a single integrated circuit. When operating via an SOC, the functionality described herein may be operated via dedicated logic integrated with other components of computing device 200 on a single integrated circuit (chip). Embodiments of the invention may also be practiced using other techniques capable of performing logical operations (e.g., AND, OR, AND NOT), including but NOT limited to mechanical, optical, fluidic, AND quantum techniques. In addition, embodiments of the invention may be practiced within a general purpose computer or in any other circuit or system.
According to one aspect, computing device 200 may also have one or more input devices 231, such as a keyboard, mouse, pen, voice input device, touch input device, or the like. Output devices 232 such as a display, speakers, printer, etc. may also be included. The foregoing devices are examples and other devices may also be used. Computing device 200 may include one or more communication connections 233 that allow communication with other computing devices 240. Examples of suitable communication connections 233 include, but are not limited to: RF transmitter, receiver and/or transceiver circuitry; universal Serial Bus (USB), parallel and/or serial ports. Computing device 200 may be communicatively connected to other computing devices 240 via communication connection 233.
Embodiments of the present invention also provide a non-transitory readable storage medium storing instructions for causing a computing device to perform a method according to embodiments of the present invention. The readable media of the present embodiments, including both permanent and non-permanent, removable and non-removable media, may be any method or technology for information storage. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of readable storage media include, but are not limited to: phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Disks (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices, or any other non-transitory readable storage medium.
According to one aspect, communication media is embodied by computer readable instructions, data structures, program modules, or other data in a modulated data signal (e.g., carrier wave or other transport mechanism) and includes any information delivery media. According to one aspect, the term "modulated data signal" describes a signal that has one or more of its characteristics set or changed in such a manner as to encode information in the signal. By way of example, and not limitation, communication media includes wired media such as a wired network or direct-wired connection, and wireless media such as acoustic, radio Frequency (RF), infrared, and other wireless media.
It should be noted that although the above-described computing device only shows processing unit 220, system memory 210, input device 231, output device 232, and communication connection 233, the device may include other components necessary to achieve proper operation in a particular implementation. Furthermore, it will be understood by those skilled in the art that the above-described apparatus may include only the components necessary to implement the embodiments of the present description, and not all the components shown in the drawings.
Returning to FIG. 1, as shown in FIG. 1, the application installation package creation and installation method of the present invention first performs step 110: and generating an engineering file, and compiling and generating an application data file according to the engineering file.
According to one embodiment of the present invention, the specific file format of the application installation package may be implemented as uap package, uniontech App Package, a software application package format, where no dependency exists between programs installed using uap package, and the files include binary complete data and runtime configuration.
According to one embodiment of the invention, the steps of making the application installation package include: first, an engineering file is generated.
The engineering file in the invention can be specifically realized in a yaml format, and the invention does not limit the specific file format of the engineering file. According to one embodiment of the present invention, the engineering file may be implemented as a link engineering file, or as an exquisite engineering file. The file name of the lingong engineering file can be written as lingong. Yaml, wherein yaml is the file identification of the exquisite engineering file. The linglong engineering file describes the metadata of the software package using yaml syntax. The software package is compiled to generate the software package of the application, namely, the application file is compiled. Exquisite (lingong or ll) is a package management tool designed independently by software.
According to one embodiment of the invention, an engineering file has a build specification comprising: product information, base environment information, dependency information, build system information, variable information, and source code information.
According to one embodiment of the invention, product information (Package) is used to describe the underlying information of the build product; base environment information (Base or run) is used to describe the Base environment used for construction; dependency information (dependencies) is used to describe the dependency items required at compile time, and the compilation may have multiple dependency items; build system information (Build) is used to describe the type of Build system used for the Build; variable information (Variable) is used to describe variables used in the build process; source code information (Source) is used to describe the Source from which the Source code was constructed.
According to one embodiment of the invention, the engineering file can be generated by a compiling module. The invention does not limit the specific generation mode of the engineering file. The compilation module may be embodied as a linking-builder, or as a ll-builder. The compiling module is a source code constructing tool and provides logic for constructing, testing, pushing and the like of an organization application installation package for implementing a compiled core program.
Subsequently, an application data file (files) is generated from the engineering file compilation. The application data file specifically includes binary files and data required for running an application installed by the application installation package. According to one embodiment of the invention, the application data file may be embodied as a binary executable file.
Subsequently, step 120 is performed to acquire a runtime environment file (run time file) from the engineering file, and when acquiring the runtime environment file, the runtime environment file is acquired from runtime environment information (run time information) of the base environment information. The runtime environment file is a description of the application runtime environment by lingong, representing a type of building product, and mainly consists of qt and dtk related libraries; lib represents a type of build product in the semantic of the link engineering file, providing a static or dynamic library file.
And then, compressing the generated application data file and the runtime environment file to generate a compressed file. The compressed file can be compressed by a squarhfs tool when the compressed file is generated, and the specific generation mode of the compressed file is not limited by the method. The squarfs tool is a set of compressed read-only file systems based on the use of Linux kernels. The file system can compress documents, inodes and directories in the system, and the maximum support of the files is 2-64 bytes.
According to one embodiment of the invention, the compressed file further comprises an engineering file, an added entry file package, an application information description file, a right control file and an application self-starting script.
According to one embodiment of the invention, the entry package may be embodied in a compressed file as an entries directory for storing various entry files of the program, including under the entries directory, a directory of autostart, applications, systemd, icons, mime, dbus-1, etc. And after the application installation package is installed, an operating system can automatically link to the corresponding directory to read the entry file so as to run the application when the application needs to be run.
According to one embodiment of the present invention, the application information description file may be specifically implemented as an info. Json file, which is generated by the compiling module, and is a description file of a linglong software package, where meta information of the software package, such as a package name, a software package version, a used linglong-run, etc., is recorded. The link-run (i.e., run) is a description of the application running environment by link, and represents a type of build product in the link engineering file, consisting essentially of qt and dtk related libraries.
According to one embodiment of the invention, a rights control file (linking-bin) is used to generate a container ll-box required for application running and a rights control module is provided to control the rights of the ll-dbus-proxy/ll-fuse-proxy. The ll-box is an application container runtime environment designed according to the OCI standard. The loader may create the container based on the entitlement control file.
According to one embodiment of the invention, an application self-starting script (loader) is used to self-start the application environment and install and run the application.
Subsequently, step 130 is performed, after the compressed file is generated, an application installation package is generated according to the compressed file and the loader. The loader may be embodied as a liner-loader, a uap packet self-boot loader, for uap packets self-booting and loading application data. When the application installation package is generated according to the compressed file and the loader, the compressed file and the loader of the binary form file are spliced to generate the application installation package.
Fig. 3 is a diagram showing a directory structure of an application installation package according to an exemplary embodiment of the present invention, and as shown in fig. 3, the application installation package (uap package) includes: an entries directory, a files directory, an info.json file, a link-bin directory, a link.yaml file, a loader file, and a runtime file.
According to one embodiment of the invention, the name of the application installation package generated according to the unique identification name, version number and architecture of the application is generated after the application installation package is generated.
According to one embodiment of the invention, the name of the application installation package is structured as: app id_version_arm. Ua, wherein app id is an application unique identification name, version is version number, and arm is architecture; an example of a specific application installation package name is as follows:
org.deepin.calculator_5.7.16_x86_64.uap
subsequently, step 140 is executed, in response to the operation instruction of the application installation package, executing the application self-starting script according to the loader, and executing the following steps:
and determining application information according to the application information description file, wherein the application information comprises version information of the environment file required by the application in running.
According to one embodiment of the invention, the application information also includes other information such as version of the application.
According to one embodiment of the invention, the operation instruction of the application installation package can be triggered by a user or automatically by the computing device. The invention does not limit the specific triggering mode of the operation instruction of the application installation package. The operation instruction may be implemented as a double click or a single click instruction of the application installation package, or an input command line. The invention is not limited by the specific type of operating instructions.
In the prior art, the deb packet does not provide a self-starting function, and a user cannot start an application on the premise of not installing the application. The invention adopts special application installation package format design, can realize the self-starting function, does not need additional installation operation, and can be started under the condition of not being installed after receiving user operation.
According to one embodiment of the invention, the loader sets the entitlement control module based on the entitlement control file. The permission control module is suitable for performing permission control on message interaction requests and call requests of the operating system and the application. The loading is also provided with a dbus agent module and a user-mode file system agent module according to the application data file. The dbus proxy module is a dbus message interception and forwarding tool, and can be specifically realized as a ll-dbus-proxy; the user-state file system proxy module is a file interface control tool, and can be specifically realized as a ll-fuse-proxy. The invention does not limit the specific implementation modes of the dbus proxy module and the user file system proxy module. And the authority control module performs authority control on the message interaction request received by the dbus proxy module and the call request received by the user-state file system proxy module.
Subsequently, step 150 is performed to create a container, and the runtime environment file is mounted in the container according to the version information of the runtime environment file, so as to construct the runtime environment of the application.
In the prior art, the deb packet has poor security isolation, the deb packet is directly operated in a host machine environment, and the risk of damaging a system exists when an application is in an unreliable operation. The application installation package runs in the container, so that the system is safer and more reliable due to the fact that the application installation package is applicable to the scenes of unreliable application isolation, fault isolation and the like.
According to one embodiment of the invention, the loader further determines a self-contained runtime environment file installed by the operating system and determines whether the required version of the runtime environment file required to run the application is met, and if not, installs the runtime environment file included in the application installation package in the container to construct the runtime environment of the application. The runtime environment file in the application installation package is lightweight, and the minimum runtime environment file for the normal running of the application is ensured.
If yes, the self-contained runtime environment file installed by the operating system is directly installed to construct the running environment of the application.
The application installation package contains all the dependency library files required by self-operation, namely the running environment files, and can be operated in different operating systems. And the application installation packages adopt weak dependency relationships, so that the problem that the mutual dependency between the software offline installation packages is too complex is solved, and the risk of damaging the system is reduced. Each application installation package defaults to a corresponding version of the runtime environment file, and if the system is not installed, the runtime environment file of the simplified version carried by the system is used for ensuring the running.
Subsequently, step 160 is performed to run the application based on the application's running environment and the application data file. According to one embodiment of the invention, the computing device has an operating system running therein, the compressed file further comprises an entry package comprising one or more entry files, the method further comprising: when running an application, responding to a call request of an operating system; determining a corresponding entry file according to the call request; and processing the corresponding call request according to the corresponding entry file.
The deb package used in the prior art has the risk of damaging the system, and because the deb package has a hook mechanism, a post script has root rights, a developer can randomly modify a system configuration file, so that the system operation is damaged. The application installation package does not have a hook mechanism, various entry files are stored according to the storage standard catalogue of the application installation package, and related files are called and processed according to the storage catalogue of the entry files during installation, so that the operation of damaging a system is avoided.
According to one embodiment of the invention, an application data file is stored in a computing device in the form of a code repository, the method of the invention comprising: in response to an update request for an application, the application is incrementally updated according to application data files stored in the code repository.
According to one embodiment of the invention, the code repository may be implemented as an octree, which is a tool for transferring and managing file storage, and may store application data and a runtime environment file (run file) through the octree difference as a local cache storage tool, so that incremental update of the application data file based on the octree at each update can be implemented.
Fig. 4 shows a directory diagram after application installation according to an exemplary embodiment of the present invention. As shown in FIG. 4, the directory after application installation includes entries directory, files directory, info. Json file, link. Yaml file, and loader file. The entries directory is an entry file package for storing various entry files of an application, and includes directories such as applications and icons under the entries directory. The file catalogue is an application data file compiled and generated according to engineering files, and specifically comprises binary files and data required by application operation, such as catalogues bin, include, lib, share. The info. Json file is a description file of the linglong software package, and records meta information of the application. The linglong engineering file describes metadata of the software package. The loader file is an application self-starting script used for self-starting an application environment and installing and running an application.
In the prior art, the delta update is not supported by the deb package update, and when the deb package is updated, the high-version software package is required to be completely downloaded for decompression installation, so that the problem of wasting system resources exists. When the invention is applied to update, the octree is used as a code warehouse for storing application data files and runtime application files, and the incremental updating function can be realized, thereby achieving the effect of saving system resources.
According to one embodiment of the invention, the method of the invention further comprises: determining a first version of an installed application of an application installation package; determining whether a second version of the application is installed in the computing device; and if the application of the second version is judged to be installed, storing the application data file of the application installation package under the first folder, and storing the application data file of the application of the second version under the second folder. The invention can select the version of the running application according to the requirement, realize the installation of a plurality of versions of the application and rollback of the application.
In the prior art, the deb package cannot coexist in multiple versions in the same target system, the resource configuration files of the deb package are in the same directory, and the old versions are covered when the multiple versions are installed. And the deb packet cannot realize the version rollback function due to the disadvantage that multiple versions thereof cannot coexist. In the invention, the applications of different versions can be installed in different catalogues, so that multi-version installation and version rollback can be realized.
The application installation package can automatically calculate the size of the binary space required by the application operation, decompress the corresponding application compression file and start the corresponding start script, thereby realizing the self-starting of the application in the container.
The method for manufacturing and installing the application installation package is suitable for being executed in the computing equipment, and the method ensures that the application can run on various operating systems according to the runtime environment file in the application installation package by generating the compressed file according to the runtime environment file and the application data file, and the operation cannot be performed due to the change of the operating system; and each installed application is provided with a relatively independent running environment in the container, and even if other applications are unloaded and changed, the application can still normally run, and corresponding functions are realized.
In the description provided herein, numerous specific details are set forth. However, it is understood that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features but not others included in other embodiments, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments.
As used herein, unless otherwise specified the use of the ordinal terms "first," "second," "third," etc., to describe a general object merely denote different instances of like objects, and are not intended to imply that the objects so described must have a given order, either temporally, spatially, in ranking, or in any other manner.
While the invention has been described with respect to a limited number of embodiments, those skilled in the art, having benefit of the above description, will appreciate that other embodiments are contemplated within the scope of the invention as described herein. Furthermore, it should be noted that the language used in the specification has been principally selected for readability and instructional purposes, and may not have been selected to delineate or circumscribe the inventive subject matter. Accordingly, many modifications and variations will be apparent to practitioners skilled in the art. The disclosure of the present invention is intended to be illustrative, but not limiting, of the scope of the invention.

Claims (10)

1. An application installation package fabrication and installation method adapted to run in a computing device, the method comprising:
generating an engineering file, and compiling and generating an application data file according to the engineering file;
acquiring a runtime environment file according to the engineering file, and generating a compressed file according to the application data file and the runtime environment file, wherein the compressed file also comprises an application self-starting script and an application information description file;
generating an application installation package according to the compressed file and the loader;
responding to an operation instruction of an application installation package, and executing the application self-starting script according to the loader:
determining version information of an environment file in the running process required by the application according to the application information description file;
creating a container, and hanging the runtime environment file in the container according to version information of the runtime environment file to construct an application running environment;
and running the application based on the running environment of the application and the application data file.
2. The method of claim 1, wherein an operating system is running in the computing device, the compressed file further comprising an entry package comprising one or more entry files, the method further comprising:
when the application is run, responding to a calling request of the operating system;
determining a corresponding entry file according to the call request;
and processing the corresponding call request according to the corresponding entry file.
3. The method of claim 2, wherein suspending the runtime environment file in the container according to version information of the runtime environment file comprises:
determining a self-contained runtime environment file installed by an operating system, and judging whether the version of the runtime environment file required by the running application is met;
and if not, mounting the runtime environment file included in the application installation package in the container.
4. A method as claimed in claim 3, wherein the method further comprises:
and if yes, mounting the self-contained runtime environment file installed by the operating system in the container.
5. The method of any of claims 1-4, wherein the operation instruction for the application installation package comprises a double-click operation on the application installation package.
6. The method of any one of claims 1-4, wherein the method further comprises:
determining a first version of an installed application of the application installation package;
determining whether a second version of the application is installed in the computing device;
and if the application of the second version is judged to be installed, storing the application data file of the application installation package under a first folder, and storing the application data file of the application of the second version under a second folder.
7. The method of any of claims 1-6, wherein the compressed file further comprises a rights control file, the method further comprising:
and setting an authority control module of the application according to the authority control file of the application installation package, wherein the authority control module is suitable for performing authority control on a message interaction request and a call request of an operating system and the application.
8. The method of any of claims 1-6, wherein the application data file is stored in the computing device in the form of a code repository, the method comprising:
and responding to an update request of the application, and performing incremental update on the application according to the application data file stored in the code warehouse.
9. A computing device, comprising:
one or more processors;
a memory; and
one or more programs, wherein the one or more programs are stored in memory and configured to be executed by the one or more processors, the one or more programs comprising instructions for performing the method of any of claims 1-8.
10. A computer readable storage medium storing one or more programs, wherein the one or more programs comprise instructions, which when executed by a computing device, cause the computing device to perform the method of any of claims 1-8.
CN202311716517.6A 2023-12-13 2023-12-13 Application installation package manufacturing and installation method, computing device and storage medium Pending CN117707543A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311716517.6A CN117707543A (en) 2023-12-13 2023-12-13 Application installation package manufacturing and installation method, computing device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311716517.6A CN117707543A (en) 2023-12-13 2023-12-13 Application installation package manufacturing and installation method, computing device and storage medium

Publications (1)

Publication Number Publication Date
CN117707543A true CN117707543A (en) 2024-03-15

Family

ID=90152809

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311716517.6A Pending CN117707543A (en) 2023-12-13 2023-12-13 Application installation package manufacturing and installation method, computing device and storage medium

Country Status (1)

Country Link
CN (1) CN117707543A (en)

Similar Documents

Publication Publication Date Title
US11853774B2 (en) Dynamically loaded plugin architecture
US8612930B2 (en) Methods and apparatus for dynamic class reloading and versioning
US8745601B1 (en) Methods and systems for using data structures for operating systems
US10684846B2 (en) Using semantic annotations to control compatibility behaviors
CN104793946A (en) Application deployment method and system based on cloud computing platform
US20230259358A1 (en) Documentation enforcement during compilation
US20210141632A1 (en) Automated software patching for versioned code
US10552135B1 (en) Reducing a size of an application package
CN110334031B (en) Memory allocation code detection method and device, computer equipment and storage medium
CN114490103A (en) Operating system interface calling method and device and electronic equipment
CN110806891A (en) Method and device for generating software version of embedded equipment
WO2011157105A2 (en) Method and device for component expansion
CN113641389B (en) Software upgrading method, device and equipment based on OpenCPU
CN117707543A (en) Application installation package manufacturing and installation method, computing device and storage medium
CN114860202A (en) Project operation method, device, server and storage medium
CN112328241B (en) Method and device for creating Android library module dependency relationship in application program development
CN113867776A (en) Method and device for publishing middle station application, electronic equipment and storage medium
WO2019157891A1 (en) Application installation method and application installer generating method
CN116991427B (en) Application compiling method and device, computing equipment and storage medium
CN112035192A (en) Java class file loading method and device supporting component hot deployment
CN112749152A (en) Data migration method and device of intelligent contract and storage medium
CN112947956A (en) Application software upgrading method
CN116991381B (en) Application cross compiling method and device, computing equipment and storage medium
CN116661905B (en) Method and system for realizing automatic adaptation of equipment based on dynamic library loading
CN114579135B (en) Installation package generation method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination