patents.google.com

CN102999253A - Window display method and system of application program and mobile terminal - Google Patents

  • ️Wed Mar 27 2013

CN102999253A - Window display method and system of application program and mobile terminal - Google Patents

Window display method and system of application program and mobile terminal Download PDF

Info

Publication number
CN102999253A
CN102999253A CN2012104542448A CN201210454244A CN102999253A CN 102999253 A CN102999253 A CN 102999253A CN 2012104542448 A CN2012104542448 A CN 2012104542448A CN 201210454244 A CN201210454244 A CN 201210454244A CN 102999253 A CN102999253 A CN 102999253A Authority
CN
China
Prior art keywords
terminal display
display
screen
window
wide
Prior art date
2012-11-13
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
CN2012104542448A
Other languages
Chinese (zh)
Other versions
CN102999253B (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.)
2012-11-13
Filing date
2012-11-13
Publication date
2013-03-27
2012-11-13 Application filed by Beijing QIYI Century Science and Technology Co Ltd filed Critical Beijing QIYI Century Science and Technology Co Ltd
2012-11-13 Priority to CN201210454244.8A priority Critical patent/CN102999253B/en
2013-03-27 Publication of CN102999253A publication Critical patent/CN102999253A/en
2016-06-15 Application granted granted Critical
2016-06-15 Publication of CN102999253B publication Critical patent/CN102999253B/en
Status Active legal-status Critical Current
2032-11-13 Anticipated expiration legal-status Critical

Links

  • 238000000034 method Methods 0.000 title claims abstract description 49
  • 238000005457 optimization Methods 0.000 claims description 11
  • 230000001360 synchronised effect Effects 0.000 claims description 3
  • 238000010586 diagram Methods 0.000 description 14
  • 230000008569 process Effects 0.000 description 11
  • 230000000694 effects Effects 0.000 description 4
  • 238000005516 engineering process Methods 0.000 description 4
  • 230000009286 beneficial effect Effects 0.000 description 2
  • 230000003292 diminished effect Effects 0.000 description 2
  • 238000012986 modification Methods 0.000 description 2
  • 230000004048 modification Effects 0.000 description 2
  • 230000000007 visual effect Effects 0.000 description 2
  • 230000009471 action Effects 0.000 description 1
  • 230000008859 change Effects 0.000 description 1
  • 239000012467 final product Substances 0.000 description 1
  • 230000009467 reduction Effects 0.000 description 1
  • 239000002699 waste material Substances 0.000 description 1

Images

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a window display method and a window display system of an application program, and a mobile terminal. The window display method comprises the following steps in sequence: acquiring the width and the height of a terminal display screen at the current time, wherein the width serves as the length of the terminal display screen in the horizontal direction, and the height serves as the length of the terminal display screen in the vertical direction; determining whether the terminal display screen is in a display model in a form of a vertical screen at the current time according to the width and the height of the terminal display screen at the current time, if so, displaying a window of a first application program in a first preset display area of the terminal display screen; and displaying a window of a second application program in a second preset display area, wherein the second preset display area is the display area outside the first preset display area in the display screen. According to the window display method of the application program, a plurality of windows can be displayed in the terminal display screen at the same time, so that the utilization rate of the screen can be improved.

Description

A kind of window display method of application program, system and portable terminal

Technical field

The present invention relates to technical field of image processing, particularly a kind of window display method of application program, system and portable terminal.

Background technology

The user is when using the handheld device displaying video or watching picture; usually can use the window display mode of horizontal screen and two kinds of application programs of perpendicular screen; in the prior art, can realize client (handheld device) simultaneously self-adaptation support horizontal screen, perpendicular screen to switch the technology that shows.Take client iPad as example, after the user opened an application program, the process that adopts the horizontal screen of the corresponding window of existing techniques in realizing application program, the switching of perpendicular screen self-adaptation to show was specific as follows:

If application program is player, so when displaying video, client is at first obtained the wide and high of current time client screen viewing area by built-in gyroscope, if wide and high ratio is greater than 1, determine that then the current video play mode of client is horizontal screen, otherwise, determine that then the current video play mode of client is perpendicular screen.When video play mode is horizontal screen, player window is paved with screen, corresponding video pictures size is then determined according to the pixel ratio of the intrinsic anyhow direction of video pictures and the pixel resolution of described client screen, give an example, the pixel ratio of supposing the anyhow direction that video pictures is intrinsic is 16: 9, the pixel resolution of client screen is 16: 9, and so, corresponding video pictures also can be paved with screen when video play mode is horizontal screen; When video play mode switches to perpendicular screen by horizontal screen, the pixel of the anyhow direction that video pictures is intrinsic is than constant, when video play mode is shielded for erecting, the pixel resolution of described client screen is equivalent to become 9: 16, thereby cause the pixel of the intrinsic anyhow direction of video pictures to become 9: 5 than in theory, the result who has caused video pictures to diminish.

In the prior art, when video play mode is shielded for erecting, video pictures shows between two parties, it is the centre position that described video pictures is presented at client screen, up and down both sides of video pictures are close to respectively in the control of player and prompting zone, and under the perpendicular screen pattern, video pictures diminishes, so corresponding player window has also diminished, the zone outside the player window is filled up with black surround.For example, with reference to shown in Figure 1, be the synoptic diagram that erects the screen display window of mobile device under the screen pattern in the prior art, the part of vertical line sign is the viewing area of the video pictures of player and correspondence thereof among the figure, black region then is the viewing area of filling up with black surround.

As shown in the above, when customer end adopted existing techniques in realizing video pictures showed in perpendicular screen pattern, the viewing area of video pictures diminished, and the black surround scope of filling up around the video pictures is very large, cause the waste in screen display space, further, also can reduce user's susceptibility.

Summary of the invention

The invention provides a kind of window display method, system and portable terminal of application program, show between two parties to solve mobile device of the prior art window when perpendicular screen display is shown the window of application program, and window is filled up the technical matters of the screen utilization rate reduction that causes on every side with black surround.

For solving the problems of the technologies described above, the invention provides a kind of window display method, system and portable terminal of application program, the invention provides following technical scheme:

A kind of window display method of application program, the method comprises:

Obtain the wide and high of current time terminal display, described wide be terminal display length in the horizontal direction, described height is terminal display length in the vertical direction;

Wide and high according to described current time terminal display judges whether described terminal display is perpendicular screen at the display mode of current time, if then the window with the first application program shows in the first default viewing area of described terminal display;

The window that shows the second application program in the second default viewing area, the described second default viewing area are the viewing area outside the first default viewing area described in the described terminal display.

Preferably, described method also comprises:

If terminal display rotates, obtain the wide and high of the rear terminal display of rotation;

Wide and high according to terminal display after the rotation of obtaining judges whether the display mode of terminal display is perpendicular screen, if then carry out the described step that the window of the first application program is shown in the first default viewing area of described terminal display;

If not, then with window full screen display on described terminal display of the first application program.

Preferably, obtain before the wide and height of the rear terminal display of rotation, also comprise:

Judge the whether screen locking of described terminal display, if then keep the display mode of described terminal display constant;

If not, then carry out the described wide and high step of obtaining the rear terminal display of rotation.

Preferably, described method also comprises:

In the terminal display rotary course, whether judge the anglec of rotation of terminal display greater than predetermined threshold value, if greater than, then carry out the optimization to described terminal display rotary course.

Preferably, described triggering is specially the optimization of described terminal display rotary course: the mode that the employing window fades out is optimized the demonstration rotary course of described terminal display.

Preferably, described triggering is specially the optimization of described terminal display rotary course: adopt window to be optimized with the mode of the display screen synchronous rotary demonstration rotary course to described terminal display.

Preferably, the window of described the first application program is player window, and described window with the first application program shows at the first predeterminable area of described terminal display, specifically comprises:

At the default screen resolution under horizontal screen of the resolution under the horizontal screen and described terminal display, calculate the wide and high ratio of described video pictures according to video pictures corresponding to player window;

Wide and high ratio according to wide and the high and described video pictures of described current time terminal display calculates the demonstration height of described player window on terminal display;

According to the demonstration height of the described player window of calculating on terminal display, first predeterminable area of described player window at described terminal display shown.

A kind of window display system of application program, described system comprises:

The first acquiring unit is used for obtaining the wide and high of current time terminal display, described wide be terminal display length in the horizontal direction, described height is terminal display length in the vertical direction;

The first judging unit is used for wide and high according to described current time terminal display, judges whether described terminal display is perpendicular screen at the display mode of current time;

The first display unit is used for presetting the window that the viewing area shows the first application program first, and the described first default viewing area is that perpendicular screen display is shown the zone in the described terminal display;

The second display unit is used for presetting the window that the viewing area shows the second application program second, and the described second default viewing area is the viewing area outside the first default viewing area described in the described terminal display.

Preferably, if described terminal screen rotates, described system also comprises:

Second acquisition unit is used for obtaining the wide and high of the rear display screen of rotation;

The second judging unit is used for wide and high according to display screen after the rotation of obtaining, judges whether the display mode of screen is perpendicular the screen;

The first trigger element is used in the result of the second judging unit triggering described the first display unit when being;

The 3rd display unit is used in the result of the second judging unit when being no, with window full screen display on described terminal screen of the first application program.

Preferably, described system also comprises:

The screen locking judging unit was used for before the wide and height that obtains terminal display after the rotation, judged the whether screen locking of described terminal display;

The state holding unit when being used for the terminal display screen locking, keeps the display mode of described terminal display constant;

The second trigger element is used for terminal display not under the screen lock state, triggers second acquisition unit.

Preferably, described system also comprises:

The 3rd judging unit is used at the terminal display rotary course, judges that whether the anglec of rotation of terminal display is greater than predetermined threshold value;

Optimize the unit, when being used for the anglec of rotation at terminal display greater than predetermined threshold value, to carrying out the optimization of described terminal display rotary course.

Preferably, when the window of described the first application program was player window, described the first display unit specifically comprised:

The first computation subunit is used for the screen resolution under horizontal screen preset at the resolution under the horizontal screen and described terminal display according to video pictures corresponding to player window, calculates the wide and high ratio of described video pictures;

The second computation subunit is used for calculating the demonstration of described player window on terminal display highly according to the wide and high ratio of wide and the high and described video pictures of described current time terminal display;

Then the first display unit specifically is used for according to the demonstration height of the described player window of calculating on terminal display first predeterminable area of described player window at described terminal display being shown.

