CN103164269A - 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
CN103164269A
CN103164269A CN2011104064329A CN201110406432A CN103164269A CN 103164269 A CN103164269 A CN 103164269A CN 2011104064329 A CN2011104064329 A CN 2011104064329A CN 201110406432 A CN201110406432 A CN 201110406432A CN 103164269 A CN103164269 A CN 103164269A
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.)
Granted
Application number
CN2011104064329A
Other languages
Chinese (zh)
Other versions
CN103164269B (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

Images

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Telephone Function (AREA)

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 of windows display application program and terminal
Technical field
The present invention relates to the terminal display technique in moving communicating field, relate in particular to a kind of method and terminal of windows display application program.
Background technology
Along with the high speed development of mobile communication technology, terminal, as mobile phone, panel computer etc., application program is more and more stronger and more and more, can move simultaneously a plurality of application programs in a terminal.At present, in terminal, the display packing of the application program of a plurality of operations is: once show a foreground application, other application programs are at running background; When the user need to check the state of background application, need the function button of manual operation terminal, background application is switched to front stage operation.
but above-mentioned display method is because main screen only shows a foreground application, so check the state of all application programs of current operation in terminal, just need user's manual operation, background application is switched to front stage operation, user's operation is repeated and loaded down with trivial details, in addition, in above-mentioned display method, do not consider the factors such as the network state of the current application program treatment situation that moves and terminal and state of charge, can't make terminal automatically according to the situation of front/rear application program of current operation, and switch front/rear application program according to the self-condition of terminal, and then, cause central processing unit (CPU, Central Processing Unit) processing resource allocation is unreasonable, such as, when the mobile network signals of terminal a little less than, and when foreground application need to use the mobile network, this application program can be moved very slow and can take for a long time the processing resource of more CPU, also can have influence on the processing progress of the background application that does not need to use the mobile network.
As seen, the display packing of present existing end application, can't provide windows display a plurality of application programs, and can't switch front/rear application program in conjunction with the various states of terminal self and the state of application program, and then can't process resource by reasonable distribution CPU.
Summary of the invention
In view of this, the object of the present invention is to provide a kind of method and terminal of windows display application program, provide windows display a plurality of application programs, and switch front/rear application program in conjunction with the various states of terminal self and the state of application program, and then reasonable distribution CPU processes resource.
For achieving the above object, technical scheme of the present invention is achieved in that
The invention provides a kind of method of windows display application program, the method comprises:
Terminal periodically updates the priority of operating application program according to the priority update strategy;
Described terminal is switched foreground application and background application according to the priority of application program, and described terminal windows display foreground application.
In such scheme, described priority update strategy is other functions of the terminal that will use according to operation conditions and the application program of application program, sets the rule of the priority of operating application program.
In such scheme, described terminal periodically updates the priority of operating application program according to the priority update strategy, comprise: whether the terminal real-time judge receives the call instruction of application programs, if receive, judge that the application program that the user calls is the application program that newly-increased application program is still being moved; If do not receive, continue to periodically update according to the priority update strategy priority of operating application program.
In such scheme, described terminal windows display foreground application, comprise: the foreground application that will show when terminal is during for newly-increased application program, if the existing display window quantity in the terminal main screen is less than the display window higher limit, terminal adds according to the displaying ratio of appointment the display window that shows described foreground application; If the display window quantity in the terminal main screen is not less than the display window higher limit, terminal uses the former display window of the application program that switches to the backstage to show newly-increased application program;
The foreground application that will show when terminal is during for the application program moved, the display window of highlighted described application program.
In such scheme, described priority according to application program is switched foreground application and background application, comprise: when the priority that background application is arranged during higher than foreground application, this background application is switched to the foreground show, the viewing area of display window is identical with the application program that switches to running background with the demonstration size; When the application program number of current demonstration on main screen arranged the higher limit of foreground display application program less than system, the background application that priority is higher switched to foreground application.
In such scheme, after described priority according to application program was switched foreground application and background application, the method also comprised: title, type of service, viewing area, demonstration size and the priority of preserving the application program of making adjustment.
In such scheme, described terminal periodically updates the priority of operating application program according to the priority update strategy, comprising: terminal is according to the title of the application program of network signal bull bear position, state of charge and communication function, and the priority of the operating application program of priority update policy update.
The present invention also provides a kind of terminal, and this terminal comprises: real-time update module and demonstration interactive module; Wherein,
Real-time update module, be used for periodically updating according to the priority update strategy priority of operating application program, switch foreground application and background application according to the priority of application program, notice shows interactive module windows display foreground application;
Show interactive module, be used for the notice windows display foreground application of sending according to real-time update module.
In such scheme,
Described real-time update module also be used for to be preserved other functions of the terminal that operation conditions and application program according to application program will use, sets the priority update strategy of rule composition of the priority of operating application program.
In such scheme,
Described real-time update module also is used for real-time judge and whether receives the call instruction of application programs, if receive, judges that the application program that the user calls is the application program that newly-increased application program is still being moved; If do not receive, continue to periodically update according to the priority update strategy priority of operating application program.
In such scheme,
described real-time update module, concrete being used for when judging that the foreground application that will show is newly-increased application program, if the existing display window quantity in the main screen of demonstration interactive module is less than the display window higher limit, the displaying ratio according to appointment adds the display window that shows described foreground application in showing interactive module, if the display window quantity in main screen is not less than the display window higher limit, use the former display window of the application program that switches to the backstage to show newly-increased application program in showing interactive module, when the foreground application that will show is the application program of moving, notice shows the display window of the highlighted described application program of interactive module.
In such scheme,
Described real-time update module, concrete be used for when the priority that is determined with background application during higher than foreground application, cancel in showing interactive module and show this foreground application, this background application is switched to the foreground by showing that interactive module shows, the viewing area of display window is identical with the application program that switches to running background with the demonstration size; When the application program number of current demonstration arranged the higher limit of foreground display application program less than system on judging main screen, the background application that priority is higher added to and switches to foreground application in the main screen that shows interactive module and show.
In such scheme, described terminal also comprises: memory module, be used for to preserve title, type of service, viewing area, demonstration size and the priority of the application program that real-time update module sends;
Accordingly, described real-time update module, title, type of service, viewing area, demonstration size and the priority of concrete application program for making adjustment are saved in memory module.
In such scheme, described terminal also comprises: monitoring module and communication module;
Described monitoring module is used for periodically network signal bull bear position and the state of charge of monitor terminal, and network signal bull bear position and state of charge is sent to real-time update module;
Described communication module, being used for periodicity provides the title of the application program that uses communication function to real-time update module;
Accordingly, described real-time update module, the title that also is used for the application program of network signal bull bear position, state of charge and communication function that accepting state monitoring module and communication module send is according to the title of the application program of network signal bull bear position, state of charge and communication function, and the priority of the operating application program of priority update policy update.
The method of windows display application program provided by the present invention and terminal, have following advantage and disadvantage: the present invention is by presetting the priority update strategy in terminal, the periodic priority of upgrading operating application program, realization according to priority to the running status of front/rear application program moving switch, and front/rear switch and show, and can be according to the window of the displaying ratio display foreground application program that presets; So, can show a plurality of foreground applications in the main screen of terminal, and switch front/rear application program in conjunction with the various states of terminal self and the state of application program, and then reasonable distribution CPU processes resource.
Description of drawings
Fig. 1 is the process flow diagram 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.
Embodiment
Basic thought of the present invention is: terminal periodically updates the priority of operating application program according to the priority update strategy; This terminal is switched foreground application and background application according to the priority of application program, and this terminal windows display foreground application.
Wherein, described priority update strategy, the rule of the priority of other function setting application programs of the terminal that will use for operation conditions and application program according to application program.
The present invention is further described in more detail below in conjunction with drawings and the specific embodiments.
As shown in Figure 1, the invention provides a kind of method of windows display application program, comprising:
Step 101: preset the priority update strategy in terminal, then while execution in step 102 and step 109.
Here, described priority update strategy comprises:
When calling newly-increased application program, first the priority with this application program is made as default priority, such as, default priority can be set to one;
When calling the application program of moving, the priority of this application program is added one at every turn;
The maximal value that the priority of the application program that the user is operating is set in the priority of application program of current all operations adds one, such as, maximal value in the priority of the application program of current all operations is 21, and the priority of the application program that operating of user is set to 22;
Periodically detect the application program of all operations, if there is application program to use the audio/video function, the maximal value that priority of this application program is made as the current medium priority that runs application adds one, such as, the application programs such as local music, Online Music, local video, streaming media video;
Periodically detect the application program of all operations, if there is application program to use communication function, the maximal value that priority of this application program is made as the current medium priority that runs application adds one, such as, the application programs such as visual telephone, voice call;
Periodically detect the application program of all operations, if there is application program to use the mobile network, and when mobile network signals is strong, the priority of this application program is made as the second largest value of current all application program medium priorities, when a little less than mobile network signals, the priority of this application program is set to the minimum value of the current application program medium priority that moves; Wherein, described mobile network signals reaches by force the weak mobile network signals measurement result for utilizing prior art to obtain of described mobile network signals, does not do here and gives unnecessary details;
Periodic sense terminals self electric quantity is if when self electric quantity was low, for application program few with amount of user interaction in the application program of moving, the priority of this application program was set to the minimum value of the current application program medium priority that moves; Wherein, described self electric quantity is low, can determine by early warning thresholding too low according to the electric weight that presets, such as, during lower than the too low early warning thresholding of this electric weight, the terminal self electric quantity is low when terminal power;
If there is the identical application program of priority, to the operator precedence of the application program that first starts in the operation to the application program of rear startup.
Step 102: whether the terminal real-time judge receives the call instruction to any one application program, if receive, execution in step 103; If do not receive, the end process flow process.
Here, described call instruction to any one application program, for: the user need to use any one application program, and the user is selected this application program on terminal, and terminal self is initiated the call instruction to this application program when calling this application program;
Described call instruction comprises: the sign of the application program that call and concrete call instruction information, and the method that produces this call instruction is prior art, does not do here and gives unnecessary details; The sign of described application program can be the title of application program.
Step 103: the application program that the application program that terminal judges user calls is still being moved for newly-increased application program, if newly-increased application program, execution in step 104; If the application program of moving, execution in step 108.
Here, described judgement, for: the sign of utilizing the application program that will call in call instruction, compare with the sign of current all application programs moving, if the sign of all application programs of current operation is all different from the sign of the application program that will call in call instruction, the application program called of user is newly-increased application program; Otherwise, be the application program of moving.
Step 104: whether the total quantity of the current application program of moving of terminal judges less than the upper limit quantitative value that can run application, if less than, execution in step 105; If be not less than, do not increase the newly-increased application program of operation, the end process flow process.
Here, the described upper limit quantitative value that runs application is the numerical value that presets according to actual conditions, such as, can be set to 20;
The described newly-increased application program of operation that do not increase, comprising: the terminal notifying user can't increase application program newly, the end process flow process.
Step 105: whether the window number of the current display application program of terminal judges less than the display window higher limit, if less than, execution in step 106; Otherwise, execution in step 107.
Here, described display window higher limit is for the maximal value of the window number that can show in the main screen of terminal that presets according to actual conditions, such as being predisposed to four.
Step 106: terminal is added on newly-increased application program in a display window of main screen, and then execution in step 109.
Step 107: terminal switches to the backstage with a foreground application, and newly-increased application program is added in the display window of this foreground application, and then execution in step 109.
Concrete: terminal is made as default priority according to the priority of the application program that the priority update strategy that presets will increase newly;
Terminal is selected a current minimum application program of foreground application medium priority, this application program is switched to the backstage carry out, then use the viewing area of this original display window that is switched to the application program of carrying out on the backstage and show that size shows newly-increased application program; And the maximal value that the priority of the application program that terminal will increase newly according to the priority update strategy that presets is made as in the priority of application program of current all operations adds one, preserve title, type of service, viewing area, demonstration size and the priority of newly-increased application program, then execution in step 109.
Step 108: the window of highlighted this application program of demonstration of terminal, then execution in step 109.
Concrete: terminal is measured according to priority update, and the priority of this application program of moving of calling is added one;
The application program that terminal judges user calls is foreground application or background application, if foreground application, the window of highlighted this foreground application of demonstration, and the maximal value that is set to according to the priority of this application program of priority update strategy in the priority of application program of current all operations adds one, and title, type of service, viewing area, demonstration size and the priority of preserving this application program, then execution in step 109;
if background application, choose a foreground application, this foreground application is switched to running background, this background application that again user is called switches to the front stage operation state, the viewing area of display window is identical with the application program that switches to running background with the demonstration size, and the window of highlighted this application program of demonstration, the maximal value that is set to according to the priority of this application program of priority update strategy in the priority of application program of current all operations adds one, and the title of this application program of preservation, type of service, the viewing area, show size and priority, then execution in step 109,
Here, describedly choose a foreground application, can be minimum for choosing the foreground application medium priority, or choose and enter the earliest in foreground application that the foreground shows, or choose application program minimum with user interactivity in foreground application.
Step 109: terminal according to the priority update strategy, periodically update the priority of operating application program, adjust front/rear application program according to the priority of application program.
Here, described priority according to application program is adjusted the application program that shows in window in main screen, comprise: terminal detect whether any one background application is arranged priority higher than any one foreground application, and the higher limit of the foreground display application program that whether arranges less than system of foreground application number; When the priority that any one background application is arranged during higher than any one foreground application, this background application is switched to the foreground to be shown, the viewing area of display window is identical with the application program that switches to running background with the demonstration size, and this is adjusted to the priority of the application program on foreground according to the priority update policy update, and title, type of service, viewing area, demonstration size and the priority of preserving this application program; When the application program number of current demonstration on main screen arranges the higher limit of foreground display application program less than system, the background application that priority is higher adds main screen to, switch to foreground application shows, and this is adjusted to the priority of the application program on foreground according to the priority update policy update, and title, type of service, viewing area, demonstration size and the priority of preserving this application program;
Wherein, the described background application that priority is higher adds main screen to, for: terminal operates according to the mode of the interpolation application program that the user selectes, if the mode of the interpolation application program that the user selectes is for being increased in one by one the application program that shows on main screen, point out the user to select displaying ratio, again according to displaying ratio, and according to the priority order from high to low of the application program of running background, successively background application is added in the main screen window, until the quantity of foreground display application program reaches the higher limit of foreground display application program;
If being disposable being increased in, the mode of the interpolation application program that the user selectes shows a plurality of application programs on main screen, according to the multiwindow higher limit of the display application program that presets, select the application program that can be added on the main screen of foreground according to priority order from high to low, again according to the displaying ratio that presets, calculate the disposable application program that is added on main screen window the viewing area and show size, and disposable all application programs of choosing are added in the display window of main screen.
In above-mentioned steps 106, a described display window that newly-increased application program is added on main screen specifically comprises the following steps:
Step a: terminal is made as default priority according to the priority of the application program that the priority update strategy that presets will increase newly.
Step b: the terminal notifying user selects the displaying ratio of display window, receives the displaying ratio of the selected display window of user.
Here, the displaying ratio of described display window is the ratio value that presets according to the actual requirements, such as, can be predisposed to 50% and 25% two kind.
Step c: the displaying ratio of the display window that terminal is selected according to the user judges whether that needs replace foreground application, if necessary, and execution in step d; If do not need, execution in step e.
Here, described judging whether need to be replaced foreground application, for: the displaying ratio of selecting according to the user calculates the demonstration size of the newly-increased needed display window of application program, demonstration size according to the newly-increased needed display window of application program, whether judgement has been added after newly-increased application program other foreground applications and can have been used and to be not less than the minimum displaying ratio that presets and to show, if can, do not need to replace foreground application; If can not, need to replace foreground application.
steps d: terminal is selected the minimum foreground application of current priority, this foreground application is switched to background application, then adjust viewing area and the demonstration size of the display window of remaining foreground application, the displaying ratio of the display window of selecting according to the user, calculate newly-increased application program display window the viewing area and show size after, the application program that increases newly according to the viewing area that calculates and the large young pathbreaker of demonstration is added in the display window of main screen, the maximal value that the priority of the application program that terminal will increase newly according to the priority update strategy that presets is made as in the priority of application program of current all operations adds one, and preserve the title of newly-increased application program, type of service, the viewing area, the priority that shows size and this newly-increased application program.
Here, the viewing area of the display window of the remaining foreground application of described adjustment and demonstration size, for: terminal is checked viewing area and the demonstration size of the former display window of the application program that switches to the backstage, with the required viewing area of the newly-increased application program of the demonstration that calculates with show that size relatively, if the former is less than the latter, terminal is adjusted into minimum displaying ratio with the display window of remaining foreground application; If the former is not less than the latter, do not adjust viewing area and the demonstration size of the display window of remaining foreground application, directly newly-increased application program is added in the former display window of the application program that switches to the backstage.
Step e: terminal is adjusted viewing area and the demonstration size of the display window of remaining foreground application, the displaying ratio that newly-increased application program is selected according to the user is added in the display window of foreground, the maximal value that the priority of the application program that terminal will increase newly according to the priority update strategy that presets is made as in the priority of application program of current all operations adds one, and preserves title, type of service, viewing area, demonstration size and the priority of this application program that increases newly.
As shown in Figure 2, the present invention also provides a kind of terminal, comprising: real-time update module 21 and demonstration interactive module 22; Wherein,
Real-time update module 21, be used for periodically updating according to the priority update strategy priority of operating application program, switch foreground application and background application according to the priority of application program, notice shows interactive module 22 windows display foreground applications;
Show interactive module 22, be used for the notice windows display foreground application of sending according to real-time update module 21.
Described real-time update module 21 also is used for preserving the priority update strategy that the user presets, and comprising:
When calling newly-increased application program, first the priority with this application program is made as default priority, such as, default priority can be set to one;
When calling the application program of moving, the priority of this application program is added one at every turn;
The maximal value that the priority of the application program that the user is operating is set in the priority of application program of current all operations adds one, such as, maximal value in the priority of the application program of current all operations is 21, and the priority of the application program that operating of user is set to 22;
Periodically detect the application program of all operations, if there is application program to use the audio/video function, the maximal value that priority of this application program is made as the current medium priority that runs application adds one, such as, the application programs such as local music, Online Music, local video, streaming media video;
Periodically detect the application program of all operations, if there is application program to use communication function, the maximal value that priority of this application program is made as the current medium priority that runs application adds one, such as, the application programs such as visual telephone, voice call;
Periodically detect the application program of all operations, if there is application program to use the mobile network, and when mobile network signals is strong, the priority of this application program is made as the second largest value of current all application program medium priorities, when a little less than mobile network signals, the priority of this application program is set to the minimum value of the current application program medium priority that moves; Wherein, described mobile network signals reaches by force the weak mobile network signals measurement result for utilizing prior art to obtain of described mobile network signals, does not do here and gives unnecessary details;
Periodic sense terminals self electric quantity is if when self electric quantity was low, for application program few with amount of user interaction in the application program of moving, the priority of this application program was set to the minimum value of the current application program medium priority that moves; Wherein, described self electric quantity is low, can determine by early warning thresholding too low according to the electric weight that presets, such as, during lower than the too low early warning thresholding of this electric weight, the terminal self electric quantity is low when terminal power;
If there is the identical application program of priority, to the operator precedence of the application program that first starts in the operation to the application program of rear startup.
Described terminal also comprises: monitoring module 23 and communication module 24;
Described monitoring module 23 is used for periodically network signal bull bear position and the state of charge of monitor terminal, and network signal bull bear position and state of charge is sent to real-time update module 21;
Described communication module 24, being used for periodicity provides the title of the application program that uses communication function to real-time update module 21;
Accordingly, described real-time update module 21, the concrete title that is used for the application program of network signal bull bear position, state of charge and communication function that accepting state monitoring module 23 and communication module 24 send, according to the title of the application program of network signal bull bear position, state of charge and communication function, and priority update strategy, periodically update the priority of operating application program.
Described demonstration interactive module 22 also is used for according to the call operation of user to any one application program, to the call instruction of real-time update module 21 transmissions to any one application program; Accordingly, described real-time update module 21, also be used for real-time judge and whether receive the call instruction to any one application program that shows that interactive module 22 is sent, if receive, judge that the application program that the user calls is the application program that newly-increased application program is still being moved; If do not receive, continue to periodically update according to the priority update strategy priority of operating application program.
Described real-time update module 21, the sign of the concrete application program that will call for utilizing call instruction, compare with the sign of current all application programs moving, if the sign of all application programs of current operation is all different from the sign of the application program that will call in call instruction, judge that the application program that the user calls is newly-increased application program; Otherwise, judge that the application program that the user calls is the application program of moving.
Described real-time update module 21, when also being for the application program of calling as the judgement user application program that increases newly, judge that whether the total quantity of the current application program of moving is less than the upper limit quantitative value that can run application, when judging that application program that the user calls is the application program of moving, notice shows the window of the application program that this user of the highlighted demonstration of interactive module 22 calls; Accordingly, described demonstration interactive module 22 is also for the notice of sending according to real-time update module 21, the window of the application program that highlighted demonstration user calls.
Described real-time update module 21, the concrete total quantity that is used for the application program moved when judgement judge that whether the window number of current display application program is less than the display window higher limit during less than the upper limit quantitative value that can run application.
Described real-time update module 21, concrete being used for when the total quantity of judging the application program of moving is not less than the upper limit quantitative value that can run application, notice shows that interactive module 22 prompting users can't increase application program newly; Accordingly, described demonstration interactive module 22, the notice prompting user who also is used for sending according to real-time update module 21 can't increase application program newly.
Described real-time update module 21, concrete when being used for window number when the current display application program of judgement less than the display window higher limit, newly-increased application program is added in a display window of the main screen that shows interactive module 22, otherwise, a foreground application is switched to the backstage, newly-increased application program is added in the former display window of this foreground application that shows interactive module 22.
Described terminal, also comprise: memory module 25, be used for to preserve title, type of service, viewing area, demonstration size and the priority of the application program that real-time update module 21 sends, and title, type of service, viewing area, demonstration size and priority that the application program of having preserved is provided for real-time update module 21;
accordingly, described real-time update module 21, concrete being used for when determining that the application program that the user calls is newly-increased application program, and when the window number of current display application program is not less than the display window higher limit, the priority of the application program that will increase newly according to the priority update strategy that presets is made as default priority, select a current minimum application program of foreground application medium priority, this application program is switched to the backstage to be carried out, and notice shows that interactive module 22 cancellations show this application program, then utilize the title of the application program of this cancellation demonstration, extract viewing area corresponding to this application program and show size as the viewing area of newly-increased application program and show size from memory module 25, notice shows the viewing area and the application program that shows that the size demonstration increases newly of the application program that increases newly of interactive module 22 use appointments, the maximal value that the priority of the application program that will increase newly according to the priority update strategy that presets is made as in the priority of application program of current all operations adds one, title with newly-increased application program, type of service, the viewing area, show that size and priority are saved in memory module 25,
Described demonstration interactive module 22 specifically is used for receiving real-time update module 21 and sends instruction, according to instruction cancellation display application program, then uses the viewing area and the application program that shows that the size demonstration increases newly of the application program that increases newly of appointment.
described real-time update module 21, when concrete application program for calling as definite user is the application program of moving, measure according to priority update, the priority of the application program of moving called is added one, judge that this application program is foreground application or background application, if foreground application, to the instruction that shows that interactive module 22 is sent the window of highlighted this foreground application of demonstration, and the maximal value that is set to according to the priority of this application program of priority update strategy in the priority of application program of current all operations adds one, and with the title of this application program, type of service, the viewing area, show that size and priority send to memory module 25, if background application, choose a foreground application, this foreground application is switched to running background, cancel to showing that interactive module 22 is sent the instruction that shows the former foreground application that switches to running background, this background application that again user is called switches to the front stage operation state, the viewing area of display window is identical with the application program that switches to running background with the demonstration size, and to the instruction that shows that interactive module 22 is sent the window of highlighted this application program of demonstration, the maximal value that is set to according to the priority of this application program of priority update strategy in the priority of application program of current all operations adds one, and notice memory module 25 is preserved the title of this application program, type of service, the viewing area, show size and priority.
Described real-time update module 21, after the priority of concrete application program for periodically update current operation according to the priority update strategy, detect whether any one background application is arranged priority higher than any one foreground application, and whether the foreground application number arranges the higher limit of foreground display application program less than system.
described real-time update module 21, concrete be used for when the priority that any one background application detected during higher than any one foreground application, notice shows that interactive module 22 cancellations show former foreground application, use the viewing area and the background application of the big or small display priority of demonstration higher than foreground application of the display window of former foreground application, and this is adjusted to the priority of the application program on foreground according to the priority update policy update, and notice memory module 25 is preserved the title of this application program, type of service, the viewing area, show size and priority.
Described real-time update module 21, when the concrete application program number that is used for current demonstration on the main screen that shows interactive module 22 being detected arranges the higher limit of foreground display application program less than system, the background application that priority is higher adds in the main screen that shows interactive module 22, and this is adjusted to the priority of the application program on foreground according to the priority update policy update, and notice memory module 25 is preserved title, type of service, viewing area, demonstration size and the priority of this application program.
Described real-time update module 21, the mode of concrete interpolation application program for selecting according to the user operates, if the mode of the interpolation application program that the user selectes is for being increased in one by one the application program that shows on main screen, point out the user to select displaying ratio, again according to displaying ratio, and according to the priority order from high to low of the application program of running background, successively background application is added in the main screen window that shows interactive module 22, until the quantity of foreground display application program reaches the higher limit of foreground display application program; If being disposable being increased in, the mode of the interpolation application program that the user selectes shows a plurality of application programs on main screen, according to the multiwindow higher limit of the display application program that presets, select the application program that can be added on the main screen of foreground according to priority order from high to low, again according to the displaying ratio that presets, calculate the disposable application program that is added on main screen window the viewing area and show size, and in the disposable display window that all application programs of choosing is added to the main screen that shows interactive module 22.
Described real-time update module 21, concrete being used for when confirming that application program that the user calls is for the window number of the application program that increases newly and current display application program during less than the display window higher limit, the priority of the application program that will increase newly according to the priority update strategy that presets is made as default priority, by showing that interactive module 22 prompting users select the displaying ratio of display window, the displaying ratio that receive to show the selected display window of user that interactive module 22 is returned judges whether that according to the displaying ratio of display window needs replace foreground application.
Described real-time update module 21, the concrete demonstration size that is used for calculating according to the displaying ratio that the user selectes the newly-increased needed display window of application program, demonstration size according to the newly-increased needed display window of application program, whether judgement has been added after newly-increased application program other foreground applications and can have been used and to be not less than the minimum displaying ratio that presets and to show, if can, do not need to replace foreground application; If can not, need to replace foreground application.
described real-time update module 21, concrete being used for when judgement needs to replace foreground application, select the minimum foreground application of current priority, this foreground application is switched to background application, then adjust viewing area and the demonstration size of the display window of remaining foreground application, the displaying ratio of the display window of selecting according to the user, calculate newly-increased application program display window the viewing area and show size after, the application program that increases newly according to the viewing area that calculates and the large young pathbreaker of demonstration is added in the display window of main screen, the maximal value that the priority of the application program that will increase newly according to the priority update strategy that presets is made as in the priority of application program of current all operations adds one, and notice memory module 25 is preserved the title of newly-increased application program, type of service, the viewing area, show size and priority.
Described real-time update module 21, the viewing area of concrete former display window for checking the application program that switches to the backstage and demonstration size, with the required viewing area of the newly-increased application program of the demonstration that calculates with show that size relatively, if the former is less than the latter, the display window with remaining foreground application is adjusted into minimum displaying ratio; If the former is not less than the latter, do not adjust viewing area and the demonstration size of the display window of remaining foreground application, directly newly-increased application program is added in the former display window of the application program that switches to the backstage.
described real-time update module 21, concrete being used for when judgement does not need to replace foreground application, adjust viewing area and the demonstration size of the display window of remaining foreground application, the displaying ratio that newly-increased application program is selected according to the user is added in the display window of foreground, the maximal value that the priority of the application program that will increase newly according to the priority update strategy that presets is made as in the priority of application program of current all operations adds one, and notice memory module 25 is preserved the title of newly-increased application program, type of service, the viewing area, show size and priority.
The above is only preferred embodiment of the present invention, is not for limiting protection scope of the present invention.

Claims (14)

1. the method for a windows display application program, is characterized in that, the method comprises:
Terminal periodically updates the priority of operating application program according to the priority update strategy;
Described terminal is switched foreground application and background application according to the priority of application program, and described terminal windows display foreground application.
2. method according to claim 1, is characterized in that, described priority update strategy is other functions of the terminal that will use according to operation conditions and the application program of application program, sets the rule of the priority of operating application program.
3. method according to claim 1, it is characterized in that, described terminal periodically updates the priority of operating application program according to the priority update strategy, comprise: whether the terminal real-time judge receives the call instruction of application programs, if receive, judge that the application program that the user calls is the application program that newly-increased application program is still being moved; If do not receive, continue to periodically update according to the priority update strategy priority of operating application program.
4. method according to claim 1, it is characterized in that, described terminal windows display foreground application, comprise: the foreground application that will show when terminal is during for newly-increased application program, if the existing display window quantity in the terminal main screen is less than the display window higher limit, terminal adds according to the displaying ratio of appointment the display window that shows described foreground application; If the display window quantity in the terminal main screen is not less than the display window higher limit, terminal uses the former display window of the application program that switches to the backstage to show newly-increased application program;
The foreground application that will show when terminal is during for the application program moved, the display window of highlighted described application program.
5. method according to claim 1, it is characterized in that, described priority according to application program is switched foreground application and background application, comprise: when the priority that background application is arranged during higher than foreground application, this background application is switched to the foreground show, the viewing area of display window is identical with the application program that switches to running background with the demonstration size; When the application program number of current demonstration on main screen arranged the higher limit of foreground display application program less than system, the background application that priority is higher switched to foreground application.
6. method according to claim 1 or 5, it is characterized in that, after described priority according to application program was switched foreground application and background application, the method also comprised: title, type of service, viewing area, demonstration size and the priority of preserving the application program of making adjustment.
7. method according to claim 1, it is characterized in that, described terminal periodically updates the priority of operating application program according to the priority update strategy, comprising: terminal is according to the title of the application program of network signal bull bear position, state of charge and communication function, and the priority of the operating application program of priority update policy update.
8. a terminal, is characterized in that, this terminal comprises: real-time update module and demonstration interactive module; Wherein,
Real-time update module, be used for periodically updating according to the priority update strategy priority of operating application program, switch foreground application and background application according to the priority of application program, notice shows interactive module windows display foreground application;
Show interactive module, be used for the notice windows display foreground application of sending according to real-time update module.
9. terminal according to claim 8, is characterized in that,
Described real-time update module also be used for to be preserved other functions of the terminal that operation conditions and application program according to application program will use, sets the priority update strategy of rule composition of the priority of operating application program.
10. terminal according to claim 8, is characterized in that,
Described real-time update module also is used for real-time judge and whether receives the call instruction of application programs, if receive, judges that the application program that the user calls is the application program that newly-increased application program is still being moved; If do not receive, continue to periodically update according to the priority update strategy priority of operating application program.
11. terminal according to claim 8 is characterized in that,
described real-time update module, concrete being used for when judging that the foreground application that will show is newly-increased application program, if the existing display window quantity in the main screen of demonstration interactive module is less than the display window higher limit, the displaying ratio according to appointment adds the display window that shows described foreground application in showing interactive module, if the display window quantity in main screen is not less than the display window higher limit, use the former display window of the application program that switches to the backstage to show newly-increased application program in showing interactive module, when the foreground application that will show is the application program of moving, notice shows the display window of the highlighted described application program of interactive module.
12. terminal according to claim 8 is characterized in that,
Described real-time update module, concrete be used for when the priority that is determined with background application during higher than foreground application, cancel in showing interactive module and show this foreground application, this background application is switched to the foreground by showing that interactive module shows, the viewing area of display window is identical with the application program that switches to running background with the demonstration size; When the application program number of current demonstration arranged the higher limit of foreground display application program less than system on judging main screen, the background application that priority is higher added to and switches to foreground application in the main screen that shows interactive module and show.
13. terminal according to claim 8 is characterized in that, described terminal also comprises: memory module, be used for to preserve title, type of service, viewing area, demonstration size and the priority of the application program that real-time update module sends;
Accordingly, described real-time update module, title, type of service, viewing area, demonstration size and the priority of concrete application program for making adjustment are saved in memory module.
14. terminal according to claim 8 is characterized in that, described terminal also comprises: monitoring module and communication module;
Described monitoring module is used for periodically network signal bull bear position and the state of charge of monitor terminal, and network signal bull bear position and state of charge is sent to real-time update module;
Described communication module, being used for periodicity provides the title of the application program that uses communication function to real-time update module;
Accordingly, described real-time update module, the title that also is used for the application program of network signal bull bear position, state of charge and communication function that accepting state monitoring module and communication module send is according to the title of the application program of network signal bull bear position, state of charge and communication 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 true CN103164269A (en) 2013-06-19
CN103164269B 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)

Cited By (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103838630A (en) * 2014-03-03 2014-06-04 联想(北京)有限公司 Information processing method, system and electronic equipment
CN104050035A (en) * 2014-05-14 2014-09-17 小米科技有限责任公司 Processing method and device for application program
CN104571781A (en) * 2013-10-18 2015-04-29 北大方正集团有限公司 Multi-application window display method and window management device in Android system
CN104598100A (en) * 2014-12-22 2015-05-06 联想(北京)有限公司 Information processing method and electronic device
CN104834553A (en) * 2014-02-12 2015-08-12 中兴通讯股份有限公司 Service concurrent processing method for user terminal and user terminal
WO2016141807A1 (en) * 2015-03-06 2016-09-15 阿里巴巴集团控股有限公司 Method for displaying plurality of application windows on mobile terminal, and system thereof
CN106339268A (en) * 2016-09-12 2017-01-18 广东欧珀移动通信有限公司 Application program control method and intelligent terminal
CN106528298A (en) * 2016-12-29 2017-03-22 努比亚技术有限公司 Resource distribution method and device
CN106897077A (en) * 2013-12-02 2017-06-27 青岛海信电器股份有限公司 Application control method
CN107133031A (en) * 2017-03-31 2017-09-05 武汉斗鱼网络科技有限公司 Method for information display and device
WO2018036505A1 (en) * 2016-08-25 2018-03-01 华为技术有限公司 Method and device for managing background applications of terminal
CN108614697A (en) * 2016-12-13 2018-10-02 杭州华为数字技术有限公司 Backstage Dex compiles the method and device of management and control
CN108874109A (en) * 2017-05-16 2018-11-23 复旦大学 The method for cleaning and device of background application
CN109726000A (en) * 2018-12-29 2019-05-07 苏州思必驰信息科技有限公司 The management method of more application views, for more application views management device and operating method
CN110209479A (en) * 2019-05-16 2019-09-06 珠海格力电器股份有限公司 A kind of method, apparatus, terminal device and storage medium switching application program
CN110753909A (en) * 2017-10-31 2020-02-04 深圳市欢太科技有限公司 Service scheduling method and device, computer equipment and computer readable storage medium
CN111913750A (en) * 2019-05-10 2020-11-10 华为技术有限公司 Application program management method, device and equipment
CN112231077A (en) * 2020-07-24 2021-01-15 华为技术有限公司 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
CN112631697A (en) * 2019-10-08 2021-04-09 富士施乐株式会社 Information processing apparatus, recording medium, and information processing method
CN112997152A (en) * 2018-12-29 2021-06-18 深圳市欢太科技有限公司 Application program priority adjustment method and device, storage medium and electronic equipment
CN113094158A (en) * 2021-03-15 2021-07-09 国政通科技有限公司 Service drive calling method, service drive calling device, electronic equipment and storage medium
CN113703903A (en) * 2021-09-10 2021-11-26 广州朗国电子科技股份有限公司 Split screen display method and device
US11507244B2 (en) 2018-09-05 2022-11-22 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Window adjustment method, window adjustment device and mobile terminal
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

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105843616A (en) * 2016-03-22 2016-08-10 乐视网信息技术(北京)股份有限公司 Menu information updating method and apparatus

Citations (4)

* 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
CN102063261A (en) * 2011-01-19 2011-05-18 宇龙计算机通信科技(深圳)有限公司 Starting method of application program and mobile terminal

Patent Citations (4)

* 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
CN102063261A (en) * 2011-01-19 2011-05-18 宇龙计算机通信科技(深圳)有限公司 Starting method of application program and mobile terminal

Cited By (38)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104571781A (en) * 2013-10-18 2015-04-29 北大方正集团有限公司 Multi-application window display method and window management device in Android system
CN106897077A (en) * 2013-12-02 2017-06-27 青岛海信电器股份有限公司 Application control method
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
CN104834553A (en) * 2014-02-12 2015-08-12 中兴通讯股份有限公司 Service concurrent processing method for user terminal and user terminal
CN103838630A (en) * 2014-03-03 2014-06-04 联想(北京)有限公司 Information processing method, system and electronic equipment
KR20150141124A (en) * 2014-05-14 2015-12-17 시아오미 아이엔씨. Processing method and device for application program
KR101668786B1 (en) * 2014-05-14 2016-10-24 시아오미 아이엔씨. Processing method, device, program and recording medium for application program
CN104050035A (en) * 2014-05-14 2014-09-17 小米科技有限责任公司 Processing method and device for application program
WO2015172518A1 (en) * 2014-05-14 2015-11-19 小米科技有限责任公司 Method and device for processing application program
CN104598100A (en) * 2014-12-22 2015-05-06 联想(北京)有限公司 Information processing method and electronic device
CN104598100B (en) * 2014-12-22 2019-06-25 联想(北京)有限公司 A kind of information processing method and electronic equipment
WO2016141807A1 (en) * 2015-03-06 2016-09-15 阿里巴巴集团控股有限公司 Method for displaying plurality of application windows on mobile terminal, and system thereof
CN107783833A (en) * 2016-08-25 2018-03-09 华为技术有限公司 A kind of management method and device of terminal background application
WO2018036505A1 (en) * 2016-08-25 2018-03-01 华为技术有限公司 Method and device for managing background applications of terminal
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
CN106339268A (en) * 2016-09-12 2017-01-18 广东欧珀移动通信有限公司 Application program control method and intelligent terminal
CN108614697A (en) * 2016-12-13 2018-10-02 杭州华为数字技术有限公司 Backstage Dex compiles the method and device of management and control
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
CN107133031A (en) * 2017-03-31 2017-09-05 武汉斗鱼网络科技有限公司 Method for information display 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
CN110753909A (en) * 2017-10-31 2020-02-04 深圳市欢太科技有限公司 Service scheduling method and device, computer equipment and computer readable storage medium
US11507244B2 (en) 2018-09-05 2022-11-22 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Window adjustment method, window adjustment device 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
CN112997152A (en) * 2018-12-29 2021-06-18 深圳市欢太科技有限公司 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
CN111913750A (en) * 2019-05-10 2020-11-10 华为技术有限公司 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
CN112631697A (en) * 2019-10-08 2021-04-09 富士施乐株式会社 Information processing apparatus, recording medium, and information processing method
CN112231077A (en) * 2020-07-24 2021-01-15 华为技术有限公司 Application scheduling method and electronic equipment
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

Also Published As

Publication number Publication date
WO2013082886A1 (en) 2013-06-13
CN103164269B (en) 2017-05-03

Similar Documents

Publication Publication Date Title
CN103164269A (en) Method and terminal achieving multi-window display of application programs
CN104991850B (en) The heartbeat packet control method and device of a kind of application program
CN105979103B (en) Battery power guarantee method and device for portable electronic product and mobile terminal
EP2675222B1 (en) Method for saving power consumption and an electronic device thereof
CN106201409B (en) Processing method and system for application program operation interface
WO2014026602A1 (en) A data processing method, apparatus and mobile terminal
CN103199311A (en) Battery power saving method and battery power saving apparatus for portable electronic product, and mobile terminal
CN104133610B (en) The split screen exchange method of mobile terminal and mobile terminal
CN105760043A (en) Notification processing method and device
CN104168515A (en) Intelligent television terminal and screen control method thereof
CN106557230A (en) A kind of collocation method and terminal of screen split screen
US20130173947A1 (en) Device and method for calculating battery usable time period for mobile station
WO2012049320A4 (en) Control of user interface to display call participants auto focus
CN105677265A (en) Display method and terminal
CN103927247A (en) Method of displaying icons according to service usage states and mobile terminal supporting the same
CN104572110A (en) Optimizing method of Toast activeX in android system
CN103019511A (en) Method and system for setting option icons of mobile terminal
CN107277259B (en) Signal adjusting method, electronic device and computer readable storage medium
CN106455018A (en) Video call processing method and mobile terminal
CN113840003A (en) Synchronization method and device
CN109144447A (en) Split screen window adjusting method, device, storage medium and electronic equipment
CN109151748A (en) Flow card switching method and device
CN108234143B (en) Method, device and equipment for processing messages in live broadcast
CN107682535A (en) Based on intelligent mobile phone platform method for remote controlling computer
CN104731689A (en) Information processing method and electronic equipment

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