CN109189413A - Using the monitor method, device and electronic equipment of unloading - Google Patents
Using the monitor method, device and electronic equipment of unloading Download PDFInfo
- Publication number
- CN109189413A CN109189413A CN201810975900.6A CN201810975900A CN109189413A CN 109189413 A CN109189413 A CN 109189413A CN 201810975900 A CN201810975900 A CN 201810975900A CN 109189413 A CN109189413 A CN 109189413A
- Authority
- CN
- China
- Prior art keywords
- application
- unloading
- unloaded
- list
- event
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 61
- 230000004044 response Effects 0.000 claims abstract description 76
- 238000012544 monitoring process Methods 0.000 claims abstract description 36
- 238000009434 installation Methods 0.000 claims description 36
- 238000012806 monitoring device Methods 0.000 claims description 17
- 230000001960 triggered effect Effects 0.000 claims description 7
- 230000008569 process Effects 0.000 abstract description 17
- 238000010586 diagram Methods 0.000 description 13
- 230000006870 function Effects 0.000 description 11
- 238000012545 processing Methods 0.000 description 10
- 238000004891 communication Methods 0.000 description 8
- 238000004590 computer program Methods 0.000 description 5
- 230000005540 biological transmission Effects 0.000 description 4
- 230000006399 behavior Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 238000011835 investigation Methods 0.000 description 3
- 241001269238 Data Species 0.000 description 2
- 230000009471 action Effects 0.000 description 2
- 230000008901 benefit Effects 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 2
- 239000011159 matrix material Substances 0.000 description 2
- 230000009467 reduction Effects 0.000 description 2
- RYGMFSIKBFXOCR-UHFFFAOYSA-N Copper Chemical compound [Cu] RYGMFSIKBFXOCR-UHFFFAOYSA-N 0.000 description 1
- 239000008186 active pharmaceutical agent Substances 0.000 description 1
- 229910052802 copper Inorganic materials 0.000 description 1
- 239000010949 copper Substances 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 230000001737 promoting effect Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 230000004083 survival effect Effects 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/61—Installation
- G06F8/62—Uninstallation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/34—Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
- G06F11/3438—Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment monitoring of user actions
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Stored Programmes (AREA)
Abstract
The invention discloses monitor method, device and the electronic equipments of a kind of application unloading.Whether occur this method comprises: monitoring using unloading event;When occurring using unloading event, determine be unloaded to apply whether meet preset response condition using unloading event is corresponding;When being unloaded using response condition is met, response application unloading event, triggering is for the unloading feedback operation for being unloaded application.According to the present invention, it maintains to communicate to connect between application without intercepting using unloading process or with being unloaded, can be achieved with monitoring application and unload and responded, implement to be simple and efficient, it is easy to spread.
Description
Technical field
The present invention relates to applied technical fields, more particularly, to monitor method, device and the electronics of a kind of application unloading
Equipment.
Background technique
With the rapid development of Internet technology and popularizing for intelligent terminal, more and more users get used to passing through intelligence
The application (Application, APP) installed on this kind of terminal device of mobile phone, palm PC, tablet computer, access network obtain
Corresponding application service.
Corresponding, the reasons such as user can be unsatisfactory for demand for the application service of acquisition or service experience is poor are unloaded
Carry installed application.And as the supplier of application (manufacturer or individual developer), it is usually desirable to can be obtained from user
Unloading carries the feedback of reason, and to be optimized according to user feedback to application, the service body of user can be given by promoting application
It tests.
It is fed back at present using the reason of unloading, usually after user triggers application unloading, pops up a unloading investigation chain
The investigation page is connect or unloads, so that user feedback inputs specifically application unloading reason.It is commonly used to be triggered after unloading, usually
It is no longer on operating status, there should not be any process can trigger implementation acquisition application unloading feedback, although early stage some behaviour
System vulnerability can be had by making system, allow to leave process using being triggered after unloading and monitored in operating system, with
Pop-up investigation unloading the page obtain user input specific unloading reason, still, with operating system constantly improve and
After update, these system vulnerabilities have been compensated for, and are no longer allowed to leave process after application unloading and be monitored using unloading,
Such as in Android operation system, in the operating system version after 5.0 version of Android, after unloading, all correlations
Process all no longer exist, can not achieve completely using unloading monitoring.
Summary of the invention
It is an object of the present invention to provide a kind of new solutions for monitoring using unloading.
According to the first aspect of the invention, a kind of monitor method of application unloading is provided, the application not being unloaded is passed through
Implement, comprising:
It monitors and whether occurs using unloading event;
When the application unloading event occurs, determines that the application unloading event is corresponding and be unloaded whether application meets
Preset response condition;
When described be unloaded using the response condition is met, response is described to apply unloading event, and triggering is for described
It is unloaded the unloading feedback operation of application.
Optionally, the step of whether monitoring occurs using unloading event include:
Radio receiver is registered, to monitor application unloading broadcast message;
When receiving the application unloading broadcast message by the radio receiver, determines and the application unloading occurs
Event.
Optionally, the step of whether monitoring occurs using unloading event include:
It obtains and newest list of application has been installed;
Wherein, the application message installed in list of application including mounted all applications, the application message
Including at least unique application identities of application;
When local there are when the stored old list of application of installation, it is more described it is newest installed list of application with
The old installation list of application newest installed the whether relatively described old installation of list of application and has been answered so that determination is described
There is the installation application lacked with list;
When determine it is described it is newest installed list of application relatively it is described it is old list of application be installed existed lack
Installation applies unloading event in application, determining that generation is described.
Still optionally further, described to determine whether to occur to be executed using the step of unloading event according to the preset period;
And/or
The method also includes:
When the local not stored old list of application of installation, the newest list of application of having installed obtained is deposited
It is stored in local;
And
Execute it is described comparison list of application has been installed the step of after, by obtained it is newest list of application has been installed,
It replaces the old list of application of installation saved and is stored in local.
Optionally,
The preset response condition is that described be unloaded is applied in application white list;
Wherein, described application using in white list including allowing to respond at least one application using unloading event
Information, the application message include at least unique application identities of application;
The method also includes:
The step of whether meeting response condition is applied executing corresponding be unloaded of the determination application unloading event
Before, the application white list is obtained from server and be stored in local.
Optionally,
The application message further includes the feedback operation instruction of the application, and the feedback operation instruction is used to indicate response
The unloading feedback operation that the application is triggered when occurring using unloading event;
The method also includes:
When described be unloaded using the response condition is met, response is described to apply unloading event, is unloaded according to described
The feedback operation instruction for carrying application, triggers the corresponding unloading feedback operation;
And/or
The method also includes:
The received exterior arrangement request of response institute, updates described using white list.
Optionally, the step of response application unloading event includes:
Before triggering is to the unloading feedback operation for being unloaded application, setting response cue mark, to prompt other
The application not being unloaded no longer responds described using unloading event;
After triggering is to the unloading feedback operation for being unloaded application, the response cue mark is removed.
Optionally, the unloading feedback operation include at least obtain user to the feedback information for being unloaded application, to
User is unloaded one of relevant information two operations of application described in recommending.
According to the second aspect of the invention, a kind of monitoring device of application unloading is provided, for controlling answering of not being unloaded
It is unloaded with monitoring application is implemented, comprising:
Whether monitoring unit occurs for monitoring using unloading event;
Determination unit, for determining that the application unloading event is corresponding and being unloaded when the application unloading event occurs
Carry whether application meets preset response condition;
Response unit, for when it is described be unloaded using meet the response condition when, respond it is described apply unloading event,
Triggering is for the unloading feedback operation for being unloaded application.
According to the third aspect of the invention we, a kind of electronic equipment is provided, wherein include:
Memory, for storing executable instruction;
Processor runs the electronic equipment and executes as of the invention for the control according to the executable instruction
The monitor method of application unloading described in any one that first aspect provides.
According to one embodiment of the disclosure, whether occurred using monitoring using unloading by what any one was not unloaded
Event is determined by the application not being unloaded and is answered with using corresponding be unloaded of unloading event when occurring using unloading event
When with meeting response condition, it being directed to the unloading feedback operation for being unloaded application by the applications trigger not being unloaded, is answered without intercepting
It maintains to communicate to connect between application with unloading process or with being unloaded, can be achieved with monitoring application and unload and responded, it is real
It applies and is simple and efficient, it is easy to spread.
By referring to the drawings to the detailed description of exemplary embodiment of the present invention, other feature of the invention and its
Advantage will become apparent.
Detailed description of the invention
It is combined in the description and the attached drawing for constituting part of specification shows the embodiment of the present invention, and even
With its explanation together principle for explaining the present invention.
Fig. 1 is the frame for showing the example of hardware configuration for the electronic equipment 1000 that can be used for realizing the embodiment of the present invention
Figure.
Fig. 2 shows the flow charts of the monitor method of the application unloading of the embodiment of the present invention.
Fig. 3 shows the determining flow chart for occurring to apply unloading event step of the embodiment of the present invention.
Fig. 4 shows the determining another flow chart for occurring to apply unloading event step of the embodiment of the present invention.
Fig. 5 shows the flow chart of the response application unloading event step of the embodiment of the present invention.
Fig. 6 shows the flow chart of the example of the monitor method of the application unloading of the embodiment of the present invention.
Fig. 7 shows the block diagram of the monitoring device of the application unloading of the embodiment of the present invention.
Fig. 8 shows the block diagram of the electronic equipment 4000 of the embodiment of the present invention.
Specific embodiment
Carry out the various exemplary embodiments of detailed description of the present invention now with reference to attached drawing.It should also be noted that unless in addition having
Body explanation, the unlimited system of component and the positioned opposite of step, numerical expression and the numerical value otherwise illustrated in these embodiments is originally
The range of invention.
Be to the description only actually of at least one exemplary embodiment below it is illustrative, never as to the present invention
And its application or any restrictions used.
Technology, method and apparatus known to person of ordinary skill in the relevant may be not discussed in detail, but suitable
In the case of, the technology, method and apparatus should be considered as part of specification.
It is shown here and discuss all examples in, any occurrence should be construed as merely illustratively, without
It is as limitation.Therefore, other examples of exemplary embodiment can have different values.
It should also be noted that similar label and letter indicate similar terms in following attached drawing, therefore, once a certain Xiang Yi
It is defined in a attached drawing, then in subsequent attached drawing does not need that it is further discussed.
<hardware configuration>
Fig. 1 is the block diagram for showing the hardware configuration for the electronic equipment 1000 that the embodiment of the present invention may be implemented.
Electronic equipment 1000 can be portable computer, desktop computer, mobile phone, tablet computer etc..As shown in Figure 1, electric
Sub- equipment 1000 may include processor 1100, memory 1200, interface arrangement 1300, communication device 1400, display device
1500, input unit 1600, loudspeaker 1700, microphone 1800 etc..Wherein, processor 1100 can be central processing unit
CPU, Micro-processor MCV etc..Memory 1200 is for example including ROM (read-only memory), RAM (random access memory), such as
The nonvolatile memory etc. of hard disk.Interface arrangement 1300 is for example including USB interface, earphone interface etc..Communication device 1400
It is such as able to carry out wired or wireless communication, specifically may include Wifi communication, Bluetooth communication, 2G/3G/4G/5G communication etc..It is aobvious
Showing device 1500 is, for example, liquid crystal display, touch display screen etc..Input unit 1600 for example may include touch screen, keyboard,
Body-sensing input etc..User can pass through 1800 inputting/outputting voice information of loudspeaker 1700 and microphone.
Electronic equipment shown in FIG. 1 is merely illustrative and is in no way intended to the invention, its application, or uses
Any restrictions.Using in an embodiment of the present invention, the memory 1200 of electronic equipment 1000 is for storing instruction, described
It instructs and is operated for controlling the processor 1100 to execute any one application unloading provided in an embodiment of the present invention
Monitor method.It will be appreciated by those skilled in the art that although showing multiple devices to electronic equipment 1000 in Fig. 1,
The present invention can only relate to partial devices therein, for example, electronic equipment 1000 pertains only to processor 1100 and storage device
1200.Technical staff can disclosed conceptual design instruction according to the present invention.How control processor is operated for instruction, this is
It is known in the art that therefore being not described in detail herein.
<embodiment>
The general plotting of the present embodiment is to provide a kind of new departure for monitoring using unloading, not by any one
What is be unloaded applies whether monitoring occurs, when occurring using unloading event, to pass through the application not being unloaded using unloading event
When determining with being unloaded using unloading event is corresponding using response condition is met, it is directed to and is unloaded by the applications trigger not being unloaded
The unloading feedback operation for carrying application maintains to communicate to connect between application, just without intercepting application unloading process or with being unloaded
It is able to achieve monitoring application to unload and responded, implements to be simple and efficient, it is easy to spread.
<method>
In the present embodiment, a kind of monitor method of application unloading is provided.It can be installed in electronics using being arbitrary and set
Standby middle operation, the software product or computer program for providing a user corresponding application service.It is corresponding, for available
The application service quality that application service type the is unsatisfactory for user demand or offer reasons such as do not allow user satisfied, are applied in quilt
It may be unloaded after being installed on electronic equipment.
The monitor method of the application unloading provided in this implementation, as shown in Figure 2, comprising: step S2100-S2300.
Whether step S2100 monitors and occurs using unloading event.
Refer to the event of mounted application response user's triggering being unloaded using unloading operation using unloading event.Not
What the application being unloaded was monitored is whether other mounted applications occur using unloading event.
In the present embodiment, practice the application of the monitor method of unloading not being unloaded, can be mounted or
When being activated every time, start a new process, whether other mounted applications occur using unloading for specially monitoring
Event.
In practical applications, multiple applications are usually mounted in the electronic equipment that user uses, each apply is not unloaded
It can be carried out the monitor method of application provided in this embodiment unloading before load, application be installed with other for monitoring except itself
Whether generation application unloading event, so multiple applications intersect so that whether the listening mode of similar matrix form is applied to monitor
Unloading event, without between application each other survival and by shaking hands, the modes such as heartbeat maintain long-term communication connection, can be achieved with
It monitors and applies unloading event.
In one example, the step of whether occurring using unloading event is monitored, as shown in Figure 3, comprising: step
S21011-S21012。
Step S21011 registers radio receiver, to monitor application unloading broadcast message.
In practical applications, certain operating systems (such as Android operation system) can issue when occurring using unloading event
Using unloading broadcast message.The unique application identities for being unloaded application, Wei Yiying are included at least in application unloading broadcast message
It is used for unique identification application with mark, can be Apply Names, application ID, using packet name etc..
Therefore, in this example, whether can be issued by registering radio receiver to operating system with snoop-operations system
Using unloading broadcast message.
Step S21012 is determined and application unloading is occurred when being received by radio receiver using unloading broadcast message
Event.
When receiving using unloading broadcast message, it is meant that have using being unloaded, can determine generation application unloading thing
Part, and can determine that and be specifically unloaded application using unloading event is corresponding with this.
In practical applications, it is monitored by example as shown in Figure 3 and whether is occurred using unloading event, installation is applied
The operating system of electronic equipment do not support to issue the scene of application unloading broadcast message, and be not suitable for.Therefore in another example
In son, the step of whether occurring using unloading event is monitored, it can also be as shown in Figure 4, comprising: step S21021-S21023.
Step S21021, acquisition is newest to have installed list of application.
Application message in list of application including mounted all applications has been installed.The application message of each application is at least
Unique application identities including application.Unique application identities are used for unique identification application, can be Apply Names, application ID, answer
With packet name etc..
In this example, application function can be directed to by what the operating system that the electronic equipment of installation application is based on provided
List of application has been installed in application programming interfaces (Appl ication Programming Interface, the API) acquisition of realization.
In this example, obtain it is newest list of application has been installed after, when local not stored old installation list of application
When, the newest list of application of having installed obtained is stored in locally (including being stored in local caching, the memory that can be read
Or in External memory equipment), so as to obtain next time it is newest list of application has been installed after, can in conjunction with subsequent step,
It is compared with the old list of application of installation being stored in local, it is determined whether there are the installation applications of reduction.
Step S21022, when local there are when the stored old list of application of installation, more newest installed is answered
With list and old installation list of application, the whether relatively old application column of installation of list of application have been installed so that determination is newest
There is the installation application lacked in table.
In this example, after executing and comparing the step S21022 of list of application has been installed, newest pacified what is obtained
Fill list of application, replace the old list of application of installation that has saved and be stored in local, so as to obtain next time it is newest
The list of application of installation after, can be carried out with the old list of application of installation being stored in local in conjunction with subsequent step
It compares, it is determined whether there are the installation applications of reduction, it is ensured that the accuracy of comparison result.
Step S21023, when determining that the newest relatively old list of application of having installed of list of application of having installed exists and lack
It has installed and has occurred in application, determining using unloading event.
Obtain it is newest installed that list of application includes be current mounted all applications application message, it is local
It is stored it is old installed that list of application includes be the mounted all applications obtained before this application message, the two ratio
Right, there is the installation lacked in application, acquisition list of application process twice can be determined in newest installed in list of application
In, sending application unloading event is unloaded using the installation application as lacked.
In this example, the step of whether monitoring as shown in Figure 4 occurs using unloading event can be according to the preset period
It executes, it is ensured that monitor the timeliness whether occurred using unloading event.The preset period can according to concrete application scene or
Person's demand setting, for example, can be set to 1 second.
After step S2100, enter:
Whether step S2200 determines and is unloaded using unloading event is corresponding using according with when occurring using unloading event
Close response condition.
Preset response condition is for judging whether to need to respond the application unloading event that some application occurs
Condition, can be arranged according to specific application demand or application scenarios.All applications are sent out for example, response condition can be
Raw application unloading event is to responding.
In one example, preset response condition is to be unloaded to apply in application white list.Using being wrapped in white list
Include at least one application message applied for allowing response application unloading event.Application message includes at least unique application of application
Mark.Unique application identities are used for unique identification application, can be Apply Names, application ID, using packet name etc..
In this example, application message can also include the feedback operation instruction of application.Feedback operation instruction is used to indicate sound
It should be using the unloading feedback operation triggered when occurring using unloading event.The unloading feedback operation is to using unloading event
Response operation can be preset according to specific unloading feedback requirements.In one example, feedback operation is unloaded at least
Including obtaining user to being unloaded the feedback information of application, recommend to be unloaded relevant information two of application operations wherein to user
One of.By including that feedback operation indicates in application message, can be unloaded in conjunction with subsequent step to the application for being unloaded application
When load event is responded, corresponding unloading feedback operation is implemented according to feedback operation instruction and is responded.
White list is applied by setting, can only be answered include in application white list in conjunction with subsequent step
It is responded when with unloading event, obtains the unloading feedback information of application, so that the monitoring of application unloading is more efficiently.
It is corresponding, the monitor method of the application unloading in this example further include:
Before executing determination and applying unloading event is corresponding to be unloaded the step of whether application meets response condition, from clothes
Business device obtains using white list and is stored in local.
In this example, stored in the server after being pre-configured with using white list.The server can be cloud service
Device, blade server or server farm etc..
In actual implementation, it can immediately obtain after the application not being unloaded starts new process using white list, it can also be with
It when whether monitoring occurs using unloading event, while obtaining using white list, can also be chosen according to the scene of specific implementation
Whether suitable opportunity, which obtains, applies white list, as long as ensuring to determine and be unloaded using unloading event is corresponding using according with executing
It is obtained before the step of closing response condition and applies white list.
It can be stored in local memory, caching or the External memory equipment that can be read using white list.
It can be pre-configured with according to specific application demand or application scenarios using the application for including in white list,
It upon configuration can also specific demand realization update.The monitor method of application unloading in this example further include: response is received
Exterior arrangement request, update apply white list.
Exterior arrangement request can be by the request of user's triggering generated to the refresh operation using white list, or
Person is that server determines that all of monitoring for practicing unloading backward are reconfigured using white list not to be unloaded using hair
Application white list updating notice out, etc..
After step S2200, enter:
Step S2300, when being unloaded using response condition is met, response application unloading event, triggering is directed to and is unloaded
The unloading feedback operation of application.
It is unloaded using when meeting response condition, by triggering for the unloading feedback operation for being unloaded application, responds quilt
Unload the application unloading event of application.
Unloading feedback operation is operated to the response of application unloading event, can be carried out according to specific unloading feedback requirements
It presets.
In one example, unloading feedback operation, which includes at least, obtains user to feedback information, the Xiang Yong for being unloaded application
Recommend to be unloaded one of relevant information two operations of application in family.
Feedback information includes at least the reason of user unloads application, obtains user to this behaviour of the feedback information of unloading application
Work can be and show that unloading reason options for user selects, offer input frame allows user to input unloading reason, provides by playing frame
Voice enter key is realized for various ways such as user speech typing unloading reasons.User is obtained to the feedback letter for being unloaded application
Breath, can be supplied to application developer or supplier, optimize for it to the performance of application.
The relevant information for being unloaded application can be the associated application information for being unloaded application, and associated application information can be
With the other application (such as the same application developers provide application or the similar application of type) for being unloaded association
Application icon, application link etc..Recommend the relevant information for being unloaded application to user, channel can be extended and meet user's correspondence
Demand.
In practical applications, multiple applications are usually mounted in the electronic equipment that family uses, each apply be not unloaded
Before can be carried out the monitor method of application provided in this embodiment unloading, installed with other for monitoring except itself using being
Unloading event is applied in no generation, and whether so multiple applications intersect is unloaded with the listening mode of similar matrix form to monitor to occur to apply
Load event, may determine occur using unloading event when, might have multiple applications for needing response application unloading event
Be unloaded using being responded, duplicate responses cause treatment effeciency low, and influence user experience.In response to this, originally
The step of response application unloading event in embodiment, as shown in Figure 5, comprising: step S2310-S2320.
Step S2310, in triggering to before being unloaded the unloading feedback operation of application, setting responds cue mark, to mention
Show that the application that other are not unloaded no longer responds this using unloading event.
After determining generation using unloading event, by the way that response flag is arranged, the application for prompting other not to be unloaded is no longer
This is responded using unloading event, it is ensured that be each unloaded using the application unloading event occurred, only can not be unloaded by one
It carries applications trigger and implements unloading feedback operation, avoid duplicate responses.
In this example, setting response cue mark mode can there are many, for example, an operating system branch can be set
The global variable held realizes response cue mark, is not unloaded the process of application unloaded for implementing to monitor application, can be with
It detects whether there are the global variable, if there is no the global variable can be created, it is meant that this is not unloaded using possessing
The right for applying unloading event is responded, other are not unloaded the process of application unloaded for implementing monitoring application, are monitoring
Determining, which can detecte when occurring using unloading event, determines whether there is the global variable, if there is the global variable, then anticipates
Taste it is existing be not unloaded using responding this using unloading event, other are not unloaded using will not response application unloading thing again
Part;Alternatively, can be set one it is all using readable file in an operating system, be not unloaded application for implement monitor
Using the process of unloading, it can detecte with the presence or absence of this document, if there is no that this document can be written to operating system, mean
This be not unloaded using possess response this apply unloading event right, other be not unloaded application for implement monitor answer
With the process of unloading, it can detecte when monitoring and determining generation using unloading event and determine whether there is this document, if there is
This document, then mean it is existing be not unloaded using responding this using unloading event, other are not unloaded using will not respond again
Using unloading event.
Step S2320 removes response cue mark after triggering is to the unloading feedback operation of application is unloaded.
After to applications trigger unloading feedback operation is unloaded, responds to the application unloading event for being unloaded application, deleted
Except cue mark is responded, release is indicated to the power responded using unloading event, avoids being always maintained to application unloading thing
The power of part response influences other and is not unloaded using the monitoring efficiency to application unloading.
In this example, response cue mark is deleted, can be the global variable or text for deleting cue mark in response
Part.
<example>
Below with reference to example shown in fig. 6, the monitor method of the application unloading provided in the present embodiment is further illustrated.
In this example, it is assumed that being implemented by the application A not being unloaded, comprising: step S201-S214.
S201, starting monitor the process using unloading for implementing;
S202 is obtained from server and is applied white list;
S203, acquisition have been installed list of application, have been stored in local cache;
S204 registers radio receiver to operating system;
S205, by radio receiver snoop-operations system whether broadcasted application unloading information, answered if receiving broadcast
With unloading information, S209 is entered step, otherwise, enters step S206;
Step S206 judges whether that execution acquisition is newest and has installed list of application, if accorded with according to the preset period
The preset period is closed, S207 is entered step, otherwise, goes back to step S205;
Step S207, acquisition is newest to have installed list of application;
Step S208, the more newest old installation list of application having installed list of application and having saved determine most
The new relatively old list of application of having installed of list of application of having installed whether there is the installation application lacked, if there is lacking
Installation application, enter step S209, otherwise, go back to step S205;
Step S209 is determined and is occurred to apply unloading event, obtains and apply the corresponding application for being unloaded application of unloading event
Packet name;
Whether step S210 determines and is unloaded using in application white list, apply if be unloaded using white list
It is interior, it is transferred to step S211, otherwise, goes back to step S205;
Step S211 detects whether not being unloaded the text using cue mark write operation system in response there are other
Otherwise part, goes back to step S205 if it does not, entering step S212;
File cue mark in response is written to operating system in step S212;
Step S213 is indicated according to the feedback operation in application white list, is triggered and is fed back behaviour to the unloading for being unloaded application
Make;
Step S214 deletes the file being written to operating system, goes back to step S205.
By this example, the application that can be unloaded by any one, without intercept application unloading process or and its
He maintains communication connection between applying, and can implement that whether the other application except itself occurs to be monitored simultaneously using unloading
It is responded, implements to be simple and efficient, it is easy to spread.
<monitoring device of application unloading>
In the present embodiment, a kind of monitoring device 3000 of application unloading is also provided, as shown in fig. 7, comprises: monitoring unit
3100, determination unit 3200 and response unit 3300, what any one application for implementing to provide in the present embodiment unloaded
Monitoring device 3000, details are not described herein.
Using the monitoring device 3000 of unloading, comprising:
Whether monitoring unit 3100 occurs for monitoring using unloading event;
Determination unit 3200, for determining that the application unloading event is corresponding when the application unloading event occurs
It is unloaded to apply and whether meets preset response condition;
Response unit 3300, for when described be unloaded using the response condition is met, responding the application unloading
Event, triggering is for the unloading feedback operation for being unloaded application.
In one example, the monitoring unit 3100 includes:
For registering radio receiver, to monitor the device of application unloading broadcast message;
For determining and the application occurring when receiving the application unloading broadcast message by the radio receiver
The device of unloading event.
For example, the monitoring unit 3100 may include:
For obtaining the newest device for having installed list of application;
Wherein, the application message installed in list of application including mounted all applications, the application message
Including at least unique application identities of application;
For when local there are when the stored old list of application of installation, it is more described newest to have installed using column
Table and the old installation list of application newest have installed the whether relatively described old peace of list of application so that determination is described
There is the device for having installed application lacked in dress list of application;
For when determine it is described it is newest the relatively described old list of application of installation of list of application be installed existed lack
Installed in application, determining the device using unloading event occur.
Further, described to determine whether to occur to be executed using the step of unloading event according to the preset period;
And/or
The monitoring device 3000 of application unloading may include:
For when the local not stored old list of application of installation, newest installed what is obtained using column
Table is stored in local device;
And
For after executing the step of list of application has been installed in the comparison, newest installed obtained to be applied column
Table replaces the old list of application of having installed saved and is stored in local device.
In one example, the preset response condition is that described be unloaded is applied in application white list;
Wherein, described application using in white list including allowing to respond at least one application using unloading event
Information, the application message include at least unique application identities of application;
The monitoring device 3000 of the application unloading further include:
For executing the determination is described to be unloaded to apply whether meet response condition using unloading event is corresponding
Before step, is obtained from server and described using white list and be stored in local device.
Further, the application message further includes the feedback operation instruction of the application, and the feedback operation instruction is used
The unloading feedback operation triggered when the application occurs using unloading event is responded in instruction;
The monitoring device 3000 of the application unloading further include:
It is described using unloading event for responding when described be unloaded using the response condition is met, according to described
It is unloaded the feedback operation instruction of application, triggers the device of the corresponding unloading feedback operation;
And/or
The monitoring device 3000 of the application unloading further include:
For responding, received exterior arrangement request, updates the device using white list.
In one example, response unit 3300 includes:
For response cue mark before triggering is to the unloading feedback operation for being unloaded application, to be arranged, with prompt
Other applications not being unloaded no longer respond the device using unloading event;
For after triggering is to the unloading feedback operation for being unloaded application, removing the dress of the response cue mark
It sets.
Optionally, the unloading feedback operation include at least obtain user to the feedback information for being unloaded application, to
User is unloaded one of relevant information two operations of application described in recommending.
It will be appreciated by those skilled in the art that the monitoring device 3000 using unloading can be realized by various modes.
For example, can realize the monitoring device 3000 using unloading by instruction configuration processor.For example, instruction can be stored in
In ROM, and when starting the device, instruction is read in programming device to the monitoring device realized using unloading from ROM
3000.For example, the monitoring device 3000 of application unloading can be cured in dedicated devices (such as ASIC).It can will apply and unload
The monitoring device 3000 of load is divided into mutually independent unit, or they can be merged to realization.Using the prison of unloading
Device for tone frequencies 3000 can be realized by one of above-mentioned various implementations, or can pass through above-mentioned various implementations
In the combinations of two or more modes realize.
In the present embodiment, it can be the function in the internal setting of any one application using the monitoring device of unloading 3000
Module either can be the plug-in unit that can be connected to be embedded in, in a manner of the external world etc. by application or component etc..
<electronic equipment>
In the present embodiment, a kind of electronic equipment 4000 is also provided, as shown in Figure 8, comprising:
Memory 4100, for storing executable instruction;
Processor 4200 runs electronic equipment 4000 and executes this implementation for the control according to the executable instruction
The monitor method of application unloading described in any one provided in example.
In the present embodiment, electronic equipment 4000 can be mobile phone, palm PC, tablet computer, desktop computer, notes
This computer etc. can arbitrarily install the electronic equipment of application.In one example, electronic equipment 4000 can be equipped with it is multiple
The smart phone of application.
Electronic equipment 4000 can also include other function device, for example, electronic equipment 1000 that can be as shown in Figure 1.
Attached drawing is had been combined above and describes the embodiment of the present invention, according to the present embodiment, provides a kind of application unloading
Monitor method, device and electronic equipment apply whether monitoring occurs to apply unloading event by what any one was not unloaded,
When occurring using unloading event, by the application not being unloaded determine it is corresponding with application unloading event be unloaded to apply meet sound
When answering condition, it is directed to the unloading feedback operation for being unloaded application by the applications trigger not being unloaded, unloads current-carrying without intercepting application
Journey maintains to communicate to connect between application with being unloaded, and can be achieved with monitoring using unloading and being responded, implement simple high
Effect, it is easy to spread.
The present invention can be system, method and/or computer program product.Computer program product may include computer
Readable storage medium storing program for executing, containing for making processor realize the computer-readable program instructions of various aspects of the invention.
Computer readable storage medium, which can be, can keep and store the tangible of the instruction used by instruction execution equipment
Equipment.Computer readable storage medium for example can be-- but it is not limited to-- storage device electric, magnetic storage apparatus, optical storage
Equipment, electric magnetic storage apparatus, semiconductor memory apparatus or above-mentioned any appropriate combination.Computer readable storage medium
More specific example (non exhaustive list) includes: portable computer diskette, hard disk, random access memory (RAM), read-only deposits
It is reservoir (ROM), erasable programmable read only memory (EPROM or flash memory), static random access memory (SRAM), portable
Compact disk read-only memory (CD-ROM), digital versatile disc (DVD), memory stick, floppy disk, mechanical coding equipment, for example thereon
It is stored with punch card or groove internal projection structure and the above-mentioned any appropriate combination of instruction.Calculating used herein above
Machine readable storage medium storing program for executing is not interpreted that instantaneous signal itself, the electromagnetic wave of such as radio wave or other Free propagations lead to
It crosses the electromagnetic wave (for example, the light pulse for passing through fiber optic cables) of waveguide or the propagation of other transmission mediums or is transmitted by electric wire
Electric signal.
Computer-readable program instructions as described herein can be downloaded to from computer readable storage medium it is each calculate/
Processing equipment, or outer computer or outer is downloaded to by network, such as internet, local area network, wide area network and/or wireless network
Portion stores equipment.Network may include copper transmission cable, optical fiber transmission, wireless transmission, router, firewall, interchanger, gateway
Computer and/or Edge Server.Adapter or network interface in each calculating/processing equipment are received from network to be counted
Calculation machine readable program instructions, and the computer-readable program instructions are forwarded, for the meter being stored in each calculating/processing equipment
In calculation machine readable storage medium storing program for executing.
Computer program instructions for executing operation of the present invention can be assembly instruction, instruction set architecture (ISA) instructs,
Machine instruction, machine-dependent instructions, microcode, firmware instructions, condition setup data or with one or more programming languages
The source code or object code that any combination is write, the programming language include the programming language-of object-oriented such as
Smalltalk, C++ etc., and conventional procedural programming languages-such as " C " language or similar programming language.Computer
Readable program instructions can be executed fully on the user computer, partly execute on the user computer, be only as one
Vertical software package executes, part executes on the remote computer or completely in remote computer on the user computer for part
Or it is executed on server.In situations involving remote computers, remote computer can pass through network-packet of any kind
It includes local area network (LAN) or wide area network (WAN)-is connected to subscriber computer, or, it may be connected to outer computer (such as benefit
It is connected with ISP by internet).In some embodiments, by utilizing computer-readable program instructions
Status information carry out personalized customization electronic circuit, such as programmable logic circuit, field programmable gate array (FPGA) or can
Programmed logic array (PLA) (PLA), the electronic circuit can execute computer-readable program instructions, to realize each side of the invention
Face.
Referring herein to according to the method for the embodiment of the present invention, the flow chart of device (system) and computer program product and/
Or block diagram describes various aspects of the invention.It should be appreciated that flowchart and or block diagram each box and flow chart and/
Or in block diagram each box combination, can be realized by computer-readable program instructions.
These computer-readable program instructions can be supplied to general purpose computer, special purpose computer or other programmable datas
The processor of processing unit, so that a kind of machine is produced, so that these instructions are passing through computer or other programmable datas
When the processor of processing unit executes, function specified in one or more boxes in implementation flow chart and/or block diagram is produced
The device of energy/movement.These computer-readable program instructions can also be stored in a computer-readable storage medium, these refer to
It enables so that computer, programmable data processing unit and/or other equipment work in a specific way, thus, it is stored with instruction
Computer-readable medium then includes a manufacture comprising in one or more boxes in implementation flow chart and/or block diagram
The instruction of the various aspects of defined function action.
Computer-readable program instructions can also be loaded into computer, other programmable data processing units or other
In equipment, so that series of operation steps are executed in computer, other programmable data processing units or other equipment, to produce
Raw computer implemented process, so that executed in computer, other programmable data processing units or other equipment
Instruct function action specified in one or more boxes in implementation flow chart and/or block diagram.
The flow chart and block diagram in the drawings show the system of multiple embodiments according to the present invention, method and computer journeys
The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation
One module of table, program segment or a part of instruction, the module, program segment or a part of instruction include one or more use
The executable instruction of the logic function as defined in realizing.In some implementations as replacements, function marked in the box
It can occur in a different order than that indicated in the drawings.For example, two continuous boxes can actually be held substantially in parallel
Row, they can also be executed in the opposite order sometimes, and this depends on the function involved.It is also noted that block diagram and/or
The combination of each box in flow chart and the box in block diagram and or flow chart, can the function as defined in executing or dynamic
The dedicated hardware based system made is realized, or can be realized using a combination of dedicated hardware and computer instructions.It is right
For those skilled in the art it is well known that, by hardware mode realize, by software mode realize and pass through software and
It is all of equal value that the mode of combination of hardware, which is realized,.
Various embodiments of the present invention are described above, above description is exemplary, and non-exclusive, and
It is not limited to disclosed each embodiment.Without departing from the scope and spirit of illustrated each embodiment, for this skill
Many modifications and changes are obvious for the those of ordinary skill in art field.The selection of term used herein, purport
In principle, the practical application or to the technological improvement in market for best explaining each embodiment, or make the art its
Its those of ordinary skill can understand each embodiment disclosed herein.The scope of the present invention is defined by the appended claims.
Claims (10)
1. a kind of monitor method of application unloading, wherein pass through the application implementation not being unloaded, comprising:
It monitors and whether occurs using unloading event;
When the application unloading event occurs, determine the application unloading event it is corresponding be unloaded using whether meet it is default
Response condition;
When described be unloaded using the response condition is met, response is described to apply unloading event, and triggering is unloaded for described
Carry the unloading feedback operation of application.
2. according to the method described in claim 1, wherein, the monitoring whether occur include: using the step of unloading event
Radio receiver is registered, to monitor application unloading broadcast message;
When receiving the application unloading broadcast message by the radio receiver, determine that the application, which occurs, unloads thing
Part.
3. according to the method described in claim 1, wherein, the monitoring whether occur include: using the step of unloading event
It obtains and newest list of application has been installed;
Wherein, the application message installed in list of application including mounted all applications, the application message is at least
Unique application identities including application;
When local there are when the stored old list of application of installation, it is more described it is newest installed list of application with it is described
Old installation list of application newest has installed the whether relatively described old application of the installation column of list of application so that determination is described
There is the installation application lacked in table;
When determining that the newest relatively described old list of application of having installed of list of application of having installed has the installation lacked
In application, determining that generation is described applies unloading event.
4. according to the method described in claim 3, wherein,
It is described to determine whether to occur to be executed using the step of unloading event according to the preset period;
And/or
The method also includes:
When the local not stored old list of application of installation, the newest list of application of having installed obtained is stored in
It is local;
And
After executing the step of list of application has been installed in the comparison, by obtained it is newest list of application has been installed, replacement
The old list of application of installation saved is stored in local.
5. according to the method described in claim 1, wherein,
The preset response condition is that described be unloaded is applied in application white list;
Wherein, described to believe using in white list including allowing to respond the application of at least one application using unloading event
Breath, the application message include at least unique application identities of application;
The method also includes:
Before executing that the determination application unloading event is corresponding and being unloaded the step of whether application meets response condition,
The application white list is obtained from server and is stored in local.
6. according to the method described in claim 5, wherein,
The application message further includes the feedback operation instruction of the application, and the feedback operation instruction is used to indicate described in response
Using the unloading feedback operation triggered when occurring using unloading event;
The method also includes:
When described be unloaded using the response condition is met, response is described to apply unloading event, is answered according to described be unloaded
Feedback operation instruction, triggers the corresponding unloading feedback operation;
And/or
The method also includes:
The received exterior arrangement request of response institute, updates described using white list.
7. according to the method described in claim 1, wherein, the step of response application unloading event, includes:
Triggering to the unloading feedback operation for being unloaded application before, setting response cue mark, with prompt other not by
The application of unloading no longer responds described using unloading event;
After triggering is to the unloading feedback operation for being unloaded application, the response cue mark is removed.
8. according to the method described in claim 1, wherein,
The unloading feedback operation is including at least acquisition user to the feedback information for being unloaded application, to described in user's recommendation
It is unloaded one of relevant information two operations of application.
9. a kind of monitoring device of application unloading monitors application unloading for controlling the application implementation not being unloaded, comprising:
Whether monitoring unit occurs for monitoring using unloading event;
Determination unit, for determining that corresponding be unloaded of the application unloading event is answered when the application unloading event occurs
With whether meeting preset response condition;
Response unit, it is described using unloading event, triggering for responding when described be unloaded using the response condition is met
For the unloading feedback operation for being unloaded application.
10. a kind of electronic equipment, wherein include:
Memory, for storing executable instruction;
Processor runs the electronic equipment and executes such as claim 1-8 for the control according to the executable instruction
The monitor method of application unloading described in meaning one.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810975900.6A CN109189413A (en) | 2018-08-24 | 2018-08-24 | Using the monitor method, device and electronic equipment of unloading |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810975900.6A CN109189413A (en) | 2018-08-24 | 2018-08-24 | Using the monitor method, device and electronic equipment of unloading |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109189413A true CN109189413A (en) | 2019-01-11 |
Family
ID=64919881
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810975900.6A Pending CN109189413A (en) | 2018-08-24 | 2018-08-24 | Using the monitor method, device and electronic equipment of unloading |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109189413A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103906034A (en) * | 2012-12-28 | 2014-07-02 | 中国电信股份有限公司 | Mobile application providing method and mobile application providing server |
CN103997688A (en) * | 2014-04-28 | 2014-08-20 | 小米科技有限责任公司 | Intelligent interaction system, intelligent interaction device and intelligent interaction method |
CN105653316A (en) * | 2015-12-24 | 2016-06-08 | 小米科技有限责任公司 | Method and device for monitoring unloaded situation of software |
US20170208137A1 (en) * | 2016-01-15 | 2017-07-20 | Google Inc. | Identifiers across application instances |
CN106991130A (en) * | 2017-03-07 | 2017-07-28 | 广东欧珀移动通信有限公司 | A kind of document handling method, device and intelligent terminal |
-
2018
- 2018-08-24 CN CN201810975900.6A patent/CN109189413A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103906034A (en) * | 2012-12-28 | 2014-07-02 | 中国电信股份有限公司 | Mobile application providing method and mobile application providing server |
CN103997688A (en) * | 2014-04-28 | 2014-08-20 | 小米科技有限责任公司 | Intelligent interaction system, intelligent interaction device and intelligent interaction method |
CN105653316A (en) * | 2015-12-24 | 2016-06-08 | 小米科技有限责任公司 | Method and device for monitoring unloaded situation of software |
US20170208137A1 (en) * | 2016-01-15 | 2017-07-20 | Google Inc. | Identifiers across application instances |
CN106991130A (en) * | 2017-03-07 | 2017-07-28 | 广东欧珀移动通信有限公司 | A kind of document handling method, device and intelligent terminal |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109582310B (en) | Data processing method and device, electronic equipment and computer readable storage medium | |
CN106502725B (en) | Upgrade method, equipment and the electronic equipment of application program | |
US10496363B2 (en) | Voice user interface for data access control | |
CN108595970A (en) | Configuration method, device, terminal and the storage medium of processing component | |
US11640821B2 (en) | Conflict resolution enhancement system | |
CN108701127A (en) | Electronic equipment and its operating method | |
US10171654B2 (en) | Multi-dimensional auditory notification composition based on sender categorizations | |
CN111708557B (en) | Method, device and storage medium for updating configuration file | |
US9894178B2 (en) | Leveraging social networks in physical gatherings | |
US10334415B2 (en) | Voice user interface for device and component control | |
CN111953648A (en) | Data processing method and device based on block chain prediction machine and electronic equipment | |
KR20100071794A (en) | Apparatus and method for dynamic displaying value-added services recommended based on contexts in mobile terminals | |
CN110413367B (en) | Task creation method and device, storage medium and electronic equipment | |
CN109683889B (en) | Message display frame multiplexing method and device, electronic equipment and readable storage medium | |
US10887368B2 (en) | Monitoring quality of a conference call for muted participants thereto | |
CN111382039A (en) | Method, device, electronic equipment and storage medium for reporting user behavior event | |
CN108966315A (en) | Wireless network acquisition methods, device and electronic equipment | |
KR20130038619A (en) | Apparatus and method for managing control information of application in portable terminal | |
CN109189413A (en) | Using the monitor method, device and electronic equipment of unloading | |
CN108259315A (en) | Online picture sharing method, equipment, client and electronic equipment | |
US8457663B2 (en) | Phone number encapsulation using token based framework | |
CN114979256A (en) | Message pushing method and device, electronic equipment and computer readable medium | |
CN107547437A (en) | Application and identification method and device | |
CN112463616A (en) | Chaos testing method and device for Kubernetes container platform | |
US11789928B2 (en) | Dynamic namespace modification for virtual agents |
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: 20200601 Address after: 310051 room 508, floor 5, building 4, No. 699, Wangshang Road, Changhe street, Binjiang District, Hangzhou City, Zhejiang Province Applicant after: Alibaba (China) Co.,Ltd. Address before: 510627, room 146-150, first floor, No. 07, Whampoa Avenue, Tianhe District, Guangdong, Guangzhou Applicant before: GUANGZHOU UC NETWORK TECHNOLOGY Co.,Ltd. |
|
TA01 | Transfer of patent application right | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190111 |
|
RJ01 | Rejection of invention patent application after publication |