CN106201589A - The method closing background application based on i Phone one key - Google Patents

The method closing background application based on i Phone one key Download PDF

Info

Publication number
CN106201589A
CN106201589A CN201610496890.9A CN201610496890A CN106201589A CN 106201589 A CN106201589 A CN 106201589A CN 201610496890 A CN201610496890 A CN 201610496890A CN 106201589 A CN106201589 A CN 106201589A
Authority
CN
China
Prior art keywords
key
background application
background
phone
user
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
CN201610496890.9A
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.)
Sichuan Changhong Electric Co Ltd
Original Assignee
Sichuan Changhong Electric 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 Sichuan Changhong Electric Co Ltd filed Critical Sichuan Changhong Electric Co Ltd
Priority to CN201610496890.9A priority Critical patent/CN106201589A/en
Publication of CN106201589A publication Critical patent/CN106201589A/en
Pending legal-status Critical Current

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/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44594Unloading

Abstract

The present invention relates to mobile terminal background program treatment technology, it discloses a kind of method closing background application based on i Phone one key, solve user in conventional art and can not close multiple background application of i Phone by a key, need to close one by one and the problem of bringing complex operation.The method comprises the following steps: a. predefines a key and closes the operation of background application;B. create individual character list, for user, the program the most every time closed is added to described individual character list;C. system monitors the operation whether receiving a key closedown background application, the most then close all application programs in addition to the application in individual character list and main screen in backstage;D. main screen of mobile phone curtain is returned.The present invention is applicable to i Phone one key and closes background program.

Description

The method closing background application based on i Phone one key
Technical field
The present invention relates to mobile terminal background program treatment technology, be specifically related to a kind of close based on i Phone one key after The method of platform application program.
Background technology
Having many consumers now and using i Phone, it is more and more universal that i Phone becomes.Although many people think that I Phone possesses pretty good fluency, if but backstage opened multiple utility program, it is also possible to system Fluency produces impact, becomes to block very much, and additionally background application also can aggravate iPhone electric quantity consumption, has shortened the continuation of the journey of iPhone Time.
Many people think that iOS does not has this concept of running background.That taskbar that you see is not running background program, Being the program run recently, those programs are at inactive state, it is not necessary to close.IOS system can manage this automatically A little things, do not interfere with your speed, without closedown.The running background of application has been limited till now by iOS from being born System, the friend understanding apple products should be the clearest, and this is not technical problem, and Fructus Mali pumilae is in order to improve user's body just The choice tested and do, in order to the resource of mobile phone more reasonably utilizes rather than by " stuck " or the mobile phone electricity of running background Not guilty consumption.Fructus Mali pumilae major part program platform after entering can be automatically switched off after 10 minutes, in addition to message, and iOS pair of Fructus Mali pumilae Specific service is also to support running background.Specifically including that music and recording, such as you open dried shrimps player and move back To backstage, music is the most still play;Positioning service, the positioning service of iOS is divided into the detection of notable change in location and high precision The location of degree, the latter is to support backstage locating and tracking.
But much people is uncomfortable sees that there is the most multiprogrammable link on oneself mobile phone backstage, makes when user exits one Application program after, often for power saving or other purposes, habituation goes to close application on backstage.At present i Phone is New system iOS9 is greatly improved relatively before, double-clicks Home key and enters backstage, and the application that will close slides up, but the most only There is the function closing single application, still fail to the application providing a key to close backstage.Should if user opens multiple backstage After program, it is desirable to needing the when of closedown to slide up one by one and close, relatively complicated, Consumer's Experience is poor.
Summary of the invention
The technical problem to be solved is: propose a kind of based on i Phone one key closedown background application Method, solves user in conventional art and can not close multiple background application of i Phone by a key, need to close one by one and bring The problem of complex operation.
The technical solution adopted for the present invention to solve the technical problems is: close background application journey based on i Phone one key The method of sequence, it comprises the following steps:
A. predefine a key and close the operation of background application;
B. create individual character list, for user, the program the most every time closed is added to described individual character list;
C. system monitors the operation whether receiving a key closedown background application, the most then close in backstage except individual character Application in list and all application programs outside main screen;
D. main screen of mobile phone curtain is returned.
As optimizing further, in step a, a described predefined key closes the operation of background application, specifically includes:
Add a circular refuse receptacle button in the centre position, surface of mobile phone background interface, trigger during the response of this button The function of iOS system upward sliding thumbnail bolt down procedure;The mode of operation making this button respond includes:
Gesture operation: user is after main screen interface slides up to certain distance with 4 fingers simultaneously in definition, and system is entered Enter background interface, the thumbnail of background application is received to refuse receptacle button with animation effect form;
Or, push-botton operation: definition user double-clicks Home key and enters i Phone background interface, when user is at background interface After middle click refuse receptacle button, the thumbnail of background application is received to refuse receptacle button with animation effect form.
As optimizing further, in step c, described system monitors the behaviour whether receiving a key closedown background application Make, including: monitored whether receive a key closedown backstage by gesture slip event monitoring mechanism and click action listener mechanism The operation of application program, if particularly as follows: user at main screen interface with 4 fingers upward sliding simultaneously, and slide into a spacing From, then it is judged to that receiving a key closes the operation of background application;
Or, when user clicks on the refuse receptacle button in background interface, it is determined that close background application for receiving a key Operation.
As optimizing further, in step d, after the operation having performed a key closedown background application, directly return Main screen of mobile phone curtain, it is not necessary to user clicks on Home key.
The invention has the beneficial effects as follows: realize all background applications of disposable closedown, it is not necessary to close one by one, thus Bring the effect of simple operation, additionally, by creating individual character list, program user commonly used is added to described individual character list In, when carrying out the operation that a key closes background program, it is not turn off the program in individual character list, prevents user from opening every time APP will reload data, more flexibly.
Accompanying drawing explanation
Fig. 1 is the method flow diagram that in the present invention, a key closes background application.
Detailed description of the invention
It is contemplated that propose a kind of method closing background application based on i Phone one key, solve conventional art Middle user can not close multiple background application of i Phone by a key, needs to close one by one and the problem of bringing complex operation.
In up-to-date iOS system background application administration interface, all mobile phones run the screen of program and all reduce side successively Come back, main screen interface, be shown in the middle part of screen;When finger slides in the middle part of screen, all running backgrounds can be demonstrated The thumbnail of program, institute's road is removed and can delete outside screen by upward sliding.According to this principle, we by these thumbnails to On move to ad-hoc location, trigger the function of Fructus Mali pumilae system upward sliding thumbnail bolt down procedure.
As it is shown in figure 1, the method closing background application based on i Phone one key in the present invention, including following step Rapid:
A. predefine a key and close the operation of background application;
B. create individual character list, for user, the program the most every time closed is added to described individual character list;
C. system monitors the operation whether receiving a key closedown background application, the most then close in backstage except individual character Application in list and all application programs outside main screen;
D. main screen of mobile phone curtain is returned.
On being embodied as, in step a, add a circular refuse receptacle in the centre position, surface of mobile phone background interface Button, triggers the function of iOS system upward sliding thumbnail bolt down procedure during the response of this button;Make the operation side that this button responds Formula includes:
Gesture operation: user is after main screen interface slides up to certain distance with 4 fingers simultaneously in definition, and system is entered Enter background interface, the thumbnail of background application is received to refuse receptacle button with animation effect form;In order to complete gesture Identify, it is necessary to by means of gesture recognition: UIGestureRecognizer, utilize UIGestureRecognizer, can be easily Identify some common gestures that user does on certain view.UIGestureRecognizer is an abstract class, defines All of gesture basic act, uses its subclass could process concrete gesture.First a gesture recognizer object is created, The specific object of gesture recognizer object is set, wants, by 4 finger trigger events, to arrange numberOfTouchesRequired Attribute is 4.Add gesture recognition to corresponding view, monitor the triggering of gesture.Gesture operation have to four handss Refer to simultaneously upward sliding, slide into above screen.The distance carrying out judging to slide in touchedEnded method is come real Whether existing user eliminates a key is closed or user misoperation.If the distance of movement is inadequate, it is considered as user and eliminates a key Close or user misoperation does not the most trigger a key and closes all program events.
Push-botton operation: definition user double-clicks Home key and enters i Phone background interface, when user is at background interface midpoint After hitting refuse receptacle button, the thumbnail of background application is received to refuse receptacle button with animation effect form.
In step b, the program (such as: music player, wechat, QQ etc.) user commonly used is added to described individual character list In, when carrying out the operation that a key closes background program, it is not turn off the program in individual character list, prevents user from opening every time APP will reload data, more flexibly.
In step c, monitor whether receive a key by gesture slip event monitoring mechanism and click action listener mechanism Close the operation of background application: if user at main screen interface with upward sliding while of 4 fingers, and slide into a spacing From, then it is judged to that receiving a key closes the operation of background application;Or, user clicks on the refuse receptacle button in background interface Time, it is determined that the operation of background application is closed for receiving a key.
User can select which kind of operation specifically used according to demand with hobby, triggers when listening to be slided by gesture When one key closes background application, system is introduced into background interface, then by the thumbnail of background application with animation effect Form is received to refuse receptacle button;When listen to user by click event (double-click Home key enter i Phone background interface, In background interface click on refuse receptacle button) trigger one key close background application time, by the breviary of background application Figure is received to refuse receptacle button with animation effect form.
Animation effect for deleting is arranged:
Initially set up Bezier, use UIBezierPath bezierPath to initialize, initial coordinate is set, Add paths and by path drawing out, be actually from the center position of the photo curve to refuse bin terminal.
Having resettled the animation of a CAKeyframeAnimation, CAKeyframeAnimation provides key frame to prop up Holding, can be that animation layer attribute formulates a critical path, path can be an array, preserves each Stage Value of animation With crucial frame animation number of times and time, this trail change being mainly used in realizing animation, the path value of animation is set to it The curve values of front definition, such animation will be moved by the track set.
Create a CABasicAnimation, specify an initial value by setFromValue and setToValue And end value, it is used for generating transformation matrix by CATransform3DMakeScale,
Arranging fromValue is valueWithCATransform3D:CATransform3DIdentity, arranges ToValue is valueWithCATransform3D:CATransform3DMakeScale (0.1,0.1,1.0).
There is the animation that size variation is set exactly again, set picture size initially and finally.Transparent followed by generating The animation of degree, creates a caCABasicAnimation, and arranging fromValue is numberWithFloat:1.0, arranges ToValue is numberWithFloat:0.1.Owing to we have used three kinds of animations, so needing to use CAAnimationGroup disposably uses them.Create CAAnimationGroup, the animation effect used is added to The inside, is added to layer layer by animation.
After animation completes, program is removed from backstage.Next one thumbnail also is moved at refuse bin, except main screen After all deleting outside thumbnail and the thumbnail in individual character list, return to mobile phone acquiescence main screen interface, it is not necessary to user's point again Hit Home key.If additionally, the application in individual character list to be closed, in the following manner can be taked: by double-clicking Home key enters backstage, and upper cunning still can close the application in individual character list.

Claims (4)

1. the method closing background application based on i Phone one key, it is characterised in that comprise the following steps:
A. predefine a key and close the operation of background application;
B. create individual character list, for user, the program the most every time closed is added to described individual character list;
C. system monitors the operation whether receiving a key closedown background application, the most then close in backstage except individual character list In application and all application programs outside main screen;
D. main screen of mobile phone curtain is returned.
2. the method closing background application based on i Phone one key as claimed in claim 1, it is characterised in that step In a, a described predefined key closes the operation that background application presents, and specifically includes:
Add a circular refuse receptacle button in the centre position, surface of mobile phone background interface, during the response of this button, trigger iOS The function of system upward sliding thumbnail bolt down procedure;The mode of operation making this button respond includes:
Gesture operation: user is after main screen interface slides up to certain distance with 4 fingers simultaneously in definition, after system enters Platform interface, receives the thumbnail of background application to refuse receptacle button with animation effect form;
Or, push-botton operation: definition user double-clicks Home key and enters i Phone background interface, when user is at background interface midpoint After hitting refuse receptacle button, the thumbnail of background application is received to refuse receptacle button with animation effect form.
3. the method closing background application based on i Phone one key as claimed in claim 2, it is characterised in that step In c, described system monitors the operation whether receiving a key closedown background application, including: monitored by gesture slip event Mechanism and click action listener mechanism monitor the operation whether receiving a key closedown background application, if particularly as follows: user At main screen interface with 4 fingers upward sliding simultaneously, and slide into certain distance, then being judged to receive a key closedown backstage should With the operation of program;
Or, when user clicks on the refuse receptacle button in background interface, it is determined that close the behaviour of background application for receiving a key Make.
4. the method closing background application based on i Phone one key as claimed in claim 1, it is characterised in that step In d, after the operation having performed a key closedown background application, directly return main screen of mobile phone curtain.
CN201610496890.9A 2016-06-29 2016-06-29 The method closing background application based on i Phone one key Pending CN106201589A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610496890.9A CN106201589A (en) 2016-06-29 2016-06-29 The method closing background application based on i Phone one key

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610496890.9A CN106201589A (en) 2016-06-29 2016-06-29 The method closing background application based on i Phone one key

Publications (1)

Publication Number Publication Date
CN106201589A true CN106201589A (en) 2016-12-07

Family

ID=57463339

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610496890.9A Pending CN106201589A (en) 2016-06-29 2016-06-29 The method closing background application based on i Phone one key

Country Status (1)

Country Link
CN (1) CN106201589A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107193613A (en) * 2017-06-11 2017-09-22 成都吱吖科技有限公司 A kind of internet man-machine interaction application program for mobile terminal method for closing and device
CN110673913A (en) * 2019-09-23 2020-01-10 维沃移动通信有限公司 Notification message display method and mobile terminal
CN114625463A (en) * 2022-03-09 2022-06-14 惠州Tcl移动通信有限公司 Window display method and device, mobile terminal and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103970395A (en) * 2013-01-30 2014-08-06 腾讯科技(深圳)有限公司 Method and device for stopping background programs
CN104199686A (en) * 2014-08-14 2014-12-10 北京乐动卓越科技有限公司 System and method used for closing background applications through one key and applied to iphone

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103970395A (en) * 2013-01-30 2014-08-06 腾讯科技(深圳)有限公司 Method and device for stopping background programs
CN104199686A (en) * 2014-08-14 2014-12-10 北京乐动卓越科技有限公司 System and method used for closing background applications through one key and applied to iphone

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107193613A (en) * 2017-06-11 2017-09-22 成都吱吖科技有限公司 A kind of internet man-machine interaction application program for mobile terminal method for closing and device
CN110673913A (en) * 2019-09-23 2020-01-10 维沃移动通信有限公司 Notification message display method and mobile terminal
CN110673913B (en) * 2019-09-23 2022-02-01 维沃移动通信有限公司 Notification message display method and mobile terminal
CN114625463A (en) * 2022-03-09 2022-06-14 惠州Tcl移动通信有限公司 Window display method and device, mobile terminal and storage medium

Similar Documents

Publication Publication Date Title
CN104598100B (en) A kind of information processing method and electronic equipment
CN105335224B (en) A kind of application switching method and device
CN104536666B (en) It is a kind of to be switched fast application program and its method and device at interface
CN107637073A (en) Videograph and playback
CN107544809A (en) The method and apparatus for showing the page
CN107370887A (en) A kind of expression generation method and mobile terminal
CN105955617A (en) Gesture for selecting text
CN108052300A (en) Application interface switching method, mobile terminal and readable storage medium storing program for executing
CN110730387A (en) Video playing control method and device, storage medium and electronic device
CN106201589A (en) The method closing background application based on i Phone one key
CN106033507A (en) Screen unlocking methods and devices for touch screen devices
CN102479028A (en) Method for realizing intelligent standby function
CN105095251A (en) Terminal automatic display method and device based on user habit
CN104035703A (en) Client side, method and system for changing view display
WO2019129161A1 (en) Method and apparatus for viewing background application on mobile terminal
CN102780646B (en) The implementation method of the sound's icon, client and system in instant messaging
CN102946345B (en) Method, browser client and system for outputting instant messaging interface structure
CN107765556A (en) The smart home product human-computer interaction interface that solid figure is shown
CN107765555A (en) The smart home product human-computer interaction interface that icon in kind is shown
JP2020161135A (en) Method and system for displaying chat thread
CN108153720A (en) A kind of information processing method and terminal device
CN106302932A (en) The method and apparatus checking log in communication terminal
CN104090724B (en) Pass through the method and device of double finger gesture operation files in a kind of intelligent terminal
CN107508969A (en) A kind of information processing method, device, computer installation and computer-readable recording medium
CN102799388B (en) JICQ realizes collecting the method for drawing pad, client and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20161207

RJ01 Rejection of invention patent application after publication