CN111782226A - Method, system, equipment and medium for directly and quickly installing android application - Google Patents

Method, system, equipment and medium for directly and quickly installing android application Download PDF

Info

Publication number
CN111782226A
CN111782226A CN202010588912.0A CN202010588912A CN111782226A CN 111782226 A CN111782226 A CN 111782226A CN 202010588912 A CN202010588912 A CN 202010588912A CN 111782226 A CN111782226 A CN 111782226A
Authority
CN
China
Prior art keywords
android
application
target application
installation file
file
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
CN202010588912.0A
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.)
Hunan duoxing cloud computer technology Co.,Ltd.
Original Assignee
Changsha Mozhi Cloud Computing 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 Changsha Mozhi Cloud Computing Technology Co ltd filed Critical Changsha Mozhi Cloud Computing Technology Co ltd
Priority to CN202010588912.0A priority Critical patent/CN111782226A/en
Publication of CN111782226A publication Critical patent/CN111782226A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • G06F8/63Image based installation; Cloning; Build to order

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a method, a system, equipment and a medium for directly and rapidly installing an android application, wherein the method for directly and rapidly installing the android application comprises the following steps: acquiring an installation file of a target application after pretreatment and optimization; copying the installation file of the target application after pretreatment and optimization into a program directory through a packet management service PMS; registering the target application through a packet management service PMS, wherein the processing optimization refers to extracting a dependency base from an original installation file of the target application, generating an ODEX file, a certificate and a summary check. According to the method and the device, all files of application installation and operation are extracted and stored in the appointed directory based on the customized PMS, the PMS can register the appointed application through the customized registration mechanism, the direct and quick installation of the android application can be completed, the direct and quick installation and operation processing of the android application can be realized, the waiting of the installation time can be avoided, the application can be quickly started, and the cloud use experience of an android user is improved.

Description

Method, system, equipment and medium for directly and quickly installing android application
Technical Field
The invention relates to a cloud technology, in particular to a method, a system, equipment and a medium for directly and quickly installing an android application.
Background
An android (android) system is an intelligent operating system widely used at present, is commonly used on platforms such as various mobile terminals and smart homes, and can run various applications. At present, when an application is installed in an android system, an installation progress bar of more than ten seconds or even minutes often appears. Generally, the installation progress bar is actually extracted from a file needing to be loaded in an application installation package to a local specified directory by the android system, a part of files are checked, binary files are optimized, and the operations take a relatively long time.
At present, the mode of installing android applications at the cloud end is basically similar to that of an android system, and in the installation process, a user also needs to wait for the applications for a long time, so that the experience is very poor. Therefore, how to improve the way of installing the android application in the cloud to reduce the waiting time of the user has become a key technical problem to be solved urgently.
Disclosure of Invention
The technical problems to be solved by the invention are as follows: aiming at the problems in the prior art, the invention provides a method, a system, equipment and a medium for directly and quickly installing an android application.
In order to solve the technical problems, the invention adopts the technical scheme that:
a method for directly and quickly installing an android application comprises the following steps executed by an android system:
A1) acquiring an installation file of a target application after pretreatment and optimization;
A2) copying the installation file of the target application after pretreatment and optimization into a program directory through a packet management service PMS;
A3) the target application is registered by the packet management service PMS.
Optionally, the preprocessing optimization is to extract a dependency base from an original installation file of the target application, generate an ODEX file, and check a certificate and a digest, so as to obtain the installation file subjected to preprocessing optimization.
In addition, the invention also provides a system for directly and quickly installing the android application, which comprises the following steps:
the application acquisition program unit is used for acquiring the installation file of the target application after the preprocessing optimization;
the application copying program unit is used for copying the installation file of the target application which is optimized through preprocessing into a program directory through the packet management service PMS;
and the application registration program unit is used for registering the target application through the packet management service PMS.
Furthermore, the invention also provides an android device programmed or configured to perform the steps of the method of installing an android application directly, or having stored on its memory a computer program programmed or configured to perform the method of installing an android application directly.
In addition, the invention also provides a method for directly and quickly installing the android application, which comprises the following steps that the cloud server responds to the execution android application request of the user:
B1) receiving an android application execution request of a user;
B2) determining the android system virtual machine corresponding to the user, checking whether a target application exists in the android system virtual machine of the user, and executing the step B5 if the target application exists; otherwise, executing the next step;
B3) acquiring an installation file of a target application after pretreatment and optimization;
B4) sending a request for direct android installation of the android application to the android system virtual machine of the user, so that the android system virtual machine of the user executes the steps of the method for direct android installation of the android application and returns a registration result;
B5) requesting to open a target application operation to the android system virtual machine after receiving the registration result, and receiving an operation result returned by the android system virtual machine;
B6) and returning the operation result to the user who sends the request for executing the android application.
Optionally, the obtaining of the installation file of the target application in step B3) is specifically directed to a specified application management system for preprocessing, optimizing and storing the installation file of the target application.
Optionally, the step of preprocessing, by the application management system, the installation file of the optimized and stored target application includes:
C1) waiting for the user to submit the android application, executing the next step if the android application is received, and otherwise continuing waiting;
C2) acquiring an original installation file of a target application;
C3) checking an application program binary interface ABI used by an original installation file of a target application, extracting all dependency libraries of the original installation file of the target application according to the used application program binary interface ABI, and storing all dependency libraries of the original installation file into a local directory of the installation file of the target application;
C4) optimizing and generating an ODEX file aiming at an original installation file of a target application, and storing the generated ODEX file into a local directory of the installation file of the target application;
C5) and performing verification check on the certificate and the abstract information of the original installation file of the target application, extracting the certificate and the abstract information into a file, storing the file into a local directory of the installation file of the target application, and finally obtaining the installation file optimized through preprocessing from the local directory of the installation file of the target application.
Furthermore, the invention also provides a system for installing an android application directly, comprising a computer device, characterized in that the computer device is programmed or configured to execute the steps of the method for installing an android application directly, or a computer program programmed or configured to execute the method for installing an android application directly is stored on a memory of the computer device.
Furthermore, the present invention also provides a computer readable storage medium having stored thereon or thereon a computer program programmed or configured to execute the method of the direct-mount android application.
In addition, the invention also provides a system for directly and quickly installing the android application, which comprises a cloud server, an application management system and an android system virtual machine, wherein the cloud server is respectively connected with the application management system and the android system virtual machine;
the android system virtual machine is used for executing the following steps:
A1) acquiring an installation file of a target application after pretreatment and optimization;
A2) copying the installation file of the target application after pretreatment and optimization into a program directory through a packet management service PMS;
A3) registering a target application through a Packet Management Service (PMS);
the cloud server is used for responding the following steps of executing an android application request of a user:
B1) receiving an android application execution request of a user;
B2) determining the android system virtual machine corresponding to the user, checking whether a target application exists in the android system virtual machine of the user, and executing the step B5 if the target application exists; otherwise, executing the next step;
B3) acquiring an installation file of a target application after pretreatment and optimization;
B4) sending a request for direct android installation of the android application to the android system virtual machine of the user, so that the android system virtual machine of the user executes the steps of the method for direct android installation of the android application and returns a registration result;
B5) requesting to open a target application operation to the android system virtual machine after receiving the registration result, and receiving an operation result returned by the android system virtual machine;
B6) returning the operation result to the user who sends out the request for executing the android application;
the application management system is used for executing preprocessing optimization and storing the installation files of the target application, and comprises the following steps:
C1) waiting for the user to submit the android application, executing the next step if the android application is received, and otherwise continuing waiting;
C2) acquiring an original installation file of a target application;
C3) checking an application program binary interface ABI used by an original installation file of a target application, extracting all dependency libraries of the original installation file of the target application according to the used application program binary interface ABI, and storing all dependency libraries of the original installation file into a local directory of the installation file of the target application;
C4) optimizing and generating an ODEX file aiming at an original installation file of a target application, and storing the generated ODEX file into a local directory of the installation file of the target application;
C5) and performing verification check on the certificate and the abstract information of the original installation file of the target application, extracting the certificate and the abstract information into a file, storing the file into a local directory of the installation file of the target application, and finally obtaining the installation file optimized through preprocessing from the local directory of the installation file of the target application.
Compared with the prior art, the invention has the following advantages:
1. the method for installing the android application in a direct and quick manner extracts all files of application installation and operation based on a Package Manager Service (PMS) of a customized android system and stores the files into an appointed directory, the PMS can register the appointed application through a customized registration mechanism, and the direct and quick installation of the android application can be completed. The installation mechanism can avoid waiting for long time during installation, can quickly start the application, and improves the use experience of android users.
2. The method for directly and quickly installing the android application can be suitable for an android system on android equipment, can also be suitable for a virtual machine android system, and has the advantage of wide application range.
Drawings
Fig. 1 is a schematic diagram of an execution flow of an android system in an embodiment of the present invention.
Fig. 2 is a schematic diagram of a principle of a cloud-based direct-mount android application in the embodiment of the present invention.
FIG. 3 is a schematic diagram illustrating the principle of preprocessing an optimized android application in an embodiment of the present invention.
Detailed Description
The first embodiment is as follows:
as an optional implementation manner, the method for directly installing the android application can be a method for directly installing the android application executed on any android device. As shown in fig. 1, the method for directly installing an android application in the embodiment includes that the android system executes the following steps:
A1) acquiring an installation file of a target application after pretreatment and optimization;
A2) copying the installation file of the target application after pretreatment and optimization into a program directory through a packet management service PMS;
A3) the target application is registered by the packet management service PMS.
In this embodiment, a package management service PMS (package Manager service) of the android system is customized to extract all files of application installation and operation and store the extracted files in a specified directory, so that the package management service PMS can register a specified application by customizing a registration mechanism. The customized packet management service PMS is specifically realized by customizing a pm tool and a newly added processing interface 'pm register', and the registration tool mainly has the task of writing certificate information, installation packet information and the like in an APK into a corresponding operating environment, writing installation packet information into a corresponding configuration file, and performing registration when the installation package information is installed in different mobile phones.
In this embodiment, the preprocessing optimization refers to extracting a dependency base from an original installation file of a target application, generating an ODEX file, verifying a certificate and a digest, and thus obtaining the installation file subjected to preprocessing optimization. The method for extracting the dependency library is as follows: checking an application program binary interface ABI used by an original installation file of a target application, extracting all dependency libraries of the original installation file of the target application according to the used application program binary interface ABI, and storing all dependency libraries of the original installation file into a local directory of the installation file of the target application; the method of generating the ODEX file is as follows: optimizing and generating an ODEX file aiming at an original installation file of a target application, and storing the generated ODEX file into a local directory of the installation file of the target application; the certificate and digest verification method comprises the following steps: and performing verification check on the certificate and the abstract information of the original installation file of the target application, extracting the certificate and the abstract information into a file, storing the file into a local directory of the installation file of the target application, and finally obtaining the installation file optimized through preprocessing from the local directory of the installation file of the target application. And storing the installation files optimized through pretreatment into a specified directory (/ data/app) under the android system, giving corresponding operations to the files, and reading the operation by a registration mechanism for registration and later operation.
In this embodiment, the android system is an android system running on an android device; in addition, the android system can also be an android system running on a virtual machine as required (see embodiment two).
In order to verify the method for installing the android application in the embodiment, the method for installing the android application in the embodiment is compared with the traditional method for installing the android application, the tested android application is peace and elite (1.8G), and a trillion optical fiber network is adopted for copying the installation file of the target application after the preprocessing optimization to a program directory in the step a 2) under the test environment. Through tests, the method for directly and quickly installing the android application consumes 5s, and compared with the traditional method for installing the android application, the time is shortened by more than 60 times. Of course, if step a 2) is executed directly on the native machine to copy the installation file optimized by the pre-processing of the target application into the program directory, it will take less time. Therefore, the method of the embodiment can greatly reduce the installation processing steps aiming at the innovative registration mechanism of normal application installation, cannot generate any influence on an android system for extracting android application files, only executes extremely simplified registration process for target installation equipment, simultaneously performs verification check on information such as certificates and the like, realizes high-efficiency, high-consistency and high-safety installation of the android application, completes the processing of direct and quick installation and operation of the application, can avoid waiting for long time during installation by the installation mechanism, can quickly start the application, and improves the use experience of android users.
In addition, this embodiment also provides a system for installing an android application directly, including:
the application acquisition program unit is used for acquiring the installation file of the target application after the preprocessing optimization;
the application copying program unit is used for copying the installation file of the target application which is optimized through preprocessing into a program directory through the packet management service PMS;
and the application registration program unit is used for registering the target application through the packet management service PMS.
Furthermore, the present embodiment also provides an android device programmed or configured to execute the steps of the aforementioned method for direct-installed android applications, or a computer program programmed or configured to execute the aforementioned method for direct-installed android applications stored on a memory of the android device.
Furthermore, the present embodiment also provides a computer-readable storage medium having stored thereon a computer program programmed or configured to execute the method of the aforementioned direct android install application.
Example two:
as another optional implementation manner, the method for directly installing the android application may be a method for directly installing the android application executed on an android system virtual machine in the cloud. It should be noted that, the android application in this embodiment is described by taking a game application as an example, and the method in this embodiment is not limited to a specific type of the android application.
As shown in fig. 2, the method for installing an android application in a direct manner in this embodiment includes the following steps that the cloud server (denoted as cloud game server in fig. 2) responds to a request of a user to execute the android application:
B1) receiving an android application execution request of a user;
B2) determining the android system virtual machine corresponding to the user, checking whether a target application exists in the android system virtual machine of the user, and executing the step B5 if the target application exists; otherwise, executing the next step;
B3) acquiring an installation file of a target application after pretreatment and optimization;
B4) sending a request for installing the android application directly to the android system virtual machine of the user, so that the android system virtual machine of the user executes the steps of the method for installing the android application directly described in the first embodiment and returns a registration result;
B5) requesting to open a target application operation to the android system virtual machine after receiving the registration result, and receiving an operation result returned by the android system virtual machine;
B6) and returning the operation result to the user who sends the request for executing the android application.
In this embodiment, the obtaining of the installation file of the target application in step B3) is specifically directed to a specified application management system to obtain the installation file of the target application, where the application management system is configured to perform preprocessing optimization and store the installation file of the target application.
As shown in fig. 3, the step of preprocessing the installation file of the optimized and stored target application by the application management system of the embodiment includes:
C1) waiting for the user to submit the android application, executing the next step if the android application is received, and otherwise continuing waiting;
C2) acquiring an original installation file of a target application;
C3) checking an application program binary interface ABI used by an original installation file of a target application, extracting all dependency libraries of the original installation file of the target application according to the used application program binary interface ABI, and storing all dependency libraries of the original installation file into a local directory of the installation file of the target application;
C4) optimizing and generating an ODEX file aiming at an original installation file of a target application, and storing the generated ODEX file into a local directory of the installation file of the target application;
C5) and performing verification check on the certificate and the abstract information of the original installation file of the target application, extracting the certificate and the abstract information into a file, storing the file into a local directory of the installation file of the target application, and finally obtaining the installation file optimized through preprocessing from the local directory of the installation file of the target application.
Referring to fig. 3, the operation of preprocessing optimization and storing the installation file of the target application is responded by the "preprocessing module" in the present embodiment, and the "preprocessing module" mainly depends on the "dependent library module", the "ODEX module", and the "certificate digest module" to complete the operation, wherein the "dependent library module" is a body module for executing step C3), the "ODEX module" is a body module for executing step C4), and the "certificate digest module" is a body module for executing step C45). In this embodiment, the "dependency library module" is implemented by customizing a pm tool and adding a processing interface "pm extra-so", and the function of the "dependency library module" is used to extract all dependency libraries in an APK file of an android application, and the interface can analyze provided parameters, forward the request to a packet management service PMS, process the request by the added interface in the packet management service PMS, and the interface checks user permissions, calculates an application program binary interface ABI (32 bit/64 bit) that should be finally used by the android application, extracts a dependency library corresponding to the application program binary interface ABI version, and stores the dependency library in a local directory for subsequent registration. The repeated installation to different mobile phones only needs to be carried out once, and the time spent on extracting the dependence library in each installation can be saved.
In this embodiment, the "ODEX module" is implemented by customizing a pm tool and a newly added processing interface "pm gen-dex", and the "ODEX module" is used to perform ODEX optimization. The ODEX module can analyze the provided parameters, forward the request to a newly added interface of the PMS, the PMS interface can check the execution authority, calculate the application program binary interface ABI finally used by the APK, and then call a system tool dex2oat to perform optimization processing, and after the processing is finished, the generated ODEX file is stored in a local directory for a subsequent registration mechanism to use. The method has the advantages that the method can be repeatedly installed on different mobile phones only by once optimizing and acquiring the corresponding ODEX file, so that the required ODEX file can be extracted, the application can run efficiently, and meanwhile, the processing efficiency is higher than that of the scheduling optimization of system services in other schemes due to active optimization; whether the optimization is carried out can be determined according to needs, and the optimization is relatively more flexible.
In this embodiment, the "certificate digest module" is implemented by customizing a pm tool and a newly added processing interface "pm extra-crt", and the "certificate digest module" is used to verify certificate information of an apk package of an android application, extract digest information of an installation package, check an operation permission problem, and the like. The certificate abstract module can execute the same Android official check on the certificate and abstract information of the specified installation package according to the provided installation package path, and meanwhile extracts the certificate and the abstract information to a file to be stored in a local environment for subsequent registration and use. The repeated installation of different mobile phones only needs to be executed once, the certificate and the summary file which fall to the ground are handed to subsequent installation for use, the operation of the part takes several minutes or more in the ordinary installation of plain elite, and the time consumption can be almost ignored after the optimization.
It should be noted that the manner in which the "preprocessing module" and the "preprocessing module" mainly depend on the "dependency library module", "ODEX module", and "certificate digest module" to complete operations is only one specific implementation manner of the application management system in this embodiment to optimize preprocessing and store the installation file of the target application. Needless to say, in light of the above specific implementation manner, a person skilled in the art may also use more or fewer functional modules as needed, and also may implement the operation of preprocessing optimization of the application management system and storing the installation file of the target application in this embodiment, which is not described herein again.
In addition, the present embodiment also provides a system for installing an android application directly, which includes a computer device programmed or configured to execute the steps of the method for installing an android application directly, or a computer program stored in a memory of the computer device and programmed or configured to execute the method for installing an android application directly.
Furthermore, the present embodiment also provides a computer-readable storage medium having stored thereon a computer program programmed or configured to execute the method of the aforementioned direct android install application.
Referring to fig. 2 and fig. 3, the embodiment further provides a system for directly and quickly installing an android application, including a cloud server, an application management system, and an android system virtual machine, where the cloud server is connected to the application management system and the android system virtual machine respectively; it should be noted that the cloud server, the application management system, and the android virtual machine are only independent functional nodes, and when the cloud server, the application management system, and the android virtual machine are physically implemented, all or part of the cloud server, the application management system, and the android virtual machine may be implemented by using the same physical server, or all or part of the cloud server, the application management system, and the android virtual machine may be implemented by using different physical servers.
In this embodiment, the android system virtual machine is configured to execute the following steps:
A1) acquiring an installation file of a target application after pretreatment and optimization;
A2) copying the installation file of the target application after pretreatment and optimization into a program directory through a packet management service PMS;
A3) registering a target application through a Packet Management Service (PMS);
in this embodiment, the cloud server is configured to respond to the user's request for executing the android application by the following steps:
B1) receiving an android application execution request of a user;
B2) determining the android system virtual machine corresponding to the user, checking whether a target application exists in the android system virtual machine of the user, and executing the step B5 if the target application exists; otherwise, executing the next step;
B3) acquiring an installation file of a target application after pretreatment and optimization;
B4) sending a request for direct android installation of the android application to the android system virtual machine of the user, so that the android system virtual machine of the user executes the steps of the method for direct android installation of the android application and returns a registration result;
B5) requesting to open a target application operation to the android system virtual machine after receiving the registration result, and receiving an operation result returned by the android system virtual machine;
B6) returning the operation result to the user who sends out the request for executing the android application;
in this embodiment, the application management system is configured to perform the following steps of performing preprocessing optimization and storing an installation file of a target application:
C1) waiting for the user to submit the android application, executing the next step if the android application is received, and otherwise continuing waiting;
C2) acquiring an original installation file of a target application;
C3) checking an application program binary interface ABI used by an original installation file of a target application, extracting all dependency libraries of the original installation file of the target application according to the used application program binary interface ABI, and storing all dependency libraries of the original installation file into a local directory of the installation file of the target application;
C4) optimizing and generating an ODEX file aiming at an original installation file of a target application, and storing the generated ODEX file into a local directory of the installation file of the target application;
C5) and performing verification check on the certificate and the abstract information of the original installation file of the target application, extracting the certificate and the abstract information into a file, storing the file into a local directory of the installation file of the target application, and finally obtaining the installation file optimized through preprocessing from the local directory of the installation file of the target application.
It should be noted that the android system described above includes a native android system, and also includes various android systems derived from other android systems. Moreover, a person skilled in the art should be sure to determine that the method of the present invention can also be extended to operating systems that use the same package installation as the android system.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-readable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein. The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks. These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks. These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above description is only a preferred embodiment of the present invention, and the protection scope of the present invention is not limited to the above embodiments, and all technical solutions belonging to the idea of the present invention belong to the protection scope of the present invention. It should be noted that modifications and embellishments within the scope of the invention may occur to those skilled in the art without departing from the principle of the invention, and are considered to be within the scope of the invention.

