CN106775828B - Application program installation method and device and computer equipment - Google Patents

Application program installation method and device and computer equipment Download PDF

Info

Publication number
CN106775828B
CN106775828B CN201611051948.5A CN201611051948A CN106775828B CN 106775828 B CN106775828 B CN 106775828B CN 201611051948 A CN201611051948 A CN 201611051948A CN 106775828 B CN106775828 B CN 106775828B
Authority
CN
China
Prior art keywords
installation
application program
terminal
application
installation environment
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.)
Expired - Fee Related
Application number
CN201611051948.5A
Other languages
Chinese (zh)
Other versions
CN106775828A (en
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 CN201611051948.5A priority Critical patent/CN106775828B/en
Publication of CN106775828A publication Critical patent/CN106775828A/en
Application granted granted Critical
Publication of CN106775828B publication Critical patent/CN106775828B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/3024Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a central processing unit [CPU]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/3034Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a storage system, e.g. DASD based or network based

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Quality & Reliability (AREA)
  • Software Systems (AREA)
  • Stored Programmes (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention provides an application program installation method and device and computer equipment. The application program installation method comprises the following steps: when detecting that a terminal installs an application program, judging whether the application program is installed in a background; if the application program is installed in the background, acquiring current installation environment parameters of the terminal; determining the installation environment parameter grade of the terminal according to the installation environment parameter; and configuring hardware resources corresponding to the installation environment parameter level according to a preset rule to install the application program. The application program installation method can reasonably configure the hardware resources for installing the application program according to the installation environment parameters of the current terminal under the condition that the application program is installed in the background, and avoids the situation that the installed application program occupies too many hardware resources.

Description

Application program installation method and device and computer equipment
Technical Field
The invention relates to the technical field of communication, in particular to an application program installation method and device and computer equipment.
Background
At present, when the application program is installed, a user often selects to download and install the application program from platforms such as a software store, and particularly when the application program is installed in batches, the user often selects to install the application program in a background due to long time consumption for installing the application program. In background installation of applications, the user may use other applications that are already installed to spend time. However, the process of installing the application program has a large occupancy rate for the central processing unit and occupies a large amount of memory, which results in less hardware resources such as the central processing unit and the available memory reserved for running other application programs, and thus the problems of unsmooth operation, unsmooth operation and the like easily occur when running other application programs.
Disclosure of Invention
The embodiment of the invention provides an application program installation method and device and computer equipment; the technical problems that other application programs are used in the installation process of the application programs, the application programs are blocked and the operation is not smooth and the like can be solved.
The invention provides an application program installation method, which comprises the following steps:
when detecting that a terminal installs an application program, judging whether the application program is installed in a background;
if the application program is installed in the background, acquiring current installation environment parameters of the terminal;
determining the installation environment parameter grade of the terminal according to the installation environment parameter;
and configuring hardware resources corresponding to the installation environment parameter level according to a preset rule to install the application program.
The present invention also provides an application program installation apparatus, which includes:
the first judgment module is used for judging whether the application program is installed in a background or not when the fact that the application program is installed on the terminal is detected;
the acquisition module is used for acquiring the current installation environment parameters of the terminal if the application program is installed in a background;
the determining module is used for determining the installation environment parameter grade of the terminal according to the installation environment parameters;
and the configuration installation module is used for configuring the hardware resources corresponding to the installation environment parameter levels according to preset rules to install the application programs.
The invention further provides a computer device, which comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor executes the computer program to realize any one of the application program installation methods provided by the invention.
The invention provides an application program installation method and device and computer equipment. The application program installation method comprises the steps of judging whether an application program is installed in a background or not when the application program installed in a terminal is detected; if the application program is installed in the background, acquiring current installation environment parameters of the terminal; determining the installation environment parameter grade of the terminal according to the installation environment parameter; and configuring hardware resources corresponding to the installation environment parameter level according to a preset rule to install the application program. The application program installation method can reasonably configure the hardware resources for installing the application program according to the installation environment parameters of the current terminal under the condition that the application program is installed in the background, and the problem that the installation of the application program occupies too many hardware resources to cause unsmooth operation of other application programs is avoided.
Drawings
Fig. 1 is a flowchart of an application installation method according to a preferred embodiment of the present invention.
Fig. 2 is another flowchart of the application installation method according to the preferred embodiment of the present invention.
Fig. 3 is a schematic structural diagram of an application installation apparatus according to a preferred embodiment of the present invention.
Fig. 4 is a schematic structural diagram of an application installation apparatus according to a preferred embodiment of the present invention.
Fig. 5 is a schematic structural diagram of a mobile terminal according to a preferred embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "first," "second," and the like in the present disclosure may be used herein to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish one element from another. For example, a first control may be referred to as a second control, and similarly, a second control may be referred to as a first control, without departing from the scope of the present invention. The first control and the second control are both controls, but they are not the same control. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions.
Referring to fig. 1, fig. 1 is a flowchart of an application program installation method according to a preferred embodiment of the present invention. The application installation method in the preferred embodiment can be applied to electronic devices such as handheld or laptop devices, mobile phones, Personal Digital Assistants (PDAs), and the like, and is not particularly limited herein.
The application program installation method provided by the preferred embodiment includes:
step S101: when detecting that a terminal installs an application program, judging whether the application program is installed in a background;
at present, when a user needs to install a certain application program or update a certain application program, the user can install the certain application program on an application installation source in the terminal. Here, the application installation source may be an application platform such as a software store for providing downloading of various application programs. The user can find the application program to be installed or know that the application program with the updated version exists in the application installation source, and install a new application program or update the application program and the like.
When the terminal detects that the application program is being installed, the terminal judges whether the current application program is installed in a background. Here, the terminal detecting that an application is being installed includes detecting that a new application is being installed or that an application within the terminal is being updated.
In a preferred embodiment, determining whether the application is in a background installation includes: and judging whether the application program currently used by the user is the application installation source. And if the terminal judges that the application program used by the current user is not the application program installation source, the terminal indicates that the terminal user operates other installed application programs, and at the moment, the terminal judges that the application program is installed in the background.
For example, after the terminal user clicks and downloads the QQ application in the software store, the user opens the wechat application to perform an operation such as chatting. When the terminal detects the installation of the QQ application, the terminal determines that the application currently used by the user is not a software store, that is, the QQ application is determined to be installed in the background.
Step S102: if the application program is installed in the background, acquiring current installation environment parameters of the terminal;
and when the terminal judges that the application program is installed in the background, the terminal user is not in the process of installing the application program. In order not to influence the use of other application programs by the terminal user, the terminal acquires the installation environment parameters of the terminal. The installation environment parameters refer to the current use condition of each hardware of the terminal.
In a preferred embodiment, the installation environment parameters include the current central processor occupancy of the terminal and the available memory size. In other preferred embodiments, the installation environment parameter may also be other hardware parameters of the terminal, and is not limited herein. When the installation environment parameters are the occupancy rate of the central processing unit and the size of the available memory, acquiring the installation environment parameters of the current terminal, specifically comprising: and acquiring the occupancy rate of a central processing unit and the size of available memory of the current terminal.
Step S103: determining the installation environment parameter grade of the terminal according to the installation environment parameter;
in a preferred embodiment, when the installation environment parameters include two installation environment parameters, namely central processor occupancy rate and available memory size, determining the installation environment parameter level of the terminal according to the installation environment parameters includes: and determining the installation environment parameter grade of the terminal according to the occupancy rate of the central processing unit and the size of the available memory. In addition, in the preferred embodiment, the corresponding relationship between the installation environment parameter and the installation environment parameter level is as follows: when the occupancy rate of the central processing unit is less than or equal to 50 percent and the size of the available memory is more than or equal to 500MB, determining that the current installation environment parameter level of the terminal is one level, namely the installation environment is good; when the occupancy rate of the central processing unit is more than 50% and less than 70%, or the size of the available memory is more than 200MB and less than 500MB, determining that the current installation environment parameter level of the terminal is second level, namely the installation environment is good; and when the occupancy rate of the central processing unit is more than or equal to 70 percent or the size of the available memory is less than or equal to 200MB, determining that the current installation environment parameter level of the terminal is three levels, namely the installation environment is poor.
It should be noted that the correspondence between the installation environment parameters and the installation environment parameter levels is not limited to the above case, and may be modified according to the actual terminal hardware configuration. Meanwhile, the installation environment parameter level is not limited to the above three levels, and may be more or less, and is not limited specifically herein.
Step S104: and configuring hardware resources corresponding to the installation environment parameter level according to a preset rule to install the application program.
And after the terminal determines the current installation environment parameter level, configuring hardware resources according to a preset rule, and installing an application program. Here, the hardware resources include the number of cores of the central processor. That is, the terminal configures the number of cores of the central processing unit corresponding to the installation environment parameter level according to the preset rule, and installs the application program.
In a preferred embodiment, when the number of cores of the central processing unit of the terminal is eight, the preset rule is: when the installation environment parameter level is one level, configuring eight kernels for installing the application program; when the installation environment parameter level is two levels, four kernels are configured for installing the application program; and when the installation environment parameter level is three, configuring two cores to install the application program.
Therefore, when the installation environment parameter level is one level, the terminal user does not use other application programs at the moment, or the running application programs occupy less central processing units and less memory. At this time, the terminal can allocate more cores and available memories for the installation process of the application program, so that the installation operation of the application program can be completed quickly. When a terminal user uses other application programs which occupy a large memory or occupy a large number of cores of a central processing unit, the terminal adopts four cores or two cores to install the application programs so as not to influence the normal use of the running application programs, thus the hardware resource allocation condition of the terminal can be optimized, and the phenomena of blockage and the like of the running application programs are avoided.
The preferred embodiment provides an application program installation method, which judges whether an application program is installed in a background or not when detecting that the application program is installed on a terminal; if the application program is installed in the background, acquiring installation environment parameters of the current terminal; determining the installation environment parameter grade of the terminal according to the installation environment parameter; and configuring hardware resources corresponding to the installation environment parameter level according to a preset rule to install the application program. The application program installation method can reasonably configure the hardware resources for installing the application program according to the installation environment parameters of the current terminal under the condition that the application program is installed in the background, and the problem that the installation of the application program occupies too many hardware resources to cause unsmooth foreground operation of other application programs is avoided.
Referring to fig. 2, fig. 2 is a flowchart of an application program installation method according to a preferred embodiment of the present invention. The application installation method in the preferred embodiment can be applied to electronic devices such as handheld or laptop devices, mobile phones, Personal Digital Assistants (PDAs), and the like, and is not particularly limited herein.
The application program installation method provided by the preferred embodiment includes:
step S201: when detecting that a terminal installs an application program, judging whether the application program is installed in a background;
in the preferred embodiment, in the process of updating an application program or installing a new application program, it is often necessary to compile a dex format file in an installation package into an oat format file operation, and the process needs to occupy more cores and memories of a central processing unit and takes longer time. In order not to affect the normal use of other application programs by the terminal user in the period, the hardware resources of the terminal in the operation process of compiling the dex format file into the oat format file need to be reasonably distributed. Thus, compared with the hardware resource optimization of the whole process of installing the application program, the hardware resource optimization of the process of compiling the dex format file into the oat format file is performed by the preferred embodiment, so that the time consumption of the whole application program installation is shorter. It should be noted that the dex format file is a classes file in the installation package; the oat format file contains the content of the dex format file and native machine instructions compiled from the dex format file.
Therefore, the detection of the terminal installation application in the preferred embodiment specifically refers to: and detecting that the operation of compiling the dex format file into the oat format file is executed in the process of installing the application program. That is, when detecting that the operation of compiling the dex format file into the oat format file is executed in the process of installing the application program, the terminal judges whether the application program is in background operation.
In a preferred embodiment, the determining whether the application is installed in the background specifically includes: and judging whether the application program currently used by the user is an application installation source or not. Here, the application installation source may be an application platform such as a software store for providing downloading of various application programs. The user can find the application program to be installed or know that the application program with the updated version exists in the application installation source, and install a new application program or update the application program and the like.
If the terminal determines that the application currently used by the user is not the application installation source, it indicates that the terminal user is running other installed applications, and at this time, the terminal determines that the application is installed in the background, and at this time, the terminal will execute step S202. If the terminal determines that the application currently used by the user is the application installation source, the terminal determines that the application is installed in the foreground, and at this time, step S205 needs to be executed.
Step S202: acquiring current installation environment parameters of the terminal;
and when the terminal judges that the application program is installed in the background, the terminal user is not in the process of installing the application program. In order not to influence the normal use of other application programs by a terminal user, the terminal acquires the installation environment parameters of the terminal. The installation environment parameters refer to the current use condition of each hardware of the terminal.
In a preferred embodiment, the installation environment parameters include the current central processor occupancy of the terminal and the available memory size. In other preferred embodiments, the installation environment parameter may also be other terminal hardware parameters, and is not limited herein. When the installation environment parameters are the occupancy rate of the central processing unit and the size of the available memory, acquiring the installation environment parameters of the current terminal, specifically comprising: and acquiring the occupancy rate of a central processing unit and the size of available memory of the current terminal.
Step S203: determining the installation environment parameter grade of the terminal according to the installation environment parameter;
in a preferred embodiment, when the installation environment parameters include two installation environment parameters, namely a central processing unit occupancy rate and an available memory size, determining the installation environment parameter level of the terminal according to the installation environment parameters specifically includes: and determining the installation environment parameter grade of the terminal according to the occupancy rate of the central processing unit and the size of the available memory. In addition, in the preferred embodiment, the corresponding relationship between the installation environment parameter and the installation environment parameter level is as follows: when the occupancy rate of the central processing unit is less than or equal to 50 percent and the size of the available memory is more than or equal to 500MB, determining that the current installation environment parameter level of the terminal is one level, namely the installation environment is good; when the occupancy rate of the central processing unit is more than 50% and less than 70%, or the size of the available memory is more than 200MB and less than 500MB, determining that the current installation environment parameter level of the terminal is second level, namely the installation environment is good; and when the occupancy rate of the central processing unit is more than or equal to 70 percent or the size of the available memory is less than or equal to 200MB, determining that the current installation environment parameter level of the terminal is three levels, namely the installation environment is poor.
It should be noted that the correspondence between the installation environment parameters and the installation environment parameter levels is not limited to the above case, and may be modified according to the actual terminal hardware configuration. Meanwhile, the installation environment parameter level is not limited to the above three levels, and may be more or less, and is not limited specifically herein.
Step S204: and configuring hardware resources corresponding to the installation environment parameter level according to a preset rule to install the application program.
And after the terminal determines the current installation environment parameter level, configuring hardware resources according to a preset rule, and compiling the dex format file into an oat format file. Here, the hardware resources include the number of cores of the central processor. That is, the terminal configures the number of cores of the central processing unit corresponding to the installation environment parameter level according to the preset rule, and compiles the dex format file into the oat format file.
In a preferred embodiment, when the number of cores of the central processing unit of the terminal is eight, the preset rule is: when the level of the installation environment parameter is one level, eight inner cores are configured to compile the dex format file into an oat format file; when the level of the installation environment parameter is two levels, four inner cores are configured to compile the dex format file into an oat format file; when the level of the installation environment parameter is three, two cores are configured to compile the dex format file into the oat format file.
Therefore, when the installation environment parameter level is one level, the terminal user does not use other application programs at the moment, or the running application programs occupy less central processing units and less memory. At this time, the terminal can allocate more kernels and available memory for the process of compiling the dex format file into the oat format file, so that the installation operation of the application program can be completed quickly. When a terminal user uses other application programs which occupy a large memory or occupy a large number of cores of a central processing unit, in order to not influence the normal use of the running application program, the terminal adopts four cores or two cores to compile the dex format file into an oat format file, so that the hardware resource allocation condition of the terminal can be optimized, and the phenomena of blockage and the like of the running application program are avoided.
Step S205: judging whether a terminal user operates an application installation source, wherein the application installation source is used for downloading the application program;
when the terminal judges that the application program is not installed in the background, the terminal displays an application installation source interface, namely the application installation source is in a foreground running state. If the terminal user does not perform any operation on the application installation source, the terminal user is waiting for the completion of the installation of the application program, and the terminal can be directly and normally installed at the moment. If the terminal user operates other application programs in the application installation source at this time, for example, uninstalling a certain application program, browsing other application programs recommended in the application installation source, and the like. In order not to affect the operation of the user on the application installation source, the terminal needs to reasonably allocate hardware resources in the process of compiling the dex format file into the oat format file.
Therefore, in the preferred embodiment, the terminal needs to determine whether the end user operates the application installation source, and if the terminal determines that the end user operates the application installation source at this time, step S202 will be executed.
The preferred embodiment provides an application program installation method, which can configure hardware resources corresponding to installation environment parameter levels according to preset rules to install an application program when the application program is installed in a background, and can configure hardware resources corresponding to installation environment parameter levels according to preset rules to install the application program when the application program is installed in a foreground and a terminal user is operating an application installation source, so that the problem that the installation of the application program occupies too many hardware resources to cause unsmooth running of other application programs can be effectively avoided.
Referring to fig. 3, fig. 3 is a schematic structural diagram of an application installation apparatus according to a preferred embodiment of the present invention. The application installation apparatus 300 in the preferred embodiment can be applied to electronic devices such as a handheld or laptop device, a mobile phone, a Personal Digital Assistant (PDA), and the like, and is not particularly limited herein.
The application installation apparatus 300 according to the preferred embodiment includes: a first judging module 301, an obtaining module 302, a determining module 303 and a configuration installing module 304. The first judging module 301 is configured to, when it is detected that an application program is installed on a terminal, judge whether the application program is installed in a background; the obtaining module 302 is configured to obtain a current installation environment parameter of the terminal if the application program is installed in the background; the determining module 303 is configured to determine a level of an installation environment parameter of the terminal according to the installation environment parameter; the configuration installation module 304 is configured to configure the hardware resource corresponding to the installation environment parameter level according to a preset rule to perform application installation.
The application installation apparatus 300 in the present preferred embodiment will be described in detail below.
At present, when a user needs to install a certain application program or update a certain application program, the user can install the certain application program on an application installation source in the terminal. Here, the application installation source may be an application platform such as a software store for providing downloading of various applications, and the user may find an application that is desired to be installed or learn that an application with an updated version exists in the application installation source and perform operations such as installing a new application or updating an application.
When detecting that the application program is being installed, the first determining module 301 determines whether the current application program is installed in the background. Here, detecting that an application is being installed includes detecting that a new application is being installed or that an application within the terminal is being updated.
In a preferred embodiment, the first determining module 301 is specifically configured to determine whether an application program currently being used by a user is the application installation source. If the first determining module 301 determines that the application currently used by the user is not the application installation source, it indicates that the end user is using another already installed application, and at this time, the first determining module 301 determines that the application is installed in the background.
When the first determining module 301 determines that the application program is installed in the background, it indicates that the end user is not watching the installation process of the application program. In order not to affect the normal use of other application programs by the terminal user, the first determining module 301 sends a first signal to the obtaining module 302, so that the obtaining module 302 obtains the installation environment parameters of the terminal according to the first signal. The installation environment parameters refer to the current use condition of each hardware of the terminal.
In a preferred embodiment, the installation environment parameters include the current central processor occupancy of the terminal and the available memory size. In other preferred embodiments, the installation environment parameter may also be other terminal hardware parameters, and is not limited herein. When the installation environment parameters are the occupancy rate of the central processing unit and the size of the available memory, the obtaining module 302 is specifically configured to obtain the occupancy rate of the central processing unit and the size of the available memory of the current terminal.
In a preferred embodiment, when the installation environment parameters include two installation environment parameters, namely, an occupancy rate of the central processing unit and an available memory size, the determining module 303 is specifically configured to determine the installation environment parameter level of the terminal according to the occupancy rate of the central processing unit and the available memory size. In addition, in the preferred embodiment, the corresponding relationship between the installation environment parameter and the installation environment parameter level is as follows: when the occupancy rate of the central processing unit is less than or equal to 50% and the size of the available memory is greater than or equal to 500MB, the determining module 303 determines that the current installation environment parameter level of the terminal is one level, that is, the installation environment is good; when the occupancy rate of the central processing unit is greater than 50% and less than 70%, or the size of the available memory is greater than 200MB and less than 500MB, the determining module 303 determines that the current installation environment parameter level of the terminal is second level, that is, the installation environment is good; when the occupancy rate of the central processing unit is greater than or equal to 70%, or the size of the available memory is less than or equal to 200MB, the determining module 303 determines that the current installation environment parameter level of the terminal is three levels, that is, the installation environment is poor.
It should be noted that the correspondence between the installation environment parameters and the installation environment parameter levels is not limited to the above case, and may be modified according to the actual terminal hardware configuration. Meanwhile, the installation environment parameter level is not limited to the above three levels, and may be more or less, and is not limited specifically herein.
When the determining module 303 determines the current installation environment parameter level, the determining module 303 sends a second signal to the configuration installation module 304, so that the configuration installation module 304 configures the hardware resource according to the preset rule after receiving the second signal, and installs the application program. Here, the hardware resources include the number of cores of the central processor. That is, the configuration installation module 304 configures the number of cores of the central processing unit corresponding to the installation environment parameter level according to the preset rule, and performs application installation.
In a preferred embodiment, when the number of cores of the central processing unit of the terminal is eight, the preset rule is: when the installation environment parameter level is one level, the configuration installation module 304 configures eight kernels to install the application program; when the installation environment parameter level is two levels, four kernels are configured for installing the application program; when the installation environment parameter level is three, the configuration installation module 304 configures two cores to perform application installation.
Therefore, when the installation environment parameter level is one level, the terminal user does not use other application programs at the moment, or the running application programs occupy less central processing units and less memory. At this time, the configuration installation module 304 may allocate more cores and available memory for the installation process of the application program, so that the installation operation of the application program may be completed quickly. When a terminal user uses other application programs occupying a large memory or occupying a large number of cores of a central processing unit, in order to not affect the normal use of the running application program, the configuration installation module 304 adopts four cores or two cores to install the application program, so that the hardware resource allocation condition of the terminal can be optimized, and the phenomena of jamming and the like of the running application program are avoided.
The preferred embodiment provides an application installation apparatus 300, which determines whether an application is installed in a background by a first determining module 301 when detecting that the application is installed in a terminal; if the application program is installed in the background, the obtaining module 302 obtains the installation environment parameters of the current terminal; the determining module 303 determines the installation environment parameter level of the terminal according to the installation environment parameter; the configuration installation module 304 configures the hardware resources corresponding to the installation environment parameter level according to a preset rule to install the application program. The application installation device 300 can reasonably configure the hardware resources for installing the application according to the installation environment parameters of the current terminal under the condition that the application is installed in the background, thereby avoiding the problem that the installation of the application occupies too many hardware resources and causes unsmooth running of other applications.
Referring to fig. 4, fig. 4 is a schematic structural diagram of an application installation apparatus according to a preferred embodiment of the present invention. The application installation apparatus 400 in the preferred embodiment can be applied to electronic devices such as a handheld or laptop device, a mobile phone, a Personal Digital Assistant (PDA), and the like, and is not particularly limited herein.
The application installation apparatus 400 provided in the preferred embodiment includes: a first judging module 401, an obtaining module 402, a determining module 403, a configuration installing module 404 and a second judging module 405. The first judging module 401 is configured to, when it is detected that an application program is installed on a terminal, judge whether the application program is installed in a background; the obtaining module 402 is configured to obtain a current installation environment parameter of the terminal if the application program is installed in the background; the determining module 403 is configured to determine a level of an installation environment parameter of the terminal according to the installation environment parameter; the configuration installation module 404 is configured to configure, according to a preset rule, a hardware resource corresponding to the installation environment parameter level to perform application installation; the second determining module 405 is configured to determine whether the terminal user operates an application installation source if the application program is not installed in the background, where the application installation source is used to download the application program.
The application installation apparatus 400 in the present preferred embodiment will be described in detail below.
In the preferred embodiment, in the process of updating an application program or installing a new application program, it is often necessary to compile a dex format file in an installation package into an oat format file operation, and the process needs to occupy more cores and memories of a central processing unit and takes longer time. In order not to affect the normal use of other application programs by the terminal user in the period, the hardware resources of the terminal in the operation process of compiling the dex format file into the oat format file need to be reasonably distributed. Thus, compared with the hardware resource optimization of the whole process of installing the application program, the hardware resource optimization of the process of compiling the dex format file into the oat format file is performed by the preferred embodiment, so that the time consumption of the whole application program installation is shorter. It should be noted that the dex format file is a classes file in the installation package; the oat format file contains the content of the dex format file and native machine instructions compiled from the dex format file.
Therefore, the detection of the terminal installation application in the preferred embodiment specifically refers to: and detecting that the operation of compiling the dex format file into the oat format file is executed in the process of installing the application program. That is, when detecting that the operation of compiling the dex format file into the oat format file is performed during the installation of the application program, the first determining module 401 determines whether the application program is in a background operation.
In a preferred embodiment, the first determining module 401 is specifically configured to determine whether an application program currently being used by a user is an application installation source. Here, the application installation source may be an application platform such as a software store for providing downloading of various application programs. The user can find the application program to be installed or know that the application program with the updated version exists in the application installation source, and install a new application program or update the application program and the like.
If the first determining module 401 determines that the application currently used by the user is not the application installation source, it indicates that the terminal user is running other installed applications, and at this time, the first determining module 401 determines that the application is installed in the background. If the first determining module 401 determines that the application currently used by the user is the application installation source, the first determining module 401 determines that the application is installed in the foreground.
When the first determining module 401 determines that the application is installed in the background, it indicates that the end user is not watching the installation process of the application. In order not to affect the normal use of other application programs by the terminal user, the first determining module 401 sends a third signal to the obtaining module 402, so that the obtaining module 402 obtains the installation environment parameters of the terminal according to the third signal. The installation environment parameters refer to the current use condition of each hardware of the terminal.
In a preferred embodiment, the installation environment parameters include the current central processor occupancy of the terminal and the available memory size. In other preferred embodiments, the installation environment parameter may also be other terminal hardware parameters, and is not limited herein. When the installation environment parameters are the occupancy rate of the central processing unit and the size of the available memory, the obtaining module 402 is specifically configured to obtain the occupancy rate of the central processing unit and the size of the available memory of the current terminal.
In a preferred embodiment, when the installation environment parameters include two parameters, namely, the occupancy rate of the central processing unit and the size of the available memory, the determining module 403 is specifically configured to determine the installation environment parameter level of the terminal according to the occupancy rate of the central processing unit and the size of the available memory. In addition, in the preferred embodiment, the corresponding relationship between the installation environment parameter and the installation environment parameter level is as follows: when the occupancy rate of the central processing unit is less than or equal to 50% and the size of the available memory is greater than or equal to 500MB, the determining module 403 determines that the current installation environment parameter level of the terminal is one level, that is, the installation environment is good; when the occupancy rate of the central processing unit is greater than 50% and less than 70%, or the size of the available memory is greater than 200MB and less than 500MB, the determining module 403 determines that the current installation environment parameter level of the terminal is second level, that is, the installation environment is good; when the occupancy rate of the central processing unit is greater than or equal to 70%, or the size of the available memory is less than or equal to 200MB, the determining module 403 determines that the current installation environment parameter level of the terminal is three levels, that is, the installation environment is poor.
It should be noted that the correspondence between the installation environment parameters and the installation environment parameter levels is not limited to the above case, and may be modified according to the actual terminal hardware configuration. Meanwhile, the installation environment parameter level is not limited to the above three levels, and may be more or less, and is not limited specifically herein.
When the determining module 403 determines the current installation environment parameter level, the configuration installation module 404 configures the hardware resource according to a preset rule, and compiles the dex format file into an oat format file. Here, the hardware resources include the number of cores of the central processor. That is, the configuration installation module 404 configures the number of cores of the central processing unit corresponding to the installation environment parameter level according to the preset rule, and compiles the dex format file into the oat format file.
In a preferred embodiment, when the number of cores of the central processing unit of the terminal is eight, the preset rule is: when the installation environment parameter level is one level, the configuration installation module 404 configures eight cores to compile the dex format file into an oat format file; when the installation environment parameter level is two-level, the configuration installation module 404 configures four kernels to compile the dex format file into an oat format file; when the installation environment parameter level is three, the configuration installation module 404 configures two cores to compile the dex format file into the oat format file.
Therefore, when the installation environment parameter level is one level, the terminal user does not use other application programs at the moment, or the running application programs occupy less central processing units and less memory. At this time, the configuration installation module 404 may allocate more cores and available memory for the process of compiling the dex format file into the oat format file, so that the installation operation of the application program may be completed quickly. When a terminal user uses other application programs which occupy a large memory or occupy a large number of cores of a central processing unit, in order to not affect the normal use of the running application program, the configuration installation module 404 compiles the dex format file into an oat format file by using four cores or two cores, so that the hardware resource allocation condition of the terminal can be optimized, and the phenomena of blockage and the like of the running application program are avoided.
When the first determining module 401 determines that the application is not in background installation, it indicates that the terminal is displaying the application installation source interface, that is, the application installation source is in foreground running state. At this time, the first determining module 401 sends a fourth signal to the second determining module 405, so that the second determining module 405 determines whether the end user operates the application installation source according to the fourth signal. When the second determining module 405 determines that the terminal user operates the application installation source at this time, the second determining module 405 sends a fifth signal to the obtaining module 402, so that the obtaining module 402 obtains the installation environment parameter of the terminal according to the fifth signal. The operation performed by the end user on the application installation source includes uninstalling a certain application program in the application installation source, browsing other application programs recommended in the application installation source, and the like.
The preferred embodiment provides an application installation apparatus 400, which can configure hardware resources corresponding to installation environment parameter levels according to preset rules to install an application when the application is installed in the background, and can configure hardware resources corresponding to installation environment parameter levels according to preset rules to install the application when the application is installed in the foreground and a terminal user is operating an application installation source, so as to more effectively avoid the problem that the installation of the application occupies too many hardware resources, which results in unsmooth running of other applications.
The invention also provides a computer device which can be but is not limited to a mobile terminal. The computer device will be described in detail below using a mobile terminal as an example. Referring to fig. 5, fig. 5 is a schematic structural diagram of a mobile terminal according to a preferred embodiment of the present invention. The mobile terminal 500 provided in the preferred embodiment of the present invention may be an electronic device such as a tablet computer and a mobile phone, and is not limited herein.
The mobile terminal 500 may include Radio Frequency (RF) circuitry 501, memory 502 including one or more computer-readable storage media, input module 503, display module 504, sensor 505, audio circuitry 506, Wireless Fidelity (WiFi) module 507, a processor 508 including one or more processing cores, and a power supply 509. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 5 is not intended to be limiting of mobile terminals and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The rf circuit 501 may be used for receiving and transmitting information, or receiving and transmitting signals during a call, and in particular, receives downlink information of a base station and then sends the received downlink information to one or more processors 508 for processing; in addition, data relating to uplink is transmitted to the base station. In general, radio frequency circuit 501 includes, but is not limited to, an antenna, at least one amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the radio frequency circuit 501 may also communicate with a network and other devices through wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to Global System for mobile communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Messaging Service (SMS), and the like.
The memory 502 may be used to store applications and data. Memory 502 stores applications containing executable code. The application programs may constitute various functional modules. The processor 508 executes various functional applications and data processing by executing application programs stored in the memory 502. The memory 502 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the mobile terminal, and the like. Further, the memory 502 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory 502 may also include a memory controller to provide the processor 508 and the input module 503 access to the memory 502.
The input module 503 may be used to receive input numbers, character information or user characteristic information (such as fingerprints), and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In a preferred embodiment, input module 503 may include a touch-sensitive surface as well as other input devices. The touch-sensitive surface, also referred to as a touch display screen or a touch pad, may collect touch operations by a user (e.g., operations by a user on or near the touch-sensitive surface using a finger, a stylus, or any other suitable object or attachment) thereon or nearby, and drive the corresponding connection device according to a predetermined program. Alternatively, the touch sensitive surface may comprise two parts, a touch detection means and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 508, and can receive and execute commands sent by the processor 508. In addition, touch sensitive surfaces may be implemented using various types of resistive, capacitive, infrared, and surface acoustic waves. In addition to touch sensitive surfaces, input module 503 may include other input devices. Other input devices may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a fingerprint recognition module, a trackball, a mouse, a joystick, and the like.
The display module 504 may be used to display information entered by or provided to the user as well as various graphical user interfaces of the mobile terminal, which may be comprised of graphics, text, icons, video, and any combination thereof. The display module 504 may include a display panel. Alternatively, the display panel may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. Further, the touch-sensitive surface may overlay the display panel, and when a touch operation is detected on or near the touch-sensitive surface, the touch operation is transmitted to the processor 508 to determine the type of touch event, and then the processor 508 provides a corresponding visual output on the display panel according to the type of touch event. Although in FIG. 5 the touch-sensitive surface and the display panel are two separate components to implement the input and output functions, in some embodiments the touch-sensitive surface may be integrated with the display panel to implement the input and output functions.
The mobile terminal may also include at least one sensor 505, such as a light sensor, motion sensor, and other sensors. The light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust brightness of the display panel according to brightness of ambient light, and the proximity sensor may turn off the display panel and/or the backlight when the mobile terminal moves to an ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when the mobile phone is stationary, and can be used for applications of recognizing the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile terminal, further description is omitted here.
The audio circuit 506 may provide an audio interface between the user and the mobile terminal through a speaker, microphone. The audio circuit 506 can convert the received audio data into an electrical signal, transmit the electrical signal to a speaker, and convert the electrical signal into a sound signal to output; on the other hand, the microphone converts the collected sound signal into an electrical signal, which is received by the audio circuit 506 and converted into audio data, which is then processed by the audio data output processor 508 and then sent to, for example, another mobile terminal via the rf circuit 501, or the audio data is output to the memory 502 for further processing. The audio circuit 506 may also include an earbud jack to provide communication of a peripheral headset with the mobile terminal.
Wireless fidelity (WiFi) belongs to short-distance wireless transmission technology, and the mobile terminal can help the user to receive and send e-mail, browse web pages, access streaming media and the like through the wireless fidelity module 507, and provides wireless broadband internet access for the user. Although fig. 5 shows the wireless fidelity module 507, it is understood that it does not belong to the essential constitution of the mobile terminal, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 508 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by running or executing an application program stored in the memory 502 and calling data stored in the memory 502, thereby integrally monitoring the mobile terminal. Optionally, processor 508 may include one or more processing cores; preferably, the processor 508 may integrate an application processor, which primarily handles operating systems, user interfaces, application programs, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 508.
The mobile terminal also includes a power supply 509 (such as a battery) for powering the various components. Preferably, the power source may be logically connected to the processor 508 through a power management system, so that the power management system may manage charging, discharging, and power consumption management functions. The power supply 509 may also include any component such as one or more dc or ac power sources, recharging systems, power failure detection circuitry, power converters or inverters, power status indicators, and the like.
Although not shown in fig. 5, the mobile terminal may further include a camera, a bluetooth module, and the like, which are not described in detail herein.
In the preferred embodiment, the processor 508 in the mobile terminal loads the executable code corresponding to the process of one or more application programs into the memory 502 according to the following instructions, and the processor 508 runs the application program stored in the memory 502, specifically executing the following steps: when detecting that a terminal installs an application program, judging whether the application program is installed in a background; if the application program is installed in the background, acquiring current installation environment parameters of the terminal; determining the installation environment parameter grade of the terminal according to the installation environment parameter; and configuring hardware resources corresponding to the installation environment parameter level according to a preset rule to install the application program.
In a preferred embodiment, when the processor 508 executes to obtain the current installation environment parameters of the terminal, the following steps are specifically executed: acquiring the occupancy rate of a central processing unit and the size of available memory of the current terminal; when determining the installation environment parameter level of the terminal according to the installation environment parameter, the processor 508 specifically executes the following steps: and determining the installation environment parameter grade of the terminal according to the occupancy rate of the central processing unit and the size of the available memory.
In a preferred embodiment, the processor 508 performs application installation after configuring, according to a preset rule, the hardware resource corresponding to the installation environment parameter level, and specifically performs the following steps: and configuring the number of the cores of the central processing unit corresponding to the installation environment parameter level according to a preset rule, and installing an application program.
In a preferred embodiment, when the processor 508 determines whether the application is installed in the background when detecting that the application is installed in the terminal, the following steps are specifically performed: when the operation that a dex format file is compiled into an oat format file in the process of installing an application program is detected, judging whether the application program is installed in a background; when executing the application program installation by configuring the hardware resource corresponding to the installation environment parameter level according to the preset rule, the processor 508 specifically executes the following steps: and configuring hardware resources corresponding to the installation environment parameter level according to a preset rule, compiling the dex format file into an oat format file, and finishing installation of the application program.
In a preferred embodiment, after determining whether the application is in background installation, the processor 508 further performs the following steps: if the application program is not installed in the background, judging whether a terminal user operates an application installation source or not, wherein the application installation source is used for downloading the application program; and if the terminal user operates the application installation source, acquiring the current installation environment parameters of the terminal.
In the above preferred embodiments, the descriptions of the preferred embodiments have respective emphasis, and parts that are not described in detail in a certain preferred embodiment may refer to the above detailed description of the application program installation method, and are not described herein again.
The application installation apparatus provided in the preferred embodiment of the present invention is, for example, a computer, a tablet computer, a mobile phone with a touch function, and the like, and the application installation apparatus and the application installation method in the above embodiments belong to the same concept, and any method provided in the application installation method embodiment may be run on the application installation apparatus, and a specific implementation process thereof is described in the application installation method embodiment, and is not described herein again.
It should be noted that, for the application installation method of the present invention, it can be understood by a person skilled in the art that all or part of the process of implementing the application installation method of the embodiment of the present invention can be completed by controlling the relevant hardware through a computer program, where the computer program can be stored in a computer-readable storage medium, such as a memory of a terminal, and executed by at least one processor in the terminal, and the process of executing the process may include the process of the embodiment of the application installation method. The storage medium may be a magnetic disk, an optical disk, a Read Only Memory (ROM), a Random Access Memory (RAM), or the like.
Each functional module in the embodiments of the present invention may be integrated into one processing module, or each module may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium. The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc. Each apparatus or system described above may perform the method in the corresponding method embodiment.
In summary, although the present invention has been described with reference to the preferred embodiments, the above-described preferred embodiments are not intended to limit the present invention, and those skilled in the art can make various changes and modifications without departing from the spirit and scope of the present invention, therefore, the scope of the present invention shall be determined by the appended claims.

Claims (7)

1. An application installation method, comprising:
when detecting that a terminal installs an application program, judging whether the application program is installed in a background, specifically comprising: judging whether an application program used by a terminal user is an application installation source, wherein if the application program used by the terminal user is not the application installation source, the application program is judged to be in background installation, if the application program used by the terminal user is the application installation source, the application program is judged not to be in background installation, and the application installation source is an application platform for downloading various application programs;
if the application program is installed in the background, acquiring current installation environment parameters of the terminal, wherein the installation environment parameters refer to the use condition of each current hardware of the terminal, and the installation environment parameters comprise the current central processing unit occupancy rate and the available memory size of the terminal;
if the application program is not installed in the background, judging whether the terminal user operates the application installation source;
if the terminal user operates the application installation source, acquiring current installation environment parameters of the terminal;
determining the installation environment parameter level of the terminal according to the installation environment parameter, which specifically comprises: determining the installation environment parameter grade of the terminal according to the occupancy rate of a central processing unit and the size of an available memory, wherein the occupancy rate of the central processing unit when the installation environment parameter grade is high is greater than the occupancy rate of the central processing unit when the installation environment parameter grade is low, and the size of the available memory when the installation environment parameter grade is high is smaller than the size of the available memory when the installation environment parameter grade is low;
configuring hardware resources corresponding to the installation environment parameter level according to a preset rule to install an application program, and specifically comprising the following steps: and on the premise of not influencing the application program in use of the terminal, configuring the number of the cores of the central processing unit corresponding to the installation environment parameter level according to a preset rule, and installing the application program, wherein the higher the installation environment parameter level is, the smaller the number of the cores of the central processing unit corresponding to the installation environment parameter level is.
2. The application program installation method according to claim 1, wherein the obtaining of the current installation environment parameters of the terminal comprises: and acquiring the occupancy rate of a central processing unit and the size of available memory of the current terminal.
3. The application program installation method according to claim 1, wherein when it is detected that the application program is installed on the terminal, the determining whether the application program is installed in the background comprises:
when the operation that a dex format file is compiled into an oat format file in the process of installing the application program is detected, judging whether the application program is installed in a background;
the configuring hardware resources corresponding to the installation environment parameter level according to preset rules for installing the application program comprises the following steps:
and configuring hardware resources corresponding to the installation environment parameter level according to a preset rule, compiling the dex format file into an oat format file, and finishing installation of the application program.
4. An application installation apparatus, comprising:
the first judging module is configured to, when it is detected that the terminal installs the application program, judge whether the application program is installed in the background, and specifically include: judging whether an application program used by a terminal user is an application installation source, wherein if the application program used by the terminal user is not the application installation source, the application program is judged to be in background installation, if the application program used by the terminal user is the application installation source, the application program is judged not to be in background installation, and the application installation source is an application platform for downloading various application programs;
the acquisition module is used for acquiring the current installation environment parameters of the terminal if the application program is installed in a background, wherein the installation environment parameters refer to the current use condition of each hardware of the terminal, and the installation environment parameters comprise the current central processing unit occupancy rate and the available memory size of the terminal;
the second judgment module is used for judging whether the terminal user operates the application installation source or not if the application program is not installed in the background;
the obtaining module is further configured to obtain a current installation environment parameter of the terminal if the terminal user operates the application installation source;
a determining module, configured to determine a level of the installation environment parameter of the terminal according to the installation environment parameter, specifically including: determining the installation environment parameter grade of the terminal according to the occupancy rate of a central processing unit and the size of an available memory, wherein the occupancy rate of the central processing unit when the installation environment parameter grade is high is greater than the occupancy rate of the central processing unit when the installation environment parameter grade is low, and the size of the available memory when the installation environment parameter grade is high is smaller than the size of the available memory when the installation environment parameter grade is low;
the configuration installation module is configured to configure, according to a preset rule, a hardware resource corresponding to the installation environment parameter level to perform application installation, and specifically includes: and on the premise of not influencing the application program in use of the terminal, configuring the number of the cores of the central processing unit corresponding to the installation environment parameter level according to a preset rule, and installing the application program, wherein the higher the installation environment parameter level is, the smaller the number of the cores of the central processing unit corresponding to the installation environment parameter level is.
5. The application program installation device according to claim 4, wherein the obtaining module is configured to obtain a central processing unit occupancy rate and an available memory size of the current terminal.
6. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the application installation method of any one of claims 1 to 3 when executing the computer program.
7. A storage medium storing a computer program, wherein the computer program causes a computer to execute an application program installation method according to any one of claims 1 to 3.
CN201611051948.5A 2016-11-25 2016-11-25 Application program installation method and device and computer equipment Expired - Fee Related CN106775828B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611051948.5A CN106775828B (en) 2016-11-25 2016-11-25 Application program installation method and device and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611051948.5A CN106775828B (en) 2016-11-25 2016-11-25 Application program installation method and device and computer equipment

Publications (2)

Publication Number Publication Date
CN106775828A CN106775828A (en) 2017-05-31
CN106775828B true CN106775828B (en) 2020-07-03

Family

ID=58911346

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611051948.5A Expired - Fee Related CN106775828B (en) 2016-11-25 2016-11-25 Application program installation method and device and computer equipment

Country Status (1)

Country Link
CN (1) CN106775828B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107391259B (en) * 2017-07-25 2020-12-01 Oppo广东移动通信有限公司 Resource processing method and device, computer readable storage medium and mobile terminal
CN107861730B (en) * 2017-10-27 2020-10-30 维沃移动通信有限公司 Application processing method and mobile terminal
CN108173846B (en) * 2017-12-27 2021-05-04 北京小米移动软件有限公司 Login method and device
CN110162311A (en) * 2018-02-13 2019-08-23 中兴通讯股份有限公司 It is a kind of using installation method, the generation method of application installation package
CN108804110A (en) * 2018-06-15 2018-11-13 Oppo(重庆)智能科技有限公司 A kind of data processing method, data processing equipment and mobile terminal
CN109302333A (en) * 2018-11-13 2019-02-01 奇酷互联网络科技(深圳)有限公司 A kind of uplink resource allocating method, user equipment and the device with store function
CN111435318A (en) * 2019-01-15 2020-07-21 青岛海信移动通信技术股份有限公司 Dex optimization method of application program and terminal
CN113031955A (en) * 2019-12-24 2021-06-25 Oppo广东移动通信有限公司 Application program pre-compiling method and device and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1768021A1 (en) * 2005-09-09 2007-03-28 Matsushita Electric Industrial Co., Ltd. Software module installation and automatic memory release using external repositories
CN105224439A (en) * 2014-07-02 2016-01-06 北京金山安全软件有限公司 Method and device for detecting CPU occupancy rate of terminal APP and terminal
US9411649B2 (en) * 2014-04-17 2016-08-09 National Taiwan University Resource allocation method
CN106033374A (en) * 2015-03-13 2016-10-19 西安酷派软件科技有限公司 Method and device for distributing multi-core central processing unit in multisystem, and terminal

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9229779B2 (en) * 2009-12-28 2016-01-05 Empire Technology Development Llc Parallelizing heterogeneous network communications in smart devices based on selection of task allocation strategy
CN102866921B (en) * 2012-08-29 2016-05-11 惠州Tcl移动通信有限公司 A kind of regulate and control method of multi-core CPU and system
CN104424156A (en) * 2013-09-09 2015-03-18 中兴通讯股份有限公司 Core processing method and device of processor and terminal
US9852005B2 (en) * 2014-10-02 2017-12-26 Mediatek Inc. Multi-core processor systems and methods for assigning tasks in a multi-core processor system
CN106020893B (en) * 2016-05-26 2019-03-15 北京小米移动软件有限公司 Using the method and device of installation

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1768021A1 (en) * 2005-09-09 2007-03-28 Matsushita Electric Industrial Co., Ltd. Software module installation and automatic memory release using external repositories
US9411649B2 (en) * 2014-04-17 2016-08-09 National Taiwan University Resource allocation method
CN105224439A (en) * 2014-07-02 2016-01-06 北京金山安全软件有限公司 Method and device for detecting CPU occupancy rate of terminal APP and terminal
CN106033374A (en) * 2015-03-13 2016-10-19 西安酷派软件科技有限公司 Method and device for distributing multi-core central processing unit in multisystem, and terminal

Also Published As

Publication number Publication date
CN106775828A (en) 2017-05-31

Similar Documents

Publication Publication Date Title
CN106775828B (en) Application program installation method and device and computer equipment
CN107734616B (en) Application program closing method and device, storage medium and electronic equipment
CN106775827B (en) Application program updating method and device and computer equipment
CN106786962B (en) Charging control method and device and terminal
CN104778055B (en) Method and device for displaying progress bar
CN106502703B (en) Function calling method and device
CN107861730B (en) Application processing method and mobile terminal
CN106775833B (en) Device driver loading method, terminal and system
CN107066268B (en) Display position switching method and device for widget application
CN107967153B (en) Application program management method and mobile terminal
CN109976611B (en) Terminal device control method and terminal device
US20170097725A1 (en) Device and method for starting mobile terminal application and mobile terminal
CN110780940A (en) Application program loading method, electronic device and storage medium
EP2869604B1 (en) Method, apparatus and device for processing a mobile terminal resource
CN114565070B (en) Label binding method and device and mobile terminal
CN110830127B (en) Radio frequency parameter processing method and device, mobile terminal and storage medium
CN109688611B (en) Frequency band parameter configuration method, device, terminal and storage medium
CN106095423B (en) Method, terminal and server for providing browsing service
CN106919458B (en) Method and device for Hook target kernel function
CN112308947A (en) Animation generation method and device and storage medium
CN105278942B (en) Component management method and device
US11150913B2 (en) Method, device, and terminal for accelerating startup of application
CN106454953B (en) Flow control method, device and terminal
WO2015070718A1 (en) Communication number notification method and communication device
CN107463395B (en) Component calling method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20200703

CF01 Termination of patent right due to non-payment of annual fee