[go: up one dir, main page]

CN105446803A - Application management method and apparatus - Google Patents

Application management method and apparatus Download PDF

Info

Publication number
CN105446803A
CN105446803A CN201410407454.0A CN201410407454A CN105446803A CN 105446803 A CN105446803 A CN 105446803A CN 201410407454 A CN201410407454 A CN 201410407454A CN 105446803 A CN105446803 A CN 105446803A
Authority
CN
China
Prior art keywords
application program
information
described application
user
service end
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201410407454.0A
Other languages
Chinese (zh)
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.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201410407454.0A priority Critical patent/CN105446803A/en
Publication of CN105446803A publication Critical patent/CN105446803A/en
Priority to HK16109970.7A priority patent/HK1222230A1/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

The present application provides an application management method and apparatus. The method comprises: monitoring a background running application; determining whether the application meets a preset closed condition; and if the application meets the preset closed condition, closing the application. According to the technical scheme, the occupancy rate of a terminal device CPU and a memory can be effectively reduced, and system resources can be released.

Description

A kind of application management method and device
Technical field
The application relates to field of terminal technology, particularly relates to a kind of application management method and device.
Background technology
The appearance of intelligent terminal greatly facilitates the life of people, and people can use various application program (APP, Application) the coming that intelligent terminal loads to realize the functions such as amusement, shopping, communication.Intelligent terminal can run multiple application program usually simultaneously.Such as: user uses certain instant communication software and good friend's chat of intelligent terminal front stage operation, meanwhile, other instant communication softwares and social application software are also run in the backstage of this intelligent terminal, when certain social application software of running background receives the message of service end transmission, can in time by this message notifying to user, promote the experience of user with this.
But multiple application program is run on backstage simultaneously, the occupancy of intelligent terminal CPU and internal memory can be caused too high, excessive power consumption will directly affect the performance of intelligent terminal.Therefore, a kind of scheme managing intelligent terminal application program urgently provides.
Summary of the invention
In view of this, the application provides a kind of application control method and device.
Particularly, the application is achieved by the following technical solution:
A kind of application management method, described method comprises:
Monitor the application program of running background;
Judge whether described application program meets the closedown condition preset;
If described application program meets described default closedown condition, then close described application program.
Further, describedly judge that whether described application program meets the closedown condition preset and comprise:
Judge whether described application program does not receive the information of service end transmission within the time of presetting.
Further, described method also comprises:
After the described application program of closedown, the service end according to the authentication information of user in described application program and described application program connects;
Based on described connection, receive the information that service end sends to described application program.
Further, described method also comprises:
Generate user's prompting according to described information, select whether check described information for user.
Further, described method also comprises:
After the information inspection instruction receiving user, disconnect described connection and call described application program, described information is given to described application program.
A kind of application program management device, described device comprises:
Monitoring unit, monitors the application program of running background;
Judging unit, judges whether described application program meets the closedown condition preset;
Closing unit, when described application program meets described default closedown condition, closes described application program.
Further, described judging unit, specifically judges whether described application program does not receive the information of service end transmission within the time of presetting.
Further, described device also comprises:
Set up unit, after the described application program of closedown, the service end according to the authentication information of user in described application program and described application program connects;
Receiving element, based on described connection, receives the information that service end sends to described application program.
Further, described device also comprises:
Generation unit, generates user's prompting according to described information, chooses whether check described information for user.
Further, described device also comprises:
Call unit, after the information inspection instruction receiving user, disconnects described connection and calls described application program, described information is given to described application program.
Described as can be seen from above, the application program of the application's monitor terminal running background, when described application program does not receive the information of service end transmission within the time of presetting, by closing described application program, to reduce the occupancy of terminal CPU and internal memory, free system resources.Meanwhile, after the described application program of closedown, the application acts on behalf of described application program and service end connects, when service end sends information, can receive in time and be prompted to user, not reduce the experience of user.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet of application management method in the application one embodiment.
Fig. 2 is the schematic flow sheet of application management method in another embodiment of the application.
Fig. 3 is the schematic diagram generating user's prompting in the application one embodiment.
Fig. 4 is the schematic diagram generating user's prompting in another embodiment of the application.
Fig. 5 is the schematic diagram of terminal structure in the application one embodiment.
Fig. 6 is the structural representation of application program management device in the application one embodiment.
Embodiment
Here will be described exemplary embodiment in detail, its sample table shows in the accompanying drawings.When description below relates to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawing represents same or analogous key element.Embodiment described in following exemplary embodiment does not represent all embodiments consistent with the application.On the contrary, they only with as in appended claims describe in detail, the example of apparatus and method that some aspects of the application are consistent.
Only for describing the object of specific embodiment at term used in this application, and not intended to be limiting the application." one ", " described " and " being somebody's turn to do " of the singulative used in the application and appended claims is also intended to comprise most form, unless context clearly represents other implications.It is also understood that term "and/or" used herein refer to and comprise one or more project of listing be associated any or all may combine.
Term first, second, third, etc. may be adopted although should be appreciated that to describe various information in the application, these information should not be limited to these terms.These terms are only used for the information of same type to be distinguished from each other out.Such as, when not departing from the application's scope, the first information also can be called as the second information, and similarly, the second information also can be called as the first information.Depend on linguistic context, word as used in this " if " can be construed as into " ... time " or " when ... time " or " in response to determining ".
For the problems referred to above, the application provides a kind of application program management scheme.
Please refer to Fig. 1, the application provides a kind of application management method, is applied in terminal, said method comprising the steps of:
Step 101, monitors the application program of running background.
Step 102, judges whether described application program meets the closedown condition preset.
Step 103, if described application program meets described default closedown condition, then closes described application program.
Described as can be seen from above, the application pre-sets the closedown condition of application program, then by the application program of monitor terminal running background, when application program meets described closedown condition, close described application program, thus reduce the occupancy of terminal CPU and internal memory in time, free system resources.
The specific implementation of the application is described in detail below in conjunction with embodiment.
Please refer to Fig. 2, the schematic flow sheet of application management method in a kind of embodiment of the application, described method is applied in terminal, described terminal includes but not limited to: smart mobile phone, PDA (PersonalDigitalAssistant, palm PC) etc. the equipment of various application program can be installed, described application management method can comprise the following steps:
Step 201, monitors the application program of running background.
Terminal can run multiple application program usually simultaneously, wherein, represent the application program that the application program run on a display screen is terminal front stage operation, do not represent the application program that the application program run on a display screen is terminal running background.For android system, the application program of front stage operation can be switched to running background by choosing homepage button by user.
The application program of running background still maintains the connection of itself and service end, and can receive the information that service end sends, such as: chat messages, pushed information etc.When the application program of running background receives the information of service end transmission, user can be prompted in time.
In this step, each application program of monitor terminal running background can be carried out by default hook program or SDK (SoftwareDevelopmentKit, SDK (Software Development Kit)).
Step 202, judges whether described application program meets the closedown condition preset, if so, then performs step 203, if not, then continues to perform step 202.
Described default closedown condition can be arranged by developer, such as: can be the time that described application program is switched to backstage by described closedown condition setting, such as: 3 minutes, namely judge whether the time that described application program is switched to backstage arrives 3 minutes in this step.The application does not do particular restriction to this.
In a kind of preferred embodiment of the application, can be in default time, do not receive the information that service end sends by described closedown condition setting.Namely judge whether described application program does not receive the information of service end transmission within the time of presetting in this step.The described default time can be arranged by developer, also can be arranged according to the needs of oneself by user.In practical implementations, can by starting the control that timer realizes Preset Time.Such as: after certain application program is switched to backstage by foreground, start timer and start countdown, judge whether described application program receives the information of service end transmission before described timer expiry.
If described application program does not receive the information that service end sends within the time of presetting, then perform step 203 and close described application program.If described application program have received the information that service end sends within the time of presetting, be understandable that, although described application program is at running background, but still have alternately with service end, now can not close described application program, described application program make described application program can safeguard the connection with its service end, so that can be prompted to user in time when receiving the information that service end sends.
Step 203, closes described application program.
Based on above-mentioned steps 202, if described application program meets described default closedown condition, then close described application program.Particularly, the process that can use by terminating described application program realizes closing described application program.
Be still in default time, do not receive the information that service end sends for described closedown condition, if described application program does not receive the information that service end sends within the time of presetting, then terminate the process that described application program uses, the occupancy of terminal CPU and internal memory is reduced, free system resources with this.
Step 204, the service end according to the authentication information of user in described application program and described application program connects.
Based on above-mentioned steps 203, after terminating the process that described application program uses, the connection of described application program and its service end will be caused to disconnect, now, if described service end sends information to described application program, such as: chat messages, described application program cannot receive, and then cannot be prompted to user.So, in a kind of preferred embodiment of the application, after the described application program of closedown, be described application programming Proxy Signature Scheme, to replace described application program and its service end to connect, and receive based on described connection the information that service end sends to described application program.
In this step, after closing described application program, can come to connect with the service end of described application program by obtaining the authentication information of user in described application program.Described authentication information comprises: the information such as user login name, login password.Particularly, after the mandate obtaining user, the service end address etc. of the authentication information of user in described application program, described application program can be got, can connect with service end based on described service end address, such as: TCP (TransmissionControlProtocol, transmission control protocol) connects, and then sends to service end to verify the authentication information of described user, in verification by rear, can realize acting on behalf of described application program and its service end connects.This process services end cannot perception, for service end, can think that described application program is connected with it establishes.When service end has the information sending to described application program, the connection can set up based on this step sends described information.
Step 205, based on described connection, receives the information that service end sends to described application program.
Step 206, generates user's prompting according to described information, selects whether check described information for user.
Particularly, in this step, if the described information received can be resolved, then user's prompting will be generated after described information analysis.Such as: known described application program and mutual the used message format of service end, according to described message format, the clear content of the information that service end sends can be parsed, then generate user's prompting according to the clear content of described information.For example, the information that the service end parsing certain instant messaging application program according to described message format sends is chat messages from good friend A: good morning, then in this step, please refer to Fig. 3, directly can point out: " message from good friend A: good morning ", further, the icon of this instant messaging application program can be preserved in advance, described icon is represented, with the source allowing user clearly know this message while generation user prompting.
If the described information received can not be resolved, please refer to Fig. 4, directly can point out the information receiving certain application program.
It should be noted that, those skilled in the art are according to correlation technique, and while the described user's prompting of generation, can also export the tinkle of bells or vibrations accordingly, the application does not repeat them here.
After generation user prompting, if user selects to check described information, then perform step 207.If user does not select to check described information, then continue to safeguard that set up with the service end of described application program described is connected.
Step 207, after the information inspection instruction receiving user, disconnects described connection and calls described application program, described information is given to described application program.
Based on abovementioned steps 206, after generation user prompting, if receive the information inspection instruction of user, such as: user clicks described user and points out and check button in interface, then in this step, disconnect set up with service end described and be connected, and call described application program, described information is turned a described application program, such user just can check described information in described application program.
Described as can be seen from above, the application program of the application's monitor terminal running background, when described application program does not receive the information of service end transmission within the time of presetting, by closing described application program, to reduce the occupancy of terminal CPU and internal memory, free system resources.Meanwhile, after the described application program of closedown, the application acts on behalf of described application program and service end connects, when service end sends information, can receive in time and be prompted to user, not reduce the experience of user.
Corresponding with the embodiment of the application's application management method, present invention also provides a kind of embodiment of application program management device, described application of installation is in terminal.Device described in the application can pass through software simulating, also can be realized by the mode of hardware or software and hardware combining.For software simulating, the application's application program management device, as the device on a logical meaning, is by the processor of its place equipment, computer program instructions corresponding in nonvolatile memory read operation in internal memory and formed.
Please refer to Fig. 5 and Fig. 6, the application provides a kind of application program management device 500, and described device 500 includes: monitoring unit 501, judging unit 502, closing unit 503, set up unit 504, receiving element 505, generation unit 506 and call unit 507.
Described monitoring unit 501, monitors the application program of running background.
Described judging unit 502, judges whether described application program meets the closedown condition preset.
Described closing unit 503, when described application program meets described default closedown condition, closes described application program.
Further, described judging unit 502, specifically judges whether described application program does not receive the information of service end transmission within the time of presetting.
Describedly set up unit 504, after the described application program of closedown, the service end according to the authentication information of user in described application program and described application program connects.
Described receiving element 505, based on described connection, receives the information that service end sends to described application program.
Described generation unit 506, generates user's prompting according to described information, chooses whether check described information for user.
Described call unit 507, after the information inspection instruction receiving user, disconnects described connection and calls described application program, described information is given to described application program.
Described as can be seen from above, the application program of the application's monitor terminal running background, when described application program does not receive the information of service end transmission within the time of presetting, by closing described application program, to reduce the occupancy of terminal CPU and internal memory, free system resources.Meanwhile, after the described application program of closedown, the application acts on behalf of described application program and service end connects, when service end sends information, can receive in time and be prompted to user, not reduce the experience of user.
In said apparatus, the implementation procedure of the function and efficacy of unit specifically refers to the implementation procedure of corresponding step in said method, does not repeat them here.
The foregoing is only the preferred embodiment of the application, not in order to limit the application, within all spirit in the application and principle, any amendment made, equivalent replacements, improvement etc., all should be included within scope that the application protects.

