CN117492776A - Application installation method and device and electronic equipment - Google Patents

Application installation method and device and electronic equipment Download PDF

Info

Publication number
CN117492776A
CN117492776A CN202311460610.5A CN202311460610A CN117492776A CN 117492776 A CN117492776 A CN 117492776A CN 202311460610 A CN202311460610 A CN 202311460610A CN 117492776 A CN117492776 A CN 117492776A
Authority
CN
China
Prior art keywords
application
installation
installation package
application installation
information
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
CN202311460610.5A
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202311460610.5A priority Critical patent/CN117492776A/en
Publication of CN117492776A publication Critical patent/CN117492776A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Abstract

The application provides an application installation method, an application installation device and electronic equipment, wherein the method is applied to the technical field of computers and comprises the following steps: receiving an application installation package of a target application; performing preliminary installation and installation package optimization on the application installation package to obtain a preliminary installation result and an executable file corresponding to the application installation package; and installing the target application according to the executable file under the condition that the initial installation result is that the installation is passed. According to the method, the electronic equipment can perform preliminary installation and installation package optimization on the application installation package at the same time, and under the condition that the preliminary installation result of the application installation package is that the installation is passed, the target application can be installed according to the executable file obtained by the installation package optimization on the application installation package of the electronic equipment, so that the situation that the installation package optimization is performed on the application installation package after the preliminary installation of the target application is passed and the subsequent steps are executed is avoided, the installation speed of the target application is effectively accelerated, the waiting time of a user is reduced, and the user experience is good.

Description

