CN106815040B - Method and device for updating application - Google Patents
Method and device for updating application Download PDFInfo
- Publication number
- CN106815040B CN106815040B CN201611044834.8A CN201611044834A CN106815040B CN 106815040 B CN106815040 B CN 106815040B CN 201611044834 A CN201611044834 A CN 201611044834A CN 106815040 B CN106815040 B CN 106815040B
- Authority
- CN
- China
- Prior art keywords
- information
- application
- forbidden
- updated
- container
- 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.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44521—Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Human Computer Interaction (AREA)
- User Interface Of Digital Computer (AREA)
- Digital Computer Display Output (AREA)
Abstract
The invention provides a method and a device for updating an application, which comprises the following steps: starting updating processing of forbidden applications in a first entrance information container, wherein the first entrance information container contains first entrance information of the forbidden applications; storing the updated second entry information of the forbidden application; and blocking the loading display of the second entrance information in the first entrance information container and/or the desktop display container. According to the method and the device for updating the application in the refrigerating chamber, when the forbidden application is updated, loading and displaying of the updated entrance information are blocked, the updated entrance information of the forbidden application is not displayed, and the convenience of use of a user is improved.
Description
Technical Field
The present invention relates to the field of application update, and in particular, to a method and an apparatus for performing application update.
Background
When the user puts the application in the application container to be forbidden, the application cannot receive the broadcast of the system, and the application cannot be pulled up to release the memory when the application is started, so that the occupancy rate of the system memory is reduced, the system fluency is improved, and the power and the memory are saved. At present, when forbidden applications in an application container are updated, new entry information is usually generated; or the application is forbidden to be displayed again in the desktop display container or the entrance information is added, so that the forbidden application needs to be forbidden again, the use of the user is complicated, and the inconvenience is brought to the user.
Disclosure of Invention
The invention mainly aims to provide a method and a device for updating an application, which can block the loading and displaying of updated entry information when the forbidden application is updated, and improve the convenience of use of a user.
The invention provides a method for updating an application, which comprises the following steps:
starting updating processing of forbidden applications in a first entrance information container, wherein the first entrance information container contains first entrance information of the forbidden applications;
storing the updated second entry information of the forbidden application;
and blocking the loading display of the second entrance information in the first entrance information container and/or the desktop display container.
Further, the first entry information and the second entry information include an application icon and/or a name.
Further, the second entry information updated by the forbidden application includes:
and the forbidden application replaces the entry information before updating, newly adds the entry information after updating and deletes the entry information before updating.
Further, the step of blocking the loading display of the second portal information in the first portal information container and/or the desktop display container includes, after the step of blocking the loading display of the second portal information in the first portal information container and/or the desktop display container:
when the forbidden application in the first entrance information container is forbidden, judging whether the forbidden application is newly added, updated and/or deleted entrance information;
and loading and displaying the entrance information updated by the forbidden application in the desktop display container according to the judgment result.
Further, the step of loading and displaying the portal information updated by the forbidden application in the desktop display container further includes:
and deleting the first entrance information of the forbidden application in the first entrance information container.
Further, the step of loading and displaying the entry information updated by the forbidden application in the desktop display container according to the judgment result includes:
if the forbidden application does not add, update and/or delete the entry information newly, loading and displaying the first entry information in a desktop display container; or,
and if the forbidden application has the newly added, updated and/or deleted entrance information, correspondingly loading and displaying the newly added, updated and/or deleted entrance information in the desktop display container.
Further, if the prohibited application has newly added, updated and/or deleted entry information, the step of correspondingly displaying the newly added, updated and/or deleted entry information in the desktop display container includes:
if the forbidden application has the newly added entrance information, loading and displaying the first entrance information and the newly added entrance information in the desktop display container;
if the forbidden application has the updated entrance information, loading and displaying the updated entrance information in the desktop display container instead of the first entrance information;
and if the forbidden application has the deleted entry information, the first deleted entry information is forbidden to be loaded and displayed in the desktop display container.
Further, the step of determining whether the forbidden application adds, updates, and/or deletes entry information includes:
and judging whether the forbidden application adds, updates and/or deletes the entry information or not by acquiring the system information in the packet manager.
The invention also provides a device for updating the application, which comprises:
the starting unit is used for starting updating processing of forbidden applications in a first entrance information container, wherein the first entrance information container contains first entrance information of the forbidden applications;
the storage unit is used for storing the updated second entrance information of the forbidden application;
and the blocking unit is used for blocking the loading display of the second entrance information in the first entrance information container and/or the desktop display container.
Further, the first entry information and the second entry information include an application icon and/or a name.
Further, the second entry information updated by the forbidden application includes:
and the forbidden application replaces the entry information before updating, newly adds the entry information after updating and deletes the entry information before updating.
Further, still include:
the judging unit is used for judging whether the forbidden application is newly added, updated and/or deleted when the forbidden application in the first entrance information container is forbidden;
and the display unit loads and displays the entrance information after the forbidden application is updated in the desktop display container according to the judgment result.
Further, the display unit is further configured to delete the prohibited-application first entry information in the first entry information container.
Further, the display unit includes:
the first display subunit loads and displays the first entry information in a desktop display container if the forbidden application does not newly add, update and/or delete entry information;
and the second display subunit, if the forbidden application has the new, updated and/or deleted entry information, correspondingly loads and displays the new, updated and/or deleted entry information in the desktop display container.
Further, the second display subunit specifically includes:
if the forbidden application has the newly added entrance information, loading and displaying the first entrance information and the newly added entrance information in the desktop display container;
if the forbidden application has the updated entrance information, loading and displaying the updated entrance information in the desktop display container instead of the first entrance information;
and if the forbidden application has the deleted entry information, the first deleted entry information is forbidden to be loaded and displayed in the desktop display container.
Further, the judging unit includes:
and the judging subunit judges whether the forbidden application adds, updates and/or deletes the entry information by acquiring the system information in the packet manager.
The method and the device for updating the application, provided by the invention, have the following beneficial effects:
according to the method and the device for updating the application, when the forbidden application is updated, the action of loading and displaying the updated entry information is blocked, and the interference of new entry information loaded and displayed on a desktop display container to a user is avoided; when the forbidden application is forbidden, the system information in the packet manager is obtained to judge whether the entry information is newly added, updated and/or deleted, and corresponding loading display operation is carried out on the desktop display container according to the result, so that the entry information display of the application is prevented from being disordered and causing troubles to users.
Drawings
FIG. 1 is a schematic diagram illustrating steps of a method for performing application updates according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of the steps of a method for performing application updates according to another embodiment of the present invention;
FIG. 3 is a schematic diagram of an apparatus for performing application update according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of a determining unit according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of a display unit according to an embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
As used herein, the singular forms "a", "an", "the" and "the" include plural referents unless the content clearly dictates otherwise. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. It will be understood that when an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may also be present. Further, "connected" or "coupled" as used herein may include wirelessly connected or wirelessly coupled. As used herein, the term "and/or" includes all or any element and all combinations of one or more of the associated listed items.
It will be understood by those skilled in the art that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the prior art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.
As used herein, "terminal," "mobile terminal," and "terminal device" include both devices that are wireless signal receivers, devices that have only wireless signal receivers without transmit capability, and devices that have receive and transmit hardware, devices that have receive and transmit hardware capable of performing two-way communication over a two-way communication link, as will be understood by those skilled in the art. Such a device may include: a cellular or other communication device having a single line display or a multi-line display or a cellular or other communication device without a multi-line display; PCS (Personal Communications Service), which may combine voice, data processing, facsimile and/or data communication capabilities; a PDA (Personal digital assistant), which may include a radio frequency receiver, a pager, internet/intranet access, a web browser, a notepad, a calendar, and/or a GPS (Global Positioning System) receiver; a conventional laptop and/or palmtop computer or other device having and/or including a radio frequency receiver. As used herein, a "terminal" or "terminal device" may be portable, transportable, installed in a vehicle (aeronautical, maritime, and/or land-based), or situated and/or configured to operate locally and/or in a distributed fashion at any other location(s) on earth and/or in space. As used herein, a "terminal device" may also be a communication terminal, a web-enabled terminal, and a music/video playing terminal, and may be, for example, a PDA, an MID (Mobile internet device) and/or a Mobile phone with a music/video playing function, and may also be a smart tv, a set-top box, and the like.
Fig. 1 is a schematic diagram illustrating steps of a method for updating an application according to an embodiment of the present invention.
The embodiment of the invention provides a method for updating an application, which comprises the following steps:
step S1, starting an update process for the prohibited application in a first portal information container, where the first portal information container includes the prohibited first portal information;
step S2, storing the updated second entry information of the prohibited application;
and step S3, blocking the loading display of the second portal information in the first portal information container and/or the desktop display container.
The method in this embodiment can be applied to an intelligent terminal including a mobile phone, a tablet, and the like. Generally, users download various software applications to be installed in mobile phones according to requirements, wherein some software applications are not commonly used, and for the software applications, the available memory of the mobile phone is occupied and the power consumption of the system is increased, which is not good for user experience. Therefore, in this embodiment, a first portal information container is provided, and the application that the user needs to disable is stored in the first portal information container and is disabled, the first portal information of the disabled application is stored in the first portal information container, and any portal information of the disabled application is not displayed in the desktop display container. The forbidden application in the first portal information container cannot accept the broadcast information of the system and cannot be pulled up through other paths; to pull up the prohibited application, the user must first unlock the application. When the forbidden application stored in the first entrance information container is started to be updated, the second entrance information after the forbidden application is updated is stored, and the second entrance information is blocked from being loaded and displayed in the first entrance information container and/or the desktop display container. Therefore, new entrance information cannot be generated to interfere the user, and forbidden applications cannot be forbidden in the application updating process, so that the convenience of use of the user is improved.
In a specific embodiment, a refrigerating chamber of the first inlet information container forbidden application is arranged on the mobile phone, and the refrigerating chamber contains the first inlet information of the application. The application placed in the refrigerating chamber cannot receive the broadcast information of the system and cannot be pulled up through other paths, so that the application cannot be started or started automatically at the background, the memory cannot be occupied, and the power consumption of the system cannot be increased. And the application placed in the refrigerating chamber does not display the inlet information of the application on a desktop, and the desktop is the desktop display container.
Specifically, by calling setApplicationEnabledSetting () function in a system PM (PACKAGE manager) interface and transmitting the setApplicationEnabledSetting () function into a PACKAGE manager, component _ ENABLED _ STATE _ disable led parameter to set all components in an application to a disable STATE, at this time, a mobile desktop receives an active _ PACKAGE _ CHANGED broadcast, and when receiving the broadcast, the mobile desktop determines whether the application is currently in the disable STATE according to the getApplicationEnabledSetting () interface of the PM or an ENABLED attribute in ApplicationInfo corresponding to the application, and when in the disable STATE, deletes the application and its corresponding entry information (shortcut), and all widgets from the desktop, and places the application into a cold room, and the application is DISABLED. The entry information of the application mainly comprises an icon and/or a name of the application.
When the application in the cold storage room is updated, new entrance information may be added to the application, or the entrance information is deleted, or the entrance information is updated and replaced; in the traditional updating mode, updated entrance information is displayed on a desktop or in a refrigerating chamber, and a user cannot distinguish the entrance information; or when the application is updated, the application is unfrozen (namely forbidden) to the desktop, so that the application is pulled up and the system memory is occupied. These applications that do not require pulling are prone to user frustration. In this embodiment, when the application in the cold storage room is updated, only the corresponding program file is updated, and the loading and displaying operations of the updated second entry information on the cold storage room and the desktop are prohibited, so that the updated second entry information is not displayed on the cold storage room and the desktop. The second entry information is stored in the packet manager, and when the application in the cold storage room needs to be thawed, the stored second entry information is acquired again for loading processing.
In this embodiment, the first entry information and the second entry information are entry information of an application, and each entry information includes an application icon and/or a name.
The entrance information of the application mainly comprises application icons and/or names, different applications usually have different icons and names, and the entrance information placed on the desktop of the mobile phone can be used for pulling up the application by clicking the icons. For the same application, there may be multiple pieces of entry information, different pieces of entry information correspond to different pieces of application, and different versions of application may have different pieces of entry information correspondingly.
Further, the second entry information after the forbidden application is updated in the refrigerating chamber comprises entry information before the forbidden application is updated, entry information newly added after the forbidden application is updated, and entry information before the forbidden application is deleted.
For example, a 360-degree mobile assistant application installed on a mobile phone has two pieces of entry information in the V1.0 version, and when the V1.0 version is updated and upgraded to the V2.0 version, new entry information may be added, some (one or two) pieces of entry information may also be deleted, and at the same time, an icon and a name of existing entry information may also be updated and replaced.
Fig. 2 is a flowchart illustrating a method for performing application update according to another embodiment of the present invention.
As described in the above step S3, the step of blocking the loading display of the second portal information in the first portal information container and/or the desktop display container includes:
step S4, when the forbidden application in the first portal information container is forbidden, determining whether the forbidden application adds, updates and/or deletes the portal information.
The first inlet information container in this embodiment is a cold storage room on the mobile phone. When the application in the refrigerating chamber needs to be pulled up, the application in the refrigerating chamber needs to be unfrozen to a desktop, and then the application needs to be operated. Applications in the cold room do not receive the system's broadcast information and cannot be pulled up by other paths, and applications can only be pulled up if they are thawed (banned) from the cold room to the desktop. Specifically, all components in the application can be set to an enable STATE by calling setApplicationEnabledSetting () function in a system PM interface and by sending in a packagemanager, component _ ENABLED _ STATE _ ENABLED parameter, at this time, the desktop receives an ACTION _ PACKAGE _ CHANGED broadcast, and when receiving the broadcast, the desktop determines whether the application is currently in the enable STATE according to the getApplicationEnabledSetting () interface of the PM or the ENABLED attribute in the ApplicationInfo corresponding to the application, deletes the application from the cold storage when in the enable STATE, and creates entry information (icons and/or names) of the application on the desktop. When the application in the refrigerating chamber is unfrozen, firstly, whether the application needing to be unfrozen is newly added, updated and/or deleted needs to be judged. Specifically, whether the forbidden application in the cold storage room is added, updated and/or deleted with the entry information can be judged by acquiring queryIntentActivities system information in a Pack Manager (PM).
And step S5, loading and displaying the entrance information after the forbidden application is updated in the desktop display container according to the judgment result. The desktop display container is the desktop of the mobile phone. And deleting the first entrance information of the forbidden application in the first entrance information container/cold room while the desktop loading displays the entrance information updated by the forbidden application.
Specifically, in step S5, the step of loading and displaying the entry information updated with the prohibited application in the desktop display container according to the determination result includes:
if the forbidden application does not add, update and/or delete the entry information newly, loading and displaying the first entry information in a desktop display container; or,
and if the forbidden application has the newly added, updated and/or deleted entrance information, correspondingly loading and displaying the newly added, updated and/or deleted entrance information in the desktop display container.
In this embodiment, whether the entry information of the forbidden application is newly added, updated and/or deleted is determined by calling queryientactivities system information in the package manager, and the loading and displaying operation is correspondingly performed.
Specifically, if the prohibited application has newly added, updated and/or deleted entry information, the step of correspondingly loading and displaying the newly added, updated and/or deleted entry information in the desktop display container includes:
and if the forbidden application has the newly added entrance information, loading and displaying the first entrance information and the newly added entrance information in the desktop display container.
And if the forbidden application has the updated entrance information, loading and displaying the updated entrance information in the desktop display container instead of the first entrance information.
And if the forbidden application has the deleted entry information, the first deleted entry information is forbidden to be loaded and displayed in the desktop display container.
In this embodiment, when the disabled application update process stored in the first portal information container (cold storage room) is started, the second portal information after the disabled application update is stored, and the second portal information is blocked from being loaded and displayed in the first portal information container and/or the desktop display container. When the forbidden application in the first entrance information container is forbidden (unfrozen), an action of judging whether the forbidden application is newly added, updated and/or deleted is added, so that the entrance information of the application is correspondingly loaded and displayed when the forbidden application is unfrozen. The method and the device prevent too much disordered entry information from being generated, interfere the user and facilitate the use convenience of the user.
In order to further describe the method of the present invention, an apparatus for performing application update is further provided in the embodiment of the present invention.
Referring to fig. 3, an embodiment of the present invention provides an apparatus for performing application update, where the apparatus includes:
the starting unit 10 is configured to start an update process for a prohibited application in a first portal information container, where the first portal information container includes the prohibited first portal information.
A storage unit 20, configured to store the updated second entry information of the disabled application.
And the blocking unit 30 is used for blocking the loading display of the second entrance information in the first entrance information container and/or the desktop display container.
The method in this embodiment can be applied to an intelligent terminal including a mobile phone, a tablet, and the like. Generally, a user downloads various software applications to be installed in a mobile phone according to needs, wherein some software applications are not commonly used, and for the software applications, the software applications also occupy available memory of the mobile phone and increase system power consumption, which is not good for user experience. Therefore, in this embodiment, a first portal information container is provided, and the application that the user needs to disable is stored in the first portal information container and is disabled, the first portal information of the disabled application is stored in the first portal information container, and any portal information of the disabled application is not displayed in the desktop display container. The forbidden application in the first portal information container cannot accept the broadcast information of the system and cannot be pulled up through other paths; to pull up the prohibited application, the user must first unlock the application. When the forbidden application stored in the first entrance information container is started to be updated, the second entrance information after the forbidden application is updated is stored, and the second entrance information is blocked from being loaded and displayed in the first entrance information container and/or the desktop display container. Therefore, new entrance information cannot be generated to interfere the user, and forbidden applications cannot be forbidden in the application updating process, so that the convenience of use of the user is improved.
In a specific embodiment, a refrigerating chamber of the first inlet information container forbidden application is arranged on the mobile phone, and the refrigerating chamber contains the first inlet information of the application. The application placed in the refrigerating chamber cannot receive the broadcast information of the system and cannot be pulled up through other paths, so that the application cannot be started or started automatically at the background, the memory cannot be occupied, and the power consumption of the system cannot be increased. And the application placed in the refrigerating chamber does not display the inlet information of the application on a desktop, and the desktop is the desktop display container.
Specifically, by calling setApplicationEnabledSetting () function in a system PM (PACKAGE manager) interface and transmitting the setApplicationEnabledSetting () function into a PACKAGE manager, component _ ENABLED _ STATE _ disable led parameter to set all components in an application to a disable STATE, at this time, a mobile desktop receives an active _ PACKAGE _ CHANGED broadcast, and when receiving the broadcast, the mobile desktop determines whether the application is currently in the disable STATE according to the getApplicationEnabledSetting () interface of the PM or an ENABLED attribute in ApplicationInfo corresponding to the application, and when in the disable STATE, deletes the application and its corresponding entry information (shortcut), and all widgets from the desktop, and places the application into a cold room, and the application is DISABLED. The entry information of the application mainly comprises an icon and/or a name of the application.
When the application in the cold storage room is updated, new entrance information may be added to the application, or the entrance information is deleted, or the entrance information is updated and replaced; in the traditional updating mode, updated entrance information is displayed on a desktop or in a refrigerating chamber, and a user cannot distinguish the entrance information; or when the application is updated, the application is unfrozen (i.e. forbidden) to the desktop, so that the application is pulled up, and the system memory is occupied, and the applications which do not need to be pulled up cause troubles to users. In this embodiment, when the application in the cold storage room is updated, only the corresponding program file is updated, and the loading and displaying operations of the updated second entry information on the cold storage room and the desktop are prohibited, so that the updated second entry information is not displayed on the cold storage room and the desktop. The second entry information is stored in the packet manager, and when the application in the cold storage room needs to be thawed, the stored second entry information is acquired again for loading processing.
In this embodiment, the first entry information and the second entry information are entry information of an application, and each entry information includes an application icon and/or a name.
The entrance information of the application mainly comprises application icons and/or names, different applications usually have different icons and names, and the entrance information placed on the desktop of the mobile phone can be used for pulling up the application by clicking the icons. For the same application, there may be multiple pieces of entry information, different pieces of entry information correspond to different pieces of application, and different pieces of application may have different pieces of entry information.
Further, the second entry information after the disabled application is updated includes entry information before the disabled application is updated instead, entry information newly added after the disabled application is updated, and entry information before the disabled application is deleted.
For example, a 360-degree mobile assistant application installed on a mobile phone has two pieces of entry information in the V1.0 version, and when the V1.0 version is updated and upgraded to the V2.0 version, new entry information may be added, some (one or two) pieces of entry information may also be deleted, and at the same time, an icon and a name of existing entry information may also be updated and replaced.
Further, the above apparatus further comprises:
the determining unit 40 determines whether the prohibited application adds, updates and/or deletes the entry information when the prohibited application in the first entry information container is prohibited.
The first inlet information container in this embodiment is a cold storage room on the mobile phone. When the application in the refrigerating chamber needs to be pulled up, the application in the refrigerating chamber needs to be unfrozen to a desktop, and then the application needs to be operated. Applications in the cold room do not receive the system's broadcast information and cannot be pulled up by other paths, and applications can only be pulled up if they are thawed (banned) from the cold room to the desktop. Specifically, all components in the application can be set to an enable STATE by calling setApplicationEnabledSetting () function in a system PM interface and by sending in a packagemanager, component _ ENABLED _ STATE _ ENABLED parameter, at this time, the desktop receives an ACTION _ PACKAGE _ CHANGED broadcast, and when receiving the broadcast, the desktop determines whether the application is currently in the enable STATE according to the getApplicationEnabledSetting () interface of the PM or the ENABLED attribute in the ApplicationInfo corresponding to the application, deletes the application from the cold storage when in the enable STATE, and creates entry information (icons and names) of the application on the desktop. When the application in the refrigerating chamber is unfrozen, firstly, whether the application needing to be unfrozen is newly added, updated and/or deleted needs to be judged.
Specifically, referring to fig. 4, the above-described judging unit 40 includes:
the determining subunit 400 determines whether to add, update, and/or delete entry information for the current application by acquiring the system information in the packet manager.
Whether the application adds, updates and/or deletes the entry information can be judged by obtaining the queryIntentActivities system information in the Packet Manager (PM), and then subsequent operation is carried out.
And the display unit 50 loads and displays the entrance information after the forbidden application is updated in the desktop display container according to the judgment result. The desktop display container is the desktop of the mobile phone. And deleting the first entrance information of the forbidden application in the first entrance information container/cold room while the desktop loading displays the entrance information updated by the forbidden application.
Specifically, referring to fig. 5, the display unit 50 includes:
the first display subunit 500 loads and displays the first entry information in the desktop display container if the prohibited application does not newly add, update and/or delete entry information;
if the second display subunit 501 is prohibited from applying the new, updated and/or deleted entry information, the new, updated and/or deleted entry information is correspondingly loaded and displayed in the desktop display container.
In this embodiment, whether the entry information of the forbidden application is newly added, updated and/or deleted is determined by calling queryientactivities system information in the package manager, and the loading and displaying operation is correspondingly performed.
Specifically, the loading and displaying of the entry information by the second display subunit 501 specifically includes:
and if the forbidden application has the newly added entrance information, loading and displaying the first entrance information and the newly added entrance information in the desktop display container.
And if the forbidden application has the updated entrance information, loading and displaying the updated entrance information in the desktop display container instead of the first entrance information.
And if the forbidden application has the deleted entry information, the first deleted entry information is forbidden to be loaded and displayed in the desktop display container.
In this embodiment, when the disabled application update process stored in the first portal information container (cold storage room) is started, the second portal information after the disabled application update is stored, and the second portal information is blocked from being loaded and displayed in the first portal information container and/or the desktop display container. When the forbidden application in the first entrance information container is forbidden (unfrozen), an action of judging whether the forbidden application is newly added, updated and/or deleted is added, so that the entrance information of the application is correspondingly loaded and displayed when the forbidden application is unfrozen. The method and the device prevent too much disordered entry information from being generated, interfere the user and facilitate the use convenience of the user.
In summary, the method and the apparatus for updating an application according to the embodiments of the present invention block the action of loading and displaying updated entry information when the forbidden application is updated, so as to avoid generating new entry information to be loaded and displayed on the desktop display container to interfere with the user; when the forbidden application is forbidden, the system information in the packet manager is obtained to judge whether the entry information is newly added, updated and/or deleted, and corresponding loading display operation is carried out on the desktop display container according to the result, so that the entry information display of the application is prevented from being disordered and causing troubles to users.
Those skilled in the art will appreciate that the present invention includes apparatus directed to performing one or more of the operations described in the present application. These devices may be specially designed and manufactured for the required purposes, or they may comprise known devices in general-purpose computers. These devices have stored therein computer programs that are selectively activated or reconfigured. Such a computer program may be stored in a device (e.g., computer) readable medium, including, but not limited to, any type of disk including floppy disks, hard disks, optical disks, CD-ROMs, and magnetic-optical disks, ROMs (Read-Only memories), RAMs (Random Access memories), EPROMs (Erasable Programmable Read-Only memories), EEPROMs (Electrically Erasable Programmable Read-Only memories), flash memories, magnetic cards, or optical cards, or any type of media suitable for storing electronic instructions, and each coupled to a bus. That is, a readable medium includes any medium that stores or transmits information in a form readable by a device (e.g., a computer).
It will be understood by those within the art that each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented by computer program instructions. Those skilled in the art will appreciate that the computer program instructions may be implemented by a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, implement the features specified in the block or blocks of the block diagrams and/or flowchart illustrations of the present disclosure.
Those of skill in the art will appreciate that various operations, methods, steps in the processes, acts, or solutions discussed in the present application may be alternated, modified, combined, or deleted. Further, various operations, methods, steps in the flows, which have been discussed in the present application, may be interchanged, modified, rearranged, decomposed, combined, or eliminated. Further, steps, measures, schemes in the various operations, methods, procedures disclosed in the prior art and the present invention can also be alternated, changed, rearranged, decomposed, combined, or deleted.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.
The invention provides the following technical scheme:
a1, a method for updating application, comprising:
starting updating processing of forbidden applications in a first entrance information container, wherein the first entrance information container contains first entrance information of the forbidden applications;
storing the updated second entry information of the forbidden application;
and blocking the loading display of the second entrance information in the first entrance information container and/or the desktop display container.
A2, the method of A1, the first and second portal information including application icons and/or names.
A3, the method according to A1 or A2, wherein the disabled application updated second entry information comprises:
and the forbidden application replaces the entry information before updating, newly adds the entry information after updating and deletes the entry information before updating.
A4, the method of A1, wherein the blocking of the loaded display of the second portal information in the first portal information container and/or the desktop display container comprises:
when the forbidden application in the first entrance information container is forbidden, judging whether the forbidden application is newly added, updated and/or deleted entrance information;
and loading and displaying the entrance information updated by the forbidden application in the desktop display container according to the judgment result.
A5, according to the method in A4, the step of loading and displaying the entrance information updated by the forbidden application in the desktop display container further includes:
and deleting the first entrance information of the forbidden application in the first entrance information container.
A6, according to the method in A4, the step of loading and displaying the entrance information updated by the forbidden application in the desktop display container according to the judgment result comprises:
if the forbidden application does not add, update and/or delete the entry information newly, loading and displaying the first entry information in a desktop display container; or,
and if the forbidden application has the newly added, updated and/or deleted entrance information, correspondingly loading and displaying the newly added, updated and/or deleted entrance information in the desktop display container.
A7, according to the method in a6, if the prohibited application has newly added, updated and/or deleted entry information, the step of correspondingly displaying the newly added, updated and/or deleted entry information in the desktop display container includes:
if the forbidden application has the newly added entrance information, loading and displaying the first entrance information and the newly added entrance information in the desktop display container;
if the forbidden application has the updated entrance information, loading and displaying the updated entrance information in the desktop display container instead of the first entrance information;
and if the forbidden application has the deleted entry information, the first deleted entry information is forbidden to be loaded and displayed in the desktop display container.
A8, the method according to any one of a4-a7, wherein the step of determining whether the prohibited application adds, updates, and/or deletes entry information includes:
and judging whether the forbidden application adds, updates and/or deletes the entry information or not by acquiring the system information in the packet manager.
B1, an apparatus for performing application update, comprising:
the starting unit is used for starting updating processing of forbidden applications in a first entrance information container, wherein the first entrance information container contains first entrance information of the forbidden applications;
the storage unit is used for storing the updated second entrance information of the forbidden application;
and the blocking unit is used for blocking the loading display of the second entrance information in the first entrance information container and/or the desktop display container.
B2, the apparatus of B1, the first and second portal information comprising an application icon and/or name.
B3, the apparatus of B1 or B2, the disabled application updated second entry information comprising:
and the forbidden application replaces the entry information before updating, newly adds the entry information after updating and deletes the entry information before updating.
B4, the apparatus according to B1, further comprising:
the judging unit is used for judging whether the forbidden application is newly added, updated and/or deleted when the forbidden application in the first entrance information container is forbidden;
and the display unit loads and displays the entrance information after the forbidden application is updated in the desktop display container according to the judgment result.
B5, the apparatus of B4, the display unit further configured to delete the prohibited-application first entry information in the first entry information container.
B6, the device according to B4, the display unit comprising:
the first display subunit loads and displays the first entry information in a desktop display container if the forbidden application does not newly add, update and/or delete entry information;
and the second display subunit, if the forbidden application has the new, updated and/or deleted entry information, correspondingly loads and displays the new, updated and/or deleted entry information in the desktop display container.
B7, according to the device of B6, the second display subunit specifically comprises:
if the forbidden application has the newly added entrance information, loading and displaying the first entrance information and the newly added entrance information in the desktop display container;
if the forbidden application has the updated entrance information, loading and displaying the updated entrance information in the desktop display container instead of the first entrance information;
and if the forbidden application has the deleted entry information, the first deleted entry information is forbidden to be loaded and displayed in the desktop display container.
B8, the device according to any one of B4-B7, the judging unit includes:
and the judging subunit judges whether the forbidden application adds, updates and/or deletes the entry information by acquiring the system information in the packet manager.
Claims (7)
1. A method for performing an application update, comprising:
starting updating processing of forbidden applications in a first entrance information container, wherein the first entrance information container contains first entrance information of the forbidden applications;
storing the updated second entry information of the forbidden application; the second entry information updated by the forbidden application comprises: the forbidden application replaces the entry information before updating, newly added entry information after updating and the entry information before deleting updating;
blocking the loading display of the second portal information in the first portal information container and the desktop display container;
wherein the blocking of the second portal information after the steps of loading and displaying in the first portal information container and the desktop display container comprises:
when the forbidden application in the first entrance information container is forbidden, judging whether the forbidden application is newly added, updated and/or deleted entrance information;
if the forbidden application does not add, update and/or delete the entry information newly, loading and displaying the first entry information in a desktop display container; or,
and if the forbidden application has the newly added, updated and/or deleted entrance information, correspondingly loading and displaying the newly added, updated and/or deleted entrance information in the desktop display container.
2. The method of claim 1, wherein the first and second portal information comprise application icons and/or names.
3. The method of claim 1, wherein the step of loading and displaying the portal information updated by the forbidden application in the desktop display container further comprises:
and deleting the first entrance information of the forbidden application in the first entrance information container.
4. The method of claim 1, wherein the prohibited application has added, updated and/or deleted entry information, and the step of correspondingly displaying the added, updated and/or deleted entry information in the desktop display container comprises:
if the forbidden application has the newly added entrance information, loading and displaying the first entrance information and the newly added entrance information in the desktop display container;
if the forbidden application has the updated entrance information, loading and displaying the updated entrance information in the desktop display container instead of the first entrance information;
and if the forbidden application has the deleted entry information, the first deleted entry information is forbidden to be loaded and displayed in the desktop display container.
5. The method according to any one of claims 1 and 3-4, wherein the step of determining whether the prohibited application adds, updates and/or deletes entry information comprises:
and judging whether the forbidden application adds, updates and/or deletes the entry information or not by acquiring the system information in the packet manager.
6. An apparatus for performing application updates, comprising:
the starting unit is used for starting updating processing of forbidden applications in a first entrance information container, wherein the first entrance information container contains first entrance information of the forbidden applications;
the storage unit is used for storing the updated second entrance information of the forbidden application; the second entry information updated by the forbidden application comprises: the forbidden application replaces the entry information before updating, newly added entry information after updating and the entry information before deleting updating;
the blocking unit is used for blocking the loading display of the second entrance information in the first entrance information container and the desktop display container;
the judging unit is used for judging whether the forbidden application is added, updated and/or deleted with the entrance information when the forbidden application in the first entrance information container is forbidden:
the display unit includes: the first display subunit loads and displays the first entry information in a desktop display container if the forbidden application does not newly add, update and/or delete entry information;
and the second display subunit, if the forbidden application has the new, updated and/or deleted entry information, correspondingly loads and displays the new, updated and/or deleted entry information in the desktop display container.
7. The apparatus of claim 6, wherein the first and second portal information comprise application icons and/or names.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611044834.8A CN106815040B (en) | 2016-11-24 | 2016-11-24 | Method and device for updating application |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611044834.8A CN106815040B (en) | 2016-11-24 | 2016-11-24 | Method and device for updating application |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106815040A CN106815040A (en) | 2017-06-09 |
CN106815040B true CN106815040B (en) | 2020-10-23 |
Family
ID=59106688
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611044834.8A Active CN106815040B (en) | 2016-11-24 | 2016-11-24 | Method and device for updating application |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106815040B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102163156A (en) * | 2011-03-10 | 2011-08-24 | 宇龙计算机通信科技(深圳)有限公司 | Mobile terminal icon replacing method and mobile terminal |
CN104965716A (en) * | 2014-04-18 | 2015-10-07 | 腾讯科技(深圳)有限公司 | Icon updating method, client apparatus, and terminal apparatus |
CN105786480A (en) * | 2015-12-29 | 2016-07-20 | 上海闻泰电子科技有限公司 | Application processing system and processing method |
CN105867982A (en) * | 2016-04-19 | 2016-08-17 | 奇酷软件(深圳)有限公司 | Management method and management system of social application and mobile terminal |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR102148948B1 (en) * | 2013-12-06 | 2020-08-27 | 삼성전자주식회사 | Multi tasking method of electronic apparatus and electronic apparatus thereof |
CN105988827B (en) * | 2015-01-29 | 2019-07-05 | 阿里巴巴集团控股有限公司 | A kind of method and device that application is freezed, thaws |
-
2016
- 2016-11-24 CN CN201611044834.8A patent/CN106815040B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102163156A (en) * | 2011-03-10 | 2011-08-24 | 宇龙计算机通信科技(深圳)有限公司 | Mobile terminal icon replacing method and mobile terminal |
CN104965716A (en) * | 2014-04-18 | 2015-10-07 | 腾讯科技(深圳)有限公司 | Icon updating method, client apparatus, and terminal apparatus |
CN105786480A (en) * | 2015-12-29 | 2016-07-20 | 上海闻泰电子科技有限公司 | Application processing system and processing method |
CN105867982A (en) * | 2016-04-19 | 2016-08-17 | 奇酷软件(深圳)有限公司 | Management method and management system of social application and mobile terminal |
Also Published As
Publication number | Publication date |
---|---|
CN106815040A (en) | 2017-06-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8572266B2 (en) | Group management and graphical user interface for associated electronic devices | |
US10235155B2 (en) | Selective update of core mobile device user interface through application marketplace | |
US8630747B2 (en) | Alternative authorization for telematics | |
CN105630615B (en) | cross-system application control method and intelligent terminal | |
US8813167B2 (en) | Dynamic device configuration using predicates | |
US8838087B1 (en) | Provisioning system and methods for interfaceless phone | |
EP1826670A1 (en) | System and method for managing applications on a computing device having limited storage space | |
US9549009B1 (en) | Electronic fixed brand labeling | |
US9875109B2 (en) | Method and apparatus for generating user adaptive application in mobile terminal | |
KR20150026652A (en) | Method and apparatus for offering received information to user in a electronic device | |
US10048828B2 (en) | Method of interface control and electronic device thereof | |
CN104657031B (en) | The method and device of touch control operation | |
US8972592B1 (en) | Extending an interface pack to a computer system | |
US20150178502A1 (en) | Method of controlling message of electronic device and electronic device thereof | |
CN105320616A (en) | External device control method and device | |
WO2022135553A1 (en) | Screen projection method capable of continuously playing videos, and apparatus and system | |
CN106598656B (en) | Mobile terminal and forbidden application starting method and device thereof | |
US8655328B2 (en) | Cellular telephone coupled to a data center by a dedicated communication link | |
CN106203143A (en) | Method, device and the mobile terminal of a kind of application program locking | |
CN108416207B (en) | Bluetooth use permission identification method and device and mobile terminal | |
KR20150117968A (en) | Apparatas and method for changing a function according to input direction in an electronic device | |
CN106815040B (en) | Method and device for updating application | |
WO2022052758A1 (en) | Network configuration method and device | |
JP5414003B2 (en) | Electronics | |
CN106533900A (en) | Multiple-platform information sharing method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20170803 Address after: 100102, 18 floor, building 2, Wangjing street, Beijing, Chaoyang District, 1801 Applicant after: BEIJING ANYUN SHIJI SCIENCE AND TECHNOLOGY CO., LTD. Address before: 100088 Beijing city Xicheng District xinjiekouwai Street 28, block D room 112 (Desheng Park) Applicant before: Beijing Qihu Technology Co., Ltd. |
|
TA01 | Transfer of patent application right | ||
GR01 | Patent grant | ||
GR01 | Patent grant |