Claims (10)

1. A method for directly and quickly installing an android application is characterized by comprising the following steps executed by an android system:
A1) acquiring an installation file of a target application after pretreatment and optimization;
A2) copying the installation file of the target application after pretreatment and optimization into a program directory through a packet management service PMS;
A3) the target application is registered by the packet management service PMS.
2. The method for direct android application installation according to claim 1, wherein the pre-processing optimization is to extract a dependency base from an original installation file of a target application, generate an ODEX file, and check a certificate and a digest, thereby obtaining the installation file after the pre-processing optimization.
3. A system for installing an android application directly, comprising:
the application acquisition program unit is used for acquiring the installation file of the target application after the preprocessing optimization;
the application copying program unit is used for copying the installation file of the target application which is optimized through preprocessing into a program directory through the packet management service PMS;
and the application registration program unit is used for registering the target application through the packet management service PMS.
4. An android device, characterized in that it is programmed or configured to perform the steps of the method for direct android installation of an android application as claimed in any of claims 1 to 2, or in that it has stored on its memory a computer program programmed or configured to perform the method for direct android installation of an android application as claimed in any of claims 1 to 2.
5. A method for directly and quickly installing an android application is characterized by comprising the following steps that a cloud server responds to a request of a user for executing the android application:
B1) receiving an android application execution request of a user;
B2) determining the android system virtual machine corresponding to the user, checking whether a target application exists in the android system virtual machine of the user, and executing the step B5 if the target application exists; otherwise, executing the next step;
B3) acquiring an installation file of a target application after pretreatment and optimization;
B4) sending a request for direct android installation of an android application to an android system virtual machine of a user, enabling the android system virtual machine of the user to execute the steps of the method for direct android installation of the android application as claimed in any one of claims 1-2, and returning a registration result;
B5) requesting to open a target application operation to the android system virtual machine after receiving the registration result, and receiving an operation result returned by the android system virtual machine;
B6) and returning the operation result to the user who sends the request for executing the android application.
6. The method for direct android installation of android applications of claim 5, wherein the obtaining of the installation file of the target application in step B3) is specifically directed to a specified application management system for preprocessing optimization and storing the installation file of the target application.
7. The method for direct android installation of android applications of claim 6, wherein the step of the application management system preprocessing the installation files of the optimized and stored target application comprises:
C1) waiting for the user to submit the android application, executing the next step if the android application is received, and otherwise continuing waiting;
C2) acquiring an original installation file of a target application;
C3) checking an application program binary interface ABI used by an original installation file of a target application, extracting all dependency libraries of the original installation file of the target application according to the used application program binary interface ABI, and storing all dependency libraries of the original installation file into a local directory of the installation file of the target application;
C4) optimizing and generating an ODEX file aiming at an original installation file of a target application, and storing the generated ODEX file into a local directory of the installation file of the target application;
C5) and performing verification check on the certificate and the abstract information of the original installation file of the target application, extracting the certificate and the abstract information into a file, storing the file into a local directory of the installation file of the target application, and finally obtaining the installation file optimized through preprocessing from the local directory of the installation file of the target application.
8. A system for direct-installed android applications, comprising a computer device, characterized in that the computer device is programmed or configured to perform the steps of the method for direct-installed android applications as claimed in any of claims 5 to 7, or that the computer device has stored on its memory a computer program programmed or configured to perform the method for direct-installed android applications as claimed in any of claims 5 to 7.
9. A computer readable storage medium having stored thereon a computer program programmed or configured to perform a method of direct-mount android application as claimed in any of claims 1-2, or a computer program programmed or configured to perform a method of direct-mount android application as claimed in any of claims 5-7.
10. A system for directly and quickly installing android applications comprises a cloud server, an application management system and an android system virtual machine, wherein the cloud server is respectively connected with the application management system and the android system virtual machine;
the android system virtual machine is used for executing the following steps:
A1) acquiring an installation file of a target application after pretreatment and optimization;
A2) copying the installation file of the target application after pretreatment and optimization into a program directory through a packet management service PMS;
A3) registering a target application through a Packet Management Service (PMS);
the cloud server is used for responding the following steps of executing an android application request of a user:
B1) receiving an android application execution request of a user;
B2) determining the android system virtual machine corresponding to the user, checking whether a target application exists in the android system virtual machine of the user, and executing the step B5 if the target application exists; otherwise, executing the next step;
B3) acquiring an installation file of a target application after pretreatment and optimization;
B4) sending a request for direct android installation of an android application to an android system virtual machine of a user, enabling the android system virtual machine of the user to execute the steps of the method for direct android installation of the android application as claimed in any one of claims 1-2, and returning a registration result;
B5) requesting to open a target application operation to the android system virtual machine after receiving the registration result, and receiving an operation result returned by the android system virtual machine;
B6) returning the operation result to the user who sends out the request for executing the android application;
the application management system is used for executing preprocessing optimization and storing the installation files of the target application, and comprises the following steps:
C1) waiting for the user to submit the android application, executing the next step if the android application is received, and otherwise continuing waiting;
C2) acquiring an original installation file of a target application;
C3) checking an application program binary interface ABI used by an original installation file of a target application, extracting all dependency libraries of the original installation file of the target application according to the used application program binary interface ABI, and storing all dependency libraries of the original installation file into a local directory of the installation file of the target application;
C4) optimizing and generating an ODEX file aiming at an original installation file of a target application, and storing the generated ODEX file into a local directory of the installation file of the target application;
C5) and performing verification check on the certificate and the abstract information of the original installation file of the target application, extracting the certificate and the abstract information into a file, storing the file into a local directory of the installation file of the target application, and finally obtaining the installation file optimized through preprocessing from the local directory of the installation file of the target application.
CN202010588912.0A 2020-06-24 2020-06-24 Method, system, equipment and medium for directly and quickly installing android application Pending CN111782226A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010588912.0A CN111782226A (en) 2020-06-24 2020-06-24 Method, system, equipment and medium for directly and quickly installing android application

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010588912.0A CN111782226A (en) 2020-06-24 2020-06-24 Method, system, equipment and medium for directly and quickly installing android application

Publications (1)

Publication Number Publication Date
CN111782226A true CN111782226A (en) 2020-10-16

Family

ID=72761069

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010588912.0A Pending CN111782226A (en) 2020-06-24 2020-06-24 Method, system, equipment and medium for directly and quickly installing android application

Country Status (1)

Country Link
CN (1) CN111782226A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114035863A (en) * 2021-11-11 2022-02-11 北京鲸鲮信息系统技术有限公司 Method, device and equipment for operating android application in Linux system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105278989A (en) * 2015-10-12 2016-01-27 邱寅峰 Fast loading method of APK file
CN106095504A (en) * 2016-06-13 2016-11-09 青岛海信移动通信技术股份有限公司 preset application loading method and mobile terminal
CN106559484A (en) * 2016-11-14 2017-04-05 北京海誉动想科技股份有限公司 The method that instance system exempts from installation and operation application
CN106708507A (en) * 2016-11-15 2017-05-24 四川长虹电器股份有限公司 Method for optimizing startup application installation time based on Android system
CN106775876A (en) * 2016-12-21 2017-05-31 海马云(天津)信息技术有限公司 The method that Android system quickly starts application
CN108566555A (en) * 2018-03-30 2018-09-21 四川迪佳通电子有限公司 A kind of application management method, server end and set-top box

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105278989A (en) * 2015-10-12 2016-01-27 邱寅峰 Fast loading method of APK file
CN106095504A (en) * 2016-06-13 2016-11-09 青岛海信移动通信技术股份有限公司 preset application loading method and mobile terminal
CN106559484A (en) * 2016-11-14 2017-04-05 北京海誉动想科技股份有限公司 The method that instance system exempts from installation and operation application
CN106708507A (en) * 2016-11-15 2017-05-24 四川长虹电器股份有限公司 Method for optimizing startup application installation time based on Android system
CN106775876A (en) * 2016-12-21 2017-05-31 海马云(天津)信息技术有限公司 The method that Android system quickly starts application
CN108566555A (en) * 2018-03-30 2018-09-21 四川迪佳通电子有限公司 A kind of application management method, server end and set-top box

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114035863A (en) * 2021-11-11 2022-02-11 北京鲸鲮信息系统技术有限公司 Method, device and equipment for operating android application in Linux system

Similar Documents

Publication Publication Date Title
CN110147240B (en) Cloud storage-based application program installation method, system and storage medium
CN108563567B (en) Automated testing method, apparatus, device and computer readable storage medium
US9823909B1 (en) Program code conversion for cross-platform compatibility
US20130305096A1 (en) System and method for monitoring web service
CN105528225A (en) Application loading method and loading apparatus
CN112256558A (en) Test case generation method and device, computer equipment and storage medium
CN108073823B (en) Data processing method, device and system
CN110968437A (en) Method, device, equipment and medium for parallel execution of single contract based on Java intelligent contract
CN111176794A (en) Container management method and device and readable storage medium
CN106656927A (en) Method and device for enabling Linux account to be added to AD domain
CN110221845A (en) Using dispositions method, device, equipment and medium
CN110377468A (en) A kind of test method and relevant apparatus of CPU activation core number setting
CN107621963B (en) Software deployment method, software deployment system and electronic equipment
CN108234122B (en) Token checking method and device
CN105117340A (en) URL (Uniform Resource Locator) detection method and device used for quality evaluation of iOS browser application
CN111522744A (en) Service testing method, device and computer readable storage medium
CN111782226A (en) Method, system, equipment and medium for directly and quickly installing android application
CN103984621B (en) log separation method and system
CN103685259B (en) The method and its device of Account Logon
CN114579473B (en) Application testing method, device, equipment and storage medium
CN112905437A (en) Method and device for testing case and storage medium
US20230088318A1 (en) Remotely healing crashed processes
CN113852596A (en) Application authentication agent method and system based on Kubernetes
CN112732676B (en) Block chain-based data migration method, device, equipment and storage medium
CN111597573B (en) Page embedding method and device, computer equipment and storage medium

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
TA01 Transfer of patent application right

Effective date of registration: 20211104

Address after: 410000 Room 302, building 4, CLP Software Park, No. 39 Jianshan Road, Yuelu District, Changsha City, Hunan Province

Applicant after: Hunan duoxing cloud computer technology Co.,Ltd.

Address before: 410000 Room 302, building 4, CLP Software Park, No. 39 Jianshan Road, Yuelu District, Changsha City, Hunan Province

Applicant before: Changsha Mozhi Cloud Computing Technology Co.,Ltd.

TA01 Transfer of patent application right