CN103164269B - Method and terminal achieving multi-window display of application programs - Google Patents

Method and terminal achieving multi-window display of application programs Download PDF

Info

Publication number
CN103164269B
CN103164269B CN201110406432.9A CN201110406432A CN103164269B CN 103164269 B CN103164269 B CN 103164269B CN 201110406432 A CN201110406432 A CN 201110406432A CN 103164269 B CN103164269 B CN 103164269B
Authority
CN
China
Prior art keywords
application program
priority
application
terminal
foreground
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201110406432.9A
Other languages
Chinese (zh)
Other versions
CN103164269A (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201110406432.9A priority Critical patent/CN103164269B/en
Priority to PCT/CN2012/071256 priority patent/WO2013082886A1/en
Publication of CN103164269A publication Critical patent/CN103164269A/en
Application granted granted Critical
Publication of CN103164269B publication Critical patent/CN103164269B/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
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • G06F9/4881Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues

Abstract

The invention discloses a method achieving multi-window display of application programs. The method includes that a terminal updates priority levels of the application programs during operation according to priority updating strategy periodicity; and the terminal switches foreground application programs and background application programs according to the priority levels of the application programs, and the terminal displays the foreground application programs in a multi-window mode. The invention further discloses the terminal, a plurality of application programs can be displayed in the multi-window mode, the foreground application programs and the background application programs are switched through combination of various states of the terminal and the states of the application programs, and processing sources of a central processing unit (CPU) are reasonably distributed.

Description

A kind of method and terminal of windows display application program
Technical field
The present invention relates to the terminal Display Technique in moving communicating field, more particularly to a kind of windows display application program Method and terminal.
Background technology
With the high speed development of mobile communication technology, terminal, such as mobile phone, panel computer, application program it is increasingly stronger and It is more and more, multiple application programs can be simultaneously run in a terminal.At present, in terminal the application program of multiple operations display Method is:A foreground application is once shown, other application programs are in running background;When user needs to check background application During the state of program, the function button of manual operation terminal is needed, background application is switched to into front stage operation.
But, above-mentioned display method, because main screen only shows a foreground application, so to check in terminal when The state of all application programs of front operation, it is necessary to user's manual operation, by background application front stage operation is switched to, and is made The operation of user repeats and loaded down with trivial details;In addition, in above-mentioned display method, not accounting for the application program treatment situation for currently being run With the factor such as the network state and state of charge of terminal, it is impossible to make terminal automatically apply journey according to front/rear of current operation The situation of sequence and front/rear application program is switched according to the self-condition of terminal, and then, cause central processing unit (CPU, Central Processing Unit) processing resource allocation is unreasonable, such as, and when the mobile network signals of terminal it is weaker and front When platform application program needs to use mobile network, the application program can run process that is very slow and can for a long time taking more CPU Resource, also affects the processing progress of the background application that need not use mobile network.
It can be seen that, the display packing of current existing end application, it is impossible to provide windows display multiple application programs, And front/rear application program cannot be switched with reference to the state of the various states of terminal itself and application program, and then cannot be closed Reason distribution CPU process resources.
The content of the invention
In view of this, it is an object of the invention to provide the method and terminal of a kind of windows display application program, there is provided The multiple application programs of windows display, and the state of the various states with reference to terminal itself and application program switch front/rear should With program, and then reasonable distribution CPU process resource.
To reach above-mentioned purpose, the technical scheme is that what is be achieved in that:
The invention provides a kind of method of windows display application program, the method includes:
Terminal periodically updates the priority of operating application program according to priority update strategy;
The terminal switches foreground application and background application, and the terminal according to the priority of application program Windows display foreground application.
In such scheme, the priority update strategy is:Wanted according to the operation conditions and application program of application program Using the other functions of the terminal for arriving, the rule of the priority of operating application program is set.
In such scheme, the terminal periodically updates the preferential of operating application program according to priority update strategy Level, including:Whether terminal real-time judge receives the call instruction to application program, if received, judges that user calls Application program be application program that newly-increased application program is still currently running;If be not received by, continue according to excellent First level more New Policy periodically updates the priority of operating application program.
In such scheme, the terminal windows display foreground application, including:When the terminal foreground application to be shown When program is newly-increased application program, if the existing display window quantity in terminal home screen curtain is less than display window higher limit, Terminal shows the display window of the foreground application according to the displaying ratio addition specified;If the display in terminal home screen curtain Number of windows is not less than display window higher limit, then terminal is shown newly using the former display window of the application program for being switched to backstage The application program of increasing;
When the terminal foreground application to be shown is the application program being currently running, the highlighted application program it is aobvious Show window.
It is described that foreground application and background application, bag are switched according to the priority of application program in such scheme Include:When the priority for having background application is higher than foreground application, the background application is switched to into foreground and is shown, The viewing area of display window and display size are identical with the application program for being switched to running background;When currently displaying on main screen Application program number less than system arrange foreground show application program higher limit when, by the higher background application journey of priority Sequence switches to foreground application.
In such scheme, it is described according to the priority of application program switch foreground application and background application it Afterwards, the method also includes:The title of application program that preservation is made adjustment, type of service, viewing area, show size and preferential Level.
In such scheme, the terminal periodically updates the preferential of operating application program according to priority update strategy Level, including:Title and priority of the terminal according to the application program of network signal bull bear position, state of charge and communication function Update the priority of the operating application program of policy update.
Present invention also offers a kind of terminal, the terminal includes:Real-time update module and display interactive module;Wherein,
Real-time update module, for periodically updating the preferential of operating application program according to priority update strategy Level, according to the priority of application program foreground application and background application are switched, and notify to show interactive module multiwindow Display foreground application program;
Interactive module is shown, for the notice windows display foreground application sent according to real-time update module.
In such scheme,
The real-time update module, is additionally operable to preserve to be used according to the operation conditions and application program of application program Terminal other functions, set the priority update strategy of the rule composition of the priority of operating application program.
In such scheme,
The real-time update module, is additionally operable to whether real-time judge receives the call instruction to application program, if connect Receive, then judge that application program that user calls is the application program that newly-increased application program is still currently running;If no Receive, then continue the priority that operating application program is periodically updated according to priority update strategy.
In such scheme,
The real-time update module, judges that the foreground application to be shown is newly-increased application program specifically for working as, If showing, the existing display window quantity in the main screen of interactive module is less than display window higher limit, according to the display specified Ratio addition in interactive module is shown shows the display window of the foreground application, if the display window number in main screen Amount be not less than display window higher limit, then using be switched to the former display window of the application program on backstage show interactive module in Newly-increased application program is shown, when the foreground application to be shown is the application program being currently running, notifies to show interaction The display window of the highlighted application program of module.
In such scheme,
The real-time update module, specifically for being higher than foreground application when the priority for being determined with background application When, cancel in interactive module is shown and show the foreground application, the background application is switched to into foreground by showing friendship Mutually module shows that the viewing area of display window and display size are identical with the application program for being switched to running background;Work as judgement When application program number currently displaying on main screen arranges the higher limit of foreground display application program less than system, by priority Higher background application be added to show interactive module main screen in switch to foreground application to be shown.
In such scheme, the terminal also includes:Memory module, for preserving the application journey that real-time update module is sent The title of sequence, type of service, viewing area, show size and priority;
Accordingly, the real-time update module, specifically for by the title of the application program made adjustment, type of service, Viewing area, display size and priority are saved in memory module.
In such scheme, the terminal also includes:Monitoring module and communication module;
The monitoring module, for the network signal bull bear position and state of charge of periodicity monitor terminal, and will Network signal bull bear position and state of charge are sent to real-time update module;
The communication module, for the name that periodicity provides the application program for using communication function to real-time update module Claim;
Accordingly, the real-time update module, is additionally operable to the network letter that reception state monitoring module and communication module are sent The title of the application program of number bull bear position, state of charge and communication function, according to network signal bull bear position, state of charge and The title of the application program of communication function and the priority of the operating application program of priority update policy update.
The method and terminal of windows display application program provided by the present invention, has the following advantages that and feature:This Invention realizes root by terminal preset priority update strategy, periodically updating the priority of operating application program Switch over according to the running status of front/rear application program of the priority to being run and front/rear switching shows, and energy Enough windows according to preset displaying ratio display foreground application program;Thus, can show multiple in the main screen of terminal Foreground application, and the state of the various states with reference to terminal itself and application program switches front/rear application program, enters And reasonable distribution CPU process resource.
Description of the drawings
Fig. 1 is the flow chart of the method for windows display application program of the present invention;
Fig. 2 is the composition structural representation of terminal of the present invention.
Specific embodiment
The present invention basic thought be:Terminal periodically updates operating application program according to priority update strategy Priority;The terminal switches foreground application and background application, and many windows of the terminal according to the priority of application program Mouth display foreground application program.
Wherein, the priority update strategy, is to be used according to the operation conditions and application program of application program Terminal other functions setting application program priority rule.
Below in conjunction with the accompanying drawings and specific embodiment the present invention is further described in more detail.
As shown in figure 1, the invention provides a kind of method of windows display application program, including:
Step 101:Preset priority levels more New Policy in the terminal, then execution step 102 and step 109 simultaneously.
Here, the priority update strategy, including:
When newly-increased application program is called, first the priority of the application program is set to into default priority, such as, and can be with Default priority is set to into one;
When calling the application program being currently running every time, the priority of the application program is added one;
The priority of the application program that user is being operated is set to the priority of the application program of current all operations In maximum add one, such as, the maximum in the priority of the application program of current all operations is 21, then by user The priority of the application program for operating is set to 22;
The application program of all operations is periodically detected, if there is application program to use audio/video function, this is applied The priority of program is set to currently run the maximum of priority in application program and plus one, such as, and local music, online sound The application programs such as pleasure, local video, streaming media video;
The application program of all operations is periodically detected, if there is application program to use communication function, this journey is applied into The priority of sequence is set to currently run the maximum of priority in application program and plus one, such as, and visual telephone, voice call etc. Application program;
The application program of all operations is periodically detected, if there is application program to use mobile network, and works as mobile network When signal is strong, the priority of the application program is set to the second largest value of priority in current all application programs, when mobile network's letter When number weak, the priority of the application program is set to the minima of priority in the application program for currently being run;Wherein, it is described Mobile network signals are strong and the mobile network signals it is weak be the mobile network signals measurement knot that can be obtained using prior art Really, do not repeat here;
Periodic detection terminal self electric quantity, if self electric quantity is low, in the application program for being run with user The few application program of amount of interaction, by the priority of the application program priority in the application program for currently being run is set to Minima;Wherein, the self electric quantity is low, can be determined according to the too low early warning thresholding of preset electricity, such as, when terminal electricity When measuring early warning thresholding too low less than the electricity, then terminal self electric quantity is low;
If there is priority identical application program, to the operator precedence of application program that first starts in rear startup The operation of application program.
Step 102:Whether terminal real-time judge receives the call instruction to any one application program, if received Arrive, then execution step 103;If be not received by, terminate handling process.
Here, the call instruction to any one application program, be:User needs to use any one application journey Sequence, user selectes the application program in terminal, and terminal itself initiates the tune to the application program when the application program is called With instruction;
The call instruction, including:The mark of the application program to be called and specific call instruction information, producing should The method of call instruction is prior art, is not repeated here;The mark of the application program, can be the name of application program Claim.
Step 103:The application program that terminal judges user calls is the application that newly-increased application program is still currently running Program, if newly-increased application program, then execution step 104;If the application program being currently running, then execution step 108。
Here, the judgement, be:The mark of the application program to be called in using call instruction, with currently fortune The mark of capable all application programs is compared, if the mark of all application programs of current operation with call instruction in The application program to be called mark it is different, then the application program that user calls is newly-increased application program;Otherwise, it is just In the application program of operation.
Step 104:Whether the total quantity of the application program that terminal judges are currently running is less than can run application program Upper limit quantitative value, if it is less, execution step 105;If it is not, then not increasing the newly-increased application program of operation, knot Beam handling process.
Here, the upper limit quantitative value for running application program, be according to the preset numerical value of practical situation, such as, and can It is set to 20;
It is described not increase the newly-increased application program of operation, including:Terminal notifying user cannot increase application program newly, at end Reason flow process.
Step 105:Whether the window number of the currently displaying application program of terminal judges is less than display window higher limit, if little In then execution step 106;Otherwise, execution step 107.
Here, the display window higher limit, is can to show in the main screen of terminal according to practical situation is preset Window number maximum, such as can be predisposed to four.
Step 106:Terminal is added on newly-increased application program in one display window of main screen, then execution step 109。
Step 107:One foreground application is switched to backstage by terminal, and newly-increased application program is added on into the foreground In the display window of application program, then execution step 109.
Specifically:The priority of the newly-increased application program is set to acquiescence by terminal according to preset priority update strategy Priority;
Terminal selects the minimum application program of priority in a current foreground application, by the application program switching Perform to backstage, then using this be switched to backstage execution application program original display window viewing area and display Size shows newly-increased application program;And terminal according to preset priority update strategy by the preferential of the newly-increased application program The maximum that level is set in the priority of the application program of current all operations plus one, preserves title, the industry of newly-increased application program Service type, viewing area, size and priority are shown, then execution step 109.
Step 108:Terminal is highlighted the window of the application program, then execution step 109.
Specifically:Terminal is measured according to priority update, by the priority of this application program being currently running for calling Plus one;
The application program that terminal judges user calls is foreground application or background application, if foreground should With program, then the window of the foreground application is highlighted, and according to priority update strategy by the preferential of the application program The maximum that level is set in the priority of the application program of current all operations plus one, and preserves the name of the application program Title, type of service, viewing area, size and priority are shown, then execution step 109;
If background application, then a foreground application is chosen, the foreground application is switched to into backstage Run, then the background application that user is called switches to front stage operation state, the viewing area of display window and display Size is identical with the application program for being switched to running background, and be highlighted the window of the application program, according to priority update Strategy the maximum that the priority of the application program is set in the priority of the application program of current all operations plus one and Title, type of service, viewing area, display size and the priority of the application program are preserved, then execution step 109;
Here, one foreground application of the selection, can be minimum for priority in selection foreground application, or Choose what is shown into foreground earliest in foreground application, or choose minimum with user interactivity in foreground application answering Use program.
Step 109:Terminal according to priority update strategy, periodically update the priority of operating application program, root Front/rear application program is adjusted according to the priority of application program.
Here, it is described that the application program shown in window in main screen is adjusted according to the priority of application program, including:Eventually End detects whether the priority of any one background application higher than any one foreground application, and foreground application journey Whether sequence number shows the higher limit of application program less than the foreground that system is arranged;When there is the excellent of any one background application When first level is higher than any one foreground application, the background application is switched to into foreground and is shown, the display of display window Region and show size it is identical with the application program for being switched to running background, and according to priority update policy update this adjust to The priority of the application program on foreground, and preserve the title of the application program, type of service, viewing area, show size and Priority;When application program number currently displaying on main screen arranges the higher limit that foreground shows application program less than system When, the higher background application of priority is added to main screen, switches to foreground application to be shown, and according to excellent First level updates policy update, and this is adjusted to the priority of the application program on foreground, and preserves the title of the application program, business Type, viewing area, display size and priority;
Wherein, the background application that priority is higher is added to main screen, is:Terminal is selected according to user The mode of addition application program is operated, if the mode for adding application program that user selectes is to increase one by one on the home screen The application program of display, then point out user to select displaying ratio, according still further to displaying ratio and the application program according to running background Priority order from high to low, background application is added in main screen window successively, until foreground shows application The quantity of program reaches the higher limit that foreground shows application program;
If the mode of the addition application program that user selectes shows on the home screen multiple application programs for disposable increase, Then according to the multiwindow higher limit of preset display application program, select and can be added on according to priority order from high to low Application program on the main screen of foreground, further according to preset displaying ratio, calculates the application journey for being disposably added on main screen The viewing area of the window of sequence and display size, and all application programs chosen disposably are added to the display window of main screen In mouthful.
In above-mentioned steps 106, the display window that newly-increased application program is added on main screen is specifically included Following steps:
Step a:The priority of the newly-increased application program is set to acquiescence by terminal according to preset priority update strategy Priority.
Step b:Terminal notifying user selects the displaying ratio of display window, receive user to select the display ratio of display window Example.
Here, the displaying ratio of the display window, be:Preset ratio value according to the actual requirements, such as, and can be with preset For 50% and 25% two kind.
Step c:The displaying ratio of the display window that terminal is selected according to user judges whether to need to replace foreground application journey Sequence, if it is desired, then execution step d;If it is not required, then execution step e.
Here, it is described to judge whether to need to replace foreground application, be:The displaying ratio selected according to user is calculated The display size of the display window required for newly-increased application program, the display window according to required for newly-increased application program Show size, judgement with the addition of after newly-increased application program other foreground applications whether can be using being not less than preset minimum Displaying ratio shows, if it can, need not then replace foreground application;If it is not, needing to replace foreground application.
Step d:Terminal selects the minimum foreground application of current priority, and the foreground application is switched to into backstage Application program, then adjusts the viewing area of the display window of remaining foreground application and shows size, selects according to user The displaying ratio of fixed display window, calculate newly-increased application program display window viewing area and show size after, Viewing area and display size according to calculating is added on newly-increased application program in the display window of main screen, terminal root The priority of the newly-increased application program is set to the application program of current all operations according to preset priority update strategy Maximum in priority adds one, and preserve the title of newly-increased application program, type of service, viewing area, show size and The priority of the newly-increased application program.
Here, the viewing area of the display window of the remaining foreground application of the adjustment and display size, be:Terminal Check the viewing area of the former display window of the application program for being switched to backstage and show size, newly-increased with the display for calculating Viewing area needed for application program and show that size compares, if the former is less than the latter, terminal is by remaining foreground application The display window of program is adjusted to minimum displaying ratio;If the former is not less than the latter, remaining foreground application journey is not adjusted The viewing area of the display window of sequence and display size, newly-increased application program is directly added to the application journey for being switched to backstage In the former display window of sequence.
Step e:Terminal adjusts the viewing area of the display window of remaining foreground application and shows size, will be newly-increased Application program be added in the display window of foreground according to the displaying ratio that user selectes, terminal is according to preset priority update Strategy adds the maximum that the priority of the newly-increased application program is set in the priority of the application program of current all operations One, and preserve title, type of service, viewing area, display size and the priority of the newly-increased application program.
As shown in Fig. 2 present invention also offers a kind of terminal, including:Real-time update module 21 and display interactive module 22; Wherein,
Real-time update module 21, for periodically updating the preferential of operating application program according to priority update strategy Level, according to the priority of application program foreground application and background application are switched, and notify to show interactive module window more than 22 Mouth display foreground application program;
Interactive module 22 is shown, for the notice windows display foreground application journey sent according to real-time update module 21 Sequence.
The real-time update module 21, is additionally operable to preserve the preset priority update strategy of user, including:
When newly-increased application program is called, first the priority of the application program is set to into default priority, such as, and can be with Default priority is set to into one;
When calling the application program being currently running every time, the priority of the application program is added one;
The priority of the application program that user is being operated is set to the priority of the application program of current all operations In maximum add one, such as, the maximum in the priority of the application program of current all operations is 21, then by user The priority of the application program for operating is set to 22;
The application program of all operations is periodically detected, if there is application program to use audio/video function, this is applied The priority of program is set to currently run the maximum of priority in application program and plus one, such as, and local music, online sound The application programs such as pleasure, local video, streaming media video;
The application program of all operations is periodically detected, if there is application program to use communication function, this journey is applied into The priority of sequence is set to currently run the maximum of priority in application program and plus one, such as, and visual telephone, voice call etc. Application program;
The application program of all operations is periodically detected, if there is application program to use mobile network, and works as mobile network When signal is strong, the priority of the application program is set to the second largest value of priority in current all application programs, when mobile network's letter When number weak, the priority of the application program is set to the minima of priority in the application program for currently being run;Wherein, it is described Mobile network signals are strong and the mobile network signals it is weak be the mobile network signals measurement knot that can be obtained using prior art Really, do not repeat here;
Periodic detection terminal self electric quantity, if self electric quantity is low, in the application program for being run with user The few application program of amount of interaction, by the priority of the application program priority in the application program for currently being run is set to Minima;Wherein, the self electric quantity is low, can be determined according to the too low early warning thresholding of preset electricity, such as, when terminal electricity When measuring early warning thresholding too low less than the electricity, then terminal self electric quantity is low;
If there is priority identical application program, to the operator precedence of application program that first starts in rear startup The operation of application program.
The terminal, also includes:Monitoring module 23 and communication module 24;
The monitoring module 23, for the network signal bull bear position and state of charge of periodicity monitor terminal, and Network signal bull bear position and state of charge are sent to into real-time update module 21;
The communication module 24, the application program for using communication function is provided for periodicity to real-time update module 21 Title;
Accordingly, the real-time update module 21, sends specifically for reception state monitoring module 23 and communication module 24 Network signal bull bear position, state of charge and communication function application program title, according to network signal bull bear position, electricity The title and priority update strategy of the application program of amount state and communication function, periodically updates operating application program Priority.
The display interactive module 22, is additionally operable to the call operation to any one application program according to user, to real-time Update module 21 sends the call instruction to any one application program;Accordingly, the real-time update module 21, is additionally operable to reality When judge whether to receive the call instruction to any one application program for showing that interactive module 22 is sent, if received, Then judge that application program that user calls is the application program that newly-increased application program is still currently running;If do not received Arrive, then continue the priority that operating application program is periodically updated according to priority update strategy.
The real-time update module 21, specifically for the mark of the application program to be called in using call instruction, With currently compare in the mark of all application programs of operation, if the mark of all application programs of current operation with The mark of the application program to be called in call instruction is different, then judge application program that user calls as newly-increased application Program;Otherwise, it is determined that the application program that user calls is the application program being currently running.
The real-time update module 21, is additionally operable to when the application program for judging that user calls is newly-increased application program, Whether the total quantity of the application program that judgement is currently running is less than the upper limit quantitative value that can run application program, when judgement is used When the application program that family is called is the application program being currently running, notify to show that interactive module 22 is highlighted what the user called The window of application program;Accordingly, the display interactive module 22, is additionally operable to the notice sent according to real-time update module 21, The window of the application program that highlight user is called.
The real-time update module 21, being less than specifically for the total quantity when the application program for judging to be currently running to run During the upper limit quantitative value of application program, judge the window number of currently displaying application program whether less than display window higher limit.
The real-time update module 21, being not less than specifically for the total quantity when the application program for judging to be currently running to transport During the upper limit quantitative value of row application program, then notify to show that the prompting user of interactive module 22 cannot increase application program newly;Accordingly, The display interactive module 22, the notice for being additionally operable to be sent according to real-time update module 21 points out user to increase newly and applies journey Sequence.
The real-time update module 21, specifically for being less than display window when the window number for judging currently displaying application program During higher limit, newly-increased application program is added in a display window of the main screen for showing interactive module 22, otherwise, will One foreground application is switched to backstage, and newly-increased application program is added on the foreground application journey for showing interactive module 22 In the former display window of sequence.
The terminal, also includes:Memory module 25, for preserving the name of the application program that real-time update module 21 is sent Title, type of service, viewing area, display size and priority, and the application journey for having preserved is provided for real-time update module 21 The title of sequence, type of service, viewing area, show size and priority;
Accordingly, the real-time update module 21, specifically for being newly-increased answering when the application program that determination user calls With program and currently displaying application program window number be not less than display window higher limit when, according to preset priority update The priority of the newly-increased application program is set to default priority by strategy, is selected preferential in a current foreground application The minimum application program of level, is switched to the application program backstage execution and notifies to show that interactive module 22 is cancelled display and should be answered With program, the title of the application program for then being shown using the cancellation extracts the application program correspondence from memory module 25 Viewing area and show size as newly-increased application program viewing area and show size, notify show interactive module 22 Using the newly-increased application program specified viewing area and show that size shows the application program for increasing newly, according to preset preferential Level more New Policy is set to the priority of the newly-increased application program in the priority of the application program of current all operations most Big value Jia one, and the title of newly-increased application program, type of service, viewing area, display size and priority are saved in into storage Module 25;
The display interactive module 22, specifically for receiving real-time update module 21 instruction is sent, and cancels aobvious according to instruction Show application program, then show newly-increased application journey using the viewing area and display size of the newly-increased application program specified Sequence.
The real-time update module 21, the application program called specifically for working as determination user is the application journey being currently running During sequence, measured according to priority update, the priority of the application program being currently running for calling plus one, judge the application program For foreground application or background application, if foreground application, then send highlighted to display interactive module 22 The instruction of the window of the foreground application is shown, and is set to the priority of the application program according to priority update strategy Maximum in the priority of the application program of current all operations adds one, and by the title of the application program, type of service, Viewing area, display size and priority are sent to memory module 25;If background application, then choosing a foreground should With program, the foreground application is switched to into running background, then to show interactive module 22 send cancellation display be switched to after The instruction of the former foreground application of platform operation, then the background application that user is called switches to front stage operation state, The viewing area of display window and display size are identical with the application program for being switched to running background, and to display interactive module 22 The instruction of the window for being highlighted the application program is sent, is arranged the priority of the application program according to priority update strategy Add one for the maximum in the priority of the application program of current all operations, and notify that memory module 25 preserves the application program Title, type of service, viewing area, show size and priority.
The real-time update module 21, the application specifically for periodically updating current operation according to priority update strategy After the priority of program, the priority for detecting whether any one background application is higher than any one foreground application journey Sequence, and whether foreground application number arrange the higher limit that foreground shows application program less than system.
The real-time update module 21, specifically for being higher than when the priority for detecting any one background application During any one foreground application, notify to show that the cancellation of interactive module 22 is shown former foreground application, answered using former foreground With the viewing area of the display window of program and background application of the size display priority higher than foreground application is shown, And this is adjusted to the priority of the application program on foreground according to priority update policy update, and notify that memory module 25 is preserved The title of the application program, type of service, viewing area, show size and priority.
The real-time update module 21, specifically for currently displaying on the main screen for showing interactive module 22 when detecting When application program number arranges the higher limit of foreground display application program less than system, by the higher background application of priority In being added to the main screen for showing interactive module 22, and this is adjusted to the application program on foreground according to priority update policy update Priority, and notify memory module 25 preserve the title of the application program, type of service, viewing area, show size and Priority.
The real-time update module 21, the mode of the addition application program specifically for being selected according to user is operated, If the mode of the addition application program that user selectes is to increase the application program for showing on the home screen one by one, user is pointed out choosing Determine displaying ratio, according still further to displaying ratio and the priority order from high to low of the application program according to running background, successively During background application to be added to the main screen window for showing interactive module 22, until foreground shows that the quantity of application program reaches The higher limit of application program is shown to foreground;If the mode of the addition application program that user selectes is disposably to increase in main screen It is upper to show multiple application programs, then according to the multiwindow higher limit of preset display application program, according to priority from high to low Order select the application program that can be added on the main screen of foreground, further according to preset displaying ratio, calculate disposable It is added on the viewing area of the window of the application program of main screen and shows size, and it is disposable by all application programs chosen In being added to the display window of the main screen for showing interactive module 22.
The real-time update module 21, specifically for when confirm the application program that calls of user be newly-increased application program, And the window number of currently displaying application program be less than display window higher limit when, it is according to preset priority update strategy that this is new The priority of the application program of increasing is set to default priority, by showing that interactive module 22 points out user to select the aobvious of display window Show ratio, the displaying ratio of the selected display window of user for showing that interactive module 22 is returned is received, according to the display of display window Ratio judges whether to need to replace foreground application.
The real-time update module 21, the displaying ratio specifically for selecting according to user calculates newly-increased application program The display size of required display window, the display size of the display window according to required for newly-increased application program judges With the addition of whether other foreground applications after newly-increased application program can show using preset minimum displaying ratio is not less than, If it can, need not then replace foreground application;If it is not, needing to replace foreground application.
The real-time update module 21, specifically for when judging to need to replace foreground application, selecting current preference The minimum foreground application of level, by the foreground application background application is switched to, and then adjusting remaining foreground should With the viewing area of the display window of program and size is shown, the displaying ratio of the display window selected according to user, calculated Behind the viewing area of the display window of newly-increased application program and display size, according to the viewing area and display size that calculate Newly-increased application program is added in the display window of main screen, according to preset priority update strategy by this it is newly-increased should The maximum being set in the priority of the application program of current all operations with the priority of program plus one, and notifies memory module 25 title, type of service, viewing area, display size and the priority for preserving newly-increased application program.
The real-time update module 21, the display of the former display window specifically for checking the application program for being switched to backstage Region and display size, the viewing area and display size needed for the application program newly-increased with the display for calculating is compared, if The former is less than the latter, then the display window of remaining foreground application is adjusted to into minimum displaying ratio;If the former is not little In the latter, then do not adjust the viewing area of the display window of remaining foreground application and show size, directly will be newly-increased Application program is added in the former display window for being switched to the application program on backstage.
The real-time update module 21, specifically for when judging that foreground application need not be replaced, adjusting remaining The viewing area of the display window of foreground application and display size, the display that newly-increased application program is selected according to user Ratio is added in the display window of foreground, is set the priority of the newly-increased application program according to preset priority update strategy Add one for the maximum in the priority of the application program of current all operations, and notify that memory module 25 preserves newly-increased application The title of program, type of service, viewing area, show size and priority.
The above, only presently preferred embodiments of the present invention is not intended to limit protection scope of the present invention.

Claims (14)

1. a kind of method of windows display application program, it is characterised in that the method includes:
Terminal periodically updates the priority of operating application program according to priority update strategy;
The terminal switches foreground application and background application, and many windows of the terminal according to the priority of application program Mouth display foreground application program;
The terminal windows display foreground application, including:When the terminal foreground application to be shown is newly-increased answering When using program, if existing display window quantity in terminal home screen curtain is less than display window higher limit, terminal is according to specifying Displaying ratio addition shows the display window of the foreground application;If the display window quantity in terminal home screen curtain is not less than Display window higher limit, then terminal show newly-increased application program using the former display window of the application program for being switched to backstage.
2. method according to claim 1, it is characterised in that the priority update strategy, be:According to application program The other functions of the operation conditions and application program terminal to be used, set the rule of the priority of operating application program Then.
3. method according to claim 1, it is characterised in that the terminal is periodically updated according to priority update strategy The priority of operating application program, including:Whether terminal real-time judge receives the call instruction to application program, if Receive, then judge that application program that user calls is the application program that newly-increased application program is still currently running;If not yet Receive, then continue the priority that operating application program is periodically updated according to priority update strategy.
4. method according to claim 1, it is characterised in that when the terminal foreground application to be shown is to be currently running Application program when, the display window of the highlighted application program.
5. method according to claim 1, it is characterised in that described that foreground application is switched according to the priority of application program Program and background application, including:When the priority for having background application is higher than foreground application, should by the backstage Foreground is switched to program to show, the viewing area of display window and show size and the application program phase for being switched to running background Together;When application program number currently displaying on main screen arranges foreground less than system shows the higher limit of application program, will The higher background application of priority switches to foreground application.
6. method according to claim 1 or 5, it is characterised in that described that foreground is switched according to the priority of application program After application program and background application, the method also includes:Title, the service class of the application program that preservation is made adjustment Type, viewing area, display size and priority.
7. method according to claim 1, it is characterised in that the terminal is periodically updated according to priority update strategy The priority of operating application program, including:Terminal answering according to network signal bull bear position, state of charge and communication function With the title and the priority of the operating application program of priority update policy update of program.
8. a kind of terminal, it is characterised in that the terminal includes:Real-time update module and display interactive module;Wherein,
Real-time update module, for periodically updating the priority of operating application program, root according to priority update strategy According to the priority switching foreground application and background application of application program, notify to show before interactive module windows display Platform application program;
Interactive module is shown, for the notice windows display foreground application sent according to real-time update module;
The real-time update module, specifically for when judging that the foreground application to be shown is newly-increased application program, if aobvious Show the existing display window quantity in the main screen of interactive module less than display window higher limit, then according to the displaying ratio specified The addition in interactive module is shown shows the display window of the foreground application, if the display window quantity in main screen is not Less than display window higher limit, then shown in interactive module is shown using being switched to the former display window of the application program on backstage Newly-increased application program.
9. terminal according to claim 8, it is characterised in that
The real-time update module, is additionally operable to preserve the operation conditions and application program end to be used according to application program The other functions at end, set the priority update strategy of the rule composition of the priority of operating application program.
10. terminal according to claim 8, it is characterised in that
The real-time update module, is additionally operable to whether real-time judge receives the call instruction to application program, if received, Then judge that application program that user calls is the application program that newly-increased application program is still currently running;If do not received Arrive, then continue the priority that operating application program is periodically updated according to priority update strategy.
11. terminals according to claim 8, it is characterised in that
The real-time update module, is additionally operable to, when the foreground application to be shown is the application program being currently running, notify Show the display window of the highlighted application program of interactive module.
12. terminals according to claim 8, it is characterised in that
The real-time update module, specifically for when be determined with background application priority be higher than foreground application when, Cancel in interactive module is shown and show the foreground application, the background application is switched to into foreground by showing interactive mould Block shows that the viewing area of display window and display size are identical with the application program for being switched to running background;When judgement main screen It is when application program number currently displaying on curtain arranges the higher limit of foreground display application program less than system, priority is higher Background application be added to show interactive module main screen in switch to foreground application to be shown.
13. terminals according to claim 8, it is characterised in that the terminal, also include:Memory module, for preserving reality When the title of the application program sent of update module, type of service, viewing area, show size and priority;
Accordingly, the real-time update module, specifically for by the title of the application program made adjustment, type of service, display Region, display size and priority are saved in memory module.
14. terminals according to claim 8, it is characterised in that the terminal, also include:Monitoring module and communication Module;
The monitoring module, for the network signal bull bear position and state of charge of periodicity monitor terminal, and by network Signal strength state and state of charge are sent to real-time update module;
The communication module, for the title that periodicity provides the application program for using communication function to real-time update module;
Accordingly, the real-time update module, is additionally operable to the network signal that reception state monitoring module and communication module send strong The title of the application program of weak state, state of charge and communication function, according to network signal bull bear position, state of charge and communication The title of the application program of function and the priority of the operating application program of priority update policy update.
CN201110406432.9A 2011-12-08 2011-12-08 Method and terminal achieving multi-window display of application programs Active CN103164269B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201110406432.9A CN103164269B (en) 2011-12-08 2011-12-08 Method and terminal achieving multi-window display of application programs
PCT/CN2012/071256 WO2013082886A1 (en) 2011-12-08 2012-02-17 Method and terminal for displaying application in multiple windows

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110406432.9A CN103164269B (en) 2011-12-08 2011-12-08 Method and terminal achieving multi-window display of application programs

Publications (2)

Publication Number Publication Date
CN103164269A CN103164269A (en) 2013-06-19
CN103164269B true CN103164269B (en) 2017-05-03

Family

ID=48573534

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110406432.9A Active CN103164269B (en) 2011-12-08 2011-12-08 Method and terminal achieving multi-window display of application programs

Country Status (2)

Country Link
CN (1) CN103164269B (en)
WO (1) WO2013082886A1 (en)

Families Citing this family (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104571781B (en) * 2013-10-18 2018-01-26 北大方正集团有限公司 More application widget display methods and counter management apparatus in Android system
CN106897077B (en) * 2013-12-02 2020-11-10 海信视像科技股份有限公司 Application program control method
CN104834553B (en) * 2014-02-12 2020-04-17 中兴通讯股份有限公司 Service concurrent processing method of user terminal and user terminal
CN103838630A (en) * 2014-03-03 2014-06-04 联想(北京)有限公司 Information processing method, system and electronic equipment
CN104050035B (en) * 2014-05-14 2018-05-25 小米科技有限责任公司 The processing method and processing device of application program
CN104598100B (en) * 2014-12-22 2019-06-25 联想(北京)有限公司 A kind of information processing method and electronic equipment
CN105988662B (en) * 2015-03-06 2020-06-23 阿里巴巴集团控股有限公司 Display method and system of multiple application windows on mobile terminal
CN105843616A (en) * 2016-03-22 2016-08-10 乐视网信息技术(北京)股份有限公司 Menu information updating method and apparatus
CN107783833B (en) * 2016-08-25 2020-04-28 华为技术有限公司 Management method and device for terminal background application program
CN106339268B (en) * 2016-09-12 2018-01-16 广东欧珀移动通信有限公司 application control method and intelligent terminal
CN108614697B (en) * 2016-12-13 2021-03-30 华为技术有限公司 Background Dex compiling control method and device
CN106528298A (en) * 2016-12-29 2017-03-22 努比亚技术有限公司 Resource distribution method and device
CN107133031B (en) * 2017-03-31 2021-01-01 武汉斗鱼网络科技有限公司 Information display method and device
CN108874109A (en) * 2017-05-16 2018-11-23 复旦大学 The method for cleaning and device of background application
CN110753909B (en) * 2017-10-31 2024-04-02 深圳市欢太科技有限公司 Service scheduling method and device, computer equipment and computer readable storage medium
CN109271074A (en) 2018-09-05 2019-01-25 Oppo广东移动通信有限公司 A kind of window regulation method, window adjusting means and mobile terminal
CN109726000A (en) * 2018-12-29 2019-05-07 苏州思必驰信息科技有限公司 The management method of more application views, for more application views management device and operating method
CN112997152B (en) * 2018-12-29 2023-02-28 深圳市欢太科技有限公司 Application program priority adjustment method and device, storage medium and electronic equipment
CN111913750B (en) * 2019-05-10 2022-04-22 华为技术有限公司 Application program management method, device and equipment
CN110209479A (en) * 2019-05-16 2019-09-06 珠海格力电器股份有限公司 A kind of method, apparatus, terminal device and storage medium switching application program
CN112231077B (en) * 2020-07-24 2021-10-19 荣耀终端有限公司 Application scheduling method and electronic equipment
CN112416277A (en) * 2020-11-04 2021-02-26 上海郡码智能科技有限公司 Multi-screen display method and device of vehicle-mounted system, vehicle-mounted system and storage medium
CN113094158A (en) * 2021-03-15 2021-07-09 国政通科技有限公司 Service drive calling method, service drive calling device, electronic equipment and storage medium
US11934850B2 (en) 2021-08-06 2024-03-19 Samsung Electronics Co., Ltd Electronic device for displaying execution screen of application, operating method thereof, and storage medium
CN113703903A (en) * 2021-09-10 2021-11-26 广州朗国电子科技股份有限公司 Split screen display method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1345170A (en) * 2000-09-27 2002-04-17 日本电气株式会社 Portable telephone set and window switching control method
CN1499354A (en) * 2002-11-11 2004-05-26 �ձ�������ʽ���� Multi-window displaying appts, and multi-window management method
CN101315603A (en) * 2007-05-31 2008-12-03 株式会社Ntt都科摩 Information processing device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102063261A (en) * 2011-01-19 2011-05-18 宇龙计算机通信科技(深圳)有限公司 Starting method of application program and mobile terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1345170A (en) * 2000-09-27 2002-04-17 日本电气株式会社 Portable telephone set and window switching control method
CN1499354A (en) * 2002-11-11 2004-05-26 �ձ�������ʽ���� Multi-window displaying appts, and multi-window management method
CN101315603A (en) * 2007-05-31 2008-12-03 株式会社Ntt都科摩 Information processing device

Also Published As

Publication number Publication date
WO2013082886A1 (en) 2013-06-13
CN103164269A (en) 2013-06-19

Similar Documents

Publication Publication Date Title
CN103164269B (en) Method and terminal achieving multi-window display of application programs
US10754520B2 (en) Method and apparatus for managing an application being executed in a portable terminal
US9195560B2 (en) Device and method for calculating battery usable time period for mobile station
CN104133610B (en) The split screen exchange method of mobile terminal and mobile terminal
RU2008102227A (en) MOBILE COMMUNICATION DEVICE AND METHOD OF WORK MANAGEMENT OF MOBILE COMMUNICATION DEVICE
CN107391259A (en) Method for processing resource and device, computer-readable recording medium, mobile terminal
CN104780185A (en) Information sharing control method and device
CN106557320A (en) A kind of method and apparatus of the startup activity for being applied to Android platform
CN107634962B (en) The management method and Related product of network bandwidth
CN106201409A (en) The processing method at a kind of application program operation interface and system
CN104936041B (en) A kind of method and system of customized set-top box status bar
CN108834122A (en) A kind of bluetooth recognition method, apparatus, equipment and storage medium
CN103914204A (en) Method and device for displaying and switching views
CN106936827B (en) A kind of broadcast recipients' queue regulation method, device and terminal
CN107277259A (en) Signal adjusting method and electronic equipment
CN106713068A (en) Intelligent terminal WIFI network display control method and system and intelligent terminal
KR20140037363A (en) Method and apparatus for displaying information on communication quality of a wireless network
CN107421064A (en) Control method, control device, air conditioner, system and the storage medium of air conditioner
CN104102367B (en) A kind of information processing method and device
KR101891155B1 (en) Composed notice function apparatas and method of using for chatting application in a portable terminal
CN106878810A (en) A kind of video broadcasting method and device
CN107835302A (en) The status bar display method and equipment of a kind of terminal
CN105591980B (en) A kind of bandwidth consumption management method and device
CN107071576A (en) TV programme automatic update method, device, terminal and storage medium
CN114006983A (en) Video color ring interaction method, computer equipment and storage medium

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