Claims (10)

1. an application management method, is characterized in that, described method comprises:
Monitor the application program of running background;
Judge whether described application program meets the closedown condition preset;
If described application program meets described default closedown condition, then close described application program.
2. method according to claim 1, is characterized in that,
Describedly judge that whether described application program meets the closedown condition preset and comprise:
Judge whether described application program does not receive the information of service end transmission within the time of presetting.
3. method according to claim 1, is characterized in that, described method also comprises:
After the described application program of closedown, the service end according to the authentication information of user in described application program and described application program connects;
Based on described connection, receive the information that service end sends to described application program.
4. method according to claim 3, is characterized in that, described method also comprises:
Generate user's prompting according to described information, select whether check described information for user.
5. method according to claim 4, is characterized in that, described method also comprises:
After the information inspection instruction receiving user, disconnect described connection and call described application program, described information is given to described application program.
6. an application program management device, is characterized in that, described device comprises:
Monitoring unit, monitors the application program of running background;
Judging unit, judges whether described application program meets the closedown condition preset;
Closing unit, when described application program meets described default closedown condition, closes described application program.
7. device according to claim 6, is characterized in that,
Described judging unit, specifically judges whether described application program does not receive the information of service end transmission within the time of presetting.
8. device according to claim 6, is characterized in that, described device also comprises:
Set up unit, after the described application program of closedown, the service end according to the authentication information of user in described application program and described application program connects;
Receiving element, based on described connection, receives the information that service end sends to described application program.
9. device according to claim 8, is characterized in that, described device also comprises:
Generation unit, generates user's prompting according to described information, chooses whether check described information for user.
10. device according to claim 9, is characterized in that, described device also comprises:
Call unit, after the information inspection instruction receiving user, disconnects described connection and calls described application program, described information is given to described application program.
CN201410407454.0A 2014-08-18 2014-08-18 Application management method and apparatus Pending CN105446803A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201410407454.0A CN105446803A (en) 2014-08-18 2014-08-18 Application management method and apparatus
HK16109970.7A HK1222230A1 (en) 2014-08-18 2016-08-22 Method and apparatus for managing application

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410407454.0A CN105446803A (en) 2014-08-18 2014-08-18 Application management method and apparatus

Publications (1)

Publication Number Publication Date
CN105446803A true CN105446803A (en) 2016-03-30

Family

ID=55557039

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410407454.0A Pending CN105446803A (en) 2014-08-18 2014-08-18 Application management method and apparatus

Country Status (2)

Country Link
CN (1) CN105446803A (en)
HK (1) HK1222230A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106547615A (en) * 2016-11-25 2017-03-29 珠海市魅族科技有限公司 A kind of management method and management module of background application
WO2018157364A1 (en) * 2017-03-02 2018-09-07 廖建强 Method for freezing application program, and terminal
CN112162626A (en) * 2020-10-16 2021-01-01 广州虎牙信息科技有限公司 Application processing method and device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050235219A1 (en) * 2004-04-19 2005-10-20 Yahoo!, Inc. Techniques for simultaneously displaying a background page and an interactive content page in an application window
US20060036692A1 (en) * 2004-08-10 2006-02-16 Microsoft Corporation Method and system of integrating instant messaging with other computer programs
CN102196097A (en) * 2011-05-19 2011-09-21 中兴通讯股份有限公司 Method and device for automatically closing idle programs of mobile communication terminal background
CN102685729A (en) * 2011-02-14 2012-09-19 微软公司 Background transfer service for applications on mobile devices
CN102904801A (en) * 2012-10-29 2013-01-30 北京奇虎科技有限公司 Message reminder method and device
CN103188653A (en) * 2011-12-27 2013-07-03 华为终端有限公司 Method of data receiving, method of data sending, mobile terminal and server
CN103259714A (en) * 2013-04-28 2013-08-21 深圳市深信服电子科技有限公司 Instant information notification method and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050235219A1 (en) * 2004-04-19 2005-10-20 Yahoo!, Inc. Techniques for simultaneously displaying a background page and an interactive content page in an application window
US20060036692A1 (en) * 2004-08-10 2006-02-16 Microsoft Corporation Method and system of integrating instant messaging with other computer programs
CN102685729A (en) * 2011-02-14 2012-09-19 微软公司 Background transfer service for applications on mobile devices
CN102196097A (en) * 2011-05-19 2011-09-21 中兴通讯股份有限公司 Method and device for automatically closing idle programs of mobile communication terminal background
CN103188653A (en) * 2011-12-27 2013-07-03 华为终端有限公司 Method of data receiving, method of data sending, mobile terminal and server
CN102904801A (en) * 2012-10-29 2013-01-30 北京奇虎科技有限公司 Message reminder method and device
CN103259714A (en) * 2013-04-28 2013-08-21 深圳市深信服电子科技有限公司 Instant information notification method and device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106547615A (en) * 2016-11-25 2017-03-29 珠海市魅族科技有限公司 A kind of management method and management module of background application
CN106547615B (en) * 2016-11-25 2020-12-22 珠海市魅族科技有限公司 A management method and management module of a background application
WO2018157364A1 (en) * 2017-03-02 2018-09-07 廖建强 Method for freezing application program, and terminal
CN112162626A (en) * 2020-10-16 2021-01-01 广州虎牙信息科技有限公司 Application processing method and device

Also Published As

Publication number Publication date
HK1222230A1 (en) 2017-06-23

Similar Documents

Publication Publication Date Title
USRE48669E1 (en) System and method for identifying and [assessing] remediating vulnerabilities on a mobile communications device
CN104967557B (en) Communication message transmission method and device
CN102355667B (en) Application program network connection control method and system in mobile intelligent terminal system
CN104135563B (en) A kind of communication processing method and system
CN102724322B (en) A kind of method and device for realizing remote control
WO2014110820A1 (en) Notification push method, device, and system
CN103299597A (en) Methods and apparatus for providing or receiving data connectivity
CN112583867A (en) Sharing method and device of intelligent household electrical appliance, electronic equipment and medium
US11201960B2 (en) Message sending method and processing device
CN104052757B (en) Identification system and method based on the client application in mobile phone
TW201605203A (en) Home control gateway and home control network connection method thereof
CN105468357A (en) Message prompting method and device of social application and mobile terminal
CN105446803A (en) Application management method and apparatus
CN107508746A (en) Good friend's adding method, device and electronic equipment
CN106230702A (en) Identity information verification method, Apparatus and system
CN104702701A (en) Method and device for sharing data
CN108370500B (en) Optimized settings for wireless devices
US20160191601A1 (en) System and Method for Running a Web Server on a Mobile Internet Device
CN113965904A (en) Device registration method, device and storage medium
WO2009106677A1 (en) Methods, apparatuses, and computer program products, for automatically finding configuration settings for services
CN111031145A (en) Remote assistance method and system based on intelligent terminal
CN110868720A (en) Method and device for identifying base station message, mobile terminal and storage medium
CN113015160B (en) Network allocation method and device of Internet of things equipment, electronic equipment and computer readable medium
CN115941207A (en) Signature authentication method and device
CN114222085B (en) Data processing method, device, electronic device and computer readable storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 1222230

Country of ref document: HK

RJ01 Rejection of invention patent application after publication

Application publication date: 20160330

RJ01 Rejection of invention patent application after publication
REG Reference to a national code

Ref country code: HK

Ref legal event code: WD

Ref document number: 1222230

Country of ref document: HK