Application installation method and device and electronic equipment
Technical Field
The present invention relates to the field of computer technology, and more particularly, to an application installation method, an application installation device, and an electronic device in the field of computer technology.
Background
With the rapid development of the internet, application programs (App) have been increasingly used in mobile payment, online shopping, online chat, etc., and before the Application programs are used, the Application programs need to be installed on electronic devices (for example, portable electronic devices such as mobile phones, notebook computers, or fixed electronic devices such as desktop computers), however, with the improvement of configuration and display effects of the electronic devices, the space occupied by the Application programs is also increased, which results in slow installation speed of the Application programs and poor user experience.
Disclosure of Invention
The application installation method and device and the electronic equipment are provided, the method can install the target application, the installation speed is high, the waiting time of a user is effectively reduced, and the user experience is good.
In a first aspect, there is provided an application installation method, the method comprising:
receiving an application installation package of a target application;
performing preliminary installation and installation package optimization on the application installation package synchronously to obtain a preliminary installation result and an executable file corresponding to the application installation package;
and installing the target application according to the executable file under the condition that the preliminary installation result is that the installation is passed.
In a second aspect, there is provided an application installation apparatus comprising:
the receiving module is used for receiving the application installation package of the target application;
the processing module is used for synchronously carrying out preliminary installation and installation package optimization on the application installation package to obtain a preliminary installation result and an executable file corresponding to the application installation package;
and the installation module is used for installing the target application according to the executable file under the condition that the preliminary installation result is that the installation is passed.
In a third aspect, an electronic device is provided that includes a memory and a processor. The memory is for storing executable program code and the processor is for calling and running the executable program code from the memory to cause the electronic device to perform the method of the first aspect described above.
In a fourth aspect, there is provided a computer program product comprising: computer program code which, when run on a computer, causes the computer to perform the method of the first aspect described above.
In a fifth aspect, there is provided a computer readable storage medium storing computer program code which, when run on a computer, causes the computer to perform the method of the first aspect described above.
According to the technical scheme provided by the embodiment of the application, when the target application is installed on the electronic equipment, firstly, an application installation package of the target application is received through the electronic equipment; secondly, performing preliminary installation on the application installation package to obtain a preliminary installation result corresponding to the application installation package, and performing installation package optimization on the application installation package while performing preliminary installation on the application installation package to obtain an executable file corresponding to the application installation package; and finally, under the condition that the initial installation result of the application installation package is that the installation is passed, installing the target application according to the executable file corresponding to the application installation package. The electronic equipment is used for carrying out preliminary installation and installation package optimization on the application installation package, and under the condition that the preliminary installation result of the application installation package is that the installation is passed, the executable file obtained by the installation package optimization can be directly installed on the application installation package according to the electronic equipment, so that the situation that the application installation package is optimized and the follow-up steps are executed after the preliminary installation of the target application is passed is avoided, the installation speed of the target application is effectively accelerated, the waiting time of a user is reduced, and the user experience is good.
Drawings
Fig. 1 is a schematic diagram of an electronic device according to an embodiment of the present application;
FIG. 2 is a flowchart of an application installation method provided in an embodiment of the present application;
FIG. 3 is a schematic structural view of an application installation device according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. However, the exemplary embodiments may be embodied in many forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of the example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a thorough understanding of embodiments of the present disclosure. One skilled in the relevant art will recognize, however, that the aspects of the disclosure may be practiced without one or more of the specific details, or with other methods, components, devices, steps, etc. In other instances, well-known technical solutions have not been shown or described in detail to avoid obscuring aspects of the present disclosure.
Furthermore, the drawings are merely schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and thus a repetitive description thereof will be omitted. Some of the block diagrams shown in the figures are functional entities and do not necessarily correspond to physically or logically separate entities. These functional entities may be implemented in software or in one or more hardware modules or integrated circuits or in different networks and/or processor devices and/or microcontroller devices.
The flow diagrams depicted in the figures are exemplary only and not necessarily all steps are included. For example, some steps may be decomposed, and some steps may be combined or partially combined, so that the order of actual execution may be changed according to actual situations. In addition, all of the following terms "first," "second," "third," and the like are used for distinguishing purposes only and should not be taken as a limitation of the present disclosure.
In order to more clearly describe the technical solutions provided in the embodiments of the present application, the terms related to the embodiments of the present application are first described below.
The system registry is a database of storage device configurations and system settings in the electronic device. Are commonly used in a variety of operating systems to record information, configuration, and user settings of the operating system hardware and software. The system registry contains a number of keys and values for storing various system settings, such as network configuration, user accounts, device drivers, software installation information, etc. Through the registry, users and system administrators can configure and manage electronic devices, which allows users to alter system settings, install and uninstall software, adjust device parameters, and the like.
System configuration files, which are files on electronic devices that are used to store data that can be stored for a long period of time and that remain after the device is turned off or an application exits, are typically used to store user data, configuration information, log records, and the like. Corresponding to the temporary file, the data of the system configuration file is not lost with the restart of the electronic device or the closing of the application, but is stored in a nonvolatile storage medium (such as a magnetic disk, a solid state disk, a flash memory, etc.), which allows the user to re-access and use the data after the restart of the device.
After the nouns related to the embodiments of the present application are introduced, the electronic device related to the embodiments of the present application is described below.
The electronic device according to the embodiment of the present application includes a mobile terminal, a personal computer (Personal Computer, PC), such as a tablet computer, a palm top computer (Personal Digital Assistant, PDA), an electronic book reader, and the like, which require application installation.
In the embodiment of the application, the electronic device may be flexible, not limited to the above-described device, or may be one or a combination of several of the above-described various devices. Referring to fig. 1, in the embodiment of the present application, an execution subject is described as an example of an electronic device 100.
After the nouns and the electronic devices related to the embodiments of the present application are introduced, the application scenario of the embodiments of the present application is described below.
The application installation method provided by the embodiment of the application can be applied to any electronic equipment needing application installation, the application installation package can be initially installed and optimized through the electronic equipment, the target application can be installed according to the executable file obtained by optimizing the application installation package according to the application installation package of the electronic equipment under the condition that the initial installation result of the application installation package is that the installation is passed, the application installation package is prevented from being optimized and the follow-up steps are executed after the initial installation of the target application is passed, the installation speed of the target application is effectively accelerated, the waiting time of a user is reduced, and the user experience is good.
After describing the application scenario of the embodiment of the present application, the application installation method provided in the embodiment of the present application is described below, referring to fig. 2, taking the execution body as an electronic device as an example, where the application installation 200 includes steps 202 to 206.
In step 202, the electronic device receives an application installation package of a target application.
It should be noted that, before step 202, the application installation method 200 further includes step 2011 and step 2012.
In step 2011, the electronic device receives a first input from a user.
The first input is used for sending an installation instruction for installing the target application to the electronic equipment. The first input may be a click input of an application identifier corresponding to a target application in an application download interface of the electronic device by a user, or a voice command input by the user, or a specific gesture input by the user, which may be determined according to an actual use requirement in an actual application, and this embodiment is not limited specifically.
It should be noted that, there may be an application software for installing a target application in the electronic device, for example, an application store, and after the user starts the application store software, information of various applications may be displayed in the application store interface, and the user may trigger generation of an installation instruction through the first input.
In this embodiment of the present application, the application download interface of the electronic device may be an application download interface of a target application in an application store interface of the electronic device, the application identifier corresponding to the target application may be an "install" control in the application download interface of the target application in the application store interface, and the first input may be a click input of the user on the "install" control.
In addition, the application download interface of the electronic device may be an application download interface in an official website of the target application, which is not particularly limited in this embodiment.
In an embodiment of the present application, in response to the first input, the electronic device sends a download request for the target application to the target object, step 2012.
The downloading request is used for acquiring an application installation package of the target application from the target object; the target object may be a server capable of providing an application installation package of the target application to the electronic device; the target application may be an application that has not been installed by the electronic device, or may be an application that has been installed by the electronic device but has not been updated.
It should be noted that, after the electronic device responds to the first input and sends a download request for the target application to the server, the server may receive the download request from the electronic device; the download request includes at least one item of system information of the electronic device and installation version information of the target application, where the system information of the electronic device may be used to represent an operating system of the electronic device, for example, an Android system 7.0; the installation version information of the target application may include a target application name and target application version information, etc., for example App1 v2.0.
In the embodiment of the application, after the server receives the download request from the electronic device, the server obtains the application installation package corresponding to the target application according to the download request of the electronic device, and sends the application installation package of the target application to the electronic device, so that the electronic device can receive the application installation package of the target application sent by the server.
And 204, the electronic equipment synchronously performs preliminary installation and installation package optimization on the application installation package to obtain a preliminary installation result and an executable file corresponding to the application installation package.
After receiving the application installation package of the target application, the electronic device performs parallel processing on the preliminary installation work of the application installation package and the installation package optimization work of the application installation package so as to improve the installation speed of the application installation package.
In one embodiment, the method for preliminary installation of the application installation package in step 204 includes steps 2041 to 2044.
In step 2041, first information of an application installation package is extracted.
The first information comprises a digital signature of the application installation package, authority information of the application installation package and version information of the application installation package.
The digital signature of the application installation package is used for verifying the identity and the integrity of the application program, and by extracting the digital signature of the application installation package, whether the source of the application program is credible or not and whether the application program is tampered or modified or not can be verified.
Wherein the rights information of the application installation package is used to represent rights of access and execution operations required by the application program on the device, including access to device hardware, access to user data, network access, etc. The rights information of the application installation package can help the user to know the operation to be accessed and executed by the application program and judge whether the rights are reasonably required by the application program.
The version information of the application installation package is used for representing the version number and the update content of the application program and describing the version information of the lowest operating system required by the application installation package, and the version information of the application installation package can enable a user to know the update condition of the application program and determine whether to update the application program.
Step 2042, verifying the first information to obtain a first verification result corresponding to the application installation package.
Under the condition of verifying the digital signature of the application installation package, firstly, the digital signature of the application installation package is extracted, and the public key of the application program publisher is used for decrypting the digital signature to obtain the expected hash value of the application program; secondly, calculating an actual hash value of the application installation package by utilizing a hash algorithm; finally, comparing the expected hash value with the actual hash value to determine whether the application program is tampered or modified; under the condition that the expected hash value is the same as the actual hash value, the application program is not modified, the content of the application installation package is complete, and the digital signature verification of the application installation package passes; in the case where the expected hash value and the actual hash value are different, it is indicated that the content of the application has been modified or corrupted, and the digital signature verification of the application installation package is not passed.
Under the condition of verifying the authority information of the application installation package, checking the declared authority requirement of the application installation package to verify whether the application program requests proper authority and whether the authority requested by the application installation package accords with the security policy of the electronic equipment; under the condition that the authority requested by the application program is proper and the authority requested by the application program accords with the security policy of the electronic equipment, the authority information of the application installation package passes verification; in the case that the rights requested by the application are not suitable or the rights requested by the application do not conform to the security policy of the electronic device, the rights information verification of the application installation package is not passed.
It should be noted that, the security policy of the electronic device refers to a series of measures and rules that are taken by the manufacturer of the electronic device or the provider of the operating system to protect user data and security of the electronic device, and these security policies are intended to ensure security of the electronic device, prevent intrusion and abuse of malicious software, and protect privacy of the user.
Under the condition of verifying version information of the application installation package, verifying whether the version declared in the application installation package is consistent with the version declared in the publisher information; in the case that the version declared by the application installation package is consistent with the version declared in the publisher information, the version information of the application installation package is verified; in the case where the version declared by the application installation package and the version declared in the publisher information are inconsistent, the version information verification of the application installation package is not passed.
In the embodiment of the application, under the condition that the first information of the application installation package is verified, the electronic equipment respectively verifies the digital signature, the authority information and the version information of the application installation package, and under the condition that the digital signature, the authority information and the version information of the application installation package are verified, the first verification result of the application installation package is considered as verification passing; in the case that any one of the digital signature, the authority information and the version information of the application installation package fails to pass the verification, the first verification result of the application installation package is considered as that the verification fails.
When the electronic device verifies the digital signature, the authority information and the version information of the application installation package respectively, if any information of the application installation package is not verified, other non-verified information is not verified any more, the first verification result of the application installation package is directly judged to be that the verification is not passed, and unnecessary information verification by the electronic device is avoided.
For example, when the electronic device first verifies the digital signature of the application installation package, and the digital signature of the application installation package fails, it is directly determined that the first verification result of the application installation package is that the verification fails without verifying the authority information and the version information of the application installation package.
Step 2043, if the first verification result is that the installation is passed, obtaining second information corresponding to the electronic device.
The second information comprises a signature certificate of the electronic device, authority information of the electronic device and operating system information of the electronic device.
Wherein the signature certificate of the electronic device is a digital certificate issued by the electronic device manufacturer or an associated authority, the signature certificate of the electronic device describes a list of trusted certificate issuing authorities on the electronic device, which are usually pre-installed by the operating system of the electronic device or the device manufacturer of the electronic device.
The authority information of the electronic device refers to the authority of the electronic device for accessing and executing specific functions granted in an operating system or an application program; the rights information of the electronic device may be user authorization or system default settings to ensure that the device is able to securely access and perform related functions during use.
The operating system information of the electronic device includes a name, a version number and related hardware requirements of the operating system, where the version number of the operating system is generally used to distinguish between different updates and functional improvements, and the hardware requirements refer to minimum configuration requirements that the electronic device needs to meet to ensure that the operating system operates normally. Common operating systems include Windows, mac OS, linux, iOS, android, and the like.
Step 2044, based on the second information, verifies the first information to obtain a second verification result corresponding to the application installation package.
Under the condition that the digital signature of the application installation package is verified based on the signature certificate of the electronic device, verifying whether a trusted certificate authority list on the signature certificate of the electronic device contains an authority for the digital signature of the application installation package, and under the condition that the trusted certificate authority list on the signature certificate of the electronic device contains an authority for the digital signature of the application installation package, the digital signature of the application installation package passes; in the event that the list of trusted certificate authorities on the signature certificate of the electronic device does not contain an authority for digital signature of the application installation package, the digital signature verification of the application installation package fails.
Comparing whether the authority requested by the application installation package exceeds the authority range allowed by the electronic equipment under the condition that the authority information of the application installation package is verified based on the authority information of the electronic equipment, and passing the authority information verification of the application installation package under the condition that the authority requested by the application installation package does not exceed the authority range allowed by the electronic equipment; in the case that the authority requested by the application installation package is beyond the authority range allowed by the electronic device, the authority information verification of the application installation package is not passed.
Under the condition that the version information of the application installation package is verified based on the operating system information of the electronic equipment, verifying whether the lowest operating system version required by the application installation package is compatible with the operating system version of the electronic equipment or not, and under the condition that the lowest operating system version required by the application installation package is compatible with the operating system version of the electronic equipment, verifying that the version information of the application installation package passes; in the event that the minimum operating system version required by the application installation package is incompatible with the operating system version of the electronic device, the version information verification of the application installation package is not passed.
In the embodiment of the application, under the condition that the first information is verified based on the second information, the electronic device verifies the digital signature of the application installation package based on the signature certificate of the electronic device, verifies the authority information of the application installation package based on the authority information of the electronic device, verifies the version information of the application installation package based on the operating system information of the electronic device, and under the condition that the digital signature, the authority information and the version information of the application installation package pass through the verification, the second verification result of the application installation package is considered to be the verification passing by the party; and if any one of the digital signature, the authority information and the version information of the application installation package is failed to verify, the second verification result of the application installation package is considered as failed verification.
When the electronic device verifies the digital signature of the application installation package based on the signature certificate of the electronic device, verifies the authority information of the application installation package based on the authority information of the electronic device, and verifies the version information of the application installation package based on the operating system information of the electronic device, if any information verification of the application installation package fails, other unverified information is not verified any more, and a second verification result of the application installation package is directly judged to be that the verification fails, so that unnecessary information verification of the electronic device is avoided.
For example, when the version information of the application installation package is verified based on the operating system information of the electronic device first and the version information verification of the electronic device is not passed, the digital signature of the application installation package is not verified based on the signature certificate of the electronic device, and the authority information of the application installation package is not verified based on the authority information of the electronic device, and the second verification result of the application installation package is directly judged to be that the verification is not passed.
And 2045, performing preliminary installation on the application installation package by the electronic equipment under the condition that the second verification result is that the verification is passed, and obtaining a preliminary installation result corresponding to the application installation package.
Step 2045, performing preliminary installation on the application installation package to obtain a preliminary installation result corresponding to the application installation package, specifically includes steps 20451 to 20453.
In step 20451, the system registry and system configuration files of the electronic device are updated according to the meta information of the application installation package.
The meta information includes name information, file path information, association information, shortcut information, and parameter information of the application installation package.
It should be noted that, when the second verification result of the application installation package is that the verification is passed, the electronic device adds name information, file path information, association information, shortcut information and parameter information of the application installation package to a system registry and a system configuration file of the electronic device, so as to update the system registry and the system configuration file of the electronic device, thereby ensuring compatibility and stability of the target application on one hand, and improving user experience and operation efficiency on the other hand.
The name information of the application installation package is added into a system registry of the electronic equipment, so that the system registry of the electronic equipment contains the name of the target application, and the operating system of the electronic equipment can identify and mark the target application; adding the file path information of the application installation package into a system registry of the electronic equipment, so that the system registry of the electronic equipment records the file path of the target application, and an operating system of the electronic equipment can find an executable file of the target application according to the file path of the target application; adding the associated information of the application installation package into a system registry of the electronic equipment, enabling the system registry of the electronic equipment to record files associated with the target application, and indicating the behavior and the processing mode when the target application is used for opening the files associated with the target application; the shortcut information of the application installation package is added into a system registry of the electronic equipment, so that the system registry of the electronic equipment records the shortcut of the target application, and after the target application is installed, the shortcut of the target application is displayed on a desktop interface of the electronic equipment, so that a user can conveniently and quickly access the target application through the shortcut of the target application; the parameter information of the application installation package comprises parameters which are required to be loaded and initialized when the operating system of the electronic equipment is started by the target application, and the parameter information of the application installation package is added into a system registry of the electronic equipment, so that the system registry of the electronic equipment records the parameter information of the target application, and the subsequent normal operation of the target application on the electronic equipment is facilitated.
The name information, the file path information, the associated information, the shortcut information and the parameter information of the application installation package are added to the system configuration file of the electronic equipment, so that the target application can be automatically started when the electronic equipment is restarted, and a user can conveniently and quickly access the target application after the electronic equipment is restarted.
In step 20452, in the event that the system registry or the system configuration file is updated abnormally, the preliminary installation result corresponding to the application installation package is that the installation is failed.
In the case that the application installation package of the target application uses the same registry item or configuration file item as the application installation package of other applications on the electronic device, or in the case that the meta information of the application installation package of the target application is incompatible with the application installation packages of other applications on the electronic device, conflict and error are caused, that is, the system registry or system configuration file of the electronic device is updated abnormally according to the meta information of the application installation package.
In the embodiment of the present application, in the case that any one of the system registry and the system configuration file is updated abnormally, the preliminary installation result corresponding to the application installation package is considered as that the installation is failed.
It should be noted that, when the first verification result is verification failure or the second verification result is verification failure, the preliminary installation result corresponding to the application installation package is considered to be installation failure.
In step 20453, in the case that the system registry and the system configuration file update are normal, the preliminary installation result corresponding to the application installation package is installation pass.
In the embodiment of the application, the system registry and the system configuration file of the electronic device are updated according to the meta information of the application installation package, and under the condition that the system registry and the system configuration file of the electronic device are updated normally, the preliminary installation result corresponding to the application installation package is considered to be passing installation.
In the embodiment of the application, when the second verification result of the application installation package is verification passing, updating a system registry and a system configuration file of the electronic device according to name information, file path information, associated information, shortcut information and parameter information of the application installation package, and when any one of the system registry and the system configuration file is updated abnormally, the preliminary installation result corresponding to application installation is that installation fails; and under the condition that the system registry and the system configuration file are updated normally, the preliminary installation result corresponding to the application installation is that the installation is passed.
In the embodiment of the application, first information of an application installation package is extracted, the first information of the application installation package is verified, a first verification result corresponding to the application installation package is obtained, second information corresponding to the electronic equipment is obtained under the condition that the first verification result is verification passing, the first information is verified again based on the second information, a second verification result corresponding to the application installation package is obtained, and under the condition that the second verification result is verification passing, the application installation package is initially installed, so that a preliminary installation result of the application installation package is obtained; if the first verification result is that the verification is failed, the steps 2043 to 2045 are not required to be executed; in case the second verification result is that the verification is not passed, step 2045 is not required to be performed.
In one embodiment, the method for optimizing the installation package for the application installation package in step 204 specifically includes step 2046 and step 2047.
In step 2046, the electronic device compiles the bytecode files in the application installation package to obtain a plurality of mechanical code files of the application installation package.
The method comprises the steps that a byte code file in an application installation package is a file obtained by converting source codes in the source code file into byte codes through compiler processing of the source code file of the application installation package, wherein the byte code file can be loaded and executed by a specific virtual machine and cannot be directly loaded and executed by an operating system; the bytecode file is specifically a dex file in the application installation package.
The method comprises the steps that a mechanical code file of an application installation package is an operation system of electronic equipment, byte codes in the byte code file are converted into binary files of a machine code instruction sequence through dex2oat compiling operation, and the mechanical code file can be directly loaded and executed by the operation system of the electronic equipment to realize the function of target application; the mechanical code file may be an oat format file.
It should be noted that, the dex2oat compiling operation refers to a compiling operation before running the application installation package, and one or more locally executable files generated by the dex2oat compiling operation may be directly executed by a processor of the electronic device, so as to improve the execution efficiency.
For example, the dex2oat operation may be an operation of compiling a dex file in the application installation package, that is, an operation of compiling a bytecode of the dex file into an executable file in oat format.
In step 2047, the electronic device links the plurality of mechanical code files to obtain an executable file.
The electronic device merges the mechanical code files, takes the merged mechanical code files as executable files, and the executable files contain codes and data of all the mechanical code files and can be directly operated on the electronic device.
Wherein the executable file is cached in a temporary folder of the electronic device.
In the process of optimizing an installation package of an application installation package by electronic equipment to obtain an executable file corresponding to the application installation package, a plurality of mechanical code files obtained by optimizing the installation package of the application installation package and the executable file generated according to the plurality of mechanical code files are cached in a temporary folder of the electronic equipment.
It should be noted that, because the electronic device performs preliminary installation on the application installation package to obtain a preliminary installation result corresponding to the application installation package, and performs installation package optimization on the application installation package to obtain an executable file corresponding to the application installation package, the executable file generated according to the plurality of mechanical code files and a plurality of mechanical code files obtained by performing installation package optimization on the application installation package are cached in a temporary folder of the electronic device, so that the executable file of the application installation package which is not verified can be prevented from being directly placed in a target folder, and damage to the target folder by malicious software or viruses can be prevented; and the executable files are placed in the temporary folder, if abnormality is found in the process of preliminary installation of the application installation package, or the user cancels the installation operation, the executable files in the temporary folder can be directly deleted, any influence on the target folder is avoided, and the data integrity and the system stability in the installation process of the target application can be ensured.
In the embodiment of the application, the dex2oat operation is performed on the byte code files in the application installation package, the byte code files in the application installation package are compiled and optimized into a plurality of mechanical code files, and then the plurality of mechanical code files are linked to obtain the executable files of the application installation package, and the executable files can be directly executed by the electronic equipment so that the subsequent electronic equipment can install the target application based on the executable files.
And 206, the electronic equipment installs the target application according to the executable file under the condition that the initial installation result is that the installation is passed.
In one embodiment, in step 206, if the preliminary installation result is that the installation is passed, the electronic device installs the target application according to the executable file, and specifically includes steps 2061 to 2063.
In step 2061, the electronic device transfers the executable file in the temporary folder to the target folder when the preliminary installation result is that the installation is passed.
The target folder is an installation folder of the target application.
It should be noted that, the target folder is used for storing all installation files and related data of the target application, and when the target application is installed, the executable file of the target application is located in the target folder so as to complete the installation of the target application on the electronic device; the target folder is typically predefined by a developer of an operating system target application of the electronic device, and may be different according to different operating systems and electronic device types, which is not particularly limited in this embodiment.
In the embodiment of the application, in the case that the preliminary installation result of the application installation package is that the installation is passed, the executable files in the temporary folder are copied to the target folder, and the executable files in the temporary folder are deleted.
In step 2062, the electronic device modifies the rights information of the executable file to obtain a modified executable file.
After the executable file is moved from the temporary folder to the target folder, the authority information of the executable file needs to be modified to obtain a modified executable file, so that the modified executable file of the application installation package can be correctly executed and accessed in the target folder.
It should be noted that, the modification of the authority information of the executable file includes modification of the access authority, the owner and the group information of the executable file; the executable file needs to have enough access rights to be executed by an operating system or other users of the electronic device, and the executable file can be ensured to have proper read (r), write (w) and execute (x) rights by modifying the access rights of the executable file; for example, setting executable files to readable and executable rights to ensure that the system and user can read the files and execute code therein; by modifying the owner and group information of the executable file, the owner and the group of the executable file can be ensured to be consistent with the rights of other files in the target folder, so that the executable file is ensured to have correct rights limitation in the running process, and can interact with other system resource files.
It should be noted that, the modification of the authority information of the executable file may also include modification of SELinux (Security-Enhanced Linux) authorities; SELinux is a mandatory access control security mechanism, which can limit access rights of processes, thereby improving security of the system. In Linux systems, each process has a security context that includes information about the process's users, groups, roles, and types. The SELinux limits the access of the process to the system resources according to the information of the users, groups, roles, types and the like of the process, and when the SELinux authority is incorrect, certain processes can possibly not normally run or can not access the required system resources; by modifying the SELinux authority to the correct value, namely checking the security context of the process corresponding to the target application and modifying the access authority according to the need, the process corresponding to the target application can be ensured to normally run, and only the system resources required by the process can be accessed.
Step 2063, installing the target application according to the modified executable file.
The operating system of the electronic equipment calls and executes the modified executable file in the target file, so that the target application is installed.
In the embodiment of the application, when the preliminary installation result of the application installation package of the target application is that the installation is passed, firstly, the executable file stored in the temporary folder is transferred to the target folder of the electronic device; secondly, modifying authority information of the executable file in the target folder to obtain a modified executable file so as to ensure that the modified executable file can be correctly executed and accessed in the target folder; and finally, the operating system of the electronic equipment installs the target application according to the modified executable file, so that the installation of the target application is realized, the stability of the operating system of the electronic equipment is ensured, and the installation speed of the target application is effectively improved.
In the embodiment of the application, when a target application is installed on an electronic device, firstly, an application installation package of the target application is received through the electronic device; secondly, performing preliminary installation on the application installation package to obtain a preliminary installation result corresponding to the application installation package, and performing installation package optimization on the application installation package while performing preliminary installation on the application installation package to obtain an executable file corresponding to the application installation package; and finally, under the condition that the preliminary installation result of the application installation package is that the installation is passed, installing the target application according to the executable file corresponding to the application installation package of the target application. The electronic equipment is used for carrying out preliminary installation and installation package optimization on the application installation package, and under the condition that the preliminary installation result of the application installation package is that the installation is passed, the executable file obtained by the installation package optimization can be directly installed on the application installation package according to the electronic equipment, so that the situation that the application installation package is optimized and the follow-up steps are executed after the preliminary installation of the target application is passed is avoided, the installation speed of the target application is effectively accelerated, the waiting time of a user is reduced, and the user experience is good.
In one embodiment, it should be noted that, in step 204, after the electronic device performs preliminary installation and optimization of the installation package for the application installation package to obtain the preliminary installation result and the executable file corresponding to the application installation package, the application installation method 200 further includes: and step 208, the electronic equipment stops optimizing the installation package of the application installation package and deletes the executable file in the temporary folder when the initial installation result is that the installation is not passed.
In the embodiment of the application, under the condition that the initial installation result of the electronic equipment is that the installation is not passed, the optimization of the installation package of the application installation package is stopped in time, and the cached executable file in the temporary folder is deleted, so that the problems of failure in installing the target application or breakdown after installing the target application are avoided, and the stability and reliability of the target application are improved; meanwhile, the time waste and the space downloading and the incomplete or problematic target application installation of the user can be avoided, and the user experience is good.
In one embodiment, the application installation method 200 further includes step 2012 and step 2013 before the electronic device receives the application installation package corresponding to the target application in step 202.
In step 2012, the electronic device receives a second input from the user.
The second input is used for determining a target display position of an application icon of the target application on a display desktop of the electronic device. The second input may be a drag operation of the user on an application identifier corresponding to the target application in the application download interface.
In step 2013, the electronic device determines a target display position of the application icon of the target application on the display desktop of the electronic device in response to the drag operation of the application identifier corresponding to the target application in the application download interface.
The electronic equipment responds to drag operation of a user on an application identifier corresponding to a target application in an application download interface, and the termination position of the drag operation is used as an application icon of the target application to display a target display position of a desktop on the electronic equipment.
In step 206, the electronic device further includes step 2064 of displaying an application icon at the target display position after installing the target application according to the executable file if the preliminary installation result is that the installation is passed.
After the electronic device installs the target application on the electronic device according to the executable file, the electronic device directly displays the application icon of the target application on a target display position of a display desktop of the electronic device.
In the embodiment of the application, the electronic device can also respond to the drag operation of the user on the application identifier corresponding to the target application in the application download interface, determine the termination position of the drag operation as the target display position of the application icon of the target application on the display desktop of the electronic device, and directly display the application icon of the target application on the target display position of the display desktop of the electronic device after the installation of the target application is completed, so that the situation that the user needs to rearrange the position of the application icon of the target application after the installation of the target application is avoided, and the user experience is effectively improved.
Fig. 3 is a schematic structural diagram of an application installation apparatus provided in an embodiment of the present application, and referring to fig. 3, the application installation apparatus 300 includes a receiving module 301, a processing module 302, and an installation module 303.
A receiving module 301, configured to receive an application installation package of a target application.
And the processing module 302 is configured to perform preliminary installation and installation package optimization on the application installation package synchronization, so as to obtain a preliminary installation result and an executable file corresponding to the application installation package.
And an installation module 303, configured to install the target application according to the executable file if the preliminary installation result is that the installation is passed.
In one possible implementation, the processing module 302 is specifically configured to: analyzing the application installation package to obtain first information corresponding to the application installation package; the first information comprises a digital signature of the application installation package, authority information of the application installation package and version information of the application installation package; verifying the first information to obtain a first verification result corresponding to the application installation package; acquiring second information corresponding to the electronic equipment under the condition that the first verification result is verification passing; the second information comprises a signature certificate of the electronic equipment, authority information of the electronic equipment and operating system information of the electronic equipment; verifying the first information based on the second information to obtain a second verification result corresponding to the application installation package; and under the condition that the second verification result is that verification is passed, performing preliminary installation on the application installation package to obtain a preliminary installation result corresponding to the application installation package.
In a possible implementation manner, the application installation apparatus 300 further includes an update module, which is configured to update a system registry and a system configuration file of the electronic device according to meta information of the application installation package; the meta information comprises name information, file path information, associated information, shortcut information and parameter information of an application installation package; under the condition that the system registry or the system configuration file is updated abnormally, the preliminary installation result corresponding to the application installation package is that the installation is failed; and under the condition that the system registry and the system configuration file are updated normally, the preliminary installation result corresponding to the application installation package is that the installation is passed.
In one possible implementation, the processing module 302 is specifically configured to: compiling the byte code files in the application installation package to obtain a plurality of mechanical code files of the application installation package; linking a plurality of mechanical code files to obtain an executable file; wherein the executable file is cached in a temporary folder of the electronic device.
In one possible implementation, the installation module 303 is specifically configured to: under the condition that the preliminary installation result is that the installation is passed, the executable files in the temporary folder are transferred to the target folder; the target folder is an installation folder of the target application; modifying the authority information of the executable file to obtain a modified executable file; and installing the target application according to the modified executable file.
In one possible implementation manner, the application installation apparatus 300 further includes a deletion module, where the deletion module is configured to stop the installation package optimization of the application installation package and delete the executable file in the temporary folder when the preliminary installation result is that the installation is failed.
In one possible implementation, the application installation apparatus 300 further includes a determination module and a display module.
And the determining module is used for responding to the dragging operation of the application identifier corresponding to the target application in the application downloading interface and determining the target display position of the application icon of the target application on the display desktop of the electronic equipment.
And the display module is used for displaying the application icon of the target application at the target position.
It should be noted that: in the application installation apparatus provided in the above embodiment, only the division of the above functional modules is used as an example, and in practical application, the above functional allocation may be performed by different functional modules according to needs, that is, the internal structure of the electronic device is divided into different functional modules, so as to perform all or part of the functions described above. In addition, the application installation device and the application installation method provided in the foregoing embodiments belong to the same concept, and specific implementation processes of the application installation device and the application installation method are detailed in the method embodiments, which are not repeated herein.
In the embodiment of the application, when a target application is installed on an electronic device, firstly, an application installation package of the target application is received through the electronic device; secondly, performing preliminary installation on the application installation package to obtain a preliminary installation result corresponding to the application installation package, and performing installation package optimization on the application installation package while performing preliminary installation on the application installation package to obtain an executable file corresponding to the application installation package; and finally, under the condition that the preliminary installation result of the application installation package is that the installation is passed, installing the target application according to the executable file corresponding to the application installation package of the target application. The electronic equipment is used for carrying out preliminary installation and installation package optimization on the application installation package, and under the condition that the preliminary installation result of the application installation package is that the installation is passed, the executable file obtained by the installation package optimization can be directly installed on the application installation package according to the electronic equipment, so that the situation that the application installation package is optimized and the follow-up steps are executed after the preliminary installation of the target application is passed is avoided, the installation speed of the target application is effectively accelerated, the waiting time of a user is reduced, and the user experience is good.
The embodiment of the application provides an electronic device, which is used for executing the method, and the following description is given to the structure of the electronic device:
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present application. In general, the electronic device 400 includes: one or more processors 401 and one or more memories 402.
Processor 401 may include one or more processing cores such as a 4-core processor, an 8-core processor, etc. The processor 401 may be implemented in at least one hardware form of DSP (Digital Signal Processing ), FPGA (Field-Programmable Gate Array, field programmable gate array), PLA (Programmable Logic Array ). The processor 401 may also include a main processor, which is a processor for processing data in an awake state, also called a CPU (Central Processing Unit ), and a coprocessor; a coprocessor is a low-power processor for processing data in a standby state. In some embodiments, the processor 401 may integrate a GPU (Graphics Processing Unit, image processor) for rendering and drawing of content required to be displayed by the display screen. In some embodiments, the processor 401 may also include an AI (Artificial Intelligence ) processor for processing computing operations related to machine learning.
Memory 402 may include one or more computer-readable storage media, which may be non-transitory. Memory 402 may also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in memory 402 is used to store at least one computer program for execution by processor 401 to implement the application installation method provided by the method embodiments in the present application.
In some embodiments, the electronic device 400 may further optionally include: a peripheral interface 403 and at least one peripheral. The processor 401, memory 402, and peripheral interface 403 may be connected by a bus or signal line. The individual peripheral devices may be connected to the peripheral device interface 403 via buses, signal lines or a circuit board. Specifically, the peripheral device includes: at least one of radio frequency circuitry 404, a display screen 405, a camera assembly 406, audio circuitry 407, and a power supply 408.
Peripheral interface 403 may be used to connect at least one Input/Output (I/O) related peripheral to processor 401 and memory 402. In some embodiments, processor 401, memory 402, and peripheral interface 403 are integrated on the same chip or circuit board; in some other embodiments, either or both of the processor 401, memory 402, and peripheral interface 403 may be implemented on separate chips or circuit boards, which is not limited in this embodiment.
The Radio Frequency circuit 404 is configured to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The radio frequency circuitry 404 communicates with a communication network and other communication devices via electromagnetic signals. The radio frequency circuit 404 converts an electrical signal into an electromagnetic signal for transmission, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 404 includes: antenna systems, RF transceivers, one or more amplifiers, tuners, oscillators, digital signal processors, codec chipsets, subscriber identity module cards, and so forth.
The display screen 405 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display screen 405 is a touch display screen, the display screen 405 also has the ability to collect touch signals at or above the surface of the display screen 405. The touch signal may be input as a control signal to the processor 401 for processing. At this time, the display screen 405 may also be used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard.
The camera assembly 406 is used to capture images or video. Optionally, the camera assembly 406 includes a front camera and a rear camera. In general, a front camera is disposed on a front panel of an electronic device, and a rear camera is disposed on a rear surface of the electronic device.
The audio circuit 407 may include a microphone and a speaker. The microphone is used for collecting sound waves of users and environments, converting the sound waves into electric signals, and inputting the electric signals to the processor 401 for processing, or inputting the electric signals to the radio frequency circuit 404 for realizing voice communication.
The power supply 408 is used to power the various components in the electronic device 400. The power source 408 may be alternating current, direct current, disposable or rechargeable.
In some embodiments, the electronic device 400 further includes one or more sensors 409. The one or more sensors 409 include, but are not limited to: acceleration sensor 140, gyro sensor 411, pressure sensor 412, optical sensor 413, and proximity sensor 414.
The acceleration sensor 140 may detect the magnitudes of accelerations on three coordinate axes of a coordinate system established with the electronic device 400.
The gyro sensor 411 may be configured to sense a body direction and a rotation angle of the electronic device 400, and the gyro sensor 411 may cooperate with the acceleration sensor 140 to collect a 3D motion of the user on the electronic device 400.
The pressure sensor 412 may be disposed on a side frame of the electronic device 400 and/or on an underside of the display screen 405. When the pressure sensor 412 is disposed on the side frame of the electronic device 400, a grip signal of the user on the electronic device 400 may be detected, and the processor 401 may perform a left-right hand recognition or a shortcut operation according to the grip signal collected by the pressure sensor 412. When the pressure sensor 412 is disposed at the lower layer of the display screen 405, the processor 401 controls the operability control on the UI interface according to the pressure operation of the user on the display screen 405.
The optical sensor 413 is used to collect the ambient light intensity. In one embodiment, the processor 401 may control the display brightness of the display screen 405 according to the ambient light intensity collected by the optical sensor 413.
The proximity sensor 414 is used to collect the distance between the user and the front of the electronic device 400.
Those skilled in the art will appreciate that the structure shown in fig. 4 is not limiting of the electronic device 400 and may include more or fewer components than shown, or may combine certain components, or may employ a different arrangement of components.
In an exemplary embodiment, a computer readable storage medium, such as a memory including a computer program executable by a processor to perform the application installation method in the above embodiment, is also provided. For example, the computer readable storage medium may be Read-Only Memory (ROM), random-access Memory (Random Access Memory, RAM), compact disc Read-Only Memory (CD-ROM), magnetic tape, floppy disk, optical data storage device, and the like.
In an exemplary embodiment, there is also provided a computer program product or a computer program comprising program code stored in a computer readable storage medium, the program code being read from the computer readable storage medium by a processor of an electronic device, the program code being executed by the processor, causing the electronic device to perform the above-described application installation method.
In some embodiments, the computer program related to the embodiments of the present application may be deployed to be executed on one electronic device or on a plurality of electronic devices located at one site, or alternatively, executed on a plurality of electronic devices distributed at a plurality of sites and interconnected by a communication network, where a plurality of electronic devices distributed at a plurality of sites and interconnected by a communication network may constitute a blockchain system.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program for instructing relevant hardware, where the program may be stored in a computer readable storage medium, and the above storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The foregoing description of the preferred embodiments is merely exemplary in nature and is not intended to limit the invention, but is intended to cover various modifications, substitutions, improvements, and alternatives falling within the spirit and principles of the invention.

