CN105183656A - Method, system and device for detecting package stop failure of application program - Google Patents

Method, system and device for detecting package stop failure of application program Download PDF

Info

Publication number
CN105183656A
CN105183656A CN201510640289.8A CN201510640289A CN105183656A CN 105183656 A CN105183656 A CN 105183656A CN 201510640289 A CN201510640289 A CN 201510640289A CN 105183656 A CN105183656 A CN 105183656A
Authority
CN
China
Prior art keywords
application program
bag
terminal
failed
stop
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.)
Granted
Application number
CN201510640289.8A
Other languages
Chinese (zh)
Other versions
CN105183656B (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.)
Beijing Kingsoft Internet Security Software Co Ltd
Original Assignee
Beijing Kingsoft Internet Security Software 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 Beijing Kingsoft Internet Security Software Co Ltd filed Critical Beijing Kingsoft Internet Security Software Co Ltd
Priority to CN201510640289.8A priority Critical patent/CN105183656B/en
Publication of CN105183656A publication Critical patent/CN105183656A/en
Priority to PCT/CN2016/095324 priority patent/WO2017054581A1/en
Application granted granted Critical
Publication of CN105183656B publication Critical patent/CN105183656B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software

Abstract

The embodiment of the invention discloses a method, a system and a device for detecting the failure of package stop of an application program, wherein the method applied to a terminal comprises the following steps: and acquiring the running state of the application program aiming at each application program subjected to the package stopping processing, performing the package stopping processing on the application program again when judging that the package stopping of the application program fails, and acquiring the identification information of the application program subjected to the package stopping failure, the attribute information of the terminal and the information of other currently running application programs to report to the server. According to the embodiment of the invention, the terminal judges whether the packet stop fails or not aiming at the application program for packet stop processing, and stops the packet again when the packet stop fails, so that the packet stop detection is realized, the accuracy rate of the packet stop is further ensured, the consumption of a mobile power supply is reduced, the cruising ability of the terminal is improved, and the identification information of the application program for packet stop failure, the attribute information of the terminal and the information reporting server of other currently running application programs are collected, so that the server can analyze and further ensure the accuracy rate of the packet stop.

Description

