[go: up one dir, main page]

CN104133754B - A kind of application installation package is deleted the determination method, apparatus and system of reason - Google Patents

A kind of application installation package is deleted the determination method, apparatus and system of reason Download PDF

Info

Publication number
CN104133754B
CN104133754B CN201410368016.8A CN201410368016A CN104133754B CN 104133754 B CN104133754 B CN 104133754B CN 201410368016 A CN201410368016 A CN 201410368016A CN 104133754 B CN104133754 B CN 104133754B
Authority
CN
China
Prior art keywords
installation package
application installation
record
deleted
terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201410368016.8A
Other languages
Chinese (zh)
Other versions
CN104133754A (en
Inventor
余鹏程
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Cheetah Network Technology Co Ltd
Original Assignee
Guangzhou Cheetah Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Cheetah Network Technology Co Ltd filed Critical Guangzhou Cheetah Network Technology Co Ltd
Priority to CN201410368016.8A priority Critical patent/CN104133754B/en
Publication of CN104133754A publication Critical patent/CN104133754A/en
Application granted granted Critical
Publication of CN104133754B publication Critical patent/CN104133754B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

The embodiment of the invention discloses determination method, apparatus and system that a kind of application installation package is deleted reason.Method therein includes: the local monitoring record for obtaining deleted application installation package, and the part monitoring record is to be monitored by the given client end in terminal to the application installation package;When in the local monitoring record comprising the delete operation record for the application installation package, determine that the application installation package is deleted by the given client end.The embodiment of the present invention is by being monitored the application installation package in terminal, when in determining monitoring record comprising the delete operation record for application installation package, determine the deleted reason of application installation package, compared to testing and simulating the deleted reason of installation kit that is applied in test environment, the embodiment of the present invention can more accurately obtain the deleted reason of application installation package.

Description

A kind of application installation package is deleted the determination method, apparatus and system of reason
Technical field
The present invention relates to field of computer technology more particularly to a kind of application installation package be deleted reason determination method, Apparatus and system.
Background technique
Currently, intelligent terminal such as mobile phone, personal assistant, tablet computer etc. all install various application installation packages, And intelligent terminal from server download application installation package after when being installed on intelligent terminal, often because of application installation package quilt It deletes and the case where install failure occurs, way general at present is all to go test, simulation under the test environment, and analysis is gone to apply The deleted reason of installation kit, however, the running environment of intelligent terminal be it is complicated and diversified, can not know the true use of terminal Situation cannot accurately obtain the deleted reason of application installation package.
Summary of the invention
The embodiment of the present invention provides the determination method, apparatus and system of a kind of deleted reason of application installation package, with accurate Ground obtains the deleted reason of application installation package.
On the one hand, a kind of determination method of deleted reason of application installation package is provided, comprising:
The local monitoring record of deleted application installation package is obtained, the part monitoring record is by specified in terminal Client monitors the application installation package;
When in the local monitoring record comprising the delete operation record for the application installation package, determine described in answer It with installation kit is deleted by the given client end.
Preferably, the method also includes:
When in the local monitoring record comprising the delete operation record for the application installation package, determine described in Application installation package is deleted by the given client end.
Preferably, the local monitoring record is that code executes record;
The method, further includes:
When determining the application installation package is deleted by the given client end, determine that the code executes record and indicates Code logic it is whether consistent with the pre-set code logic at the given client end;
If consistent, determine that the application installation package is normal according to the pre-set code logic by the given client end It deletes;
If inconsistent, determine that the application installation package is by the given client end because the pre-set code logic executes It is deleted extremely caused by mistake.
Preferably, the method is applied to the terminal;
Before the local monitoring record for obtaining deleted application installation package, the method, further includes:
The application installation package monitored in the terminal is deleted.
Preferably, the application installation package monitored in the terminal is deleted, and is specifically included:
The operating system for obtaining the terminal records the global monitoring that the monitoring of the application installation package obtains;
When in global monitoring record comprising the delete operation record for the application installation package, determination is monitored The application installation package in the terminal is deleted.
Preferably, the method is applied to server;
The local monitoring record for obtaining deleted application installation package, specifically includes:
Receive the local monitoring record for the deleted application installation package that terminal is sent.
Preferably, the given client end is the client for downloading the application installation package.
On the other hand, a kind of determination method of deleted reason of application installation package is provided, terminal is applied to, comprising:
When monitor the application installation package in the terminal be deleted after, obtain the given client end in the terminal to institute State the local monitoring record that application installation package monitors;
Send the local monitoring record to server so that the server according in the local monitoring record whether It is recorded comprising the delete operation for the application installation package, determines whether the application installation package is deleted by the given client end It removes.
Preferably, the application installation package monitored in the terminal is deleted, and is specifically included:
The operating system for obtaining the terminal records the global monitoring that the monitoring of the application installation package obtains;
When in global monitoring record comprising the delete operation record for the application installation package, determination is monitored The application installation package in the terminal is deleted.
Preferably, the given client end is the client for downloading the application installation package.
Another aspect provides a kind of determining device of deleted reason of application installation package, comprising:
First acquisition unit, for obtaining the local monitoring record of deleted application installation package, the part monitoring note Record is to be monitored by the given client end in terminal to the application installation package;
First determination unit, for when the delete operation in the local monitoring record comprising being directed to the application installation package When record, determine that the application installation package is deleted by the given client end.
Preferably, first determination unit is also used to:
When in the local monitoring record comprising the delete operation record for the application installation package, determine described in Application installation package is deleted by the given client end.
Preferably, the local monitoring record is that code executes record;
Described device, further includes:
Second determination unit, for determining institute when determining the application installation package is deleted by the given client end It is whether consistent with the pre-set code logic at the given client end to state the code logic that code execution record indicates;
Third determination unit, if the definitive result for second determination unit is consistent, it is determined that the application Installation kit is normally to be deleted by the given client end according to the pre-set code logic;
If the definitive result of second determination unit is inconsistent, it is determined that the application installation package is by the finger Determine to delete extremely caused by client executes mistake because of the pre-set code logic.
Preferably, described device is located in the terminal;
Described device, further includes:
Monitoring unit, for obtained in the first acquisition unit deleted application installation package local monitoring record it Before, the application installation package monitored in the terminal is deleted.
Preferably, the monitoring unit includes:
Second acquisition unit, the operating system for obtaining the terminal obtain the monitoring of the application installation package complete Office's monitoring record;
4th determination unit, for when the delete operation in global monitoring record comprising being directed to the application installation package When record, determine that the application installation package monitored in the terminal is deleted.
Preferably, described device is located in server;
The first acquisition unit is specifically used for receiving the part monitoring note for the deleted application installation package that terminal is sent Record.
Preferably, the given client end is the client for downloading the application installation package.
Another aspect provides a kind of determining device of deleted reason of application installation package, and described device is located in terminal, Include:
Whether monitoring unit, the application installation package for monitoring in the terminal are deleted;
First acquisition unit, after being deleted for monitoring the application installation package in the terminal when the monitoring unit, Obtain the local monitoring record that the given client end in the terminal monitors the application installation package;
Transmission unit, for sending the local monitoring record to server, so that the server is according to the part Whether recorded comprising the delete operation for the application installation package in monitoring record, determines the application installation package whether by institute State the deletion of given client end.
Preferably, the monitoring unit specifically includes:
Second acquisition unit, the operating system for obtaining the terminal obtain the monitoring of the application installation package complete Office's monitoring record;
Determination unit, for when the delete operation record in global monitoring record comprising being directed to the application installation package When, determine that the application installation package monitored in the terminal is deleted.
Preferably, the given client end is the client for downloading the application installation package.
Another aspect provides a kind of determination system of deleted reason of application installation package, including terminal and server;
The terminal be used for when monitor the application installation package in the terminal it is deleted after, obtain the finger in the terminal Determine the local monitoring record that client monitors the application installation package, and sends the part monitoring note to server Record;
The server is used to receive the local monitoring record that the terminal is sent, when in the local monitoring record When recording comprising the delete operation for the application installation package, determine that the application installation package is deleted by the given client end It removes.
Preferably, the terminal is specifically used for obtaining operating system the monitoring to the application installation package of the terminal The global monitoring record arrived, when in global monitoring record comprising the delete operation record for the application installation package, Determine that the application installation package monitored in the terminal is deleted.
Preferably, the server is also used to work as in the local monitoring record comprising for the application installation package When delete operation records, determining the application installation package not is deleted by the given client end.
Preferably, the local monitoring record is that code executes record;
The server is also used to when determining the application installation package is deleted by the given client end, described in determination Whether code executes the code logic that record indicates consistent with the pre-set code logic at the given client end;
If consistent, determine that the application installation package is normal according to the pre-set code logic by the given client end It deletes;
If inconsistent, determine that the application installation package is by the given client end because the pre-set code logic executes It is deleted extremely caused by mistake.
Preferably, the given client end is the client for downloading the application installation package.
As it can be seen that a kind of application installation package for providing according to embodiments of the present invention be deleted reason determination method, apparatus and System includes deleting for application installation package by being monitored to the application installation package in terminal in determining monitoring record When except operation note, the deleted reason of application installation package is determined, compared to testing in test environment and simulation is applied peace The reason of dress coating is deleted, the embodiment of the present invention can more accurately obtain the deleted reason of application installation package.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is the flow chart for the determination method that a kind of application installation package provided in an embodiment of the present invention is deleted reason;
Fig. 2 is the flow chart for the determination method that another application installation package provided in an embodiment of the present invention is deleted reason;
Fig. 3 is the flow chart for the determination method that another application installation package provided in an embodiment of the present invention is deleted reason;
Fig. 4 is the flow chart for the determination method that another application installation package provided in an embodiment of the present invention is deleted reason;
Fig. 5 is the structural representation for the determining device that a kind of application installation package provided in an embodiment of the present invention is deleted reason Figure;
Fig. 6 is the structural representation for the determining device that another application installation package provided in an embodiment of the present invention is deleted reason Figure;
Fig. 7 is the structural representation for the determining device that another application installation package provided in an embodiment of the present invention is deleted reason Figure;
Fig. 8 is the structural representation for the determination system that a kind of application installation package provided in an embodiment of the present invention is deleted reason Figure.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
Referring to Fig. 1, for a kind of stream of the determination method of the deleted reason of application installation package provided in an embodiment of the present invention Cheng Tu, method includes the following steps:
Step S101 obtains the local monitoring record of deleted application installation package, and the part monitoring record is by end What the given client end on end monitored the application installation package.
Terminal is downloaded application installation package and is stored to eventually by customer end A thereon, such as application installation management software End, and the application installation package is then installed at the terminal by customer end A, but usually customer end A but can not find when starting installation The application installation package of downloading, application installation package are deleted, it would be desirable to determine the deleted reason of application installation package.
The delete operation of application installation package is monitored by the given client end B in terminal, obtains deleted application The local monitoring record of installation kit, to determine that application installation package is to be deleted by the operation of customer end B or other reasons, It is deleted if it is by customer end B, needs to improve customer end B.The part monitoring record can be application installation package and exist Code in customer end B executes record.It should be noted that customer end A and customer end B can be the same client, it can also To be different client.
Step S102, when in the local monitoring record comprising the delete operation record for the application installation package, Determine that the application installation package is deleted by the given client end.
Since local monitoring record is the in-depth monitoring record operated in the terminal to application installation package, specifically client Operation of the B to application installation package, therefore, when in local monitoring record comprising the delete operation record for application installation package, It can determine that the application installation package is deleted by given client end B.
It should be noted that the present embodiment can execute above step by terminal or server, determine that application installation package is deleted Except the reason of.
As it can be seen that a kind of application installation package provided according to embodiments of the present invention is deleted the determination method of reason, by right Application installation package in terminal is monitored, and is recorded in determining monitoring record comprising the delete operation for application installation package When, the deleted reason of application installation package is determined, compared to testing in test environment and the simulation installation kit that is applied is deleted The reason of, the embodiment of the present invention can more accurately obtain the deleted reason of application installation package.
Referring to Fig. 2, being deleted the determination method of reason for another application installation package provided in an embodiment of the present invention Flow chart, method includes the following steps:
Step S201, the operating system for obtaining terminal record the global monitoring that the monitoring of application installation package obtains.
The operating system of terminal passes through its application programming interface (Application Programming Interface, API) operation of each application interface of acquisition to application installation package, the application interface include given client end interface and Non-customer end interface, the non-customer end are, for example, user or third party software.For example, user is clear in the file of using terminal itself It lookes at device or the software with file management facilities, finds and application installation package is deleted, third party software such as rubbish is clear Software is cleared up in reason or space, and application installation package is searched out to come, and then guides user to execute deletion, or directly delete.Entirely Office's monitoring record is the deletion record for application installation package that the application programming interface of the operating system of terminal provides, and is answered It is to be acquired by application programming interface from the application interface in terminal with the deletion record of installation kit, the API of operating system It is connect with each application interface, all operation notes of each application interface can be acquired, after terminal installs client, client To API registration, to collect the operation of client or non-customer end to any application installation package downloaded in client in API When, it can notify the client.It include the filename etc. of deleted application installation package in global monitoring record.
Step S202, when in global monitoring record comprising the delete operation record for the application installation package, Determine that the application installation package monitored in the terminal is deleted.
When in global monitoring record comprising the delete operation record for the application installation package, it can determine that the application is pacified Dress coating is deleted, but not can know that it is to be deleted by which application interface application installation package.
It is recorded by global monitoring after determining that application installation package is deleted, triggers the movement of next step.
Step S203 obtains the local monitoring record of deleted application installation package, and the part monitoring record is by end What the given client end on end monitored the application installation package.
It include that the code of application installation package in the client executes record in local monitoring record.In the client, each Function is all the successive implementation procedure of function code one by one, and delete operation is also such.Therefore we can use oneself energy The mode enough understood does a record inside these function codes, does one when for example, if going to some function code function A unique id record, this id record and this function code function are unique corresponding relations, function generation one by one After code executes, a serial code will be obtained and execute record, here it is so-called Local Monitorings.Client itself also can be right Application installation package carries out some delete operations, such as it is possible that mistake when downloading application installation package, such as downloading file Error in data etc., in order to successfully download, we also will be deleted old downloading file and then restart new downloading task;Separately Outside, client provides increment upgrade function, can be synthesized with local mounted application packet after delta package downloading back The installation kit of a new version is obtained, the installation kit of same name can be first checked whether there is before closing packet, if there is then can first hold Then row delete operation carries out closing packet etc. again.
Whether step S204 is recorded comprising the delete operation for the application installation package in the part monitoring record, If it is, going to step S205;Otherwise, step S206 is gone to.
Step S205 determines that the application installation package is deleted by the given client end.
Step S206, determining the application installation package not is deleted by the given client end.
Global monitoring, which records, determines that application installation package is deleted, and local monitoring record includes for the application installation package Delete operation record, then can determine that the application installation package is deleted by given client end;Otherwise, it determines not being by the specified visitor It deletes at family end, it may be possible to be deleted by user or third party software.
Step S207, the part monitoring record are that code executes record, determine that the code executes the generation that record indicates Whether the pre-set code logic at given client end described in code logical AND is consistent, if it is, going to step S208;Otherwise, it goes to Step S209.
Step S208 determines that the application installation package is normal according to the pre-set code logic by the given client end It deletes.
Step S209 determines that the application installation package is by the given client end because the pre-set code logic executes mistake It is abnormal caused by accidentally to delete.
It determines that code executes in record to record comprising the delete operation for application installation package, can further execute code The code logic that record indicates is compared with the preset code logic of client, determines that code executes the code for recording and indicating and patrols It collects whether consistent with the preset code logic of client.For any one system operatio in client, have one it is preset Code logic, client should execute each function code function according to the preset code logic, but because of client itself It is not perfect, it may cause logic error, cause the preset code logic of execution logical AND of function code function inconsistent, because This can determine and answer if the code logic that code executes record expression is consistent with the preset code logic of the client The normal delete operation carried out according to preset code logic with installation kit, otherwise, can determine application installation package be because Application installation package executes exception delete operation caused by mistake in the code logic of client.
It should be noted that the present embodiment can execute above step by terminal or server, determine that application installation package is deleted Except the reason of.If determining that local monitoring record is sent to service by the deleted reason of application installation package, terminal by server Device, server according to the part monitoring record whether include for the application installation package delete operation record, it may be determined that answer The reason being deleted with installation kit.
As it can be seen that a kind of application installation package provided according to embodiments of the present invention is deleted the determination method of reason, by right Application installation package in terminal is monitored, and is recorded in determining monitoring record comprising the delete operation for application installation package When, the deleted reason of application installation package is determined, compared to testing in test environment and the simulation installation kit that is applied is deleted The reason of, the embodiment of the present invention can more accurately obtain the deleted reason of application installation package.
Referring to Fig. 3, being deleted the determination method of reason for another application installation package provided in an embodiment of the present invention Flow chart, this method are applied to terminal, method includes the following steps:
Step S301, when monitor the application installation package in terminal be deleted after, obtain the given client in the terminal Hold the local monitoring record monitored to the application installation package.
Step S302 sends the local monitoring record to server, so that the server is monitored according to the part Whether recorded comprising the delete operation for the application installation package in record, determines the application installation package whether by the finger Determine client deletion.
The present embodiment obtains local monitoring record unlike example shown in Fig. 1, Fig. 2, by terminal, is a little reported by burying System etc. is sent to server, determines the deleted reason of application installation package by server.Concrete implementation process and front are real It is identical to apply example, details are not described herein.
As it can be seen that a kind of application installation package provided according to embodiments of the present invention is deleted the determination method of reason, terminal pair Application installation package in terminal is monitored, and local monitoring record is sent to server, server is in determining monitoring record When recording comprising the delete operation for application installation package, the deleted reason of application installation package is determined, compared in test environment Middle to test and simulate the deleted reason of installation kit that is applied, the embodiment of the present invention can more accurately obtain application installation package Deleted reason.
Referring to Fig. 4, being deleted the determination method of reason for another application installation package provided in an embodiment of the present invention Flow chart, this method be applied to terminal method includes the following steps:
Step S401, the operating system for obtaining terminal record the global monitoring that the monitoring of application installation package obtains.
Step S402, when in global monitoring record comprising the delete operation record for the application installation package, Determine that the application installation package monitored in the terminal is deleted.
The present embodiment further includes step S401 and S402 unlike embodiment illustrated in fig. 3, is supervised by the overall situation of acquisition Control record determines that application installation package is deleted, to trigger the movement of next step.The realization process and Fig. 2 of step S401 and S402 Step S201 and the S202 difference of illustrated embodiment are identical, and details are not described herein.
Step S403, the given client end obtained in the terminal monitor the part that the application installation package monitors Record.
Step S404 sends the local monitoring record to server, so that the server is monitored according to the part Whether recorded comprising the delete operation for the application installation package in record, determines the application installation package whether by the finger Determine client deletion.
As it can be seen that a kind of application installation package provided according to embodiments of the present invention is deleted the determination method of reason, by right Application installation package in terminal is monitored, and is recorded in determining monitoring record comprising the delete operation for application installation package When, the deleted reason of application installation package is determined, compared to testing in test environment and the simulation installation kit that is applied is deleted The reason of, the embodiment of the present invention can more accurately obtain the deleted reason of application installation package.
Referring to Fig. 5, for a kind of knot of the determining device of the deleted reason of application installation package provided in an embodiment of the present invention Structure schematic diagram, the device 1000 include:
First acquisition unit 11, for obtaining the local monitoring record of deleted application installation package, the part monitoring Record is to be monitored by the given client end in terminal to the application installation package.
Terminal is downloaded application installation package and is stored to eventually by customer end A thereon, such as application installation management software End, and the application installation package is then installed at the terminal by customer end A, but usually customer end A but can not find when starting installation The application installation package of downloading, application installation package are deleted, it would be desirable to determine the deleted reason of application installation package.
The delete operation of application installation package is monitored by the given client end B in terminal, first acquisition unit 11 obtains The local monitoring record of deleted application installation package is taken, to determine that application installation package is deleted by the operation of customer end B, also It is other reasons, is deleted if it is by customer end B, needs to improve customer end B.The part monitoring record can be Code of the application installation package in customer end B executes record.It should be noted that customer end A and customer end B can be it is same Client is also possible to different clients.
First determination unit 12, for as the deletion behaviour in the local monitoring record comprising being directed to the application installation package When noting down, determine that the application installation package is deleted by the given client end.
Since local monitoring record is the in-depth monitoring record operated in the terminal to application installation package, specifically client Operation of the B to application installation package, therefore, when in local monitoring record comprising the delete operation record for application installation package, First determination unit 12 can determine that the application installation package is deleted by given client end B.
It should be noted that the device of the present embodiment can be located at terminal or server.
As it can be seen that a kind of application installation package provided according to embodiments of the present invention is deleted the determining device of reason, by right Application installation package in terminal is monitored, and is recorded in determining monitoring record comprising the delete operation for application installation package When, the deleted reason of application installation package is determined, compared to testing in test environment and the simulation installation kit that is applied is deleted The reason of, the embodiment of the present invention can more accurately obtain the deleted reason of application installation package.
Referring to Fig. 6, being deleted the determining device of reason for another application installation package provided in an embodiment of the present invention Structural schematic diagram, the device 2000 include:
Monitoring unit 21, for obtaining the local monitoring record of deleted application installation package in the first acquisition unit Before, the application installation package monitored in the terminal is deleted.
Monitoring unit 21 includes second acquisition unit 211 and the 4th determination unit 212.
Second acquisition unit 211, the global prison that the operating system for obtaining terminal obtains the monitoring of application installation package Control record.
The operating system of terminal passes through its application programming interface (Application Programming Interface, API) operation of each application interface of acquisition to application installation package, the application interface include given client end interface and Non-customer end interface, the non-customer end are, for example, user or third party software.For example, user is clear in the file of using terminal itself It lookes at device or the software with file management facilities, finds and application installation package is deleted, third party software such as rubbish is clear Software is cleared up in reason or space, and application installation package is searched out to come, and then guides user to execute deletion, or directly delete.Entirely Office's monitoring record is the deletion record for application installation package that the application programming interface of the operating system of terminal provides, and is answered It is to be acquired by application programming interface from the application interface in terminal with the deletion record of installation kit, the API of operating system It is connect with each application interface, all operation notes of each application interface can be acquired, after terminal installs client, client To API registration, to collect the operation of client or non-customer end to any application installation package downloaded in client in API When, it can notify the client.It include the filename etc. of deleted application installation package in global monitoring record.
4th determination unit 212, for when the deletion in global monitoring record comprising being directed to the application installation package When operation note, determine that the application installation package monitored in the terminal is deleted.
When in global monitoring record comprising the delete operation record for the application installation package, the 4th determination unit 212 It can determine that the application installation package is deleted, but not can know that it is to be deleted by which application interface to application installation package It removes.
It is recorded by global monitoring after determining that application installation package is deleted, triggers the movement of next step.
First acquisition unit 22, for obtaining the local monitoring record of deleted application installation package, the part monitoring Record is to be monitored by the given client end in terminal to the application installation package.
It include that the code of application installation package in the client executes record in local monitoring record.In the client, each Function is all the successive implementation procedure of function code one by one, and delete operation is also such.Therefore we can use oneself energy The mode enough understood does a record inside these function codes, does one when for example, if going to some function code function A unique id record, this id record and this function code function are unique corresponding relations, function generation one by one After code executes, a serial code will be obtained and execute record, here it is so-called Local Monitorings.Client itself also can be right Application installation package carries out some delete operations, such as it is possible that mistake when downloading application installation package, such as downloading file Error in data etc., in order to successfully download, we also will be deleted old downloading file and then restart new downloading task;Separately Outside, client provides increment upgrade function, can be synthesized with local mounted application packet after delta package downloading back The installation kit of a new version is obtained, the installation kit of same name can be first checked whether there is before closing packet, if there is then can first hold Then row delete operation carries out closing packet etc. again.
First determination unit 23, for as the deletion behaviour in the local monitoring record comprising being directed to the application installation package When noting down, determine that the application installation package is deleted by the given client end.
First determination unit 23 is also used to work as in the local monitoring record not comprising deleting for the application installation package When except operation note, determining the application installation package not is deleted by the given client end.
Global monitoring, which records, determines that application installation package is deleted, and local monitoring record includes for the application installation package Delete operation record, then can determine that the application installation package is deleted by given client end;Otherwise, it determines not being by the specified visitor It deletes at family end, it may be possible to be deleted by user or third party software.
Second determination unit 24, for determining when determining the application installation package is deleted by the given client end Whether the code executes the code logic that record indicates consistent with the pre-set code logic at the given client end.
Third determination unit 25, if the definitive result for second determination unit is consistent, it is determined that described to answer It is normally to be deleted by the given client end according to the pre-set code logic with installation kit;If second determination unit Definitive result is inconsistent, it is determined that the application installation package is by the given client end because the pre-set code logic executes It is deleted extremely caused by mistake.
It determines that code executes in record to record comprising the delete operation for application installation package, can further execute code The code logic that record indicates is compared with the preset code logic of client, determines that code executes the code for recording and indicating and patrols It collects whether consistent with the preset code logic of client.For any one system operatio in client, have one it is preset Code logic, client should execute each function code function according to the preset code logic, but because of client itself It is not perfect, it may cause logic error, cause the preset code logic of execution logical AND of function code function inconsistent, because This can determine and answer if the code logic that code executes record expression is consistent with the preset code logic of the client The normal delete operation carried out according to preset code logic with installation kit, otherwise, can determine application installation package be because Application installation package executes exception delete operation caused by mistake in the code logic of client.
It should be noted that the present embodiment can execute above step by terminal or server, determine that application installation package is deleted Except the reason of.If determining that local monitoring record is sent to service by the deleted reason of application installation package, terminal by server Device, server according to the part monitoring record whether include for the application installation package delete operation record, it may be determined that answer The reason being deleted with installation kit.
As it can be seen that a kind of application installation package provided according to embodiments of the present invention is deleted the determining device of reason, by right Application installation package in terminal is monitored, and is recorded in determining monitoring record comprising the delete operation for application installation package When, the deleted reason of application installation package is determined, compared to testing in test environment and the simulation installation kit that is applied is deleted The reason of, the embodiment of the present invention can more accurately obtain the deleted reason of application installation package.
Referring to Fig. 7, being deleted the determining device of reason for another application installation package provided in an embodiment of the present invention Structural schematic diagram, the device 3000 include:
Whether monitoring unit 31, the application installation package on monitor terminal are deleted.
First acquisition unit 32, for obtaining after the monitoring unit monitors the application installation package in terminal and is deleted The local monitoring record for taking the given client end in the terminal to monitor the application installation package.
Transmission unit 33, for sending the local monitoring record to server, so that the server is according to the office In portion's monitoring record whether comprising for the application installation package delete operation record, determine the application installation package whether by It deletes at the given client end.
Monitoring unit 31 can also include second acquisition unit and determination unit.
Second acquisition unit, the operating system for obtaining the terminal obtain the monitoring of the application installation package complete Office's monitoring record;
Determination unit, for when the delete operation record in global monitoring record comprising being directed to the application installation package When, determine that the application installation package monitored in the terminal is deleted.
Monitoring unit 31 determines that application installation package is deleted, by the global monitoring record obtained to trigger next step Movement.
The present embodiment obtains local monitoring record unlike example shown in Fig. 5, Fig. 6, by terminal, is a little reported by burying System etc. is sent to server, determines the deleted reason of application installation package by server.Concrete implementation process and front are real It is identical to apply example, details are not described herein.
As it can be seen that a kind of application installation package provided according to embodiments of the present invention is deleted the determining device of reason, terminal pair Application installation package in terminal is monitored, and local monitoring record is sent to server, server is in determining monitoring record When recording comprising the delete operation for application installation package, the deleted reason of application installation package is determined, compared in test environment Middle to test and simulate the deleted reason of installation kit that is applied, the embodiment of the present invention can more accurately obtain application installation package Deleted reason.
Referring to Fig. 8, for a kind of knot of the determination system of the deleted reason of application installation package provided in an embodiment of the present invention Structure schematic diagram, the system 4000 include terminal 41 and server 42.
Terminal 41, for when monitor the application installation package in the terminal be deleted after, obtain the finger in the terminal Determine the local monitoring record that client monitors the application installation package, and sends the part monitoring note to server Record.
Server 42, the local monitoring record sent for receiving the terminal, when in the local monitoring record When recording comprising the delete operation for the application installation package, determine that the application installation package is deleted by the given client end It removes.
Further, terminal 41 is specifically used for obtaining operating system the monitoring to the application installation package of the terminal The global monitoring record arrived, when in global monitoring record comprising the delete operation record for the application installation package, Determine that the application installation package monitored in the terminal is deleted.
Server 42 is also used to work as in the local monitoring record comprising the delete operation for the application installation package When record, determining the application installation package not is deleted by the given client end.
Preferably, the local monitoring record is that code executes record;
Server 42 is also used to determine the generation when determining the application installation package is deleted by the given client end Whether code executes the code logic that record indicates consistent with the pre-set code logic at the given client end;
If consistent, determine that the application installation package is normal according to the pre-set code logic by the given client end It deletes;
If inconsistent, determine that the application installation package is by the given client end because the pre-set code logic executes It is deleted extremely caused by mistake.
The given client end is the client for downloading the application installation package.
As it can be seen that a kind of application installation package provided according to embodiments of the present invention is deleted the determination system of reason, by right Application installation package in terminal is monitored, and is recorded in determining monitoring record comprising the delete operation for application installation package When, the deleted reason of application installation package is determined, compared to testing in test environment and the simulation installation kit that is applied is deleted The reason of, the embodiment of the present invention can more accurately obtain the deleted reason of application installation package.
It should be noted that for the various method embodiments described above, for simple description, therefore, it is stated as a series of Combination of actions, but those skilled in the art should understand that, the present invention is not limited by the sequence of acts described because According to the present invention, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art should also know It knows, the embodiments described in the specification are all preferred embodiments, and related actions and modules is not necessarily of the invention It is necessary.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment Point, reference can be made to the related descriptions of other embodiments.
Through the above description of the embodiments, it is apparent to those skilled in the art that the present invention can be with It is realized with hardware realization or firmware realization or their combination mode.It when implemented in software, can be by above-mentioned function Storage in computer-readable medium or as on computer-readable medium one or more instructions or code transmitted.Meter Calculation machine readable medium includes computer storage media and communication media, and wherein communication media includes convenient for from a place to another Any medium of a place transmission computer program.Storage medium can be any usable medium that computer can access.With For this but be not limited to: computer-readable medium may include random access memory (Random Access Memory, RAM), read-only memory (Read-Only Memory, ROM), Electrically Erasable Programmable Read-Only Memory (Electrically Erasable Programmable Read-Only Memory, EEPROM), CD-ROM (Compact Disc Read- Only Memory, CD-ROM) or other optical disc storages, magnetic disk storage medium or other magnetic storage apparatus or can be used in Carry or storage have instruction or data structure form desired program code and can by computer access any other Medium.Furthermore.Any connection appropriate can become computer-readable medium.For example, if software is using coaxial cable, light Fine optical cable, twisted pair, Digital Subscriber Line (Digital Subscriber Line, DSL) or such as infrared ray, radio and The wireless technology of microwave etc is transmitted from website, server or other remote sources, then coaxial cable, optical fiber cable, double The wireless technology of twisted wire, DSL or such as infrared ray, wireless and microwave etc includes in the fixing of affiliated medium.Such as this hair Used in bright, disk (Disk) and dish (disc) include compress optical disc (CD), laser disc, optical disc, Digital Versatile Disc (DVD), Floppy disk and Blu-ray Disc, the usually magnetic replicate data of which disk, and dish is then with laser come optical replicate data.Group above Conjunction should also be as including within the protection scope of computer-readable medium.
In short, being not intended to limit of the invention the foregoing is merely the preferred embodiment of technical solution of the present invention Protection scope.All within the spirits and principles of the present invention, any modification, equivalent replacement, improvement and so on should be included in Within protection scope of the present invention.

Claims (21)

1. a kind of application installation package is deleted the determination method of reason, it is applied to terminal characterized by comprising
The local monitoring record of deleted application installation package is obtained, the part monitoring record is by the given client in terminal What end monitored the application installation package, the part monitoring record includes the application installation package in the given client Code in end executes record;
When in the local monitoring record comprising the delete operation record for the application installation package, the application peace is determined Dress packet is deleted by the given client end;
Before the local monitoring record for obtaining deleted application installation package, the method, further includes:
The application installation package monitored in the terminal is deleted;
The application installation package monitored in the terminal is deleted, and is specifically included:
The operating system for obtaining the terminal records the global monitoring that the monitoring of the application installation package obtains, the global prison Control record includes all operations for each application interface that the application programming interface API of the operating system of the terminal is provided Record;
When in global monitoring record comprising the delete operation record for the application installation package, determine monitor it is described The application installation package in terminal is deleted.
2. the method as described in claim 1, which is characterized in that further include:
When in the local monitoring record not comprising the delete operation record for the application installation package, the application is determined Installation kit is deleted by the given client end.
3. method according to claim 1 or 2, which is characterized in that the part monitoring record is that code executes record;
The method, further includes:
When determining the application installation package is deleted by the given client end, determine that the code executes the generation that record indicates Whether the pre-set code logic at given client end described in code logical AND is consistent;
If consistent, determine that the application installation package is normally to be deleted by the given client end according to the pre-set code logic It removes;
If inconsistent, determine that the application installation package is by the given client end because the pre-set code logic executes mistake Caused abnormal deletion.
4. method according to claim 1 or 2, which is characterized in that the given client end is to download the application installation package Client.
5. a kind of application installation package is deleted the determination method of reason, it is applied to server characterized by comprising
The local monitoring record of deleted application installation package is obtained, the part monitoring record is by the given client in terminal What end monitored the application installation package, the part monitoring record includes the application installation package in the given client Code in end executes record, and the part monitoring record is that the terminal is determining the application monitored in the terminal Installation kit obtains after being deleted, the terminal according to global monitoring record in grasp comprising the deletion for the application installation package It notes down and determines that the application installation package is deleted, the global monitoring record includes the application journey of the operating system of the terminal All operation notes for each application interface that sequence programming interface API is provided;
When in the local monitoring record comprising the delete operation record for the application installation package, the application peace is determined Dress packet is deleted by the given client end;
The local monitoring record for obtaining deleted application installation package, specifically includes:
Receive the local monitoring record for the deleted application installation package that terminal is sent.
6. method as claimed in claim 5, which is characterized in that the given client end is the visitor for downloading the application installation package Family end.
7. a kind of application installation package is deleted the determination method of reason, it is applied to terminal characterized by comprising
When monitor the application installation package in the terminal be deleted after, the given client end obtained in the terminal is answered described The local monitoring record monitored with installation kit, the part monitoring record includes the application installation package in the specified visitor Code in the end of family executes record;
Send the local monitoring record to server so that the server according in the local monitoring record whether include For the delete operation record of the application installation package, determine whether the application installation package is deleted by the given client end;
The application installation package monitored in the terminal is deleted, and is specifically included:
The operating system for obtaining the terminal records the global monitoring that the monitoring of the application installation package obtains, the global prison Control record includes all operations for each application interface that the application programming interface API of the operating system of the terminal is provided Record;
When in global monitoring record comprising the delete operation record for the application installation package, determine monitor it is described The application installation package in terminal is deleted.
8. the method for claim 7, which is characterized in that the given client end is the visitor for downloading the application installation package Family end.
9. a kind of application installation package is deleted the determining device of reason, described device is located in terminal characterized by comprising
First acquisition unit, for obtaining the local monitoring record of deleted application installation package, the part monitoring record is The application installation package is monitored by the given client end in terminal, the part monitoring record includes the application peace Code of the dress packet in the given client end executes record;
First determination unit, for when the delete operation record in the local monitoring record comprising being directed to the application installation package When, determine that the application installation package is deleted by the given client end;
Described device, further includes:
Monitoring unit, before the local monitoring record for obtaining deleted application installation package in the first acquisition unit, The application installation package monitored in the terminal is deleted;
The monitoring unit includes:
Second acquisition unit, the global prison that the operating system for obtaining the terminal obtains the monitoring of the application installation package Control record, the global monitoring record include each of the application programming interface API offer of the operating system of the terminal All operation notes of application interface;
4th determination unit, for when the delete operation record in global monitoring record comprising being directed to the application installation package When, determine that the application installation package monitored in the terminal is deleted.
10. device as claimed in claim 9, which is characterized in that first determination unit is also used to:
When in the local monitoring record not comprising the delete operation record for the application installation package, the application is determined Installation kit is deleted by the given client end.
11. the device as described in claim 9 or 10, which is characterized in that the part monitoring record is that code executes record;
Described device, further includes:
Second determination unit, for determining the generation when determining the application installation package is deleted by the given client end Whether code executes the code logic that record indicates consistent with the pre-set code logic at the given client end;
Third determination unit, if the definitive result for second determination unit is consistent, it is determined that the application installation Packet is normally to be deleted by the given client end according to the pre-set code logic;If second determination unit determines knot Fruit is inconsistent, it is determined that the application installation package is to be led by the given client end because the pre-set code logic executes mistake The abnormal of cause is deleted.
12. the device as described in claim 9 or 10, which is characterized in that the given client end is to download the application installation The client of packet.
13. a kind of application installation package is deleted the determining device of reason, described device is located in server, which is characterized in that packet It includes:
First acquisition unit, for obtaining the local monitoring record of deleted application installation package, the part monitoring record is The application installation package is monitored by the given client end in terminal, the part monitoring record includes the application peace Code of the dress packet in the given client end executes record, and the part monitoring record monitors institute in determination for the terminal State after the application installation package in terminal is deleted and obtain, the terminal according to global monitoring record in comprising for described The delete operation record of application installation package determines that the application installation package is deleted, and the global monitoring record includes the terminal Operating system application programming interface API provide each application interface all operation notes;
First determination unit, for when the delete operation record in the local monitoring record comprising being directed to the application installation package When, determine that the application installation package is deleted by the given client end;
The first acquisition unit is specifically used for receiving the local monitoring record for the deleted application installation package that terminal is sent.
14. device as claimed in claim 13, which is characterized in that the given client end is the downloading application installation package Client.
15. a kind of application installation package is deleted the determining device of reason, described device is located in terminal characterized by comprising
Whether monitoring unit, the application installation package for monitoring in the terminal are deleted;
First acquisition unit after being deleted for monitoring the application installation package in the terminal when the monitoring unit, obtains The local monitoring record that given client end in the terminal monitors the application installation package, the part monitoring record Code including the application installation package in the given client end executes record;
Transmission unit, for sending the local monitoring record to server, so that the server is monitored according to the part Whether recorded comprising the delete operation for the application installation package in record, determines the application installation package whether by the finger Determine client deletion;
The monitoring unit specifically includes:
Second acquisition unit, the global prison that the operating system for obtaining the terminal obtains the monitoring of the application installation package Control record, the global monitoring record include each of the application programming interface API offer of the operating system of the terminal All operation notes of application interface;
Determination unit, for when the global monitoring record in comprising for the application installation package delete operation record when, Determine that the application installation package monitored in the terminal is deleted.
16. device as claimed in claim 15, which is characterized in that the given client end is the downloading application installation package Client.
17. the determination system that a kind of application installation package is deleted reason, which is characterized in that including terminal and server;
The terminal be used for when monitor the application installation package in the terminal it is deleted after, obtain the specified visitor in the terminal The local monitoring record that family end monitors the application installation package, and the local monitoring record, institute are sent to server Stating local monitoring record includes that code of the application installation package in the given client end executes record;
The server is used to receive the local monitoring record that the terminal is sent, when including in the local monitoring record For the application installation package delete operation record when, determine the application installation package be by the given client end delete;
The terminal is specifically used for obtaining the global prison that the operating system of the terminal obtains the monitoring of the application installation package Control record, when in global monitoring record comprising the delete operation record for the application installation package, determination is monitored The application installation package in the terminal is deleted, and the global monitoring record includes the application of the operating system of the terminal All operation notes for each application interface that Program Interfaces API is provided.
18. system as claimed in claim 17, which is characterized in that the server is also used to when in the local monitoring record When not comprising the delete operation record for the application installation package, determining the application installation package not is by the given client It deletes at end.
19. the system as described in claim 17 or 18, which is characterized in that the part monitoring record is that code executes record;
The server is also used to determine the code when determining the application installation package is deleted by the given client end It is whether consistent with the pre-set code logic at the given client end to execute the code logic that record indicates;
If consistent, determine that the application installation package is normally to be deleted by the given client end according to the pre-set code logic It removes;
If inconsistent, determine that the application installation package is by the given client end because the pre-set code logic executes mistake Caused abnormal deletion.
20. the system as described in claim 17 or 18, which is characterized in that the given client end is to download the application installation The client of packet.
21. system according to claim 19, which is characterized in that the given client end is to download the application installation package Client.
CN201410368016.8A 2014-07-29 2014-07-29 A kind of application installation package is deleted the determination method, apparatus and system of reason Expired - Fee Related CN104133754B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410368016.8A CN104133754B (en) 2014-07-29 2014-07-29 A kind of application installation package is deleted the determination method, apparatus and system of reason

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410368016.8A CN104133754B (en) 2014-07-29 2014-07-29 A kind of application installation package is deleted the determination method, apparatus and system of reason

Publications (2)

Publication Number Publication Date
CN104133754A CN104133754A (en) 2014-11-05
CN104133754B true CN104133754B (en) 2018-12-28

Family

ID=51806437

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410368016.8A Expired - Fee Related CN104133754B (en) 2014-07-29 2014-07-29 A kind of application installation package is deleted the determination method, apparatus and system of reason

Country Status (1)

Country Link
CN (1) CN104133754B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6810364B2 (en) * 2000-02-04 2004-10-26 International Business Machines Corporation Automated testing of computer system components
CN102789559A (en) * 2011-05-20 2012-11-21 北京网秦天下科技有限公司 Method and device for monitoring program installation and program operation in mobile device
CN103440455A (en) * 2011-04-28 2013-12-11 北京奇虎科技有限公司 Mobile terminal software package safety detection method and system
CN103942067A (en) * 2014-03-31 2014-07-23 广东欧珀移动通信有限公司 Method and device for automatically cleaning up software installation package files through intelligent device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6810364B2 (en) * 2000-02-04 2004-10-26 International Business Machines Corporation Automated testing of computer system components
CN103440455A (en) * 2011-04-28 2013-12-11 北京奇虎科技有限公司 Mobile terminal software package safety detection method and system
CN102789559A (en) * 2011-05-20 2012-11-21 北京网秦天下科技有限公司 Method and device for monitoring program installation and program operation in mobile device
CN103942067A (en) * 2014-03-31 2014-07-23 广东欧珀移动通信有限公司 Method and device for automatically cleaning up software installation package files through intelligent device

Also Published As

Publication number Publication date
CN104133754A (en) 2014-11-05

Similar Documents

Publication Publication Date Title
KR101292979B1 (en) Method for managing software in terminal using device management server
US11038770B2 (en) Methods, systems, and computer readable media for managing deployment and maintenance of network tools
CN109408132A (en) A kind of configuration file processing method and server, user terminal, storage medium
KR101065355B1 (en) Terminal device, terminal management server and remote diagnosis method for performing remote diagnosis of the communication terminal
CN110569168B (en) Data interaction method, related equipment and storage medium
CN113448854A (en) Regression testing method and device
CN107229854B (en) Application program registration method and device, electronic equipment and storage medium
US20130086420A1 (en) Method and system for implementing a test automation results importer
CN103617544A (en) Channel effect monitoring method and system
CN110166276A (en) A kind of localization method, device, terminal device and the medium of frame synchronization exception
CN112733369B (en) Intelligent equipment maintenance method, terminal and system and electronic equipment
CN109672722B (en) Data deployment method and device, computer storage medium and electronic equipment
US11722371B2 (en) Utilizing unstructured data in self-organized networks
US20160070555A1 (en) Automated tenant upgrades for multi-tenant services
CN108063691A (en) One kind buries point data consistency detecting method, apparatus and system
CN106294114A (en) A kind of code coverage acquisition methods, server and application apparatus to be measured
CN109002305A (en) A kind of update method and its system of device program
CN105573905B (en) Software compatibility test method and system
CN110580216A (en) application extraction and detection method and device
CN104133754B (en) A kind of application installation package is deleted the determination method, apparatus and system of reason
US20200142770A1 (en) Internet of things appliance diagnostics
WO2025113710A1 (en) Traffic replay testing method, system and device, and storage medium
CN115146309A (en) Privacy compliance detection method, device, server, terminal and storage medium
CN109586994A (en) A kind of whole machine cabinet server burn-in test monitoring method and system
CN104978214B (en) A kind of component loading method, device and terminal

Legal Events

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

Address after: 510623 07, 08A unit, fifteenth floor of agile center, 26 Huaxia Road, Tianhe District, Guangzhou, Guangdong.

Applicant after: Guangzhou cheetah Network Technology Co.,Ltd.

Address before: 510623 01-B sixth unit, Guangzhou bank building, 30 Zhujiang East Road, Tianhe District, Guangzhou, Guangdong.

Applicant before: GUANGZHOU KINGSOFT NETWORK TECHNOLOGY Co.,Ltd.

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

Granted publication date: 20181228