CN102999253B - The window display method of a kind of application program, system and mobile terminal - Google Patents

The window display method of a kind of application program, system and mobile terminal Download PDF

Info

Publication number
CN102999253B
CN102999253B CN201210454244.8A CN201210454244A CN102999253B CN 102999253 B CN102999253 B CN 102999253B CN 201210454244 A CN201210454244 A CN 201210454244A CN 102999253 B CN102999253 B CN 102999253B
Authority
CN
China
Prior art keywords
display
terminal display
screen
window
width
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
CN201210454244.8A
Other languages
Chinese (zh)
Other versions
CN102999253A (en
Inventor
高玮
赵超越
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing QIYI Century Science and Technology Co Ltd
Original Assignee
Beijing QIYI Century Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing QIYI Century Science and Technology Co Ltd filed Critical Beijing QIYI Century Science and Technology Co Ltd
Priority to CN201210454244.8A priority Critical patent/CN102999253B/en
Publication of CN102999253A publication Critical patent/CN102999253A/en
Application granted granted Critical
Publication of CN102999253B publication Critical patent/CN102999253B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses the window display method of a kind of application program, system and mobile terminal, described method includes: obtain width and the height of current time terminal display, described width is terminal display length in the horizontal direction, and described height is terminal display length in the vertical direction; Width according to described current time terminal display and height, it is judged that the window of the first application program, whether the display pattern of current time is perpendicular screen, is if so, then preset viewing area at the first of described terminal display and shown by described terminal display; Presetting viewing area second and show the window of the second application program, the described second default viewing area is the viewing area outside the first default viewing area described in described display screen. In the present invention, it is possible to show multiple window in terminal display simultaneously, improve the utilization rate of screen.

Description

The window display method of a kind of application program, system and mobile terminal
Technical field
The present invention relates to technical field of image processing, particularly to the window display method of a kind of application program, system and mobile terminal.
Background technology
User is when using handheld device to play video or viewing picture; the window display pattern of transverse screen and two kinds of application programs of perpendicular screen would generally be used; in prior art, have been able to realize client (handheld device) self adaptation simultaneously and support the technology of transverse screen, perpendicular screen switching display. For client iPad, after user opens an application program, adopt the process that the transverse screen of existing techniques in realizing application program correspondence window, perpendicular screen self adaptation switching show specific as follows:
If application program is player, so when playing video, client first passes through built-in gyroscope to obtain width and the height of current time client screen viewing area, if wide and high ratio is more than 1, then determine that the current video play mode of client is transverse screen, otherwise, it is determined that the current video play mode of client is perpendicular screen. When video play mode is transverse screen, player window is paved with screen, corresponding video pictures size is then determined according to the intrinsic pixel ratio in direction anyhow of video pictures and the pixel resolution of described client screen, give an example, the pixel ratio assuming the intrinsic direction anyhow of video pictures is 16: 9, the pixel resolution of client screen is 16: 9, then, when video play mode is transverse screen, corresponding video pictures can also be paved with screen; When video play mode is by horizontal screen switching to perpendicular screen, the pixel ratio in the direction anyhow that video pictures is intrinsic is constant, when video play mode is for perpendicular screen, the pixel resolution of described client screen is equivalent to become 9: 16, thus causing that the pixel ratio in the intrinsic direction anyhow of video pictures becomes 9: 5 in theory, result in the result that video pictures diminishes.
In prior art, when video play mode is for perpendicular screen, video pictures is shown centered on, namely described video pictures is shown in the centre position of client screen, the upper and lower both sides of video pictures are close in control and the prompting region of player respectively, and under perpendicular screen pattern, video pictures diminishes, so corresponding player window have also been smaller, the region outside player window is filled up with black surround.Such as, with reference to shown in Fig. 1, for the schematic diagram of the screen display window of mobile equipment under screen pattern perpendicular in prior art, the viewing area of the video pictures that part is player and correspondence thereof of vertical line mark in figure, black region is then the viewing area filled up with black surround.
As shown in the above, client adopts existing techniques in realizing video pictures when perpendicular screen pattern shows, the viewing area of video pictures diminishes, and the black surround scope filled up around video pictures is very big, cause the waste of screen display space, further, also can reduce the susceptibility of user.
Summary of the invention
The present invention provides the window display method of a kind of application program, system and mobile terminal, it is shown centered on solving mobile equipment of the prior art window when perpendicular screen shows the window of application program, and thereabout black surround fills up the technical problem that the screen utilization rate that causes reduces.
For solving above-mentioned technical problem, the present invention provides the window display method of a kind of application program, system and mobile terminal, and the present invention provides following technical scheme:
A kind of window display method of application program, the method includes:
Obtaining width and the height of current time terminal display, described width is terminal display length in the horizontal direction, and described height is terminal display length in the vertical direction;
Width according to described current time terminal display and height, it is judged that the window of the first application program, whether the display pattern of current time is perpendicular screen, is if so, then preset viewing area at the first of described terminal display and shown by described terminal display;
Presetting viewing area second and show the window of the second application program, the described second default viewing area is the viewing area outside the first default viewing area described in described terminal display.
Preferably, described method also includes:
If terminal display rotates, obtain width and the height of terminal display after rotating;
According to the width of terminal display and height after the rotation obtained, it is judged that whether the display pattern of terminal display is perpendicular screen, if so, then perform described at the first of described terminal display, the window of the first application program to be preset the step that viewing area shows;
If it is not, then the window of the first application program is displayed in full screen on described terminal display.
Preferably, before obtaining width and the height of terminal display after rotating, also include:
Judging the whether screen locking of described terminal display, the display pattern if so, then keeping described terminal display is constant;
If it is not, then perform the width of terminal display after described acquisition rotates and high step.
Preferably, described method also includes:
In terminal display rotary course, it is judged that the anglec of rotation of terminal display whether more than predetermined threshold value, if more than, then carry out the optimization to described terminal display rotary course.
Preferably, described triggering optimizing particularly as follows: adopt the mode that window fades out that the display rotary course of described terminal display is optimized described terminal display rotary course.
Preferably, described triggering optimizing particularly as follows: adopt window with the mode of display screen synchronous rotary, the display rotary course of described terminal display to be optimized described terminal display rotary course.
Preferably, the window of described first application program is player window, described is shown at the first predeterminable area of described terminal display by the window of the first application program, specifically includes:
According to the screen resolution under transverse screen that video pictures corresponding to player window resolution under transverse screen is preset with described terminal display, calculate the width of described video pictures and high ratio;
Width according to described current time terminal display and the width of high and described video pictures and high ratio calculate described player window display height on terminal display;
The described player window according to calculating display height on terminal display, shows described player window at the first predeterminable area of described terminal display.
A kind of window display system of application program, described system includes:
First acquiring unit, for obtaining width and the height of current time terminal display, described width is terminal display length in the horizontal direction, and described height is terminal display length in the vertical direction;
First judging unit, for the width according to described current time terminal display and height, it is judged that described terminal display is whether the display pattern of current time is perpendicular screen;
First display unit, shows the window of the first application program for presetting viewing area first, and the described first default viewing area is perpendicular screen viewing area in described terminal display;
Second display unit, shows the window of the second application program for presetting viewing area second, and the described second default viewing area is the viewing area outside the first default viewing area described in described terminal display.
Preferably, if described terminal screen rotates, described system also includes:
Second acquisition unit, for obtaining width and the height of display screen after rotation;
Second judging unit, for according to the width of display screen and height after the rotation obtained, it is judged that whether the display pattern of screen is perpendicular screen;
First trigger element, for when the result of the second judging unit is for being, triggering described first display unit;
3rd display unit, for when the result of the second judging unit is no, being displayed in full screen the window of the first application program on described terminal screen.
Preferably, described system also includes:
Screen locking judging unit, for obtain rotate after before the width of terminal display and height, it is judged that the whether screen locking of described terminal display;
State holding elements, during for terminal display screen locking, the display pattern keeping described terminal display is constant;
Second trigger element, for, under the non-screen lock state of terminal display, triggering second acquisition unit.
Preferably, described system also includes:
3rd judging unit, in terminal display rotary course, it is judged that whether the anglec of rotation of terminal display is more than predetermined threshold value;
Optimize unit, for when the anglec of rotation of terminal display is more than predetermined threshold value, to the optimization carrying out described terminal display rotary course.
Preferably, when the window of described first application program is player window, described first display unit specifically includes:
First computation subunit, for the screen resolution under transverse screen preset with described terminal display according to video pictures corresponding to player window resolution under transverse screen, calculates the width of described video pictures and high ratio;
Second computation subunit, width and high ratio for the width according to described current time terminal display and high and described video pictures calculate described player window display height on terminal display;
Then the first display unit specifically for according to calculate described player window on terminal display display height, described player window is shown at the first predeterminable area of described terminal display.
A kind of mobile terminal, including the system described in aforesaid any one.
In technical scheme, when the display pattern of terminal display is for perpendicular screen pattern, calculate the height that window corresponding to the first application shows on a terminal screen, then, according to the display height calculated, window corresponding for the first application is shown at the first predeterminable area of described screen, the window that other application programs are corresponding can be shown in viewing area outside described window indication range simultaneously, this with prior art in, only show a window on one screen, region black surround outside window shows is filled up and is compared, and improves the utilization rate of screen.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present application or technical scheme of the prior art, the accompanying drawing used required in embodiment or description of the prior art will be briefly described below, apparently, the accompanying drawing that the following describes is only some embodiments recorded in the application, for those of ordinary skill in the art, under the premise not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the schematic diagram of perpendicular screen pattern sub-screen display window in prior art;
Fig. 2 is the flow chart of the window display method embodiment 1 of a kind of application program of the present invention;
Fig. 3 is the flow chart of the window display method embodiment 2 of a kind of application program of the present invention;
Fig. 4 is the structural representation of the window display system embodiment 1 of a kind of application program of the present invention;
Fig. 5 is the system structure schematic diagram including the first judging unit 402 concrete structure schematic diagram of present system embodiment 1 correspondence;
Fig. 6 is the system structure schematic diagram including the first display unit 403 concrete structure schematic diagram of the embodiment of the present invention 1 correspondence;
Fig. 7 is the structural representation of the window display system embodiment 2 of a kind of application program of the present invention.
Detailed description of the invention
In order to make those skilled in the art be more fully understood that the present invention program, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only a part of embodiment of the present invention, rather than whole embodiments. Based on the embodiment in the present invention, the every other embodiment that those of ordinary skill in the art obtain under not making creative work premise, broadly fall into the scope of protection of the invention.
With reference to shown in Fig. 2, for the flow chart of the window display method embodiment 1 of a kind of application program of the present invention, after the present embodiment is applied in before the display pattern of screen changes or changes, the present embodiment specifically includes:
Step 201: obtain width and the height of current time terminal display.
Preferably, the width of described current time terminal display and height can be obtained by the gyroscope of terminal built-in. Wherein, described terminal display is the viewing area of terminal screen, and described width is terminal display length in the horizontal direction, and described height is terminal display length in the vertical direction;
Step 202: according to the width of described current time terminal display and height, it is judged that described terminal display is whether the display pattern of current time is perpendicular screen.
Preferably, this step can take whether the angle of user is perpendicular screen to judge the display pattern of current time terminal display, and detailed process is as follows:
After obtaining width and the height of current time terminal display, further, described width and high ratio can be calculated, namely with the width obtained divided by the height obtained, if described wide and high ratio is more than 1, namely the lateral length of terminal display is more than the length of the vertical direction of described terminal display, now, the display pattern of described terminal check current display screen is perpendicular screen, then enter the display that step 103 performs the window of the first application program, if described wide and high ratio is less than 1, namely the lateral length of display screen is less than the length of the vertical direction of described terminal display, so, the display pattern of described terminal check current display screen is transverse screen.
Step 203: the window of the first application program is preset viewing area at the first of described terminal display and shows.
Under perpendicular screen pattern, at the first of described screen, the window of the first application program is preset viewing area show, wherein the first default viewing area can be identical with the centered region shown in Fig. 1 in prior art, preferably, described first predeterminable area can also be top or the bottom of terminal display, the region ratio outside the first default viewing area so can be made more complete, and the described first region preset outside viewing area just can be used to show the window that other application programs are corresponding.
For the ease of those skilled in the art's understanding to the present embodiment, this step is further described for the window of the first application program for player window. Known with reference to the description in background technology, compared with transverse screen mode, under perpendicular screen pattern, the video pictures of player window and correspondence thereof can diminish, namely now player window can't be paved with the display screen of terminal completely, in this step, it is possible to player window is shown in top or the bottom of terminal display.
Wherein, the size of player window viewing area, then can determine in the following manner: video pictures corresponding to player window has a fixing resolution, described resolution is the minimum pixel resolution that described video pictures can clearly show, simultaneously, terminal display also has a default screen resolution, and the resolution of video pictures corresponding to player window and the resolution of terminal display refer both to the resolution under transverse screen state, wherein the resolution of terminal display is different for different terminals, the screen resolution of some terminal is fixing, the screen resolution of some terminal is optional.
When the resolution of video pictures corresponding to player window and the resolution of terminal display are all determined, it is possible to calculate the width of video pictures under perpendicular screen state and high ratio. such as, the resolution assuming video pictures corresponding to player window is 16: 9, the resolution of terminal display is similarly 16: 9, under perpendicular screen state, video pictures remains and is shown displayed across, its resolution is constant, and now, the screen resolution of terminal is equivalent to become 9: 16, the resolution being equivalent to video pictures in theory becomes 9: 5, it is easy to explanation for example, assume that terminal is under perpendicular screen pattern, the width of display screen is 9cm, height is 16cm, so under perpendicular screen pattern, be equivalent to the display of video pictures highly for 5cm, then the control module of player is added in the upside of video pictures, the reminding module of player is added in downside, it is assured that the height of player window, described player window is identical with described terminal display width under perpendicular screen pattern on width.
Step 204: preset viewing area second and show the window of the second application program.
Example with reference to step 203, known, after player window shows, also having viewing area greatly on the display screen of described terminal is do not show content, so, after the window of the first application program is shown in the first predeterminable area, in described display screen, the viewing area outside the first default viewing area then can be used to show the window of the second application program. Wherein, the described second default viewing area is the viewing area in described display screen outside the first default viewing area. ?herefore and edge show off wave τ trade silk ribbon horsefly thumb take wing forget ? シ board harness take wing forget ? ? ? show off brightness ど three-bristle cudrania permit matting ? snail permit nine wink シ board harness take wing the posthumous title ? Xi ? tip is willing to ? Fu You Pin D acquisition described video relevant information, such as the story introduction of described video, comment etc., then can show the related content of the described video of acquisition in the second predeterminable area. In addition, according to concrete practical application, the second predeterminable area can also show the window as other application programs different from the first application program such as chat tool QQ, microbloggings. The display content of the second predeterminable area is not specifically limited by the present invention.
In the technical scheme of the present embodiment, when the display pattern of terminal display is for perpendicular screen pattern, calculate the height that window corresponding to the first application program shows on a terminal screen, then, according to the display height calculated, window corresponding for the first application program is shown at the first predeterminable area of described screen, the window that other application programs are corresponding can be shown in viewing area outside described window indication range simultaneously, this with prior art in, only show a window on one screen, region black surround outside window shows is filled up and is compared, improve the utilization rate of screen.
Further, in the present embodiment, first predeterminable area can be top or the bottom of terminal display, the region ratio outside the first default viewing area so can be made more complete, the display that can make the window that other application programs are corresponding is more complete, thus can give the better visual experience of user.
In actual applications, the display screen of terminal can rotate, namely there is the switching between transverse screen mode and perpendicular screen screen pattern, so on the basis of embodiment 1, further, with reference to shown in Fig. 3, flow chart for the window display method embodiment 2 of a kind of application program provided by the invention, the present embodiment shields for the initial display pattern of terminal display for perpendicular, by when the display screen of terminal can be rotated, the display situation of terminal display illustrates, when wherein the initial display pattern of terminal display is transverse screen, the present embodiment is equally applicable, the present embodiment specifically may include that
Step 301: under perpendicular screen pattern, whether terminal judges terminal display rotates.
Preferably, whether the detection terminal display that the gyroscope of terminal built-in can be used in this step real-time there occurs rotation, in actual applications, can using horizontal direction as reference direction, when terminal display deviate from horizontal direction, it is believed that terminal display there occurs rotation, enter step 302, if it is not, enter step 303.
Step 302: judge terminal display whether screen locking.
The display pattern that described screen locking is terminal display has been fixed as transverse screen or perpendicular screen, and terminal can choose whether to carry out screen locking before the window of display application program, if selecting screen locking, then enters step 303, if not having screen locking, then enters step 304.
Step 303: the display pattern keeping terminal display is constant.
Step 304: judge that whether angle that terminal display rotates is more than predetermined threshold value.
In actual applications, likely because of certain action of the user of handheld terminal, cause that the situation of shake occurs terminal, now user not switch the display pattern of display screen, but owing to terminal there occurs shake, so display screen has had deviated from horizontal direction, in this case, likely can there is the mistake switching of the display pattern of terminal display, so an angle can be preset, described default angle is described predetermined threshold value, when terminal display deviates the angle of horizontal direction more than predetermined threshold value, determine that described terminal display will switch display pattern, enter step 305, without, the display pattern then keeping terminal display is constant.
Step 305: the display of display screen in rotary course is optimized.
In prior art, when realizing the transverse screen of display screen, perpendicular screen display pattern switching, in handoff procedure, the refreshing geometric ratio that can produce blank screen or display window significantly shows switching effect, so can reduce the susceptibility of user, so in this step, in rotary course, adopt window fade out or window and terminal display synchronous rotary mode as switch effect, to keep before and after switching, the continuity in terminal display rotary course of the window shown by terminal display.
Step 306: after terminal display rotates, reacquires width and the height of terminal display.
Due in actual applications, not only there is display screen by a handover operation directly by horizontal screen switching to perpendicular screen pattern, or it is switched to this situation of transverse screen mode by perpendicular screen, it is also possible to the angle that display screen once rotates is excessive, perpendicular screen pattern it is switched to again by perpendicular screen, the display pattern of terminal display corresponding before and after namely rotating does not change, it is therefore necessary to after terminal display rotates, again go to determine the display pattern of described terminal display.
Step 307: according to the width of terminal display and height after rotating, it is judged that whether the display pattern of described terminal screen is perpendicular screen, if so, enters step 308, if it is not, enter step 310.
Step 308: the window of the first application program is preset viewing area at the first of described screen and shows.
Step 309: preset viewing area second and show the window of the second application program.
In the present embodiment, the implementation of described step 307-step 309 is referred in embodiment 1 implementation of step 201-step 204, repeats no more herein.
Step 310: be displayed in full screen the window of the first application program on terminal display.
Reference example 1, same for the window of the first application program for player window, in described step 310, under transverse screen mode, player window is paved with terminal display, the determination process of the video window size of its correspondence is referred in embodiment 1 in step 203 under perpendicular screen pattern, the determination process of the video window size that player window is corresponding, repeats no more herein.
The technical scheme of the present embodiment, except the beneficial effect that technical scheme except being capable of embodiment 1 is brought, further, in the present embodiment, not only achieve terminal self adaptation transverse screen, the switching of perpendicular screen pattern, and when screen display mode switches, adopt window to fade out or the mode of window and screen synch rotation achieves the optimization of handoff procedure, make when screen display mode switches, present to user visually be experienced as window shows it is coherent, and unlike in prior art, screen-refresh or blank screen etc. can be produced at handoff procedure and affect the effect of user's impression, further increase the susceptibility of user.
Accordingly, with reference to shown in Fig. 4, for present invention also offers the structural representation of the window display system embodiment 1 of a kind of application program, described system includes:
First acquiring unit 401, for obtaining width and the height of current time terminal display, described width is terminal display length in the horizontal direction, and described height is terminal display length in the vertical direction; First judging unit 402, for the width according to described current time terminal display and height, it is judged that described terminal display is whether the display pattern of current time is perpendicular screen;First display unit 403, for when the result of described first judging unit is for being, presetting viewing area by the window of the first application program at the first of described terminal display and show; Second display unit 404, shows the window of the second application program for presetting viewing area second, and the described second default viewing area is the viewing area outside the first default viewing area described in described terminal display.
Preferably, with reference to shown in Fig. 5, being the system structure schematic diagram including the first judging unit 402 concrete structure schematic diagram, wherein, described first judging unit 402 specifically includes:
Be divided by subelement 501, for the width of the described current time terminal display obtained and height being divided by, obtains division result; 4th judging unit 502, is used for judging that whether described division result is less than 1;
First determines subelement 503, during for described division result less than 1, it is determined that the display pattern of described terminal display is perpendicular screen; Second determines subelement 504, during for described division result more than 1, it is determined that the display pattern of described terminal display is transverse screen. When the window of described first application program is player window, with reference to shown in Fig. 6, being the system structure schematic diagram including the first display unit 403 concrete structure schematic diagram, wherein said first display unit 403 specifically includes:
First computation subunit 601, for the screen resolution under transverse screen preset with described terminal display according to video pictures corresponding to player window resolution under transverse screen, calculates the width of described video pictures and high ratio;
Second computation subunit 602, width and high ratio for the width according to described current time terminal display and high and described video pictures calculate described player window display height on terminal display;
Then the first display unit 403 specifically for according to calculate described player window on terminal display display height, described player window is shown at the first predeterminable area of described screen.
In the technical scheme of the present embodiment, when the display pattern of terminal display is for perpendicular screen pattern, calculate the height that window corresponding to the first application shows on a terminal screen, then, according to the display height calculated, window corresponding for the first application is shown at the first predeterminable area of described screen, the window that other application programs are corresponding can be shown in viewing area outside described window indication range simultaneously, this with prior art in, only show a window on one screen, region black surround outside window shows is filled up and is compared, and improves the utilization rate of screen.
Preferably, in the present embodiment, first predeterminable area can be top or the bottom of terminal display, the region ratio outside the first default viewing area so can be made more complete, and so the region outside the described first default viewing area shows that the window that other application programs are corresponding will to the better visual experience of user.
With reference to shown in Fig. 7, for present invention also offers the structural representation of the window display system embodiment 2 of a kind of application program, except all unit that Fig. 4 correspondence system embodiment 1 includes, described system also includes:
Second acquisition unit 701, when rotating for described terminal screen, obtains width and the height of display screen after rotating; Second judging unit 702, for according to the width of display screen and height after the rotation obtained, it is judged that whether the display pattern of screen is perpendicular screen;
First trigger element 703, for when the result of the second judging unit is for being, triggering described first display unit;
3rd display unit 704, for when the result of the second judging unit is no, being displayed in full screen the window of the first application program on described terminal screen. Preferably, obtain rotate after before the width of terminal display and height, described system also includes:
Screen locking judging unit 705, for obtain rotate after before the width of terminal display and height, it is judged that the whether screen locking of described terminal display;
State holding elements 706, during for terminal display screen locking, the display pattern keeping described terminal display is constant;
Second trigger element 707, the second trigger element, for, under the non-screen lock state of terminal display, triggering second acquisition unit.
Preferably, in terminal display rotary course, described system also includes:
3rd judging unit 708, in terminal display rotary course, it is judged that whether the anglec of rotation of terminal display is more than predetermined threshold value;
Optimize unit 709, for when the anglec of rotation of terminal display is more than predetermined threshold value, to the optimization carrying out described terminal display rotary course.
The technical scheme of the present embodiment, except the beneficial effect that technical scheme except being capable of system embodiment 1 is brought, further, in the present embodiment, not only achieve terminal self adaptation transverse screen, the switching of perpendicular screen pattern, and when screen display mode switches, adopt window to fade out or the mode of window and screen synch rotation achieves the optimization of handoff procedure, make when screen display mode switches, present to user visually be experienced as window shows it is coherent, and unlike in prior art, screen-refresh or blank screen etc. can be produced at handoff procedure and affect the effect of user's impression, further increase the susceptibility of user.
The embodiment of the present invention may be provided for a kind of mobile terminal including aforementioned system embodiment 1 or system embodiment 2, described mobile terminal is owing to being integrated with aforementioned system embodiment 1 or system embodiment 2 on a processor, it also is able to when the display pattern of terminal display is for perpendicular screen pattern, calculate the height that window corresponding to the first application shows on a terminal screen, then, according to the display height calculated, window corresponding for the first application is shown at the first predeterminable area of described screen, the window that other application programs are corresponding can be shown in viewing area outside described window indication range simultaneously, this with prior art in, only show a window on one screen, region black surround outside window shows is filled up and is compared, improve the utilization rate of screen.
It should be noted that, herein, the relational terms of such as first and second or the like is used merely to separate an entity or operation with another entity or operating space, and not necessarily requires or imply the relation that there is any this reality between these entities or operation or sequentially. Term " includes ", " comprising " or its any other variant are intended to comprising of nonexcludability, so that include the process of a series of key element, method, article or equipment not only include those key elements, but also include other key elements being not expressly set out, or also include the key element intrinsic for this process, method, article or equipment. When there is no more restriction, statement " including ... " key element limited, it is not excluded that there is also other identical element in including the process of described key element, method, article or equipment.
For system embodiment, owing to it corresponds essentially to embodiment of the method, so relevant part illustrates referring to the part of embodiment of the method. System embodiment described above is merely schematic, the wherein said unit illustrated as separating component can be or may not be physically separate, the parts shown as unit can be or may not be physical location, namely may be located at a place, or can also be distributed on multiple NE. Some or all of module therein can be selected according to the actual needs to realize the purpose of the present embodiment scheme. Those of ordinary skill in the art, when not paying creative work, are namely appreciated that and implement.
The above is only the specific embodiment of the present invention; it should be pointed out that, for those skilled in the art, under the premise without departing from the principles of the invention; can also making some improvements and modifications, these improvements and modifications also should be regarded as protection scope of the present invention.

Claims (11)

1. the window display method of an application program, it is characterised in that described method includes:
Obtaining width and the height of current time terminal display, described width is terminal display length in the horizontal direction, and described height is terminal display length in the vertical direction;
Width according to described current time terminal display and height, it is judged that the window of the first application program, whether the display pattern of current time is perpendicular screen, is if so, then preset viewing area at the first of described terminal display and shown by described terminal display;
Presetting viewing area second and show the window of the second application program, the described second default viewing area is the viewing area outside the first default viewing area described in described terminal display;
Wherein, the window of described first application program is player window;
Described the window of the first application program is shown at the first predeterminable area of described terminal display, specifically includes:
According to the screen resolution under transverse screen that video pictures corresponding to player window resolution under transverse screen is preset with described terminal display, calculate the width of described video pictures and high ratio;
Width according to described current time terminal display and the width of high and described video pictures and high ratio calculate described player window display height on terminal display;
The described player window according to calculating display height on terminal display, shows described player window at the first predeterminable area of described terminal display.
2. method according to claim 1, it is characterised in that described method also includes:
If terminal display rotates, obtain width and the height of terminal display after rotating;
According to the width of terminal display and height after the rotation obtained, it is judged that whether the display pattern of terminal display is perpendicular screen, if so, then perform described at the first of described terminal display, the window of the first application program to be preset the step that viewing area shows;
If it is not, then the window of the first application program is displayed in full screen on described terminal display.
3. method according to claim 2, it is characterised in that before obtaining width and the height of terminal display after rotating, also include:
Judging the whether screen locking of described terminal display, the display pattern if so, then keeping described terminal display is constant;
If it is not, then perform the width of terminal display after described acquisition rotates and high step.
4. method according to claim 2, it is characterised in that described method also includes:
In terminal display rotary course, it is judged that the anglec of rotation of terminal display whether more than predetermined threshold value, if more than, then carry out the optimization to described terminal display rotary course.
5. method according to claim 4, it is characterised in that trigger optimizing particularly as follows: adopt the mode that window fades out that the display rotary course of described terminal display is optimized described terminal display rotary course.
6. method according to claim 4, it is characterised in that trigger optimizing particularly as follows: adopt window with the mode of display screen synchronous rotary, the display rotary course of described terminal display to be optimized described terminal display rotary course.
7. the window display system of an application program, it is characterised in that described system includes:
First acquiring unit, for obtaining width and the height of current time terminal display, described width is terminal display length in the horizontal direction, and described height is terminal display length in the vertical direction; First judging unit, for the width according to described current time terminal display and height, it is judged that described terminal display is whether the display pattern of current time is perpendicular screen;
First display unit, shows the window of the first application program for presetting viewing area first, and the described first default viewing area is perpendicular screen viewing area in described terminal display;
Second display unit, shows the window of the second application program for presetting viewing area second, and the described second default viewing area is the viewing area outside the first default viewing area described in described terminal display;
Wherein, when the window of described first application program is player window, described first display unit specifically includes:
First computation subunit, for the screen resolution under transverse screen preset with described terminal display according to video pictures corresponding to player window resolution under transverse screen, calculates the width of described video pictures and high ratio;
Second computation subunit, width and high ratio for the width according to described current time terminal display and high and described video pictures calculate described player window display height on terminal display;
Then the first display unit specifically for according to calculate described player window on terminal display display height, described player window is shown at the first predeterminable area of described terminal display.
8. system according to claim 7, it is characterised in that if described terminal screen rotates, described system also includes:
Second acquisition unit, for obtaining width and the height of display screen after rotation;
Second judging unit, for according to the width of display screen and height after the rotation obtained, it is judged that whether the display pattern of screen is perpendicular screen;
First trigger element, for when the result of the second judging unit is for being, triggering described first display unit;
3rd display unit, for when the result of the second judging unit is no, being displayed in full screen the window of the first application program on described terminal screen.
9. system according to claim 8, it is characterised in that described system also includes:
Screen locking judging unit, for obtain rotate after before the width of terminal display and height, it is judged that the whether screen locking of described terminal display;
State holding elements, during for terminal display screen locking, the display pattern keeping described terminal display is constant;
Second trigger element, for, under the non-screen lock state of terminal display, triggering second acquisition unit.
10. system according to claim 8, it is characterised in that described system also includes:
3rd judging unit, in terminal display rotary course, it is judged that whether the anglec of rotation of terminal display is more than predetermined threshold value;
Optimize unit, for when the anglec of rotation of terminal display is more than predetermined threshold value, to the optimization carrying out described terminal display rotary course.
11. a mobile terminal, it is characterised in that include the system described in any one of claim 7~10.
CN201210454244.8A 2012-11-13 2012-11-13 The window display method of a kind of application program, system and mobile terminal Active CN102999253B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210454244.8A CN102999253B (en) 2012-11-13 2012-11-13 The window display method of a kind of application program, system and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210454244.8A CN102999253B (en) 2012-11-13 2012-11-13 The window display method of a kind of application program, system and mobile terminal

Publications (2)

Publication Number Publication Date
CN102999253A CN102999253A (en) 2013-03-27
CN102999253B true CN102999253B (en) 2016-06-15

Family

ID=47927884

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210454244.8A Active CN102999253B (en) 2012-11-13 2012-11-13 The window display method of a kind of application program, system and mobile terminal

Country Status (1)

Country Link
CN (1) CN102999253B (en)

Families Citing this family (26)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104571843A (en) * 2013-10-28 2015-04-29 联想(北京)有限公司 Information processing method and electronic equipment
US20170004804A1 (en) * 2013-12-23 2017-01-05 Huawei Device Co., Ltd Photograph displaying method and user terminal
CN103745709A (en) * 2014-01-24 2014-04-23 福州瑞芯微电子有限公司 Embedded self-adaptive screen displaying method
CN105094762A (en) * 2014-04-30 2015-11-25 联发科技(新加坡)私人有限公司 Communication device and multi-window display method
CN104020928A (en) * 2014-06-09 2014-09-03 联想(北京)有限公司 Image display method and device
CN104363505B (en) * 2014-11-17 2017-05-31 天脉聚源(北京)传媒科技有限公司 A kind of method and device for showing broadcast interface
CN106155677A (en) * 2015-04-28 2016-11-23 天脉聚源(北京)科技有限公司 A kind of method and system of interface display
CN105025316A (en) * 2015-07-28 2015-11-04 Tcl集团股份有限公司 Method and system for judging whether or not video is under full screen play
KR102426070B1 (en) * 2015-11-18 2022-07-28 삼성전자 주식회사 Electronic apparatus and method for configuring of display thereof
CN110324489B (en) * 2015-12-24 2021-07-09 华为技术有限公司 Method for displaying multiple application windows by mobile terminal and mobile terminal
CN108351794B (en) * 2016-01-15 2021-08-27 华为技术有限公司 Display method and terminal
CN106020810A (en) * 2016-05-13 2016-10-12 乐视控股(北京)有限公司 Adaptive switching method and apparatus of display item
CN106201168A (en) * 2016-06-27 2016-12-07 乐视控股(北京)有限公司 Video playback picture display process, device and mobile terminal
CN106547456A (en) * 2016-10-27 2017-03-29 北京小米移动软件有限公司 Terminal unit screen rotation method and device
CN107168712B (en) * 2017-05-19 2021-02-23 Oppo广东移动通信有限公司 Interface drawing method, mobile terminal and computer readable storage medium
CN107888984B (en) * 2017-11-15 2021-03-09 北京小米移动软件有限公司 Short video playing method and device
CN110347317B (en) * 2019-06-11 2022-09-27 广州视源电子科技股份有限公司 Window switching method and device, storage medium and interactive intelligent panel
CN110290269A (en) * 2019-06-26 2019-09-27 努比亚技术有限公司 Display control method, mobile terminal and computer readable storage medium
CN111372126B (en) * 2019-06-27 2022-08-05 杭州海康威视系统技术有限公司 Video playing method, device and storage medium
CN111324402B (en) * 2019-10-12 2023-03-31 杭州海康威视系统技术有限公司 Window control method and device, electronic equipment and computer readable medium
CN111031176A (en) * 2019-12-03 2020-04-17 深圳市瑞驰信息技术有限公司 Intelligent rotation method for display interface of intelligent terminal
CN111158619B (en) * 2019-12-25 2021-09-21 珠海格力电器股份有限公司 Picture processing method and device
CN111083548B (en) * 2019-12-26 2022-02-01 杭州当虹科技股份有限公司 Video playing method for realizing same-screen multi-display and double-screen different display
CN111610899A (en) * 2020-04-26 2020-09-01 北京小米移动软件有限公司 Interface display method, interface display device and storage medium
CN112616078A (en) * 2020-12-10 2021-04-06 维沃移动通信有限公司 Screen projection processing method and device, electronic equipment and storage medium
CN114125135B (en) * 2021-11-08 2023-07-04 北京百度网讯科技有限公司 Video content presentation method and device, electronic equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101800816A (en) * 2010-04-08 2010-08-11 华为终端有限公司 Method for horizontal and vertical switching of touch screen of mobile terminal and mobile terminal
CN102104672A (en) * 2009-12-18 2011-06-22 深圳富泰宏精密工业有限公司 Mobile phone and method for switching landscape display modes and portrait display modes of mobile phone
CN102436341A (en) * 2011-09-19 2012-05-02 百度在线网络技术(北京)有限公司 Method and device for conducting content operation on display screen of mobile terminal

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7581192B2 (en) * 2005-03-31 2009-08-25 Microsoft Corporation Method and apparatus for application window grouping and management
CN101226454A (en) * 2008-01-18 2008-07-23 魏新成 Common mobile phone functional operation on W2VGA mobile phone touch panel

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102104672A (en) * 2009-12-18 2011-06-22 深圳富泰宏精密工业有限公司 Mobile phone and method for switching landscape display modes and portrait display modes of mobile phone
CN101800816A (en) * 2010-04-08 2010-08-11 华为终端有限公司 Method for horizontal and vertical switching of touch screen of mobile terminal and mobile terminal
CN102436341A (en) * 2011-09-19 2012-05-02 百度在线网络技术(北京)有限公司 Method and device for conducting content operation on display screen of mobile terminal

Also Published As

Publication number Publication date
CN102999253A (en) 2013-03-27

Similar Documents

Publication Publication Date Title
CN102999253B (en) The window display method of a kind of application program, system and mobile terminal
CN104010225B (en) The method and system of display panoramic video
US20170160799A1 (en) Eye-tracking-based methods and systems of managing multi-screen view on a single display screen
CN102915188B (en) A kind of method of display state of control terminal screen and device
US8953048B2 (en) Information processing apparatus and control method thereof
CN105872815A (en) Video playing method and device
WO2014082471A1 (en) Method and apparatus for controlling mobile terminal interface, and mobile terminal
CN103853330A (en) Method for controlling display layer to be switched based on eyes and mobile terminal
CN105827963B (en) Scene-change detecting method and mobile terminal during one kind is taken pictures
CN105278947A (en) Interface element configuration method and apparatus
CN104598123A (en) Method and device for displaying screen display picture of mobile terminal
CN110874177A (en) Display method of display screen, electronic equipment and storage medium
CN105843531A (en) Switching method and device for screen modes
CN105791942A (en) Channel information display method and device of smart TV
US20160162161A1 (en) Widget Area Adjustment Method and Apparatus
CN103034408A (en) Page-switching method for user interface and mobile terminal
CN108905203A (en) Information processing method, device, storage medium and electronic device
CN104714716A (en) Display method and device for downloading information
CN104423829A (en) Information processing method and electronic equipment
CN113840003A (en) Synchronization method and device
CN102024055B (en) Automatic alignment method and device during mobile terminal web browsing
CN104820562A (en) Electronic equipment, image display method and device for the same
CN106383577B (en) Scene control implementation method and system for VR video playing device
US20120146901A1 (en) Operation control device, operation control method, and input device
CN102945076B (en) A kind of display terminal image rotating method, device and a kind of display control program

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant