Movatterモバイル変換


[0]ホーム

URL:


CN105446803A - Application management method and apparatus - Google Patents

Application management method and apparatus
Download PDF

Info

Publication number
CN105446803A
CN105446803ACN201410407454.0ACN201410407454ACN105446803ACN 105446803 ACN105446803 ACN 105446803ACN 201410407454 ACN201410407454 ACN 201410407454ACN 105446803 ACN105446803 ACN 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 LtdfiledCriticalAlibaba Group Holding Ltd
Priority to CN201410407454.0ApriorityCriticalpatent/CN105446803A/en
Publication of CN105446803ApublicationCriticalpatent/CN105446803A/en
Priority to HK16109970.7Aprioritypatent/HK1222230A1/en
Pendinglegal-statusCriticalCurrent

Links

Landscapes

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)

CN201410407454.0A2014-08-182014-08-18Application management method and apparatusPendingCN105446803A (en)

Priority Applications (2)

Application NumberPriority DateFiling DateTitle
CN201410407454.0ACN105446803A (en)2014-08-182014-08-18Application management method and apparatus
HK16109970.7AHK1222230A1 (en)2014-08-182016-08-22Method and apparatus for managing application

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201410407454.0ACN105446803A (en)2014-08-182014-08-18Application management method and apparatus

Publications (1)

Publication NumberPublication Date
CN105446803Atrue CN105446803A (en)2016-03-30

Family

ID=55557039

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201410407454.0APendingCN105446803A (en)2014-08-182014-08-18Application management method and apparatus

Country Status (2)

CountryLink
CN (1)CN105446803A (en)
HK (1)HK1222230A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN106547615A (en)*2016-11-252017-03-29珠海市魅族科技有限公司A kind of management method and management module of background application
WO2018157364A1 (en)*2017-03-022018-09-07廖建强Method for freezing application program, and terminal
CN112162626A (en)*2020-10-162021-01-01广州虎牙信息科技有限公司Application processing method and device

Citations (7)

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

Patent Citations (7)

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

Cited By (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN106547615A (en)*2016-11-252017-03-29珠海市魅族科技有限公司A kind of management method and management module of background application
CN106547615B (en)*2016-11-252020-12-22珠海市魅族科技有限公司 A management method and management module of a background application
WO2018157364A1 (en)*2017-03-022018-09-07廖建强Method for freezing application program, and terminal
CN112162626A (en)*2020-10-162021-01-01广州虎牙信息科技有限公司Application processing method and device

Also Published As

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

Similar Documents

PublicationPublication DateTitle
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
KR20170006813A (en)Method and Apparatus for Supporting Secure Chat
CN104484259A (en)Application program traffic monitoring method and device, and mobile terminal
CN112583867A (en)Sharing method and device of intelligent household electrical appliance, electronic equipment and medium
US11201960B2 (en)Message sending method and processing device
CN105468357B (en)Message prompt method, device and the mobile terminal of social application
CN107508746B (en)Good friend's adding method, device and electronic equipment
CN105049339A (en)Method and device for loading control interface of intelligent device
CN105446803A (en)Application management method and apparatus
CN106230702A (en)Identity information verification method, Apparatus and system
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
US20090216864A1 (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
CN113015160B (en)Network allocation method and device of Internet of things equipment, electronic equipment and computer readable medium
CN105119801B (en)A kind of social message management method, system, user terminal and server
CN114222085B (en) Data processing method, device, electronic device and computer readable storage medium
KR101361311B1 (en)Method of operating an application for providing a voice modulation service using mobile voice over internet protocol
CN107872381A (en) Prompt method and device
HK40050683A (en)Network distribution method and device of internet of things equipment, electronic equipment and computer readable medium
CN104333647A (en)Message reply method and equipment

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
REGReference to a national code

Ref country code:HK

Ref legal event code:DE

Ref document number:1222230

Country of ref document:HK

RJ01Rejection of invention patent application after publication

Application publication date:20160330

RJ01Rejection of invention patent application after publication
REGReference to a national code

Ref country code:HK

Ref legal event code:WD

Ref document number:1222230

Country of ref document:HK


[8]ページ先頭

©2009-2025 Movatter.jp