CN105653429A - Application program processing method and device - Google Patents

Application program processing method and device Download PDF

Info

Publication number
CN105653429A
CN105653429A CN201510993861.9A CN201510993861A CN105653429A CN 105653429 A CN105653429 A CN 105653429A CN 201510993861 A CN201510993861 A CN 201510993861A CN 105653429 A CN105653429 A CN 105653429A
Authority
CN
China
Prior art keywords
application program
terminating unit
message
status bar
foreground
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
CN201510993861.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.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
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 Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN201510993861.9A priority Critical patent/CN105653429A/en
Publication of CN105653429A publication Critical patent/CN105653429A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/32Monitoring with visual or acoustical indication of the functioning of the machine
    • G06F11/324Display of status information
    • G06F11/328Computer systems status display
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/302Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a software system

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Mathematical Physics (AREA)
  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses an application program processing method and device. The method comprises the following steps: monitoring a first message which indicates that an application program enters the background of terminal equipment to run; when the first message is monitored, controlling the application program to enter the background of the terminal equipment to run; and after the application program enters the background to run, displaying a target status bar of the application program in the foreground of the terminal equipment, wherein the target status bar is used for prompting that the application program runs at the background. According to the method and device disclosed in the invention, the technical problem that the switching, between the foreground and the background, of the application programs switch is relatively fussy in the prior art is solved.

Description

The treatment process of application program and device
Technical field
The present invention relates to field of terminal equipment, specifically, it relates to the treatment process of a kind of application program and device.
Background technology
Existing Android system (Android) is the system of a single window; user often can run into an awkward situation in the process using Android system; when wanting to be switched to suddenly Another application program (App) when using an application program (App) exactly; not thinking to exit current application program (app) completely, user may also be used. Under normal circumstances, the working method of user is by return key (home), then, restarts Another application program (App). If wanting to return to original App, then need to return to control desktop (Launcher) and click corresponding icon and reenter original application program (App). But, aforesaid way is very loaded down with trivial details, and it is unfriendly, and if configuring lower mobile phone, when mobile phone EMS memory deficiency, above-mentioned first application program (App) is very easy to dispose from internal memory, causes user need to heavily open this application program (App), seriously have impact on Consumer's Experience.
For above-mentioned problem, effective solution is not yet proposed at present.
Summary of the invention
Embodiments provide treatment process and the device of a kind of application program, in the handoff procedure on foreground and backstage, switch more loaded down with trivial details technical problem at least to solve application program in prior art.
An aspect according to embodiments of the present invention, it provides the treatment process of a kind of application program, comprising: monitoring and measuring application program enters the first message of the running background of terminating unit; When monitoring described first message, control the running background that described application program enters described terminating unit; After described application program enters running background, showing the target status bar of described application program in the foreground of described terminating unit, wherein, for pointing out, described application program is in running background to described target status bar.
Further, the target status bar showing described application program in the foreground of described terminating unit comprises: obtain the destination service assembly that the backstage of described terminating unit creates, wherein, described destination service assembly is for maintaining the running background of described application program at described terminating unit; Control described destination service assembly and generate described target status bar, and control described target status bar and be shown in the foreground of described terminating unit.
Further, after showing the target status bar of described application program in the foreground of described terminating unit, described method also comprises: detect the 2nd message received by described target status bar;When described 2nd message being detected, control described application program to show on the foreground of described terminating unit, wherein, the foreground of described terminating unit shows the final page of described application program, wherein, the page that when the described final page is monitor described first message, described application program shows on described terminating unit.
Further, after showing the target status bar of described application program in the foreground of described terminating unit, described method also comprises: detection is used to indicate the 3rd message of mobile described target status bar; Judging whether the miles of relative movement that described target status bar carries out moving according to described 3rd message is greater than or equal to predeterminable range, wherein, described miles of relative movement is vertical range at pre-determined direction between described target status bar starting position and current position; If it is determined that go out described miles of relative movement to be greater than or equal to described predeterminable range, then control described application program to show on the foreground of described terminating unit, wherein, the foreground of described terminating unit shows the final page of described application program, wherein, the page that when the described final page is monitor described first message, described application program shows on described terminating unit; If it is determined that go out described miles of relative movement to be less than described predeterminable range, then control described target status bar and return described starting position.
Further, the first message that monitoring and measuring application program enters terminating unit running background comprises: the instruction monitoring the target control key of described terminating unit, and will be used for triggering instruction that described application program enters running background in the instruction monitored as described first message; Or using calling of the monitoring message that non-described application program enters described terminating unit front stage operation as described first message.
Another aspect according to embodiments of the present invention, additionally provides the treatment unit of a kind of application program, comprising: monitoring means, enters the first message of the running background of terminating unit for monitoring and measuring application program; First control unit, for when monitoring described first message, controlling the running background that described application program enters described terminating unit; Display unit, after entering running background in described application program, shows the target status bar of described application program in the foreground of described terminating unit, and wherein, for pointing out, described application program is in running background to described target status bar.
Further, described display unit comprises: acquisition module, creates destination service assembly for obtaining the backstage of described terminating unit, and wherein, described destination service assembly is for maintaining the running background of described application program at described terminating unit; Control module, generates described target status bar for controlling described destination service assembly, and controls described target status bar and be shown in the foreground of described terminating unit.
Further, described device also comprises: the first detecting unit, in the foreground of described terminating unit, show described application program target status bar after, detect the 2nd message received by described target status bar; 2nd control unit, for when described 2nd message being detected, control described application program to show on the foreground of described terminating unit, wherein, the foreground of described terminating unit shows the final page of described application program, wherein, the page that when the described final page is monitor described first message, described application program shows on described terminating unit.
Further, described device also comprises: the 2nd detecting unit, in the foreground of described terminating unit, show described application program target status bar after, detection is used to indicate the 3rd message of mobile described target status bar;Judging unit, for judging that described target status bar carries out the miles of relative movement moved according to described 3rd message, wherein, described miles of relative movement is vertical range at pre-determined direction between described target status bar starting position and current position; 3rd control unit, if it is determined that go out described miles of relative movement to be greater than or equal to predeterminable range, then control described application program to show on the foreground of described terminating unit, wherein, the foreground of described terminating unit shows the final page of described application program, wherein, the page that when the described final page is monitor described first message, described application program shows on described terminating unit; 4th control unit is less than described predeterminable range if it is determined that go out described miles of relative movement, then control described target status bar and return described starting position.
Further, described monitoring means comprises: the first monitoring determination module, for monitoring the instruction of the target control key of described terminating unit, and will be used for triggering instruction that described application program enters running background in the instruction monitored as described first message; Or the 2nd monitoring determination module, for using calling of the monitoring message that non-described application program enters described terminating unit front stage operation as described first message.
In embodiments of the present invention, employing monitoring and measuring application program enters the first message of the running background of terminating unit, when monitoring described first message, control the running background that described application program enters described terminating unit, after described application program enters running background, the foreground of described terminating unit shows the target status bar of described application program, wherein, for pointing out, described application program is in the mode of running background to described target status bar, the message entering backstage by application program in sense terminals equipment is (namely, first message) after, control application program enters running background, and display is used for the target status bar that prompting application program enters running background in the foreground of terminating unit, and then realize application program in the switching on foreground and backstage by this target status bar, the mode that backstage switches to foreground is realized relative to prior art needs the shortcut clicking this application program after application program enters running background, reach the object simplifying application program handoff procedure between foreground and backstage, thus achieve the technique effect that background application program switches to the foreground of terminating unit fast, and then solve application program in prior art and switch more loaded down with trivial details technical problem in the handoff procedure on foreground and backstage.
Accompanying drawing explanation
Accompanying drawing described herein is used to provide a further understanding of the present invention, forms the part of the application, and the schematic description and description of the present invention, for explaining the present invention, does not form inappropriate limitation of the present invention. In the accompanying drawings:
Fig. 1 is the schema of the treatment process of a kind of application program according to embodiments of the present invention;
Fig. 2 be a kind of application program according to the optional embodiment of the present invention treatment process in the schematic diagram of target status bar;
Fig. 3 is the schema of the treatment process of a kind of application program according to the optional embodiment of the present invention; And
Fig. 4 is the schematic diagram of the treatment unit of a kind of application program according to embodiments of the present invention.
Embodiment
In order to make those skilled in the art understand the present invention program better, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the embodiment of a part of the present invention, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making other embodiments all obtained under creative work prerequisite, should belong to the scope of protection of the invention.
It should be noted that, term " first " in the specification sheets of the present invention and claim book and above-mentioned accompanying drawing, " the 2nd " etc. are for distinguishing similar object, and need not be used for describing specific order or precedence. Should be appreciated that the data of like this use can be exchanged in the appropriate case, so as embodiments of the invention described herein can with except diagram here or describe those except order implement. In addition, term " comprises " and " having " and their any distortion, intention is to cover does not arrange his comprising, such as, contain those steps or unit that the process of series of steps or unit, method, system, product or equipment are not necessarily limited to clearly list, but can comprise that clearly do not list or for intrinsic other step of these processes, method, product or equipment or unit.
According to embodiments of the present invention, provide the embodiment of the treatment process of a kind of application program, it should be noted that, can perform in the computer system of such as one group of computer executable instructions in the step shown in the schema of accompanying drawing, and, although show logical order in flow charts, but in some cases, it is possible to be different from the step shown or described by the execution of order herein.
Fig. 1 is the schema of the treatment process of a kind of application program according to embodiments of the present invention, and as shown in Figure 1, the method comprises the steps that S102 is to step S106:
Step S102, monitoring and measuring application program enters the first message of the running background of terminating unit.
In embodiments of the present invention, terminating unit can be the equipment such as mobile phone, panel computer, application program can the application program of any client terminal for being arranged in terminating unit, such as, the application program of the client terminal such as " micro-letter " and " mobile QQ ".
Step S104, when monitoring the first message, control application program enters the running background of terminating unit.
Step S106, after application program enters running background, the target status bar of display application program in the foreground of terminating unit, wherein, target status bar is used for prompting application program and is in running background.
In embodiments of the present invention, foreground can be the display interface of terminating unit, such as, and the screen of mobile phone, the screen etc. of panel computer; (namely target status bar can be shown in foreground with the form of suspended frame, the display interface of terminating unit) in, for pointing out this application program of user to enter the running background stage, wherein, in embodiments of the present invention, target status bar can be called again simulation status bar, namely simulates a status bar mutually similar with existing status bar in mobile phone.
It should be noted that, under normal conditions, a corresponding application program of target status bar, namely a target status bar only can point out an application program to enter the running background stage.
In embodiments of the present invention, the message entering backstage by application program in sense terminals equipment is (namely, first message) after, control application program enters running background, and display is used for the target status bar that prompting application program enters running background in the foreground of terminating unit, and then realize application program in the switching on foreground and backstage by this target status bar, the mode that backstage switches to foreground is realized relative to prior art needs the shortcut clicking this application program after application program enters running background, reach the object simplifying application program handoff procedure between foreground and backstage, thus achieve the technique effect that background application program switches to the foreground of terminating unit fast, and then solve application program in prior art and switch more loaded down with trivial details technical problem in the handoff procedure on foreground and backstage.
Can selection of land, in the foreground of terminating unit, the target status bar of display application program comprises the steps:
Step S1061, the backstage obtaining terminating unit creates destination service assembly, and wherein, destination service assembly is for maintaining the running background of application program at terminating unit;
Step S1063, control objectives service assembly generates target status bar, and control objectives status bar is shown in the foreground of terminating unit.
Specifically, after application program (App) enters backstage, a destination service assembly (Service assembly) can be created on backstage, and obtain this Service assembly, and then generate target status bar inside the Service assembly created, then, the target status bar that this Service assembly can control to generate is shown in the foreground of terminating unit, such as, be shown in the display screen of mobile phone.
Wherein, target status bar can be shown in the foreground of terminating unit with a suspended window form. Wherein, the design of suspended frame in foreground can have a variety of, in embodiments of the present invention, as preferably, the display screen that suspended window can be set to take whole terminating unit, and the length of this suspended frame is consistent with length and the width of target status bar with width. So just create a simulation status bar (that is, target status bar) very similar with status bar already present in terminating unit. Owing to showing this target status bar on the foreground of terminating unit, and create Service assembly on the backstage of terminating unit, then this App is just not easy to be disposed from the internal memory of terminating unit.
In embodiments of the present invention, after control application program enters the running background of terminating unit, it is also possible to by target status bar, this application program is switched to foreground again, wherein, it is possible to realized the switching of application program by following two kinds of modes:
Mode one:
Step S1, detects the 2nd message received by target status bar.
Step S3, when the 2nd message being detected, control application program shows on the foreground of terminating unit, wherein, the final page of the foreground display application program of terminating unit, wherein, the page that when the final page is monitor the first message, application program shows on the terminal device.
In embodiments of the present invention, can the click monitor function of Offered target status bar, namely when user clicks this target status bar on the foreground of terminating unit, namely target status bar receives the message that control application program reenters front stage operation, this message is the 2nd message, and then, control this application program and show in the foreground of terminating unit, such as, show in the display interface of terminating unit. Now, in display interface, the page of the application program of display is the final page, when namely monitoring the first message, and the page that application program shows on the terminal device.
Mode two:
Step S5, detection is used to indicate the 3rd message of moving target status bar.
Step S7, judges that target status bar carries out the miles of relative movement moved according to the 3rd message, and wherein, miles of relative movement is vertical range at pre-determined direction between target status bar starting position and current position.
Step S9, if it is determined that go out miles of relative movement to be greater than or equal to predeterminable range, then control application program to show on the foreground of terminating unit, wherein, the final page of the foreground display application program of terminating unit, wherein, the page that when the final page is monitor the first message, application program shows on the terminal device.
Step S11, if it is determined that go out miles of relative movement to be less than predeterminable range, then control objectives status bar returns starting position.
Specifically, it is also possible to the mobile monitor function of Offered target status bar, namely when user moves this target status bar on foreground, target status bar receives a message, and using this message as the 3rd message, wherein, the 3rd message is the message that control objectives status bar moves.
In embodiments of the present invention, mainly through judging target status bar miles of relative movement in a predetermined direction, determine whether again to recall to application program to show to foreground. Specifically, miles of relative movement can be detected in the process of moving target status bar, and judge whether this miles of relative movement is greater than or equal to predeterminable range, if it is determined that go out miles of relative movement to be in a predetermined direction greater than or equal to predeterminable range, show that this application program is recalled to front stage operation by user's actual hope again, then control application program and show on the foreground of terminating unit. If it is determined that go out miles of relative movement to be in a predetermined direction less than predeterminable range, show that user does not wish this application program is recalled to front stage operation again, then control objectives status bar is back to starting position, and wherein, starting position can be the position of target-like state hurdle initial sliding in foreground.
It should be noted that, in embodiments of the present invention, pre-determined direction can be the direction slided along mobile phone x-axis direction, it can also be the direction slided along mobile phone y-axis direction, wherein, the x-axis direction of mobile phone can be defined as mobile phone perpendicular screen when placing, and is perpendicular to the direction of the vertical axis of mobile phone; The y-axis direction of mobile phone can orientate the perpendicular screen of mobile phone as when placing, and is parallel to the direction of the vertical axis of mobile phone.
As shown in Figure 2, being the schematic diagram of any one target status bar, in Fig. 2, x-axis direction is the direction that mobile phone erects x-axis when screen is placed, and y-axis direction is the direction that mobile phone erects y-axis when screen is placed. In fig. 2, this target status bar is set to take whole screen, the title of display application program in target status bar, and such as, " FloatWindowLibary ", to point out this application program of user to enter running background. As text view " TextView " that user clicks or moves down in Fig. 2, it is possible to control application program " FloatWindowLibary " returns to the front stage operation of terminating unit.
Such as, when Offered target status bar moves, it is possible to arranging multiple travel direction (that is, pre-determined direction is not unique), Offered target status bar moves in x-axis direction, it is also possible to be set to target status bar and move in y-axis direction. Concrete travel direction, it is possible to the function in optional m igration direction is set in terminating unit, so that the travel direction of user's Offered target status bar according to actual needs.
Below the present embodiment is illustrated. Such as, when the travel direction being set to target status bar is for moving along y-axis, main detection is in the mobile changing conditions (that is, miles of relative movement) in the y-axis direction of y-axis, and determines whether that according to this miles of relative movement controlling application program reenters front stage operation. When user starts moving target status bar, the distance that target status bar moves in the y-axis direction starts to change, and when changing threshold value (that is, the predeterminable range) more than a setting, then controls application A pp and reenters front stage operation. If the distance slided in the y-axis direction does not exceed the threshold value (that is, predeterminable range) of setting, then target status bar returns to starting position, that is, the position of target status bar when initial sliding, and App does not enter front stage operation.
In embodiments of the present invention, when monitoring the first message, after control application program enters the running background of terminating unit, it is possible to record and preserve the page (that is, the final page) that application program finally shows. So that when App reenters front stage operation, by clicking or moving target status bar can enter the interface that App finally shows fast. Wherein, recording and the method that preserves the final page can be a definition base class (baseActivity), wherein, the function of this base class is record and preserve the browsing pages of application program; Then multiple subclass activity is preserved inside the method for the onCreat in this baseActivity, the baseActivity that the plurality of subclass activity inherits base class records and preserves the feature of the browsing pages of application program, therefore, can be recorded by multiple subclass activity and preserve the page of user's viewer applications, wherein, a subclass can be set to preserve a browsing pages. It should be noted that, in embodiments of the present invention, it is not limited to preserve multiple subclass inside the method for onCreat, multiple subclass activity can also be preserved inside the method for onStart and onResume, wherein, onCreat, onStart, onResume be in Android system in activity life cycle definition method.
Can selection of land, the first message that monitoring and measuring application program enters terminating unit running background comprises following two kinds of methods:
Method one:
The instruction of the target control key of monitoring terminal equipment, and the instruction monitored will be used for triggering instruction that application program enters running background as the first message.
The kind of target control key can have a variety of, and in embodiments of the present invention, target control key can be chosen for home key (that is, return key). Wherein, home key can trigger a lot of steering orders, such as, when user exits current application program by home key, meeting trigging control application program enters the instruction of running background, when monitoring this instruction, using this instruction as the first message, and then running background can be entered according to this Message recover signature application program.
Method two:
Using calling of the monitoring message that nonusable routine enters terminating unit front stage operation as the first message.
Except the instruction of above-mentioned monitoring objective operating key, it is also possible to by monitoring other message, determine the first message, such as, the message that other application programs enter the front stage operation of terminating unit is called in monitoring.
Fig. 3 is the schema of the treatment process of a kind of application program according to the optional embodiment of the present invention, and as shown in Figure 3, the method comprises the steps that S302 is to step S312:
Step S302, monitoring and measuring application program enters the first message of the running background of terminating unit.
Specifically, it is possible to carry out, by aforesaid method one and method two, the first message that monitoring and measuring application program enters the running background of terminating unit, no longer method one and method two are described herein.
Step S304, when monitoring the first message, the final page of records application program.
Specifically, when monitoring the first message, it is possible to the final page of user's viewer applications is recorded in onCreat, onStart, onResume method preserve multiple subclass activity in.
Step S306, control application program enters the running background of terminating unit.
Step S308, the target status bar of display application program in the foreground of terminating unit.
Specifically, after control application program enters running background, can on the foreground of terminating unit (such as, the display screen of mobile phone) middle display one simulation status bar is (namely, target status bar), it is in background operation state for prompting application program, and then it is not easy from the internal memory of terminating unit this application program to be removed.
Step S310, detection control application program enters the message of front stage operation.
Specifically, it is possible to by the way one and mode two described by method, carry out the message that detection control application program enters front stage operation, no longer the detection method of mode one and mode two repeated herein.
Step S312, when the message that control application program enters front stage operation being detected, control application program shows on the foreground of terminating unit.
It should be noted that, in embodiments of the present invention, the page of the foreground display that control application program enters terminating unit is the page (that is, the final page) that this application program finally shows.
In embodiments of the present invention, after control application journey enters running background, at the foreground display-object status bar of terminating unit, this target status bar is not easy to be eliminated after can effectively keeping App to enter backstage, and then when user enters this App again, avoid the process restarting this App, simplify operation steps. Meanwhile, after App enters backstage, by clicking or moving target status bar, can realizing the target reentering this App fast, operation is more simple, and Consumer's Experience is better.
The embodiment of the present invention additionally provides the treatment unit of a kind of application program, this treatment unit is mainly used in performing the treatment process of the application program that the embodiment of the present application foregoing provides, and the embodiment of the present invention is sent the treatment unit of the application program of offer do concrete introduction below.
Fig. 4 is the schematic diagram of the treatment unit of a kind of application program according to embodiments of the present invention, and as shown in Figure 4, the treatment unit of this application program mainly comprises detecting unit 10, first control unit 20 and display unit 30, wherein:
Monitoring means 10, enters the first message of the running background of terminating unit for monitoring and measuring application program.
In embodiments of the present invention, terminating unit can be the equipment such as mobile phone, panel computer, application program can the application program of any client terminal for being arranged in terminating unit, such as, the application program of the client terminal such as " micro-letter " and " mobile QQ ".
First control unit 20, for when monitoring the first message, control application program enters the running background of terminating unit.
Display unit 30, after entering running background in application program, the target status bar of display application program in the foreground of terminating unit, wherein, target status bar is used for prompting application program and is in running background.
In embodiments of the present invention, foreground can be the display interface of terminating unit, such as, and the screen of mobile phone, the screen etc. of panel computer; (namely target status bar can be shown in foreground with the form of suspended frame, the display interface of terminating unit) in, for pointing out this application program of user to enter the running background stage, wherein, in embodiments of the present invention, target status bar can be called again simulation status bar, namely simulates a hurdle mutually similar with existing status bar in mobile phone.
It should be noted that, under normal conditions, a corresponding application program of target status bar, namely a target status bar only controls an application program.
In embodiments of the present invention, the message entering backstage by application program in sense terminals equipment is (namely, first message) after, control application program enters running background, and display is used for the target status bar that prompting application program enters running background in the foreground of terminating unit, and then realize application program in the switching on foreground and backstage by this target status bar, the mode that backstage switches to foreground is realized relative to prior art needs the shortcut clicking this application program after application program enters running background, reach the object simplifying application program handoff procedure between foreground and backstage, thus achieve the technique effect that background application program switches to the foreground of terminating unit fast, and then solve application program in prior art and switch more loaded down with trivial details technical problem in the handoff procedure on foreground and backstage.
Can selection of land, display unit comprises: acquisition module, for obtain terminating unit backstage create destination service assembly, wherein, destination service assembly is for maintaining the running background of application program at terminating unit; Control module, serves assembly for control objectives and generates target status bar, and control objectives status bar is shown in the foreground of terminating unit.
Specifically, after application program (App) enters backstage, a destination service assembly (Service assembly) can be created on backstage, and obtain this Service assembly by calling acquisition module, and then generate target status bar inside the Service assembly created, then, the target status bar generated by calling control module control is shown in the foreground of terminating unit, such as, be shown in the display screen of mobile phone.
Can selection of land, treatment unit also comprises: the first detecting unit, after the target status bar for display application program in the foreground of terminating unit, detects the 2nd message that received by target status bar; 2nd control unit, for when the 2nd message being detected, control application program shows on the foreground of terminating unit, wherein, the final page of the foreground display application program of terminating unit, wherein, the page that when the final page is monitor the first message, application program shows on the terminal device.
In embodiments of the present invention, it is possible to the click monitor function of Offered target status bar. When user clicks this target status bar on the foreground of terminating unit, by the first detecting unit, target status bar detects that control application program reenters the message of front stage operation, this message is the 2nd message, and then, control this application program show in the foreground of terminating unit by calling the 2nd control unit, such as, show in the display interface of terminating unit. Now, in display interface, the page of the application program of display is the final page, when namely monitoring the first message, and the page that application program shows on the terminal device.
Can selection of land, treatment unit also comprises: the 2nd detecting unit, and after the target status bar for display application program in the foreground of terminating unit, detection is used to indicate the 3rd message of moving target status bar; Judging unit, for judging that target status bar carries out the miles of relative movement moved according to the 3rd message, wherein, miles of relative movement is vertical range at pre-determined direction between target status bar starting position and current position; 3rd control unit, if it is determined that go out miles of relative movement to be greater than or equal to predeterminable range, then control application program to show on the foreground of terminating unit, wherein, the final page of the foreground display application program of terminating unit, wherein, the page that when the final page is monitor the first message, application program shows on the terminal device; 4th control unit is less than predeterminable range if it is determined that go out miles of relative movement, then control objectives status bar returns starting position.
Specifically, the 3rd message of moving target status bar it is used to indicate by the 2nd detecting unit detection, after the 3rd message being detected, judge whether target status bar miles of relative movement in a predetermined direction is greater than or equal to predeterminable range by calling judging unit, when judging unit judges that miles of relative movement is greater than or equal to predeterminable range, shown on the foreground of terminating unit by the 3rd control unit control application program, when judging unit judges that miles of relative movement is less than predeterminable range, the position of initial sliding is returned to by the 4th control unit control objectives status bar.
Can selection of land, monitoring means comprises: the first monitoring determination module, for the instruction of the target control key of monitoring terminal equipment, and will be used for triggering instruction that application program enters running background in the instruction monitored as the first message;Or the 2nd monitoring determination module, for using calling of the monitoring message that nonusable routine enters terminating unit front stage operation as the first message.
Specifically, the kind of target control key can have a variety of, and in embodiments of the present invention, target control key can be chosen for home key (that is, return key). Wherein, home key can trigger a lot of steering orders, such as, when user exits current application program by home key, meeting trigging control application program enters the instruction of running background, when monitoring this instruction, using this instruction as the first message, and then running background can be entered according to this Message recover signature application program. Except the instruction of above-mentioned monitoring objective operating key, it is also possible to by monitoring other message, determine the first message, such as, the message that other application programs enter the front stage operation of terminating unit is called in monitoring.
Above-mentioned embodiment of the present invention sequence number, just to describing, does not represent the quality of embodiment.
In the above embodiment of the present invention, the description of each embodiment is all emphasized particularly on different fields, certain embodiment there is no the part described in detail, it is possible to see the associated description of other embodiments.
In several embodiments that the application provides, it should be appreciated that, disclosed technology contents, realizes by other mode. Wherein, device embodiment described above is only schematic, the such as division of described unit, can be that a kind of logic function divides, actual can have other dividing mode when realizing, such as multiple unit or assembly can in conjunction with or another system can be integrated into, or some features can be ignored, or does not perform. Another point, shown or discussed coupling each other or directly coupling or communication connection can be the indirect coupling by some interfaces, unit or module or communication connection, it is possible to be electrical or other form.
The described unit illustrated as separating component or can may not be and physically separates, and the parts as unit display can be or may not be physical location, namely can be positioned at a place, or can also be distributed on multiple unit. Some or all of unit wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it is also possible to is that the independent physics of each unit exists, it is also possible to two or more unit are in a unit integrated. Above-mentioned integrated unit both can adopt the form of hardware to realize, it is also possible to adopts the form of software functional unit to realize.
If described integrated unit realize using the form of software functional unit and as independent production marketing or when using, it is possible to be stored in a computer read/write memory medium. Based on such understanding, the technical scheme of the present invention in essence or says that part prior art contributed or all or part of of this technical scheme can embody with the form of software product, this computer software product is stored in a storage media, comprises some instructions with so that computer equipment (can be Personal Computer, server or the network equipment etc.) performs all or part of step of method described in each embodiment of the present invention. And aforesaid storage media comprises: USB flash disk, read-only storage (ROM, Read-OnlyMemory), random access memory (RAM, RandomAccessMemory), portable hard drive, magnetic disc or CD etc. various can be program code stored medium.
The above is only the preferred embodiment of the present invention; it is noted that for those skilled in the art, under the premise without departing from the principles of the invention; can also making some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (10)

1. the treatment process of an application program, it is characterised in that, comprising:
Monitoring and measuring application program enters the first message of the running background of terminating unit;
When monitoring described first message, control the running background that described application program enters described terminating unit;
After described application program enters running background, showing the target status bar of described application program in the foreground of described terminating unit, wherein, for pointing out, described application program is in running background to described target status bar.
2. method according to claim 1, it is characterised in that, the target status bar showing described application program in the foreground of described terminating unit comprises:
Obtaining the destination service assembly that the backstage of described terminating unit creates, wherein, described destination service assembly is for maintaining the running background of described application program at described terminating unit;
Control described destination service assembly and generate described target status bar, and control described target status bar and be shown in the foreground of described terminating unit.
3. method according to claim 1, it is characterised in that, after showing the target status bar of described application program in the foreground of described terminating unit, described method also comprises:
Detect the 2nd message received by described target status bar;
When described 2nd message being detected, control described application program to show on the foreground of described terminating unit, wherein, the foreground of described terminating unit shows the final page of described application program, wherein, the page that when the described final page is monitor described first message, described application program shows on described terminating unit.
4. method according to claim 1, it is characterised in that, it is characterised in that, after showing the target status bar of described application program in the foreground of described terminating unit, described method also comprises:
Detection is used to indicate the 3rd message of mobile described target status bar;
Judging whether the miles of relative movement that described target status bar carries out moving according to described 3rd message is greater than or equal to predeterminable range, wherein, described miles of relative movement is vertical range at pre-determined direction between described target status bar starting position and current position;
If it is determined that go out described miles of relative movement to be greater than or equal to described predeterminable range, then control described application program to show on the foreground of described terminating unit, wherein, the foreground of described terminating unit shows the final page of described application program, wherein, the page that when the described final page is monitor described first message, described application program shows on described terminating unit;
If it is determined that go out described miles of relative movement to be less than described predeterminable range, then control described target status bar and return described starting position.
5. method according to claim 1, it is characterised in that, the first message that monitoring and measuring application program enters terminating unit running background comprises:
Monitor the instruction of the target control key of described terminating unit, and the instruction monitored will be used for triggering instruction that described application program enters running background as described first message; Or
Using calling of the monitoring message that non-described application program enters described terminating unit front stage operation as described first message.
6. the treatment unit of an application program, it is characterised in that, comprising:
Monitoring means, enters the first message of the running background of terminating unit for monitoring and measuring application program;
First control unit, for when monitoring described first message, controlling the running background that described application program enters described terminating unit;
Display unit, after entering running background in described application program, shows the target status bar of described application program in the foreground of described terminating unit, and wherein, for pointing out, described application program is in running background to described target status bar.
7. device according to claim 6, it is characterised in that, described display unit comprises:
Acquisition module, creates destination service assembly for obtaining the backstage of described terminating unit, and wherein, described destination service assembly is for maintaining the running background of described application program at described terminating unit;
Control module, generates described target status bar for controlling described destination service assembly, and controls described target status bar and be shown in the foreground of described terminating unit.
8. device according to claim 6, it is characterised in that, described device also comprises:
First detecting unit, in the foreground of described terminating unit, show described application program target status bar after, detect the 2nd message received by described target status bar;
2nd control unit, for when described 2nd message being detected, control described application program to show on the foreground of described terminating unit, wherein, the foreground of described terminating unit shows the final page of described application program, wherein, the page that when the described final page is monitor described first message, described application program shows on described terminating unit.
9. device according to claim 6, it is characterised in that, it is characterised in that, described device also comprises:
2nd detecting unit, in the foreground of described terminating unit, show described application program target status bar after, detection is used to indicate the 3rd message of mobile described target status bar;
Judging unit, for judging that described target status bar carries out the miles of relative movement moved according to described 3rd message, wherein, described miles of relative movement is vertical range at pre-determined direction between described target status bar starting position and current position;
3rd control unit, if it is determined that go out described miles of relative movement to be greater than or equal to predeterminable range, then control described application program to show on the foreground of described terminating unit, wherein, the foreground of described terminating unit shows the final page of described application program, wherein, the page that when the described final page is monitor described first message, described application program shows on described terminating unit;
4th control unit is less than described predeterminable range if it is determined that go out described miles of relative movement, then control described target status bar and return described starting position.
10. device according to claim 6, it is characterised in that, described monitoring means comprises:
First monitoring determination module, for monitoring the instruction of the target control key of described terminating unit, and will be used for triggering instruction that described application program enters running background as described first message in the instruction monitored; Or
2nd monitoring determination module, for using calling of the monitoring message that non-described application program enters described terminating unit front stage operation as described first message.
CN201510993861.9A 2015-12-23 2015-12-23 Application program processing method and device Pending CN105653429A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510993861.9A CN105653429A (en) 2015-12-23 2015-12-23 Application program processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510993861.9A CN105653429A (en) 2015-12-23 2015-12-23 Application program processing method and device

Publications (1)

Publication Number Publication Date
CN105653429A true CN105653429A (en) 2016-06-08

Family

ID=56476873

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510993861.9A Pending CN105653429A (en) 2015-12-23 2015-12-23 Application program processing method and device

Country Status (1)

Country Link
CN (1) CN105653429A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107037958A (en) * 2016-10-28 2017-08-11 努比亚技术有限公司 The switching method and terminal of a kind of application program
CN107728890A (en) * 2017-11-07 2018-02-23 成都野望数码科技有限公司 A kind of navigation bar display methods and device and a kind of terminal device
CN108184021A (en) * 2017-12-28 2018-06-19 维沃移动通信有限公司 A kind of application operation condition control method and mobile terminal
CN110968237A (en) * 2018-09-30 2020-04-07 北京奇虎科技有限公司 Application program control method and device, mobile terminal and storage medium
CN114253627A (en) * 2021-12-02 2022-03-29 北京鲸鲮信息***技术有限公司 Application program status bar customizing method and device, electronic equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103793176A (en) * 2014-02-27 2014-05-14 朱印 Method and device for fast switching between application programs
CN104090720A (en) * 2014-04-10 2014-10-08 中兴通讯股份有限公司 Method for adjusting terminal window display based on gesture operation and device for adjusting terminal window display
CN104331488A (en) * 2014-11-13 2015-02-04 北京奇虎科技有限公司 Method, device and equipment for cleaning files based on floating windows
CN104572287A (en) * 2015-01-30 2015-04-29 西安酷派软件科技有限公司 Application state maintaining method, device and terminal for use in system switching
CN105094577A (en) * 2014-04-23 2015-11-25 小米科技有限责任公司 Method and apparatus for application switching
CN105117162A (en) * 2015-09-15 2015-12-02 广东欧珀移动通信有限公司 Application program page switching method and user terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103793176A (en) * 2014-02-27 2014-05-14 朱印 Method and device for fast switching between application programs
CN104090720A (en) * 2014-04-10 2014-10-08 中兴通讯股份有限公司 Method for adjusting terminal window display based on gesture operation and device for adjusting terminal window display
CN105094577A (en) * 2014-04-23 2015-11-25 小米科技有限责任公司 Method and apparatus for application switching
CN104331488A (en) * 2014-11-13 2015-02-04 北京奇虎科技有限公司 Method, device and equipment for cleaning files based on floating windows
CN104572287A (en) * 2015-01-30 2015-04-29 西安酷派软件科技有限公司 Application state maintaining method, device and terminal for use in system switching
CN105117162A (en) * 2015-09-15 2015-12-02 广东欧珀移动通信有限公司 Application program page switching method and user terminal

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107037958A (en) * 2016-10-28 2017-08-11 努比亚技术有限公司 The switching method and terminal of a kind of application program
CN107037958B (en) * 2016-10-28 2021-01-05 努比亚技术有限公司 Application program switching method and terminal
CN107728890A (en) * 2017-11-07 2018-02-23 成都野望数码科技有限公司 A kind of navigation bar display methods and device and a kind of terminal device
CN107728890B (en) * 2017-11-07 2020-07-03 北京字节跳动网络技术有限公司 Navigation bar display method and device and terminal equipment
CN108184021A (en) * 2017-12-28 2018-06-19 维沃移动通信有限公司 A kind of application operation condition control method and mobile terminal
CN110968237A (en) * 2018-09-30 2020-04-07 北京奇虎科技有限公司 Application program control method and device, mobile terminal and storage medium
CN110968237B (en) * 2018-09-30 2023-10-31 北京奇虎科技有限公司 Control method and device for application program, mobile terminal and storage medium
CN114253627A (en) * 2021-12-02 2022-03-29 北京鲸鲮信息***技术有限公司 Application program status bar customizing method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN105653429A (en) Application program processing method and device
CN102880401B (en) A kind of method and mobile terminal simplifying user interface buttons
EP2851790B1 (en) Method for displaying icon ranking and terminal device
CN103809845A (en) Mobile terminal supporting multi-application display and multi-application display method
CN103092469A (en) Terminal and icon moving method
US20140089842A1 (en) Method and device for interface display
CN104991704A (en) Screen-splitting method for terminal and terminal
CN104898952A (en) Terminal screen splitting implementing method and terminal
CN102360266A (en) Method and device for displaying on screen in area-dividing mode
CN102004687A (en) Mobile terminal and program running state display method of same
CN104932937A (en) Method and device for switching application program
CN103995660A (en) Window switching method and device for touch screen browser
CN103631482A (en) Display method and terminal of icons
CN102929540A (en) Desktop icon position adjusting method and mobile intelligent terminal
CN105045516A (en) Method and terminal for switching working mode
CN105468286A (en) Mobile terminal-based status bar operating method and mobile terminal thereof
CN104850328A (en) Method and device for selecting object of smartwatch
CN105955573A (en) Mobile terminal application switching method and system
CN105430183A (en) Method for mobile terminal to switch account and mobile terminal
CN105094550A (en) Movement operation method and device for desktop icons
CN104679392A (en) Page display method and device based on status bar
CN103399711A (en) Display control method of pop-up window and terminal
CN108681431A (en) Control method, device and the mobile terminal of concealed space
CN104715026A (en) Folder management method and intelligent terminal
CN103870186A (en) Input method and input device of touch-screen electronic device

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20160608