A kind of portable terminal comprises aforesaid each described system.

In the technical scheme of the present invention, when the display mode of terminal display is perpendicular screen pattern, calculate first and use the height that corresponding window shows at terminal screen, then, using corresponding window according to the demonstration height that calculates with first shows at the first predeterminable area of described screen, simultaneously can show the window that other application programs are corresponding in the viewing area outside described window indication range, in this and the prior art, on a screen, only show a window, zone outside window shows is filled up with black surround and is compared, and has improved the utilization factor of screen.

Description of drawings

In order to be illustrated more clearly in the embodiment of the present application or technical scheme of the prior art, the below will do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art, apparently, the accompanying drawing that the following describes only is some embodiment that put down in writing among the application, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain according to these accompanying drawings other accompanying drawing.

Fig. 1 is the synoptic diagram of perpendicular screen pattern sub-screen display window in the prior art;

Fig. 2 is the process flow diagram of the window display method embodiment 1 of a kind of application program of the present invention;

Fig. 3 is the process flow diagram 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 architecture synoptic diagram that comprises the

first judging unit

402 concrete structure synoptic diagram of system embodiment 1 correspondence of the present invention;

Fig. 6 is the system architecture synoptic diagram that comprises the

first display unit

403 concrete structure synoptic diagram of the embodiment of the 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.

Embodiment

In order to make those skilled in the art person understand better the present invention program, below in conjunction with the accompanying drawing in the embodiment of the invention, technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that obtains under the creative work prerequisite.

With reference to shown in Figure 2, be the process flow diagram of the window display method embodiment 1 of a kind of application program of the present invention, before the display mode that present embodiment is applied in screen changes or after changing, present embodiment specifically comprises:

Step 201: obtain the wide and high of current time terminal display.

Preferably, the wide and high of described current time terminal display can be obtained by the built-in gyroscope of terminal.Wherein, described terminal display is the viewing area of terminal screen, described wide be terminal display length in the horizontal direction, described height is terminal display length in the vertical direction;

Step 202: wide and high according to described current time terminal display, judge whether described terminal display is perpendicular screen at the display mode of current time.

Preferably, this step can take user's angle to judge whether the display mode of current time terminal display is perpendicular screen, and detailed process is as follows:

Obtain after the wide and height of current time terminal display, further, can calculate described wide and high ratio, namely use the width that obtains divided by the height that obtains, if described wide and high ratio is greater than 1, be that the lateral length of terminal display is greater than the length of the vertical direction of described terminal display, at this moment, the display mode of the current display screen of described terminal check is perpendicular screen, then enter step 103 and carry out the demonstration of the window of the first application program, if described wide and high ratio 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 mode of the current display screen of described terminal check is horizontal screen.

Step 203: the window of the first application program is shown in the first default viewing area of described terminal display.

Under perpendicular screen pattern, the window of the first application program is shown in the first default viewing area of described screen, wherein the first default viewing area can be identical with zone placed in the middle shown in Figure 1 in the prior art, preferably, described the first predeterminable area also can be top or the bottom of terminal display, can make like this zone outside the first default viewing area more complete, the zone outside the described first default viewing area just can be used for showing the window that other application programs are corresponding.

For the ease of the understanding of those skilled in the art to present embodiment, this step is further described as player window as example take the window of the first application program.Description in the reference background technology as can be known, compare with horizontal screen pattern, under perpendicular screen pattern, player window and corresponding video pictures thereof can diminish, namely this moment, player window can't be paved with the display screen of terminal fully, in this step, player window can be presented at 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 clear demonstration, simultaneously, terminal display also has a default screen resolution, and the resolution of the resolution of video pictures corresponding to player window and terminal display all refers to the resolution under horizontal screen state, wherein the resolution of terminal display is different for different terminals, the screen resolution of some terminal is fixed, and the screen resolution of some terminal is optional.

In the situation that the resolution of the resolution of video pictures corresponding to player window and terminal display is all determined, just can calculate at the wide and high ratio that erects video pictures under the screen state.Such as, the resolution of supposing the video pictures that player window is corresponding is 16: 9, the resolution of terminal display is similarly 16: 9, under perpendicular screen state, video pictures remains horizontal demonstration, its resolution is constant, and this moment, the screen resolution of terminal is equivalent to become 9: 16, and the resolution that is equivalent in theory video pictures has become 9: 5, for example is convenient to explanation, can suppose terminal under perpendicular screen pattern, the wide of display screen is 9cm, and height is 16cm, like this under perpendicular screen pattern, the demonstration that is equivalent to video pictures highly is 5cm, then adds the control module of player at the upside of video pictures, adds the reminding module of player at downside, just can determine the height of player window, described player window is identical with the width of described terminal display under perpendicular screen pattern on the width.

Step 204: the window that shows the second application program in the second default viewing area.

The example of refer

step

203, as can be known, after player window shows, also having greatly on the display screen of described terminal, the viewing area does not have displaying contents, so, after the window of the first application program was presented at the first predeterminable area, the viewing area in the described display screen outside the first default viewing area then can be used for showing the window of the second application program.Wherein, the described second default viewing area is the viewing area outside the first default viewing area in the described display screen.Or take the window of the first application program as player window as example, the first default viewing area has shown after the player window, can obtain according to video ID the relevant information of described video, such as the story introduction of described video, comment etc., in the second predeterminable area, then can show the related content of the described video that obtains.In addition, according to concrete practical application, the second predeterminable area also can show the window as other application programs different from the first application program such as chat tool QQ, microblogging.The present invention is not specifically limited the displaying contents of the second predeterminable area.

In the technical scheme of present embodiment, when the display mode of terminal display is perpendicular screen pattern, calculate the height that window corresponding to the first application program shows at terminal screen, then, window the first application program is corresponding according to the demonstration height that calculates shows at the first predeterminable area of described screen, simultaneously can show the window that other application programs are corresponding in the viewing area outside described window indication range, in this and the prior art, on a screen, only show a window, zone outside window shows is filled up with black surround and is compared, and has improved the utilization factor of screen.

Further, in the present embodiment, the first predeterminable area can be top or the bottom of terminal display, can make like this zone outside the first default viewing area more complete, can make the demonstration of window corresponding to other application programs more complete, will give the better visual experience of user like this.

In actual applications, the display screen of terminal can rotate, switching between horizontal screen pattern and the perpendicular screen screen pattern namely occurs, so on the basis of embodiment 1, further, with reference to shown in Figure 3, process flow diagram for the window display method embodiment 2 of a kind of application program provided by the invention, present embodiment shields as example as perpendicular take the initial display mode of terminal display, in the time of will can rotating the display screen of terminal, the demonstration situation of terminal display describes, when wherein the initial display mode of terminal display is horizontal screen, present embodiment is applicable equally, and present embodiment specifically can comprise:

Step 301: under perpendicular screen pattern, whether the terminal judges terminal display rotates.

Preferably, can use the real-time sense terminals display screen of the built-in gyroscope of terminal whether rotation has occured in this step, in actual applications, can be with horizontal direction as the reference direction, when terminal display has departed from horizontal direction, can think that rotation has occured terminal display, enter

step

302, if no, then enter step 303.

Step 302: judge whether screen locking of terminal display.

Described screen locking is that the display mode of terminal display has been fixed as horizontal screen or perpendicular screen, and terminal can be selected whether will carry out screen locking before the window of display application program, if select screen locking, then entered step 303, if there is not screen locking, then entered

step

304.

Step 303: keep the display mode of terminal display constant.

Step 304: judge that whether the angle of terminal display rotation is greater than predetermined threshold value.

In actual applications, might be because certain action of the user of handheld terminal, cause terminal that the situation of shake occurs, this moment, the user will not switched the display mode of display screen, but because shake has occured in terminal, so display screen has departed from horizontal direction, in this case, the mistake that the display mode of terminal display might occur is switched, so can preset an angle, described default angle is described predetermined threshold value, the angle that departs from horizontal direction when terminal display determines that described terminal display will switch display mode, enter

step

305 during greater than predetermined threshold value, if no, then keep the display mode of terminal display constant.

Step 305: the demonstration to display screen in the rotary course is optimized.

In the prior art, at the horizontal screen of realizing display screen, when perpendicular screen display shows that pattern is switched, in handoff procedure, the geometric ratio that refreshes that can produce blank screen or display window significantly shows the switching effect, can reduce like this user's susceptibility, so in this step, in rotary course, adopt window to fade out or the mode of window and terminal display synchronous rotary as the switching effect, to keep switching front and back, the continuity of window in the terminal display rotary course that terminal display is shown.

Step 306: after the terminal display rotation, again obtain the wide and high of terminal display.

Because in actual applications, not only exist display screen directly to switch to perpendicular screen pattern by horizontal screen by a blocked operation, perhaps switch to this situation of horizontal screen pattern by perpendicular screen, the angle of also might display screen once rotating is excessive, switch to again perpendicular screen pattern by perpendicular screen, namely the display mode of corresponding terminal display does not change before and after the rotation, so be necessary after terminal display rotates, again removes to determine the display mode of described terminal display.

Step 307: according to rotating the wide and high of rear terminal display, judge whether the display mode of described terminal screen is perpendicular screen, if, enter

step

308, if not, step 310 entered.

Step 308: the window of the first application program is shown in the first default viewing area of described screen.

Step 309: the window that shows the second application program in the second default viewing area.

In the present embodiment, the implementation of described step 307-step 309 can reference example 1 in the implementation of step 201-

step

204, repeat no more herein.

Step 310: the window of full screen display the first application program on terminal display.

Reference example 1, equally take the window of the first application program as player window as example, in described

step

310, under the horizontal screen pattern, player window is paved with terminal display, definite process of the video window size that it is corresponding can reference example 1 in the

step

203 under perpendicular screen pattern, definite process of the video window size that player window is corresponding repeats no more herein.

The technical scheme of present embodiment, except the beneficial effect that the technical scheme that can realize embodiment 1 is brought, further, in the present embodiment, not only realized the horizontal screen of terminal self-adaptation, the switching of perpendicular screen pattern, and when screen display mode switches, adopt window to fade out or mode that window and screen synch are rotated has realized the optimization of handoff procedure, so that when screen display mode switches, presenting to user's impression visually is that window shows it is to link up, and unlike in the prior art, can produce the effect that screen-refresh or blank screen etc. affect user's impression at handoff procedure, further improved user's susceptibility.

Accordingly, with reference to shown in Figure 4, for the present invention also provides the structural representation of a kind of window display system embodiment 1 of application program, described system comprises:

The first acquiring

unit

401 is used for obtaining the wide and high of current time terminal display, described wide be terminal display length in the horizontal direction, described height is terminal display length in the vertical direction; The

first judging unit

402 is used for wide and high according to described current time terminal display, judges whether described terminal display is perpendicular screen at the display mode of current time; The

first display unit

403 is used in the result of described the first judging unit when being, with the first default viewing area demonstration at described terminal display of the window of the first application program; The

second display unit

404 is used for presetting the window that the viewing area shows the second application program second, and the described second default viewing area is the viewing area outside the first default viewing area described in the described terminal display.

Preferably, with reference to shown in Figure 5, be the system architecture synoptic diagram that comprises the

first judging unit

402 concrete structure synoptic diagram, wherein, described the

first judging unit

402 specifically comprises:

The

subelement

501 that is divided by, the wide and height that is used for the described current time terminal display that will obtain is divided by, and obtains the phase division result; The

4th judging unit

502 is used for judging that whether described phase division result is less than 1;

First determines

subelement

503, is used for described phase division result less than 1 o'clock, determines that the display mode of described terminal display is perpendicular screen; Second determines

subelement

504, is used for described phase division result greater than 1 o'clock, and the display mode of determining described terminal display is horizontal screen.When the window of described the first application program is player window, with reference to shown in Figure 6, be the system architecture synoptic diagram that comprises the

first display unit

403 concrete structure synoptic diagram, wherein said the

first display unit

403 specifically comprises:

The

first computation subunit

601 is used for the screen resolution under horizontal screen preset at the resolution under the horizontal screen and described terminal display according to video pictures corresponding to player window, calculates the wide and high ratio of described video pictures;

The

second computation subunit

602 is used for calculating the demonstration of described player window on terminal display highly according to the wide and high ratio of wide and the high and described video pictures of described current time terminal display;

Then the

first display unit

403 concrete demonstration height of described player window on terminal display that are used for according to calculating show first predeterminable area of described player window at described screen.

In the technical scheme of present embodiment, when the display mode of terminal display is perpendicular screen pattern, calculate first and use the height that corresponding window shows at terminal screen, then, using corresponding window according to the demonstration height that calculates with first shows at the first predeterminable area of described screen, simultaneously can show the window that other application programs are corresponding in the viewing area outside described window indication range, in this and the prior art, on a screen, only show a window, zone outside window shows is filled up with black surround and is compared, and has improved the utilization factor of screen.

Preferably, in the present embodiment, the first predeterminable area can be top or the bottom of terminal display, can make like this zone outside the first default viewing area more complete, the zone outside the described first default viewing area shows that window corresponding to other application programs will be to the better visual experience of user like this.

With reference to shown in Figure 7, for the present invention also provides the structural representation of a kind of window display system embodiment 2 of application program, except all unit that Fig. 4 correspondence system embodiment 1 comprises, described system also comprises:

Second acquisition unit

701 when rotating for described terminal screen, obtains the wide and high of the rear display screen of rotation; The

second judging unit

702 is used for wide and high according to display screen after the rotation of obtaining, judges whether the display mode of screen is perpendicular the screen;

The

first trigger element

703 is used in the result of the second judging unit triggering described the first display unit when being;

The

3rd display unit

704 is used in the result of the second judging unit when being no, with window full screen display on described terminal screen of the first application program.Preferably, before the wide and height that obtains terminal display after the rotation, described system also comprises:

Screen

locking judging unit

705 was used for before the wide and height that obtains terminal display after the rotation, judged the whether screen locking of described terminal display;

State holding unit

706 when being used for the terminal display screen locking, keeps the display mode of described terminal display constant;

The

second trigger element

707, the second trigger elements are used for terminal display not under the screen lock state, trigger second acquisition unit.

Preferably, in the terminal display rotary course, described system also comprises:

The

3rd judging unit

708 is used at the terminal display rotary course, judges that whether the anglec of rotation of terminal display is greater than predetermined threshold value;

Optimize unit

709, when being used for the anglec of rotation at terminal display greater than predetermined threshold value, to carrying out the optimization of described terminal display rotary course.

The technical scheme of present embodiment, except the beneficial effect that the technical scheme that can realize system embodiment 1 is brought, further, in the present embodiment, not only realized the horizontal screen of terminal self-adaptation, the switching of perpendicular screen pattern, and when screen display mode switches, adopt window to fade out or mode that window and screen synch are rotated has realized the optimization of handoff procedure, so that when screen display mode switches, presenting to user's impression visually is that window shows it is to link up, and unlike in the prior art, can produce the effect that screen-refresh or blank screen etc. affect user's impression at handoff procedure, further improved user's susceptibility.

The embodiment of the invention can also provide a kind of portable terminal that comprises aforementioned system embodiment 1 or system embodiment 2, described portable terminal since on processor integrated aforementioned system embodiment 1 or system embodiment 2, in the time of also can being perpendicular screen pattern at the display mode of terminal display, calculate first and use the height that corresponding window shows at terminal screen, then, using corresponding window according to the demonstration height that calculates with first shows at the first predeterminable area of described screen, simultaneously can show the window that other application programs are corresponding in the viewing area outside described window indication range, in this and the prior art, on a screen, only show a window, zone outside window shows is filled up with black surround and is compared, and has improved the utilization factor of screen.

Need to prove, herein, relational terms such as the first and second grades only is used for an entity or operation are made a distinction with another entity or operation, and not necessarily requires or hint and have the relation of any this reality or sequentially between these entities or the operation.Term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thereby not only comprise those key elements so that comprise process, method, article or the equipment of a series of key elements, but also comprise other key elements of clearly not listing, or also be included as the intrinsic key element of this process, method, article or equipment.Do not having in the situation of more restrictions, the key element that is limited by statement " comprising ... ", and be not precluded within process, method, article or the equipment that comprises described key element and also have other identical element.

For system embodiment, because it corresponds essentially to embodiment of the method, so relevant part gets final product referring to the part explanation of embodiment of the method.System embodiment described above only is schematic, wherein said unit as the separating component explanation can or can not be physically to separate also, the parts that show as the unit can be or can not be physical locations also, namely can be positioned at a place, perhaps also can be distributed on a plurality of network element.Can select according to the actual needs wherein some or all of module to realize the purpose of present embodiment scheme.Those of ordinary skills namely can understand and implement in the situation of not paying creative work.

The above only is the specific embodiment of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (13)

1. the window display method of an application program is characterized in that, described method comprises:

Obtain the wide and high of current time terminal display, described wide be terminal display length in the horizontal direction, described height is terminal display length in the vertical direction;

Wide and high according to described current time terminal display judges whether described terminal display is perpendicular screen at the display mode of current time, if then the window with the first application program shows in the first default viewing area of described terminal display;

The window that shows the second application program in the second default viewing area, the described second default viewing area are the viewing area outside the first default viewing area described in the described terminal display.

2. method according to claim 1 is characterized in that, described method also comprises:

If terminal display rotates, obtain the wide and high of the rear terminal display of rotation;

Wide and high according to terminal display after the rotation of obtaining judges whether the display mode of terminal display is perpendicular screen, if then carry out the described step that the window of the first application program is shown in the first default viewing area of described terminal display;

If not, then with window full screen display on described terminal display of the first application program.

3. method according to claim 2 is characterized in that, obtains before the wide and height of the rear terminal display of rotation, also comprises:

Judge the whether screen locking of described terminal display, if then keep the display mode of described terminal display constant;

If not, then carry out the described wide and high step of obtaining the rear terminal display of rotation.

4. method according to claim 2 is characterized in that, described method also comprises:

In the terminal display rotary course, whether judge the anglec of rotation of terminal display greater than predetermined threshold value, if greater than, then carry out the optimization to described terminal display rotary course.

5. method according to claim 4 is characterized in that, described triggering is specially the optimization of described terminal display rotary course: the mode that the employing window fades out is optimized the demonstration rotary course of described terminal display.

6. method according to claim 4 is characterized in that, described triggering is specially the optimization of described terminal display rotary course: adopt window to be optimized with the mode of the display screen synchronous rotary demonstration rotary course to described terminal display.

7. method according to claim 1 is characterized in that, the window of described the first application program is player window, and described window with the first application program shows at the first predeterminable area of described terminal display, specifically comprises:

At the default screen resolution under horizontal screen of the resolution under the horizontal screen and described terminal display, calculate the wide and high ratio of described video pictures according to video pictures corresponding to player window;

Wide and high ratio according to wide and the high and described video pictures of described current time terminal display calculates the demonstration height of described player window on terminal display;

According to the demonstration height of the described player window of calculating on terminal display, first predeterminable area of described player window at described terminal display shown.

8. the window display system of an application program is characterized in that, described system comprises:

The first acquiring unit is used for obtaining the wide and high of current time terminal display, described wide be terminal display length in the horizontal direction, described height is terminal display length in the vertical direction;

The first judging unit is used for wide and high according to described current time terminal display, judges whether described terminal display is perpendicular screen at the display mode of current time;

The first display unit is used for presetting the window that the viewing area shows the first application program first, and the described first default viewing area is that perpendicular screen display is shown the zone in the described terminal display;

The second display unit is used for presetting the window that the viewing area shows the second application program second, and the described second default viewing area is the viewing area outside the first default viewing area described in the described terminal display.

9. system according to claim 8 is characterized in that, if described terminal screen rotates, described system also comprises:

Second acquisition unit is used for obtaining the wide and high of the rear display screen of rotation;

The second judging unit is used for wide and high according to display screen after the rotation of obtaining, judges whether the display mode of screen is perpendicular the screen;

The first trigger element is used in the result of the second judging unit triggering described the first display unit when being;

The 3rd display unit is used in the result of the second judging unit when being no, with window full screen display on described terminal screen of the first application program.

10. system according to claim 9 is characterized in that, described system also comprises:

The screen locking judging unit was used for before the wide and height that obtains terminal display after the rotation, judged the whether screen locking of described terminal display;

The state holding unit when being used for the terminal display screen locking, keeps the display mode of described terminal display constant;

The second trigger element is used for terminal display not under the screen lock state, triggers second acquisition unit.

11. system according to claim 9 is characterized in that, described system also comprises:

The 3rd judging unit is used at the terminal display rotary course, judges that whether the anglec of rotation of terminal display is greater than predetermined threshold value;

Optimize the unit, when being used for the anglec of rotation at terminal display greater than predetermined threshold value, to carrying out the optimization of described terminal display rotary course.

12. system according to claim 8 is characterized in that, when the window of described the first application program was player window, described the first display unit specifically comprised:

The first computation subunit is used for the screen resolution under horizontal screen preset at the resolution under the horizontal screen and described terminal display according to video pictures corresponding to player window, calculates the wide and high ratio of described video pictures;

The second computation subunit is used for calculating the demonstration of described player window on terminal display highly according to the wide and high ratio of wide and the high and described video pictures of described current time terminal display;

Then the first display unit specifically is used for according to the demonstration height of the described player window of calculating on terminal display first predeterminable area of described player window at described terminal display being shown.

13. a portable terminal is characterized in that, comprises each described system of claim 8~12.

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 true CN102999253A (en) 2013-03-27
CN102999253B 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)

Cited By (28)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103745709A (en) * 2014-01-24 2014-04-23 福州瑞芯微电子有限公司 Embedded self-adaptive screen displaying method
CN104020928A (en) * 2014-06-09 2014-09-03 联想(北京)有限公司 Image display method and device
CN104363505A (en) * 2014-11-17 2015-02-18 天脉聚源(北京)传媒科技有限公司 Method and device for displaying playing interface
CN104571843A (en) * 2013-10-28 2015-04-29 联想(北京)有限公司 Information processing method and electronic equipment
CN105025316A (en) * 2015-07-28 2015-11-04 Tcl集团股份有限公司 Method and system for judging whether or not video is under full screen play
CN105094762A (en) * 2014-04-30 2015-11-25 联发科技(新加坡)私人有限公司 Communication device and multi-window display method
CN105247606A (en) * 2013-12-23 2016-01-13 华为终端有限公司 Image display method and user terminal
CN106020810A (en) * 2016-05-13 2016-10-12 乐视控股(北京)有限公司 Adaptive switching method and apparatus of display item
CN106155677A (en) * 2015-04-28 2016-11-23 天脉聚源(北京)科技有限公司 A kind of method and system of interface display
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
CN106708181A (en) * 2015-11-18 2017-05-24 三星电子株式会社 Electronic device and method for configuring display thereof
WO2017107155A1 (en) * 2015-12-24 2017-06-29 华为技术有限公司 Method of displaying multiple application windows on mobile terminal and mobile terminal
CN107168712A (en) * 2017-05-19 2017-09-15 广东欧珀移动通信有限公司 Interface method for drafting, mobile terminal and computer-readable recording medium
CN107888984A (en) * 2017-11-15 2018-04-06 北京小米移动软件有限公司 Short video broadcasting method and device
CN110290269A (en) * 2019-06-26 2019-09-27 努比亚技术有限公司 Display control method, mobile terminal and computer readable storage medium
CN110347317A (en) * 2019-06-11 2019-10-18 广州视源电子科技股份有限公司 Window switching method and device, storage medium and interactive intelligent panel
CN111031176A (en) * 2019-12-03 2020-04-17 深圳市瑞驰信息技术有限公司 Intelligent rotation method for display interface of intelligent terminal
CN111083548A (en) * 2019-12-26 2020-04-28 杭州当虹科技股份有限公司 Video playing method and device for realizing same-screen multi-display and double-screen different display
CN111158619A (en) * 2019-12-25 2020-05-15 珠海格力电器股份有限公司 Picture processing method and device
CN111324402A (en) * 2019-10-12 2020-06-23 杭州海康威视系统技术有限公司 Window control method and device, electronic equipment and computer readable medium
CN111372126A (en) * 2019-06-27 2020-07-03 杭州海康威视系统技术有限公司 Video playing method, device and storage medium
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
CN113867661A (en) * 2016-01-15 2021-12-31 华为技术有限公司 Display method and terminal
CN114125135A (en) * 2021-11-08 2022-03-01 北京百度网讯科技有限公司 Video content presentation method and device, electronic equipment and storage medium
CN114363448A (en) * 2020-09-29 2022-04-15 北京小米移动软件有限公司 Brightness control method and device for small screen window, terminal and storage medium
CN118827854A (en) * 2024-09-18 2024-10-22 荣耀终端有限公司 Video playback method and electronic device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006107324A2 (en) * 2005-03-31 2006-10-12 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
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 performing content operation on display screen of mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006107324A2 (en) * 2005-03-31 2006-10-12 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
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 performing content operation on display screen of mobile terminal

Cited By (40)