A kind of application program stop bag failure detection method, system and device
Technical field
The present invention relates to wireless communication technology field, particularly a kind of application program stop bag failure detection method, system and device.
Background technology
Along with the development of the communication technology and computer technology, in terminal, the quantity of the application program of installation and operation gets more and more, and be that the increase of the capacity of the portable power source (such as battery) that terminal is powered is very limited, cause the increase of the capacity of portable power source not catch up with the speed that in terminal, application program increases far away.And the increase of application program in terminal, user will be caused to use a large amount of application programs, and a large amount of uses of application program can cause again the power consumption of portable power source to increase, and affect the flying power of terminal, and causing user to need is frequently portable power source charging.
Therefore, in order to increase the flying power of terminal, some closing application programs that user can not be used, such as, close the larger application program of power consumption, to reduce the power consumption speed of portable power source, extends the cruising time of terminal.Force the mode stopped to become the application program run and stop bag.Prior art, after application program being carried out stop bag process, also may can exist and stop wrapping failed problem, stops the failed application program of bag and also can continue to expend electricity, reduce the flying power of terminal.
Summary of the invention
What the embodiment of the invention discloses a kind of application program stops bag failure detection detection method, system and device, in order to improve the accuracy rate of stopping wrapping, reduces the power consumption of application program, improves the flying power of terminal.
For achieving the above object, what the embodiment of the invention discloses a kind of application program stops bag failure detection method, and be applied to terminal, the method comprises:
Stopping each application program after wrapping process for carrying out, obtaining the status information of this application program;
According to described status information, judge whether this application program stops bag;
When described application program stops wrapping failed, again bag process is stopped to this application program, and gather the information reporting server of other application programs that this stops wrapping the failed identification information of application program, the attribute information of terminal and current operation, make server according to the information reported, determine to stop bag strategy accordingly for each failed application program of bag of stopping.
Further, the status information of described this application program of acquisition comprises:
According to the operating system of described terminal for the marker bit of application program, obtain the status information of this application program.
Further, the attribute information of described terminal comprises:
The type of terminal.
Further, before the running status of described this application program of acquisition, described method also comprises:
According to each application program waiting to stop wrapping process, judge the identification information stopping whether comprising in bag strategy this application program self preserved;
If so, corresponding according to described application program of stopping this identification information preserved in bag strategy strategy stops bag process to described application program;
Otherwise, directly bag process is stopped to described application program.
Further, described method also comprises:
According to the cycle of presetting, obtain from server and stop bag strategy; Or
What reception server sent stops bag strategy.
What embodiments provide a kind of application program stops bag failure detection method, and be applied to server, the method comprises:
What receiving terminal sent stop wraps the information of other application programs of the failed identification information of application program, the attribute information of terminal and current operation thereof, the information of the application program of wherein said identification information, attribute information and current operation be described terminal pins to stopping each application program after wrapping process, obtain the running status of this application program; According to described running status, judge whether this application program stops bag, when described application program stops wrapping failed, again stop to wrap to this application program and process and gather;
According to the information that terminal sends, determine to stop bag strategy accordingly for each failed application program of bag of stopping.
Further, the attribute information of described terminal comprises:
The type of terminal.
Further, described for each stop bag failed application program determine that stopping bag strategy accordingly comprises:
Wrap failed application program for each stopping, judge to occur that this application program is stopped the failed type of bag and whether is not less than two kinds;
If, the information of other application programs run when stopping wrapping failure according to this application program, identifying other application programs having adjusted this to stop wrapping failed application program, for occurring that this application program stops wrapping failed type, determining that this application program and this other application programs stop the strategy wrapped in the lump.
Further, the attribute information of described terminal also comprises: the version of terminal operating system, when occurring that this application program stops wrapping failed type for time a kind of, describedly stopping wrapping failed application program determine that stopping bag strategy accordingly comprises for each:
Determine in this type, to occur that this application program stops wrapping the version of failed operating system;
What bag time that stops of application program described in the operating system generating this version in this type increased stops bag strategy.
What embodiments provide a kind of application program stops bag failure detection device, and be applied to terminal, described device comprises:
Acquisition module, for stopping each application program after wrapping process for carrying out, obtains the status information of this application program;
Judge module, for according to described status information, judges whether this application program stops bag;
Stop bag sending module, for when described application program stops wrapping failed, again bag process is stopped to this application program, and gather the information reporting server of other application programs that this stops wrapping the failed identification information of application program, the attribute information of terminal and current operation, make server according to the information reported, determine to stop bag strategy accordingly for each failed application program of bag of stopping.
Further, described acquisition module, specifically for according to the operating system of described terminal for the marker bit of application program, obtain the status information of this application program.
Further, the attribute information of described terminal comprises: the type of terminal.
Further, described device also comprises:
Stop bag module, for according to each application program waiting to stop wrapping process, judge the identification information stopping whether comprising in bag strategy this application program self preserved; If so, corresponding according to described application program of stopping this identification information preserved in bag strategy strategy stops bag process to described application program; Otherwise, directly bag process is stopped to described application program.
Further, described acquisition module, also for according to the cycle of presetting, obtains from server and stops bag strategy; Or what reception server sent stops bag strategy.
Embodiments provide a kind of terminal, what be applicable to application program stops bag failure detection, and described terminal comprises:
Processor, storer, communication interface and bus;
Described processor, described storer and described communication interface are connected by described bus and complete mutual communication;
Described storer stores executable programs code;
Described processor runs the program corresponding with described executable program code by reading the executable program code stored in described storer, for:
Stopping each application program after wrapping process for carrying out, obtaining the status information of this application program;
According to described status information, judge whether this application program stops bag;
When described application program stops wrapping failed, again bag process is stopped to this application program, and gather the information reporting server of other application programs that this stops wrapping the failed identification information of application program, the attribute information of terminal and current operation, make server according to the information reported, determine to stop bag strategy accordingly for each failed application program of bag of stopping.
What embodiments provide a kind of application program stops bag failure detection device, is applied to server, comprises:
Receiver module, the information of other application programs of the failed identification information of application program, the attribute information of terminal and current operation thereof is wrapped for stopping of sending of receiving terminal, the information of the application program of wherein said identification information, attribute information and current operation be described terminal pins to stopping each application program after wrapping process, obtain the running status of this application program; According to described running status, judge whether this application program stops bag, when described application program stops wrapping failed, again stop to wrap to this application program and process and gather;
Stop bag policy generation module, for the information sent according to terminal, determine to stop bag strategy accordingly for each failed application program of bag of stopping.
Further, the attribute information of described terminal comprises:
The type of terminal.
Further, described in stop bag policy generation module, specifically for wrapping failed application program for each stopping, judge to occur that this application program is stopped wrapping failed type and whether is not less than two kinds; If, the information of other application programs run when stopping wrapping failure according to this application program, identifying other application programs having adjusted this to stop wrapping failed application program, for occurring that this application program stops wrapping failed type, determining that this application program and this other application programs stop the strategy wrapped in the lump.
Further, the attribute information of described terminal also comprises: the version of terminal operating system, when occurring that this application program stops wrapping failed type for time a kind of, described in stop bag policy generation module, occur in this type that this application program stops the version of the failed operating system of bag specifically for determining; What bag time that stops of application program described in the operating system generating this version in this type increased stops bag strategy.
Embodiments provide a kind of server, what be applicable to application program stops bag failure detection, and described server comprises:
Processor, storer, communication interface and bus;
Described processor, described storer and described communication interface are connected by described bus and complete mutual communication;
Described storer stores executable programs code;
Described processor runs the program corresponding with described executable program code by reading the executable program code stored in described storer, for:
What receiving terminal sent stop wraps the information of other application programs of the failed identification information of application program, the attribute information of terminal and current operation thereof, the information of the application program of wherein said identification information, attribute information and current operation be described terminal pins to stopping each application program after wrapping process, obtain the running status of this application program; According to described running status, judge whether this application program stops bag, when described application program stops wrapping failed, again stop to wrap to this application program and process and gather;
According to the information that terminal sends, determine to stop bag strategy accordingly for each failed application program of bag of stopping.
What embodiments provide application program stops bag failure detection system, described system comprise above-mentioned be applied to the application program of terminal stop bag failure detection device, and above-mentioned be applied to the application program of server stop bag failure detection device.
Embodiments provide a kind of stopping and wrap failed detection method, system and device, the method being applied to terminal comprises: for stopping each application program after wrapping process, obtain the running status of this application program, when judging that this application program stops wrapping failed, again bag process is stopped to this application program, and gather the information reporting server of other application programs that this stops wrapping the failed identification information of application program, the attribute information of terminal and current operation.Because terminal pins wraps to stopping the application program processed in embodiments of the present invention, judge whether it stops to wrap unsuccessfully, and bag is again stopped when it stops wrapping failure, achieve to stop wrapping and detect and further ensure the accuracy rate of stopping wrapping, reduce the consumption of portable power source, improve the flying power of terminal, and gather the information reporting server of other application programs that this stops wrapping the failed identification information of application program, the attribute information of terminal and current operation, so that server analysis ensures the accuracy rate of stopping bag further.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
A kind of application program that Fig. 1 provides for the embodiment of the present invention stop bag failure detection process;
The interface of stopping wrapping process that Fig. 2 A provides for the embodiment of the present invention;
The schematic diagram stopping to wrap process to each application program one by one that Fig. 2 B provides for the embodiment of the present invention;
A kind of application program that Fig. 3 provides for one embodiment of the present of invention stop bag failure detection process;
A kind of application program that Fig. 4 provides for the embodiment of the present invention stop bag failure detection apparatus structure schematic diagram;
The another kind of application program that Fig. 5 provides for the embodiment of the present invention stop bag failure detection apparatus structure schematic diagram;
Fig. 6 be embodiments provide a kind of application program stop bag failure detection system architecture schematic diagram.
Embodiment
In order to ensure the accuracy rate of stopping wrapping, improve the flying power of portable power source, what embodiments provide a kind of application program stops bag failure detection method, system and device.
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
A kind of application program that Fig. 1 provides for the embodiment of the present invention stop bag failure detection process, this process comprises the following steps:
S101: stopping each application program after wrapping process for carrying out, obtaining the status information of this application program.
The bag failure detection method of stopping of the application program that the embodiment of the present invention provides is applied to terminal, and this terminal comprises: the intelligent terminal such as mobile phone, panel computer.Stop bag process and refer to the application program that will running, force to stop.
Concrete, terminal can carry out the information of stopping the application program of wrapping process to user's recommended suggestion, such as according to the power consumption of each application program, or application program is not by duration etc. that user uses, user can carry out stopping wrapping the application program processed according to the recommendation of terminal, makes it enter dormant state.Or terminal also can self to the application program being in idle state, to its stop bag process.Wherein the dormant state of application program refers to that application program is in non-operating state, the reason making application program enter dormant state to be in idle application program in backstage power consumption, when application program is in dormant state, allow to call it, after having adjusted, do not affect the normal use of this application program.
S102: according to described status information, judges whether this application program stops bag, and if so, this stops bag testing process and terminates, otherwise, carry out S103.
For each application program in the operating system of terminal, the marker bit corresponding with this application program is set, the operating system of terminal for the marker bit of application program, the status information of known this application program of acquisition.Or obtained the application program run by ActivityManager, thus the status information of carrying out each application program of stopping bag process can be judged.Wherein this status information comprises: running status, or stops bag-like state.
S103: again bag process is stopped to this application program, and the information reporting server of other application programs gathering that this stops wrapping the failed identification information of application program, the attribute information of terminal and current operation.
Wherein, the attribute information of this terminal comprises: the type of terminal.The attribute information of this terminal can also comprise: the type of terminal operating system and version, one or more in the language form of terminal operating system etc.
When this status information is running status, judge that this application program stops wrapping unsuccessfully.In order to reduce the power consumption of terminal, improving the flying power of terminal, stopping wrapping failed application program for this in embodiments of the present invention, again carry out stopping bag process.And in order to improve the accuracy rate of stopping wrapping process further, this terminal collection stops wrapping the information reporting server of other application programs of the failed identification information of application program, the attribute information of terminal and current operation, so that server analysis application program stops wrapping failed reason, improve follow-up accuracy rate of stopping wrapping process, the accuracy rate of stopping wrapping process is improved gradually.
Terminal, when application programs carries out stopping bag process, can be stop bag process to the application program being in idle state automatically.Concrete can be stop bag process by a certain application program in terminal to idle application program, such as, carry out the application program of clearing up, or carries out the application program etc. of killing virus.
Specifically when application programs carries out stopping bag process, can according to each application program not by the duration that user uses, in this duration, application program is not used by user, then stop bag process to this application program.
Wherein this duration can be identical for each application program, if such as each application program in half an hour, or one hour by use time, then can to corresponding application programs stop bag process.In addition, this duration also can be different for each application program, such as a certain application program may change in time, such as react the application program of weather conditions, or the application program etc. of air quality, it is slightly long that the duration for this application program can be arranged, such as, can be 3 hours, for the duration of other application programs can arrange slightly short, can be such as 20 minutes etc.
The interface of stopping wrapping process that Fig. 2 A provides for the embodiment of the present invention.Now terminal searches the application program being in idle state, then the click of analog subscriber, clicks " HIBERNATE ", and all application programs chosen will be stopped bag process one by one.Fig. 2 B is the schematic diagram stopping to wrap process to each application program one by one, and user can click cancel button at any time, adjusts by the application program of stopping wrapping process.
After application programs carries out stopping bag process, the each application program after wrapping process is stopped for carrying out, for the marker bit of this application program in terminal scan operation system successively, obtain the status information of this application program, thus judge whether this application program stops to be bundled into merit.When the marker bit of a certain application program identify this application program stop wrapping failed time, again bag process is stopped to this application program, and obtain this application program and stop bag failed reason and environment, concrete comprises: the identification information gathering this application program, the information of the attribute information of terminal and other application programs of current operation.The information reporting server that terminal will gather, so that server application programs stops bag, failed reason is analyzed, and determines corresponding strategy to stop bag process accurately.
After server determines and stops bag strategy accordingly, this can be stopped bag strategy and send to corresponding terminal, or corresponding terminal is according to the cycle of presetting, obtain from server and stop bag strategy, so that SS later is when carrying out stopping bag process, can stop bag strategy according to this, application programs stops bag process accurately.
In another embodiment of the invention, in order to effectively improve the accuracy rate of stopping wrapping process, can analyze for each failed application program of bag of stopping in the server, determine that it stops wrapping failed reason, and formulation stops bag strategy accordingly, terminal is stopped according to this, and bag is tactful stops bag process to this application program, and before the running status of described this application program of acquisition, described method also comprises:
According to each application program waiting to stop wrapping process, judge the identification information stopping whether comprising in bag strategy this application program self preserved;
If so, then according to described in stop strategy corresponding to the application program of this identification information preserved in bag strategy bag process stopped to described application program, otherwise, directly bag process is stopped to described application program.
Server can be formulated for each application program and stop bag strategy accordingly, but in order to reduce the data volume of server and terminal, server can only provide stop the higher application program of bag mortality to stop bag tactful.Stop preserving in bag strategy strategy corresponding to the application program of each identification information at this.This stops bag strategy that can be server stopping after bag strategy upgrades to this, sends to terminal, also can be terminal according to the cycle of presetting, obtain from server.
A kind of application program that Fig. 3 provides for one embodiment of the present of invention stop bag failure detection process, this process is applied to terminal, and this process comprises the following steps:
S301: for the application program waiting to stop wrapping process, judge the identification information stopping whether comprising in bag strategy this application program self preserved, if so, carry out S302, otherwise, carry out S303.
S302: the strategy corresponding according to described application program of stopping this identification information preserved in bag strategy stops bag process to described application program.Afterwards, S304 is carried out.
In embodiments of the present invention can server when determining for terminal to stop wrapping strategy, be according to each terminal to report stop wrap the failed identification information of application program, the information of other application programs of the attribute information of terminal and current operation determines, the attribute information of this terminal comprises the type of terminal.When server determine for often kind of type terminal stop bag strategy after, this is stopped wrap strategy and is sent to the terminal of corresponding type.That therefore can think that terminal preserves stops bag strategy for self, as long as this stops the identification information preserving this application program in bag strategy, strategy that just can be corresponding according to the application program of stopping this identification information preserved in bag strategy stops bag process to described application program.
S303: directly bag process is stopped to described application program.
Concrete, direct application programs carry out stopping wrapping process refer to adopt acquiescence stop bag processing mode, bag process is stopped to this application program.The bag processing mode application programs of stopping of acquiescence is adopted to carry out stopping bag process, the bag processing mode application programs of stopping of prior art such as can be adopted to carry out stopping bag process, in the embodiment of the present invention, the implementation stopping wrapping process of the prior art is not repeated.
S304: stopping each application program after wrapping process for carrying out, obtaining the status information of this application program.
S305: according to described status information, judges whether this application program stops bag, and if so, this stops bag testing process and terminates, otherwise, carry out S306.
S306: again bag process is stopped to this application program, and the information reporting server of other application programs gathering that this stops wrapping the failed identification information of application program, the attribute information of terminal and current operation.
Default behavior is adopted to carry out stopping bag owing to preserving in terminal, that stops the failed application program of bag stops bag strategy, adopt this to stop bag strategy and bag process is stopped to this application program, the accuracy of stopping wrapping process to this application program can be ensured further, reduce terminal power consumption, improve the flying power of terminal.
What the embodiment of the present invention provided be applied to server, a kind of application program stop bag failure detection method, comprising:
What receiving terminal sent stop wraps the information of other application programs of the failed identification information of application program, the attribute information of terminal and current operation thereof, the information of the application program of wherein said identification information, attribute information and current operation be described terminal pins to stopping each application program after wrapping process, obtain the running status of this application program; According to described running status, judge whether this application program stops bag, when described application program stops wrapping failed, again stop to wrap to this application program and process and gather.
Wherein, the attribute information of this terminal comprises: the type of terminal.The attribute information of this terminal can also comprise: the type of terminal operating system and version, one or more in the language form of terminal operating system etc.
What server received that terminal sends stop wrap the failed identification information of application program, the attribute information of terminal and current operation thereof other application programs information after, analyze for each failed application program of bag of stopping, determine that it stops the failed reason of bag.Stop wrapping failed reason according to each application program, what generate correspondence stops bag strategy, to make corresponding terminal stop bag strategy according to this, stops wrapping process to the application program of correspondence.
In order to ensure the accuracy of stopping wrapping process, in one embodiment of the invention, described method also comprises:
Wrap failed application program for each stopping, judge to occur that this application program is stopped the failed type of bag and whether is not less than two kinds;
If, the information of other application programs run when stopping wrapping failure according to this application program, identify other application programs having adjusted this to stop wrapping failed application program, for occurring that this application program stops wrapping failed type, determine that this application program and this other application programs are stopped the strategy of bag in the lump and are issued to the terminal of corresponding type.
In the above embodiment of the present invention, analyzing for stopping each application program of wrapping unsuccessfully, determining that application program stops wrapping failed reason.Because each terminal is stopped the identification information wrapping failed application program, the information of the attribute information of terminal and other application programs of current operation is sent to server.Server wraps failed application program for each stopping, and adds up the information that this stops wrapping the attribute information of terminal corresponding to failed application program and other application programs of current operation, thus analyzes this and stop the failed application program of bag and stop the failed reason of bag.
Whole types of such as terminal comprise type A, type B and type C, server wraps failed application program m for stopping, add up the type A of this application program m in terminal, all occur under type B and type C stopping wrapping failed problem, in this case, application program for its current operation in type A is x, y and z, working procedure for its current operation of type B is x, p and q, application program for its current operation of type C is x, n and o, then according to the common factor of the application program of operation current under often kind of type, it occurs simultaneously for application program x, application program in this common factor is the application program having adjusted this application program m, therefore need when application programs m carries out stopping bag process, need application program x to be carried out in the lump stop bag process.
The reason that there is this problem may be, the duration that the duration that application program x is corresponding is corresponding from application program m is different, although even if or duration corresponding to two methods program identical, but the frequency used by user is different, in order to avoid application program m stops wrapping unsuccessfully, when application programs m carries out stopping bag process, even if duration corresponding to application program x does not arrive, but in order to ensure to stop bag accuracy rate, need application programs x to carry out in the lump stopping bag process.
Server is wrapping failed application program for stopping, to its stop bag failed reason analyze time, judge that application program is only at certain two kinds, occur under three kinds or more kind type stopping wrapping failed problem, then can adopt said method analysis, when determining for this several type, adjust this to stop wrapping other application programs of failed application program, for this several type, determine the strategy that this application program and this other application programs stop to wrap in the lump and be issued to the terminal of corresponding type.
In another embodiment of the invention, the attribute information of this terminal also comprises: the version of terminal operating system, and when occurring that this application program stops wrapping failed type for time a kind of, described method also comprises:
Determine in this type, to occur that this application program stops wrapping the version of failed operating system;
By the bag time that stops of application program described in the operating system of this version in this type increase, and by application program described in the operating system of this version in this type increase after stop the terminal that the bag time is sent to corresponding type.
Occur that the reason of this situation may be that the duration stopping wrapping process that this application program needs in the application program of this type is longer, therefore in order to ensure the accuracy rate of stopping wrapping, the bag time that stops in embodiments of the present invention for this application program increases, such as be increased to 1s, or increase the duration etc. of setting, stop bag accuracy rate with what ensure this application program.
A kind of application program that Fig. 4 provides for the embodiment of the present invention stop bag failure detection apparatus structure schematic diagram, it is applied to terminal, and described device comprises:
Acquisition module 41, for stopping each application program after wrapping process for carrying out, obtains the status information of this application program;
Judge module 42, for according to described status information, judges whether this application program stops bag;
Stop bag sending module 43, for when described application program stops wrapping failed, again bag process is stopped to this application program, and gather the information reporting server of other application programs that this stops wrapping the failed identification information of application program, the attribute information of terminal and current operation, make server according to the information reported, determine to stop bag strategy accordingly for each failed application program of bag of stopping.
Described acquisition module 41, specifically for according to the operating system of described terminal for the marker bit of application program, obtain the status information of this application program.
The attribute information of described terminal comprises: the type of terminal.
Described device also comprises:
Stop bag module 44, for according to each application program waiting to stop wrapping process, judge the identification information stopping whether comprising in bag strategy this application program self preserved; If so, corresponding according to described application program of stopping this identification information preserved in bag strategy strategy stops bag process to described application program; Otherwise, directly bag process is stopped to described application program.
Described acquisition module 41, also for according to the cycle of presetting, obtains from server and stops bag strategy; Or what reception server sent stops bag strategy.
Embodiments provide a kind of terminal, what be applicable to application program stops bag failure detection, and described terminal comprises:
Processor, storer, communication interface and bus;
Described processor, described storer and described communication interface are connected by described bus and complete mutual communication;
Described storer stores executable programs code;
Described processor runs the program corresponding with described executable program code by reading the executable program code stored in described storer, for:
Stopping each application program after wrapping process for carrying out, obtaining the status information of this application program;
According to described status information, judge whether this application program stops bag;
When described application program stops wrapping failed, again bag process is stopped to this application program, and gather the information reporting server of other application programs that this stops wrapping the failed identification information of application program, the attribute information of terminal and current operation, make server according to the information reported, determine to stop bag strategy accordingly for each failed application program of bag of stopping.
What Fig. 5 provided another kind of application program for the embodiment of the present invention stops bag failure detection apparatus structure schematic diagram, is applied to server, comprises:
Receiver module 51, the information of other application programs of the failed identification information of application program, the attribute information of terminal and current operation thereof is wrapped for stopping of sending of receiving terminal, the information of the application program of wherein said identification information, attribute information and current operation be described terminal pins to stopping each application program after wrapping process, obtain the running status of this application program; According to described running status, judge whether this application program stops bag, when described application program stops wrapping failed, again stop to wrap to this application program and process and gather;
Stop bag policy generation module 52, for the information sent according to terminal, determine to stop bag strategy accordingly for each failed application program of bag of stopping.
The attribute information of described terminal comprises: the type of terminal.
Describedly stopping bag policy generation module 52, specifically for wrapping failed application program for each stopping, judging to occur that this application program is stopped wrapping failed type and whether is not less than two kinds; If, the information of other application programs run when stopping wrapping failure according to this application program, identifying other application programs having adjusted this to stop wrapping failed application program, for occurring that this application program stops wrapping failed type, determining that this application program and this other application programs stop the strategy wrapped in the lump.
The attribute information of described terminal also comprises: the version of terminal operating system, when occurring that this application program stops wrapping failed type for time a kind of, describedly stopping bag policy generation module 52, occurring in this type that this application program stops wrapping the version of failed operating system specifically for determining; What bag time that stops of application program described in the operating system generating this version in this type increased stops bag strategy.
Embodiments provide a kind of server, what be applicable to application program stops bag failure detection, and described server comprises:
Processor, storer, communication interface and bus;
Described processor, described storer and described communication interface are connected by described bus and complete mutual communication;
Described storer stores executable programs code;
Described processor runs the program corresponding with described executable program code by reading the executable program code stored in described storer, for:
What receiving terminal sent stop wraps the information of other application programs of the failed identification information of application program, the attribute information of terminal and current operation thereof, the information of the application program of wherein said identification information, attribute information and current operation be described terminal pins to stopping each application program after wrapping process, obtain the running status of this application program; According to described running status, judge whether this application program stops bag, when described application program stops wrapping failed, again stop to wrap to this application program and process and gather;
According to the information that terminal sends, determine to stop bag strategy accordingly for each failed application program of bag of stopping.
Fig. 6 be embodiments provide a kind of application program stop bag failure detection system architecture schematic diagram, this system comprise shown in Fig. 4 be applied to the application program of terminal 61 stop bag failure detection device, and shown in Fig. 5 be applied to the application program of server 62 stop bag failure detection device.
Embodiments provide a kind of stopping and wrap failed detection method, system and device, the method being applied to terminal comprises: for stopping each application program after wrapping process, obtain the running status of this application program, when judging that this application program stops wrapping failed, again bag process is stopped to this application program, and gather the information reporting server of other application programs that this stops wrapping the failed identification information of application program, the attribute information of terminal and current operation.Because terminal pins wraps to stopping the application program processed in embodiments of the present invention, judge whether it stops to wrap unsuccessfully, and bag is again stopped when it stops wrapping failure, achieve to stop wrapping and detect and further ensure the accuracy rate of stopping wrapping, reduce the consumption of portable power source, improve the flying power of terminal, and gather the information reporting server of other application programs that this stops wrapping the failed identification information of application program, the attribute information of terminal and current operation, so that server analysis ensures the accuracy rate of stopping bag further.
For systems/devices embodiment, because it is substantially similar to embodiment of the method, so description is fairly simple, relevant part illustrates see the part of embodiment of the method.
It should be noted that, in this article, the such as relational terms of first and second grades and so on is only used for an entity or operation to separate with another entity or operational zone, and not necessarily requires or imply the relation that there is any this reality between these entities or operation or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or equipment and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or equipment.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the equipment comprising described key element and also there is other identical element.
One of ordinary skill in the art will appreciate that all or part of step realized in said method embodiment is that the hardware that can carry out instruction relevant by program has come, described program can be stored in computer read/write memory medium, here the alleged storage medium obtained, as: ROM/RAM, magnetic disc, CD etc.
The foregoing is only preferred embodiment of the present invention, be not intended to limit protection scope of the present invention.All any amendments done within the spirit and principles in the present invention, equivalent replacement, improvement etc., be all included in protection scope of the present invention.