Claims (10)

1. An application installation method, the method comprising:
receiving an application installation package of a target application;
performing preliminary installation and installation package optimization on the application installation package synchronously to obtain a preliminary installation result and an executable file corresponding to the application installation package;
And installing the target application according to the executable file under the condition that the preliminary installation result is that the installation is passed.
2. The application installation method according to claim 1, wherein the method of preliminary installing the application installation package includes:
extracting first information of the application installation package; the first information comprises a digital signature of the application installation package, authority information of the application installation package and version information of the application installation package;
verifying the first information to obtain a first verification result corresponding to the application installation package;
acquiring second information corresponding to the electronic equipment under the condition that the first verification result is verification passing; the second information comprises a signature certificate of the electronic equipment, authority information of the electronic equipment and operating system information of the electronic equipment;
verifying the first information based on the second information to obtain a second verification result corresponding to the application installation package;
and under the condition that the second verification result is that verification is passed, performing preliminary installation on the application installation package to obtain a preliminary installation result corresponding to the application installation package.
3. The application installation method according to claim 2, wherein the preliminary installation of the application installation package to obtain a preliminary installation result corresponding to the application installation package includes:
updating a system registry and a system configuration file of the electronic equipment according to the meta information of the application installation package; the meta information comprises name information, file path information, associated information, shortcut information and parameter information of the application installation package;
under the condition that the system registry or the system configuration file is updated abnormally, the preliminary installation result corresponding to the application installation package is that the installation is failed;
and under the condition that the system registry and the system configuration file are updated normally, the preliminary installation result corresponding to the application installation package is that the installation is passed.
4. The application installation method according to claim 1, wherein the method of performing installation package optimization on the application installation package comprises:
compiling the byte code files in the application installation package to obtain a plurality of mechanical code files of the application installation package;
linking the plurality of mechanical code files to obtain the executable file; wherein the executable file is cached in a temporary folder of the electronic device.
5. The application installation method according to claim 4, wherein, in the case where the preliminary installation result is that installation is passed, installing the target application according to the executable file includes:
under the condition that the preliminary installation result is that the installation is passed, the executable files in the temporary folder are transferred to a target folder; the target folder is an installation folder of the target application;
modifying the authority information of the executable file to obtain a modified executable file;
and installing the target application according to the modified executable file.
6. The application installation method according to claim 4, wherein after said performing preliminary installation and installation package optimization on the application installation package synchronization to obtain a preliminary installation result and an executable file corresponding to the application installation package, the method further comprises:
and stopping optimizing the installation package of the application installation package and deleting the executable file in the temporary folder when the preliminary installation result is that the installation is not passed.
7. The application installation method according to claim 1, wherein before the receiving the application installation package of the target application, the method further comprises:
Responding to a dragging operation of an application identifier corresponding to the target application in an application downloading interface, and determining a target display position of an application icon of the target application on a display desktop of electronic equipment;
after the target application is installed according to the executable file, the method further comprises:
and displaying the application icon at the target display position.
8. An application installation apparatus, the apparatus comprising:
the receiving module is used for receiving the application installation package of the target application;
the processing module is used for synchronously carrying out preliminary installation and installation package optimization on the application installation package to obtain a preliminary installation result and an executable file corresponding to the application installation package;
and the installation module is used for installing the target application according to the executable file under the condition that the preliminary installation result is that the installation is passed.
9. An electronic device, the electronic device comprising:
a memory for storing executable program code;
a processor for calling and running the executable program code from the memory, causing the electronic device to perform the method of any one of claims 1 to 7.
10. A computer readable storage medium, characterized in that the computer readable storage medium stores a computer program which, when executed, implements the method according to any of claims 1 to 7.
CN202311460610.5A 2023-11-03 2023-11-03 Application installation method and device and electronic equipment Pending CN117492776A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311460610.5A CN117492776A (en) 2023-11-03 2023-11-03 Application installation method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311460610.5A CN117492776A (en) 2023-11-03 2023-11-03 Application installation method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN117492776A true CN117492776A (en) 2024-02-02

