[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

WO2021121225A1 - Method for installing application program, and electronic apparatus - Google Patents

Method for installing application program, and electronic apparatus Download PDF

Info

Publication number
WO2021121225A1
WO2021121225A1 PCT/CN2020/136534 CN2020136534W WO2021121225A1 WO 2021121225 A1 WO2021121225 A1 WO 2021121225A1 CN 2020136534 W CN2020136534 W CN 2020136534W WO 2021121225 A1 WO2021121225 A1 WO 2021121225A1
Authority
WO
WIPO (PCT)
Prior art keywords
application
icon
input
electronic device
uninstalled
Prior art date
Application number
PCT/CN2020/136534
Other languages
French (fr)
Chinese (zh)
Inventor
廖会玲
Original Assignee
维沃移动通信有限公司
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 维沃移动通信有限公司 filed Critical 维沃移动通信有限公司
Publication of WO2021121225A1 publication Critical patent/WO2021121225A1/en

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
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons

Definitions

  • the embodiments of the present invention relate to the field of communication technologies, and in particular, to an application program installation method and electronic equipment.
  • one possible situation is that the user needs to download and install the uninstalled application again because the application is uninstalled due to user misoperation; another possible situation is that after the user normally uninstalls the application , The user needs to reuse the uninstalled application.
  • the user when a user wants to reinstall an uninstalled application, the user can first trigger the electronic device to open the application store or download webpage, and then enter the name of the uninstalled application in the search bar on the application store or download webpage, and then, When the server searches for the application program, the electronic device is triggered to download and install the application program, which results in cumbersome reinstallation of the uninstalled application program.
  • the embodiments of the present invention provide an application program installation method and an electronic device to solve the problem of cumbersome reinstallation of uninstalled application programs.
  • an embodiment of the present invention provides an application installation method.
  • the method is applied to an electronic device, and the method may include: when the first application is uninstalled, receiving a first input to the target area; in response to the first input, installing the first application; wherein the target area is in the first The display area of the icon of the first application before the application is uninstalled, or the display area of the icon of the second application of the same type as the first application, or the folder to which the icon of the first application belongs before the first application is uninstalled Display area in.
  • an embodiment of the present invention provides an electronic device.
  • the electronic device includes a receiving module and a processing module.
  • the receiving module is used to receive the first input to the target area when the first application is uninstalled;
  • the processing module is used to install the first application in response to the first input received by the receiving module; wherein the target area is The display area of the icon of the first application before the first application is uninstalled, or the display area of the icon of the second application of the same type as the first application, or the display area of the icon of the first application before the first application is uninstalled
  • the display area in the folder is The display area of the icon of the first application before the first application is uninstalled.
  • an embodiment of the present invention provides an electronic device that includes a processor, a memory, and a computer program stored on the memory and capable of running on the processor.
  • the computer program is executed by the processor, The steps of the application program installation method in the above-mentioned first aspect are implemented.
  • an embodiment of the present invention provides a computer-readable storage medium storing a computer program on the computer-readable storage medium, and when the computer program is executed by a processor, it implements the same as the application installation method in the above-mentioned first aspect. step.
  • the electronic device may install the first application in response to the first input after receiving the user's first input to the target area when the first application is uninstalled.
  • the target area is the display area of the icon of the first application before the first application is uninstalled; or the display area of the icon of the second application that belongs to the same type as the first application; or is the display area of the icon of the second application before the first application is uninstalled. Before being uninstalled, the display area in the folder to which the icon of the first application belongs.
  • the user can trigger the electronic device to quickly install the first application through the first input to the target area without opening the application store and entering the uninstalled
  • the operation steps such as the name of the application program can not only simplify the steps of reinstalling the uninstalled application program, but also save the user's time, thereby improving the human-computer interaction performance.
  • FIG. 1 is a schematic diagram of the architecture of an Android operating system provided by an embodiment of the present invention
  • FIG. 2 is one of the schematic flowcharts of an application installation method provided by an embodiment of the present invention.
  • FIG. 3 is one of the schematic diagrams of the target area provided by the embodiment of the present invention.
  • FIG. 5 is the third schematic diagram of the target area provided by the embodiment of the present invention.
  • FIG. 6 is a second schematic flowchart of an application program installation method provided by an embodiment of the present invention.
  • FIG. 7 is the third schematic flowchart of an application program installation method provided by an embodiment of the present invention.
  • FIG. 8 is a fourth schematic flowchart of an application installation method provided by an embodiment of the present invention.
  • FIG. 9 is a schematic diagram of at least one identifier provided by an embodiment of the present invention.
  • FIG. 10 is a fifth schematic flowchart of an application installation method provided by an embodiment of the present invention.
  • FIG. 11 is one of schematic structural diagrams of an electronic device provided by an embodiment of the present invention.
  • FIG. 12 is the second structural diagram of an electronic device provided by an embodiment of the present invention.
  • FIG. 13 is a schematic diagram of hardware of an electronic device provided by an embodiment of the present invention.
  • first and second in this document are used to distinguish different objects, rather than to describe a specific order of objects.
  • first input and the second input are used to distinguish different inputs, rather than to describe a specific order of input.
  • words such as “exemplary” or “for example” are used to represent examples, illustrations, or illustrations. Any embodiment or design solution described as “exemplary” or “for example” in the embodiments of the present invention should not be construed as being more preferable or advantageous than other embodiments or design solutions. To be precise, words such as “exemplary” or “for example” are used to present related concepts in a specific manner.
  • the electronic device in the embodiment of the present invention may be an electronic device with an operating system.
  • the operating system may be an Android operating system, an ios operating system, or other possible operating systems, which is not specifically limited in the embodiment of the present invention.
  • the following takes the Android operating system as an example to introduce the software environment applied by the application program installation method provided by the embodiment of the present invention.
  • FIG. 1 it is a schematic structural diagram of a possible Android operating system provided by an embodiment of the present invention.
  • the architecture of the Android operating system includes 4 layers, which are: application layer, application framework layer, system runtime library layer, and kernel layer (specifically, it may be the Linux kernel layer).
  • the application layer includes various applications (including system applications and third-party applications) in the Android operating system.
  • the first application uninstalled and installed by the electronic device in the embodiment of the present invention.
  • the application framework layer is the framework of the application. Developers can develop some applications based on the application framework layer while complying with the development principles of the application framework.
  • an application program can include two parts, one part refers to a service running in the background of an electronic device, which is used to detect user input to the application program, and in response to the input, perform corresponding actions, for example, if the user is detected For the second input of the first application, in response to the second input, the first application is uninstalled; the other part refers to the content displayed on the screen of the electronic device, for example, after the first application is uninstalled, the display of the first application is canceled icon.
  • the system runtime layer includes a library (also called a system library) and an Android operating system runtime environment.
  • the library mainly provides various resources needed by the Android operating system.
  • the Android operating system operating environment is used to provide a software environment for the Android operating system.
  • the kernel layer is the operating system layer of the Android operating system and belongs to the lowest level of the Android operating system software level.
  • the kernel layer is based on the Linux kernel to provide core system services and hardware-related drivers for the Android operating system.
  • a developer can develop a software program that implements the application installation method provided by the embodiment of the present invention based on the system architecture of the Android operating system as shown in FIG.
  • the application installation method can be run based on the Android operating system as shown in FIG. 1. That is, the processor or the electronic device can implement the application program installation method provided in the embodiment of the present invention by running the software program in the Android operating system.
  • the electronic device in the embodiment of the present invention may be a terminal device.
  • the terminal device may be a mobile terminal device or a non-mobile terminal device.
  • the mobile terminal device may be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle-mounted terminal, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (personal digital assistant). , PDA), etc.
  • the non-mobile terminal device may be a personal computer (PC), a television (television, TV), a teller machine, or a self-service machine, etc., which is not specifically limited in the embodiment of the present invention.
  • the execution subject of the application installation method provided by the embodiment of the present invention may be the above-mentioned electronic device, or may be a functional module and/or functional entity in the electronic device that can implement the application installation method, and may be specifically based on actual usage requirements. It is confirmed that the embodiment of the present invention is not limited.
  • the following takes an electronic device as an example to illustrate the application installation method provided in the embodiment of the present invention.
  • a user can install various application programs in an electronic device through an application store or a download webpage, and these application programs may include applications that have been installed in the electronic device in the past.
  • the application can be an application that the user uninstalled due to misoperation during the operation of the electronic device; or the application can also be uninstalled by the user in a conscious state, but the user wants to reuse it for some reason s application.
  • the first application For an application that has been installed in an electronic device, for example, it may be the first application.
  • This application can quickly install the first application through the first input to the target area.
  • the user may perform the first input in the target area, which may be the display area of the icon of the first application before the first application of the electronic device is uninstalled; or the second application of the same type as the first application.
  • the electronic device may reinstall the first application in the electronic device in response to the first input.
  • the target area is the display area of the icon of the first application before the first application is uninstalled; or the display area of the icon of the second application that belongs to the same type as the first application; or is the display area of the icon of the second application before the first application is uninstalled.
  • the operation steps such as the name of the application program can not only simplify the steps of reinstalling the uninstalled application program, but also save the user's time, thereby improving the human-computer interaction performance.
  • an embodiment of the present invention provides an application program installation method, which can be applied to an electronic device.
  • the method may include the following S201 to S202.
  • the target area may be the display area of the icon of the first application before the first application is uninstalled; or the display area of the icon of the second application of the same type as the first application; or Before an application is uninstalled, the display area in the folder to which the icon of the first application belongs.
  • the target area may be the display area of the icon of the first application before the first application is uninstalled.
  • the electronic device when the electronic device displays a desktop interface, the user can trigger the electronic device to display and display on the icon of each application by long-pressing any icon in the desktop interface.
  • the uninstallation identifier corresponding to the application program the uninstallation identifier may be used to indicate that the application program is in a pending uninstallation state.
  • the electronic device displaying the uninstallation identification 31 on the icon 32 of the application "Shopping 2" as an example for description, the user can click and input the uninstallation identification 31.
  • the electronic device can uninstall the application "Shopping 2" and cancel the display of the icon 32 of the application "Shopping 2" in response to the click input.
  • the target area may be the display area of the icon 32 of the application "Shopping 2" before the application "Shopping 2" is uninstalled, that is, the area enclosed by the dashed box 33 in FIG. 3(b).
  • the target area may be a display area of an icon of a second application that belongs to the same type as the first application.
  • the user can trigger the electronic device to uninstall the application "Shopping 2".
  • the electronic device is also installed with the application "Shopping 1" which is of the same type as the application "Shopping 2". Therefore, the first The second application can be the application "Shopping 1.
  • the target area can be the area where the icon of the application "Shopping 1" shown in Figure 4 (a) is located; or, it can also be the one shown in Figure 4 (b).
  • the area where the logo 42 displayed on the icon of the application "Shopping 1" is located, and the logo 42 can be used to indicate that there is an application of the same type as the application "Shopping 1" among all the applications installed on the electronic device.
  • the electronic device before receiving the first input to the target area, the electronic device may first receive the trigger of the electronic device in the target application The input of the identification is displayed on the icon of the program, and then the electronic device can display the identification on the icon of the target application in response to the input.
  • the target application refers to an application of the same type as at least one application that has been installed and uninstalled in the electronic device, and the target application includes the application "Shopping 1".
  • the input that triggers the electronic device to display the logo on the icon of the target application may be touch input, voice input, gesture input, gravity input, or other possible input, which is not limited in the embodiment of the present invention.
  • the target area may be the display area in the folder to which the icon of the first application belongs before the first application is uninstalled.
  • the shopping folder before the application “Shopping 2" is uninstalled, the shopping folder includes the icon of the application “Shopping 1", the icon of the application “Shopping 2", and the application “Shopping 3" “Icon and the application “Shopping 4" icon.
  • the shopping folder includes the icon of the application “Shopping 1", the icon of the application “Shopping 3” and the application “Shopping 4" ", and the display area of the icon of the application “Shopping 2" can be used to display icons of other applications.
  • the display area in the shopping folder may include an icon display area and a blank area.
  • the icon display area may be the display area of the icon of the application "Shopping 1”
  • the blank area may be the area enclosed by the dashed frame 51 in (b) of FIG. 5.
  • the target area can be the icon display area in the shopping folder or a blank area in the shopping folder.
  • the types of applications in the folders may be the same or different. In the above example 3, only the same types of applications in the folders are used as an example to describe the target area. For cases where the types of applications in the folders are not the same, please refer to the related description in Example 3 for details, which will not be repeated here.
  • the above-mentioned first input may be a user's touch operation on the target area.
  • the touch operation may be a single click, a double tap, a preset duration of continuous pressing, or a preset duration of continuous tapping.
  • the number of operations The details can be determined according to actual use requirements, and the embodiment of the present invention does not limit it.
  • the electronic device installs the first application in response to the first input.
  • the above-mentioned installation of the first application may include two steps: Step 1. Download the installation package of the first application from the server; Step 2. Reinstall the first application according to the installation package. It is understandable that if the installation package of the first application is still stored in the electronic device after the first application is uninstalled, the electronic device may directly execute step 2 without performing step 1.
  • the first application is the application "Shopping 2"
  • the target area is the display area of the icon of the first application before the first application is uninstalled.
  • the electronic device may respond to the first input, according to the target area, determine that the target area has previously displayed the icon of the first application that was uninstalled, and obtain the first application from the server.
  • the installation package of the application and according to the installation package, reinstall the application "Shopping 2".
  • An embodiment of the present invention provides an application installation method.
  • the electronic device can install the first application in response to the first input after receiving the user's first input to the target area.
  • the target area is the display area of the icon of the first application before the first application is uninstalled; or the display area of the icon of the second application that belongs to the same type as the first application; or is the display area of the icon of the second application before the first application is uninstalled.
  • the user can trigger the electronic device to quickly install the first application through the first input to the target area without opening the application store and entering the uninstalled
  • the operation steps such as the name of the application program can not only simplify the steps of reinstalling the uninstalled application program, but also save the user's time, thereby improving the human-computer interaction performance.
  • the electronic device may, in response to the user's input, uninstall the first application, and store related information of the first application, so that the electronic device after receiving the first input , The first application can be reinstalled according to the related information of the first application.
  • the application installation method provided in the embodiment of the present invention may further include the following S203 to S204.
  • the electronic device receives a second input to the first application.
  • the second input may be the user's touch operation on the uninstallation mark 31 as shown in (a) in FIG. 3 in the above example 1, or the user's icon of the first application
  • the specific drag operation can be determined according to actual usage requirements, which is not limited in the embodiment of the present invention.
  • the electronic device may display the preset uninstallation area identifier on the screen of the electronic device, and in the case that the icon of the first application is dragged into the area surrounded by the preset uninstallation area identifier, the electronic device may receive a request to the first application The second input.
  • the electronic device In response to the second input, the electronic device uninstalls the first application and stores the first information.
  • the electronic device includes a monitoring process for monitoring the uninstallation process of the application program. After the electronic device receives the user's second input to the first application, the electronic device can run the monitoring process, and the monitoring process can record and store the first information in a local file or database.
  • the first information may include at least one of the following: the display area of the icon of the first application, the identification of the first application, and the uninstallation time of the first application.
  • the display area of the icon of the first application may specifically include at least one of the following: the desktop interface where the icon of the first application is located, the display position of the icon of the first application in the desktop interface, and the location where the icon of the first application is located. Folder, the display position of the icon of the first application in the folder.
  • the display area of the icon of the first application may be represented by the identification of the screen where the icon of the first application is located, the row identification of the icon of the first application, and the column identification of the icon of the first application.
  • the display area of the icon of the first application may be expressed as (2, 2, 3);
  • the display area of the icon of the first application may also be indicated by the identifier of the folder to which the icon of the first application belongs.
  • the identifier of the first application may be at least one of the following: the name of the first application, the icon of the first application, the name of the installation package of the first application, and the version number of the first application.
  • the details can be determined according to actual use requirements, and the embodiment of the present invention does not limit it.
  • the uninstallation moment of the first application refers to the system time of the electronic device when the first application is uninstalled.
  • the above S202 may be specifically implemented by the following S202a, that is, after the electronic device executes S201, the electronic device may execute the following S202a.
  • the electronic device installs the first application according to the first information.
  • the electronic device since the first information may include the display area of the icon of the first application, if the target area is the display area of the icon of the first application before the first application is uninstalled, then the electronic device receives the user’s response After the first input of the target area, the electronic device can determine that the application to be reinstalled is the first application according to the display area of the icon of the first application, so that the electronic device can obtain the installation of the first application from the application vendor or the download webpage Package, and then complete the installation of the first application.
  • the storage path may be the identifier of the folder to which the first application belongs. Therefore, if the target area is before the first application is uninstalled, the first application The display area in the folder to which the icon belongs, then after receiving the user’s first input to the target area, the electronic device can determine the application to be reinstalled as the first application according to the folder identifier, so that the electronic device can download from the application The installation package of the first application is obtained from the store or the download webpage, and the installation of the first application is completed.
  • the electronic device may also record and store the layout information of the application in the electronic device through the monitoring process in the electronic device, and the layout information is used to indicate the arrangement of the icons of the application on the screen of the electronic device. position.
  • the electronic device can respond to the first input and apply the historical typesetting information to the screen of the electronic device, that is, the electronic device can display the application icon according to the historical typesetting information.
  • the electronic device when the electronic device uninstalls the first application, the electronic device can store the first information related to the first application. Therefore, after the electronic device receives the first input from the user to the target area, the electronic device can According to the corresponding relationship between the target area, the first information, and the first application, it is determined that the application to be installed is the first application, and then the installation of the first application is completed.
  • the electronic device may respond to the first input, install the first application, and display the icon of the first application in the target area.
  • the application installation method provided in the embodiment of the present invention may further include the following S205.
  • the electronic device displays the icon of the first application in the target area.
  • the electronic device can install the first application and display the The display area of the icon of the first application before being uninstalled displays the icon of the first application.
  • the electronic device receives After the user's first input, the first input may be an input to a blank location in the folder.
  • the electronic device may first determine the first application according to the identifier of the folder, and display the first application in the blank location in the folder. icon.
  • the electronic device may display the icon of the first application in the target area, and superimpose a progress indicator on the icon of the first application, and the progress indicator may be used to indicate The installation progress of the first application.
  • the electronic device can display the first application in the display area of the icon of the first application before the first application is uninstalled, or in the display area of the folder to which the icon of the first application belongs before the first application is uninstalled, An application icon. Therefore, on the one hand, the user can quickly find the icon of the first application in the target area.
  • the target area is the icon display area previously designated by the user, after reinstalling the first application, The target area may still meet the user's requirement for the display position of the icon of the first application. Therefore, the user may not need to adjust the display position of the icon of the first application, thereby improving the human-computer interaction performance.
  • the electronic device may respond to the user's first input, Obtain the target duration from the moment of uninstalling the first application to the moment of receiving the first input, and install the first application when the target duration is less than or equal to the preset duration.
  • S202 may be specifically implemented by the following S202b.
  • the electronic device acquires the target duration from the moment when the first application is uninstalled to the moment when the first input is received, and installs the first application when the target duration is less than or equal to the preset duration .
  • the electronic device may, in response to the first input, acquire the target duration from the uninstallation moment of the first application to the moment when the first input is received.
  • the first information includes the uninstallation time of the first application
  • the electronic device when the electronic device receives the first input, it can obtain the time when the electronic device receives the first input, that is, the system time of the electronic device at this time, and then The moment when the first application is uninstalled and the moment when the first input is received determine the target duration.
  • the target duration may be a time difference between 12:21 and 12:40 , Which is 19 minutes.
  • the length of time that the electronic device retains the first information corresponding to the first application may be a preset time length. After the preset time period, the electronic device may delete the first information. Therefore, if the target duration is less than or equal to the preset duration, the electronic device can determine and install the first application based on the first information; if the target duration is greater than the preset duration, the electronic device cannot determine the first application based on the first information .
  • the electronic device Since the electronic device retains the first information corresponding to the first application for a preset duration, the electronic device can delete the first information when the duration of retaining the first information corresponding to the first application is greater than the preset duration, thereby Save the fixed memory of electronic equipment.
  • the electronic device can save the information corresponding to the last uninstalled application by default, and delete the information corresponding to other applications in the multiple applications .
  • the electronic device can install the first application according to the first information when the target duration is less than or equal to the preset duration. Therefore, when the first application is uninstalled for a short period of time, the electronic device You can quickly reinstall the first application. At the same time, it can be avoided that when the electronic device has deleted the first information, the electronic device still runs the step of determining the first application according to the first information, thereby saving the running memory of the electronic device.
  • the electronic device may display at least one identification in response to the first input, and receive a third input from the user to the first identification in the at least one identification, and the first identification may be used to indicate the first application that is uninstalled. After that, the electronic device may install the first application in response to the user's third input.
  • the target area is the display area of the icon of the second application that is of the same type as the first application
  • each of the at least one identifier may be used to indicate that it is of the same type as the second application and is uninstalled. Of an application.
  • each of the at least one identifier may be used to indicate that the first application belongs to the folder before being uninstalled.
  • the above S202 may be specifically implemented by the following S202c to S202e.
  • the electronic device In response to the first input, displays at least one identifier.
  • the electronic device may receive the first input of the user, and display at least one identification in response to the first input.
  • each of the at least one logo may be at least one of a text logo and a symbol logo.
  • the electronic device receives the icon of the second application or the icon of the second application After the first input identified above, the electronic device can use the word vector model to match the uninstalled application and belong to the same type as the second application according to the name of the second application and the type of the second application. After that, the electronic device can display at least one identification 91, and each of the at least one identification 91 can be used to indicate an application.
  • the aforementioned word vector model may be a word2vec word vector model.
  • the electronic device receives the display area in the folder After the first input, the application program belonging to the folder before being uninstalled can be matched according to the identifier of the folder. After that, the electronic device can display at least one identification 91, and each of the at least one identification 91 can be used to indicate an application that belongs to the folder before being uninstalled.
  • the electronic device may also display a floating window 92, and the floating window 92 may include at least one logo 91 and a download control 93.
  • the download control 93 can be used to trigger the electronic device to download at least one application program corresponding to the identifier.
  • the electronic device receives a third input of the first identifier in the at least one identifier.
  • the above-mentioned first identifier may be used to indicate the first application.
  • the first identifier may include the name of the first application.
  • the application indicated by the at least one identifier may be an application of the same type.
  • the application indicated by the at least one identifier may be an application of a different type.
  • the above-mentioned third input may be a user's touch operation on the first identifier.
  • the touch operation may be a single click, a double click, a continuous pressing for a preset duration, or a continuous click preset. Set the number of operations. The details can be determined according to actual use requirements, and the embodiment of the present invention does not limit it.
  • the user may also input the download control.
  • the electronic device receives the third input to the first identifier and the input to the download control, it may A confirmation control is displayed, and the confirmation control may include two sub-controls of "OK” and "Cancel".
  • the sub-control "OK” can be used to confirm the download operation of the first application
  • the sub-control "Cancel” can be used to confirm to return to the previous operation, or to confirm the cancellation of the display of the at least one logo.
  • the electronic device installs the first application.
  • the electronic device can download the installation package of the first application and install the first application in response to the input.
  • the electronic device can display at least one identification in response to the first input, the user can input multiple identifications in the at least one identification to realize batch recovery of applications.
  • the electronic device can find the first application according to the type of the second application, even if the electronic device does not save the display area of the icon of the first application, the first application can be quickly reinstalled.
  • the electronic device may also receive the user's first input. Four inputs. Thereafter, the electronic device may respond to the fourth input to display the icon of at least one application according to the target effect, and the icon of the at least one application includes at least the icon of the second application.
  • the application installation method provided in the embodiment of the present invention may further include the following S206 to S207.
  • the electronic device receives the fourth input.
  • the above-mentioned fourth input may be a user's touch operation on the electronic device, voice input, gesture input, gravity input, or other possible input, etc.
  • the specific one can be determined according to actual usage requirements.
  • the embodiments of the invention are not limited.
  • the icon of the at least one application may include the icon of the second application.
  • the icon of the at least one application may be the icon of the target application in the above example 2, that is, the icon of the at least one application may be at least one application that has been installed and uninstalled in the electronic device. Icons for applications of the same type.
  • the electronic device displaying the icon of at least one application according to the target effect may be displaying an identifier 42 on the icon of each of the at least one application.
  • the electronic device displaying the icon of at least one application according to the target effect may also display the icon of at least one application in a floating, highlighting or other possible manner, and the specifics may be determined according to actual usage requirements.
  • the embodiment of the present invention is not limited.
  • the electronic device can display the icon of at least one application according to the target effect in response to the fourth input, the user can select the application of the same type as the first application from the icons of the at least one application, thereby Inputting the same type of application program achieves the purpose of quickly reinstalling the first application.
  • an embodiment of the present invention provides an electronic device 1100.
  • the electronic device 1100 may include a receiving module 1101 and a processing module 1102.
  • the receiving module 1101 may be used to receive the first input to the target area when the first application is uninstalled.
  • the processing module 1102 may be configured to install the first application in response to the first input received by the receiving module 1101.
  • the target area is the display area of the icon of the first application before the first application is uninstalled, or the display area of the icon of the second application of the same type as the first application, or the display area of the icon of the first application before the first application is uninstalled.
  • the receiving module 1101 may also be used to receive a second input to the first application before the first application is uninstalled.
  • the processing module 1102 may also be configured to, in response to the second input received by the receiving module 1101, uninstall the first application and store the first information.
  • the first information may include at least one of the following: the display area of the icon of the first application, the identification of the first application, and the uninstallation time of the first application.
  • the processing module 1102 can be specifically configured to respond to the first input received by the receiving module 1101 and install the first application according to the first information.
  • the electronic device 1100 provided in the embodiment of the present invention may further include a display module 1103.
  • the display module 1103 may be used to display the icon of the first application in the target area after the processing module 1102 installs the first application .
  • the processing module 1102 may be specifically used to obtain information from the first application in response to the first input received by the receiving module 1101 when the first information includes the moment of uninstallation of the first application.
  • the electronic device 1100 provided in the embodiment of the present invention may further include a display module 1103.
  • the display module 1103 may be configured to display at least one identifier in response to the first input received by the receiving module 1101.
  • the receiving module 1101 may also be configured to receive a third input to the first identifier in the at least one identifier displayed by the display module 1103, where the first identifier indicates the first application.
  • the processing module 1102 may be specifically configured to install the first application in response to the third input received by the receiving module 1101.
  • the target area is a display area of an icon of a second application that is of the same type as the first application, and each of the at least one identifier is used to indicate an application that is of the same type as the second application and is uninstalled; or ,
  • the target area is the display area in the folder to which the icon of the first application belongs before the first application is uninstalled, and each of the at least one identification is used to indicate an application that belongs to the folder before being uninstalled.
  • the electronic device 1100 provided in the embodiment of the present invention may further include a display module 1103.
  • the target area is a display area of an icon of a second application that is of the same type as the first application
  • the receiving module 1101 may also be configured to receive a fourth input before receiving the first input.
  • the display module 1103 may also be configured to display an icon of at least one application according to the target effect in response to the fourth input received by the receiving module 1101, and the icon of the at least one application includes the icon of the second application.
  • An embodiment of the present invention provides an electronic device.
  • the electronic device can install the first application in response to the first input after receiving a user's first input to a target area when the first application is uninstalled.
  • the target area is the display area of the icon of the first application before the first application is uninstalled; or the display area of the icon of the second application that belongs to the same type as the first application; or is the display area of the icon of the second application before the first application is uninstalled.
  • the display area in the folder to which the icon of the first application belongs Before being uninstalled, the display area in the folder to which the icon of the first application belongs.
  • the user can trigger the electronic device to quickly install the first application through the first input to the target area without opening the application store and entering the uninstalled
  • the operation steps such as the name of the application program can not only simplify the steps of reinstalling the uninstalled application program, but also save the user's time, thereby improving the human-computer interaction performance.
  • FIG. 13 is a schematic diagram of the hardware structure of an electronic device that implements various embodiments of the present invention.
  • the electronic device 100 includes but is not limited to: a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, and a memory 109 , The processor 110, and the power supply 111 and other components.
  • the structure of the electronic device shown in FIG. 13 does not constitute a limitation on the electronic device.
  • the electronic device may include more or fewer components than those shown in the figure, or a combination of certain components, or different components. Layout.
  • electronic devices include, but are not limited to, mobile phones, tablet computers, notebook computers, palmtop computers, vehicle-mounted terminals, wearable devices, and pedometers.
  • the processor 110 may be used to control the user input unit 107 to receive the first input to the target area when the first application is uninstalled.
  • the processor 110 may also be configured to install the first application in response to the first input.
  • the target area may be the display area of the icon of the first application before the first application is uninstalled, or it may be the display area of the icon of the second application of the same type as the first application, or it may be the display area of the icon of the first application before the first application is uninstalled.
  • the user input unit 107 may also be used to receive the second input, the third input, and the fourth input.
  • the processor 110 may also be configured to, in response to the first input, obtain a target duration from the moment when the first application is uninstalled to the moment when the first input is received, and when the target duration is less than or equal to the preset duration, Install the first application; or in response to the second input, uninstall the first application and store the first information; or in response to the third input, install the first application.
  • the display unit 106 may be used to display the icon of the first application in the target area; or display at least one logo; or in response to the fourth input, display the icon of at least one application according to the target effect.
  • the receiving module 1101 in the above-mentioned structural schematic diagram of the electronic device may be realized by the above-mentioned user input unit 107
  • the processing module 1102 may be realized by the above-mentioned processor 110
  • the display module 1103 in the above-mentioned structural schematic diagram of the electronic device may be implemented by the above-mentioned display unit 106.
  • An embodiment of the present invention provides an electronic device.
  • the electronic device can install the first application in response to the first input after receiving a user's first input to a target area when the first application is uninstalled.
  • the target area is the display area of the icon of the first application before the first application is uninstalled; or the display area of the icon of the second application that belongs to the same type as the first application; or is the display area of the icon of the second application before the first application is uninstalled.
  • the display area in the folder to which the icon of the first application belongs Before being uninstalled, the display area in the folder to which the icon of the first application belongs.
  • the user can trigger the electronic device to quickly install the first application through the first input to the target area without opening the application store and entering the uninstalled
  • the operation steps such as the name of the application program can not only simplify the steps of reinstalling the uninstalled application program, but also save the user's time, thereby improving the human-computer interaction performance.
  • the radio frequency unit 101 can be used for receiving and sending signals in the process of sending and receiving information or talking. Specifically, the downlink data from the base station is received and processed by the processor 110; in addition, Uplink data is sent to the base station.
  • the radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like.
  • the radio frequency unit 101 can also communicate with the network and other devices through a wireless communication system.
  • the electronic device provides users with wireless broadband Internet access through the network module 102, such as helping users to send and receive emails, browse web pages, and access streaming media.
  • the audio output unit 103 can convert the audio data received by the radio frequency unit 101 or the network module 102 or stored in the memory 109 into an audio signal and output it as sound. Moreover, the audio output unit 103 may also provide audio output related to a specific function performed by the electronic device 100 (for example, call signal reception sound, message reception sound, etc.).
  • the audio output unit 103 includes a speaker, a buzzer, a receiver, and the like.
  • the input unit 104 is used to receive audio or video signals.
  • the input unit 104 may include a graphics processing unit (GPU) 1041 and a microphone 1042.
  • the graphics processing unit 1041 is used to capture images of still pictures or videos obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. Data is processed.
  • the processed image frame can be displayed on the display unit 106.
  • the image frame processed by the graphics processor 1041 may be stored in the memory 109 (or other storage medium) or sent via the radio frequency unit 101 or the network module 102.
  • the microphone 1042 can receive sound, and can process such sound into audio data.
  • the processed audio data can be converted into a format that can be sent to the mobile communication base station via the radio frequency unit 101 for output in the case of a telephone call mode.
  • the electronic device 100 further includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors.
  • the light sensor includes an ambient light sensor and a proximity sensor.
  • the ambient light sensor can adjust the brightness of the display panel 1061 according to the brightness of the ambient light.
  • the proximity sensor can close the display panel 1061 and the display panel 1061 when the electronic device 100 is moved to the ear. / Or backlight.
  • the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three axes), and can detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of electronic devices (such as horizontal and vertical screen switching, related games) , Magnetometer attitude calibration), vibration recognition related functions (such as pedometer, percussion), etc.; sensor 105 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, Infrared sensors, etc., will not be repeated here.
  • the display unit 106 is used to display information input by the user or information provided to the user.
  • the display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
  • LCD liquid crystal display
  • OLED organic light-emitting diode
  • the user input unit 107 may be used to receive inputted numeric or character information, and generate key signal input related to user settings and function control of the electronic device.
  • the user input unit 107 includes a touch panel 1071 and other input devices 1072.
  • the touch panel 1071 also called a touch screen, can collect the user's touch operations on or near it (for example, the user uses any suitable objects or accessories such as fingers, stylus, etc.) on the touch panel 1071 or near the touch panel 1071. operating).
  • the touch panel 1071 may include two parts: a touch detection device and a touch controller.
  • the touch detection device detects the user's touch position, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it To the processor 110, the command sent by the processor 110 is received and executed.
  • the touch panel 1071 can be implemented in multiple types such as resistive, capacitive, infrared, and surface acoustic wave.
  • the user input unit 107 may also include other input devices 1072.
  • other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackball, mouse, and joystick, which will not be repeated here.
  • the touch panel 1071 can be overlaid on the display panel 1061.
  • the touch panel 1071 detects a touch operation on or near it, it transmits it to the processor 110 to determine the type of the touch event, and then the processor 110 determines the type of the touch event according to the touch.
  • the type of event provides corresponding visual output on the display panel 1061.
  • the touch panel 1071 and the display panel 1061 are used as two independent components to realize the input and output functions of the electronic device, but in some embodiments, the touch panel 1071 and the display panel 1061 can be integrated
  • the implementation of the input and output functions of the electronic device is not specifically limited here.
  • the interface unit 108 is an interface for connecting an external device with the electronic device 100.
  • the external device may include a wired or wireless headset port, an external power source (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) port, video I/O port, headphone port, etc.
  • the interface unit 108 can be used to receive input (for example, data information, power, etc.) from an external device and transmit the received input to one or more elements in the electronic device 100 or can be used to connect to the electronic device 100 and the external device. Transfer data between devices.
  • the memory 109 can be used to store software programs and various data.
  • the memory 109 may mainly include a program storage area and a data storage area.
  • the program storage area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data created by the use of mobile phones (such as audio data, phone book, etc.), etc.
  • the memory 109 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
  • the processor 110 is the control center of the electronic device, which uses various interfaces and lines to connect the various parts of the entire electronic device, runs or executes software programs and/or modules stored in the memory 109, and calls data stored in the memory 109 , Perform various functions of electronic equipment and process data, so as to monitor the electronic equipment as a whole.
  • the processor 110 may include one or more processing units; optionally, the processor 110 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, the first user interface, and application programs, etc., The modem processor mainly deals with wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 110.
  • the electronic device 100 may also include a power source 111 (such as a battery) for supplying power to various components.
  • a power source 111 such as a battery
  • the power source 111 may be logically connected to the processor 110 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. Management and other functions.
  • the electronic device 100 includes some functional modules not shown, which will not be repeated here.
  • an embodiment of the present invention also provides an electronic device, including a processor 110 as shown in FIG. 13, a memory 109, a computer program stored in the memory 109 and capable of running on the processor 110, and the computer program is
  • the processor 110 implements each process of the above-mentioned application program installation method embodiment during execution, and can achieve the same technical effect. To avoid repetition, details are not described herein again.
  • the embodiment of the present invention also provides a computer-readable storage medium, and a computer program is stored on the computer-readable storage medium.
  • a computer program is stored on the computer-readable storage medium.
  • the computer program is executed by a processor, each process of the above-mentioned application program installation method embodiment is realized, and the same The technical effect, in order to avoid repetition, will not be repeated here.
  • the computer-readable storage medium may include read-only memory (ROM), random access memory (RAM), magnetic disk or optical disk, etc.
  • the method of the above embodiments can be implemented by means of software plus the necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is better. ⁇
  • the technical solution of this application essentially or the part that contributes to the existing technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, The optical disc) includes several instructions to make an electronic device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the method described in each embodiment of the present application.

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Software Systems (AREA)
  • Stored Programmes (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The present invention relates to the technical field of communications. Provided are a method for installing an application program, and an electronic apparatus. The method comprises: after a first application has been offloaded, an electronic apparatus receiving a first input with respect to a target region (S201); and the electronic apparatus installing the first application in response to the first input (S202), wherein the target region is a region in which an icon of the first application was displayed before offloading of the first application, or a region in which an icon of a second application belonging to the same category as the first application is displayed, or a region in a folder in which the icon of the first application was contained and displayed before offloading of the first application.

Description

应用程序安装方法及电子设备Application program installation method and electronic equipment
相关申请的交叉引用Cross-references to related applications
本申请主张在2019年12月19日在中国提交的中国专利申请号201911319653.5的优先权,其全部内容通过引用包含于此。This application claims the priority of Chinese Patent Application No. 201911319653.5 filed in China on December 19, 2019, the entire content of which is incorporated herein by reference.
技术领域Technical field
本发明实施例涉及通信技术领域,尤其涉及一种应用程序安装方法及电子设备。The embodiments of the present invention relate to the field of communication technologies, and in particular, to an application program installation method and electronic equipment.
背景技术Background technique
随着智能电子设备的发展,用户不仅可以根据需求在电子设备中安装各种各样的应用程序,还可以在电子设备内存不足的情况下,将电子设备中的某些应用程序卸载。With the development of smart electronic devices, users can not only install various applications in the electronic devices according to their needs, but can also uninstall certain applications in the electronic devices when the memory of the electronic devices is insufficient.
在实际应用场景中,一种可能的情况为,因为用户误操作导致应用程序被卸载,用户需要重新下载和安装被卸载的应用程序;另一种可能的情况为,在用户正常卸载应用程序后,用户需要重新使用被卸载的应用程序。In actual application scenarios, one possible situation is that the user needs to download and install the uninstalled application again because the application is uninstalled due to user misoperation; another possible situation is that after the user normally uninstalls the application , The user needs to reuse the uninstalled application.
目前,当用户想要重新安装被卸载的应用程序时,用户可以先触发电子设备打开应用商城或下载网页,再在应用商城或下载网页中的搜索栏输入被卸载的应用程序的名称,然后,在服务器搜索到该应用程序的情况下,触发电子设备下载并安装该应用程序,从而导致重新安装被卸载的应用程序较为繁琐。Currently, when a user wants to reinstall an uninstalled application, the user can first trigger the electronic device to open the application store or download webpage, and then enter the name of the uninstalled application in the search bar on the application store or download webpage, and then, When the server searches for the application program, the electronic device is triggered to download and install the application program, which results in cumbersome reinstallation of the uninstalled application program.
发明内容Summary of the invention
本发明实施例提供一种应用程序安装方法及电子设备,以解决重新安装被卸载的应用程序较为繁琐的问题。The embodiments of the present invention provide an application program installation method and an electronic device to solve the problem of cumbersome reinstallation of uninstalled application programs.
为了解决上述技术问题,本发明实施例是这样实现的:In order to solve the above technical problems, the embodiments of the present invention are implemented as follows:
第一方面,本发明实施例提供了一种应用程序安装方法。该方法应用于电子设备,该方法可以包括:在第一应用被卸载的情况下,接收对目标区域的第一输入;响应于第一输入,安装第一应用;其中,目标区域为在第一应用被卸载前第一应用的图标的显示区域,或为与第一应用属于同一类型的第二应用的图标的显示区域,或为在第一应用被卸载前第一应用的图标所属的文件夹中的显示区域。In the first aspect, an embodiment of the present invention provides an application installation method. The method is applied to an electronic device, and the method may include: when the first application is uninstalled, receiving a first input to the target area; in response to the first input, installing the first application; wherein the target area is in the first The display area of the icon of the first application before the application is uninstalled, or the display area of the icon of the second application of the same type as the first application, or the folder to which the icon of the first application belongs before the first application is uninstalled Display area in.
第二方面,本发明实施例提供了一种电子设备。该电子设备包括接收模块和处理模块。接收模块,用于在第一应用被卸载的情况下,接收对目标区域的第一输入;处理模块,用于响应于接收模块接收的第一输入,安装第一应用;其中,目标区域为在第一应用被卸载前第一应用的图标的显示区域,或为与第一应用属于同一类型的第二应用的图标的显示区域,或为在第一应用被卸载前第一应用的图标所属的文件夹中的显示区域。In the second aspect, an embodiment of the present invention provides an electronic device. The electronic device includes a receiving module and a processing module. The receiving module is used to receive the first input to the target area when the first application is uninstalled; the processing module is used to install the first application in response to the first input received by the receiving module; wherein the target area is The display area of the icon of the first application before the first application is uninstalled, or the display area of the icon of the second application of the same type as the first application, or the display area of the icon of the first application before the first application is uninstalled The display area in the folder.
第三方面,本发明实施例提供了一种电子设备,该电子设备包括处理器、存储器及存储在该存储器上并可在该处理器上运行的计算机程序,该计算机程序被该处理器执行时实 现如上述第一方面中的应用程序安装方法的步骤。In a third aspect, an embodiment of the present invention provides an electronic device that includes a processor, a memory, and a computer program stored on the memory and capable of running on the processor. When the computer program is executed by the processor, The steps of the application program installation method in the above-mentioned first aspect are implemented.
第四方面,本发明实施例提供了一种计算机可读存储介质,该计算机可读存储介质上存储计算机程序,该计算机程序被处理器执行时实现如上述第一方面中的应用程序安装方法的步骤。In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium storing a computer program on the computer-readable storage medium, and when the computer program is executed by a processor, it implements the same as the application installation method in the above-mentioned first aspect. step.
本发明实施例中,电子设备可以在第一应用被卸载的情况下,接收到用户对目标区域的第一输入后,并响应于第一输入,安装第一应用。通过该方案,由于目标区域为在第一应用被卸载前,第一应用的图标的显示区域;或为与第一应用属于同一类型的第二应用的图标的显示区域;或为在第一应用被卸载前,第一应用的图标所属的文件夹中的显示区域,因此,用户可以通过对目标区域的第一输入,触发电子设备快速安装第一应用,而无需打开应用商城、输入被卸载的应用程序的名称等操作步骤,从而不仅可以简化重新安装被卸载的应用程序的步骤,而且可以节约用户的时间,进而提升了人机交互性能。In the embodiment of the present invention, the electronic device may install the first application in response to the first input after receiving the user's first input to the target area when the first application is uninstalled. With this solution, because the target area is the display area of the icon of the first application before the first application is uninstalled; or the display area of the icon of the second application that belongs to the same type as the first application; or is the display area of the icon of the second application before the first application is uninstalled. Before being uninstalled, the display area in the folder to which the icon of the first application belongs. Therefore, the user can trigger the electronic device to quickly install the first application through the first input to the target area without opening the application store and entering the uninstalled The operation steps such as the name of the application program can not only simplify the steps of reinstalling the uninstalled application program, but also save the user's time, thereby improving the human-computer interaction performance.
附图说明Description of the drawings
图1为本发明实施例提供的安卓操作系统的架构示意图;FIG. 1 is a schematic diagram of the architecture of an Android operating system provided by an embodiment of the present invention;
图2为本发明实施例提供的应用程序安装方法的流程示意图之一;FIG. 2 is one of the schematic flowcharts of an application installation method provided by an embodiment of the present invention;
图3为本发明实施例提供的目标区域的示意图之一;FIG. 3 is one of the schematic diagrams of the target area provided by the embodiment of the present invention;
图4为本发明实施例提供的目标区域的示意图之二;4 is the second schematic diagram of the target area provided by the embodiment of the present invention;
图5为本发明实施例提供的目标区域的示意图之三;FIG. 5 is the third schematic diagram of the target area provided by the embodiment of the present invention;
图6为本发明实施例提供的应用程序安装方法的流程示意图之二;FIG. 6 is a second schematic flowchart of an application program installation method provided by an embodiment of the present invention;
图7为本发明实施例提供的应用程序安装方法的流程示意图之三;FIG. 7 is the third schematic flowchart of an application program installation method provided by an embodiment of the present invention;
图8为本发明实施例提供的应用程序安装方法的流程示意图之四;FIG. 8 is a fourth schematic flowchart of an application installation method provided by an embodiment of the present invention;
图9为本发明实施例提供的至少一个标识的示意图;FIG. 9 is a schematic diagram of at least one identifier provided by an embodiment of the present invention;
图10为本发明实施例提供的应用程序安装方法的流程示意图之五;FIG. 10 is a fifth schematic flowchart of an application installation method provided by an embodiment of the present invention;
图11为本发明实施例提供的电子设备的结构示意图之一;FIG. 11 is one of schematic structural diagrams of an electronic device provided by an embodiment of the present invention;
图12为本发明实施例提供的电子设备的结构示意图之二;FIG. 12 is the second structural diagram of an electronic device provided by an embodiment of the present invention;
图13为本发明实施例提供的电子设备的硬件示意图。FIG. 13 is a schematic diagram of hardware of an electronic device provided by an embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于所描述的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of them. Based on the described embodiments, all other embodiments obtained by a person of ordinary skill in the art without creative work shall fall within the protection scope of this application.
本文中的术语“和/或”,是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。本文中符号“/”表示关联对象是或者的关系,例如A/B表示A或者B。The term "and/or" in this article refers to an association relationship that describes associated objects, which means that there can be three relationships, for example, A and/or B, which can mean: A alone exists, A and B exist at the same time, exist alone B these three situations. The symbol "/" in this document represents the relationship that the associated object is or, for example, A/B represents A or B.
本文中的术语“第一”和“第二”等是用于区别不同的对象,而不是用于描述对象的特定顺序。例如,第一输入和第二输入等是用于区别不同的输入,而不是用于描述输入的特定顺序。The terms "first" and "second" in this document are used to distinguish different objects, rather than to describe a specific order of objects. For example, the first input and the second input are used to distinguish different inputs, rather than to describe a specific order of input.
在本发明实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。 本发明实施例中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。In the embodiments of the present invention, words such as "exemplary" or "for example" are used to represent examples, illustrations, or illustrations. Any embodiment or design solution described as "exemplary" or "for example" in the embodiments of the present invention should not be construed as being more preferable or advantageous than other embodiments or design solutions. To be precise, words such as "exemplary" or "for example" are used to present related concepts in a specific manner.
本发明实施例中的电子设备可以为具有操作系统的电子设备。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本发明实施例不作具体限定。The electronic device in the embodiment of the present invention may be an electronic device with an operating system. The operating system may be an Android operating system, an ios operating system, or other possible operating systems, which is not specifically limited in the embodiment of the present invention.
下面以安卓操作系统为例,介绍一下本发明实施例提供的应用程序安装方法所应用的软件环境。The following takes the Android operating system as an example to introduce the software environment applied by the application program installation method provided by the embodiment of the present invention.
如图1所示,为本发明实施例提供的一种可能的安卓操作系统的架构示意图。在图1中,安卓操作系统的架构包括4层,分别为:应用程序层、应用程序框架层、系统运行库层和内核层(具体可以为Linux内核层)。As shown in FIG. 1, it is a schematic structural diagram of a possible Android operating system provided by an embodiment of the present invention. In Figure 1, the architecture of the Android operating system includes 4 layers, which are: application layer, application framework layer, system runtime library layer, and kernel layer (specifically, it may be the Linux kernel layer).
其中,应用程序层包括安卓操作系统中的各个应用程序(包括系统应用程序和第三方应用程序)。例如,本发明实施例中电子设备卸载和安装的第一应用。Among them, the application layer includes various applications (including system applications and third-party applications) in the Android operating system. For example, the first application uninstalled and installed by the electronic device in the embodiment of the present invention.
应用程序框架层是应用程序的框架,开发人员可以在遵守应用程序的框架的开发原则的情况下,基于应用程序框架层开发一些应用程序。The application framework layer is the framework of the application. Developers can develop some applications based on the application framework layer while complying with the development principles of the application framework.
通常,应用程序可以包括两部分,一部分是指运行在电子设备后台的服务(service),用于检测用户针对应用程序的输入,并响应于该输入,执行相应的动作,例如,若检测到用户对第一应用的第二输入,则响应于该第二输入,卸载第一应用;另一部分是指显示在电子设备的屏幕上的内容,例如,卸载第一应用后,取消显示第一应用的图标。Generally, an application program can include two parts, one part refers to a service running in the background of an electronic device, which is used to detect user input to the application program, and in response to the input, perform corresponding actions, for example, if the user is detected For the second input of the first application, in response to the second input, the first application is uninstalled; the other part refers to the content displayed on the screen of the electronic device, for example, after the first application is uninstalled, the display of the first application is canceled icon.
系统运行库层包括库(也称为系统库)和安卓操作系统运行环境。库主要为安卓操作系统提供其所需的各类资源。安卓操作系统运行环境用于为安卓操作系统提供软件环境。The system runtime layer includes a library (also called a system library) and an Android operating system runtime environment. The library mainly provides various resources needed by the Android operating system. The Android operating system operating environment is used to provide a software environment for the Android operating system.
内核层是安卓操作系统的操作系统层,属于安卓操作系统软件层次的最底层。内核层基于Linux内核为安卓操作系统提供核心系统服务和与硬件相关的驱动程序。The kernel layer is the operating system layer of the Android operating system and belongs to the lowest level of the Android operating system software level. The kernel layer is based on the Linux kernel to provide core system services and hardware-related drivers for the Android operating system.
以安卓操作系统为例,本发明实施例中,开发人员可以基于上述如图1所示的安卓操作系统的系统架构,开发实现本发明实施例提供的应用程序安装方法的软件程序,从而使得该应用程序安装方法可以基于如图1所示的安卓操作系统运行。即处理器或者电子设备可以通过在安卓操作系统中运行该软件程序实现本发明实施例提供的应用程序安装方法。Taking the Android operating system as an example, in the embodiment of the present invention, a developer can develop a software program that implements the application installation method provided by the embodiment of the present invention based on the system architecture of the Android operating system as shown in FIG. The application installation method can be run based on the Android operating system as shown in FIG. 1. That is, the processor or the electronic device can implement the application program installation method provided in the embodiment of the present invention by running the software program in the Android operating system.
本发明实施例中的电子设备可以为终端设备。该终端设备可以为移动终端设备,也可以为非移动终端设备。示例性的,移动终端设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,非移动终端设备可以为个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本发明实施例不作具体限定。The electronic device in the embodiment of the present invention may be a terminal device. The terminal device may be a mobile terminal device or a non-mobile terminal device. Exemplarily, the mobile terminal device may be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle-mounted terminal, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (personal digital assistant). , PDA), etc., the non-mobile terminal device may be a personal computer (PC), a television (television, TV), a teller machine, or a self-service machine, etc., which is not specifically limited in the embodiment of the present invention.
本发明实施例提供的应用程序安装方法的执行主体可以为上述的电子设备,也可以为该电子设备中能够实现该应用程序安装方法的功能模块和/或功能实体,具体的可以根据实际使用需求确定,本发明实施例不作限定。下面以电子设备为例,对本发明实施例提供的应用程序安装方法进行示例性的说明。The execution subject of the application installation method provided by the embodiment of the present invention may be the above-mentioned electronic device, or may be a functional module and/or functional entity in the electronic device that can implement the application installation method, and may be specifically based on actual usage requirements. It is confirmed that the embodiment of the present invention is not limited. The following takes an electronic device as an example to illustrate the application installation method provided in the embodiment of the present invention.
通常,用户可以通过应用商店或下载网页在电子设备中安装各种各样的应用程序,这些应用程序可以包括曾经在该电子设备中安装过的应用程序。例如,该应用程序可以为用 户在操作电子设备的过程中,因为误操作卸载的应用程序;或者,该应用程序也可以为用户在有意识的状态下卸载,但由于某些原因用户又想重新使用的应用程序。Generally, a user can install various application programs in an electronic device through an application store or a download webpage, and these application programs may include applications that have been installed in the electronic device in the past. For example, the application can be an application that the user uninstalled due to misoperation during the operation of the electronic device; or the application can also be uninstalled by the user in a conscious state, but the user wants to reuse it for some reason s application.
针对曾经在电子设备中安装过的应用程序,例如,可以是第一应用。本申请可以通过对目标区域的第一输入,快速安装第一应用。具体的,用户可以在目标区域中进行第一输入,该目标区域可以为在电子设备第一应用被卸载之前,第一应用的图标的显示区域;或为与第一应用属于同一类型的第二应用的图标的显示区域;或为在第一应用被卸载前,第一应用的图标所属的文件夹中的显示区域。然后,电子设备在接收到用户的第一输入后,可以响应于第一输入,在电子设备中重新安装第一应用。通过该方案,由于目标区域为在第一应用被卸载前,第一应用的图标的显示区域;或为与第一应用属于同一类型的第二应用的图标的显示区域;或为在第一应用被卸载前,第一应用的图标所属的文件夹中的显示区域,因此,用户可以通过对目标区域的第一输入,触发电子设备快速安装第一应用,而无需打开应用商城、输入被卸载的应用程序的名称等操作步骤,从而不仅可以简化重新安装被卸载的应用程序的步骤,而且可以节约用户的时间,进而提升了人机交互性能。For an application that has been installed in an electronic device, for example, it may be the first application. This application can quickly install the first application through the first input to the target area. Specifically, the user may perform the first input in the target area, which may be the display area of the icon of the first application before the first application of the electronic device is uninstalled; or the second application of the same type as the first application. The display area of the icon of the application; or the display area in the folder to which the icon of the first application belongs before the first application is uninstalled. Then, after receiving the first input of the user, the electronic device may reinstall the first application in the electronic device in response to the first input. With this solution, because the target area is the display area of the icon of the first application before the first application is uninstalled; or the display area of the icon of the second application that belongs to the same type as the first application; or is the display area of the icon of the second application before the first application is uninstalled. Before being uninstalled, the display area in the folder to which the icon of the first application belongs. Therefore, the user can trigger the electronic device to quickly install the first application through the first input to the target area without opening the application store and entering the uninstalled The operation steps such as the name of the application program can not only simplify the steps of reinstalling the uninstalled application program, but also save the user's time, thereby improving the human-computer interaction performance.
下面再结合各个附图对本发明实施例提供的应用程序安装方法进行示例性的说明。Hereinafter, the application installation method provided by the embodiment of the present invention will be exemplarily described in conjunction with the respective drawings.
如图2所示,本发明实施例提供一种应用程序安装方法,该方法可以应用于电子设备。该方法可以包括下述的S201至S202。As shown in FIG. 2, an embodiment of the present invention provides an application program installation method, which can be applied to an electronic device. The method may include the following S201 to S202.
S201、在第一应用被卸载的情况下,电子设备接收对目标区域的第一输入。S201: When the first application is uninstalled, the electronic device receives a first input to the target area.
本发明实施例中,目标区域可以为在第一应用被卸载前,第一应用的图标的显示区域;或为与第一应用属于同一类型的第二应用的图标的显示区域;或为在第一应用被卸载前,第一应用的图标所属的文件夹中的显示区域。In the embodiment of the present invention, the target area may be the display area of the icon of the first application before the first application is uninstalled; or the display area of the icon of the second application of the same type as the first application; or Before an application is uninstalled, the display area in the folder to which the icon of the first application belongs.
下面结合附图3至附图5,以第一应用为应用程序“购物2”为例,通过下述的3个示例对目标区域进行说明。In the following, with reference to Figs. 3 to 5, taking the first application as the application "Shopping 2" as an example, the target area will be explained through the following three examples.
示例1:目标区域可以为在第一应用被卸载前,第一应用的图标的显示区域。Example 1: The target area may be the display area of the icon of the first application before the first application is uninstalled.
如图3中的(a)所示,在电子设备显示一个桌面界面的情况下,用户可以通过对桌面界面中任意一个图标的长按输入,触发电子设备在每个应用程序的图标上显示与该应用程序对应的卸载标识,卸载标识可以用于指示应用程序处于待卸载状态。以电子设备在应用程序“购物2”的图标32上显示卸载标识31为例进行说明,用户可以对卸载标识31进行点击输入。之后,如图3中的(b)所示,电子设备可以响应于该点击输入,将应用程序“购物2”卸载,并取消显示应用程序“购物2”的图标32。目标区域可以为卸载应用程序“购物2”前,应用程序“购物2”的图标32的显示区域,即图3中(b)中的虚线框33所包围的区域。As shown in Figure 3(a), when the electronic device displays a desktop interface, the user can trigger the electronic device to display and display on the icon of each application by long-pressing any icon in the desktop interface. The uninstallation identifier corresponding to the application program, the uninstallation identifier may be used to indicate that the application program is in a pending uninstallation state. Taking the electronic device displaying the uninstallation identification 31 on the icon 32 of the application "Shopping 2" as an example for description, the user can click and input the uninstallation identification 31. After that, as shown in (b) of FIG. 3, the electronic device can uninstall the application "Shopping 2" and cancel the display of the icon 32 of the application "Shopping 2" in response to the click input. The target area may be the display area of the icon 32 of the application "Shopping 2" before the application "Shopping 2" is uninstalled, that is, the area enclosed by the dashed box 33 in FIG. 3(b).
示例2:目标区域可以为与第一应用属于同一类型的第二应用的图标的显示区域。Example 2: The target area may be a display area of an icon of a second application that belongs to the same type as the first application.
假设如图4所示的桌面中原本安装有应用程序“购物2”,用户可以触发电子设备卸载应用程序“购物2”。如图4中的(a)所示,在应用程序“购物2”被卸载后,由于电子设备中还安装有与应用程序“购物2”属于同一类型的应用程序“购物1”,因此,第二应用可以为应用程序“购物1。目标区域可以为图4中(a)所示的应用程序“购物1”的图标所在的区域;或者,也可以为图4中(b)所示的在应用程序“购物1”的图标上显示的标识42所在的区域,该标识42可以用于指示在电子设备安装过的所有应用程序中具有与应用程序“购物1”类型相同的应用程序。Assuming that the application "Shopping 2" is originally installed on the desktop as shown in FIG. 4, the user can trigger the electronic device to uninstall the application "Shopping 2". As shown in Figure 4(a), after the application "Shopping 2" is uninstalled, the electronic device is also installed with the application "Shopping 1" which is of the same type as the application "Shopping 2". Therefore, the first The second application can be the application "Shopping 1. The target area can be the area where the icon of the application "Shopping 1" shown in Figure 4 (a) is located; or, it can also be the one shown in Figure 4 (b). The area where the logo 42 displayed on the icon of the application "Shopping 1" is located, and the logo 42 can be used to indicate that there is an application of the same type as the application "Shopping 1" among all the applications installed on the electronic device.
应用程序“购物2”的卸载过程具体可参考上述示例1中的相关描述,此处不再赘述。For the uninstallation process of the application "Shopping 2", please refer to the relevant description in the above example 1, which will not be repeated here.
需要说明的是,在目标区域为应用程序“购物1”的图标上显示的标识所在的区域的情况下,在接收对目标区域的第一输入之前,电子设备可以先接收触发电子设备在目标应用程序的图标上显示标识的输入,之后,电子设备可以响应于该输入,在目标应用程序的图标上显示标识。该目标应用程序是指与电子设备中安装过、并且已经卸载的至少一个应用程序类型相同的应用程序,该目标应用程序包括应用程序“购物1”。It should be noted that, in the case where the target area is the area where the logo displayed on the icon of the application "Shopping 1" is located, before receiving the first input to the target area, the electronic device may first receive the trigger of the electronic device in the target application The input of the identification is displayed on the icon of the program, and then the electronic device can display the identification on the icon of the target application in response to the input. The target application refers to an application of the same type as at least one application that has been installed and uninstalled in the electronic device, and the target application includes the application "Shopping 1".
可选的,上述触发电子设备在目标应用程序的图标上显示标识的输入可以为触控输入、语音输入、手势输入、重力输入或其他可能的输入等,本发明实施例对此不作限定。Optionally, the input that triggers the electronic device to display the logo on the icon of the target application may be touch input, voice input, gesture input, gravity input, or other possible input, which is not limited in the embodiment of the present invention.
示例3:目标区域可以为在第一应用被卸载前,第一应用的图标所属的文件夹中的显示区域。Example 3: The target area may be the display area in the folder to which the icon of the first application belongs before the first application is uninstalled.
如图5中的(a)所示,应用程序“购物2”被卸载前,购物类文件夹中包括应用程序“购物1”的图标、应用程序“购物2”的图标、应用程序“购物3”的图标和应用程序“购物4”的图标。如图5中的(b)所示,应用程序“购物2”被卸载后,购物类文件夹中包括应用程序“购物1”的图标、应用程序“购物3”的图标和应用程序“购物4”的图标,且应用程序“购物2”的图标的显示区域可以用于显示其他应用程序的图标。As shown in Figure 5(a), before the application "Shopping 2" is uninstalled, the shopping folder includes the icon of the application "Shopping 1", the icon of the application "Shopping 2", and the application "Shopping 3" "Icon and the application "Shopping 4" icon. As shown in Figure 5(b), after the application "Shopping 2" is uninstalled, the shopping folder includes the icon of the application "Shopping 1", the icon of the application "Shopping 3" and the application "Shopping 4" ", and the display area of the icon of the application "Shopping 2" can be used to display icons of other applications.
应用程序“购物2”的卸载过程具体可参考上述示例1中的相关描述,此处不再赘述。For the uninstallation process of the application "Shopping 2", please refer to the relevant description in the above example 1, which will not be repeated here.
继续参考图5中的(b),购物类文件夹中的显示区域可以包括图标显示区域和空白区域。例如,图标显示区域可以为应用程序“购物1”的图标的显示区域,空白区域可以为图5中的(b)中的虚线框51所包围的区域。目标区域可以为购物类文件夹中的图标显示区域,也可以为购物类文件夹中的空白区域。Continuing to refer to (b) in FIG. 5, the display area in the shopping folder may include an icon display area and a blank area. For example, the icon display area may be the display area of the icon of the application "Shopping 1", and the blank area may be the area enclosed by the dashed frame 51 in (b) of FIG. 5. The target area can be the icon display area in the shopping folder or a blank area in the shopping folder.
需要说明的是,文件夹中的应用程序的类型可以是相同的,也可以是不同的,上述示例3中仅以文件夹中的应用程序的类型相同为例对目标区域进行说明。对于文件夹中的应用程序的类型不相同的情况,具体可参考示例3中的相关描述,此处不再赘述。It should be noted that the types of applications in the folders may be the same or different. In the above example 3, only the same types of applications in the folders are used as an example to describe the target area. For cases where the types of applications in the folders are not the same, please refer to the related description in Example 3 for details, which will not be repeated here.
可选的,本发明实施例中,上述第一输入可以为用户对目标区域的触控操作,示例性的,该触控操作可以为单击、双击、连续按压预设时长或者连续点击预设次数的操作。具体的可以根据实际使用需求确定,本发明实施例不作限定。Optionally, in the embodiment of the present invention, the above-mentioned first input may be a user's touch operation on the target area. Illustratively, the touch operation may be a single click, a double tap, a preset duration of continuous pressing, or a preset duration of continuous tapping. The number of operations. The details can be determined according to actual use requirements, and the embodiment of the present invention does not limit it.
S202、电子设备响应于第一输入,安装第一应用。S202. The electronic device installs the first application in response to the first input.
需要说明的是,本发明实施例中,上述安装第一应用可以包括两个步骤:步骤1、从服务器下载第一应用的安装包;步骤2、根据该安装包,重新安装第一应用。可以理解的是,如果在第一应用卸载后,第一应用的安装包仍保存与电子设备中,那么电子设备可以无需执行步骤1,而直接执行步骤2。It should be noted that, in the embodiment of the present invention, the above-mentioned installation of the first application may include two steps: Step 1. Download the installation package of the first application from the server; Step 2. Reinstall the first application according to the installation package. It is understandable that if the installation package of the first application is still stored in the electronic device after the first application is uninstalled, the electronic device may directly execute step 2 without performing step 1.
示例性的,以第一应用为应用程序“购物2”,目标区域为在第一应用被卸载前第一应用的图标的显示区域为例。在电子设备接收到在目标区域的第一输入之后,电子设备可以响应于第一输入,根据该目标区域,确定该目标区域之前显示过被卸载的第一应用的图标,并从服务器获取第一应用的安装包,以及根据该安装包,重新安装应用程序“购物2”。Exemplarily, it is taken as an example that the first application is the application "Shopping 2", and the target area is the display area of the icon of the first application before the first application is uninstalled. After the electronic device receives the first input in the target area, the electronic device may respond to the first input, according to the target area, determine that the target area has previously displayed the icon of the first application that was uninstalled, and obtain the first application from the server. The installation package of the application, and according to the installation package, reinstall the application "Shopping 2".
本发明实施例提供一种应用程序安装方法,电子设备可以在第一应用被卸载的情况下,接收到用户对目标区域的第一输入后,并响应于第一输入,安装第一应用。通过该方案,由于目标区域为在第一应用被卸载前,第一应用的图标的显示区域;或为与第一应用属于同一类型的第二应用的图标的显示区域;或为在第一应用被卸载前,第一应用的图标 所属的文件夹中的显示区域,因此,用户可以通过对目标区域的第一输入,触发电子设备快速安装第一应用,而无需打开应用商城、输入被卸载的应用程序的名称等操作步骤,从而不仅可以简化重新安装被卸载的应用程序的步骤,而且可以节约用户的时间,进而提升了人机交互性能。An embodiment of the present invention provides an application installation method. When the first application is uninstalled, the electronic device can install the first application in response to the first input after receiving the user's first input to the target area. With this solution, because the target area is the display area of the icon of the first application before the first application is uninstalled; or the display area of the icon of the second application that belongs to the same type as the first application; or is the display area of the icon of the second application before the first application is uninstalled. Before being uninstalled, the display area in the folder to which the icon of the first application belongs. Therefore, the user can trigger the electronic device to quickly install the first application through the first input to the target area without opening the application store and entering the uninstalled The operation steps such as the name of the application program can not only simplify the steps of reinstalling the uninstalled application program, but also save the user's time, thereby improving the human-computer interaction performance.
可选的,在电子设备接收对目标区域的第一输入之前,电子设备可以响应于用户的输入,卸载第一应用,并存储第一应用的相关信息,从而电子设备在接收到第一输入之后,可以根据第一应用的相关信息,重新安装第一应用。Optionally, before the electronic device receives the first input to the target area, the electronic device may, in response to the user's input, uninstall the first application, and store related information of the first application, so that the electronic device after receiving the first input , The first application can be reinstalled according to the related information of the first application.
示例性的,结合图2,如图6所示,在上述S201之前,本发明实施例提供的应用程序安装方法还可以包括下述的S203至S204。Exemplarily, with reference to FIG. 2, as shown in FIG. 6, before the foregoing S201, the application installation method provided in the embodiment of the present invention may further include the following S203 to S204.
S203、电子设备接收对第一应用的第二输入。S203. The electronic device receives a second input to the first application.
可选的,本发明实施例中,第二输入可以为上述示例1中的用户对如图3中的(a)所示卸载标识31的触控操作,也可以为用户对第一应用的图标的拖动操作,具体的可以根据实际使用需求确定,本发明实施例不作限定。Optionally, in the embodiment of the present invention, the second input may be the user's touch operation on the uninstallation mark 31 as shown in (a) in FIG. 3 in the above example 1, or the user's icon of the first application The specific drag operation can be determined according to actual usage requirements, which is not limited in the embodiment of the present invention.
例如,以第二输入为用户对第一应用的图标的拖动操作为例,在用户拖动第一应用的图标偏离第一应用的图标的原本显示区域的距离大于或等于预设距离的情况下,电子设备可以在电子设备的屏幕上显示预设卸载区域标识,在第一应用的图标被拖动到预设卸载区域标识所包围的区域内的情况下,电子设备可以接收对第一应用的第二输入。For example, taking the second input as the user's drag operation on the icon of the first application as an example, when the distance of the user dragging the icon of the first application from the original display area of the icon of the first application is greater than or equal to the preset distance Next, the electronic device may display the preset uninstallation area identifier on the screen of the electronic device, and in the case that the icon of the first application is dragged into the area surrounded by the preset uninstallation area identifier, the electronic device may receive a request to the first application The second input.
S204、电子设备响应于第二输入,卸载第一应用,并存储第一信息。S204. In response to the second input, the electronic device uninstalls the first application and stores the first information.
电子设备中包括一个监控应用程序卸载过程的监控进程。在电子设备接收到用户对第一应用的第二输入后,电子设备可以运行该监控进程,该监控进程可以记录并将第一信息存储到本地文件或数据库中。The electronic device includes a monitoring process for monitoring the uninstallation process of the application program. After the electronic device receives the user's second input to the first application, the electronic device can run the monitoring process, and the monitoring process can record and store the first information in a local file or database.
本发明实施例中,第一信息可以包括以下至少一项:第一应用的图标的显示区域、第一应用的标识和第一应用的卸载时刻。In the embodiment of the present invention, the first information may include at least one of the following: the display area of the icon of the first application, the identification of the first application, and the uninstallation time of the first application.
可选的,第一应用的图标的显示区域具体可以包括以下至少一项:第一应用的图标所在的桌面界面,第一应用的图标在桌面界面中的显示位置,第一应用的图标所在的文件夹,第一应用的图标在文件夹中的显示位置。Optionally, the display area of the icon of the first application may specifically include at least one of the following: the desktop interface where the icon of the first application is located, the display position of the icon of the first application in the desktop interface, and the location where the icon of the first application is located. Folder, the display position of the icon of the first application in the folder.
示例性的,第一应用的图标的显示区域可以通过第一应用的图标所在的屏幕的标识、第一应用的图标的行标识以及第一应用的图标的列标识表示。例如,若电子设备包括至少两个屏幕,且第一应用的图标在第二屏中的第二行第三列的位置显示,则第一应用的图标的显示区域可以表示为(2,2,3);或者,第一应用的图标的显示区域还可以通过第一应用的图标所属的文件夹的标识表示。Exemplarily, the display area of the icon of the first application may be represented by the identification of the screen where the icon of the first application is located, the row identification of the icon of the first application, and the column identification of the icon of the first application. For example, if the electronic device includes at least two screens, and the icon of the first application is displayed in the second row and third column of the second screen, the display area of the icon of the first application may be expressed as (2, 2, 3); Alternatively, the display area of the icon of the first application may also be indicated by the identifier of the folder to which the icon of the first application belongs.
可选的,本发明实施例中,第一应用的标识可以为以下至少一项:第一应用的名称、第一应用的图标、第一应用的安装包的名称、第一应用的版本号。具体的可以根据实际使用需求确定,本发明实施例不作限定。Optionally, in this embodiment of the present invention, the identifier of the first application may be at least one of the following: the name of the first application, the icon of the first application, the name of the installation package of the first application, and the version number of the first application. The details can be determined according to actual use requirements, and the embodiment of the present invention does not limit it.
可选的,本发明实施例中,第一应用的卸载时刻是指当第一应用被卸载时,电子设备的系统时间。Optionally, in this embodiment of the present invention, the uninstallation moment of the first application refers to the system time of the electronic device when the first application is uninstalled.
可选的,结合上述S203至S204中的步骤,上述S202具体可以通过下述的S202a实现,即在电子设备执行S201之后,电子设备可以执行下述S202a。Optionally, in combination with the steps in S203 to S204, the above S202 may be specifically implemented by the following S202a, that is, after the electronic device executes S201, the electronic device may execute the following S202a.
S202a、电子设备响应于第一输入,根据第一信息,安装第一应用。S202a. In response to the first input, the electronic device installs the first application according to the first information.
示例性的,由于第一信息可以包括第一应用的图标的显示区域,因此,如果目标区域为在第一应用被卸载前,第一应用的图标的显示区域,那么在电子设备接收到用户对目标区域的第一输入之后,电子设备可以根据第一应用的图标的显示区域,确定待重新安装的应用程序为第一应用,从而电子设备可以从应用商或下载网页中获取第一应用的安装包,进而完成第一应用的安装。Exemplarily, since the first information may include the display area of the icon of the first application, if the target area is the display area of the icon of the first application before the first application is uninstalled, then the electronic device receives the user’s response After the first input of the target area, the electronic device can determine that the application to be reinstalled is the first application according to the display area of the icon of the first application, so that the electronic device can obtain the installation of the first application from the application vendor or the download webpage Package, and then complete the installation of the first application.
示例性的,由于第一信息可以包括第一应用的图标的存储路径,该存储路径可以为第一应用所属的文件夹标识,因此,如果目标区域为在第一应用被卸载前,第一应用的图标所属的文件夹中的显示区域,那么在接收到用户对目标区域的第一输入之后,电子设备可以根据该文件夹标识确定待重新安装的应用为第一应用,从而电子设备可以从应用商店或下载网页中获取第一应用的安装包,进而完成第一应用的安装。Exemplarily, since the first information may include the storage path of the icon of the first application, the storage path may be the identifier of the folder to which the first application belongs. Therefore, if the target area is before the first application is uninstalled, the first application The display area in the folder to which the icon belongs, then after receiving the user’s first input to the target area, the electronic device can determine the application to be reinstalled as the first application according to the folder identifier, so that the electronic device can download from the application The installation package of the first application is obtained from the store or the download webpage, and the installation of the first application is completed.
可选的,本发明实施例中,电子设备还可以通过电子设备中的监控进程记录并存储电子设备中应用程序的排版信息,该排版信息用于指示应用程序的图标在电子设备屏幕上的排列位置。当电子设备接收对目标区域的第一输入后,电子设备可以响应于第一输入,将历史排版信息应用到电子设备的屏幕中,即电子设备可以按照历史排版信息显示应用程序的图标。Optionally, in the embodiment of the present invention, the electronic device may also record and store the layout information of the application in the electronic device through the monitoring process in the electronic device, and the layout information is used to indicate the arrangement of the icons of the application on the screen of the electronic device. position. After the electronic device receives the first input to the target area, the electronic device can respond to the first input and apply the historical typesetting information to the screen of the electronic device, that is, the electronic device can display the application icon according to the historical typesetting information.
本发明实施例中,由于当电子设备卸载第一应用时,电子设备可以存储与第一应用相关的第一信息,因此,在电子设备接收到用户到目标区域的第一输入之后,电子设备可以根据目标区域、第一信息与第一应用之间的对应关系,确定待安装的应用为第一应用,进而完成第一应用的安装。In the embodiment of the present invention, when the electronic device uninstalls the first application, the electronic device can store the first information related to the first application. Therefore, after the electronic device receives the first input from the user to the target area, the electronic device can According to the corresponding relationship between the target area, the first information, and the first application, it is determined that the application to be installed is the first application, and then the installation of the first application is completed.
可选的,在目标区域为在第一应用被卸载前第一应用的图标的显示区域,或为第一应用被卸载前第一应用的图标所属的文件夹中的显示区域的情况下,电子设备接收到用户对目标区域的第一输入后,电子设备可以响应于该第一输入,安装第一应用,并在该目标区域显示第一应用的图标。Optionally, when the target area is the display area of the icon of the first application before the first application is uninstalled, or is the display area in the folder to which the icon of the first application belongs before the first application is uninstalled, the electronic After the device receives the user's first input to the target area, the electronic device may respond to the first input, install the first application, and display the icon of the first application in the target area.
示例性的,结合图2,参考图7,在上述S202之后,本发明实施例提供的应用程序安装方法还可以包括下述的S205。Exemplarily, referring to FIG. 2 with reference to FIG. 7, after the above S202, the application installation method provided in the embodiment of the present invention may further include the following S205.
S205、电子设备在目标区域显示第一应用的图标。S205. The electronic device displays the icon of the first application in the target area.
在目标区域为在第一应用被卸载前第一应用的图标的显示区域的情况下,电子设备接收到用户对目标区域的第一输入后,电子设备可以安装第一应用,并在第一应用被卸载前第一应用的图标的显示区域显示第一应用的图标。When the target area is the display area of the icon of the first application before the first application is uninstalled, after the electronic device receives the user’s first input to the target area, the electronic device can install the first application and display the The display area of the icon of the first application before being uninstalled displays the icon of the first application.
在第一应用的图标位于文件夹中的情况下,由于文件夹中的应用程序会默认自动排序,以避免在两个相邻的图标之间保留一个图标的空位,因此,在电子设备接收到用户第一输入后,该第一输入可以为对文件夹中的空白位置的输入,电子设备可以先根据文件夹的标识确定第一应用,并在该文件夹中的空白位置显示第一应用的图标。In the case that the icon of the first application is located in the folder, the applications in the folder will be automatically sorted by default to avoid leaving an icon space between two adjacent icons. Therefore, the electronic device receives After the user's first input, the first input may be an input to a blank location in the folder. The electronic device may first determine the first application according to the identifier of the folder, and display the first application in the blank location in the folder. icon.
需要说明的是,在电子设备安装第一应用的过程中,电子设备可以在目标区域显示第一应用的图标,并在第一应用的图标上叠加显示一个进度标识,该进度标识可以用于指示第一应用的安装进度。It should be noted that during the process of installing the first application on the electronic device, the electronic device may display the icon of the first application in the target area, and superimpose a progress indicator on the icon of the first application, and the progress indicator may be used to indicate The installation progress of the first application.
本发明实施例中,由于电子设备可以在第一应用被卸载前第一应用的图标的显示区域,或在第一应用被卸载前第一应用的图标所属的文件夹中的显示区域,显示第一应用的图标,因此,一方面,用户可以在目标区域快速地查找到第一应用的图标,另一方面,由 于目标区域为用户先前指定的图标显示区域,因此在重新安装第一应用之后,目标区域可能仍然符合用户对第一应用图标显示位置的要求,从而,用户可以无需调整第一应用的图标的显示位置,进而提高人机交互性能。In the embodiment of the present invention, since the electronic device can display the first application in the display area of the icon of the first application before the first application is uninstalled, or in the display area of the folder to which the icon of the first application belongs before the first application is uninstalled, An application icon. Therefore, on the one hand, the user can quickly find the icon of the first application in the target area. On the other hand, since the target area is the icon display area previously designated by the user, after reinstalling the first application, The target area may still meet the user's requirement for the display position of the icon of the first application. Therefore, the user may not need to adjust the display position of the icon of the first application, thereby improving the human-computer interaction performance.
可选的,在目标区域为在第一应用被卸载前第一应用的图标的显示区域,且第一信息包括第一应用的卸载时刻的情况下,电子设备可以响应于用户的第一输入,获取从第一应用的卸载时刻到接收到第一输入的时刻之间的目标时长,并在目标时长小于或等于预设时长的情况下,安装第一应用。Optionally, when the target area is the display area of the icon of the first application before the first application is uninstalled, and the first information includes the uninstallation moment of the first application, the electronic device may respond to the user's first input, Obtain the target duration from the moment of uninstalling the first application to the moment of receiving the first input, and install the first application when the target duration is less than or equal to the preset duration.
示例性的,上述S202具体可以通过下述的S202b实现。Exemplarily, the foregoing S202 may be specifically implemented by the following S202b.
S202b、电子设备响应于第一输入,获取从第一应用的卸载时刻到接收到第一输入的时刻之间的目标时长,并在目标时长小于或等于预设时长的情况下,安装第一应用。S202b. In response to the first input, the electronic device acquires the target duration from the moment when the first application is uninstalled to the moment when the first input is received, and installs the first application when the target duration is less than or equal to the preset duration .
第一信息包括第一应用的卸载时刻的情况下,电子设备可以响应于第一输入,获取从第一应用的卸载时刻到接收到第一输入的时刻之间的目标时长。具体的,由于第一信息包括第一应用的卸载时刻,因此,电子设备在接收到第一输入时,可以获取电子设备接收到第一输入的时刻,即此时电子设备的系统时间,并根据第一应用的卸载时刻和接收到第一输入的时刻确定目标时长。In the case where the first information includes the uninstallation moment of the first application, the electronic device may, in response to the first input, acquire the target duration from the uninstallation moment of the first application to the moment when the first input is received. Specifically, since the first information includes the uninstallation time of the first application, when the electronic device receives the first input, it can obtain the time when the electronic device receives the first input, that is, the system time of the electronic device at this time, and then The moment when the first application is uninstalled and the moment when the first input is received determine the target duration.
示例性的,若第一应用的卸载时刻为上午12:21分,接收到第一输入的时刻为上午12:40分,则目标时长可以为12:21分与12:40分之间的时间差,即19分钟。Exemplarily, if the uninstallation time of the first application is 12:21 in the morning, and the time when the first input is received is 12:40 in the morning, the target duration may be a time difference between 12:21 and 12:40 , Which is 19 minutes.
可选的,第一应用被卸载后,电子设备保留第一应用对应的第一信息的时长可以为预设时长。在预设时长之后,电子设备可以删除第一信息。因此,若目标时长小于或等于预设时长,则电子设备可以根据该第一信息确定并安装第一应用;若目标时长大于预设时长,则电子设备就无法根据该第一信息确定第一应用。Optionally, after the first application is uninstalled, the length of time that the electronic device retains the first information corresponding to the first application may be a preset time length. After the preset time period, the electronic device may delete the first information. Therefore, if the target duration is less than or equal to the preset duration, the electronic device can determine and install the first application based on the first information; if the target duration is greater than the preset duration, the electronic device cannot determine the first application based on the first information .
由于电子设备保留第一应用对应的第一信息的时长为预设时长,因此电子设备可以在保留第一应用对应的第一信息的时长大于预设时长的情况下,删除该第一信息,从而节约电子设备的固定内存。Since the electronic device retains the first information corresponding to the first application for a preset duration, the electronic device can delete the first information when the duration of retaining the first information corresponding to the first application is greater than the preset duration, thereby Save the fixed memory of electronic equipment.
需要说明的是,若目标区域在预设时长内卸载了多个应用程序,则电子设备可以默认保存最后一个被卸载的应用程序对应的信息,而删除多个应用程序中其他应用程序对应的信息。It should be noted that if multiple applications are uninstalled in the target area within the preset time period, the electronic device can save the information corresponding to the last uninstalled application by default, and delete the information corresponding to other applications in the multiple applications .
本发明实施例中,由于电子设备可以在目标时长小于或等于预设时长的情况下,根据第一信息安装第一应用,因此,在第一应用被卸载的时长较短的情况下,电子设备可以快速重新安装第一应用。同时,可以避免在电子设备已经删除第一信息的情况下,电子设备仍旧运行根据第一信息确定第一应用的步骤,从而节约电子设备的运行内存。In the embodiment of the present invention, the electronic device can install the first application according to the first information when the target duration is less than or equal to the preset duration. Therefore, when the first application is uninstalled for a short period of time, the electronic device You can quickly reinstall the first application. At the same time, it can be avoided that when the electronic device has deleted the first information, the electronic device still runs the step of determining the first application according to the first information, thereby saving the running memory of the electronic device.
可选的,电子设备可以响应于第一输入,显示至少一个标识,并接收用户对至少一个标识中的第一标识的第三输入,该第一标识可以用于指示被卸载的第一应用。之后,电子设备可以响应于用户的第三输入,安装第一应用。其中,在目标区域为与第一应用属于同一类型的第二应用的图标的显示区域的情况下,该至少一个标识中的每个标识可以用于指示与第二应用属于同一类型、且被卸载的一个应用程序。在目标区域为在第一应用被卸载前第一应用的图标所属的文件夹中的显示区域的情况下,该至少一个标识中的每个标识可以用于指示在被卸载前属于该文件夹的一个应用程序。Optionally, the electronic device may display at least one identification in response to the first input, and receive a third input from the user to the first identification in the at least one identification, and the first identification may be used to indicate the first application that is uninstalled. After that, the electronic device may install the first application in response to the user's third input. Wherein, in the case that the target area is the display area of the icon of the second application that is of the same type as the first application, each of the at least one identifier may be used to indicate that it is of the same type as the second application and is uninstalled. Of an application. In the case where the target area is the display area in the folder to which the icon of the first application belongs before the first application is uninstalled, each of the at least one identifier may be used to indicate that the first application belongs to the folder before being uninstalled. An application.
示例性的,结合图2,参考图8,本发明实施例提供的应用程序安装方法中,上述S202 具体可以通过下述的S202c至S202e实现。Exemplarily, referring to FIG. 2 and referring to FIG. 8, in the application installation method provided by the embodiment of the present invention, the above S202 may be specifically implemented by the following S202c to S202e.
S202c、电子设备响应于第一输入,显示至少一个标识。S202c. In response to the first input, the electronic device displays at least one identifier.
可选的,电子设备可以接收用户的第一输入,并响应于该第一输入,显示至少一个标识。Optionally, the electronic device may receive the first input of the user, and display at least one identification in response to the first input.
可选的,至少一个标识中的每个标识可以为文字标识、符号标识中的至少一个。Optionally, each of the at least one logo may be at least one of a text logo and a symbol logo.
如图9中的(a)所示,在目标区域为与第一应用属于同一类型的第二应用的图标的显示区域的情况下,电子设备接收对第二应用的图标或者第二应用的图标上标识的第一输入后,电子设备可以根据第二应用的名称和第二应用的类型,利用词向量模型匹配被卸载的、且与该第二应用属于同一类型的应用程序。之后,电子设备可以显示至少一个标识91,该至少一个标识91中的每个标识都可以用于指示一个应用程序。As shown in (a) in FIG. 9, in a case where the target area is the display area of the icon of the second application that belongs to the same type as the first application, the electronic device receives the icon of the second application or the icon of the second application After the first input identified above, the electronic device can use the word vector model to match the uninstalled application and belong to the same type as the second application according to the name of the second application and the type of the second application. After that, the electronic device can display at least one identification 91, and each of the at least one identification 91 can be used to indicate an application.
可选的,本发明实施例中,上述词向量模型可以为word2vec词向量模型。Optionally, in this embodiment of the present invention, the aforementioned word vector model may be a word2vec word vector model.
如图9中的(b)所示,在目标区域为在第一应用被卸载前第一应用的图标所属的文件夹中的显示区域的情况下,电子设备接收对文件夹中的显示区域的第一输入后,可以根据该文件夹的标识匹配被卸载前属于该文件夹的应用程序。之后,电子设备可以显示至少一个标识91,至少一个标识91中的每个标识都可以用于指示一个被卸载前属于该文件夹的应用程序。As shown in FIG. 9(b), in the case where the target area is the display area in the folder to which the icon of the first application belongs before the first application is uninstalled, the electronic device receives the display area in the folder After the first input, the application program belonging to the folder before being uninstalled can be matched according to the identifier of the folder. After that, the electronic device can display at least one identification 91, and each of the at least one identification 91 can be used to indicate an application that belongs to the folder before being uninstalled.
可选的,本发明实施例中,电子设备还可以显示一个悬浮窗92,该悬浮窗92可以包括至少一个标识91和下载控件93。该下载控件93可以用于触发电子设备下载至少一个标识对应的应用程序。Optionally, in this embodiment of the present invention, the electronic device may also display a floating window 92, and the floating window 92 may include at least one logo 91 and a download control 93. The download control 93 can be used to trigger the electronic device to download at least one application program corresponding to the identifier.
S202d、电子设备接收对至少一个标识中的第一标识的第三输入。S202d. The electronic device receives a third input of the first identifier in the at least one identifier.
其中,上述第一标识可以用于指示第一应用,例如,该第一标识可以包括第一应用的名称。The above-mentioned first identifier may be used to indicate the first application. For example, the first identifier may include the name of the first application.
需要说明的是,在目标区域为与第一应用属于同一类型的第二应用的图标的显示区域的情况下,至少一个标识指示的应用程序可以为类型相同的应用程序。在目标区域为在第一应用被卸载前第一应用的图标所属的文件夹中的显示区域的情况下,至少一个标识指示的应用程序可以为类型不同的应用程序。It should be noted that, when the target area is a display area of an icon of a second application that is of the same type as the first application, the application indicated by the at least one identifier may be an application of the same type. In a case where the target area is a display area in a folder to which the icon of the first application belongs before the first application is uninstalled, the application indicated by the at least one identifier may be an application of a different type.
可选的,本发明实施例中,上述第三输入可以为用户对第一标识的触控操作,示例性的,该触控操作可以为单击、双击、连续按压预设时长或者连续点击预设次数的操作。具体的可以根据实际使用需求确定,本发明实施例不作限定。Optionally, in the embodiment of the present invention, the above-mentioned third input may be a user's touch operation on the first identifier. Illustratively, the touch operation may be a single click, a double click, a continuous pressing for a preset duration, or a continuous click preset. Set the number of operations. The details can be determined according to actual use requirements, and the embodiment of the present invention does not limit it.
可选的,本发明实施例中,用户对第一标识进行第三输入后,还可以对下载控件进行输入,电子设备接收到对第一标识的第三输入和对下载控件的输入后,可以显示一个确定控件,该确定控件可以包括“确定”和“取消”两个子控件。其中,子控件“确定”可以用于确认第一应用的下载操作,子控件“取消”可以确认用于返回上一步操作,或用于确认取消显示该至少一个标识。Optionally, in this embodiment of the present invention, after the user performs the third input to the first identifier, the user may also input the download control. After the electronic device receives the third input to the first identifier and the input to the download control, it may A confirmation control is displayed, and the confirmation control may include two sub-controls of "OK" and "Cancel". Wherein, the sub-control "OK" can be used to confirm the download operation of the first application, and the sub-control "Cancel" can be used to confirm to return to the previous operation, or to confirm the cancellation of the display of the at least one logo.
S202e、电子设备响应于第三输入,安装第一应用。S202e. In response to the third input, the electronic device installs the first application.
当用户对子控件“确定”执行输入后,电子设备可以响应于该输入,下载第一应用的安装包,并安装第一应用。After the user performs an input "OK" on the sub-control, the electronic device can download the installation package of the first application and install the first application in response to the input.
本发明实施例中,一方面,由于电子设备可以响应于第一输入显示至少一个标识,因此,用户可以通过对至少一个标识中多个标识进行输入,实现应用程序的批量恢复。另一 方面,由于电子设备可以根据第二应用的类型查找到第一应用,因此,即使电子设备未保存第一应用的图标的显示区域,也可以快速实现第一应用的重新安装。In the embodiment of the present invention, on the one hand, since the electronic device can display at least one identification in response to the first input, the user can input multiple identifications in the at least one identification to realize batch recovery of applications. On the other hand, since the electronic device can find the first application according to the type of the second application, even if the electronic device does not save the display area of the icon of the first application, the first application can be quickly reinstalled.
可选的,在目标区域为与第一应用属于同一类型的第二应用的图标的显示区域的情况下,在电子设备接收用户对目标区域的第一输入之前,电子设备还可以接收用户的第四输入。之后,电子设备可以响应于第四输入,按照目标效果显示至少一个应用的图标,该至少一个应用的图标至少包括第二应用的图标。Optionally, when the target area is the display area of the icon of the second application that belongs to the same type as the first application, before the electronic device receives the user's first input to the target area, the electronic device may also receive the user's first input. Four inputs. Thereafter, the electronic device may respond to the fourth input to display the icon of at least one application according to the target effect, and the icon of the at least one application includes at least the icon of the second application.
示例性的,结合图2,如图10所示,在S201之前,本发明实施例提供的应用程序安装方法还可以包括下述的S206至S207。Exemplarily, in conjunction with FIG. 2, as shown in FIG. 10, before S201, the application installation method provided in the embodiment of the present invention may further include the following S206 to S207.
S206、电子设备接收第四输入。S206. The electronic device receives the fourth input.
可选的,本发明实施例中,上述第四输入可以为用户对电子设备的触控操作、语音输入、手势输入、重力输入或其他可能的输入等,具体的可以根据实际使用需求确定,本发明实施例不作限定。Optionally, in this embodiment of the present invention, the above-mentioned fourth input may be a user's touch operation on the electronic device, voice input, gesture input, gravity input, or other possible input, etc. The specific one can be determined according to actual usage requirements. The embodiments of the invention are not limited.
S207、电子设备响应于第四输入,按照目标效果显示至少一个应用的图标。S207: In response to the fourth input, the electronic device displays at least one application icon according to the target effect.
其中,上述至少一个应用的图标可以包括第二应用的图标。Wherein, the icon of the at least one application may include the icon of the second application.
可选的,本发明实施例中,至少一个应用的图标可以为上述示例2中目标应用程序的图标,即至少一个应用的图标可以为与电子设备中安装过、并且已经卸载的至少一个应用程序类型相同的应用程序的图标。Optionally, in this embodiment of the present invention, the icon of the at least one application may be the icon of the target application in the above example 2, that is, the icon of the at least one application may be at least one application that has been installed and uninstalled in the electronic device. Icons for applications of the same type.
可选的,继续参考图4中的(b),本发明实施例中,电子设备按照目标效果显示至少一个应用的图标可以为在至少一个应用中的每个应用的图标上显示一个标识42。Optionally, continuing to refer to (b) in FIG. 4, in this embodiment of the present invention, the electronic device displaying the icon of at least one application according to the target effect may be displaying an identifier 42 on the icon of each of the at least one application.
可选的,本发明实施例中,电子设备按照目标效果显示至少一个应用的图标还可以为按照悬浮、高亮或其他可能的方式等显示至少一个应用的图标,具体的可以根据实际使用需求确定,本发明实施例不作限定。Optionally, in the embodiment of the present invention, the electronic device displaying the icon of at least one application according to the target effect may also display the icon of at least one application in a floating, highlighting or other possible manner, and the specifics may be determined according to actual usage requirements. , The embodiment of the present invention is not limited.
本发明实施例中,由于电子设备可以响应于第四输入,按照目标效果显示至少一个应用的图标,因此,用户可以从至少一个应用的图标中选择与第一应用类型相同的应用程序,从而通过对该类型相同的应用程序进行输入,达到快速重新安装第一应用的目的。In the embodiment of the present invention, since the electronic device can display the icon of at least one application according to the target effect in response to the fourth input, the user can select the application of the same type as the first application from the icons of the at least one application, thereby Inputting the same type of application program achieves the purpose of quickly reinstalling the first application.
需要说明的是,本发明实施例中,上述各个方法附图所示的应用程序安装方法均是以结合本发明实施例中的一个附图为例示例性的说明的。具体实现时,上述各个方法附图所示的应用程序安装方法还可以结合上述实施例中示意的其它可以结合的任意附图实现,此处不再赘述。It should be noted that, in the embodiments of the present invention, the application installation methods shown in the above-mentioned method drawings are all exemplified in conjunction with a drawing in the embodiment of the present invention. In specific implementation, the application installation methods shown in the figures of the above methods can also be implemented in combination with any other figures that can be combined as illustrated in the above embodiments, and will not be repeated here.
如图11所示,本发明实施例提供一种电子设备1100,该电子设备1100可以包括接收模块1101和处理模块1102。接收模块1101,可以用于在第一应用被卸载的情况下,接收对目标区域的第一输入。处理模块1102,可以用于响应于接收模块1101接收的第一输入,安装第一应用。其中,目标区域为在第一应用被卸载前第一应用的图标的显示区域,或为与第一应用属于同一类型的第二应用的图标的显示区域,或为在第一应用被卸载前第一应用的图标所属的文件夹中的显示区域。As shown in FIG. 11, an embodiment of the present invention provides an electronic device 1100. The electronic device 1100 may include a receiving module 1101 and a processing module 1102. The receiving module 1101 may be used to receive the first input to the target area when the first application is uninstalled. The processing module 1102 may be configured to install the first application in response to the first input received by the receiving module 1101. Wherein, the target area is the display area of the icon of the first application before the first application is uninstalled, or the display area of the icon of the second application of the same type as the first application, or the display area of the icon of the first application before the first application is uninstalled. The display area in the folder to which the icon of an application belongs.
可选的,本发明实施例中,接收模块1101,还可以用于在第一应用被卸载之前,接收对第一应用的第二输入。处理模块1102,还可以用于响应于接收模块1101接收的第二输入,卸载第一应用,并存储第一信息。该第一信息可以包括以下至少一项:第一应用的图标的显示区域、第一应用的标识和第一应用的卸载时刻。处理模块1102,具体可以用于响 应于接收模块1101接收的第一输入,根据第一信息,安装第一应用。Optionally, in this embodiment of the present invention, the receiving module 1101 may also be used to receive a second input to the first application before the first application is uninstalled. The processing module 1102 may also be configured to, in response to the second input received by the receiving module 1101, uninstall the first application and store the first information. The first information may include at least one of the following: the display area of the icon of the first application, the identification of the first application, and the uninstallation time of the first application. The processing module 1102 can be specifically configured to respond to the first input received by the receiving module 1101 and install the first application according to the first information.
可选的,结合图11,如图12所示,本发明实施例提供的电子设备1100还可以包括显示模块1103。在目标区域为在第一应用被卸载前第一应用的图标的显示区域的情况下,该显示模块1103,可以用于在处理模块1102安装第一应用之后,在目标区域显示第一应用的图标。Optionally, in conjunction with FIG. 11, as shown in FIG. 12, the electronic device 1100 provided in the embodiment of the present invention may further include a display module 1103. When the target area is the display area of the icon of the first application before the first application is uninstalled, the display module 1103 may be used to display the icon of the first application in the target area after the processing module 1102 installs the first application .
可选的,本发明实施例中,处理模块1102,具体可以用于在第一信息包括所述第一应用的卸载时刻的情况下,响应于接收模块1101接收的第一输入,获取从第一应用的卸载时刻到接收到第一输入的时刻之间的目标时长,并在目标时长小于或等于预设时长的情况下,安装第一应用。Optionally, in this embodiment of the present invention, the processing module 1102 may be specifically used to obtain information from the first application in response to the first input received by the receiving module 1101 when the first information includes the moment of uninstallation of the first application. The target duration between the moment when the application is uninstalled and the moment when the first input is received, and when the target duration is less than or equal to the preset duration, the first application is installed.
可选的,本发明实施例中,本发明实施例提供的电子设备1100还可以包括显示模块1103。显示模块1103,可以用于响应于接收模块1101接收的第一输入,显示至少一个标识。接收模块1101,还可以用于接收对显示模块1103显示的至少一个标识中的第一标识的第三输入,该第一标识指示第一应用。处理模块1102,具体可以用于响应于接收模块1101接收的第三输入,安装第一应用。其中,目标区域为与第一应用属于同一类型的第二应用的图标的显示区域,至少一个标识中的每个标识用于指示与第二应用属于同一类型、且被卸载的一个应用程序;或者,目标区域为在第一应用被卸载前第一应用的图标所属的文件夹中的显示区域,至少一个标识中的每个标识用于指示在被卸载前属于该文件夹的一个应用程序。Optionally, in the embodiment of the present invention, the electronic device 1100 provided in the embodiment of the present invention may further include a display module 1103. The display module 1103 may be configured to display at least one identifier in response to the first input received by the receiving module 1101. The receiving module 1101 may also be configured to receive a third input to the first identifier in the at least one identifier displayed by the display module 1103, where the first identifier indicates the first application. The processing module 1102 may be specifically configured to install the first application in response to the third input received by the receiving module 1101. Wherein, the target area is a display area of an icon of a second application that is of the same type as the first application, and each of the at least one identifier is used to indicate an application that is of the same type as the second application and is uninstalled; or , The target area is the display area in the folder to which the icon of the first application belongs before the first application is uninstalled, and each of the at least one identification is used to indicate an application that belongs to the folder before being uninstalled.
可选的,本发明实施例中,本发明实施例提供的电子设备1100还可以包括显示模块1103。在目标区域为与第一应用属于同一类型的第二应用的图标的显示区域的情况下,接收模块1101,还可以用于在接收第一输入之前,接收第四输入。显示模块1103,还可以用于响应于接收模块1101接收的第四输入,按照目标效果显示至少一个应用的图标,该至少一个应用的图标包括第二应用的图标。Optionally, in the embodiment of the present invention, the electronic device 1100 provided in the embodiment of the present invention may further include a display module 1103. When the target area is a display area of an icon of a second application that is of the same type as the first application, the receiving module 1101 may also be configured to receive a fourth input before receiving the first input. The display module 1103 may also be configured to display an icon of at least one application according to the target effect in response to the fourth input received by the receiving module 1101, and the icon of the at least one application includes the icon of the second application.
本发明实施例提供一种电子设备,电子设备可以在第一应用被卸载的情况下,接收到用户对目标区域的第一输入后,响应于第一输入,安装第一应用。通过该方案,由于目标区域为在第一应用被卸载前,第一应用的图标的显示区域;或为与第一应用属于同一类型的第二应用的图标的显示区域;或为在第一应用被卸载前,第一应用的图标所属的文件夹中的显示区域,因此,用户可以通过对目标区域的第一输入,触发电子设备快速安装第一应用,而无需打开应用商城、输入被卸载的应用程序的名称等操作步骤,从而不仅可以简化重新安装被卸载的应用程序的步骤,而且可以节约用户的时间,进而提升了人机交互性能。An embodiment of the present invention provides an electronic device. The electronic device can install the first application in response to the first input after receiving a user's first input to a target area when the first application is uninstalled. With this solution, because the target area is the display area of the icon of the first application before the first application is uninstalled; or the display area of the icon of the second application that belongs to the same type as the first application; or is the display area of the icon of the second application before the first application is uninstalled. Before being uninstalled, the display area in the folder to which the icon of the first application belongs. Therefore, the user can trigger the electronic device to quickly install the first application through the first input to the target area without opening the application store and entering the uninstalled The operation steps such as the name of the application program can not only simplify the steps of reinstalling the uninstalled application program, but also save the user's time, thereby improving the human-computer interaction performance.
图13为实现本发明各个实施例的一种电子设备的硬件结构示意图。如图13所示,该电子设备100包括但不限于:射频单元101、网络模块102、音频输出单元103、输入单元104、传感器105、显示单元106、用户输入单元107、接口单元108、存储器109、处理器110、以及电源111等部件。本领域技术人员可以理解,图13中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本发明实施例中,电子设备包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、以及计步器等。FIG. 13 is a schematic diagram of the hardware structure of an electronic device that implements various embodiments of the present invention. As shown in FIG. 13, the electronic device 100 includes but is not limited to: a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, and a memory 109 , The processor 110, and the power supply 111 and other components. Those skilled in the art can understand that the structure of the electronic device shown in FIG. 13 does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than those shown in the figure, or a combination of certain components, or different components. Layout. In the embodiment of the present invention, electronic devices include, but are not limited to, mobile phones, tablet computers, notebook computers, palmtop computers, vehicle-mounted terminals, wearable devices, and pedometers.
其中,处理器110,可以用于在第一应用被卸载的情况下,控制用户输入单元107, 接收对目标区域的第一输入。处理器110,还可以用于响应于第一输入,安装第一应用。目标区域可以为在第一应用被卸载前第一应用的图标的显示区域,或者可以为与第一应用属于同一类型的第二应用的图标的显示区域,或者可以在第一应用被卸载前第一应用的图标所属的文件夹中的显示区域。The processor 110 may be used to control the user input unit 107 to receive the first input to the target area when the first application is uninstalled. The processor 110 may also be configured to install the first application in response to the first input. The target area may be the display area of the icon of the first application before the first application is uninstalled, or it may be the display area of the icon of the second application of the same type as the first application, or it may be the display area of the icon of the first application before the first application is uninstalled. The display area in the folder to which the icon of an application belongs.
可选的,用户输入单元107,还可以用于接收第二输入、第三输入和第四输入。处理器110,还可以用于响应于第一输入,获取从第一应用的卸载时刻到接收到第一输入的时刻之间的目标时长,并在目标时长小于或等于预设时长的情况下,安装第一应用;或者响应于第二输入,卸载第一应用,并存储第一信息;或者响应于第三输入,安装第一应用。显示单元106,可以用于在目标区域显示第一应用的图标;或者显示至少一个标识;或者响应于第四输入,按照目标效果显示至少一个应用的图标。Optionally, the user input unit 107 may also be used to receive the second input, the third input, and the fourth input. The processor 110 may also be configured to, in response to the first input, obtain a target duration from the moment when the first application is uninstalled to the moment when the first input is received, and when the target duration is less than or equal to the preset duration, Install the first application; or in response to the second input, uninstall the first application and store the first information; or in response to the third input, install the first application. The display unit 106 may be used to display the icon of the first application in the target area; or display at least one logo; or in response to the fourth input, display the icon of at least one application according to the target effect.
可以理解,本发明实施例中,上述电子设备的结构示意图(例如图11和图12等)中的接收模块1101可以通过上述用户输入单元107实现,处理模块1102可以通过上述处理器110实现。上述电子设备的结构示意图(例如图12)中的显示模块1103可以通过上述显示单元106实现。It can be understood that, in the embodiment of the present invention, the receiving module 1101 in the above-mentioned structural schematic diagram of the electronic device (for example, FIG. 11 and FIG. 12, etc.) may be realized by the above-mentioned user input unit 107, and the processing module 1102 may be realized by the above-mentioned processor 110. The display module 1103 in the above-mentioned structural schematic diagram of the electronic device (for example, FIG. 12) may be implemented by the above-mentioned display unit 106.
本发明实施例提供一种电子设备,电子设备可以在第一应用被卸载的情况下,接收到用户对目标区域的第一输入后,响应于第一输入,安装第一应用。通过该方案,由于目标区域为在第一应用被卸载前,第一应用的图标的显示区域;或为与第一应用属于同一类型的第二应用的图标的显示区域;或为在第一应用被卸载前,第一应用的图标所属的文件夹中的显示区域,因此,用户可以通过对目标区域的第一输入,触发电子设备快速安装第一应用,而无需打开应用商城、输入被卸载的应用程序的名称等操作步骤,从而不仅可以简化重新安装被卸载的应用程序的步骤,而且可以节约用户的时间,进而提升了人机交互性能。An embodiment of the present invention provides an electronic device. The electronic device can install the first application in response to the first input after receiving a user's first input to a target area when the first application is uninstalled. With this solution, because the target area is the display area of the icon of the first application before the first application is uninstalled; or the display area of the icon of the second application that belongs to the same type as the first application; or is the display area of the icon of the second application before the first application is uninstalled. Before being uninstalled, the display area in the folder to which the icon of the first application belongs. Therefore, the user can trigger the electronic device to quickly install the first application through the first input to the target area without opening the application store and entering the uninstalled The operation steps such as the name of the application program can not only simplify the steps of reinstalling the uninstalled application program, but also save the user's time, thereby improving the human-computer interaction performance.
应理解的是,本发明实施例中,射频单元101可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器110处理;另外,将上行的数据发送给基站。通常,射频单元101包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元101还可以通过无线通信系统与网络和其他设备通信。It should be understood that, in the embodiment of the present invention, the radio frequency unit 101 can be used for receiving and sending signals in the process of sending and receiving information or talking. Specifically, the downlink data from the base station is received and processed by the processor 110; in addition, Uplink data is sent to the base station. Generally, the radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with the network and other devices through a wireless communication system.
电子设备通过网络模块102为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。The electronic device provides users with wireless broadband Internet access through the network module 102, such as helping users to send and receive emails, browse web pages, and access streaming media.
音频输出单元103可以将射频单元101或网络模块102接收的或者在存储器109中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元103还可以提供与电子设备100执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元103包括扬声器、蜂鸣器以及受话器等。The audio output unit 103 can convert the audio data received by the radio frequency unit 101 or the network module 102 or stored in the memory 109 into an audio signal and output it as sound. Moreover, the audio output unit 103 may also provide audio output related to a specific function performed by the electronic device 100 (for example, call signal reception sound, message reception sound, etc.). The audio output unit 103 includes a speaker, a buzzer, a receiver, and the like.
输入单元104用于接收音频或视频信号。输入单元104可以包括图形处理器(graphics processing unit,GPU)1041和麦克风1042,图形处理器1041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元106上。经图形处理器1041处理后的图像帧可以存储在存储器109(或其它存储介质)中或者经由射频单元101或网络模块102进行发送。麦克风1042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以 在电话通话模式的情况下转换为可经由射频单元101发送到移动通信基站的格式输出。The input unit 104 is used to receive audio or video signals. The input unit 104 may include a graphics processing unit (GPU) 1041 and a microphone 1042. The graphics processing unit 1041 is used to capture images of still pictures or videos obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. Data is processed. The processed image frame can be displayed on the display unit 106. The image frame processed by the graphics processor 1041 may be stored in the memory 109 (or other storage medium) or sent via the radio frequency unit 101 or the network module 102. The microphone 1042 can receive sound, and can process such sound into audio data. The processed audio data can be converted into a format that can be sent to the mobile communication base station via the radio frequency unit 101 for output in the case of a telephone call mode.
电子设备100还包括至少一种传感器105,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板1061的亮度,接近传感器可在电子设备100移动到耳边时,关闭显示面板1061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别电子设备姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器105还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。The electronic device 100 further includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor. The ambient light sensor can adjust the brightness of the display panel 1061 according to the brightness of the ambient light. The proximity sensor can close the display panel 1061 and the display panel 1061 when the electronic device 100 is moved to the ear. / Or backlight. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three axes), and can detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of electronic devices (such as horizontal and vertical screen switching, related games) , Magnetometer attitude calibration), vibration recognition related functions (such as pedometer, percussion), etc.; sensor 105 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, Infrared sensors, etc., will not be repeated here.
显示单元106用于显示由用户输入的信息或提供给用户的信息。显示单元106可包括显示面板1061,可以采用液晶显示器(liquid crystal display,LCD)、有机发光二极管(organic light-emitting diode,OLED)等形式来配置显示面板1061。The display unit 106 is used to display information input by the user or information provided to the user. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
用户输入单元107可用于接收输入的数字或字符信息,以及产生与电子设备的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元107包括触控面板1071以及其他输入设备1072。触控面板1071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板1071上或在触控面板1071附近的操作)。触控面板1071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器110,接收处理器110发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板1071。除了触控面板1071,用户输入单元107还可以包括其他输入设备1072。具体地,其他输入设备1072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。The user input unit 107 may be used to receive inputted numeric or character information, and generate key signal input related to user settings and function control of the electronic device. Specifically, the user input unit 107 includes a touch panel 1071 and other input devices 1072. The touch panel 1071, also called a touch screen, can collect the user's touch operations on or near it (for example, the user uses any suitable objects or accessories such as fingers, stylus, etc.) on the touch panel 1071 or near the touch panel 1071. operating). The touch panel 1071 may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch position, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it To the processor 110, the command sent by the processor 110 is received and executed. In addition, the touch panel 1071 can be implemented in multiple types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may also include other input devices 1072. Specifically, other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackball, mouse, and joystick, which will not be repeated here.
进一步的,触控面板1071可覆盖在显示面板1061上,当触控面板1071检测到在其上或附近的触摸操作后,传送给处理器110以确定触摸事件的类型,随后处理器110根据触摸事件的类型在显示面板1061上提供相应的视觉输出。虽然在图13中,触控面板1071与显示面板1061是作为两个独立的部件来实现电子设备的输入和输出功能,但是在某些实施例中,可以将触控面板1071与显示面板1061集成而实现电子设备的输入和输出功能,具体此处不做限定。Further, the touch panel 1071 can be overlaid on the display panel 1061. When the touch panel 1071 detects a touch operation on or near it, it transmits it to the processor 110 to determine the type of the touch event, and then the processor 110 determines the type of the touch event according to the touch. The type of event provides corresponding visual output on the display panel 1061. Although in FIG. 13, the touch panel 1071 and the display panel 1061 are used as two independent components to realize the input and output functions of the electronic device, but in some embodiments, the touch panel 1071 and the display panel 1061 can be integrated The implementation of the input and output functions of the electronic device is not specifically limited here.
接口单元108为外部装置与电子设备100连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元108可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到电子设备100内的一个或多个元件或者可以用于在电子设备100和外部装置之间传输数据。The interface unit 108 is an interface for connecting an external device with the electronic device 100. For example, the external device may include a wired or wireless headset port, an external power source (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) port, video I/O port, headphone port, etc. The interface unit 108 can be used to receive input (for example, data information, power, etc.) from an external device and transmit the received input to one or more elements in the electronic device 100 or can be used to connect to the electronic device 100 and the external device. Transfer data between devices.
存储器109可用于存储软件程序以及各种数据。存储器109可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器109可以包括高速随机存取存储器,还可以包 括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 109 can be used to store software programs and various data. The memory 109 may mainly include a program storage area and a data storage area. The program storage area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data created by the use of mobile phones (such as audio data, phone book, etc.), etc. In addition, the memory 109 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
处理器110是电子设备的控制中心,利用各种接口和线路连接整个电子设备的各个部分,通过运行或执行存储在存储器109内的软件程序和/或模块,以及调用存储在存储器109内的数据,执行电子设备的各种功能和处理数据,从而对电子设备进行整体监控。处理器110可包括一个或多个处理单元;可选的,处理器110可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户第一界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器110中。The processor 110 is the control center of the electronic device, which uses various interfaces and lines to connect the various parts of the entire electronic device, runs or executes software programs and/or modules stored in the memory 109, and calls data stored in the memory 109 , Perform various functions of electronic equipment and process data, so as to monitor the electronic equipment as a whole. The processor 110 may include one or more processing units; optionally, the processor 110 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, the first user interface, and application programs, etc., The modem processor mainly deals with wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 110.
电子设备100还可以包括给各个部件供电的电源111(比如电池),可选的,电源111可以通过电源管理系统与处理器110逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The electronic device 100 may also include a power source 111 (such as a battery) for supplying power to various components. Optionally, the power source 111 may be logically connected to the processor 110 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. Management and other functions.
另外,电子设备100包括一些未示出的功能模块,在此不再赘述。In addition, the electronic device 100 includes some functional modules not shown, which will not be repeated here.
可选的,本发明实施例还提供一种电子设备,包括如图13所示的处理器110,存储器109,存储在存储器109上并可在处理器110上运行的计算机程序,该计算机程序被处理器110执行时实现上述应用程序安装方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, an embodiment of the present invention also provides an electronic device, including a processor 110 as shown in FIG. 13, a memory 109, a computer program stored in the memory 109 and capable of running on the processor 110, and the computer program is The processor 110 implements each process of the above-mentioned application program installation method embodiment during execution, and can achieve the same technical effect. To avoid repetition, details are not described herein again.
本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述应用程序安装方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,该计算机可读存储介质可以包括只读存储器(read-only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等。The embodiment of the present invention also provides a computer-readable storage medium, and a computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, each process of the above-mentioned application program installation method embodiment is realized, and the same The technical effect, in order to avoid repetition, will not be repeated here. Wherein, the computer-readable storage medium may include read-only memory (ROM), random access memory (RAM), magnetic disk or optical disk, etc.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that in this article, the terms "include", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, It also includes other elements that are not explicitly listed, or elements inherent to the process, method, article, or device. If there are no more restrictions, the element defined by the sentence "including a..." does not exclude the existence of other identical elements in the process, method, article, or device that includes the element.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台电子设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the method of the above embodiments can be implemented by means of software plus the necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is better.的实施方式。 Based on this understanding, the technical solution of this application essentially or the part that contributes to the existing technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, The optical disc) includes several instructions to make an electronic device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the method described in each embodiment of the present application.
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。The embodiments of the application are described above with reference to the accompanying drawings, but the application is not limited to the above-mentioned specific embodiments. The above-mentioned specific embodiments are only illustrative and not restrictive. Those of ordinary skill in the art are Under the enlightenment of this application, many forms can be made without departing from the purpose of this application and the scope of protection of the claims, all of which fall within the protection of this application.

Claims (16)

  1. 一种应用程序安装方法,所述方法包括:An application program installation method, the method includes:
    在第一应用被卸载的情况下,接收对目标区域的第一输入;When the first application is uninstalled, receiving the first input to the target area;
    响应于所述第一输入,安装所述第一应用;In response to the first input, install the first application;
    其中,所述目标区域为在所述第一应用被卸载前所述第一应用的图标的显示区域,或为与所述第一应用属于同一类型的第二应用的图标的显示区域,或为在所述第一应用被卸载前所述第一应用的图标所属的文件夹中的显示区域。Wherein, the target area is the display area of the icon of the first application before the first application is uninstalled, or is the display area of the icon of the second application of the same type as the first application, or The display area in the folder to which the icon of the first application belongs before the first application is uninstalled.
  2. 根据权利要求1所述的方法,其中,所述在第一应用被卸载的情况下,接收对目标区域的第一输入之前,所述方法还包括:The method according to claim 1, wherein, in the case where the first application is uninstalled, before receiving the first input to the target area, the method further comprises:
    接收对所述第一应用的第二输入;Receiving a second input to the first application;
    响应于所述第二输入,卸载所述第一应用,并存储第一信息,所述第一信息包括以下至少一项:所述第一应用的图标的显示区域、所述第一应用的标识和所述第一应用的卸载时刻;In response to the second input, the first application is uninstalled, and first information is stored, the first information includes at least one of the following: the display area of the icon of the first application, and the identifier of the first application And the moment of uninstallation of the first application;
    所述响应于所述第一输入,安装所述第一应用,包括:The installing the first application in response to the first input includes:
    响应于所述第一输入,根据所述第一信息,安装所述第一应用。In response to the first input, the first application is installed according to the first information.
  3. 根据权利要求1或2所述的方法,其中,所述目标区域为在所述第一应用被卸载前所述第一应用的图标的显示区域;所述安装所述第一应用之后,所述方法还包括:The method according to claim 1 or 2, wherein the target area is the display area of the icon of the first application before the first application is uninstalled; after the first application is installed, the Methods also include:
    在所述目标区域显示所述第一应用的图标。The icon of the first application is displayed in the target area.
  4. 根据权利要求2所述的方法,其中,所述第一信息包括所述第一应用的卸载时刻;所述响应于所述第一输入,安装所述第一应用,包括:The method according to claim 2, wherein the first information includes the moment of uninstallation of the first application; and the installation of the first application in response to the first input includes:
    响应于所述第一输入,获取从所述第一应用的卸载时刻到接收到所述第一输入的时刻之间的目标时长,并在所述目标时长小于或等于预设时长的情况下,安装所述第一应用。In response to the first input, a target duration from the moment of uninstalling the first application to the moment of receiving the first input is acquired, and when the target duration is less than or equal to a preset duration, Install the first application.
  5. 根据权利要求1或2所述的方法,其中,所述响应于所述第一输入,安装所述第一应用,包括:The method according to claim 1 or 2, wherein the installing the first application in response to the first input comprises:
    响应于所述第一输入,显示至少一个标识;In response to the first input, at least one identification is displayed;
    接收对所述至少一个标识中的第一标识的第三输入,所述第一标识指示所述第一应用;Receiving a third input of a first identifier in the at least one identifier, the first identifier indicating the first application;
    响应于所述第三输入,安装所述第一应用;In response to the third input, install the first application;
    其中,所述目标区域为与所述第一应用属于同一类型的第二应用的图标的显示区域,所述至少一个标识中的每个标识用于指示与所述第二应用属于同一类型、且被卸载的一个应用程序;或者,Wherein, the target area is a display area of an icon of a second application that is of the same type as the first application, and each of the at least one identifier is used to indicate that it is of the same type as the second application, and An application that was uninstalled; or,
    所述目标区域为在所述第一应用被卸载前所述第一应用的图标所属的文件夹中的显示区域,所述至少一个标识中的每个标识用于指示在被卸载前属于所述文件夹的一个应用程序。The target area is the display area in the folder to which the icon of the first application belongs before the first application is uninstalled, and each of the at least one identifier is used to indicate that it belongs to the An application for a folder.
  6. 根据权利要求1所述的方法,其中,所述目标区域为与所述第一应用属于同一类型的第二应用的图标的显示区域;所述接收对目标区域的第一输入之前,所述方法还包括:The method according to claim 1, wherein the target area is a display area of an icon of a second application that is of the same type as the first application; before the receiving the first input to the target area, the method Also includes:
    接收第四输入;Receive the fourth input;
    响应于所述第四输入,按照目标效果显示至少一个应用的图标,所述至少一个应用的 图标包括所述第二应用的图标。In response to the fourth input, an icon of at least one application is displayed according to the target effect, and the icon of the at least one application includes the icon of the second application.
  7. 一种电子设备,所述电子设备包括接收模块和处理模块:An electronic device including a receiving module and a processing module:
    所述接收模块,用于在第一应用被卸载的情况下,接收对目标区域的第一输入;The receiving module is configured to receive the first input to the target area when the first application is uninstalled;
    所述处理模块,用于响应于所述接收模块接收的所述第一输入,安装所述第一应用;The processing module is configured to install the first application in response to the first input received by the receiving module;
    其中,所述目标区域为在所述第一应用被卸载前所述第一应用的图标的显示区域,或为与所述第一应用属于同一类型的第二应用的图标的显示区域,或为在所述第一应用被卸载前所述第一应用的图标所属的文件夹中的显示区域。Wherein, the target area is the display area of the icon of the first application before the first application is uninstalled, or is the display area of the icon of the second application of the same type as the first application, or The display area in the folder to which the icon of the first application belongs before the first application is uninstalled.
  8. 根据权利要求7所述的电子设备,其中,The electronic device according to claim 7, wherein:
    所述接收模块,还用于在所述第一应用被卸载之前,接收对所述第一应用的第二输入;The receiving module is further configured to receive a second input to the first application before the first application is uninstalled;
    所述处理模块,还用于响应于所述接收模块接收的所述第二输入,卸载所述第一应用,并存储第一信息,所述第一信息包括以下至少一项:所述第一应用的图标的显示区域、所述第一应用的标识和所述第一应用的卸载时刻;The processing module is further configured to, in response to the second input received by the receiving module, uninstall the first application, and store first information, where the first information includes at least one of the following: the first The display area of the icon of the application, the identifier of the first application, and the uninstallation moment of the first application;
    所述处理模块,具体用于响应于所述接收模块接收的所述第一输入,根据所述第一信息,安装所述第一应用。The processing module is specifically configured to install the first application according to the first information in response to the first input received by the receiving module.
  9. 根据权利要求7或8所述的电子设备,其中,所述目标区域为在所述第一应用被卸载前所述第一应用的图标的显示区域;所述电子设备还包括显示模块;The electronic device according to claim 7 or 8, wherein the target area is a display area of the icon of the first application before the first application is uninstalled; the electronic device further comprises a display module;
    所述显示模块,用于在所述处理模块安装所述第一应用之后,在所述目标区域显示所述第一应用的图标。The display module is configured to display the icon of the first application in the target area after the processing module installs the first application.
  10. 根据权利要求8所述的电子设备,其中,所述处理模块,具体用于在第一信息包括所述第一应用的卸载时刻的情况下,响应于所述接收模块接收的所述第一输入,获取从所述第一应用的卸载时刻到接收到所述第一输入的时刻之间的目标时长,并在所述目标时长小于或等于预设时长的情况下,安装所述第一应用。The electronic device according to claim 8, wherein the processing module is specifically configured to respond to the first input received by the receiving module when the first information includes the moment of uninstallation of the first application , Acquiring the target duration from the moment of uninstalling the first application to the moment of receiving the first input, and installing the first application when the target duration is less than or equal to the preset duration.
  11. 根据权利要求7或8所述的电子设备,其中,所述电子设备还包括显示模块;The electronic device according to claim 7 or 8, wherein the electronic device further comprises a display module;
    所述显示模块,用于响应于接收模块接收的所述第一输入,显示至少一个标识;The display module is configured to display at least one identifier in response to the first input received by the receiving module;
    所述接收模块,还用于接收对所述显示模块显示的所述至少一个标识中的第一标识的第三输入,所述第一标识指示所述第一应用;The receiving module is further configured to receive a third input of a first identifier in the at least one identifier displayed by the display module, the first identifier indicating the first application;
    所述处理模块,具体用于响应于所述接收模块接收的所述第三输入,安装所述第一应用;The processing module is specifically configured to install the first application in response to the third input received by the receiving module;
    其中,所述目标区域为与所述第一应用属于同一类型的第二应用的图标的显示区域,所述至少一个标识中的每个标识用于指示与所述第二应用属于同一类型、且被卸载的一个应用程序;或者,Wherein, the target area is a display area of an icon of a second application that is of the same type as the first application, and each of the at least one identifier is used to indicate that it is of the same type as the second application, and An application that was uninstalled; or,
    所述目标区域为在所述第一应用被卸载前所述第一应用的图标所属的文件夹中的显示区域,所述至少一个标识中的每个标识用于指示在被卸载前属于所述文件夹的一个应用程序。The target area is the display area in the folder to which the icon of the first application belongs before the first application is uninstalled, and each of the at least one identifier is used to indicate that it belongs to the An application for a folder.
  12. 根据权利要求7所述的电子设备,其中,所述目标区域为与所述第一应用属于同一类型的第二应用的图标的显示区域;所述电子设备还包括显示模块;8. The electronic device according to claim 7, wherein the target area is a display area of an icon of a second application that belongs to the same type as the first application; the electronic device further comprises a display module;
    所述接收模块,还用于在接收所述第一输入之前,接收第四输入;The receiving module is further configured to receive a fourth input before receiving the first input;
    所述显示模块,还用于响应于所述接收模块接收的所述第四输入,按照目标效果显示至少一个应用的图标,所述至少一个应用的图标包括所述第二应用的图标。The display module is further configured to display an icon of at least one application according to a target effect in response to the fourth input received by the receiving module, and the icon of the at least one application includes the icon of the second application.
  13. 一种电子设备,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如权利要求1至6中任一项所述的应用程序安装方法的步骤。An electronic device, comprising a processor, a memory, and a computer program stored on the memory and capable of running on the processor, the computer program being executed by the processor to implement any of claims 1 to 6 One of the steps of the application installation method.
  14. 一种计算机可读存储介质,所述计算机可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现如权利要求1至6中任一项所述的应用程序安装方法的步骤。A computer-readable storage medium storing a computer program on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the application program installation method according to any one of claims 1 to 6 are realized.
  15. 一种计算机软件产品,所述计算机软件产品被至少一个处理器执行以实现如权利要求1-6任一项所述的方法。A computer software product, which is executed by at least one processor to implement the method according to any one of claims 1-6.
  16. 一种电子设备,包括所述电子设备被配置成用于执行如权利要求1-6任一项所述的应用程序安装方法。An electronic device, comprising the electronic device configured to execute the application installation method according to any one of claims 1-6.
PCT/CN2020/136534 2019-12-19 2020-12-15 Method for installing application program, and electronic apparatus WO2021121225A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201911319653.5 2019-12-19
CN201911319653.5A CN110990032B (en) 2019-12-19 2019-12-19 Application program installation method and electronic equipment

Publications (1)

Publication Number Publication Date
WO2021121225A1 true WO2021121225A1 (en) 2021-06-24

Family

ID=70065783

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/136534 WO2021121225A1 (en) 2019-12-19 2020-12-15 Method for installing application program, and electronic apparatus

Country Status (2)

Country Link
CN (1) CN110990032B (en)
WO (1) WO2021121225A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110990032B (en) * 2019-12-19 2021-08-24 维沃移动通信有限公司 Application program installation method and electronic equipment
CN112506594B (en) * 2020-09-25 2024-06-28 维沃移动通信有限公司 Application icon display method and device
CN118779041A (en) * 2023-04-03 2024-10-15 荣耀终端有限公司 Application identification display method, electronic device and readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014089734A1 (en) * 2012-12-10 2014-06-19 东莞宇龙通信科技有限公司 Terminal and application program restoration method
CN104376257A (en) * 2014-12-12 2015-02-25 北京奇虎科技有限公司 Application self-protection and active defense method and application self-protection and active defense device
CN105550068A (en) * 2015-12-15 2016-05-04 惠州Tcl移动通信有限公司 Misoperation withdrawing method and system
CN106030487A (en) * 2013-12-18 2016-10-12 三星电子株式会社 For controlling method and the electronic equipment thereof of the composition of screen
CN108509204A (en) * 2018-03-14 2018-09-07 维沃移动通信有限公司 A kind of application program login method and mobile terminal
CN110990032A (en) * 2019-12-19 2020-04-10 维沃移动通信有限公司 Application program installation method and electronic equipment

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103677762A (en) * 2012-08-30 2014-03-26 三星电子(中国)研发中心 Application program managing method and terminal device
DE102013108925A1 (en) * 2013-08-19 2015-02-19 Deutsche Post Ag Support the use of a secret key
CN105677445A (en) * 2016-01-25 2016-06-15 上海斐讯数据通信技术有限公司 Application installation managing method, device and intelligent terminal
CN109918088A (en) * 2019-01-29 2019-06-21 维沃移动通信有限公司 A kind of program unloading method and mobile terminal
CN110502248A (en) * 2019-07-01 2019-11-26 维沃移动通信有限公司 A kind of application program installation method and terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014089734A1 (en) * 2012-12-10 2014-06-19 东莞宇龙通信科技有限公司 Terminal and application program restoration method
CN106030487A (en) * 2013-12-18 2016-10-12 三星电子株式会社 For controlling method and the electronic equipment thereof of the composition of screen
CN104376257A (en) * 2014-12-12 2015-02-25 北京奇虎科技有限公司 Application self-protection and active defense method and application self-protection and active defense device
CN105550068A (en) * 2015-12-15 2016-05-04 惠州Tcl移动通信有限公司 Misoperation withdrawing method and system
CN108509204A (en) * 2018-03-14 2018-09-07 维沃移动通信有限公司 A kind of application program login method and mobile terminal
CN110990032A (en) * 2019-12-19 2020-04-10 维沃移动通信有限公司 Application program installation method and electronic equipment

