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

CN108268274B - Application management method and device, storage medium and electronic equipment - Google Patents

Application management method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN108268274B
CN108268274B CN201810150919.7A CN201810150919A CN108268274B CN 108268274 B CN108268274 B CN 108268274B CN 201810150919 A CN201810150919 A CN 201810150919A CN 108268274 B CN108268274 B CN 108268274B
Authority
CN
China
Prior art keywords
application
link
target
acquiring
target application
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201810150919.7A
Other languages
Chinese (zh)
Other versions
CN108268274A (en
Inventor
周伟达
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201810150919.7A priority Critical patent/CN108268274B/en
Publication of CN108268274A publication Critical patent/CN108268274A/en
Application granted granted Critical
Publication of CN108268274B publication Critical patent/CN108268274B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44594Unloading

Landscapes

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

Abstract

The application discloses an application management method, an application management device, a storage medium and electronic equipment, wherein the application management method is applied to the electronic equipment and comprises the following steps: acquiring a currently added application link in a main interface; acquiring a first application corresponding to the application link and a second application installed in the electronic equipment; judging whether a second application which belongs to the same type as the first application exists or not; if the first application and the second application are in the same type, the second application is used as a target application, and starting information of the first application and the target application within a first preset time length is obtained; and the target application is unloaded according to the starting information, so that the local application with less use in the same type of application can be automatically unloaded without manual operation of a user, and the method is simple.

Description

Application management method and device, storage medium and electronic equipment
Technical Field
The present application relates to the field of computer technologies, and in particular, to an application management method and apparatus, a storage medium, and an electronic device.
Background
With the rapid development of mobile communication technology, more and more functions can be realized by mobile devices, such as chatting, video, beautifying, listening to music, watching news and the like, and the life of people is greatly enriched.
Currently, these functions are mainly implemented by installing corresponding application programs in the mobile device, but the more applications are installed in the mobile device, the higher the memory requirement is. Various applications are flooded in the main menu or desktop of the mobile device, and many are rarely used after installation, even if forgotten by the user at all. When a user needs to sort the application programs, the user generally needs to enter a program management menu to check specific contents and use records of the application programs one by one, and then determines whether to delete some application programs, so that the steps are complicated, and the experience is poor.
Disclosure of Invention
The embodiment of the application management method and device, the storage medium and the electronic device can effectively control the application program installed on the terminal without manual uninstalling by a user.
The embodiment of the application provides an application management method, which is applied to electronic equipment and comprises the following steps:
acquiring a currently added application link in a main interface;
acquiring a first application corresponding to the application link and a second application installed in the electronic equipment;
judging whether a second application which belongs to the same type as the first application exists or not;
if the first application and the second application belong to the same type, taking the second application as a target application, and acquiring starting information of the first application and the target application within a first preset time length;
and unloading the target application according to the starting information.
The embodiment of the present application further provides an access device for web applications, which is applied to electronic devices, and includes:
the first acquisition module is used for acquiring the application link added currently in the main interface;
a second obtaining module, configured to obtain a first application corresponding to the application link and a second application installed in the electronic device;
the judging module is used for judging whether a second application which belongs to the same type as the first application exists or not;
a third obtaining module, configured to, if the first application exists, take the second application that belongs to the same type as a target application, and obtain start information of the first application and the target application within a first preset duration;
and the unloading module is used for unloading the target application according to the starting information.
The embodiment of the application also provides a storage medium, wherein a plurality of instructions are stored in the storage medium, and the instructions are suitable for being loaded by a processor to execute any application management method.
An embodiment of the present application further provides an electronic device, which includes a processor and a memory, where the processor is electrically connected to the memory, the memory is used to store instructions and data, and the processor is used in any of the steps of the application management method.
The application management method, the device, the storage medium and the electronic equipment are applied to the electronic equipment, the application link which is added currently in a main interface is obtained, then, the first application corresponding to the application link and the second application which is installed in the electronic equipment are obtained, whether the second application which belongs to the same type as the first application exists or not is judged, if yes, the second application which belongs to the same type is used as a target application, starting information of the first application and the target application within a first preset time duration is obtained, and then the target application is unloaded according to the starting information, so that fewer applications used in the local applications of the same type can be automatically unloaded, manual operation of a user is not needed, the method is simple, system resources occupied by useless applications are favorably released, and the application management effect is good.
Drawings
The technical solution and other advantages of the present application will become apparent from the detailed description of the embodiments of the present application with reference to the accompanying drawings.
Fig. 1 is a schematic diagram of an implementation environment of an application management method according to an embodiment of the present application.
Fig. 2 is a schematic flowchart of an application management method according to an embodiment of the present application.
Fig. 3 is another schematic flow chart of an application management method according to an embodiment of the present application.
Fig. 4 is an added schematic diagram of a temporary access link C3 in the main interface provided in the embodiment of the present application.
Fig. 5 is a schematic structural diagram of an application management apparatus according to an embodiment of the present application.
Fig. 6 is another schematic structural diagram of an application management apparatus according to an embodiment of the present application.
Fig. 7 is a schematic structural diagram of an add-in module according to an embodiment of the present disclosure.
Fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The embodiment of the application provides an application management method, an application management device, a storage medium and electronic equipment.
Referring to fig. 1, fig. 1 is a schematic diagram of an implementation environment of an application management method according to an embodiment of the present application, and as shown in fig. 1, the implementation environment includes a smart phone, a communication network, and a server.
The operating system of the smart phone can be an android system, a Saiban system, an apple system and the like. The smart phone and the server are connected through a communication network.
The communication network comprises a wireless network and a wired network, wherein the wireless network comprises one or more of a wireless wide area network, a wireless local area network, a wireless metropolitan area network and a wireless personal network.
The server can be a background server of an open platform, through which a user can access various registered web applications, the web application is application software operated on the internet or an intranet by using a web browser, is an application program written in a web language (such as programming languages like HTML, JavaScript, Java, etc.), needs to be executed through the browser, and can be uniformly accessed through the open platform, for example, an installation package of the web application and cache data generated during running are stored in the server of the open platform, which can be installed and run in a smart phone without installation, thereby saving memory resources of the smart phone as much as possible, and the smart phone can perform data communication with a factory server of the web application through an application interface in the open platform, so as to realize access to the web application, the method is characterized in that the method is point-to-point, convenient and fast, at the moment, a server of the open platform plays the role of a proxy server, and each webpage application corresponds to one application interface.
An application management method is applied to an electronic device and comprises the following steps: acquiring a currently added application link in a main interface; acquiring a first application corresponding to the application link and a second application installed in the electronic equipment; judging whether a second application which belongs to the same type as the first application exists or not; if the first application and the second application are in the same type, the second application is used as a target application, and starting information of the first application and the target application within a first preset time length is obtained; and uninstalling the target application according to the starting information.
As shown in fig. 2, fig. 2 is a schematic flowchart of an application management method provided in an embodiment of the present application, and a specific flowchart may be as follows:
101. and acquiring the application link currently added in the main interface.
In this embodiment, the main interface mainly refers to a home interface of the electronic device, the application link is a quick access mode, and may be represented in the form of an icon, which may be an access address of a local application, where the application link points to a file in a certain folder, or an access link of a web application, where the application link points to an application interface of a certain platform.
It should be noted that, when the application link is an access link of a web application, before step 101, the application management method may further include:
when the foreground application of the electronic equipment is a webpage application, detecting whether the foreground application is switched or not;
if so, acquiring the network access address of the foreground application before switching;
and generating a corresponding application link according to the network access address of the foreground application, and adding the application link into the main interface.
In this embodiment, when the foreground of the electronic device is accessing a web application, whether the foreground application is switched or not can be detected in real time, for example, when the foreground application is switched from a current web application to another web application, or switched to a local application, or switched back to a home interface, the foreground application can be considered to be switched.
102. And acquiring a first application corresponding to the application link and a second application installed in the electronic equipment.
In this embodiment, the installed second application mainly refers to a local application, that is, an application installed locally on the electronic device. The first application may be a web application or a local application, and is specifically determined according to the direction of the application link. And each time a new access link is generated in the main interface, the electronic equipment acquires a first application corresponding to the new link and a second application installed locally.
103. And judging whether a second application which belongs to the same type as the first application exists, if so, executing the following step 104, and if not, returning to the step 101 for re-detection.
In this embodiment, the types may be generally divided according to the functions that can be implemented by the application, for example, the types may include video, music, games, beauty charts, antivirus, and the like, which may be obtained directly from the vendor server when the application installation package is downloaded.
104. And taking the second application belonging to the same type as a target application, and acquiring starting information of the first application and the target application within a first preset time length.
In this embodiment, the first preset time period may be set manually, for example, one month. When there are multiple applications of the same type in an electronic device, the user will usually prefer to use one or some, but not all, of them, and in this case, the electronic device may clean the rarely used applications in order to avoid occupying too much storage resources.
105. And uninstalling the target application according to the starting information.
For example, the start information may include a start number, and at this time, the step 105 may specifically include:
and when the starting times of the first application are greater than the starting times of the target application and the starting times of the target application are less than a first preset time, uninstalling the target application from the electronic equipment.
In this embodiment, the first preset number of times may be set manually, for example, 3 times. The uninstalling mainly comprises the operations of installing the application program, operating records and deleting the cache data. Specifically, when the application start-up times corresponding to the newly added access link in the main interface are obviously higher than the start-up times of the local applications of the same type, and the start-up times of the local applications of the same type are too low (i.e., lower than a first preset time), it is usually indicated that the applications of the same type have little significance for the user to use, and the user prefers to use the application corresponding to the newly added access link.
Of course, to more accurately measure the use significance of the same type of application to the user, the start information may further include the start duration, for example, weights of the start duration and the start frequency may be set in advance, then the start rate is calculated according to the start duration, the start frequency and the respective weights, and the target application with the start rate lower than that of the first application is uninstalled.
Furthermore, when the electronic device uninstalls a local application, a recovery period may be defined, in which the uninstalled application is accessible in the form of a web application, and the access condition of the user to the uninstalled application in the recovery period may determine whether it is necessary to reinstall the uninstalled application in the local, that is, after step 105, the application management method may further include:
acquiring an application identifier of the target application;
acquiring a network access address of the target application from a server according to the application identifier;
and generating a temporary access link according to the network access address of the target application, and adding the temporary access link into the main interface.
In this embodiment, the application identifier is a registration identifier of each web application on the open platform, and is a unique identifier for identifying the web application by the server, where the application identifier may be an application name or an identification string assigned to the web application by the open platform.
It should be noted that, in order to avoid that the user does not know which local applications are uninstalled, a temporary display area may be divided in the main interface, the temporary display area is used to display the web page access addresses of the uninstalled applications, and the location of the temporary display area may be set by the user, for example, the user may set an area bar at the top or bottom of the main interface as the temporary display area according to the user's own usage habit.
Further, after the temporary access link is added to the main interface, the application management method may further include:
detecting whether the user accesses the temporary access link within a second preset time length;
if not, deleting the temporary access link from the main interface;
if so, acquiring the access times of the temporary access link; and when the access times reach a second preset time, acquiring the installation package of the target application from the server according to the application identifier, and installing the installation package in the electronic equipment.
In this embodiment, both the second preset time and the second preset number may be set manually, for example, the second preset time may be 15 days, and the second preset number may be 5 times. After a certain local application is uninstalled, if the user frequently accesses the application in a short time, the installation package of the application can be downloaded again for installation, and if the user does not access the application in a short time, the application can be completely deleted.
As can be seen from the above, the application management method provided in this embodiment is applied to an electronic device, and is implemented by obtaining an application link currently added to a main interface, then obtaining a first application corresponding to the application link and a second application installed in the electronic device, and determining whether there is a second application that belongs to the same type as the first application, if there is a second application that belongs to the same type as the first application, taking the second application that belongs to the same type as a target application, obtaining start information of the first application and the target application within a first preset time period, and then uninstalling the target application according to the start information, so that fewer applications used in local applications of the same type can be automatically uninstalled, a user does not need to manually operate the method, the method is simple, and is beneficial to release system resources occupied by useless applications, and the application management effect is good.
In the present embodiment, a description will be made from the perspective of an application management apparatus, and a detailed description will be given taking an example in which the application management apparatus is integrated in an electronic device.
Referring to fig. 3, a specific process of an application management method may be as follows:
201. when the foreground application is a web application, the electronic device detects whether the foreground application is switched, if so, the following step 202 is executed, and if not, no operation may be executed.
For example, when the foreground of the electronic device is accessing the web application a, if the foreground application is switched from the web application a to another web application B, or to the local application C, or switched back to the main interface, it may be considered that the foreground application is switched.
202. The electronic equipment acquires the network access address of the foreground application before switching, generates a corresponding application link according to the network access address of the foreground application, and then adds the application link into the main interface.
For example, if the foreground application of the electronic device is switched from the web application a to another web application B, the network access address of the web application a may be obtained, and the application link (i.e., the application icon) of the web application a may be generated in the main interface by using the network access address.
203. The electronic device obtains a first application corresponding to the application link and a second application installed in the electronic device, and determines whether a second application of the same type as the first application exists, if so, the following step 204 is executed, and if not, the step 201 may be returned to detect again.
204. The electronic equipment takes the second application belonging to the same type as a target application, and obtains the starting times of the first application and the target application within a first preset time length.
For example, the first preset duration may be 1 month set manually, when an application icon of the web application a is newly added in the main interface, whether a second application that belongs to the same type as the web application a exists in the locally installed application may be first searched for as the target application, and if the second application exists, which target applications need to be uninstalled may be further determined according to the usage of the web application a and the target applications within one month.
205. And when the starting times of the first application are greater than the starting times of the target application and the starting times of the target application are less than a first preset time, the electronic equipment unloads the target application and acquires an application identifier of the target application.
For example, the first predetermined number of times may be set manually, such as 3 times. When the starting times of the web application a are greater than the starting times of the target application and the starting times of the target application are less than 3 times, it can be considered that in the same type of application, the user is more inclined to use the web application a rather than the locally installed target application, and at this time, the system resources occupied by the target application can be released and uninstalled.
206. The electronic equipment acquires the network access address of the target application from the server according to the application identifier, then generates a temporary access link according to the network access address of the target application, and adds the temporary access link into the main interface.
For example, referring to fig. 4, for a target application M that is locally uninstalled, the corresponding network access address may be obtained from the server, and a temporary access link C3 of the target application M is generated in the temporary display area of the main interface according to the network access address.
207. And the electronic equipment detects whether the user accesses the temporary access link within a second preset time, if not, the temporary access link is deleted from the main interface, and if so, the access times of the temporary access link are acquired.
208. And when the access times reach a second preset time, the electronic equipment acquires the installation package of the target application from the server according to the application identifier and installs the installation package in the electronic equipment.
For example, the second predetermined number of times may be 7 times, and the second predetermined time period may be 15 days. If the target application M accesses the temporary access link C3 for a plurality of times, for example, up to 7 times, within a short time after the uninstallation, for example, 15 days, it may be determined that the target application M still has a certain use value for the user, at this time, the installation package of the target application M may be downloaded again for installation, otherwise, the temporary access link C3 may be directly deleted from the temporary display area.
As can be seen from the above, the application management method provided in this embodiment is applied to an electronic device, where when a foreground application is a web application, the electronic device may detect whether the foreground application is switched, if so, obtain a network access address of the foreground application before switching, generate a corresponding application link according to the network access address of the foreground application, add the application link into a main interface, then obtain a first application corresponding to the application link and an installed second application in the electronic device, and determine whether there is a second application that belongs to the same type as the first application, if so, take the second application that belongs to the same type as a target application, and obtain the number of times of starting the first application and the target application within a first preset duration, then, when the number of times of starting the first application is greater than the number of times of starting the target application, when the starting times of the target application are less than a first preset time, the electronic equipment unloads the target application, acquires an application identifier of the target application, acquires a network access address of the target application from a server according to the application identifier, generates a temporary access link according to the network access address of the target application, adds the temporary access link into the main interface, detects whether a user accesses the temporary access link within a second preset time, if not, deletes the temporary access link from the main interface, if yes, acquires the access times of the temporary access link, and when the access times reach the second preset time, the electronic equipment acquires an installation package of the target application from the server according to the application identifier and installs the installation package in the electronic equipment, so that the local application with less use in the same type of application can be automatically unloaded, the method is simple, does not need manual operation of a user, is beneficial to releasing system resources occupied by useless applications, and has good application management effect.
According to the method described in the foregoing embodiment, the embodiment will be further described from the perspective of an application management apparatus, which may be specifically implemented as a stand-alone entity, or may be implemented by being integrated in an electronic device, such as a terminal, where the terminal may include a mobile phone, a tablet computer, a personal computer, and the like.
Referring to fig. 5, fig. 5 specifically describes that the application management apparatus provided in the embodiment of the present application is applied to an electronic device, and the application management apparatus may include: a first obtaining module 10, a second obtaining module 20, a judging module 30, a third obtaining module 40 and an unloading module 50, wherein:
(1) acquisition module 10
The first obtaining module 10 is configured to obtain an application link currently added in the main interface.
In this embodiment, the main interface mainly refers to a home interface of the electronic device, the application link is a quick access mode, and may be represented in the form of an icon, which may be an access address of a local application, where the application link points to a file in a certain folder, or an access link of a web application, where the application link points to an application interface of a certain platform.
It should be noted that, referring to fig. 6, when the application link is an access link of a web application, the application management apparatus may further include a generating module 60, configured to:
when the foreground application of the electronic equipment is a webpage application, detecting whether the foreground application is switched or not;
if so, acquiring the network access address of the foreground application before switching;
and generating a corresponding application link according to the network access address of the foreground application, and adding the application link into the main interface.
In this embodiment, when the foreground of the electronic device is accessing a web application, the generation module 60 may detect whether the foreground application is switched in real time, for example, when the foreground application is switched from a current web application to another web application, or switched to a local application, or switched back to a home interface, the foreground application may be considered to be switched.
(2) Second acquisition module 20
The second obtaining module 20 is configured to obtain the first application corresponding to the application link and a second application installed in the electronic device.
In this embodiment, the installed second application mainly refers to a local application, that is, an application installed locally on the electronic device. The first application may be a web application or a local application, and is specifically determined according to the direction of the application link. And each time a new access link is generated in the main interface, the electronic equipment acquires a first application corresponding to the new link and a second application installed locally.
(3) Judging module 30
The determining module 30 is configured to determine whether a second application that is the same type as the first application exists.
In this embodiment, the types may be generally divided according to the functions that can be implemented by the application, for example, the types may include video, music, games, beauty charts, antivirus, and the like, which may be obtained directly from the vendor server when the application installation package is downloaded.
(4) Third acquisition module 40
And a third obtaining module 40, configured to, if the first application exists, take the second application that belongs to the same type as the target application, and obtain start information of the first application and the target application within a first preset time duration.
In this embodiment, the first preset time period may be set manually, for example, one month. When there are multiple applications of the same type in an electronic device, the user will usually prefer to use one or some, but not all, of them, and in this case, the electronic device may clean the rarely used applications in order to avoid occupying too much storage resources.
(5) Unloading module 50
And an uninstalling module 50, configured to uninstall the target application according to the start information.
For example, the starting information may include a starting number, and at this time, the uninstalling module 50 may specifically be configured to:
and when the starting times of the first application are greater than the starting times of the target application and the starting times of the target application are less than a first preset time, uninstalling the target application from the electronic equipment.
In this embodiment, the first preset number of times may be set manually, for example, 3 times. The uninstalling mainly comprises the operations of installing the application program, operating records and deleting the cache data. Specifically, when the application start-up times corresponding to the newly added access link in the main interface are obviously higher than the start-up times of the local applications of the same type, and the start-up times of the local applications of the same type are too low (i.e., lower than a first preset time), it is usually indicated that the applications of the same type have little significance for the user to use, and the user prefers to use the application corresponding to the newly added access link.
Of course, to more accurately measure the use significance of the same type of application to the user, the start information may further include the start duration, for example, weights of the start duration and the start frequency may be set in advance, then the start rate is calculated according to the start duration, the start frequency and the respective weights, and the target application with the start rate lower than that of the first application is uninstalled.
Furthermore, when the electronic device uninstalls a local application, a recovery period may be defined, in which the uninstalled application may be accessed in the form of a web application, and the access condition of the user to the uninstalled application in the recovery period may determine whether it is necessary to install the uninstalled application in the local again, that is, referring to fig. 7, the application management apparatus may further include an add-in module 70, including:
a first obtaining sub-module 71, configured to obtain an application identifier of the target application after the uninstalling module 50 uninstalls the target application according to the start information;
a second obtaining submodule 72, configured to obtain the network access address of the target application from the server according to the application identifier;
and an adding submodule 73, configured to generate a temporary access link according to the network access address of the target application, and add the temporary access link to the main interface.
In this embodiment, the application identifier is a registration identifier of each web application on the open platform, and is a unique identifier for identifying the web application by the server, where the application identifier may be an application name or an identification string assigned to the web application by the open platform.
It should be noted that, in order to avoid that the user does not know which local applications are uninstalled, the add-in sub-module 73 may partition a temporary display area in the main interface, where the temporary display area is used to display the web page access addresses of the uninstalled applications, and the location of the temporary display area may be set by the user, for example, the user may set an area bar at the top or bottom of the main interface as the temporary display area according to the user's own usage habits.
Further, the add-in module 70 may also include an installation submodule 74 for:
after the adding submodule 73 adds the temporary access link to the main interface, whether the user accesses the temporary access link within a second preset time length is detected;
if not, deleting the temporary access link from the main interface;
if so, acquiring the access times of the temporary access link; and when the access times reach a second preset time, acquiring the installation package of the target application from the server according to the application identifier, and installing the installation package in the electronic equipment.
In this embodiment, both the second preset time and the second preset number may be set manually, for example, the second preset time may be 15 days, and the second preset number may be 5 times. After a local application is uninstalled, if the user frequently accesses the application in a short time, the installation sub-module 74 may re-download the installation package of the application for installation, and if the user does not access the application in a short time, the installation sub-module 74 may completely delete the application.
In a specific implementation, the above units may be implemented as independent entities, or may be combined arbitrarily to be implemented as the same or several entities, and the specific implementation of the above units may refer to the foregoing method embodiments, which are not described herein again.
As can be seen from the above description, the method for accessing a web application provided in this embodiment is applied to an electronic device, where a first obtaining module 10 obtains an application link currently added to a main interface, then a second obtaining module 20 obtains a first application corresponding to the application link and an installed second application in the electronic device, a determining module 30 determines whether there is a second application that belongs to the same type as the first application, if there is a second application that belongs to the same type as the first application, a third obtaining module 40 takes the second application that belongs to the same type as a target application, and obtains start information of the first application and the target application within a first preset time, and then an uninstalling module 50 uninstalls the target application according to the start information, so that the uninstalling can be automatically performed on applications that are less used in local applications of the same type, without manual operation by a user, the method is simple, and is beneficial to release system resources occupied by useless applications, the application management effect is good.
In addition, the embodiment of the application also provides electronic equipment which can be equipment such as a smart phone and a tablet computer. As shown in fig. 8, the electronic device 900 includes a processor 901, a memory 902, a display 903, and a control circuit 904. The processor 901 is electrically connected to the memory 902, the display 903, and the control circuit 904.
The processor 901 is a control center of the electronic device 900, connects various parts of the whole electronic device by using various interfaces and lines, executes various functions of the electronic device and processes data by running or loading an application program stored in the memory 902 and calling the data stored in the memory 902, thereby performing overall monitoring of the electronic device.
In this embodiment, the processor 901 in the electronic device 900 loads instructions corresponding to processes of one or more application programs into the memory 902 according to the following steps, and the processor 901 runs the application programs stored in the memory 902, so as to implement various functions:
acquiring a currently added application link in a main interface;
acquiring a first application corresponding to the application link and a second application installed in the electronic equipment;
judging whether a second application which belongs to the same type as the first application exists or not;
if the first application and the second application are in the same type, the second application is used as a target application, and starting information of the first application and the target application within a first preset time length is obtained;
and uninstalling the target application according to the starting information.
Memory 902 may be used to store applications and data. The memory 902 stores applications containing instructions executable in the processor. The application programs may constitute various functional modules. The processor 901 executes various functional applications and data processing by running an application program stored in the memory 902.
The display 903 may be used to display information input by or provided to the user as well as various graphical user interfaces of the terminal, which may be comprised of images, text, icons, video, and any combination thereof.
The control circuit 904 is electrically connected to the display 903, and is configured to control the display 903 to display information.
In some embodiments, as shown in fig. 8, electronic device 900 further comprises: a radio frequency circuit 905, an input unit 906, an audio circuit 907, a sensor 908, and a power supply 909. The processor 901 is electrically connected to the rf circuit 905, the input unit 906, the audio circuit 907, the sensor 908, and the power source 909.
The radio frequency circuit 905 is configured to receive and transmit radio frequency signals, so as to establish wireless communication with a network device or other electronic devices through wireless communication, and receive and transmit signals with the network device or other electronic devices.
The input unit 906 may be used to receive input numbers, character information, or user characteristic information (e.g., a fingerprint), and to generate keyboard, mouse, joystick, optical, or trackball signal inputs related to user settings and function control. The input unit 906 may include a fingerprint recognition module.
The audio circuit 907 may provide an audio interface between the user and the terminal through a speaker, microphone, or the like.
The electronic device 900 may also include at least one sensor 908, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel according to the brightness of ambient light, and a proximity sensor that may turn off the display panel and/or the backlight when the terminal is moved to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when the mobile phone is stationary, and can be used for applications of recognizing the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured in the terminal, detailed description is omitted here.
The power supply 909 is used to supply power to the various components of the electronic device 900. In some embodiments, the power source 909 may be logically connected to the processor 901 through a power management system, so that functions of managing charging, discharging, and power consumption management are realized through the power management system.
Although not shown in fig. 8, the electronic device 900 may further include a camera, a bluetooth module, etc., which are not described in detail herein.
It will be understood by those skilled in the art that all or part of the steps of the methods of the above embodiments may be performed by instructions or by associated hardware controlled by the instructions, which may be stored in a computer readable storage medium and loaded and executed by a processor. To this end, the embodiment of the present invention provides a storage medium, in which a plurality of instructions are stored, and the instructions can be loaded by a processor to execute the steps in any one of the application management methods provided by the embodiment of the present invention.
Wherein the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
Since the instructions stored in the storage medium can execute the steps in any application management method provided in the embodiments of the present invention, the beneficial effects that can be achieved by any application management method provided in the embodiments of the present invention can be achieved, which are detailed in the foregoing embodiments and will not be described herein again.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
In summary, although the present application has been described with reference to the preferred embodiments, the above-described preferred embodiments are not intended to limit the present application, and those skilled in the art can make various changes and modifications without departing from the spirit and scope of the present application, so that the scope of the present application shall be determined by the appended claims.

Claims (10)

1. An application management method applied to an electronic device, the method comprising:
acquiring an application link added currently in a main interface, wherein the application link corresponds to a webpage application;
acquiring a first application corresponding to the application link and a second application installed in the electronic equipment;
judging whether a second application which belongs to the same type as the first application exists or not;
if the first application and the second application belong to the same type, taking the second application as a target application, and acquiring starting information of the first application and the target application within a first preset time length;
and unloading the target application according to the starting information.
2. The application management method according to claim 1, wherein the start-up information includes a number of starts, and the uninstalling the target application according to the start-up information includes:
and when the starting times of the first application are greater than the starting times of the target application and the starting times of the target application are less than a first preset time, unloading the target application from the electronic equipment.
3. The application management method according to claim 2, further comprising, after uninstalling the target application according to the start-up information:
acquiring an application identifier of the target application;
acquiring a network access address of the target application from a server according to the application identifier;
and generating a temporary access link according to the network access address of the target application, and adding the temporary access link into the main interface.
4. The application management method according to claim 3, further comprising, after adding the temporary access link to the host interface:
detecting whether the user accesses the temporary access link within a second preset time length;
if not, deleting the temporary access link from the main interface;
if so, acquiring the access times of the temporary access link; and when the access times reach a second preset time, acquiring the installation package of the target application from the server according to the application identifier, and installing the installation package in the electronic equipment.
5. The application management method according to any one of claims 1 to 4, further comprising, before acquiring the currently added application link in the main interface:
when a foreground application of the electronic equipment is a webpage application, detecting whether the foreground application is switched or not;
if so, acquiring the network access address of the foreground application before switching;
and generating a corresponding application link according to the network access address of the foreground application, and adding the application link into a main interface.
6. An application management apparatus applied to an electronic device, comprising:
the first acquisition module is used for acquiring an application link added currently in the main interface, and the application link corresponds to the webpage application;
a second obtaining module, configured to obtain a first application corresponding to the application link and a second application installed in the electronic device;
the judging module is used for judging whether a second application which belongs to the same type as the first application exists or not;
a third obtaining module, configured to, if the first application exists, take the second application that belongs to the same type as a target application, and obtain start information of the first application and the target application within a first preset duration;
and the unloading module is used for unloading the target application according to the starting information.
7. The application management device according to claim 6, wherein the start-up information includes a number of starts, and the uninstall module is specifically configured to:
and when the starting times of the first application are greater than the starting times of the target application and the starting times of the target application are less than a first preset time, unloading the target application from the electronic equipment.
8. The application management device according to claim 7, wherein the application management device further comprises an add-in module configured to:
after the uninstalling module uninstalls the target application according to the starting information, acquiring an application identifier of the target application;
acquiring a network access address of the target application from a server according to the application identifier;
and generating a temporary access link according to the network access address of the target application, and adding the temporary access link into the main interface.
9. A storage medium having stored therein a plurality of instructions adapted to be loaded by a processor to perform the application management method of any of claims 1 to 5.
10. An electronic device comprising a processor and a memory, the processor being electrically connected to the memory, the memory being configured to store instructions and data, the processor being configured to perform the steps of the application management method of any one of claims 1 to 5.
CN201810150919.7A 2018-02-13 2018-02-13 Application management method and device, storage medium and electronic equipment Expired - Fee Related CN108268274B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810150919.7A CN108268274B (en) 2018-02-13 2018-02-13 Application management method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810150919.7A CN108268274B (en) 2018-02-13 2018-02-13 Application management method and device, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN108268274A CN108268274A (en) 2018-07-10
CN108268274B true CN108268274B (en) 2020-03-10

Family

ID=62774157

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810150919.7A Expired - Fee Related CN108268274B (en) 2018-02-13 2018-02-13 Application management method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN108268274B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113721936B (en) * 2018-12-19 2023-09-26 聚好看科技股份有限公司 Application management method, intelligent terminal, device and storage medium
CN109918137B (en) * 2019-03-01 2023-05-19 京东方科技集团股份有限公司 Operating system suitable for electronic equipment and electronic equipment
CN110221846A (en) * 2019-06-10 2019-09-10 深圳传音控股股份有限公司 Processing method, terminal device and the computer readable storage medium of installation kit

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104216740A (en) * 2014-08-22 2014-12-17 北京金山安全软件有限公司 Application software management method and device and terminal
CN105739955A (en) * 2014-12-09 2016-07-06 中兴通讯股份有限公司 Method and device of clearing application programs of terminal
CN106599257B (en) * 2016-12-21 2020-07-07 北京奇虎科技有限公司 Method for realizing page shortcut and electronic equipment
CN106598617A (en) * 2016-12-21 2017-04-26 北京奇虎科技有限公司 Method for setting webpage shortcut, and electronic equipment

Also Published As

Publication number Publication date
CN108268274A (en) 2018-07-10

Similar Documents

Publication Publication Date Title
CN107276789B (en) Log uploading method and device and computer readable storage medium
CN108363528B (en) Application page starting method and device, storage medium and electronic equipment
CN109857403B (en) Page updating method and device, page processing method and device
CN103473163B (en) application program detection method and device
CN108287918B (en) Music playing method and device based on application page, storage medium and electronic equipment
CN108549568B (en) Application entry processing method and device, storage medium and electronic equipment
CN108345478B (en) Application processing method and device, storage medium and electronic equipment
WO2015154670A1 (en) Method and apparatus for invoking application programming interface
WO2020206691A1 (en) Application processing method and apparatus, storage medium, and electronic device
CN109324857B (en) User guide implementation method, device and storage medium
CN108228230A (en) Upgrade method, terminal and the computer readable storage medium of UFS firmwares
US9672026B2 (en) Light app offline updating method, device and terminal
CN106547569A (en) A kind of page access method and apparatus in application
CN108268274B (en) Application management method and device, storage medium and electronic equipment
CN115967618B (en) Multi-item BMC sensor configuration management method and device
CN106919458B (en) Method and device for Hook target kernel function
CN105955739A (en) Graphical interface processing method, apparatus and system
CN110020293A (en) Multi-medium data methods of exhibiting, device and storage medium
EP2869604B1 (en) Method, apparatus and device for processing a mobile terminal resource
CN110489679B (en) Browser kernel processing method and device and storage medium
CN112559069B (en) Running control method and device of sub-application, storage medium and electronic equipment
CN108182090B (en) Flash plug-in loading method and device based on blink kernel
CN110990032B (en) Application program installation method and electronic equipment
CN108363793B (en) Webpage application access method and device, storage medium and electronic equipment
CN108563476B (en) Application program running method and device, storage medium and electronic equipment

Legal Events

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

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

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

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

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

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

Granted publication date: 20200310

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