Family

ID=89668539

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311460610.5A Pending CN117492776A (en) 2023-11-03 2023-11-03 Application installation method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN117492776A (en)

Similar Documents

Publication Publication Date Title
CN110663027B (en) Method and system for securely booting a computing system
EP3674954B1 (en) Security control method and computer system
US8694981B2 (en) Shared resource dependencies
KR100299954B1 (en) Secure bios
CN107608693B (en) Version upgrading method and terminal equipment
US20100235912A1 (en) Integrity Verification Using a Peripheral Device
CN109657448B (en) Method and device for acquiring Root authority, electronic equipment and storage medium
CN110457894B (en) root authority distribution method and device, storage medium and terminal equipment
EP2843578A1 (en) Method, firewall, terminal and readable storage medium for implementing security protection
EP3678039B1 (en) Secure startup method and apparatus, and terminal device
JP6984710B2 (en) Computer equipment and memory management method
CN109964227A (en) Update the method and terminal of SELinux security strategy
CN109753793B (en) Hot patching method and hot patching device
WO2019228095A1 (en) Method and apparatus for adapting handle to third-party application, and storage medium
Khokhlov et al. Data security evaluation for mobile android devices
CN112162795A (en) Plug-in starting method and device, computer equipment and storage medium
CN114528598A (en) Method and device for determining file integrity of file system and electronic equipment
CN108171063A (en) Method, terminal and the computer readable storage medium of access safety element
CN108132844A (en) Plug-in download method and device
CN107316197B (en) Payment protection method, mobile terminal and computer readable storage medium
CN117492776A (en) Application installation method and device and electronic equipment
CN114691157A (en) Cloud-based FPGA management control system and method and electronic equipment
CN111158771B (en) Processing method and device and computer equipment
CN115185745A (en) Data processing method, system, electronic device and computer readable storage medium
EP3523745B1 (en) Electronic device, method for controlling thereof and computer-readable recording 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