* 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
CN105247606A (en) * 2013-12-23 2016-01-13 华为终端有限公司 Image display method and user terminal
CN105247606B (en) * 2013-12-23 2017-07-28 华为终端有限公司 A kind of photo display methods 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
CN104363505A (en) * 2014-11-17 2015-02-18 天脉聚源(北京)传媒科技有限公司 Method and device for displaying playing interface
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
CN106708181A (en) * 2015-11-18 2017-05-24 三星电子株式会社 Electronic device and method for configuring display thereof
US12026347B2 (en) 2015-12-24 2024-07-02 Huawei Technologies Co., Ltd. Method for displaying multiple application windows by mobile terminal, and mobile terminal
US11620029B2 (en) 2015-12-24 2023-04-04 Huawei Technologies Co., Ltd. Method for displaying multiple application windows by mobile terminal, and mobile terminal
WO2017107155A1 (en) * 2015-12-24 2017-06-29 华为技术有限公司 Method of displaying multiple application windows on mobile terminal and mobile terminal
RU2704111C1 (en) * 2015-12-24 2019-10-24 Хуавэй Текнолоджиз Ко., Лтд. Method for displaying a plurality of application windows through a mobile terminal and a mobile terminal
CN113867661A (en) * 2016-01-15 2021-12-31 华为技术有限公司 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
CN107168712A (en) * 2017-05-19 2017-09-15 广东欧珀移动通信有限公司 Interface method for drafting, mobile terminal and computer-readable recording medium
CN107168712B (en) * 2017-05-19 2021-02-23 Oppo广东移动通信有限公司 Interface drawing method, mobile terminal and computer readable storage medium
CN107888984A (en) * 2017-11-15 2018-04-06 北京小米移动软件有限公司 Short video broadcasting method and device
CN107888984B (en) * 2017-11-15 2021-03-09 北京小米移动软件有限公司 Short video playing method and device
CN110347317A (en) * 2019-06-11 2019-10-18 广州视源电子科技股份有限公司 Window switching method and device, storage medium and interactive intelligent panel
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
CN111372126A (en) * 2019-06-27 2020-07-03 杭州海康威视系统技术有限公司 Video playing method, device and storage medium
CN111324402A (en) * 2019-10-12 2020-06-23 杭州海康威视系统技术有限公司 Window control method and device, electronic equipment and computer readable 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
CN111158619A (en) * 2019-12-25 2020-05-15 珠海格力电器股份有限公司 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
CN111083548A (en) * 2019-12-26 2020-04-28 杭州当虹科技股份有限公司 Video playing method and device 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
CN114363448A (en) * 2020-09-29 2022-04-15 北京小米移动软件有限公司 Brightness control method and device for small screen window, terminal and storage medium
CN114363448B (en) * 2020-09-29 2024-05-24 北京小米移动软件有限公司 Screen widget brightness control method and device, terminal and storage medium
CN112616078A (en) * 2020-12-10 2021-04-06 维沃移动通信有限公司 Screen projection processing method and device, electronic equipment and storage medium
CN114125135A (en) * 2021-11-08 2022-03-01 北京百度网讯科技有限公司 Video content presentation method and device, electronic equipment and storage medium
CN118827854A (en) * 2024-09-18 2024-10-22 荣耀终端有限公司 Video playback method and electronic device

Also Published As

Publication number Publication date
CN102999253B (en) 2016-06-15

Similar Documents

Publication Publication Date Title
CN102999253A (en) 2013-03-27 Window display method and system of application program and mobile terminal
CN103116400B (en) 2016-08-31 The control method of a kind of screen display state and electronic equipment
JP5627418B2 (en) 2014-11-19 Video display apparatus and method
CN104822088A (en) 2015-08-05 Video image zooming method and device
US20150121301A1 (en) 2015-04-30 Information processing method and electronic device
US9798437B2 (en) 2017-10-24 Information processing method and electronic device
CN104937535A (en) 2015-09-23 Mobile terminal, display control method, and program
CN101334725A (en) 2008-12-31 Method and device for enhancing windows display performance
US20190286310A1 (en) 2019-09-19 Widget Area Adjustment Method and Apparatus
CN103885685A (en) 2014-06-25 Method and device for processing pages
CN104615402A (en) 2015-05-13 Split-screen display method of vehicle networked screens
CN108572770A (en) 2018-09-25 A kind of method and device of image browsing
CN103702230B (en) 2017-12-12 Method for displaying image and device
CN105872702A (en) 2016-08-17 Method and device for displaying virtual keyboard
CN104299252A (en) 2015-01-21 Picture display switching transition method and system thereof
CN107707901B (en) 2019-10-25 It is a kind of for the display methods of naked eye 3D display screen, device and equipment
CN103914228B (en) 2017-11-07 A kind of operating method of mobile terminal and its touch-screen
CN112148167A (en) 2020-12-29 Control setting method and device and electronic equipment
CN102024055A (en) 2011-04-20 Automatic alignment method and device during mobile terminal web browsing
WO2018000606A1 (en) 2018-01-04 Virtual-reality interaction interface switching method and electronic device
CN106371730A (en) 2017-02-01 Mobile terminal and image rotation method
CN105988700A (en) 2016-10-05 Terminal screen display method and device
CN106325692B (en) 2020-04-03 Method and device for switching display modes and mobile terminal thereof
US20200280623A1 (en) 2020-09-03 Display screen switching method and mobile terminal
WO2022166753A1 (en) 2022-08-11 Page display method and apparatus

Legal Events

Date Code Title Description
2013-03-27 C06 Publication
2013-03-27 PB01 Publication
2013-04-24 C10 Entry into substantive examination
2013-04-24 SE01 Entry into force of request for substantive examination
2016-06-15 C14 Grant of patent or utility model
2016-06-15 GR01 Patent grant