Claims (10)

1. application program stop a bag failure detection method, it is characterized in that, be applied to terminal, the method comprises:
Stopping each application program after wrapping process for carrying out, obtaining the status information of this application program;
According to described status information, judge whether this application program stops bag;
When described application program stops wrapping failed, again bag process is stopped to this application program, and gather the information reporting server of other application programs that this stops wrapping the failed identification information of application program, the attribute information of terminal and current operation, make server according to the information reported, determine to stop bag strategy accordingly for each failed application program of bag of stopping.
2. method according to claim 1, is characterized in that, the status information of described this application program of acquisition comprises:
According to the operating system of described terminal for the marker bit of application program, obtain the status information of this application program.
3. method according to claim 1, is characterized in that, the attribute information of described terminal comprises:
The type of terminal.
4. method according to claim 1, is characterized in that, before the running status of described this application program of acquisition, described method also comprises:
According to each application program waiting to stop wrapping process, judge the identification information stopping whether comprising in bag strategy this application program self preserved;
If so, corresponding according to described application program of stopping this identification information preserved in bag strategy strategy stops bag process to described application program;
Otherwise, directly bag process is stopped to described application program.
5. method according to claim 4, is characterized in that, described method also comprises:
According to the cycle of presetting, obtain from server and stop bag strategy; Or
What reception server sent stops bag strategy.
6. application program stop a bag failure detection method, it is characterized in that, be applied to server, the method comprises:
What receiving terminal sent stop wraps the information of other application programs of the failed identification information of application program, the attribute information of terminal and current operation thereof, the information of the application program of wherein said identification information, attribute information and current operation be described terminal pins to stopping each application program after wrapping process, obtain the running status of this application program; According to described running status, judge whether this application program stops bag, when described application program stops wrapping failed, again stop to wrap to this application program and process and gather;
According to the information that terminal sends, determine to stop bag strategy accordingly for each failed application program of bag of stopping.
7. method according to claim 6, is characterized in that, the attribute information of described terminal comprises:
The type of terminal.
8. method according to claim 7, is characterized in that, described for each stop bag failed application program determine that stopping bag strategy accordingly comprises:
Wrap failed application program for each stopping, judge to occur that this application program is stopped the failed type of bag and whether is not less than two kinds;
If, the information of other application programs run when stopping wrapping failure according to this application program, identifying other application programs having adjusted this to stop wrapping failed application program, for occurring that this application program stops wrapping failed type, determining that this application program and this other application programs stop the strategy wrapped in the lump.
9. method according to claim 8, it is characterized in that, the attribute information of described terminal also comprises: the version of terminal operating system, when occurring that this application program stops wrapping failed type for time a kind of, describedly stopping wrapping failed application program determine that stopping bag strategy accordingly comprises for each:
Determine in this type, to occur that this application program stops wrapping the version of failed operating system;
What bag time that stops of application program described in the operating system generating this version in this type increased stops bag strategy.
10. application program stop a bag failure detection device, it is characterized in that, be applied to terminal, described device comprises:
Acquisition module, for stopping each application program after wrapping process for carrying out, obtains the status information of this application program;
Judge module, for according to described status information, judges whether this application program stops bag;
Stop bag sending module, for when described application program stops wrapping failed, again bag process is stopped to this application program, and gather the information reporting server of other application programs that this stops wrapping the failed identification information of application program, the attribute information of terminal and current operation, make server according to the information reported, determine to stop bag strategy accordingly for each failed application program of bag of stopping.
CN201510640289.8A 2015-09-30 2015-09-30 Method, system and device for detecting package stop failure of application program Active CN105183656B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201510640289.8A CN105183656B (en) 2015-09-30 2015-09-30 Method, system and device for detecting package stop failure of application program
PCT/CN2016/095324 WO2017054581A1 (en) 2015-09-30 2016-08-15 Application program stopping failure detection method, system and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510640289.8A CN105183656B (en) 2015-09-30 2015-09-30 Method, system and device for detecting package stop failure of application program

Publications (2)

Publication Number Publication Date
CN105183656A true CN105183656A (en) 2015-12-23
CN105183656B CN105183656B (en) 2018-03-30

Family

ID=54905748

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510640289.8A Active CN105183656B (en) 2015-09-30 2015-09-30 Method, system and device for detecting package stop failure of application program

Country Status (2)

Country Link
CN (1) CN105183656B (en)
WO (1) WO2017054581A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017054581A1 (en) * 2015-09-30 2017-04-06 北京金山安全软件有限公司 Application program stopping failure detection method, system and apparatus

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10230671B2 (en) * 2015-11-19 2019-03-12 International Business Machines Corporation Enhanced instant message handling and delivery

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020116631A1 (en) * 2000-12-20 2002-08-22 Satoru Torii Method of and system for managing information, and computer product
CN102495761A (en) * 2011-11-11 2012-06-13 中兴通讯股份有限公司 Method and device for closing applications
CN104298335A (en) * 2013-07-19 2015-01-21 贝壳网际(北京)安全技术有限公司 Application program process cleaning method and device of mobile terminal and mobile terminal
CN104503841A (en) * 2014-12-15 2015-04-08 北京奇虎科技有限公司 Process clearing method and process clearing device
CN104850414A (en) * 2014-02-14 2015-08-19 可牛网络技术(北京)有限公司 Cleaning method and cleaning apparatus of application process, and mobile terminal

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102214134B (en) * 2010-04-12 2015-08-12 腾讯科技(深圳)有限公司 A kind of computer processes termination system and method
CN103106002A (en) * 2013-01-28 2013-05-15 广东欧珀移动通信有限公司 Method of fast closing background application program and touch type mobile terminal thereof
CN104239131B (en) * 2014-09-09 2018-05-25 可牛网络技术(北京)有限公司 A kind of method and device for closing application program
CN104636144A (en) * 2015-02-26 2015-05-20 北京数字天域科技有限责任公司 Background program management method and device of mobile terminal
CN105183656B (en) * 2015-09-30 2018-03-30 北京金山安全软件有限公司 Method, system and device for detecting package stop failure of application program

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020116631A1 (en) * 2000-12-20 2002-08-22 Satoru Torii Method of and system for managing information, and computer product
CN102495761A (en) * 2011-11-11 2012-06-13 中兴通讯股份有限公司 Method and device for closing applications
CN104298335A (en) * 2013-07-19 2015-01-21 贝壳网际(北京)安全技术有限公司 Application program process cleaning method and device of mobile terminal and mobile terminal
CN104850414A (en) * 2014-02-14 2015-08-19 可牛网络技术(北京)有限公司 Cleaning method and cleaning apparatus of application process, and mobile terminal
CN104503841A (en) * 2014-12-15 2015-04-08 北京奇虎科技有限公司 Process clearing method and process clearing device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017054581A1 (en) * 2015-09-30 2017-04-06 北京金山安全软件有限公司 Application program stopping failure detection method, system and apparatus

Also Published As

Publication number Publication date
WO2017054581A1 (en) 2017-04-06
CN105183656B (en) 2018-03-30

Similar Documents

Publication Publication Date Title
US20220043067A1 (en) Charging method and device, charging system, electronic equipment and storage medium
CN110442498B (en) Abnormal data node positioning method and device, storage medium and computer equipment
CN111092852A (en) Network security monitoring method, device, equipment and storage medium based on big data
CN108833459B (en) Data reporting method and terminal equipment
WO2014153273A1 (en) Application testing and analysis
CN104699598A (en) Automatic testing method, device, equipment and system
US20170017295A1 (en) User device power consumption monitoring and analysis
CN104281520A (en) Tracking and debugging method, device and system
WO2006104947B1 (en) Apparatus and method for managing battery performance of a wireless device
CN101645033A (en) Debugging method in abnormality of mobile phone software
CN104217161A (en) Virus scanning method and system and terminal device
CN102915249A (en) Method and device for remotely realizing firmware updating
CN103268183A (en) Processing method and device for information report
CN111858112B (en) Method, client and server for detecting memory leakage
CN101246444B (en) Module testing method and system
WO2020211253A1 (en) Elastic scaling method and apparatus for number of hosts in distributed system, and computer device
Tabrizi et al. A model-based intrusion detection system for smart meters
CN112822213A (en) Attack evidence obtaining and tracing method for power monitoring system
CN105183656A (en) Method, system and device for detecting package stop failure of application program
CN113190399A (en) Log storage method and device, computer equipment and storage medium
CN111147283B (en) Method and system for re-reporting data after internet of things equipment data reporting failure
WO2016153377A1 (en) Smart logging of trace data for storage systems
CN103577296A (en) Bus reliability testing method and system
CN104767995A (en) Method for recording electronic product test data and recording module
CN105376117A (en) FC switch chip data monitoring test method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant