CN102521041B - Method for processing application program and wireless handheld device - Google Patents

Method for processing application program and wireless handheld device Download PDF

Info

Publication number
CN102521041B
CN102521041B CN201110418319.2A CN201110418319A CN102521041B CN 102521041 B CN102521041 B CN 102521041B CN 201110418319 A CN201110418319 A CN 201110418319A CN 102521041 B CN102521041 B CN 102521041B
Authority
CN
China
Prior art keywords
preset
application programs
module
running state
starting
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201110418319.2A
Other languages
Chinese (zh)
Other versions
CN102521041A (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.)
Huawei Device Co Ltd
Original Assignee
Huawei Device 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 Huawei Device Co Ltd filed Critical Huawei Device Co Ltd
Priority to CN201110418319.2A priority Critical patent/CN102521041B/en
Publication of CN102521041A publication Critical patent/CN102521041A/en
Priority to PCT/CN2012/086288 priority patent/WO2013086960A1/en
Application granted granted Critical
Publication of CN102521041B publication Critical patent/CN102521041B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • G06F9/485Task life-cycle, e.g. stopping, restarting, resuming execution
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • G06F9/4881Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues
    • G06F9/4893Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues taking into account power or heat criteria
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

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

Abstract

The invention discloses a method for an processing application program and a wireless handheld device, relating to the technical field of communication. The method for processing the application program comprises: obtaining startup time and operation duration of one or more application programs at an operation state when one or more application programs of an operating system background of the wireless handheld device at an operation state meet predetermined conditions; determining use probability of one or more application programs at the operation state according to statistic use probability of all programs of the operating system at one or more predetermined time intervals and the obtained startup time and operation duration of one or more application programs at the operation state; closing the application program with the use probability lower than a first predetermined threshold of one or more application programs at the operation state. The invention provides a corresponding wireless handheld device. With the adoption of the invention, waste of battery energy of the wireless handheld terminal can be reduced.

Description

Method for processing application program and wireless handheld device
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method for processing an application and a wireless handheld device.
Background
For example, wireless handheld devices with different operating systems are becoming more and more popular, and wireless handheld devices with different operating systems can run multiple applications simultaneously, and moreover, users often run one or more applications in a wireless handheld device and then do not quit completely, so that the application is converted to be run in the background, and often multiple applications are run in the background of one wireless handheld device.
The existing solution is that if a user wants to close multiple applications running in the background, the user needs to enter a corresponding interface and then manually close the corresponding applications.
The battery endurance of the wireless handheld device is not ideal, and especially, the wireless handheld device consumes battery energy when running a plurality of applications, so that the battery energy of the wireless handheld device is wasted when a user forgets to turn off some unnecessary applications running in the background of the wireless handheld device.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method for processing an application program and a wireless handheld device to implement automatic shutdown of some unnecessary application programs running in a wireless handheld device smartphone background, so as to reduce waste of battery energy of a wireless handheld terminal.
In one aspect, a method for processing an application program is provided, including:
when one or more application programs in a running state in an operating system background of the wireless handheld device meet a preset condition, acquiring the starting time and the running duration of the one or more application programs in the running state;
determining the use probabilities of the one or more application programs in the running state according to the counted use probabilities of all the application programs in the operating system in one or more preset time periods and the obtained starting time and running duration of the one or more application programs in the running state;
and closing the application programs with the use probability lower than a preset first threshold value in the one or more application programs in the running state.
In another aspect, another method of processing an application is provided, including:
when the application program of the background of the operating system of the wireless handheld device in the running state meets a preset condition, determining whether the application program in the running state exists in one or more application programs which do not belong to a system software type or an audio playing type;
when determining that the application programs which do not belong to the system software type or the audio playing type exist and the screen of the wireless handheld device is in the locked state, closing the application programs which do not belong to the system software type or the audio playing type in the one or more application programs in the running state;
when an application program which is not closed still exists in the one or more application programs in the running state, acquiring the starting time and the running duration of the application program which is not closed;
determining the use probability of the application program which is not closed according to the counted use probability of all the application programs in the operating system in each preset time period and the acquired starting time and the operating time length of the application program which is not closed;
and closing the application programs of which the using probability is lower than a preset first threshold value.
In another aspect, a wireless handheld device is also provided, including:
the wireless handheld device comprises a first acquisition module, a second acquisition module and a first display module, wherein the first acquisition module is used for acquiring the starting time and the running duration of one or more application programs in a running state when one or more application programs in the running state of an operating system background of the wireless handheld device meet preset conditions;
the statistical module is used for counting the use probability of all application programs in the operating system in one or more preset time periods;
a first determining module, configured to determine, according to the usage probabilities of all the application programs in the operating system counted by the counting module in one or more preset time periods and the start time and the operation duration of the one or more application programs in the operation state, which are acquired by the first acquiring module, the usage probability of the one or more application programs in the operation state is determined;
and the closing module is used for closing the application programs of which the use probability is lower than a preset first threshold value in the one or more application programs in the running state.
In another aspect, there is provided another wireless handheld device, comprising:
the wireless handheld device comprises a first determining module, a second determining module and a processing module, wherein the first determining module is used for determining whether one or more application programs in a running state in an operating system background of the wireless handheld device meet a preset condition, and the one or more application programs in the running state are the application programs which do not belong to a system software type or an audio playing type;
a second determining module for determining whether the screen of the wireless handheld device is in a locked state;
the first closing module is used for closing the application program which is neither in the system software type nor in the audio playing type in the one or more application programs in the running state when the first determining module determines that the application program which is neither in the system software type nor in the audio playing type exists and the second determining module determines that the screen of the wireless handheld device is in the locking state;
the first obtaining module is used for obtaining the starting time and the running duration of the unclosed application program when the unclosed application program still exists in the one or more application programs in the running state;
the statistical module is used for counting the use probability of all application programs in the operating system in one or more preset time periods;
a third determining module, configured to determine, according to the usage probabilities of all the application programs in the operating system counted by the counting module in one or more preset time periods and the start time and the running time of the application program that is not closed and acquired by the first acquiring module, the usage probability of the application program that is not closed;
and the second closing module is used for closing the application programs of which the using probability is lower than a preset first threshold value in the application programs which are not closed.
The method for processing the application program and the wireless handheld device provided by the embodiment of the invention avoid the problem that the battery energy of the wireless handheld device is wasted because a user forgets to close some unnecessary application programs running in the background of the wireless handheld device.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a flowchart of a method for processing an application according to an embodiment of the present invention;
FIG. 2 is a flowchart of another method for processing an application according to a second embodiment of the present invention;
fig. 3 is a flowchart of a method for processing an application according to a third embodiment of the present invention;
FIG. 4 is a flowchart of another method for processing an application according to a fourth embodiment of the present invention;
fig. 5 is a schematic diagram of a wireless handheld device according to a fifth embodiment of the present invention;
fig. 6 is a schematic diagram of another wireless handheld device according to a sixth embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is further described in detail below with reference to the accompanying drawings by way of four embodiments.
First, it should be noted that the wireless handheld devices described in the embodiments of the present invention include, but are not limited to, various standard mobile phones, smart phones based on different operating systems, and electronic devices with wireless communication functions, such as personal digital assistants PDA.
Various embodiments of the invention will be described with reference to details discussed below, and the accompanying drawings will illustrate the various embodiments. The following description and drawings are illustrative of the invention and are not to be construed as limiting the invention. Numerous specific details are described to provide a thorough understanding of various embodiments of the invention. However, in certain instances, well-known or conventional details are not described in order to provide a concise discussion of embodiments of the present inventions.
Some portions of the detailed descriptions which follow are presented in terms of algorithms which include operations on data stored in a computer memory. An algorithm is generally a sequence of operations that produce a desired result. These operations typically require or involve physical manipulations of physical quantities. Usually, though not necessarily, these quantities take the form of electrical or magnetic signals capable of being stored, transferred, combined, compared, and otherwise manipulated. It has proven convenient at times, principally for reasons of common usage, to refer to these signals as bits, values, elements, symbols, characters, terms, numbers, or the like.
However, all of these and similar terms are to be associated with the appropriate physical quantities and are merely convenient labels applied to these quantities. Unless specifically stated otherwise as apparent from the following discussions, it is appreciated that throughout the specification discussions utilizing terms such as "processing," "counting," "obtaining," "determining," "turning off," "starting," "outputting," "receiving," or "receiving" may refer to the action and processes of a data processing system, or similar electronic device, that manipulates and transforms data represented as physical (electronic) quantities within the system's registers and memories into other data similarly represented as physical quantities within the system memories or registers or other such information storage, transmission or display devices.
Example one
The method for processing an application provided in the first embodiment specifically refers to fig. 1, and specifically follows:
a01, when one or more application programs of an operating system background of the wireless handheld device in a running state meet preset conditions, acquiring the starting time and the running duration of the one or more application programs in the running state;
the method comprises the steps that a first obtaining module of the wireless handheld device obtains starting time and running time interval starting time and running duration of one or more application programs in a running state when the one or more application programs in the running state of an operating system background of the wireless handheld device meet preset conditions.
It should be noted that: the preset conditions include, but are not limited to: the number of the running application programs is larger than the preset number; or the proportion of the running application program occupying the memory of the wireless handheld device exceeds a preset proportion; alternatively, the traffic consumption of the running application exceeds a preset value. The preset number, the preset proportion and the preset value may be values set by the wireless handheld device when the wireless handheld device leaves a factory, or may be values set by a user according to needs, and the preset number, the preset proportion and the preset value are not limited herein.
When one or more application programs in a running state in an operating system background of the wireless handheld device meet a preset condition, a first acquisition module of the wireless handheld device acquires the starting time and the running duration of the one or more application programs in the running state; it should be noted that: in the wireless handheld devices of different operating systems, there may be a difference in the manner in which the wireless handheld device obtains the start time and the running duration of one or more applications in the running state in the operating system background. But are not to be construed as limiting the invention. For example, the wireless handheld device may obtain the starting time and the running duration of an application program in a running state in the background of the operating system from a task manager or a background application manager, where the starting time of the application program is the time when the application program is started; the running duration of an application is the length of time that the application continues to run from the start time.
A03, determining the use probability of the one or more application programs in the running state according to the counted use probability of all the application programs in the operating system in one or more preset time periods and the acquired starting time and running time interval starting time and running time length of the one or more application programs in the running state;
the wireless handheld device determines the use probability of the one or more application programs in the running state according to the use probability of all the application programs in the operating system in one or more preset time periods counted by a counting module and the starting time and the running time length of the one or more application programs in the running state acquired by the first acquiring module;
it should be noted that: the method comprises the steps that the wireless handheld device counts the use probability of all application programs in an operating system in one or more preset time periods during the running of the operating system, wherein the preset time periods can be a plurality of time periods divided from 24 hours of a day, for example, 6:01-9:00 is one time period, 9:01-12:00 is one time period, 12: 01-17:00 is one time period, and 17:01-20:00 is one time period; 20:01-23:00 is a time period; 23:01-6:00 is a time period. It is also possible to select only a few periods of time for statistics during the 24 hours of the day, for example: 7:00-8:30 is a time period, 11:30-13:00 is a time period; 17:00-19:30 is a time period; other time periods are not counted. The 24 hours of the day may also be divided equally into several periods, for example into 24 periods.
The preset time period may be a numerical value set by the wireless handheld device when the wireless handheld device leaves a factory, or may be a numerical value set by the user according to needs, and is not limited herein.
The usage probability of all the applications in one or more preset time periods may adopt the following method: for each preset time period, the use probability of an application program in the time period is the result obtained by dividing the accumulated use times of the application program in the time period by the number of days of existence of the application program at the beginning of loading the application program in an operating system; for example, an application program, the Sina microblog client, is successfully downloaded and installed in an operating system of the wireless handheld device in 11/1/2011, and the cumulative use times in the time period of 10:00-11:30 is 10 times by 11/20/2011, so that the use probability of the Sina microblog client in the time period of 10:00-11:30 is 50% by 11/30/11/2011. It can be seen that the usage probability of any application program in a certain preset time period is dynamically changed.
Further, it should be noted that: in a certain time period, one same application program is started and is closed after running for a certain time period, and the application program is counted to be used once; then starting and running for a period of time and then closing the application program, wherein the application program can be counted as used once, so that in a certain period of time, one same application program is closed after being started and run for a period of time each time, and the application program can be counted as used once; certainly, there is also a case that the application program continues to run after the time for starting and running exceeds the preset time period when the application program is started, for example, the green microblog client is started and run for a period of time within 10:00-11:30, specifically, within the period of 10:00 to 11:15, the green microblog client is turned off 5 times after being started and run for a period of time, and is turned off after being started for 3 hours again at 11:18, and is not started again before 15:30, assuming that the last preset time periods are: 11:31-13:30 is a time interval, 13:31-15:30 is a time interval, and then for the time interval 11:31-13:30, the number of times of use of the Xinlang microblog client is recorded as 1; for the time period of 13:31-15:30, the number of times of using the Xinlang microblog client is recorded as 1 time; for the time period of 10:00-11:30, the number of times of using the Xinlang microblog client is recorded as 6 times. Optionally, for the time period of 10:00 to 11:30, the number of times of using the Xinlang microblog client is recorded as 1 time; for the time period of 11:31-13:30, the number of times of using the Xinlang microblog client is recorded as 1 time; for the period of 13:31-15:30, the number of times of using the Xinlang microblog client is recorded as 1.
The wireless handheld device determines the usage probability of the one or more application programs in the running state according to the counted usage probability of all the application programs in the operating system in one or more preset time periods and the obtained starting time and running duration of the one or more application programs in the running state, and specifically includes the following conditions:
the method comprises the steps that application programs running in the background of an operating system of the wireless handheld device are assumed to be a QQ client and a Sina microblog client; at this time, the system time of the wireless handheld user equipment is 2011, 11 months and 6 days, 11: 30; the starting time and the running time of the QQ client side obtained by the wireless handheld device are respectively 9:30 and 2 hours; the starting time and the running time of the Sina microblog client acquired by the wireless handheld device are respectively 9:00 and 2 hours and 30 minutes; the preset time period is 6:01-8: 00; 8:01-11: 00; 11:01-13: 00; 13:01-15: 00; 15:01-17: 00; 17:01-20: 00; 20:01-23: 00; 23:01-6:00. At the moment, the use probability of the QQ client in the period of 11:01-13:00 is 55%; the using probability of the Xinlang microblog client in the period of 11:01-13:00 is 80%; the preset first threshold is 60%, and the preset second threshold is 90%.
For the QQ client, the time period just before is the preset time period 11:01-13:00, and the use probability of the QQ client in the time period 11:01-13:00 is 55% and is lower than the preset first threshold (60%).
For the Sina microblog client, the preset time period just at the time is the time period of 11:01-13:00, and the use probability of the Sina microblog client in the time period of 11:01-13:00 is 80% and is higher than a preset first threshold (60%).
And A05, closing the application programs with the use probability lower than the preset first threshold value in the one or more application programs in the running state.
And the closing module of the wireless handheld device closes the application programs with the use probability lower than a preset first threshold value in the one or more application programs in the running state.
It should be noted that: here, the wireless handheld device may directly execute the closing of the application program with the usage probability lower than the preset first threshold value in the one or more application programs in the running state; or a closing prompt may be output before closing the application program of which the usage probability is lower than a preset first threshold value among the one or more application programs in the running state, and when the confirmation information of closing is not received within a preset first time, the application program of which the usage probability is lower than the preset first threshold value among the one or more application programs in the running state is closed; or when receiving closing confirmation information within preset first time, closing all or part of the application programs with the use probability lower than a preset first threshold value in the one or more application programs in the running state according to the closing confirmation information.
In the first embodiment, the application programs with the usage probability lower than the preset first threshold value in the one or more application programs in the running state are directly closed. For example, in the assumed case in a03, at 11: 30/11/2011, the use probability of the QQ client is determined to be 55% and lower than the preset first threshold (60%), and the use probability of the newwave microblog client is determined to be 80% and higher than the preset first threshold (60%), so that the QQ client is turned off. The closing of the QQ client may be implemented by closing a process of the QQ client, or may be implemented in other known manners or manners to be implemented later, which is not described herein again.
It should be noted that: the wireless handheld device of the execution subject of steps a01 to a 05.
The method for processing the application program provided by the embodiment can automatically close some unnecessary application programs running in the background of the operating system of the wireless handheld device, thereby reducing the consumption of battery energy of the wireless handheld device, improving the running speed of the wireless handheld device, and avoiding the problems of dead halt and the like caused by excessive running programs.
Example two
In the second embodiment, another method for processing an application program is provided, as shown in fig. 2, the application scenario is the same as that of the first embodiment, and steps a01 and a05 are the same as those of the first embodiment, and are not repeated herein.
Optionally, after step a03, the method further includes:
a07, acquiring system time of the operating system according to a preset period, and determining whether an application program with the use probability exceeding a preset second threshold exists in one or more application programs in a non-running state in the operating system according to the counted use probability of all application programs in the operating system in one or more preset time periods and the system time; if yes, starting the application programs with the use probability exceeding a preset second threshold value in the one or more application programs in the non-running state.
The wireless handheld device acquires the system time of the operating system according to a preset period; the preset period may be a value set by the wireless handheld device when the wireless handheld device leaves a factory, or may be a value set by the user according to needs, and is not limited herein.
The step A07 is an optional step, and by adding the step, the wireless handheld device can be more intelligent, and can automatically start the corresponding application program at the corresponding time or time period according to the use habit of the user, so as to bring a brand new experience to the user.
Optionally, before step a05, the method further includes:
outputting a prompt for closing the application programs with the use probability lower than a preset first threshold value in the one or more application programs in the running state; at this time, the process of the present invention,
the closing of the application program with the usage probability lower than a preset first threshold value in the one or more application programs in the running state comprises:
when the closing confirmation information is not received within the preset first time, closing the application program of which the use probability is lower than a preset first threshold value in the one or more application programs in the running state;
or,
and when receiving closing confirmation information within preset first time, closing all or part of the application programs with the use probability lower than a preset first threshold value in the one or more application programs in the running state according to the closing confirmation information.
It should be noted that: outputting a prompt for closing an application program with a probability of use lower than a preset first threshold value in the one or more application programs in the running state, wherein the prompt comprises:
at least the name of at least one application program and the option of closing or not are displayed on the screen of the wireless handheld device, optionally, at least the name of the application program and the option of closing or not are displayed, and simultaneously, ring tone, vibration and the like can be output.
When the wireless handheld device does not receive closing confirmation information within preset first time, closing the application programs of which the use probability is lower than a preset first threshold value in the one or more application programs in the running state;
or,
and when the wireless handheld device receives closing confirmation information in a preset first time, closing all or part of the application programs with the use probability lower than a preset first threshold value in the one or more application programs in the running state according to the closing confirmation information.
Adding an optional output prompt step before step a05 may avoid closing applications that the user may not wish to close due to special circumstances.
Optionally, before step a07, the method further includes:
outputting a prompt for starting the application program with the usage probability exceeding a preset second threshold value in the one or more application programs in the non-running state;
the starting of the application program with the usage probability exceeding a preset second threshold value in the one or more application programs in the non-running state comprises the following steps:
when the starting confirmation information is not received within the preset second time, starting the application program with the use probability exceeding a preset second threshold value in one or more application programs in the non-running state;
or,
and when receiving the starting confirmation information within the preset second time, starting all or part of the application programs with the use probability exceeding a preset second threshold value in the one or more application programs in the non-running state according to the starting confirmation information.
It should be noted that: outputting a prompt for starting an application program with a usage probability exceeding a preset second threshold value in one or more application programs in a non-running state, wherein the prompt comprises the following steps:
at least the name of at least one application program and the option of starting or not are displayed on the screen of the wireless handheld device, optionally, at least the name of the application program and the option of starting or not are displayed, and simultaneously, ring tone, vibration and the like can be output.
Adding an optional output prompt step before step a07 may avoid launching applications that the user does not wish to launch due to special circumstances.
It should be noted that: step a07 may also be performed after step a01, or after step a03, or after step a 05. Further, steps a01 through a07, and other optional steps, are performed by the wireless handheld device of the subject.
The method for processing the application program provided by the second embodiment can automatically close some unnecessary application programs running in the background of the operating system of the wireless handheld device, thereby reducing the consumption of battery energy of the wireless handheld device, improving the running speed of the wireless handheld device, and avoiding the problems of dead halt and the like caused by excessive running programs.
EXAMPLE III
The third embodiment provides another method for processing an application program, and as shown in fig. 3, the application scenario is the same as that of the first embodiment, i.e., the second embodiment. Referring to fig. 3, the method for processing an application in this embodiment specifically includes the following steps:
b01, when the application program of the operating system background of the wireless handheld device in the running state meets the preset condition, determining whether the application program in the running state exists in the one or more application programs which do not belong to the system software type or the audio playing type;
it should be noted that: the preset conditions include, but are not limited to: the number of the running application programs is larger than the preset number; or the proportion of the running application program occupying the memory of the wireless handheld device exceeds a preset proportion; alternatively, the traffic consumption of the running application exceeds a preset value. The preset number, the preset proportion and the preset value may be values set by the wireless handheld device when the wireless handheld device leaves a factory, or may be values set by a user according to needs, and the preset number, the preset proportion and the preset value are not limited herein.
When the application program of the background of the operating system of the wireless handheld device in the running state meets a preset condition, determining whether the application program in the running state exists in one or more application programs which do not belong to the system software type or the audio playing type;
the system software type application is the application that must be started to maintain the system running properly. The audio playing type application is an application related to playing audio, for example, a music playing application, thousands of mutes; or fm broadcast applications, etc.
B03, when determining that the application program which is neither the system software type nor the audio playing type exists and the screen of the wireless handheld device is in the locking state, closing the application program which is neither the system software type nor the audio playing type in the one or more application programs in the running state;
when determining that the application program which does not belong to the system software type or the audio playing type exists in the application programs of the background of the operating system of the wireless handheld device in the running state, and further determining that the screen of the wireless handheld device is in the locking state, closing the application program which does not belong to the system software type or the audio playing type in the one or more application programs in the running state, for example, closing the QQ in the running state, reading software, a Xinlang microblog client and the like.
B05, when an application program which is not closed exists in the one or more application programs in the running state, acquiring the starting time and the running time of the application program which is not closed;
when an application program which is not closed exists in the one or more application programs in the running state, the wireless handheld device acquires the starting time and the running duration of the application program which is not closed; there are also, for example, system software and music playing applications, thousands of silent listening;
it should be noted that: in the wireless handheld devices of different operating systems, there may be a difference in the manner in which the wireless handheld device obtains the start time and the running duration of one or more applications in the running state in the operating system background. But are not to be construed as limiting the invention. For example, the wireless handheld device may obtain the starting time and the running duration of an application program in a running state in the background of the operating system from a task manager or a background application manager, where the starting time of the application program is the time when the application program is started; the running duration of an application is the length of time that the application continues to run from the start time.
B07, determining the use probability of the application program which is not closed according to the counted use probability of all the application programs in the operating system in each preset time period and the acquired starting time and running time of the application program which is not closed;
the wireless handheld device determines the use probability of the one or more application programs in the running state according to the use probability of all the application programs in the operating system in one or more preset time periods counted by a counting module and the starting time and the running time length of the one or more application programs in the running state acquired by the first acquiring module;
it should be noted that: the method comprises the steps that the wireless handheld device counts the use probability of all application programs in an operating system in one or more preset time periods during the running of the operating system, wherein the preset time periods can be a plurality of time periods divided from 24 hours of a day, for example, 6:01-9:00 is one time period, 9:01-12:00 is one time period, 12: 01-17:00 is one time period, and 17:01-20:00 is one time period; 20:01-23:00 is a time period; 23:01-6:00 is a time period. It is also possible to select only a few periods of time for statistics during the 24 hours of the day, for example: 7:00-8:30 is a time period, 11:30-13:00 is a time period; 17:00-19:30 is a time period; other time periods are not counted. The 24 hours of the day may also be divided equally into several periods, for example into 24 periods.
The preset time period may be a numerical value set by the wireless handheld device when the wireless handheld device leaves a factory, or may be a numerical value set by the user according to needs, and is not limited herein.
The usage probability of all the applications in one or more preset time periods may adopt the following method: for each preset time period, the use probability of an application program in the time period is the result obtained by dividing the accumulated use times of the application program in the time period by the number of days of existence of the application program at the beginning of loading the application program in an operating system; for example, a music playing application program is listened to for thousands of times, and is successfully downloaded and installed in an operating system of the wireless handheld device in 11/1/2011, and the cumulative number of times of use in the time period of 10:00-11:30 is 10 times by 11/20/2011, so that the probability of use of the Sina microblog client in the time period of 10:00-11:30 is 50% by 11/30 in 11/20/2011. It can be seen that the usage probability of any application program in a certain preset time period is dynamically changed.
Further, it should be noted that: in a certain time period, one same application program is started and is closed after running for a certain time period, and the application program is counted to be used once; then starting and running for a period of time and then closing the application program, wherein the application program can be counted as used once, so that in a certain period of time, one same application program is closed after being started and run for a period of time each time, and the application program can be counted as used once; there is also a case that the application program is continuously running after the time for starting and running exceeds the preset time period for starting, for example, thousands of times of silent listening occurs within a time period of 10:00-11:30, specifically, within a time period of 10:00 to 11:15, thousands of times of silent listening is turned off after starting and running for a period of time, and is turned off after 11:18 is started again and runs for 3 hours, and is not started again before 15:30, assuming that the last preset time periods are: 11:31-13:30 is a time period, 13:31-15:30 is a time period, then for the time period of 11:31-13:30, the number of thousands of times of silent listening is recorded as 1; for the period of 13:31-15:30, the number of thousands of times of silent listening is recorded as 1 time; for the period of 10:00-11:30, thousands of silent listens were used 6 times. Optionally, for the period of 10:00-11:30, the number of thousands of times of silent listening is recorded as 1 time; for the period of 11:31-13:30, the number of thousands of times of silent listening is recorded as 1 time; for the period of 13:31-15:30, the number of thousands of silent listens was counted as 1.
The wireless handheld device determines the usage probability of the one or more application programs in the running state according to the counted usage probability of all the application programs in the operating system in one or more preset time periods and the obtained starting time and running duration of the one or more application programs in the running state, and specifically includes the following conditions:
the method comprises the following steps that an application program running in a background of an operating system of the wireless handheld device is assumed to be a power management application program belonging to a system software type and thousands of mutes belonging to an audio playing type; at this time, the system time of the wireless handheld user equipment is 2011, 11 months and 6 days, 11: 30; the starting time and the running time of the power management application program acquired by the wireless handheld device are respectively 9:30 and 2 hours; the starting time and the running time of thousands of silent hearings acquired by the wireless handheld device are respectively 9:00 and 2 hours and 30 minutes; the preset time period is 6:01-8: 00; 8:01-11: 00; 11:01-13: 00; 13:01-15: 00; 15:01-17: 00; 17:01-20: 00; 20:01-23: 00; 23:01-6:00. At the moment, the use probability of the power management application program in the period of 11:01-13:00 is 100 percent; the use probability of thousands of silent hears in the time period of 11:01-13:00 is 50 percent; the preset first threshold is 60%, and the preset second threshold is 90%.
For the power management application program, the time period just before the power management application program is in the period of 11:01-13:00, the use probability of the power management application program in the period of 11:01-13:00 is 100%, and is higher than the preset first threshold value (60%).
For thousands of silent hears, the preset time interval just now is 11:01-13:00, and the usage probability of thousands of silent hears in 11:01-13:00 is 50% and is lower than the preset first threshold (60%).
And B09, closing the application programs of which the using probability is lower than a preset first threshold value.
And the closing module of the wireless handheld device closes the application programs with the use probability lower than a preset first threshold value in the one or more application programs in the running state.
It should be noted that: here, the wireless handheld device may directly execute the closing of the application program with the usage probability lower than the preset first threshold value in the one or more application programs in the running state; or a closing prompt may be output before closing the application program of which the usage probability is lower than a preset first threshold value among the one or more application programs in the running state, and when the confirmation information of closing is not received within a preset first time, the application program of which the usage probability is lower than the preset first threshold value among the one or more application programs in the running state is closed; or when receiving closing confirmation information within preset first time, closing all or part of the application programs with the use probability lower than a preset first threshold value in the one or more application programs in the running state according to the closing confirmation information.
In the third embodiment, the application programs with the usage probability lower than the preset first threshold value in the one or more application programs in the running state are directly closed. For example, in the assumed case in B07, at 11: 30/11/2011, the usage probability of the power management application is determined to be 100%, which is higher than the preset first threshold (60%), the usage probability of the thousand listen silent is determined to be 50%, which is lower than the preset first threshold (60%), and therefore, the thousand listen silent is turned off. The process of closing thousands of mutes may be implemented by closing thousands of mutes, or may be implemented in other known manners or in manners that will be implemented later, which is not described herein again.
It should be noted that: wireless handheld device of the execution subject of steps B01 to a 09.
The method for processing the application program provided by the third embodiment can automatically close some unnecessary application programs running in the background of the operating system of the wireless handheld device, thereby reducing the consumption of battery energy of the wireless handheld device, improving the running speed of the wireless handheld device, and avoiding the problems of dead halt and the like caused by excessive running programs. In addition, the method executes the closing twice, and can avoid unnecessary application programs from running in the background of the operating system without the handheld device to the maximum extent, thereby improving the standby time of the wireless handheld device and further avoiding the waste of user flow.
Example four
The fourth embodiment provides another method for processing an application program, as shown in fig. 4, the application scenario is the same as that of the first to third embodiments, and steps B01 and B09 are the same as those of the third embodiment, and are not repeated herein.
Optionally, after step B09, the method further includes:
b11, acquiring system time of the operating system according to a preset period, and determining whether an application program with the use probability exceeding a preset second threshold exists in one or more application programs in a non-running state in the operating system according to the counted use probability of all application programs in the operating system in one or more preset time periods and the system time; if yes, starting the application programs with the use probability exceeding a preset second threshold value in the one or more application programs in the non-running state.
The wireless handheld device acquires the system time of the operating system according to a preset period; the preset period may be a value set by the wireless handheld device when the wireless handheld device leaves a factory, or may be a value set by the user according to needs, and is not limited herein.
Step B11 is an optional step, and by adding the step, the wireless handheld device can be more intelligent, and can automatically start the corresponding application program at the corresponding time or time period according to the use habit of the user, so as to bring a brand new experience to the user.
Optionally, before step B09, the method further includes:
outputting a prompt for closing the application programs of which the use probability is lower than a preset first threshold value in the application programs which are not closed; at this time, the process of the present invention,
the closing of the application program of which the usage probability of the non-closed application program is lower than a preset first threshold value comprises the following steps:
when the closing confirmation information is not received within the preset first time, closing the application programs of which the use probability is lower than a preset first threshold value in the application programs which are not closed;
or,
and when receiving closing confirmation information within preset first time, closing all or part of the application programs of which the using probability is lower than a preset first threshold value in the non-closed application programs according to the closing confirmation information.
It should be noted that: outputting a prompt for closing the application program of which the usage probability of the non-closed application program is lower than a preset first threshold, wherein the prompt comprises the following steps:
at least the name of at least one application program and the option of closing or not are displayed on the screen of the wireless handheld device, optionally, at least the name of the application program and the option of closing or not are displayed, and simultaneously, ring tone, vibration and the like can be output.
When the wireless handheld device does not receive closing confirmation information within preset first time, closing the application programs of which the use probability is lower than a preset first threshold value in the application programs which are not closed;
or,
and when the wireless handheld device receives closing confirmation information in a preset first time, closing all or part of the application programs of which the use probability is lower than a preset first threshold value in the non-closed application programs according to the closing confirmation information.
Adding an optional output prompt step prior to step B09 may avoid closing applications that the user may not wish to close due to special circumstances.
Optionally, before step B11, the method further includes:
outputting a prompt for starting the application program with the usage probability exceeding a preset second threshold value in the one or more application programs in the non-running state;
the starting of the application program with the usage probability exceeding a preset second threshold value in the one or more application programs in the non-running state comprises the following steps:
when the starting confirmation information is not received within the preset second time, starting the application program with the use probability exceeding a preset second threshold value in one or more application programs in the non-running state;
or,
and when receiving the starting confirmation information within the preset second time, starting all or part of the application programs with the use probability exceeding a preset second threshold value in the one or more application programs in the non-running state according to the starting confirmation information.
It should be noted that: outputting a prompt for starting an application program with a usage probability exceeding a preset second threshold value in one or more application programs in a non-running state, wherein the prompt comprises the following steps:
at least the name of at least one application program and the option of starting or not are displayed on the screen of the wireless handheld device, optionally, at least the name of the application program and the option of starting or not are displayed, and simultaneously, ring tone, vibration and the like can be output.
Adding an optional output prompt step prior to step B11 may avoid launching applications that the user does not wish to launch due to special circumstances.
It should be noted that: step B11 may also be performed after step B01, or after B03, or after B05, or after step B07, or after B09. In addition, steps B01 to B11, and other optional steps, are performed by the wireless handheld device.
The method for processing the application program provided by the third embodiment can automatically close some unnecessary application programs running in the background of the operating system of the wireless handheld device, thereby reducing the consumption of battery energy of the wireless handheld device, improving the running speed of the wireless handheld device, and avoiding the problems of dead halt and the like caused by excessive running programs. In addition, the method executes the closing twice, and can avoid unnecessary application programs from running in the background of the operating system without the handheld device to the maximum extent, thereby improving the standby time of the wireless handheld device and further avoiding the waste of user flow.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
From the above description of the embodiments, it is clear to those skilled in the art that the present invention can be implemented by hardware, or by software plus a necessary general hardware platform, and based on such understanding, the technical solution of the present invention can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be CD-R0M, a usb disk, a removable hard disk, etc.), and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the method described in the embodiments of the present invention.
EXAMPLE five
Fig. 5 is a schematic diagram of a wireless handheld device according to an embodiment of the present invention, where the wireless handheld device may include: the first obtaining module C01, the statistics module C03, the first determination module C04, and the shutdown module C06 are coupled to one another by a bus, which may include one or more buses connected to one another through various bridges, controllers, and/or adapters as is known in the art. Wherein,
the first obtaining module C01 is configured to, when one or more applications in a running state in an operating system background of the wireless handheld device meet a preset condition, obtain a start time and a running duration of the one or more applications in the running state;
a statistic module C03, configured to count usage probabilities of all applications in the operating system in one or more preset time periods;
a first determining module C04, configured to determine the usage probability of the one or more applications in the running state according to the usage probabilities of all the applications in the operating system counted by the counting module C03 in one or more preset time periods and the start time and the running time of the one or more applications in the running state acquired by the first acquiring module C01;
a closing module C06, configured to close an application, of the one or more applications in the running state, whose usage probability is lower than a preset first threshold.
Optionally, the wireless handheld device further includes:
a second obtaining module C02, configured to obtain the system time of the operating system according to a preset period;
a second determining module C05, configured to determine whether there is an application program with a usage probability exceeding a preset second threshold in the one or more application programs in the non-running state in the operating system according to the usage probabilities of all application programs in the operating system counted by the counting module C03 for one or more preset time periods and the system time acquired by the second acquiring module C02;
a starting module C07, configured to start an application program with a usage probability exceeding a preset second threshold value among the one or more application programs in the non-running state when the second determining module C05 determines yes.
The second obtaining module C02, the second determining module C05 and the starting module C07 are added, so that the wireless handheld device is more intelligent, and can start corresponding application programs according to the use habits of the user, thereby bringing a brand-new feeling to the user.
Optionally, the wireless handheld device further includes:
a first prompting module C08, configured to output a prompt for closing an application of the one or more applications in the running state whose usage probability is lower than a preset first threshold before the closing module C06 closes an application of the one or more applications in the running state whose usage probability is lower than a preset first threshold;
a first receiving module C09, configured to receive a closing confirmation message;
optionally, the closing module C06 includes at least one of the following modules:
the first closing module is used for closing the application programs of which the use probability is lower than a preset first threshold value in the one or more application programs in the running state when the first receiving module does not receive closing confirmation information within preset first time;
and the second closing module is used for closing all or part of the application programs with the use probability lower than a preset first threshold value in the one or more application programs in the running state according to the closed confirmation information when the first receiving module receives the closed confirmation information in a preset first time.
Optionally, the wireless handheld device further includes:
a second prompt module C10, configured to output a prompt for starting an application program with a usage probability exceeding a preset second threshold among the one or more application programs in the non-running state before the start module C07 starts the application program with the usage probability exceeding the preset second threshold among the one or more application programs in the non-running state;
a second receiving module C11, configured to receive the start-up confirmation information;
the starting module C07 comprises at least one of the following modules:
the first starting module is used for starting the application program of which the use probability exceeds a preset second threshold value in one or more application programs in a non-running state when the second receiving module does not receive the starting confirmation information within preset second time;
and the second starting module is used for starting all or part of the application programs with the use probability exceeding a preset second threshold value in the one or more application programs in the non-running state according to the started confirmation information when the second receiving module receives the started confirmation information within preset second time.
It should be noted that: the method for processing the application program of the wireless handheld device provided in the sixth embodiment refers to the third embodiment and the fourth embodiment, and details are not described here.
The wireless handheld device provided by the fifth embodiment can automatically close some unnecessary application programs running in the background of the operating system of the wireless handheld device, thereby reducing the consumption of battery energy of the wireless handheld device, improving the running speed of the wireless handheld device, and avoiding the problems of crash and the like caused by excessive running programs.
EXAMPLE six
Fig. 6 is a schematic diagram of another wireless handheld device provided in an embodiment of the present invention, where the wireless handheld device may include: the first determining module D01, the second determining module D02, the first closing module D03, the first obtaining module D04, the statistics module D06, the third determining module D07, and the second closing module D09 are coupled to one another via a bus, which may include one or more buses connected to one another via various bridges, controllers, and/or adapters as is known in the art. Wherein,
the first determining module D01 is configured to, when one or more applications in a running state in an operating system background of the wireless handheld device satisfy a preset condition, determine whether an application that is neither a system software type nor an audio playing type exists in the one or more applications in the running state;
a second determining module D02 for determining whether the screen of the wireless handheld device is in a locked state;
a first closing module D03, configured to close an application program that is neither the system software type nor the audio playback type of the one or more application programs in the running state when the first determining module D01 determines that the application program that is neither the system software type nor the audio playback type exists and the second determining module D02 determines that the screen of the wireless handheld device is in the locked state;
a first obtaining module D04, configured to, when an application program that is not closed still exists in the one or more application programs in the running state, obtain a start time and a running duration of the application program that is not closed;
a statistic module D06, configured to count usage probabilities of all applications in the operating system for one or more preset time periods;
a third determining module D07, configured to determine the usage probability of the non-closed application according to the usage probabilities of all the applications in the operating system counted by the counting module D06 in one or more preset time periods and the starting time and the running time of the non-closed application acquired by the first acquiring module D04;
a second closing module D09, configured to close the application with the usage probability lower than the preset first threshold among the applications not closed.
Optionally, the wireless handheld device further includes:
a second obtaining module D05, configured to obtain the system time of the operating system according to a preset period;
a fourth determining module D08, configured to determine whether there is an application program with a usage probability exceeding a preset second threshold in the one or more application programs in the non-running state in the operating system according to the usage probabilities of all application programs in the operating system counted by the counting module D06 for one or more preset time periods and the system time acquired by the second acquiring module D05;
a starting module D10, configured to start the application program with the usage probability exceeding a preset second threshold value in the one or more application programs in the non-running state when the fourth determining module D08 determines as yes.
The second obtaining module D05, the fourth determining module D08 and the starting module D10 are added, so that the wireless handheld device is more intelligent, corresponding application programs can be started according to the use habits of users, and brand new feelings are brought to the users.
Optionally, the wireless handheld device further includes:
a first prompt module D11, configured to output a prompt to close the application with the probability of usage of the non-closed application being lower than the preset first threshold before the second closing module D09 closes the application with the probability of usage of the non-closed application being lower than the preset first threshold;
a first receiving module D12, configured to receive a closing confirmation message;
optionally, the second closing module D09 includes at least one of the following modules:
the first closing submodule is used for closing the application programs of which the use probability is lower than a preset first threshold value in the non-closed application programs when the first receiving module does not receive closing confirmation information within preset first time;
and the second closing submodule is used for closing all or part of the application programs of which the use probability is lower than a preset first threshold in the non-closed application programs according to the closed confirmation information when the first receiving module receives the closed confirmation information in a preset first time.
Optionally, the wireless handheld device further includes:
a second prompting module D13, configured to output a prompt for starting an application program with a usage probability exceeding a preset second threshold among the one or more application programs in the non-running state before the starting module D10 starts the application program with the usage probability exceeding the preset second threshold among the one or more application programs in the non-running state;
a second receiving module D14, configured to receive the start-up confirmation information;
optionally, the starting module D10 includes at least one of the following modules:
the first starting module is used for starting the application program of which the use probability exceeds a preset second threshold value in one or more application programs in a non-running state when the second receiving module does not receive the starting confirmation information within preset second time;
and the second starting module is used for starting all or part of the application programs with the use probability exceeding a preset second threshold value in the one or more application programs in the non-running state according to the started confirmation information when the second receiving module receives the started confirmation information within preset second time.
It should be noted that: the method for processing the application program of the wireless handheld device provided in the sixth embodiment refers to the third embodiment and the fourth embodiment, and details are not described here.
The wireless handheld device provided by the sixth embodiment can automatically close some unnecessary application programs running in the background of the operating system of the wireless handheld device, thereby reducing the consumption of battery energy of the wireless handheld device, improving the running speed of the wireless handheld device, and avoiding the problems of crash and the like caused by excessive running programs. In addition, the method executes the closing twice, and can avoid unnecessary application programs from running in the background of the operating system without the handheld device to the maximum extent, thereby improving the standby time of the wireless handheld device and further avoiding the waste of user flow.
Further, it should be noted that: the wireless handheld devices provided in the fifth and sixth embodiments are described with modules for clarity of illustration, and the functions performed by the modules may be provided through the use of shared or dedicated hardware, including but not limited to hardware capable of running software,
those skilled in the art will understand that: the drawings are merely schematic representations of preferred embodiments, and the blocks, entities or processes in the drawings are not necessarily required to practice the invention.
Those skilled in the art will understand that: modules or entities or components of the wireless handheld device in the embodiments can be distributed in the wireless handheld device in the embodiments according to the description of the embodiments, and can be correspondingly changed and located in one or more devices different from the embodiments. The modules or entities of the above embodiments may be combined into one module or entity, or may be further divided into a plurality of sub-modules or entities or components.
The above description is only for the preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present invention are included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (14)

