CN113641372A - Application program installation method and device - Google Patents
Application program installation method and device Download PDFInfo
- Publication number
- CN113641372A CN113641372A CN202110980039.4A CN202110980039A CN113641372A CN 113641372 A CN113641372 A CN 113641372A CN 202110980039 A CN202110980039 A CN 202110980039A CN 113641372 A CN113641372 A CN 113641372A
- Authority
- CN
- China
- Prior art keywords
- installation
- installation package
- target
- storage space
- area
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 50
- 238000009434 installation Methods 0.000 claims abstract description 260
- 230000004044 response Effects 0.000 claims description 13
- 230000006870 function Effects 0.000 description 6
- 238000010586 diagram Methods 0.000 description 5
- 239000002699 waste material Substances 0.000 description 5
- 230000000694 effects Effects 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 2
- 238000001514 detection method Methods 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/61—Installation
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
The application discloses an application program installation method and device, and belongs to the technical field of software. The method comprises the following steps: receiving a first input of a user downloading and installing a target application program; and under the condition that the hidden area of the electronic equipment comprises a target installation package corresponding to the target application program, responding to the first input, and executing installation operation on the target installation package, wherein the storage space of the electronic equipment comprises a visible area and a hidden area, and the hidden area is an area which is not visible for a user.
Description
Technical Field
The application belongs to the technical field of software, and particularly relates to an application program installation method and device.
Background
Currently, with the diversification of applications, the functions that can be implemented by the applications are increasingly enriched, and the traffic required for the corresponding downloading is also increasingly large. The method of pre-installing the application program omits the process of downloading and installing, but the pre-installed application program has the problem that the pre-installed application program is easy to be not in line with the personalized requirements of the user, if the user does not need the pre-installed application program, the pre-installed application program wastes the storage space, and the user needs to actively find the pre-installed application program and delete the pre-installed application program to recycle the corresponding storage space.
Disclosure of Invention
The embodiment of the application aims to provide an application program installation method and an application program installation device, and the problem that storage space is wasted due to the fact that the application program is pre-installed in the prior art and the requirement of a user for individuation is easily not met is solved.
In a first aspect, an embodiment of the present application provides an application program installation method, where the method includes:
receiving a first input of a user downloading and installing a target application program;
and under the condition that a target installation package corresponding to the target application program exists in a hidden area of the electronic equipment, responding to the first input, and executing installation operation on the target installation package, wherein the storage space of the electronic equipment comprises a visible area and a hidden area, and the hidden area is an area which is not visible to a user.
In a second aspect, an embodiment of the present application provides an application installation apparatus, including:
the first receiving module is used for receiving first input of downloading and installing a target application program by a user;
the first installation module is used for responding to the first input and executing installation operation on a target installation package when the target installation package corresponding to the target application program exists in a hidden area of the electronic equipment, wherein the storage space of the electronic equipment comprises a visible area and a hidden area, and the hidden area is an area which is not visible to a user.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, the program or instructions implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In the embodiment of the application, the installation package of the application program is pre-stored in the hidden area of the electronic device, when a user downloads and installs a target application program, if the corresponding installation package is pre-stored in the hidden area, the installation package is directly utilized for installation, so that the installation of the application program can be realized under the condition of no network, and the application program is installed based on the user requirement, thereby avoiding the waste of storage space.
Drawings
Fig. 1 is a schematic flowchart of an application installation method according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of an application installation apparatus according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure;
fig. 4 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments that can be derived by one of ordinary skill in the art from the embodiments given herein are intended to be within the scope of the present disclosure.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The following describes in detail an application installation method and an application installation device provided by the embodiments of the present application through specific embodiments and application scenarios thereof with reference to the accompanying drawings.
Please refer to fig. 1, which is a flowchart illustrating an application installation method according to an embodiment of the present disclosure. As shown in fig. 1, the application installation method in the embodiment of the present application may be applied to an electronic device, and the method includes the following steps:
step 101: receiving a first input of a user downloading and installing a target application program;
step 102: and under the condition that the hidden area of the electronic equipment comprises a target installation package corresponding to the target application program, responding to the first input, and executing installation operation on the target installation package, wherein the storage space of the electronic equipment comprises a visible area and a hidden area, and the hidden area is an area which is not visible for a user.
In the above steps, the storage space of the electronic device may be divided into a visible area and a hidden area before the electronic device leaves a factory. That is, the electronic device is initialized before shipment, the size of the operating system is determined when the operating system is installed, the visible area and the hidden area are divided according to the total capacity of the storage space of the electronic device, and the operating system can be installed in the visible area. For example, if the total capacity of the storage space of the electronic device is 64GB, 60GB of the storage space can be divided as the visible region, and 4GB of the storage space can be divided as the hidden region. Optionally, the hidden area may be provided with a corresponding control module as a system plug-in module for managing the hidden area. The visible area is in a state of being visible to the user, that is, the user can access and modify the data in the visible area, and the hidden area is in a state of being invisible to the user, that is, the hidden area is an area invisible to the user, that is, the user cannot view and access the data in the hidden area.
Optionally, an installation package of at least one application program is prestored in the hidden area of the electronic device, usually, the storage space occupied by the installation package is smaller than the storage space required for installing the installation package, and the installation package of the application program is only stored in the hidden area instead of being directly preinstalled to the electronic device, so that the storage space occupied by the installation package can be saved, a complicated process that the user needs to manually delete the corresponding application program if the corresponding application program does not meet the requirement of the user is avoided, and the user experience is improved; when a subsequent user needs to download and install the target application program, whether the corresponding target installation package exists or not is inquired in the hidden area, if yes, the flow for downloading the target installation package and the time for waiting for downloading can be saved, and the installation operation is directly executed on the target installation package, so that the downloading and installation efficiency of the target application program is improved.
Therefore, in the embodiment of the application, the installation package of the application is stored in the hidden area of the electronic device in advance, when a user downloads and installs the target application, if the corresponding installation package is stored in the hidden area in advance, the installation package is directly used for installation, so that the installation of the application can be realized under the condition of no network, and the application is installed based on the user requirement, thereby avoiding the waste of storage space.
In some embodiments of the present application, the performing an installation operation on the target installation package includes:
installing the target installation package in the visible area if the available storage space of the visible area is larger than or equal to the installation space required by the target installation package;
and in the case that the available storage space of the visible area is smaller than the installation space required by the target installation package, installing the target installation package in the hidden area.
That is, the priority of the visible region may be set higher than the priority of the hidden region; when the installation operation is executed on the target installation package, if the available storage space of a visible area is larger than or equal to the installation space required by the target installation package, the target installation package is directly installed in the visible area, and at the moment, the installed target application program is visible to a user; and if the available storage space of the visible area is smaller than the installation space required by the target installation package, installing the target installation package in the hidden area, and similarly, the target application program which is installed is visible to the user, so that the user can normally use the target application program. Therefore, in the embodiment of the application, the installed target application program can be normally used no matter the target application program is installed in the visible area or the hidden area.
In other embodiments of the present application, at least one installation package is prestored in the hidden area, the installation package includes a hidden tag, the hidden tag is used to make the installation package invisible to a user, and performing an installation operation on the target installation package includes:
and deleting the hidden label of the target installation package to make the target installation package visible to a user.
That is, the hidden area of the electronic device stores the installation packages of at least one application program in advance, and the hidden labels are added to the installation packages prestored in the hidden area, so that the prestored installation packages are invisible to the user, and the user cannot perceive that the electronic device stores the installation packages; when the target installation package corresponding to the target application program is installed, the hidden tag of the target installation package is deleted, so that the target installation package is visible to a user, the user can subsequently check the target installation package or delete the target installation package according to needs, and the like, and therefore the user cannot be puzzled in use.
In still other embodiments of the present application, after performing the installation operation on the target installation package, the method further includes:
and under the condition that a second input that the target installation package is deleted by the user is received, the hidden label is added to the target installation package again.
Specifically, after the target installation package is installed, if the electronic device receives a second input that the user deletes the target installation package, the hidden tag is re-added to the target installation package, so that the target installation package is restored to a state invisible to the user again, which is the same as that of deleting the target installation package for the user. By adding the hidden label to the target installation package instead of directly deleting the target application program, a subsequent user can conveniently and directly install the target application program again by using the target installation package in the hidden area if the subsequent user wants to install the target application program again after deleting the target application program, and the waiting time for downloading is saved.
In some embodiments of the present application, the method further comprises:
receiving a third input of the size of the storage space and the size of the available storage space of the electronic equipment viewed by the user;
and displaying the total capacity of the storage space of the electronic equipment and the capacity of the available storage space of the electronic equipment in response to the third input, wherein the total capacity of the storage space of the electronic equipment is the sum of the total capacity of the visible area and the total capacity of the hidden area, and the capacity of the available storage space of the electronic equipment is the sum of the capacity of the available storage space of the visible area and the total capacity of the hidden area.
That is, when the electronic device receives a third input that the user views the size of the storage space and the size of the available storage space, the electronic device may display the total capacity of the storage space of the electronic device as the total capacity of the visible area and the total capacity of the hidden area and the capacity of the available storage space of the electronic device as the sum of the available storage space capacity of the visible area and the total capacity of the hidden area in response to the third input, so that the capacity of the available storage space viewed by the user is still the case where the electronic device does not pre-store the installation package. The case applicable here may be: only the installation package is prestored in the hidden area, and the hidden area is not occupied by other data except the prestored installation package. If the hidden area is already occupied by other data (including the installation space occupied by the pre-stored installation package during installation) than the pre-stored installation package, the capacity of the available storage space of the electronic device may be displayed as the sum of the capacity of the available storage space of the visible area, the capacity of the available storage space of the hidden area, and the capacity of the space occupied by the pre-stored installation package in the hidden area.
In still other embodiments of the present application, after receiving the first input that the user downloaded and installed the target application, the method further includes:
under the condition that a target installation package corresponding to the target application program does not exist in the hidden area, in response to the first input, if the available storage space of the visible area and the available storage space of the hidden area are both smaller than the installation space required by the target application program, deleting at least one installation package prestored in the hidden area, and enabling the available storage space of the hidden area to be larger than or equal to the installation space required by the target application program;
and downloading the installation package of the target application program to the hidden area, and executing installation operation on the installation package of the target application program.
In the embodiment of the application, if the target installation package corresponding to the target application program cannot be queried in the hidden area, the installation package corresponding to the target application program needs to be downloaded at this time. Specifically, if the available storage space of the visible area and the available storage space of the hidden area are both smaller than the installation space required by the target application program, in order to implement installation of the target application program, at least one installation package pre-stored in the hidden area needs to be deleted until the available storage space of the hidden area is greater than or equal to the installation space required by the target application program, and then the installation package of the target application program can be downloaded to the hidden area and installed. Optionally, when deleting at least one pre-stored installation package in the hidden area, the installation packages may be deleted in an order from large to small, that is, the installation package with a larger occupied space is deleted first, and then the installation package with a smaller occupied space is deleted, so that more storage space is released by deleting a smaller number of pre-stored installation packages. Therefore, for the user, the space of the hidden area can still be normally used, the user cannot perceive that the installation packages are prestored, and the existence of the installation packages cannot influence the user to use the corresponding space.
Of course, in some embodiments, if the available storage space of the visible area is greater than or equal to the size of the installation package corresponding to the target application program, the installation package corresponding to the target application program may be directly downloaded into the visible area and installed in the visible area, and at this time, the installation package installed in the visible area also requires that the available storage space of the visible area is greater than or equal to the installation space required by the installation package corresponding to the target application program; if the size of the available storage space of the visible area is smaller than the size of the installation package corresponding to the target application program, and the size of the available storage space of the hidden area is larger than the size of the installation package corresponding to the target application program, the installation package corresponding to the target application program can be directly downloaded into the hidden area and installed in the hidden area, at this time, the installation package is installed in the hidden area without the need that the available storage space of the hidden area is larger than or equal to the installation space required by the installation package corresponding to the target application program, because the storage space can be released by deleting the installation package prestored in the hidden area, the hidden area can provide enough available storage space for the installation package corresponding to the downloaded target application program to install.
In the embodiment of the application, the installation package of the application program is pre-stored in the hidden area of the electronic device, when a user downloads and installs a target application program, if the corresponding installation package is pre-stored in the hidden area, the installation package is directly utilized for installation, so that the installation of the application program can be realized under the condition of no network, and the application program is installed based on the user requirement, thereby avoiding the waste of storage space.
In the application installation method provided in the embodiment of the present application, the execution main body may be an application installation apparatus, or a control module in the application installation apparatus for executing the application installation method. In the embodiment of the present application, an application installation apparatus executing an application installation method is taken as an example, and the application installation apparatus provided in the embodiment of the present application is described.
Please refer to fig. 2, which is a schematic structural diagram of an application installation apparatus according to an embodiment of the present application. As shown in fig. 2, the application installation apparatus of the embodiment of the present application may be applied to an electronic device, and the apparatus 20 includes:
a first receiving module 21, configured to receive a first input of a user downloading and installing a target application;
and a first installation module 22, configured to, in a case that a hidden area of the electronic device includes a target installation package corresponding to the target application, perform an installation operation on the target installation package in response to the first input, where a storage space of the electronic device includes a visible area and a hidden area, and the hidden area is an area invisible to a user.
Optionally, the first installation module includes:
a first installation unit, configured to install the target installation package in the visible area if an available storage space of the visible area is greater than or equal to an installation space required by the target installation package;
and the second installation unit is used for installing the target installation package in the hidden area under the condition that the available storage space of the visible area is smaller than the installation space required by the target installation package.
Optionally, at least one installation package is prestored in the hidden area, and the installation package includes a hidden tag, where the hidden tag is used to make the installation package invisible to a user, and the first installation module includes:
and the deleting unit is used for deleting the hidden label of the target installation package so as to enable the target installation package to be visible to a user.
Optionally, the apparatus further comprises:
and the adding module is used for adding the hidden label to the target installation package again under the condition of receiving a second input of deleting the target installation package by the user.
Optionally, the apparatus further comprises:
the second receiving module is used for receiving a third input of the size of the storage space and the size of the available storage space of the electronic equipment viewed by the user;
a display module, configured to display, in response to the third input, a total capacity of a storage space of the electronic device and a capacity of an available storage space of the electronic device, where the total capacity of the storage space of the electronic device is a sum of the total capacity of the visible area and the total capacity of the hidden area, and the capacity of the available storage space of the electronic device is a sum of the capacity of the available storage space of the visible area and the total capacity of the hidden area.
Optionally, the apparatus further comprises:
a deleting module, configured to, in response to the first input, delete at least one installation package pre-stored in the hidden area if both an available storage space of the visible area and an available storage space of the hidden area are smaller than an installation space required by the target application program, so that the available storage space of the hidden area is greater than or equal to the installation space required by the target application program, when there is no target installation package corresponding to the target application program in the hidden area;
and the second installation module is used for downloading the installation package of the target application program to the hidden area and executing installation operation on the installation package of the target application program.
In the embodiment of the application, the installation package of the application program is pre-stored in the hidden area of the electronic device, when a user downloads and installs a target application program, if the corresponding installation package is pre-stored in the hidden area, the installation package is directly utilized for installation, so that the installation of the application program can be realized under the condition of no network, and the application program is installed based on the user requirement, thereby avoiding the waste of storage space.
The application installation device in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a Personal Computer (PC), a Television (TV), a teller machine, a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The application installation device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system (Android), an iOS operating system, or other possible operating systems, which is not specifically limited in the embodiments of the present application.
The application installation apparatus provided in this embodiment of the present application can implement each process implemented in the method embodiment of fig. 1, and is not described here again to avoid repetition.
Optionally, as shown in fig. 3, an electronic device 300 is further provided in this embodiment of the present application, and includes a processor 301, a memory 302, and a program or an instruction stored in the memory 302 and capable of running on the processor 301, where the program or the instruction is executed by the processor 301 to implement each process of the foregoing embodiment of the application program installation method, and can achieve the same technical effect, and in order to avoid repetition, it is not described here again.
It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 4 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 400 includes, but is not limited to: a radio frequency unit 401, a network module 402, an audio output unit 403, an input unit 404, a sensor 405, a display unit 406, a user input unit 407, an interface unit 408, a memory 409, and a processor 4010.
Those skilled in the art will appreciate that the electronic device 400 may further include a power supply (e.g., a battery) for supplying power to various components, and the power supply may be logically connected to the processor 4010 through a power management system, so that functions of managing charging, discharging, and power consumption are implemented through the power management system. The electronic device structure shown in fig. 4 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
The user input unit 407 is configured to receive a first input that a user downloads and installs a target application;
and the processor 4010 is configured to, in response to the first input, perform an installation operation on the target installation package when the hidden area of the electronic device includes the target installation package corresponding to the target application program, where the storage space of the electronic device includes a visible area and a hidden area, and the hidden area is an area invisible to a user.
Optionally, the executing the installation operation on the target installation package includes:
installing the target installation package in the visible area if the available storage space of the visible area is larger than or equal to the installation space required by the target installation package;
and in the case that the available storage space of the visible area is smaller than the installation space required by the target installation package, installing the target installation package in the hidden area.
Optionally, at least one installation package is prestored in the hidden area, where the installation package includes a hidden tag, and the hidden tag is used to make the installation package invisible to a user, and the performing an installation operation on the target installation package includes:
and deleting the hidden label of the target installation package to make the target installation package visible to a user.
Optionally, the processor 4010 is further configured to add the hidden tag to the target installation package again when a second input that the user deletes the target installation package is received.
Optionally, the user input unit 407 is further configured to receive a third input that the user views the size of the storage space of the electronic device and the size of the available storage space;
a display unit 406, configured to display, in response to the third input, a total capacity of a storage space of the electronic device and a capacity of an available storage space of the electronic device, where the total capacity of the storage space of the electronic device is a sum of the total capacity of the visible area and the total capacity of the hidden area, and the capacity of the available storage space of the electronic device is a sum of the capacity of the available storage space of the visible area and the total capacity of the hidden area.
Optionally, the processor 4010 is further configured to, in response to the first input, delete at least one installation package pre-stored in the hidden area if both the available storage space of the visible area and the available storage space of the hidden area are smaller than the installation space required by the target application, so that the available storage space of the hidden area is greater than or equal to the installation space required by the target application;
a network module 402 for downloading the installation package of the target application to the hidden area,
the processor 4010 is further configured to perform an installation operation on the installation package of the target application.
In the embodiment of the application, the installation package of the application program is pre-stored in the hidden area of the electronic device, when a user downloads and installs a target application program, if the corresponding installation package is pre-stored in the hidden area, the installation package is directly utilized for installation, so that the installation of the application program can be realized under the condition of no network, and the application program is installed based on the user requirement, thereby avoiding the waste of storage space.
It should be understood that in the embodiment of the present application, the input Unit 404 may include a Graphics Processing Unit (GPU) 4041 and a microphone 4042, and the Graphics processor 4041 processes image data of a still picture or a video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 406 may include a display panel 4061, and the display panel 4061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 407 includes a touch panel 4071 and other input devices 4072. A touch panel 4071, also referred to as a touch screen. The touch panel 4071 may include two parts, a touch detection device and a touch controller. Other input devices 4072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein. The memory 409 may be used to store software programs as well as various data including, but not limited to, application programs and an operating system. The processor 4010 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 4010.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the above-mentioned application program installation method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement each process of the above embodiment of the application program installation method, and can achieve the same technical effect, and in order to avoid repetition, the details are not repeated here.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.
Claims (10)
1. An application installation method, comprising:
receiving a first input of a user downloading and installing a target application program;
and under the condition that the hidden area of the electronic equipment comprises a target installation package corresponding to the target application program, responding to the first input, and executing installation operation on the target installation package, wherein the storage space of the electronic equipment comprises a visible area and a hidden area, and the hidden area is an area which is not visible for a user.
2. The method of claim 1, wherein the performing an installation operation on the target installation package comprises:
installing the target installation package in the visible area if the available storage space of the visible area is larger than or equal to the installation space required by the target installation package;
and in the case that the available storage space of the visible area is smaller than the installation space required by the target installation package, installing the target installation package in the hidden area.
3. The method according to claim 1 or 2, wherein at least one installation package is prestored in the hidden area, the installation package comprises a hidden tag, the hidden tag is used for making the installation package invisible to a user, and the performing the installation operation on the target installation package comprises:
and deleting the hidden label of the target installation package to make the target installation package visible to a user.
4. The method of claim 1, further comprising:
receiving a third input of the size of the storage space and the size of the available storage space of the electronic equipment viewed by the user;
and displaying the total capacity of the storage space of the electronic equipment and the capacity of the available storage space of the electronic equipment in response to the third input, wherein the total capacity of the storage space of the electronic equipment is the sum of the total capacity of the visible area and the total capacity of the hidden area, and the capacity of the available storage space of the electronic equipment is the sum of the capacity of the available storage space of the visible area and the total capacity of the hidden area.
5. The method of claim 1, wherein after receiving a first input from a user to download and install a target application, the method further comprises:
under the condition that a target installation package corresponding to the target application program does not exist in the hidden area, in response to the first input, if the available storage space of the visible area and the available storage space of the hidden area are both smaller than the installation space required by the target application program, deleting at least one installation package prestored in the hidden area, and enabling the available storage space of the hidden area to be larger than or equal to the installation space required by the target application program;
and downloading the installation package of the target application program to the hidden area, and executing installation operation on the installation package of the target application program.
6. An application installation apparatus, comprising:
the first receiving module is used for receiving first input of downloading and installing a target application program by a user;
the first installation module is used for responding to the first input and executing installation operation on a target installation package when a hidden area of the electronic equipment comprises the target installation package corresponding to the target application program, wherein the storage space of the electronic equipment comprises a visible area and a hidden area, and the hidden area is an area which is not visible to a user.
7. The apparatus of claim 6, wherein the first mounting module comprises:
a first installation unit, configured to install the target installation package in the visible area if an available storage space of the visible area is greater than or equal to an installation space required by the target installation package;
and the second installation unit is used for installing the target installation package in the hidden area under the condition that the available storage space of the visible area is smaller than the installation space required by the target installation package.
8. The apparatus according to claim 6 or 7, wherein the hidden area is pre-stored with at least one installation package, the installation package comprises a hidden tag for making the installation package invisible to a user, and the first installation module comprises:
and the deleting unit is used for deleting the hidden label of the target installation package so as to enable the target installation package to be visible to a user.
9. The apparatus of claim 6, further comprising:
the second receiving module is used for receiving a third input of the size of the storage space and the size of the available storage space of the electronic equipment viewed by the user;
a display module, configured to display, in response to the third input, a total capacity of a storage space of the electronic device and a capacity of an available storage space of the electronic device, where the total capacity of the storage space of the electronic device is a sum of the total capacity of the visible area and the total capacity of the hidden area, and the capacity of the available storage space of the electronic device is a sum of the capacity of the available storage space of the visible area and the total capacity of the hidden area.
10. The apparatus of claim 6, further comprising:
a deleting module, configured to, in response to the first input, delete at least one installation package pre-stored in the hidden area if both an available storage space of the visible area and an available storage space of the hidden area are smaller than an installation space required by the target application program, so that the available storage space of the hidden area is greater than or equal to the installation space required by the target application program, when there is no target installation package corresponding to the target application program in the hidden area;
and the second installation module is used for downloading the installation package of the target application program to the hidden area and executing installation operation on the installation package of the target application program.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110980039.4A CN113641372A (en) | 2021-08-25 | 2021-08-25 | Application program installation method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110980039.4A CN113641372A (en) | 2021-08-25 | 2021-08-25 | Application program installation method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113641372A true CN113641372A (en) | 2021-11-12 |
Family
ID=78423777
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110980039.4A Pending CN113641372A (en) | 2021-08-25 | 2021-08-25 | Application program installation method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113641372A (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105260221A (en) * | 2015-11-26 | 2016-01-20 | 小米科技有限责任公司 | Application installation method and device |
CN107656740A (en) * | 2016-07-25 | 2018-02-02 | 中兴通讯股份有限公司 | A kind of customized version switching method, device and mobile terminal |
CN111190614A (en) * | 2019-12-26 | 2020-05-22 | 北京威努特技术有限公司 | Software installation method and computer equipment |
-
2021
- 2021-08-25 CN CN202110980039.4A patent/CN113641372A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105260221A (en) * | 2015-11-26 | 2016-01-20 | 小米科技有限责任公司 | Application installation method and device |
CN107656740A (en) * | 2016-07-25 | 2018-02-02 | 中兴通讯股份有限公司 | A kind of customized version switching method, device and mobile terminal |
CN111190614A (en) * | 2019-12-26 | 2020-05-22 | 北京威努特技术有限公司 | Software installation method and computer equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11972274B2 (en) | Application management method and apparatus, and electronic device | |
CN108549568B (en) | Application entry processing method and device, storage medium and electronic equipment | |
CN110018765B (en) | Page display method, device, terminal and storage medium | |
CN106445500B (en) | Method, system and terminal equipment for providing user interface | |
CN112099684A (en) | Search display method and device and electronic equipment | |
CN113794795B (en) | Information sharing method and device, electronic equipment and readable storage medium | |
CN108334330B (en) | Application unloading method and device, storage medium and electronic equipment | |
CN111813305A (en) | Application program starting method and device | |
CN113703627A (en) | Display method, display device, electronic equipment and readable storage medium | |
CN111857466B (en) | Message display method and device | |
CN112286615A (en) | Information display method and device of application program | |
CN113190143A (en) | Interface display method and device, electronic equipment and medium | |
CN112698762A (en) | Icon display method and device and electronic equipment | |
CN111638828A (en) | Interface display method and device | |
WO2022171058A1 (en) | Application program processing method and apparatus, and electronic device | |
CN113641372A (en) | Application program installation method and device | |
CN114416264A (en) | Message display method and device | |
CN113138785A (en) | Application program updating method and device | |
CN113672136A (en) | Information display method, device, equipment and storage medium | |
CN113867864A (en) | Information display method and device, electronic equipment and readable storage medium | |
CN113138786A (en) | Application updating method and device | |
CN111880702A (en) | Interface switching method and device and electronic equipment | |
CN113268300B (en) | Information display method and device | |
CN112286612B (en) | Information display method and device and electronic equipment | |
CN116755736A (en) | Application updating method and electronic equipment |
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 |