Also Published As

Publication number Publication date
CN110990032B (en) 2021-08-24
CN110990032A (en) 2020-04-10

Similar Documents

Publication Publication Date Title
CN111124224B (en) Application program control method and electronic equipment
US12147661B2 (en) Content sharing method and electronic device
WO2021104365A1 (en) Object sharing method and electronic device
WO2020258929A1 (en) Folder interface switching method and terminal device
WO2020181942A1 (en) Icon control method and terminal device
CN111338530B (en) Control method of application program icon and electronic equipment
CN110502163B (en) Terminal device control method and terminal device
WO2021083132A1 (en) Icon moving method and electronic device
WO2020238351A1 (en) Application downloading and classification method and terminal device
WO2021104163A1 (en) Icon arrangement method and electronic device
US20220317862A1 (en) Icon moving method and electronic device
WO2020215932A1 (en) Method for displaying unread message and terminal device
WO2021017738A1 (en) Interface display method and electronic device
WO2021012927A1 (en) Icon display method and terminal device
WO2021057290A1 (en) Information control method and electronic device
CN109614061A (en) Display methods and terminal
WO2020199783A1 (en) Interface display method and terminal device
WO2021004327A1 (en) Method for setting application permission, and terminal device
WO2021121225A1 (en) Method for installing application program, and electronic apparatus
WO2021164716A1 (en) Display method and electronic device
WO2020258952A1 (en) Permission configuration method and terminal device
WO2021093766A1 (en) Message display method, and electronic apparatus
WO2021057301A1 (en) File control method and electronic device
WO2020168882A1 (en) Interface display method and terminal device
WO2020215969A1 (en) Content input method and terminal device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20904038

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20904038

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 20.02.2023)

122 Ep: pct application non-entry in european phase

Ref document number: 20904038

Country of ref document: EP

Kind code of ref document: A1