1. A method of processing an application, comprising:
when one or more application programs in a running state in an operating system background of the wireless handheld device meet a preset condition, acquiring the starting time and the running duration of the one or more application programs in the running state;
determining the use probabilities of the one or more application programs in the running state according to the counted use probabilities of all the application programs in the operating system in one or more preset time periods and the obtained starting time and running duration of the one or more application programs in the running state;
closing the application programs with the use probability lower than a preset first threshold value in the one or more application programs in the running state;
acquiring system time of the operating system according to a preset period, and determining whether an application program with the use probability exceeding a preset second threshold exists in one or more application programs in a non-running state in the operating system according to the counted use probabilities of all application programs in the operating system in one or more preset time periods and the system time; if yes, starting the application programs with the use probability exceeding a preset second threshold value in the one or more application programs in the non-running state.
2. The method of claim 1, wherein before the closing the application with the usage probability lower than the preset first threshold value among the one or more applications in the running state, further comprising:
outputting a prompt for closing the application programs with the use probability lower than a preset first threshold value in the one or more application programs in the running state;
the closing of the application program with the usage probability lower than the preset first threshold value in the one or more application programs in the running state comprises:
when the closing confirmation information is not received within the preset first time, closing the application program of which the use probability is lower than a preset first threshold value in the one or more application programs in the running state;
or,
and when receiving closing confirmation information within preset first time, closing all or part of the application programs with the use probability lower than a preset first threshold value in the one or more application programs in the running state according to the closing confirmation information.
3. The method according to claim 1 or 2, wherein before the starting of the application program with the usage probability exceeding the preset second threshold value, the method further comprises:
outputting a prompt for starting the application program with the usage probability exceeding a preset second threshold value in the one or more application programs in the non-running state;
the starting of the application program with the usage probability exceeding a preset second threshold value in the one or more application programs in the non-running state comprises the following steps:
when the starting confirmation information is not received within the preset second time, starting the application program with the use probability exceeding a preset second threshold value in one or more application programs in the non-running state;
or,
and when receiving the starting confirmation information within the preset second time, starting all or part of the application programs with the use probability exceeding a preset second threshold value in the one or more application programs in the non-running state according to the starting confirmation information.
4. The method of claim 1 or 2, wherein the preset conditions include: the number of the running application programs is larger than the preset number; or the proportion of the running application program occupying the memory of the wireless handheld device exceeds a preset proportion; alternatively, the traffic consumption of the running application exceeds a preset value.
5. A method of processing an application, comprising: it is characterized in that the preparation method is characterized in that,
when the application program of the background of the operating system of the wireless handheld device in the running state meets a preset condition, determining whether the application program in the running state exists in one or more application programs which do not belong to a system software type or an audio playing type;
when determining that the application programs which do not belong to the system software type or the audio playing type exist and the screen of the wireless handheld device is in the locked state, closing the application programs which do not belong to the system software type or the audio playing type in the one or more application programs in the running state;
when an application program which is not closed still exists in the one or more application programs in the running state, acquiring the starting time and the running duration of the application program which is not closed;
determining the use probability of the application program which is not closed according to the counted use probability of all the application programs in the operating system in each preset time period and the acquired starting time and the operating time length of the application program which is not closed;
closing the application programs of which the using probability is lower than a preset first threshold value in the application programs which are not closed;
acquiring system time of the operating system according to a preset period, and determining whether an application program with the use probability exceeding a preset second threshold exists in one or more application programs in a non-running state in the operating system according to the counted use probabilities of all application programs in the operating system in one or more preset time periods and the system time; if yes, starting the application programs with the use probability exceeding a preset second threshold value in the one or more application programs in the non-running state.
6. The method of claim 5, wherein the method further comprises:
before the closing of the application program of which the usage probability of the non-closed application program is lower than the preset first threshold, the method further includes:
outputting a prompt for closing the application programs of which the use probability is lower than a preset first threshold value in the application programs which are not closed;
the closing of the application program of which the usage probability of the non-closed application program is lower than a preset first threshold value comprises the following steps:
when the closing confirmation information is not received within the preset first time, closing the application programs of which the use probability is lower than a preset first threshold value in the application programs which are not closed;
or,
and when receiving closing confirmation information within preset first time, closing all or part of the application programs of which the using probability is lower than a preset first threshold value in the non-closed application programs according to the closing confirmation information.
7. The method according to claim 5 or 6, wherein before the starting of the application program with the usage probability exceeding the preset second threshold value, the method further comprises:
outputting a prompt for starting the application program with the usage probability exceeding a preset second threshold value in the one or more application programs in the non-running state;
the starting of the application program with the usage probability exceeding a preset second threshold value in the one or more application programs in the non-running state comprises the following steps:
when the starting confirmation information is not received within the preset second time, starting the application program with the use probability exceeding a preset second threshold value in one or more application programs in the non-running state;
or,
and when receiving the starting confirmation information within the preset second time, starting all or part of the application programs with the use probability exceeding a preset second threshold value in the one or more application programs in the non-running state according to the starting confirmation information.
8. The method of claim 5 or 6, wherein the preset conditions include: the number of the running application programs is larger than the preset number; or the proportion of the running application program occupying the memory of the wireless handheld device exceeds a preset proportion; alternatively, the traffic consumption of the running application exceeds a preset value.
9. A wireless handheld device, comprising:
the wireless handheld device comprises a first acquisition module, a second acquisition module and a first display module, wherein the first acquisition module is used for acquiring the starting time and the running duration of one or more application programs in a running state when one or more application programs in the running state of an operating system background of the wireless handheld device meet preset conditions;
the statistical module is used for counting the use probability of all application programs in the operating system in one or more preset time periods;
a first determining module, configured to determine, according to the usage probabilities of all the application programs in the operating system counted by the counting module in one or more preset time periods and the start time and the operation duration of the one or more application programs in the operation state, which are acquired by the first acquiring module, the usage probability of the one or more application programs in the operation state is determined;
the closing module is used for closing the application programs of which the use probability is lower than a preset first threshold value in the one or more application programs in the running state;
the second acquisition module is used for acquiring the system time of the operating system according to a preset period;
a second determining module, configured to determine, according to the usage probabilities of all the application programs in the operating system counted by the counting module in one or more preset time periods and the system time acquired by the second acquiring module, whether an application program with a usage probability exceeding a preset second threshold exists in one or more application programs in a non-running state in the operating system;
and the starting module is used for starting the application programs of which the use probability exceeds a preset second threshold value in the one or more application programs in the non-running state when the second determination module determines that the application programs are in the non-running state.
10. The wireless handheld device of claim 9 further comprising:
a first prompting module, configured to output a prompt for closing an application, of the one or more applications in the running state, of which the usage probability is lower than a preset first threshold before the closing module closes the application, of the one or more applications in the running state, of which the usage probability is lower than the preset first threshold;
the first receiving module is used for receiving closing confirmation information;
the shutdown module comprises at least one of:
the first closing module is used for closing the application programs of which the use probability is lower than a preset first threshold value in the one or more application programs in the running state when the first receiving module does not receive closing confirmation information within preset first time;
and the second closing module is used for closing all or part of the application programs with the use probability lower than a preset first threshold value in the one or more application programs in the running state according to the closed confirmation information when the first receiving module receives the closed confirmation information in a preset first time.
11. The wireless handheld device of claim 9 or 10, further comprising:
the second prompting module is used for outputting a prompt for starting the application program of which the use probability exceeds a preset second threshold value in the one or more application programs in the non-running state before the starting module starts the application program of which the use probability exceeds the preset second threshold value in the one or more application programs in the non-running state;
the second receiving module is used for receiving the starting confirmation information;
the starting module comprises at least one of the following modules:
the first starting module is used for starting the application program of which the use probability exceeds a preset second threshold value in one or more application programs in a non-running state when the second receiving module does not receive the starting confirmation information within preset second time;
and the second starting module is used for starting all or part of the application programs with the use probability exceeding a preset second threshold value in the one or more application programs in the non-running state according to the started confirmation information when the second receiving module receives the started confirmation information within preset second time.
12. A wireless handheld device, comprising:
the wireless handheld device comprises a first determining module, a second determining module and a processing module, wherein the first determining module is used for determining whether one or more application programs in a running state in an operating system background of the wireless handheld device meet a preset condition, and the one or more application programs in the running state are the application programs which do not belong to a system software type or an audio playing type;
a second determining module for determining whether the screen of the wireless handheld device is in a locked state;
the first closing module is used for closing the application program which is neither in the system software type nor in the audio playing type in the one or more application programs in the running state when the first determining module determines that the application program which is neither in the system software type nor in the audio playing type exists and the second determining module determines that the screen of the wireless handheld device is in the locking state;
the first obtaining module is used for obtaining the starting time and the running duration of the unclosed application program when the unclosed application program still exists in the one or more application programs in the running state;
the statistical module is used for counting the use probability of all application programs in the operating system in one or more preset time periods;
a third determining module, configured to determine, according to the usage probabilities of all the application programs in the operating system counted by the counting module in one or more preset time periods and the start time and the running time of the application program that is not closed and acquired by the first acquiring module, the usage probability of the application program that is not closed;
the second closing module is used for closing the application programs of which the using probability is lower than a preset first threshold value in the application programs which are not closed;
the second acquisition module is used for acquiring the system time of the operating system according to a preset period;
a fourth determining module, configured to determine, according to the usage probabilities of all the application programs in the operating system counted by the counting module in one or more preset time periods and the system time acquired by the second acquiring module, whether an application program with a usage probability exceeding a preset second threshold exists in one or more application programs in a non-running state in the operating system;
and the starting module is used for starting the application programs of which the use probability exceeds a preset second threshold value in the one or more application programs in the non-running state when the fourth determination module determines that the application programs are in the non-running state.
13. The wireless handheld device of claim 12 further comprising:
a first prompting module, configured to output a prompt for closing the application with the usage probability lower than a preset first threshold before the second closing module closes the application with the usage probability lower than the preset first threshold;
the first receiving module is used for receiving closing confirmation information;
the second shutdown module includes at least one of:
the first closing submodule is used for closing the application programs of which the use probability is lower than a preset first threshold value in the non-closed application programs when the first receiving module does not receive closing confirmation information within preset first time;
and the second closing submodule is used for closing all or part of the application programs of which the use probability is lower than a preset first threshold in the non-closed application programs according to the closed confirmation information when the first receiving module receives the closed confirmation information in a preset first time.
14. The wireless handheld device of claim 12 or 13, further comprising:
the second prompting module is used for outputting a prompt for starting the application program of which the use probability exceeds a preset second threshold value in the one or more application programs in the non-running state before the starting module starts the application program of which the use probability exceeds the preset second threshold value in the one or more application programs in the non-running state;
the second receiving module is used for receiving the starting confirmation information;
the starting module comprises at least one of the following modules:
the first starting module is used for starting the application program of which the use probability exceeds a preset second threshold value in one or more application programs in a non-running state when the second receiving module does not receive the starting confirmation information within preset second time;
and the second starting module is used for starting all or part of the application programs with the use probability exceeding a preset second threshold value in the one or more application programs in the non-running state according to the started confirmation information when the second receiving module receives the started confirmation information within preset second time.
CN201110418319.2A 2011-12-14 2011-12-14 Method for processing application program and wireless handheld device Active CN102521041B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201110418319.2A CN102521041B (en) 2011-12-14 2011-12-14 Method for processing application program and wireless handheld device
PCT/CN2012/086288 WO2013086960A1 (en) 2011-12-14 2012-12-10 Method for processing application program and wireless handheld device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110418319.2A CN102521041B (en) 2011-12-14 2011-12-14 Method for processing application program and wireless handheld device

Publications (2)

Publication Number Publication Date
CN102521041A CN102521041A (en) 2012-06-27
CN102521041B true CN102521041B (en) 2014-10-08

Family

ID=46291976

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110418319.2A Active CN102521041B (en) 2011-12-14 2011-12-14 Method for processing application program and wireless handheld device

Country Status (2)

Country Link
CN (1) CN102521041B (en)
WO (1) WO2013086960A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107133094A (en) * 2017-06-05 2017-09-05 努比亚技术有限公司 Application management method, mobile terminal and computer-readable recording medium

Families Citing this family (56)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102521041B (en) * 2011-12-14 2014-10-08 华为终端有限公司 Method for processing application program and wireless handheld device
CN102761667B (en) * 2012-06-29 2017-04-12 惠州Tcl移动通信有限公司 Intelligent cell phone and process management method thereof
CN102833166B (en) * 2012-08-28 2017-02-08 广东欧珀移动通信有限公司 Method and device for data flow distribution and mobile communication terminal
CN102981825B (en) * 2012-10-31 2015-10-28 广东欧珀移动通信有限公司 A kind of management method of mobile terminal back-end data and system
CN102946486A (en) * 2012-11-20 2013-02-27 惠州Tcl移动通信有限公司 Background application automatic clearing method based on mobile phone and mobile phone
CN102981878A (en) * 2012-11-28 2013-03-20 广东欧珀移动通信有限公司 Method for automatically closing background programs and mobile terminal of automatically closing background programs
CN103037108A (en) * 2012-12-10 2013-04-10 乐蛙科技(上海)有限公司 Power saving method for smart mobile terminal
CN103034516B (en) * 2012-12-13 2016-08-17 东莞宇龙通信科技有限公司 Terminal and application program deployment method
CN103034319B (en) * 2012-12-14 2015-11-25 华为终端有限公司 A kind of the method for display and control, control device and terminal are carried out to terminal
CN103049319A (en) * 2012-12-18 2013-04-17 广东欧珀移动通信有限公司 Method for managing background application program in divided period and terminal thereof
CN103902266A (en) * 2012-12-26 2014-07-02 中兴通讯股份有限公司 Method and device for cleaning application running in background
CN103902357A (en) * 2012-12-27 2014-07-02 富泰华工业(深圳)有限公司 Application program management system and method
JP6016670B2 (en) * 2013-02-26 2016-10-26 シャープ株式会社 Mobile terminal device
CN104281510A (en) * 2013-07-05 2015-01-14 贝壳网际(北京)安全技术有限公司 Method and system for obtaining power consumption degree of application program and energy-saving method and system
CN104375896B (en) * 2013-08-16 2019-09-06 联想(北京)有限公司 A kind of information processing method and electronic equipment
CN103577306A (en) * 2013-11-04 2014-02-12 浪潮(北京)电子信息产业有限公司 Active-detecting high-availability software operating method in cloud platform
CN103561175B (en) * 2013-11-05 2015-04-01 广东欧珀移动通信有限公司 Method using mobile terminal to carry out voice awakening and device thereof
CN103677920B (en) * 2013-12-11 2017-01-25 清华大学 Critical application program identifying and starting accelerating method and system
CN105337783B (en) * 2014-07-14 2018-09-04 北京奇虎科技有限公司 Monitor the method and device of communication equipment non-normal consumption flow
CN105373419A (en) * 2014-08-26 2016-03-02 阿里巴巴集团控股有限公司 Background application operation method and system
CN104268009B (en) * 2014-09-24 2018-07-06 联想(北京)有限公司 A kind of progress control method, device and electronic equipment
CN104598315A (en) * 2014-12-12 2015-05-06 广州三星通信技术研究有限公司 Memory managing method, device and terminal
CN105786550B (en) * 2014-12-26 2020-07-24 联想(北京)有限公司 Memory application processing method and device
CN104580710B (en) * 2014-12-30 2018-01-09 中国农业科学院农业资源与农业区划研究所 A kind of automatic power save method based on learning user operation custom
CN105808225A (en) * 2014-12-31 2016-07-27 中兴通讯股份有限公司 Application program management method and device as well as terminal
CN104750523A (en) * 2015-03-16 2015-07-01 联想(北京)有限公司 Information processing method and electronic equipment
CN104793979B (en) * 2015-05-18 2017-11-17 广东欧珀移动通信有限公司 Start the method, device and mobile terminal of application program
CN104899090B (en) * 2015-05-27 2018-12-21 努比亚技术有限公司 The method, device and mobile terminal of fast dispatch application process
CN105094282A (en) * 2015-07-22 2015-11-25 深圳市金立通信设备有限公司 Management method for application programs and terminal
CN105892613A (en) * 2015-12-04 2016-08-24 乐视移动智能信息技术(北京)有限公司 Method and apparatus for clearing background applications
CN106896890A (en) * 2015-12-21 2017-06-27 北京奇虎科技有限公司 Electric quantity for electronic equipment management method and device
CN105718027B (en) * 2016-01-20 2019-05-31 努比亚技术有限公司 The management method and mobile terminal of background application
CN106125884B (en) * 2016-06-16 2019-05-17 维沃移动通信有限公司 A kind of processing method and mobile terminal of the background task of mobile terminal
CN106201686A (en) * 2016-06-30 2016-12-07 北京小米移动软件有限公司 Management method, device and the terminal of application
CN106155699B (en) * 2016-07-29 2019-11-29 维沃移动通信有限公司 A kind of management method and mobile terminal of background process
CN106210126A (en) * 2016-08-09 2016-12-07 衣佳鑫 The management method of new opplication program and system in air-conditioning
WO2018032180A1 (en) * 2016-08-14 2018-02-22 阮元 Method and system for stopping visual information push according to market feedback
CN106534482B (en) * 2016-09-30 2020-01-03 维沃移动通信有限公司 Method and device for managing application programs of mobile terminal
CN106484515B (en) * 2016-10-10 2020-01-14 Oppo广东移动通信有限公司 Management method and device for idle application and intelligent terminal
CN106527655B (en) * 2016-10-14 2019-11-12 珠海市魅族科技有限公司 Electronic equipment electricity saving method and system
CN107729144B (en) * 2017-09-30 2020-01-14 Oppo广东移动通信有限公司 Application control method and device, storage medium and electronic equipment
CN107728772B (en) * 2017-09-30 2020-05-12 Oppo广东移动通信有限公司 Application processing method and device, storage medium and electronic equipment
CN107678858B (en) * 2017-09-30 2019-08-23 Oppo广东移动通信有限公司 Application processing method, device, storage medium and electronic equipment
CN107632697B (en) * 2017-09-30 2019-10-25 Oppo广东移动通信有限公司 Processing method, device, storage medium and the electronic equipment of application program
CN107704364B (en) * 2017-09-30 2019-08-06 Oppo广东移动通信有限公司 Background application management-control method, device, storage medium and electronic equipment
CN108228325B (en) * 2017-10-31 2020-12-29 深圳市商汤科技有限公司 Application management method and device, electronic equipment and computer storage medium
CN107766892B (en) * 2017-10-31 2020-04-10 Oppo广东移动通信有限公司 Application program control method and device, storage medium and terminal equipment
CN107729544B (en) * 2017-11-01 2021-06-22 阿里巴巴(中国)有限公司 Method and device for recommending applications
CN107943583B (en) * 2017-11-14 2022-02-22 Oppo广东移动通信有限公司 Application processing method and device, storage medium and electronic equipment
CN107908273B (en) * 2017-11-14 2020-07-07 Oppo广东移动通信有限公司 Application management method and device, storage medium and electronic equipment
CN107943534B (en) * 2017-11-14 2021-02-02 Oppo广东移动通信有限公司 Background application program closing method and device, storage medium and electronic equipment
CN107809542B (en) * 2017-11-14 2020-06-12 Oppo广东移动通信有限公司 Application program control method and device, storage medium and electronic equipment
CN107943581B (en) * 2017-11-14 2020-01-14 Oppo广东移动通信有限公司 Application cleaning method and device, storage medium and electronic equipment
CN108600840B (en) * 2018-03-29 2020-07-10 深圳市九洲电器有限公司 Set top box power consumption control method and system
CN109189737B (en) * 2018-08-18 2021-11-26 北京合思信息技术有限公司 Method and system for prefetching files in mobile internet according to time segments
CN114143942B (en) * 2020-10-12 2022-12-09 超级智慧家(上海)物联网科技有限公司 Infrared linkage illumination control method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6910210B1 (en) * 1998-11-24 2005-06-21 Microsoft Corp. System and method for terminating applications
CN101917516A (en) * 2010-08-16 2010-12-15 宇龙计算机通信科技(深圳)有限公司 Power-saving processing method and system for mobile terminal, and mobile terminal
CN102253863A (en) * 2011-06-15 2011-11-23 奇智软件(北京)有限公司 Method for closing processes

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8510743B2 (en) * 2007-10-31 2013-08-13 Google Inc. Terminating computer applications
CN102063261A (en) * 2011-01-19 2011-05-18 宇龙计算机通信科技(深圳)有限公司 Starting method of application program and mobile terminal
CN102521041B (en) * 2011-12-14 2014-10-08 华为终端有限公司 Method for processing application program and wireless handheld device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6910210B1 (en) * 1998-11-24 2005-06-21 Microsoft Corp. System and method for terminating applications
CN101917516A (en) * 2010-08-16 2010-12-15 宇龙计算机通信科技(深圳)有限公司 Power-saving processing method and system for mobile terminal, and mobile terminal
CN102253863A (en) * 2011-06-15 2011-11-23 奇智软件(北京)有限公司 Method for closing processes

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107133094A (en) * 2017-06-05 2017-09-05 努比亚技术有限公司 Application management method, mobile terminal and computer-readable recording medium
CN107133094B (en) * 2017-06-05 2021-11-02 努比亚技术有限公司 Application management method, mobile terminal and computer readable storage medium

Also Published As

Publication number Publication date
CN102521041A (en) 2012-06-27
WO2013086960A1 (en) 2013-06-20

Similar Documents

Publication Publication Date Title
CN102521041B (en) Method for processing application program and wireless handheld device
CN106774786B (en) Power consumption control method and device
CN105159816B (en) A kind of method, mobile terminal and system reducing equipment power dissipation
EP2977854B1 (en) Method, apparatus, and user terminal for removing malicious power consuming application
CN106256116B (en) A kind of method and terminal controlling application program
US9026826B2 (en) System for reducing energy consumption of a device and a method therefor
CN104298336B (en) Mobile terminal and control method and device of application program of mobile terminal
CN106547615B (en) Management method and management module for background application
CN107943269B (en) Scheduling job control method, device, terminal equipment and storage medium
CN101727278A (en) Method and terminal for arranging menu
CN109656349A (en) Electricity saving method, terminal and the computer readable storage medium of terminal
CN107968881A (en) End-point device broadcast processing method and processing device, terminal device and storage medium
CN101400169A (en) Mobile terminal, method for mobile resource management
CN107734033A (en) A kind of method, terminal, system and computer-readable recording medium exempted from flow and download application program
CN104322006A (en) Wireless wake-up device for cellular module
CN105224421A (en) Data backup method and device and electronic equipment
WO2018014424A1 (en) Method for setting authority for information pushing, and mobile terminal
CN111132132A (en) Traffic management method and device and terminal equipment
CN108848553B (en) Charging management method, device and system
CN106878957B (en) Broadcast queue's generation method, device and terminal device
CN108280763A (en) Stock market data processing method and relevant device
CN109068355B (en) Method for saving data traffic, telephone watch, server and mobile terminal
CN103561314A (en) Method and terminal for updating program information
CN106936826A (en) The register method of radio receiver, device and terminal device
CN101656793A (en) Method and device for updating subject of mobile 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
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20171107

Address after: Metro Songshan Lake high tech Industrial Development Zone, Guangdong Province, Dongguan City Road 523808 No. 2 South Factory (1) project B2 -5 production workshop

Patentee after: HUAWEI terminal (Dongguan) Co., Ltd.

Address before: 518129 Longgang District, Guangdong, Bantian HUAWEI base B District, building 2, building No.

Patentee before: Huawei Device Co., Ltd.

CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 523808 Southern Factory Building (Phase I) Project B2 Production Plant-5, New Town Avenue, Songshan Lake High-tech Industrial Development Zone, Dongguan City, Guangdong Province

Patentee after: Huawei Device Co., Ltd.

Address before: 523808 Southern Factory Building (Phase I) Project B2 Production Plant-5, New Town Avenue, Songshan Lake High-tech Industrial Development Zone, Dongguan City, Guangdong Province

Patentee before: HUAWEI terminal (Dongguan) Co., Ltd.