CN105677473A - Method and device for switching application program - Google Patents

Method and device for switching application program Download PDF

Info

Publication number
CN105677473A
CN105677473A CN201610110149.4A CN201610110149A CN105677473A CN 105677473 A CN105677473 A CN 105677473A CN 201610110149 A CN201610110149 A CN 201610110149A CN 105677473 A CN105677473 A CN 105677473A
Authority
CN
China
Prior art keywords
application program
backstage
order information
chemical reaction
switched
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.)
Granted
Application number
CN201610110149.4A
Other languages
Chinese (zh)
Other versions
CN105677473B (en
Inventor
刘小华
张友明
陈臻
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201610110149.4A priority Critical patent/CN105677473B/en
Publication of CN105677473A publication Critical patent/CN105677473A/en
Application granted granted Critical
Publication of CN105677473B publication Critical patent/CN105677473B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/48Indexing scheme relating to G06F9/48
    • G06F2209/482Application

Abstract

The invention discloses a method and device for switching an application program, and belongs to the field of electronic technologies.The method comprises the steps that the number of current continuous clicks on a target button of a terminal is detected; according to a corresponding relationship of the pre-stored number of the continuous clicks and background sequence information of the application program to be switched, first background sequence information corresponding to the current number of the continuous clicks is determined, wherein the background sequence information is used for marking the sequence that the application program switches to a background; in the application program operating in the background, a first application program corresponding to the first background sequence information is determined, and the first application program is switched to a foreground to operate.By means of the method and device for switching the application program, the switching efficiency of the application program can be improved.

Description

A kind of method and apparatus switching application program
Technical field
The disclosure is directed to electronic technology field, especially with respect to a kind of method and apparatus switching application program.
Background technology
Along with the development of electronic technology, the application of the mobile terminals such as mobile phone is more and more extensive, and the performance of terminal is also increasingly stronger, and terminal can run multiple application program simultaneously.
General only one of which application program can operate in the foreground of terminal, the application hides of other operations is on backstage, when user wants that just at the application program of running background, certain is switched to front stage operation, generally require and first recall the application list of running background from sliding to top bottom terminal, then selecting a certain application program from list, this application program then can be switched to front stage operation by terminal.
In the process realizing the disclosure, inventor have found that and at least there is problems in that
Based on above-mentioned changing method, when user needs the application program switching any one running background, it is required for first operation and recalls the application list of running background, then select the application program that oneself will switch wherein, thus, cause that the switching efficiency of application program is relatively low.
Summary of the invention
In order to overcome Problems existing in correlation technique, present disclose provides a kind of method and apparatus switching application program. Described technical scheme is as follows:
First aspect according to disclosure embodiment, it is provided that a kind of method switching application program, described method includes:
Detect the adopting consecutive click chemical reaction number of times that the target button of terminal is current;
Corresponding relation according to the adopting consecutive click chemical reaction number of times prestored Yu the backstage order information of to be switched application program, determine the first backstage order information that described current adopting consecutive click chemical reaction number of times is corresponding, wherein, described backstage order information switches to the order on backstage for labelling application program;
In the application program of running background, it is determined that the first application program that described first backstage order information is corresponding, described first application program is switched to front stage operation.
Optionally, in the described adopting consecutive click chemical reaction number of times corresponding relation with the backstage order information of to be switched application program, backstage order information corresponding to described adopting consecutive click chemical reaction times N is: switching to time on backstage arranges N-a position by by near to remote order relative to current time, wherein, a is default positive integer.
As such, it is possible to improve the switching efficiency coming application program above.
Optionally, described in the application program of running background, it is determined that the first application program that described first backstage order information is corresponding, described first application program is switched to front stage operation, including:
In the application program of running background, determine the first application program that described first backstage order information is corresponding, if there is currently the second application program of front stage operation, then described second application program is switched to backstage, and described first application program is switched to front stage operation.
Optionally, described in the application program of running background, it is determined that the first application program that described first backstage order information is corresponding, described first application program is switched to front stage operation, including:
In the application program of running background, it is determined that the first application program that described first backstage order information is corresponding, show the icon of described first application program;
If it is again clicked to be not detected by described target button in the preset duration after described target button is clicked, then cancel the display of described icon, and described first application program is switched to front stage operation, wherein said preset duration judges duration threshold value equal to the double hit of the described target button preset.
As such, it is possible to facilitate user's switching to each application program of running background, it is possible to promote Consumer's Experience.
Optionally, described target button includes homepage key, return key or Menu key.
Second aspect according to disclosure embodiment, it is provided that a kind of device switching application program, described device includes:
Detection module, the adopting consecutive click chemical reaction number of times current for detecting the target button of terminal;
Determine module, for the corresponding relation according to the adopting consecutive click chemical reaction number of times prestored with the backstage order information of to be switched application program, determine the first backstage order information that described current adopting consecutive click chemical reaction number of times is corresponding, wherein, described backstage order information switches to the order on backstage for labelling application program;
Handover module, in the application program of running background, it is determined that the first application program that described first backstage order information is corresponding, switches to front stage operation by described first application program.
Optionally, in the described adopting consecutive click chemical reaction number of times corresponding relation with the backstage order information of to be switched application program, backstage order information corresponding to described adopting consecutive click chemical reaction times N is: switching to time on backstage arranges N-a position by by near to remote order relative to current time, wherein, a is default positive integer.
Optionally, described handover module, it is used for:
In the application program of running background, determine the first application program that described first backstage order information is corresponding, if there is currently the second application program of front stage operation, then described second application program is switched to backstage, and described first application program is switched to front stage operation.
Optionally, described handover module, including:
Determine submodule, in the application program of running background, it is determined that the first application program that described first backstage order information is corresponding, show the icon of described first application program;
Switching submodule, if it is again clicked for being not detected by described target button in the preset duration after described target button is clicked, then cancel the display of described icon, and described first application program is switched to front stage operation, wherein said preset duration judges duration threshold value equal to the double hit of the described target button preset.
Optionally, described target button includes homepage key, return key or Menu key.
The third aspect according to disclosure embodiment, it is provided that a kind of device switching application program, including:
Processor;
For storing the memorizer of processor executable;
Wherein, described processor is configured to:
Detect the adopting consecutive click chemical reaction number of times that the target button of terminal is current;
Corresponding relation according to the adopting consecutive click chemical reaction number of times prestored Yu the backstage order information of to be switched application program, determine the first backstage order information that described current adopting consecutive click chemical reaction number of times is corresponding, wherein, described backstage order information switches to the order on backstage for labelling application program;
In the application program of running background, it is determined that the first application program that described first backstage order information is corresponding, described first application program is switched to front stage operation.
Embodiment of the disclosure that the technical scheme of offer can include following beneficial effect:
In disclosure embodiment, detect the adopting consecutive click chemical reaction number of times that the target button of terminal is current, corresponding relation according to the adopting consecutive click chemical reaction number of times prestored Yu the backstage order information of to be switched application program, determine the first backstage order information that current adopting consecutive click chemical reaction number of times is corresponding, wherein, backstage order information switches to the order on backstage for labelling application program, in the application program of running background, determine the first application program that the first backstage order information is corresponding, the first application program is switched to front stage operation. So, user recalls the application list of running background without operation, the application program of corresponding running background can be switched to front stage operation by adopting consecutive click chemical reaction target button, it is thus possible to improve the switching efficiency of application program.
It should be appreciated that it is only exemplary and explanatory that above general description and details hereinafter describe, the disclosure can not be limited.
Accompanying drawing explanation
Accompanying drawing herein is merged in description and constitutes the part of this specification, it is shown that meets and embodiment of the disclosure, and for explaining the principle of the disclosure together with description. In the accompanying drawings:
Fig. 1 is the flow chart of a kind of method switching application program according to an exemplary embodiment;
Fig. 2 is the one switching schematic diagram according to an exemplary embodiment;
Fig. 3 is the one display schematic diagram according to an exemplary embodiment;
Fig. 4 is a kind of apparatus structure schematic diagram switching application program according to an exemplary embodiment;
Fig. 5 is a kind of apparatus structure schematic diagram switching application program according to an exemplary embodiment;
Fig. 6 is the structural representation of a kind of terminal according to an exemplary embodiment.
By above-mentioned accompanying drawing, it has been shown that the embodiment that the disclosure is clear and definite, will there is more detailed description hereinafter. These accompanying drawings and word describe the scope being not intended to be limited disclosure design by any mode, but are the concept that those skilled in the art illustrate the disclosure by reference specific embodiment.
Detailed description of the invention
Here in detail exemplary embodiment being illustrated, its example representation is in the accompanying drawings. When as explained below relates to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represents same or analogous key element. Embodiment described in following exemplary embodiment does not represent all embodiments consistent with the disclosure. On the contrary, they only with in appended claims describe in detail, the disclosure some in the example of consistent apparatus and method.
The disclosure one exemplary embodiment provides a kind of method switching application program, as it is shown in figure 1, the method may be used in terminal, wherein, this terminal can be the mobile terminal such as mobile phone, panel computer.Terminal can be provided with processor, memorizer, processor may be used for the number of clicks of detection target button, determine the application program that number of clicks is corresponding, and application program is switched to the relevant treatment of front stage operation, memorizer may be used for storing the data needing in following processing procedure and producing.
In a step 101, the adopting consecutive click chemical reaction number of times that the target button of terminal is current is detected.
In force, the terminal such as mobile phone, panel computer often runs multiple application programs that user starts simultaneously, such as, together with time run rice chat, the application program such as sky cat, the application program simultaneously run removes the application program operating in foreground, other application programs are all at running background, and certain application program of running background can be switched to foreground according to the demand of oneself by user. The triggering event of switching application program can be pre-set, it can be the click event of certain button (being properly termed as target button) of terminal, it can be the application program of the different running background that the adopting consecutive click chemical reaction number of times difference of target button is corresponding, wherein, target button can be homepage key, return key or Menu key.
Terminal can detect the adopting consecutive click chemical reaction number of times that the target button of terminal is current, wherein, for touch key-press, number of clicks can be that touch key-press is touched number of times continuously, for mechanical key, number of clicks can be the machinery compression number continuously to mechanical key. the interval duration between adjacent click can be pre-set, namely double hit judges duration threshold value, it can be such as 0.1 second, when terminal first it is detected that during the clicking operation of target button, often when double hit judges clicking operation target button being detected in duration threshold value, current number of clicks can be incremented by by terminal successively, such as, judge that duration threshold value was as 0.1 second for double hit, when terminal detects the clicking operation of target button, when the clicking operation of target button again being detected in 0.1 second, namely current adopting consecutive click chemical reaction number of times can be designated as 2 by terminal, with identical processing mode, current adopting consecutive click chemical reaction number of times is incremented by successively, namely when the adopting consecutive click chemical reaction number of times that target terminal is current is N, the click interval (namely double hit judges duration threshold value) of often adjacent twice is both less than 0.1 second, when exceeding double hit and judging that duration threshold value does not also receive clicking operation next time, namely terminal thinks that adopting consecutive click chemical reaction is over, exceed double hit and judge that the clicking operation that receives of duration threshold value is not belonging to the operation of this adopting consecutive click chemical reaction, it is not counted. based on above-mentioned double hit decision method, the adopting consecutive click chemical reaction number of times that the target button of terminal detection is current can to there being two kinds of situations, situation one, the current adopting consecutive click chemical reaction number of times of target button can be the adopting consecutive click chemical reaction number of times after current adopting consecutive click chemical reaction terminates, namely judge, in double hit, the final number of clicks that duration threshold value is corresponding when being not received by once clicking, situation two, the current adopting consecutive click chemical reaction number of times of target button can also be the number of clicks after often increasing one click number of times in current adopting consecutive click chemical reaction, namely judge that duration threshold value is not received by number of clicks when once clicking as N in double hit, the adopting consecutive click chemical reaction number of times that the target button of terminal detection is current can be 2 any integer value arriving N.
In a step 102, corresponding relation according to the adopting consecutive click chemical reaction number of times prestored Yu the backstage order information of to be switched application program, determining the first backstage order information that current adopting consecutive click chemical reaction number of times is corresponding, wherein, backstage order information switches to the order on backstage for labelling application program.
In force, terminal can prestore the corresponding relation of adopting consecutive click chemical reaction number of times and the backstage order information of to be switched application program, wherein, backstage order information may be used for labelling application program and switches to the order on backstage, namely can be used to indicate that the application program of running background switches to the sequencing on backstage, it can be station location marker, the backstage order information of adopting consecutive click chemical reaction number of times and to be switched application program has one-to-one relationship, application program and its backstage order information are also one-to-one relationships, as shown in table 1.Additionally, the backstage sequence identification that can make the up-to-date application program switching to backstage is minimum, the backstage sequence identification that can also make the up-to-date application program switching to backstage is maximum, that is, if there is the application list of running background, the up-to-date application program switching to backstage can be placed on the foremost of list, the up-to-date application program switching to backstage can also be placed on list backmost, no matter with which kind of situation sort, be all be sequentially carried out sequence according to the sequencing switching to backstage. After terminal detects the adopting consecutive click chemical reaction number of times that the target button of terminal is current, it is possible to obtain the backstage order information (being properly termed as the first backstage order information) that adopting consecutive click chemical reaction number of times is corresponding.
Table 1
Adopting consecutive click chemical reaction number of times Backstage order information Application program
2 4 A
3 3 B
4 2 C
5 1 D
In step 103, in the application program of running background, it is determined that the first application program that the first backstage order information is corresponding, the first application program is switched to front stage operation.
In force, after terminal determines the first backstage order information, it is possible to the corresponding relation according to application program Yu backstage order information, it is determined that the first application program that the first backstage order information is corresponding, it is possible to the first application program is switched to front stage operation. Additionally, for the situation that the first application program is switched to foreground, the current adopting consecutive click chemical reaction number of times of target button of terminal detection can be the implication of the adopting consecutive click chemical reaction number of times described in above-mentioned situation one, namely step 102 can be after this adopting consecutive click chemical reaction terminates, determine the first backstage order information that final adopting consecutive click chemical reaction number of times is corresponding, it is not necessary to determine the backstage order information that each adopting consecutive click chemical reaction number of times is corresponding.
In disclosure embodiment, detect the adopting consecutive click chemical reaction number of times that the target button of terminal is current, corresponding relation according to the adopting consecutive click chemical reaction number of times prestored Yu the backstage order information of to be switched application program, determine the first backstage order information that current adopting consecutive click chemical reaction number of times is corresponding, wherein, backstage order information switches to the order on backstage for labelling application program, in the application program of running background, determine the first application program that the first backstage order information is corresponding, the first application program is switched to front stage operation. So, user recalls the application list of running background without operation, the application program of corresponding running background can be switched to front stage operation by adopting consecutive click chemical reaction target button, it is thus possible to improve the switching efficiency of application program.
Disclosure another exemplary embodiment provides a kind of method switching application program, as it is shown in figure 1, the method may be used in terminal, wherein, this terminal can be the mobile terminal such as mobile phone, panel computer. Terminal can be provided with processor, memorizer, processor may be used for the number of clicks of detection target button, determine the application program that number of clicks is corresponding, and application program is switched to the relevant treatment of front stage operation, memorizer may be used for storing the data needing in following processing procedure and producing.
Below in conjunction with embodiment, the handling process shown in Fig. 1 being described in detail, content can be such that
In a step 101, the adopting consecutive click chemical reaction number of times that the target button of terminal is current is detected.
In force, the terminal such as mobile phone, panel computer often runs multiple application programs that user starts simultaneously, such as, together with time run rice chat, the application program such as sky cat, the application program simultaneously run removes the application program operating in foreground, other application programs are all at running background, and certain application program of running background can be switched to foreground according to the demand of oneself by user. ?he tip plant は Fructus Citri grandiss in the ninth of the ten Heavenly Stems thank wave τ trade silk ribbon horsefly thumb シ (6) record the ? ? tip permit to invade cut the Ai Chun ? that where pulls and be properly termed as target button) click event, it can be the application program of the different running background that the adopting consecutive click chemical reaction number of times difference of target button is corresponding, wherein, target button can be homepage key, return key or Menu key.
Terminal can detect the adopting consecutive click chemical reaction number of times that the target button of terminal is current, wherein, for touch key-press, number of clicks can be that touch key-press is touched number of times continuously, for mechanical key, number of clicks can be the machinery compression number continuously to mechanical key. the interval duration between adjacent click can be pre-set, namely double hit judges duration threshold value, it can be such as 0.1 second, when terminal first it is detected that during the clicking operation of target button, often when double hit judges clicking operation target button being detected in duration threshold value, current number of clicks can be incremented by by terminal successively, such as, judge that duration threshold value was as 0.1 second for double hit, when terminal detects the clicking operation of target button, when the clicking operation of target button again being detected in 0.1 second, namely current adopting consecutive click chemical reaction number of times can be designated as 2 by terminal, with identical processing mode, current adopting consecutive click chemical reaction number of times is incremented by successively, namely when the adopting consecutive click chemical reaction number of times that target terminal is current is N, the click interval (namely double hit judges duration threshold value) of often adjacent twice is both less than 0.1 second, when exceeding double hit and judging that duration threshold value does not also receive clicking operation next time, namely terminal thinks that adopting consecutive click chemical reaction is over, exceed double hit and judge that the clicking operation that receives of duration threshold value is not belonging to the operation of this adopting consecutive click chemical reaction, it is not counted. based on above-mentioned double hit decision method, the adopting consecutive click chemical reaction number of times that the target button of terminal detection is current can to there being two kinds of situations, situation one, the current adopting consecutive click chemical reaction number of times of target button can be the adopting consecutive click chemical reaction number of times after current adopting consecutive click chemical reaction terminates, namely judge, in double hit, the final number of clicks that duration threshold value is corresponding when being not received by once clicking, situation two, the current adopting consecutive click chemical reaction number of times of target button can also be the number of clicks after often increasing one click number of times in current adopting consecutive click chemical reaction, namely judge that duration threshold value is not received by number of clicks when once clicking as N in double hit, the adopting consecutive click chemical reaction number of times that the target button of terminal detection is current can be 2 any integer value arriving N.
In a step 102, corresponding relation according to the adopting consecutive click chemical reaction number of times prestored Yu the backstage order information of to be switched application program, determining the first backstage order information that current adopting consecutive click chemical reaction number of times is corresponding, wherein, backstage order information switches to the order on backstage for labelling application program.
In force, terminal can prestore the corresponding relation of adopting consecutive click chemical reaction number of times and the backstage order information of to be switched application program, wherein, backstage order information may be used for labelling application program and switches to the order on backstage, namely can be used to indicate that the application program of running background switches to the sequencing on backstage, it can be station location marker, the backstage order information of adopting consecutive click chemical reaction number of times and to be switched application program has one-to-one relationship, application program and its backstage order information are also one-to-one relationships, as shown in table 1. Additionally, the backstage sequence identification that can make the up-to-date application program switching to backstage is minimum, the backstage sequence identification that can also make the up-to-date application program switching to backstage is maximum, that is, if there is the application list of running background, the up-to-date application program switching to backstage can be placed on the foremost of list, the up-to-date application program switching to backstage can also be placed on list backmost, no matter with which kind of situation sort, be all be sequentially carried out sequence according to the sequencing switching to backstage. After terminal detects the adopting consecutive click chemical reaction number of times that the target button of terminal is current, it is possible to obtain the backstage order information (being properly termed as the first backstage order information) that adopting consecutive click chemical reaction number of times is corresponding.
Table 1
Adopting consecutive click chemical reaction number of times Backstage order information Application program
2 4 A
3 3 B
4 2 C
5 1 D
Optionally, in the adopting consecutive click chemical reaction number of times corresponding relation with the backstage order information of to be switched application program, backstage order information corresponding to adopting consecutive click chemical reaction times N is: the time switching to backstage arranges N-a position by by near to remote order relative to current time, and wherein, a is default positive integer.
In force, when arranging adopting consecutive click chemical reaction number of times with the corresponding relation of the backstage order information of to be switched application program, the order that can make the to be switched application program of the more few correspondence of adopting consecutive click chemical reaction number of times is corresponding, namely the backstage order information that adopting consecutive click chemical reaction times N is corresponding is: the time switching to backstage arranges N-a position relative to current time by by nearly extremely remote order, wherein, a is default positive integer. Preferably, the time gap current time switching to backstage that can make the more few correspondence of adopting consecutive click chemical reaction number of times is more near, namely backstage order information corresponding for adopting consecutive click chemical reaction times N can be set to: the time switching to backstage arranges N-1 position relative to current time by by nearly extremely remote order, as shown in table 2.
Table 2
Adopting consecutive click chemical reaction number of times Order ranking Application program
2 1 A
3 2 B
4 3 C
5 4 D
In step 103, in the application program of running background, it is determined that the first application program that the first backstage order information is corresponding, the first application program is switched to front stage operation.
In force, after terminal determines the first backstage order information, it is possible to the corresponding relation according to application program Yu backstage order information, it is determined that the first application program that the first backstage order information is corresponding, it is possible to the first application program is switched to front stage operation. Additionally, for the situation that the first application program is switched to foreground, the current adopting consecutive click chemical reaction number of times of target button of terminal detection can be the implication of the adopting consecutive click chemical reaction number of times described in above-mentioned situation one, namely step 102 can be after this adopting consecutive click chemical reaction terminates, determine the first backstage order information that final adopting consecutive click chemical reaction number of times is corresponding, it is not necessary to determine the backstage order information that each adopting consecutive click chemical reaction number of times is corresponding.
Optionally, when the adopting consecutive click chemical reaction number of times that target button terminal being detected is current, when there is front stage operation application program, can switching it to running background, accordingly, the processing procedure of step 103 can be such that in the application program of running background, determine the first application program that the first backstage order information is corresponding, if there is currently the second application program of front stage operation, then the second application program is switched to backstage, and the first application program is switched to front stage operation.
In force, after terminal determines the first backstage order information, can in the application program of running background, corresponding relation according to application program Yu backstage order information, determine the first application program that the first backstage order information is corresponding, if be detected that there is the second application program of front stage operation during the current adopting consecutive click chemical reaction number of times of the target button of terminal, second application program can be switched to backstage by terminal, and the first application program is switched to front stage operation, such as, as shown in Figure 2, when user's adopting consecutive click chemical reaction number of times is 2, just address list at front stage operation then can be switched to running background by terminal, and little application program (i.e. the first application program) of chatting is switched to front stage operation.
Optionally, terminal can also when being incremented by number of clicks every time, the icon of the application program that display is corresponding, accordingly, the processing procedure of step 103 can be such that in the application program of running background, determine the first application program that the first backstage order information is corresponding, show the icon of the first application program;If it is again clicked to be not detected by target button in the preset duration after target button is clicked, then cancelling the display of icon, and the first application program is switched to front stage operation, wherein preset duration judges duration threshold value equal to the double hit of the target button preset.
Wherein, icon can be the mark of application program, it is possible to be desktop shortcuts figure, it is also possible to be this application program surface chart when switching to backstage.
In force, the current adopting consecutive click chemical reaction number of times of target button of terminal detection can be the implication of the adopting consecutive click chemical reaction number of times described in above-mentioned situation two, namely when being incremented by adopting consecutive click chemical reaction number of times every time, obtain the first backstage order information that the adopting consecutive click chemical reaction number of times of detection is corresponding in real time, and in the application program of running background, determine the first application program that the first backstage order information is corresponding, now, triggering terminal will eject icon display window, as shown in Figure 3, this icon display window can show the icon of the first application program, be such as desktop shortcuts figure. if it is again clicked to be not detected by target button in the preset duration that terminal is after target button is clicked, wherein, preset duration can be equal to the double hit of the described target button preset and judge duration threshold value, namely when the operation of this adopting consecutive click chemical reaction terminates, terminal can cancel the display of icon, and the first application program can be switched to front stage operation, that is, start to end in adopting consecutive click chemical reaction operation, terminal will detect that the clicking operation each time of centre, and adopting consecutive click chemical reaction number of times is incremented by successively, and determine the backstage order information that each middle number of clicks is corresponding, and determine the application program that this backstage order information is corresponding, and then, the icon of application program can be shown, after adopting consecutive click chemical reaction operation terminates, namely judge to be not detected by target button in duration threshold value in the double hit of target button again clicked, now, the display of icon can be cancelled, corresponding application program is switched to front stage operation, namely simply when the adopting consecutive click chemical reaction of user operates end, corresponding application program is switched to front stage operation.
In disclosure embodiment, detect the adopting consecutive click chemical reaction number of times that the target button of terminal is current, corresponding relation according to the adopting consecutive click chemical reaction number of times prestored Yu the backstage order information of to be switched application program, determine the first backstage order information that current adopting consecutive click chemical reaction number of times is corresponding, wherein, backstage order information switches to the order on backstage for labelling application program, in the application program of running background, determine the first application program that the first backstage order information is corresponding, the first application program is switched to front stage operation. So, user recalls the application list of running background without operation, the application program of corresponding running background can be switched to front stage operation by adopting consecutive click chemical reaction target button, it is thus possible to improve the switching efficiency of application program.
Disclosure further example embodiment provides a kind of device switching application program, and as shown in Figure 4, this device includes:
Detection module 410, the adopting consecutive click chemical reaction number of times current for detecting the target button of terminal;
Determine module 420, for the corresponding relation according to the adopting consecutive click chemical reaction number of times prestored with the backstage order information of to be switched application program, determine the first backstage order information that described current adopting consecutive click chemical reaction number of times is corresponding, wherein, described backstage order information switches to the order on backstage for labelling application program;
Handover module 430, in the application program of running background, it is determined that the first application program that described first backstage order information is corresponding, switches to front stage operation by described first application program.
Optionally, in the described adopting consecutive click chemical reaction number of times corresponding relation with the backstage order information of to be switched application program, backstage order information corresponding to described adopting consecutive click chemical reaction times N is: switching to time on backstage arranges N-a position by by near to remote order relative to current time, wherein, a is default positive integer.
Optionally, described handover module 430, it is used for:
In the application program of running background, determine the first application program that described first backstage order information is corresponding, if there is currently the second application program of front stage operation, then described second application program is switched to backstage, and described first application program is switched to front stage operation.
Optionally, as it is shown in figure 5, described handover module 430, including:
Determine submodule 4301, in the application program of running background, it is determined that the first application program that described first backstage order information is corresponding, show the icon of described first application program;
Switching submodule 4302, if it is again clicked for being not detected by described target button in the preset duration after described target button is clicked, then cancel the display of described icon, and described first application program is switched to front stage operation, wherein said preset duration judges duration threshold value equal to the double hit of the described target button preset.
Optionally, described target button includes homepage key, return key or Menu key.
About the device in above-described embodiment, the concrete mode that wherein modules performs to operate has been described in detail in about the embodiment of the method, and explanation will be not set forth in detail herein.
In disclosure embodiment, detect the adopting consecutive click chemical reaction number of times that the target button of terminal is current, corresponding relation according to the adopting consecutive click chemical reaction number of times prestored Yu the backstage order information of to be switched application program, determine the first backstage order information that current adopting consecutive click chemical reaction number of times is corresponding, wherein, backstage order information switches to the order on backstage for labelling application program, in the application program of running background, determine the first application program that the first backstage order information is corresponding, the first application program is switched to front stage operation. So, user recalls the application list of running background without operation, the application program of corresponding running background can be switched to front stage operation by adopting consecutive click chemical reaction target button, it is thus possible to improve the switching efficiency of application program.
It should be understood that the device switching application program that above-described embodiment provides is when switching application program, only it is illustrated with the division of above-mentioned each functional module, in practical application, as desired above-mentioned functions distribution can be completed by different functional modules, it is divided into different functional modules, to complete all or part of function described above by the internal structure of terminal. It addition, the device of switching application program that above-described embodiment provides belongs to same design with the embodiment of the method for switching application program, it implements process and refers to embodiment of the method, repeats no more here.
The another exemplary embodiment of the disclosure illustrates the structural representation of a kind of terminal. This terminal can be mobile phone etc.
With reference to Fig. 6, terminal 600 can include following one or more assembly: processes assembly 602, memorizer 604, power supply module 606, multimedia groupware 608, audio-frequency assembly 610, the interface 612 of input/output (I/O), sensor cluster 614, and communications component 616.
Process assembly 602 and generally control the integrated operation of terminal 600, such as with display, call, data communication, the operation that camera operation and record operation are associated. Treatment element 602 can include one or more processor 620 to perform instruction, to complete all or part of step of above-mentioned method. Additionally, process assembly 602 can include one or more module, it is simple to what process between assembly 602 and other assemblies is mutual. Such as, processing component 602 can include multi-media module, with facilitate multimedia groupware 608 and process between assembly 602 mutual.
Memorizer 604 is configured to store various types of data to support the operation in terminal 600. The example of these data includes any application program for operation in terminal 600 or the instruction of method, contact data, telephone book data, message, picture, video etc. Memorizer 604 can be realized by any kind of volatibility or non-volatile memory device or their combination, such as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM), read only memory (ROM), magnetic memory, flash memory, disk or CD.
The various assemblies that electric power assembly 606 is terminal 600 provide electric power. Electric power assembly 606 can include power-supply management system, one or more power supplys, and other generate, manage and distribute, with for audio output apparatus 600, the assembly that electric power is associated.
Multimedia groupware 608 includes the screen providing an output interface between described terminal 600 and user. In certain embodiments, screen can include liquid crystal display (LCD) and touch panel (TP). If screen includes touch panel, screen may be implemented as touch screen, to receive the input signal from user. Touch panel includes one or more touch sensor to sense the gesture on touch, slip and touch panel. Described touch sensor can not only sense the border of touch or sliding action, but also detects the persistent period relevant to described touch or slide and pressure. In certain embodiments, multimedia groupware 608 includes a front-facing camera and/or post-positioned pick-up head. When terminal 600 is in operator scheme, during such as screening-mode or video mode, front-facing camera and/or post-positioned pick-up head can receive the multi-medium data of outside. Each front-facing camera and post-positioned pick-up head can be a fixing optical lens system or have focal length and optical zoom ability.
Audio-frequency assembly 610 is configured to output and/or input audio signal. Such as, audio-frequency assembly 610 includes a mike (MIC), and when audio output apparatus 600 is in operator scheme, during such as call model, logging mode and speech recognition mode, mike is configured to receive external audio signal. The audio signal received can be further stored at memorizer 604 or send via communications component 616.
I/O interface 612 provides interface for processing between assembly 602 and peripheral interface module, above-mentioned peripheral interface module can be keyboard, puts striking wheel, button etc. These buttons may include but be not limited to: home button, volume button, startup button and locking press button.
Sensor cluster 614 includes one or more sensor, for providing the state estimation of various aspects for terminal 600. Such as, what sensor cluster 614 can detect terminal 600 opens/closed mode, the relative localization of assembly, such as described assembly is display and the keypad of terminal 600, sensor cluster 614 can also detect terminal 600 or the position change of 600 1 assemblies of terminal, the presence or absence that user contacts with terminal 600, the variations in temperature of terminal 600 orientation or acceleration/deceleration and terminal 600.Sensor cluster 614 can include proximity transducer, is configured to when not having any physical contact object near detection. Sensor cluster 614 can also include optical sensor, such as CMOS or ccd image sensor, for using in imaging applications. In certain embodiments, this sensor cluster 614 can also include acceleration transducer, gyro sensor, Magnetic Sensor, pressure transducer or temperature sensor.
Communications component 616 is configured to facilitate between terminal 600 and other equipment the communication of wired or wireless mode. Terminal 600 can access the wireless network based on communication standard, such as WiFi, 2G or 3G, or their combination. In one exemplary embodiment, communication component 616 receives the broadcast singal or the broadcast related information that manage system from external broadcasting via broadcast channel. In one exemplary embodiment, described communication component 616 also includes near-field communication (NFC) module, to promote junction service. Such as, can based on RF identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, bluetooth (BT) technology and other technologies realize.
In the exemplary embodiment, terminal 600 can be realized by one or more application specific integrated circuits (ASIC), digital signal processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components, is used for performing said method.
In the exemplary embodiment, additionally providing a kind of non-transitory computer-readable recording medium including instruction, for instance include the memorizer 604 of instruction, above-mentioned instruction can have been performed said method by the processor 620 of terminal 600. Such as, described non-transitory computer-readable recording medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc.
A kind of non-transitory computer-readable recording medium, when the instruction in described storage medium is performed by the processor of terminal so that terminal is able to carry out a kind of method switching application program, and the method includes:
Detect the adopting consecutive click chemical reaction number of times that the target button of terminal is current;
Corresponding relation according to the adopting consecutive click chemical reaction number of times prestored Yu the backstage order information of to be switched application program, determine the first backstage order information that described current adopting consecutive click chemical reaction number of times is corresponding, wherein, described backstage order information switches to the order on backstage for labelling application program;
In the application program of running background, it is determined that the first application program that described first backstage order information is corresponding, described first application program is switched to front stage operation.
Optionally, in the described adopting consecutive click chemical reaction number of times corresponding relation with the backstage order information of to be switched application program, backstage order information corresponding to described adopting consecutive click chemical reaction times N is: switching to time on backstage arranges N-a position by by near to remote order relative to current time, wherein, a is default positive integer.
Optionally, described in the application program of running background, it is determined that the first application program that described first backstage order information is corresponding, described first application program is switched to front stage operation, including:
In the application program of running background, determine the first application program that described first backstage order information is corresponding, if there is currently the second application program of front stage operation, then described second application program is switched to backstage, and described first application program is switched to front stage operation.
Optionally, described in the application program of running background, it is determined that the first application program that described first backstage order information is corresponding, described first application program is switched to front stage operation, including:
In the application program of running background, it is determined that the first application program that described first backstage order information is corresponding, show the icon of described first application program;
If it is again clicked to be not detected by described target button in the preset duration after described target button is clicked, then cancel the display of described icon, and described first application program is switched to front stage operation, wherein said preset duration judges duration threshold value equal to the double hit of the described target button preset.
Optionally, described target button includes homepage key, return key or Menu key.
In disclosure embodiment, detect the adopting consecutive click chemical reaction number of times that the target button of terminal is current, corresponding relation according to the adopting consecutive click chemical reaction number of times prestored Yu the backstage order information of to be switched application program, determine the first backstage order information that current adopting consecutive click chemical reaction number of times is corresponding, wherein, backstage order information switches to the order on backstage for labelling application program, in the application program of running background, determine the first application program that the first backstage order information is corresponding, the first application program is switched to front stage operation. So, user recalls the application list of running background without operation, the application program of corresponding running background can be switched to front stage operation by adopting consecutive click chemical reaction target button, it is thus possible to improve the switching efficiency of application program.
Those skilled in the art, after considering description and putting into practice disclosed herein disclosing, will readily occur to other embodiment of the disclosure. The application is intended to any modification of the disclosure, purposes or adaptations, and these modification, purposes or adaptations are followed the general principle of the disclosure and include the undocumented known general knowledge in the art of the disclosure or conventional techniques means. Description and embodiments is considered only as exemplary, and the true scope of the disclosure and spirit are pointed out by claim below.
It should be appreciated that the disclosure is not limited to precision architecture described above and illustrated in the accompanying drawings, and various amendment and change can carried out without departing from the scope. The scope of the present disclosure is only limited by appended claim.

Claims (11)

1. the method switching application program, it is characterised in that described method includes:
Detect the adopting consecutive click chemical reaction number of times that the target button of terminal is current;
Corresponding relation according to the adopting consecutive click chemical reaction number of times prestored Yu the backstage order information of to be switched application program, determine the first backstage order information that described current adopting consecutive click chemical reaction number of times is corresponding, wherein, described backstage order information switches to the order on backstage for labelling application program;
In the application program of running background, it is determined that the first application program that described first backstage order information is corresponding, described first application program is switched to front stage operation.
2. method according to claim 1, it is characterized in that, in the described adopting consecutive click chemical reaction number of times corresponding relation with the backstage order information of to be switched application program, backstage order information corresponding to described adopting consecutive click chemical reaction times N is: switching to time on backstage arranges N-a position by by near to remote order relative to current time, wherein, a is default positive integer.
3. method according to claim 1, it is characterised in that described in the application program of running background, it is determined that the first application program that described first backstage order information is corresponding, switches to front stage operation by described first application program, including:
In the application program of running background, determine the first application program that described first backstage order information is corresponding, if there is currently the second application program of front stage operation, then described second application program is switched to backstage, and described first application program is switched to front stage operation.
4. method according to claim 1, it is characterised in that described in the application program of running background, it is determined that the first application program that described first backstage order information is corresponding, switches to front stage operation by described first application program, including:
In the application program of running background, it is determined that the first application program that described first backstage order information is corresponding, show the icon of described first application program;
If it is again clicked to be not detected by described target button in the preset duration after described target button is clicked, then cancel the display of described icon, and described first application program is switched to front stage operation, wherein said preset duration judges duration threshold value equal to the double hit of the described target button preset.
5. method according to claim 1, it is characterised in that described target button includes homepage key, return key or Menu key.
6. the device switching application program, it is characterised in that described device includes:
Detection module, the adopting consecutive click chemical reaction number of times current for detecting the target button of terminal;
Determine module, for the corresponding relation according to the adopting consecutive click chemical reaction number of times prestored with the backstage order information of to be switched application program, determine the first backstage order information that described current adopting consecutive click chemical reaction number of times is corresponding, wherein, described backstage order information switches to the order on backstage for labelling application program;
Handover module, in the application program of running background, it is determined that the first application program that described first backstage order information is corresponding, switches to front stage operation by described first application program.
7. device according to claim 6, it is characterized in that, in the described adopting consecutive click chemical reaction number of times corresponding relation with the backstage order information of to be switched application program, backstage order information corresponding to described adopting consecutive click chemical reaction times N is: switching to time on backstage arranges N-a position by by near to remote order relative to current time, wherein, a is default positive integer.
8. device according to claim 6, it is characterised in that described handover module, is used for:
In the application program of running background, determine the first application program that described first backstage order information is corresponding, if there is currently the second application program of front stage operation, then described second application program is switched to backstage, and described first application program is switched to front stage operation.
9. device according to claim 6, it is characterised in that described handover module, including:
Determine submodule, in the application program of running background, it is determined that the first application program that described first backstage order information is corresponding, show the icon of described first application program;
Switching submodule, if it is again clicked for being not detected by described target button in the preset duration after described target button is clicked, then cancel the display of described icon, and described first application program is switched to front stage operation, wherein said preset duration judges duration threshold value equal to the double hit of the described target button preset.
10. device according to claim 6, it is characterised in that described target button includes homepage key, return key or Menu key.
11. the device switching application program, it is characterised in that including:
Processor;
For storing the memorizer of processor executable;
Wherein, described processor is configured to:
Detect the adopting consecutive click chemical reaction number of times that the target button of terminal is current;
Corresponding relation according to the adopting consecutive click chemical reaction number of times prestored Yu the backstage order information of to be switched application program, determine the first backstage order information that described current adopting consecutive click chemical reaction number of times is corresponding, wherein, described backstage order information switches to the order on backstage for labelling application program;
In the application program of running background, it is determined that the first application program that described first backstage order information is corresponding, described first application program is switched to front stage operation.
CN201610110149.4A 2016-02-29 2016-02-29 A kind of method and apparatus switching application program Active CN105677473B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610110149.4A CN105677473B (en) 2016-02-29 2016-02-29 A kind of method and apparatus switching application program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610110149.4A CN105677473B (en) 2016-02-29 2016-02-29 A kind of method and apparatus switching application program

Publications (2)

Publication Number Publication Date
CN105677473A true CN105677473A (en) 2016-06-15
CN105677473B CN105677473B (en) 2019-03-08

Family

ID=56306153

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610110149.4A Active CN105677473B (en) 2016-02-29 2016-02-29 A kind of method and apparatus switching application program

Country Status (1)

Country Link
CN (1) CN105677473B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106201250A (en) * 2016-06-29 2016-12-07 北京小米移动软件有限公司 Account changing method and device
CN107704172A (en) * 2017-10-10 2018-02-16 惠州Tcl移动通信有限公司 A kind of multimedia application method for handover control, system and storage device
CN107870714A (en) * 2016-09-28 2018-04-03 北京嘀嘀无限科技发展有限公司 A kind of method and device that application program operation is triggered by double hit
CN107977263A (en) * 2017-12-21 2018-05-01 深圳市沃特沃德股份有限公司 The management method of application and the onboard system of management application
WO2018076171A1 (en) * 2016-10-25 2018-05-03 深圳市大疆创新科技有限公司 Mode control method and device, and unmanned aerial vehicle
CN108052383A (en) * 2017-12-26 2018-05-18 北京传嘉科技有限公司 The method and device switched between program
CN108076223A (en) * 2017-12-14 2018-05-25 广东欧珀移动通信有限公司 Target switching method, device, terminal device and storage medium
CN110209479A (en) * 2019-05-16 2019-09-06 珠海格力电器股份有限公司 A kind of method, apparatus, terminal device and storage medium switching application program
CN111897479A (en) * 2020-08-11 2020-11-06 网易(杭州)网络有限公司 Interface switching display method, device, terminal and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103176727A (en) * 2011-12-23 2013-06-26 宇龙计算机通信科技(深圳)有限公司 Application program starting method and communication terminal
CN104850406A (en) * 2015-05-26 2015-08-19 广州华多网络科技有限公司 Page switching method and device
CN105183364A (en) * 2015-10-30 2015-12-23 小米科技有限责任公司 Application switching method, application switching device and application switching equipment
CN105354029A (en) * 2015-11-04 2016-02-24 广州酷狗计算机科技有限公司 Application control method and apparatus

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103176727A (en) * 2011-12-23 2013-06-26 宇龙计算机通信科技(深圳)有限公司 Application program starting method and communication terminal
CN104850406A (en) * 2015-05-26 2015-08-19 广州华多网络科技有限公司 Page switching method and device
CN105183364A (en) * 2015-10-30 2015-12-23 小米科技有限责任公司 Application switching method, application switching device and application switching equipment
CN105354029A (en) * 2015-11-04 2016-02-24 广州酷狗计算机科技有限公司 Application control method and apparatus

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106201250A (en) * 2016-06-29 2016-12-07 北京小米移动软件有限公司 Account changing method and device
CN107870714A (en) * 2016-09-28 2018-04-03 北京嘀嘀无限科技发展有限公司 A kind of method and device that application program operation is triggered by double hit
WO2018076171A1 (en) * 2016-10-25 2018-05-03 深圳市大疆创新科技有限公司 Mode control method and device, and unmanned aerial vehicle
CN107704172A (en) * 2017-10-10 2018-02-16 惠州Tcl移动通信有限公司 A kind of multimedia application method for handover control, system and storage device
CN107704172B (en) * 2017-10-10 2020-11-13 惠州Tcl移动通信有限公司 Multimedia application switching control method, system and storage device
CN108076223A (en) * 2017-12-14 2018-05-25 广东欧珀移动通信有限公司 Target switching method, device, terminal device and storage medium
CN108076223B (en) * 2017-12-14 2021-01-15 Oppo广东移动通信有限公司 Task switching method and device, terminal equipment and storage medium
CN107977263A (en) * 2017-12-21 2018-05-01 深圳市沃特沃德股份有限公司 The management method of application and the onboard system of management application
CN108052383A (en) * 2017-12-26 2018-05-18 北京传嘉科技有限公司 The method and device switched between program
CN110209479A (en) * 2019-05-16 2019-09-06 珠海格力电器股份有限公司 A kind of method, apparatus, terminal device and storage medium switching application program
CN111897479A (en) * 2020-08-11 2020-11-06 网易(杭州)网络有限公司 Interface switching display method, device, terminal and storage medium

Also Published As

Publication number Publication date
CN105677473B (en) 2019-03-08

Similar Documents

Publication Publication Date Title
CN105677473A (en) Method and device for switching application program
CN105099840A (en) Setting method and device of intelligent household scene
CN104699244A (en) Controlling method and device for intelligent device
CN105225096A (en) The disposal route of reminder announced message, device and terminal
CN104540184A (en) Equipment networking method and device
CN104793846A (en) Displaying method and device for interface of application program
CN105511631A (en) Gesture recognition method and device
CN104853136A (en) Video communication method and device
CN105630490A (en) Layout adjustment method and apparatus for message notification display page
CN104461236A (en) Method and device for displaying application icons
CN104834559A (en) Notification message display method and device
CN105407433A (en) Method and device for controlling sound output equipment
CN105159523A (en) Target function enabling method, apparatus and system
CN104601815A (en) Answer device determining method and device
CN106095407A (en) icon arrangement method, device and mobile device
CN105487805A (en) Object operating method and device
CN105487680A (en) Terminal screen capture method and apparatus and terminal
CN104978141A (en) Picture management method, device and terminal
CN105101354A (en) Wireless network connection method and device
CN105094900A (en) Method and apparatus for downloading control program
CN105677164A (en) Page selection method and device
CN105468281A (en) Setup interface display method and device
CN105808647A (en) Message editing processing method and device
CN105159709A (en) Application starting method and apparatus, and intelligent terminal
CN104636064A (en) Gesture generating method and 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
GR01 Patent grant
GR01 Patent grant