CN110515717A - Backstage switching method, device, equipment and the storage medium of application program - Google Patents
Backstage switching method, device, equipment and the storage medium of application program Download PDFInfo
- Publication number
- CN110515717A CN110515717A CN201910809102.0A CN201910809102A CN110515717A CN 110515717 A CN110515717 A CN 110515717A CN 201910809102 A CN201910809102 A CN 201910809102A CN 110515717 A CN110515717 A CN 110515717A
- Authority
- CN
- China
- Prior art keywords
- application program
- flash back
- terminal
- key
- back key
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/46—Multiprogramming arrangements
- G06F9/48—Program initiating; Program switching, e.g. by interrupt
- G06F9/4806—Task transfer initiation or dispatching
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- Human Computer Interaction (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
This application discloses backstage switching method, device, equipment and the storage mediums of a kind of application program, belong to application domain.The described method includes: passing through the user interface of application program displayed on the terminals;The first trigger action in terminal is received, the operating status of application program is switched to from foreground operating status by background operation state according to the first trigger action;When the operating status of application program switches to background operation state from foreground operating status, flash back key displayed on the terminals, flash back key is used to show the user interface of application program when being triggered.The backstage switching method of above-mentioned application program is when application program switches to background operation state from foreground operating status, the corresponding flash back key of the application program displayed on the terminals, even if showing the user interface of another application program in terminal, human-computer interaction efficiency can also be improved by the enough user interfaces for quickly switching back into the application program of flash back bond energy.
Description
Technical field
This application involves application domain, in particular to the backstage switching method of a kind of application program, device, equipment with
And storage medium.
Background technique
With the development of intelligent terminal, the application program installed and run in terminal is continuously developed, so that application program
Type it is more and more, function is stronger and stronger.
And at the terminal, the only user interface of the application program of front stage operation can be just shown on the interface of terminal, place
It is not shown on interface in the application program of running background.For example, the user interface of games displayed on the terminals, then
The program for indicating terminal front stage operation is games, and at the same time, instant messaging program is still in running background;Terminal still can be with
The message in instant messaging program is received, but can't be shown on interface, is only transported again on foreground in instant signal procedure
When row, message can be just shown on interface.
Due to running background application program message cannot the instant playback on the interface of terminal, user checks message
When, it needs to exit or place running background for the application program of front stage operation, later again by the application program of running background
Switchback front stage operation, step is complicated, human-computer interaction low efficiency.
Summary of the invention
In order to solve the step of backstage of application program in the related technology switches complexity, the low problem of interactive efficiency, this Shen
Please embodiment provide backstage switching method, device, equipment and the storage medium of a kind of application program.
The technical solution is as follows:
On the one hand, a kind of backstage switching method of application program is provided, which comprises
The user interface of application program displayed on the terminals;
The first trigger action in the terminal is received, according to first trigger action by the operation of the application program
State switches to background operation state from foreground operating status;
When the operating status of the application program switches to the background operation state from the front stage operation state, In
Show that flash back key, the flash back key are used to show the user interface of the application program when being triggered in the terminal.
On the other hand, a kind of backstage switching device of application program is provided, described device includes:
Display module, the user interface for application program displayed on the terminals;
Receiving module, for receiving the first trigger action in the terminal;
Switching module, for being transported the operating status of the application program from the foreground according to first trigger action
Row state switches to background operation state;
The display module is switched to for the operating status when the application program from the front stage operation state described
When background operation state, show that flash back key, the flash back key are described using journey for showing when being triggered on the terminal
The user interface of sequence.
On the other hand, a kind of computer equipment is provided, the computer equipment includes processor and memory, described to deposit
Be stored at least one instruction, at least a Duan Chengxu, code set or instruction set in reservoir, at least one instruction, it is described extremely
A few Duan Chengxu, the code set or instruction set are loaded by the processor and are executed to realize application as described in relation to the first aspect
The backstage switching method of program.
On the other hand, a kind of computer readable storage medium is provided, at least one finger is stored in the storage medium
Enable, at least a Duan Chengxu, code set or instruction set, at least one instruction, an at least Duan Chengxu, the code set or
Instruction set is loaded by processor and is executed the backstage switching method to realize application program as described in relation to the first aspect.
Technical solution bring beneficial effect provided by the embodiments of the present application includes at least:
Pass through the user interface of application program displayed on the terminals;The first trigger action in terminal is received, according to first
The operating status of application program is switched to background operation state from foreground operating status by trigger action;When the operation of application program
When state switches to background operation state from foreground operating status, flash back key displayed on the terminals, flash back key is for being triggered
When show the user interface of application program.
The backstage switching method of above-mentioned application program switches to background operation state from foreground operating status in application program
When, the corresponding flash back key of the application program displayed on the terminals, even if showing the user interface of another application program in terminal,
Human-computer interaction efficiency can also be improved by the enough user interfaces for quickly switching back into the application program of flash back bond energy.
Detailed description of the invention
In order to more clearly explain the technical solutions in the embodiments of the present application, make required in being described below to embodiment
Attached drawing is briefly described, it should be apparent that, the drawings in the following description are only some examples of the present application, for
For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other
Attached drawing.
Fig. 1 is a kind of flow chart of the backstage switching method for application program that one exemplary embodiment of the application provides;
Fig. 2 is the interface schematic diagram of the method for closing for the flash back key that one exemplary embodiment of the application provides;
Fig. 3 is the schematic diagram of the set interface for the flash back key function that one exemplary embodiment of the application provides;
Fig. 4 is the interface schematic diagram for the flash back key that one exemplary embodiment of the application provides;
Fig. 5 is the interface schematic diagram for the flash back key that the application another exemplary embodiment provides;
Fig. 6 is a kind of flow chart of the backstage switching method for application program that the application another exemplary embodiment provides;
Fig. 7 is a kind of flow chart of the backstage switching method for application program that the application another exemplary embodiment provides;
Fig. 8 is a kind of interface signal of the backstage switching method for application program that one exemplary embodiment of the application provides
Figure;
Fig. 9 is a kind of flow chart of the backstage switching method for application program that the application another exemplary embodiment provides;
Figure 10 is the schematic diagram for the task queue that one exemplary embodiment of the application provides;
Figure 11 is a kind of flow chart of the backstage switching method for application program that the application another exemplary embodiment provides;
Figure 12 is that a kind of interface of the backstage switching method for application program that the application another exemplary embodiment provides shows
It is intended to;
Figure 13 is the structural block diagram of the backstage switching device for the application program that one exemplary embodiment of the application provides;
Figure 14 is the structural schematic diagram for the terminal that one exemplary embodiment of the application provides.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to
When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment
Described in embodiment do not represent all embodiments consistent with the application.On the contrary, they be only with it is such as appended
The example of the consistent device and method of some aspects be described in detail in claims, the application.
Scheme provided by the present application can pass through when people want the information in the application program for checking running background
Key flash back for the user interface of the application program of the above-mentioned running background of the quick switchback in the interface shown in terminal.Schematically,
Above-mentioned terminal can be mobile phone, tablet computer, E-book reader, smartwatch, MP3 player (Moving Picture
Experts Group Audio Layer III, dynamic image expert's compression standard audio level 3), MP4 (Moving
Picture Experts Group Audio Layer IV, dynamic image expert's compression standard audio level 4) player, pen
Remember this computer, pocket computer on knee and desktop computer etc..
Referring to FIG. 1, it illustrates the backstage switching methods of the application program of one exemplary embodiment of the application offer
Flow chart, this method are applied in terminal, this method comprises:
Step 101, the user interface of application program displayed on the terminals.
The user interface of application program displayed on the terminals, that is to say, that the application program is in front stage operation state.
It optionally, include exiting control in the user interface, this exits control for exiting application program when being triggered
Front stage operation goes to running background.Alternatively, being provided with gesture operation in the user interface, the gesture operation is for when being triggered
Application program is exited into front stage operation, goes to running background.For example, including exit button control in the user interface of application program
Part, terminal exit front stage operation when receiving the trigger action of user on the exit button control, by the application program, go to
Running background, user can check the application program of running background in multitask interface.For another example, terminal is received using journey
The slip gesture operation triggered in the user interface of sequence, returns to desktop.
It optionally, include exiting physical button in the terminal, this is exited application program when physical button is used to be triggered
Front stage operation is exited, running background is gone to.For example, this, which exits physical button, can be Home key, it is displayed on the terminals to apply journey
The user interface of sequence, terminal receive the trigger action on Home key, return to desktop from above-mentioned user interface, which is moved back
Front stage operation out goes to running background.
Step 102, terminal receives the first trigger action in terminal.
Optionally, terminal receives in the user interface of application program to the first trigger action for exiting control;Alternatively, terminal
Receive the first trigger action exited in physical button.
Schematically, above-mentioned first trigger action may include single-click operation or multiple clicking operation or long press operation etc.
Deng being not limited in the present embodiment to the type of the first trigger action.
Optionally, the first trigger action can be gesture operation, and terminal receives the gesture in the user interface of application program
Operation.
Schematically, gesture operation may include upward slip gesture operation or slip gesture operation or Z to the left
Slip gesture of font etc. is not limited the type of gesture operation in the present embodiment.
Step 103, terminal switches to the operating status of application program from foreground operating status according to the first trigger action
Background operation state.
Terminal is after receiving the first trigger action, after the operating status of application program is switched to from foreground operating status
Platform operating status.
Step 104, when the operating status of application program switches to background operation state from foreground operating status, in terminal
Upper display flash back key.
When the operating status of application program is switched to background operation state from foreground operating status, terminal is generated and is shown
Flash back key;Wherein, flash back key is used to show the user interface of application program when being triggered.Optionally, flash back key is shown in end
Top layer on the interface at end.
It should be noted that the information of the application program of running background is not shown on the interface of terminal in terminal, in order to
The key message of application program in background operation state is exposed, optionally, when terminal detects the operation of application program
When state switches to background operation state from foreground operating status, terminal calls the application programming interface of application program
The key message of (Application Programming Interface, API) acquisition application program;By above-mentioned application program
Key message be shown on flash back key, and flash back key displayed on the terminals allows users to know by the flash back key of display
The key message of the application program of running background.
Optionally, operation has main program in terminal;Terminal can detect the operating status of application program by main program, when
When detecting that the operating status of application program switches to background operation state from foreground operating status, is called and applied by main program
The API of program obtains the key message of application program, and the sudden strain of a muscle for carrying the key message of application program is generated by main program
Hui Jian.
It should also be noted that, main program from the background service of application program obtain application program key message before,
The correspondence established between process is also needed, optionally, terminal is established main program and answered by binding service (bindService)
With the interprocess communication (InterProcess Communication, IPC) between the background service of program;It is based on IPC later
The API of application program is called to obtain the key message of application program by main program.
Optionally, when cancelling the display of flash back key at the terminal, master is terminated by unbundlings service (unbindService)
IPC between program and the background service of application program.
In addition, above-mentioned IPC may be disconnected, and need to re-establish connection at this time during key message transmission.
Wherein, the above-mentioned display for cancelling flash back key at the terminal may include two kinds of cancellation situations:
The first cancels situation, and the preset duration that flash back key is shown is provided in terminal;The preset duration is in flash back key
On when not having trigger action, the maximum display duration of flash back key at the terminal.In the preset duration that flash back key is shown, if terminal
The trigger action on flash back key is not received, and terminal cancels the display of flash back key.
For example, the preset duration being arranged in terminal is 60s;The timing since the flash back key displayed on the terminals, the 60s of timing
Interior, terminal detects on flash back key whether have trigger action by main program, if not having trigger action on flash back key, in 61s
On, terminal cancels the display of flash back key.
Second of cancellation situation, user can independently cancel flash back key display, terminal receive terminal on trigger to sudden strain of a muscle
The delete operation of Hui Jian cancels the display of flash back key.For example, the drag operation to flash back key triggered on terminal reception interface,
The edge that the key that flashes back is dragged to interface is deleted, flash back key is no longer shown on the interface of terminal.Schematically, such as Fig. 2,
The fringe region that the key 01 that flashes back is dragged to interface is loosed one's grip at the terminal, it can close flash back key 01.
Herein it should be noted that terminal cancels the display of flash back key but is not turned off main program, when there is application program again
It is still corresponding in terminal to generate and show flash back key when operating status switches to background operation state from foreground operating status.And it dodges
The switch for returning key function (i.e. the operation of main program) can be design in the setting options of terminal.
It schematically, include the switch of flash back key function such as Fig. 3, in the set interface 02 of the flash back key function in terminal
03;When flash back key function switch 03 in the open state, the flash back key function in terminal comes into force;When opening for flash back key function
Flash back key disabler when pass 03 is in close state, in terminal.
Further include the switch 04 of the flash back key function of application program in the set interface 02 for the key function that flashes back, works as application program
Flash back key function switch 04 in the open state, application program can be used flash back key function;When the sudden strain of a muscle of application program
The switch 04 of key function is returned when being in close state, application program is not available flash back key function.
Optionally, application program includes video software, and key message includes video playing progress;For example, in video software
When video playing was to 10 points and 25 seconds, video software is cut into running background, corresponding, and flash back key is shown in terminal, is flashed back on key
Show the playback progress " 10 points and 25 seconds " of video.
Or, application program includes teaching software, key message includes learning class hour;For example, course in teaching software
When broadcasting to second chapter, teaching software is cut into running background, corresponding, and flash back key is shown in terminal, shows on the key that flashes back
There is the class hour information " second chapter " of course.
Or, application program includes the software with clocking capability, key message includes starting countdown or reservation waiting
Duration;For example, Games Software is cut into running background when waiting virtual portrait that need to bring back to life in Games Software, and it is corresponding, in terminal
It shows flash back key, shows virtual portrait on the key that flashes back and bring back to life countdown.
Or, application program includes the software that there is stroke to monitor, key message include departure times or arrival time,
Or next stop place;For example, chauffeur software is cut into running background when waiting taxi to reach in chauffeur software, it is corresponding,
Flash back key is shown in terminal, shows taxi E.T.A on the key that flashes back.
Or, application program includes the software with queuing capability, key message includes queueing message;For example, chauffeur software
When middle waiting taxi reaches, chauffeur software is cut into running background, corresponding, and flash back key is shown in terminal, shows on the key that flashes back
Show queueing message, i.e., the digit of the sum of current chauffeur order and the order of the terminal user in troop.
Schematically, the status display of key of flashing back may include that generic state shows and customize status display, such as Fig. 4 institute
To show, " 12/30 is being lined up ", " training of 02:15 first segment " and " 00:12, which is waited, to bring back to life " they are waiting status displays,
" driver's order ", " completing training " and " resurrection " is the status display of key results.
In wait state, if not operating flash back key, flash back key is in static condition, as shown in the flash back key 05 in Fig. 5,
Key message is shown after click again, as shown in flash back key 06.
In conclusion the backstage switching method of application program provided in this embodiment, applies journey by displayed on the terminals
The user interface of sequence;Receive terminal on the first trigger action, according to the first trigger action by the operating status of application program from
Front stage operation state switches to background operation state;It is transported when the operating status of application program switches to backstage from foreground operating status
When row state, flash back key displayed on the terminals, flash back key is used to show the user interface of application program when being triggered.
The backstage switching method of above-mentioned application program switches to background operation state from foreground operating status in application program
When, the corresponding flash back key of the application program displayed on the terminals, even if showing the user interface of another application program in terminal,
Human-computer interaction efficiency can also be improved by the enough user interfaces for quickly switching back into the application program of flash back bond energy.
Pass of the backstage switching method of above-mentioned application program also by showing the application program of running background on flash back key
Key information provides the display function of the key message of background application for user, does not need user again running background
Application program switchback front stage operation can also check the key message of the application program, improve human-computer interaction efficiency, keep away simultaneously
Exempt from message omission, improves user experience.
Schematically, embodiment as shown in Figure 1, above-mentioned starting and the process for closing flash back key can be as shown in fig. 6, steps
It is rapid as follows:
Step 11, terminal binds the background service of main program and application program by bindService.Wherein, the application
Program is the application program of running background.
Step 12, whether client checks application program belongs to white list.It is stored with white list in terminal, is wrapped in the white list
Include the application program for being able to use flash back key function;Optionally, terminal can be answered by the packet name and signature check of application program
Whether belong to white list with program.
When application program belongs to white list, binding success between main program and the background service of application program;Otherwise, main
Bind Failed between program and the background service of application program.
Step 13, when binding success, terminal calls the API of application program to transmit data by main program.
Step 14, terminal judges whether the key message that application program is obtained in the second preset duration.That is, In
In second preset duration, whether terminal judges the background service of application program by API transmission key message to main program;
In two preset durations, main program obtains the key message of application program from the background service of application program, executes step 15;
Otherwise, step 16 is executed.
Step 15, terminal display flash back key.It should be noted that when not showing flash back key in terminal, it is main in terminal
Program generates according to the key message of application program and shows flash back key;When showing flash back key in terminal, main journey in terminal
Sequence updates the key message shown on flash back key according to the key message of this application program obtained.
Step 16, terminal cancels the display of flash back key.
Step 17, terminal releases the binding between main program and the background service of application program by unbindService.
Based on Fig. 1, the function of above-mentioned flash back key includes that the user interface of application program, therefore, In are shown when being triggered
Increase step 105 after step 104 to step 106, such as Fig. 7, to realize the quick switchback foreground of the application program of running background
The function of operation, illustrated steps are as follows:
Step 105, terminal receives the second trigger action on flash back key.
Schematically, above-mentioned second trigger action may include single-click operation or multiple clicking operation or long press operation etc.
Deng being not limited in the present embodiment to the type of the second trigger action.
Step 106, terminal is according to the user interface of the second trigger action application program displayed on the terminals.
When terminal receives the second trigger action, terminal shows the user interface of application program.Wherein, above-mentioned to apply journey
It is same user interface or different user interface that the user interface of sequence, which can be with the user interface in step 101,.
If the user interface of above-mentioned application program is to be different user interface with the user interface in step 101, the use
Family interface can be the user interface of the key message according to the application program shown on flash back key regenerated.
For example, above-mentioned application program is Games Software, when front stage operation, shows the picture that virtual portrait is being brought back to life, backstage
The resurrection countdown of virtual portrait is shown when operation on flash back key;After virtual portrait is brought back to life successfully, display falls to count on the key that flashes back
When be " 00:00 ", expression is brought back to life successfully, by the Games Software switchback front stage operation, picture after display virtual portrait resurrection, with
The picture that virtual portrait is being brought back to life is different.
Schematically, by taking application program is taxi-hailing software as an example, taxi-hailing software passes through the boundary of flash back key switchback front stage operation
Such as Fig. 8 is illustrated in face, and the user interface 21 when user's chauffeur in taxi-hailing software is shown in terminal;Terminal is by the operation shape of taxi-hailing software
State switches to background operation state from foreground operating status, returns to desktop 22, the flash back of bubble form is shown on desktop 22
Key 23, wherein show the queuing message of chauffeur on flash back key 23, " 12/30 " indicates that sharing 30 users is used chauffeur
Service, the user for possessing the terminal come the 12nd;When terminal receives trigger action on flash back key 22, terminal switchback is used
Family interface 21.
In conclusion the backstage switching method of application program provided in this embodiment, applies journey by displayed on the terminals
The user interface of sequence;Receive terminal on the first trigger action, according to the first trigger action by the operating status of application program from
Front stage operation state switches to background operation state;It is transported when the operating status of application program switches to backstage from foreground operating status
When row state, flash back key displayed on the terminals;Receive the second trigger action on flash back key;According to the second trigger action in terminal
The user interface of upper display application program.
The backstage switching method of above-mentioned application program switches to background operation state from foreground operating status in application program
When, the corresponding flash back key of the application program displayed on the terminals, even if showing the user interface of another application program in terminal,
Human-computer interaction efficiency can also be improved, is also mentioned by the enough user interfaces for quickly switching back into the application program of flash back bond energy
High user experience.
In the use process of terminal, the backstage of terminal can run multiple application programs simultaneously, there is at least two
When the operating status of a application program is in background operation state, matching for flash back key and application program can be using such as
Lower two ways is realized:
First way, the flash back key of the corresponding application program of display highest priority;
The second way passes through the flash back key of at least two application program of list display.
In the first way, at least two application programs may include the first application program and the second application program, lead to
The priority for judging the first application program Yu the second application program is crossed, determines the matching of flash back key and application program, schematically,
It can be based on Fig. 1, step 104 is replaced with into step 1041 to step 1043, such as Fig. 9, steps are as follows:
Step 1041, when the operating status of application program switches to background operation state from foreground operating status, terminal
Judge whether the priority of the first application program is greater than the priority of the second application program.
When the priority of the first application program is more than or equal to the priority of the second application program, step is executed
1042;When priority of the priority of the first application program less than the second application program, step 1043 is executed.
Optionally, the priority of application program includes service priority.Alternatively, the priority of application program can be and make by oneself
Justice.
Schematically, terminal judge the service priority of the first application program whether be greater than the second application program business it is excellent
First grade.When the service priority of the first application program is more than or equal to the service priority of the second application program, step is executed
Rapid 1042;When service priority of the service priority of the first application program less than the second application program, step 1043 is executed.
Step 1042, the corresponding flash back key of the first application program displayed on the terminals.
Step 1043, the corresponding flash back key of the second application program displayed on the terminals.
The display of flash back key can refer to step 104, be not repeated here herein.
Schematically, such as Figure 10, the corresponding task queue of main program, the application program root of running background are provided in terminal
Queue 1 and queue 2 are created according to service priority, wherein the priority of business 1 is greater than the preferential of business 2 in queue 2 in queue 1
Grade, if business 1 is the business of the first application program, business 2 is the business of the second application program, and journey is applied in display first in terminal
The corresponding flash back key of sequence.It should be noted that terminal does not show the corresponding flash back key of the second application program, but terminal is still on backstage
Business 2 is periodically executed, data in business 2 are periodically updated.
It should be noted that when being in background operation state there are the operating status of at least two application programs, at least
Two application programs are arranged according to priority orders into task queue, and terminal shows that highest priority corresponding first applies journey
The flash back key of sequence;When the first application program display cycle then after, if the pass of corresponding second application program of next priority
Key information does not fail, the corresponding flash back key of the second application program of display.
For example, the priority of Games Software is greater than the priority of chauffeur software, terminal shows the flash back of Games Software first
Key, flash back key on include key message, bring back to life countdown 00:12;When countdown is 00:00, i.e. the display cycle then, has answered
Living, terminal shows the key message of chauffeur software, waits order 16/25, i.e., the order of the user is located at the in 25 orders
16,15 order processings of front is needed to complete to post-process the order of the user;Order does not complete, and key message is still valid,
Terminal shows the flash back key of chauffeur software.
In conclusion the backstage switching method of application program provided in this embodiment, applies journey by displayed on the terminals
The user interface of sequence;Receive terminal on the first trigger action, according to the first trigger action by the operating status of application program from
Front stage operation state switches to background operation state;It is transported when the operating status of application program switches to backstage from foreground operating status
When row state, judge whether the priority of the first application program is greater than the priority of the second application program;When the first application program
Priority when being more than or equal to the priority of the second application program, the corresponding flash back of the first application program displayed on the terminals
Key.
The backstage switching method of above-mentioned application program switches to background operation state from foreground operating status in application program
When, the corresponding flash back key of the application program displayed on the terminals, even if showing the user interface of another application program in terminal,
Human-computer interaction efficiency can also be improved, is also mentioned by the enough user interfaces for quickly switching back into the application program of flash back bond energy
High user experience.
The backstage switching method of above-mentioned application program when there are the application program of multiple running backgrounds, using priority come
Determine the matching of application program and the key that flashes back, the flash back key of the high application program of preferential display priority provides more for user
The key message of important background application meets the demand of user, improves user experience.
In the second way, terminal is by list to existing at least two application programs in background operation state
The display of corresponding flash back key is carried out, schematically, Fig. 1 can be based on, replace with step 1044 to step in step 104
1046, such as Figure 11, steps are as follows:
Step 1044, the flash back key of polymerization displayed on the terminals,
When being in background operation state there are at least two application programs in terminal, terminal shows polymerization on interface
Flash back key, and the flash back key of polymerization is for showing the corresponding flash back of each application program at least two application programs when being triggered
Key.
Schematically, the icon for showing at least two application programs can be polymerize on the flash back key of polymerization.
Step 1045, terminal receives the third trigger action on the flash back key of polymerization.
Schematically, above-mentioned third trigger action may include single-click operation or multiple clicking operation or long press operation etc.
Deng being not limited in the present embodiment to the type of third trigger action.
Step 1046, terminal shows that each application program is corresponding at least two application programs according to third trigger action
Flash back key.
Above-mentioned at least two application program may include the first application program and the second application program;Terminal is receiving
After three trigger actions, the first application program and the corresponding flash back key of the second application program are shown.That is, terminal connects
After receiving the third trigger action on flash back key, n flash back key displayed on the terminals;The corresponding application of each flash back key
Program optionally shows the key message of corresponding application program on each flash back key;N is the positive integer greater than 1.
It should be noted that terminal can receive at least two after above-mentioned at least two flash backs key displayed on the terminals
Selection operation in flash back key on target flash back key;It is answered according to the corresponding target of selection operation target flash back key displayed on the terminals
With the user interface of program.Optionally, selection operation may include single-click operation or repeatedly clicking operation or long press operation or
Slide etc. is not limited the type of selection operation in the present embodiment.
Schematically, displayed on the terminals to have user interface 31 such as Figure 12, it include the flash back key of polymerization in user interface 31
32;After terminal receives the trigger action on the flash back key 32 of polymerization, at least two flash back keys are shown in user interface 31,
For example, flash back key 33, flash back key 34 and flash back key 35 in figure;The key 33 that flashes back is the corresponding flash back key of chauffeur software, and flash back key
On show the queuing messages of dial-a-cab, in the user of 30 chauffeurs, the user for possessing the terminal comes the 12nd;Flash back key
34 be the corresponding flash back key of body-building software, shows that first segment training has been completed to 2 points 15 seconds on the key that flashes back;Flash back key 35 be
The corresponding flash back key of Games Software shows that virtual portrait distance was brought back to life there are also 12 seconds on the key that flashes back.
When terminal receives the selection operation on flash back key 33, terminal shows the user interface 36 of chauffeur software.
In conclusion the backstage switching method of application program provided in this embodiment, applies journey by displayed on the terminals
The user interface of sequence;Receive terminal on the first trigger action, according to the first trigger action by the operating status of application program from
Front stage operation state switches to background operation state;It is transported when the operating status of application program switches to backstage from foreground operating status
When row state, flash back key displayed on the terminals;Receive the third trigger action on flash back key;According to third trigger action in terminal
It is upper to show corresponding list.
The backstage switching method of above-mentioned application program passes through the sudden strain of a muscle of polymerization when there are the application program of multiple running backgrounds
Key is returned to correspond to the flash back key for showing multiple application programs, is enough quickly switched back by above-mentioned flash back bond energy corresponding using journey
The user interface of sequence, improves user experience.
And the key message of corresponding application program is also shown on corresponding list items, so that user is passed through list items
The key message for checking the application program of multiple running backgrounds, makes user avoid missing important information, meets the demand of user, mentions
High user experience.
It should also be noted that, during executing the backstage switching method of application program provided by the present application, terminal
It is still managed according to application program of original keepalive mechanism to running background, wherein above-mentioned keepalive mechanism includes following four
At least one of in:
1) process of tripartite's application program follows the management of process mechanism of default;
2) process that (kill) falls tripartite's application program is killed in manual key cleaning;
3) fall the process of tripartite's application program by low memory management mechanism (Low Memory Killer, LMK) kill;
4) it is stored with tripartite's application program white list in terminal, falls to be not belonging to by the liquidation procedures kill that terminal carries white
The process of tripartite's application program of list.
Wherein, tripartite's application program refers to the application program that the third-party vendor different from the supplier of terminal provides.
In addition, the function whether application program is able to use flash back key can be arranged by function master switch, for example, people
For update have flash back key function application program white list, later by cloud service to terminal send it is above-mentioned have flash back key
The application program white list of function, the application program in terminal belong to the above-mentioned application program white list with flash back key function
When, be able to use flash back key function, thereby executing application program provided by the present application backstage switching method the step of.
Following is the application Installation practice, can be used for executing the application embodiment of the method.It is real for the application device
Undisclosed details in example is applied, the application embodiment of the method is please referred to.
Figure 13 is please referred to, it illustrates the backstage switching devices of the application program of one exemplary embodiment of the application offer
Structural block diagram.The backstage switching device of the application program can be used in terminal, to execute any illustrated embodiment of Fig. 1 to Figure 12
The all or part of step executed in the method for offer by terminal.The backstage switching device of the application program includes:
Display module 201, the user interface for application program displayed on the terminals;
Receiving module 202, for receiving the first trigger action in the terminal;
Switching module 203, for being transported the operating status of the application program from foreground according to first trigger action
Row state switches to background operation state;
The display module 201 is switched to for the operating status when the application program from the front stage operation state
When the background operation state, show that flash back key, the flash back key are used to answer described in display when being triggered on the terminal
With the user interface of program.
In some embodiments, the display module 201, comprising:
Acquisition submodule 2011, for calling the application programming interface API of the application program to obtain the application
The key message of program;
Display sub-module 2012, for showing the key message of the application program in the flash back key, and in institute
It states and shows the flash back key in terminal.
In some embodiments,
The application program includes video software, and the key message includes video playing progress;Or,
The application program includes teaching software, and the key message includes learning class hour;Or,
The application program includes the software with clocking capability, and the key message includes starting countdown or reservation
Waiting time;Or,
The application program includes the software that there is stroke to monitor, and the key message includes departure times or arrival
Time or next stop place;Or,
The application program includes the software with queuing capability, and the key message includes queueing message.
In some embodiments, operation has main program in the terminal;
The acquisition submodule 2011, for calling the API to obtain the pass of the application program by the main program
Key information;
The display sub-module 2012, for generating the key message for carrying the application program by the main program
The flash back key.
In some embodiments, the display module 201, further includes:
Submodule 2013 is bound, for establishing the background service of the main program Yu the application program by binding service
Between interprocess communication IPC;
Acquisition submodule 2011, it is described using journey for calling the API to obtain by the main program based on the IPC
The key message of sequence.
In some embodiments,
The receiving module 202, for receiving the second trigger action on the flash back key;
The display module 201, for showing the application program on the terminal according to second trigger action
User interface.
In some embodiments, the display module 201, for flashing back in the preset duration that key is shown described, if not
The trigger action on the flash back key is received, the display of the flash back key is cancelled.
In some embodiments, there are the operating statuses of at least two application programs to be in the running background shape
State;At least two application programs include the first application program and the second application program;
The display module 201 is greater than second application program for the priority when first application program
When priority, the corresponding flash back key of first application program is shown on the terminal.
In some embodiments, there are the operating statuses of at least two application programs to be in the running background shape
State;
The display module 201, for showing the flash back key of polymerization on the terminal;
The receiving module 202, the third trigger action on flash back key for receiving the polymerization;
The display module 201, it is every at least two application programs for being shown according to the third trigger action
The corresponding flash back key of one application program.
In some embodiments,
The receiving module 202, for receiving the selection operation in at least two flash back keys on target flash back key;
The display module 201, for displaying target flash back key to be corresponding on the terminal according to the selection operation
The user interface of destination application.
In conclusion the backstage switching device of application program provided in this embodiment, applies journey by displayed on the terminals
The user interface of sequence;Receive terminal on the first trigger action, according to the first trigger action by the operating status of application program from
Front stage operation state switches to background operation state;It is transported when the operating status of application program switches to backstage from foreground operating status
When row state, flash back key displayed on the terminals, flash back key is used to show the user interface of application program when being triggered.
The backstage switching device of above-mentioned application program is by switching to running background from foreground operating status in application program
When state, the corresponding flash back key of the application program displayed on the terminals, even if showing the user of another application program in terminal
Interface can also improve human-computer interaction efficiency by the enough user interfaces for quickly switching back into the application program of flash back bond energy.
Pass of the backstage switching device of above-mentioned application program also by showing the application program of running background on flash back key
Key information provides the display function of the key message of background application for user, does not need user again running background
Application program switchback front stage operation can also check the key message of the application program, improve human-computer interaction efficiency, keep away simultaneously
Exempt from message omission, improves user experience.
Figure 14 is please referred to, it illustrates the structural schematic diagrams for the terminal that one exemplary embodiment of the application provides, and such as scheme
Shown in 14, which includes processor 310, memory 320, display component 330 and sensor module 340, and display component 330 is used
The interface of the program of front stage operation in display terminal, sensor module 340 is for acquiring each sensing data.The storage
At least one instruction is stored in device 320, described instruction is loaded by the processor 310 and executed to realize as above each implementation
In the backstage switching method of application program described in example, by some or all of step of terminal execution.
The embodiment of the present application also provides a kind of computer-readable medium, which has at least one
Instruction, after at least one instruction is loaded as processor and executed to realize application program described in as above each embodiment
In platform switching method, by all or part of the steps of terminal execution.
The embodiment of the present application also provides a kind of computer program product, which is stored at least one
Instruction, after at least one instruction is loaded as processor and executed to realize application program described in as above each embodiment
Platform switching method, all or part of the steps executed by terminal.
It should be understood that when the backstage switching method of application program provided by the above embodiment executes in the terminal, only
It is illustrated with the various embodiments described above, in practical programs, be can according to need and by above-mentioned function distribution by different function
Energy module is completed, i.e., the internal structure of equipment is divided into different functional modules, to complete whole described above or portion
Divide function.In addition, apparatus and method embodiment provided by the above embodiment belongs to same design, the specific implementation process side of being detailed in
Method embodiment, which is not described herein again.
Above-mentioned the embodiment of the present application serial number is for illustration only, does not represent the advantages or disadvantages of the embodiments.
Those of ordinary skill in the art will appreciate that realizing that all or part of the steps of above-described embodiment can pass through hardware
It completes, relevant hardware can also be instructed to complete by program, the program can store in a kind of computer-readable
In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely the preferred embodiments of the application, not to limit the application, it is all in spirit herein and
Within principle, any modification, equivalent replacement, improvement and so on be should be included within the scope of protection of this application.
Claims (13)
1. a kind of backstage switching method of application program, which is characterized in that the described method includes:
The user interface of application program displayed on the terminals;
The first trigger action in the terminal is received, according to first trigger action by the operating status of the application program
From foreground, operating status switches to background operation state;
When the operating status of the application program switches to the background operation state from the front stage operation state, described
Show that flash back key, the flash back key are used to show the user interface of the application program when being triggered in terminal.
2. the method according to claim 1, wherein described show the flash back key on the terminal, comprising:
The application programming interface API of the application program is called to obtain the key message of the application program;
The key message of the application program is shown on the flash back key, and shows the flash back key on the terminal.
3. according to the method described in claim 2, it is characterized in that,
The application program includes video software, and the key message includes video playing progress;Or,
The application program includes teaching software, and the key message includes learning class hour;Or,
The application program includes the software with clocking capability, and the key message includes starting countdown or reservation waiting
Duration;Or,
The application program includes the software that there is stroke to monitor, the key message include departure times or arrival time,
Or next stop place;Or,
The application program includes the software with queuing capability, and the key message includes queueing message.
4. according to the method described in claim 2, it is characterized in that, running in the terminal has main program;
The application programming interface API for calling the application program obtains the key message of the application program, comprising:
The API is called to obtain the key message of the application program by the main program;
The key message by the application program is shown on the flash back key, comprising:
The flash back key for carrying the key message of the application program is generated by the main program.
5. according to the method described in claim 4, it is characterized in that, described call the API to obtain institute by the main program
Before the key message for stating application program, comprising:
The interprocess communication IPC between the main program and the background service of the application program is established by binding service;
It is described to call the API of the application program to obtain the key message of the application program by the main program, comprising:
The API is called to obtain the key message of the application program by the main program based on the IPC.
6. method according to any one of claims 1 to 5, which is characterized in that it is described show on the terminal flash back key it
Afterwards, comprising:
Receive the second trigger action on the flash back key;
Show the user interface of the application program on the terminal according to second trigger action.
7. method according to any one of claims 1 to 5, which is characterized in that it is described show on the terminal flash back key it
Afterwards, comprising:
In the preset duration that the flash back key is shown, if not receiving the trigger action on the flash back key, described in cancellation
The display of flash back key.
8. method according to any one of claims 1 to 5, which is characterized in that there are the fortune of at least two application programs
Row state is in the background operation state;At least two application programs include that the first application program and second apply journey
Sequence;
It is described to show flash back key on the terminal, comprising:
When the priority of first application program is greater than the priority of second application program, show on the terminal
The corresponding flash back key of first application program.
9. method according to any one of claims 1 to 5, which is characterized in that there are the fortune of at least two application programs
Row state is in the background operation state;
It is described to show flash back key on the terminal, comprising:
The flash back key of polymerization is shown on the terminal;
Receive the third trigger action on the flash back key of the polymerization;
The corresponding sudden strain of a muscle of each application program at least two application programs is shown according to the third trigger action
Hui Jian.
10. according to the method described in claim 9, it is characterized in that, described show at least two according to the third trigger action
In a application program after the corresponding flash back key of each application program, comprising:
Receive the selection operation in at least two flash back keys on target flash back key;
According to the user interface of the selection operation corresponding destination application of displaying target flash back key on the terminal.
11. a kind of backstage switching device of application program, which is characterized in that described device includes:
Display module, the user interface for application program displayed on the terminals;
Receiving module, for receiving the first trigger action in the terminal;
Switching module, for according to first trigger action by the operating status of the application program from the front stage operation shape
State switches to background operation state;
The display module switches to the backstage from the front stage operation state for the operating status when the application program
When operating status, flash back key is shown on the terminal, the flash back key is for showing the application program when being triggered
User interface.
12. a kind of computer equipment, which is characterized in that the computer equipment includes processor and memory, the memory
In be stored at least one instruction, at least a Duan Chengxu, code set or instruction set, at least one instruction, described at least one
Duan Chengxu, the code set or instruction set are loaded by the processor and are executed to realize as described in claims 1 to 10 is any
Application program backstage switching method.
13. a kind of computer readable storage medium, which is characterized in that be stored at least one instruction, extremely in the storage medium
A few Duan Chengxu, code set or instruction set, at least one instruction, an at least Duan Chengxu, the code set or instruction
Collection is loaded by processor and is executed the backstage switching method to realize the application program as described in claims 1 to 10 is any.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910809102.0A CN110515717B (en) | 2019-08-29 | 2019-08-29 | Background switching method, device and equipment of application program and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910809102.0A CN110515717B (en) | 2019-08-29 | 2019-08-29 | Background switching method, device and equipment of application program and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110515717A true CN110515717A (en) | 2019-11-29 |
CN110515717B CN110515717B (en) | 2023-09-01 |
Family
ID=68629214
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910809102.0A Active CN110515717B (en) | 2019-08-29 | 2019-08-29 | Background switching method, device and equipment of application program and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110515717B (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111638828A (en) * | 2020-05-29 | 2020-09-08 | 维沃移动通信(杭州)有限公司 | Interface display method and device |
CN111857919A (en) * | 2020-07-16 | 2020-10-30 | 北京字节跳动网络技术有限公司 | Video processing method, device, terminal equipment and medium |
CN112691369A (en) * | 2020-12-28 | 2021-04-23 | 维沃移动通信有限公司 | Display method, display device, electronic equipment and storage medium |
CN112783391A (en) * | 2021-01-28 | 2021-05-11 | 维沃移动通信有限公司 | Application program running method and device, electronic equipment and storage medium |
CN113568732A (en) * | 2021-09-24 | 2021-10-29 | 统信软件技术有限公司 | Application program switching method, computing device and storage medium |
CN114265645A (en) * | 2020-09-15 | 2022-04-01 | Oppo(重庆)智能科技有限公司 | Information display method, device, terminal and storage medium |
WO2022222751A1 (en) * | 2021-04-23 | 2022-10-27 | Oppo广东移动通信有限公司 | Information display method and apparatus, and mobile terminal and storage medium |
CN115576621A (en) * | 2022-03-31 | 2023-01-06 | 荣耀终端有限公司 | Application program loading method and electronic equipment |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107436758A (en) * | 2016-05-28 | 2017-12-05 | 腾讯科技(深圳)有限公司 | The method for information display and mobile terminal of a kind of mobile terminal |
CN108021302A (en) * | 2017-11-30 | 2018-05-11 | 维沃移动通信有限公司 | A kind of display methods of application icon, terminal and computer-readable recording medium |
CN109165076A (en) * | 2018-10-17 | 2019-01-08 | Oppo广东移动通信有限公司 | Display methods, device, terminal and the storage medium of game application |
-
2019
- 2019-08-29 CN CN201910809102.0A patent/CN110515717B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107436758A (en) * | 2016-05-28 | 2017-12-05 | 腾讯科技(深圳)有限公司 | The method for information display and mobile terminal of a kind of mobile terminal |
CN108021302A (en) * | 2017-11-30 | 2018-05-11 | 维沃移动通信有限公司 | A kind of display methods of application icon, terminal and computer-readable recording medium |
CN109165076A (en) * | 2018-10-17 | 2019-01-08 | Oppo广东移动通信有限公司 | Display methods, device, terminal and the storage medium of game application |
Non-Patent Citations (1)
Title |
---|
陈志峰: "《计算机信息技术应用教程》" * |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111638828A (en) * | 2020-05-29 | 2020-09-08 | 维沃移动通信(杭州)有限公司 | Interface display method and device |
CN111857919A (en) * | 2020-07-16 | 2020-10-30 | 北京字节跳动网络技术有限公司 | Video processing method, device, terminal equipment and medium |
CN114265645A (en) * | 2020-09-15 | 2022-04-01 | Oppo(重庆)智能科技有限公司 | Information display method, device, terminal and storage medium |
CN114265645B (en) * | 2020-09-15 | 2024-05-17 | Oppo(重庆)智能科技有限公司 | Information display method, device, terminal and storage medium |
CN112691369A (en) * | 2020-12-28 | 2021-04-23 | 维沃移动通信有限公司 | Display method, display device, electronic equipment and storage medium |
CN112783391A (en) * | 2021-01-28 | 2021-05-11 | 维沃移动通信有限公司 | Application program running method and device, electronic equipment and storage medium |
CN112783391B (en) * | 2021-01-28 | 2022-06-03 | 维沃移动通信有限公司 | Application program running method and device, electronic equipment and storage medium |
WO2022222751A1 (en) * | 2021-04-23 | 2022-10-27 | Oppo广东移动通信有限公司 | Information display method and apparatus, and mobile terminal and storage medium |
CN113568732A (en) * | 2021-09-24 | 2021-10-29 | 统信软件技术有限公司 | Application program switching method, computing device and storage medium |
CN115576621A (en) * | 2022-03-31 | 2023-01-06 | 荣耀终端有限公司 | Application program loading method and electronic equipment |
CN115576621B (en) * | 2022-03-31 | 2023-11-03 | 荣耀终端有限公司 | Application program loading method and electronic device |
Also Published As
Publication number | Publication date |
---|---|
CN110515717B (en) | 2023-09-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110515717A (en) | Backstage switching method, device, equipment and the storage medium of application program | |
CN101867487B (en) | With the system and method for figure call connection symbol management association centre | |
CN106095226B (en) | The method and apparatus of application program is run in electric terminal | |
CN110523085A (en) | Control method, device, terminal and the storage medium of virtual objects | |
CN109698964A (en) | A kind of online direct broadcasting room gift sending method and system | |
CN108970116A (en) | Virtual role control method and device | |
CN109165157B (en) | Method for testing application program and test platform | |
CN109756428A (en) | Advertisement placement method and device | |
CN108415657B (en) | Message sending method, device, medium and electronic equipment | |
CN109976634A (en) | A kind of game APP screenshot method and equipment | |
CN105867754B (en) | Application interface processing method and processing device | |
CN111263175A (en) | Interaction control method and device for live broadcast platform, storage medium and electronic equipment | |
CN106959879A (en) | A kind of control method and electronic equipment | |
CN109815057A (en) | A kind of data back up method and mobile terminal | |
CN115460469B (en) | Processing method and device for multi-video playing, computer equipment and storage medium | |
CN109358941A (en) | A kind of control method and electronic equipment | |
CN113476823B (en) | Virtual object control method and device, storage medium and electronic equipment | |
CN113476845B (en) | Interaction control method and device in game, electronic equipment and computer medium | |
CA3069374A1 (en) | View switching | |
CN109460840A (en) | Internet trip order processing method, apparatus and equipment | |
CN113741754A (en) | Task creation method and device, electronic equipment and computer-readable storage medium | |
CN110222264A (en) | Application maintenance control method, device, terminal, server and storage medium | |
CN114296844A (en) | Information synchronous interaction method, device, equipment and storage medium | |
EP4273670A1 (en) | Interaction method and apparatus, and storage medium | |
CN108170605A (en) | Submission method, client and the computer readable storage medium of bug information |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |