CN106326281A - A picture display method and device - Google Patents

A picture display method and device Download PDF

Info

Publication number
CN106326281A
CN106326281A CN201510374512.9A CN201510374512A CN106326281A CN 106326281 A CN106326281 A CN 106326281A CN 201510374512 A CN201510374512 A CN 201510374512A CN 106326281 A CN106326281 A CN 106326281A
Authority
CN
China
Prior art keywords
width
picture
display
height
display state
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.)
Withdrawn
Application number
CN201510374512.9A
Other languages
Chinese (zh)
Inventor
瞿广财
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN201510374512.9A priority Critical patent/CN106326281A/en
Priority to PCT/CN2016/080382 priority patent/WO2017000647A1/en
Publication of CN106326281A publication Critical patent/CN106326281A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/60Rotation of whole images or parts thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/54Browsing; Visualisation therefor

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Controls And Circuits For Display Device (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention provides a picture display method comprising the steps of acquiring first size information of a to-be-displayed picture and second size information of a display screen of a terminal; determining the display state of the to-be-displayed picture according to the first size information and the second size information; displaying the to-be-displayed picture on the display screen according to the determined display state. The invention also provides an image display device. When a user views a picture via a terminal, the user does not need to adjust the screen display state of the terminal manually; the terminal can determine a corresponding display state automatically according to the size information of a picture and the size information of the display screen of the terminal and display the picture according to the determined display state.

Description

Image display method and device
Technical field
The present invention relates to Display Technique field, particularly relate to a kind of image display method and device.
Background technology
At present, in a lot of terminals, meeting embedded position induction installation (such as gyroscope), is filled by location sensitive Put the display state controlling terminal display.As a example by utilizing terminal demonstration picture, at the screen of terminal It is currently at vertical screen display state (width that i.e. current screen shows is less than height), and terminal is currently displaying Picture width more than height time, in order to make full use of screen, user is it is generally required to manually adjust terminal Position, the screen display state of terminal is adjusted to transverse screen display state (i.e. by position induction device The width that current screen shows is more than height);Or, the screen in terminal is currently at transverse screen display state, And the width of the currently displaying picture of terminal less than height time, user is it is generally required to manually adjust the position of terminal Put, the screen display state of terminal is adjusted to vertical screen display state by position induction device.Existing The defect of technology is, when utilizing terminal demonstration picture, user needs manually to regulate the position of terminal Put to adjust the display state of terminal screen.
Summary of the invention
Present invention is primarily targeted at a kind of image display method of offer and device, it is intended to solve to need to lead to Cross the position of manually regulation terminal to adjust the technical problem of the display state of terminal screen.
The image display method that the present invention provides comprises the following steps:
Obtain the first size information of picture to be shown and the second dimension information of the display screen of terminal;
The display shape of described picture to be shown is determined according to described first size information and the second dimension information State;
Described display state according to determining shows described picture to be shown on described display screen.
Preferably, described first size information is first the ratio of width to height, and described second dimension information is the second width High ratio, described determines the aobvious of described picture to be shown according to described first size information and the second dimension information Show that the step of state includes:
Judge whether described first the ratio of width to height less than 1 and second the ratio of width to height more than 1, or the most described first The ratio of width to height is more than 1 and described second the ratio of width to height is less than 1;
Described first the ratio of width to height less than 1 and second the ratio of width to height more than 1, or described first the ratio of width to height is more than 1 and second the ratio of width to height less than 1 time, determine that the display state of described picture to be shown is rotational display state;
Described on described display screen, show described picture to be shown according to the described display state determined Step includes:
When the display state of described picture to be shown is rotational display state, described picture to be shown is entered Row rotation processing, and show the picture to be shown after rotation processing.
Preferably, described first size information is first the ratio of width to height, and described second dimension information is the second width High ratio, described determines the aobvious of described picture to be shown according to described first size information and the second dimension information Show that the step of state includes: determine described picture to be shown according to described first the ratio of width to height and second the ratio of width to height Corresponding display state;
When described first the ratio of width to height is less than 1 and described second the ratio of width to height is less than 1, or described first is wide High than more than 1 and described second the ratio of width to height more than 1 time, determine the display shape that described picture to be shown is corresponding State is the first display state, and wherein, under the first display state, the width of the picture of display is parallel to The width of described display screen;
When described first the ratio of width to height is less than 1 and described second the ratio of width to height is more than 1, or described first is wide High than more than 1 and described second the ratio of width to height less than 1 time, determine the display shape that described picture to be shown is corresponding State is the second display state, and wherein, under the second display state, the width of the picture of display is parallel to The short transverse of described display screen;
When described first the ratio of width to height is equal to 1 equal to 1 or described second the ratio of width to height, determine described to be shown The display state that picture is corresponding is the first display state or the second display state.
Preferably, described first size information includes the first width and the first height, described second size letter Breath includes the second width and the second height, described true according to described first size information and the second dimension information The step of the display state of fixed described picture to be shown includes:
According to described first width, first height, the second width and second determine the most respectively described in wait to show The first effective area that diagram sheet is corresponding under the first display state and under the second display state corresponding the Two effective areas, wherein, under the first display state, the width of the picture of display is parallel to described aobvious The width of display screen curtain, under the second display state, the width of the picture of display is parallel to described aobvious The short transverse of display screen curtain;
In the effective area determined, determine the display state that bigger effective area is corresponding, and will determine Display state be set to the display state of described picture to be shown.
Preferably, described according to the described display state determined show on described display screen described in wait to show After the step of diagram sheet, described image display method also includes:
Preserve the incidence relation between described picture to be shown and the display state determined;
Described image display method also includes:
When detecting picture idsplay order, it may be judged whether preserve corresponding with described picture idsplay order The display state of picture to be shown association;
When there is not the display state associated with described picture to be shown, perform described acquisition figure to be shown The step of the second dimension information of the first size information of sheet and the display screen of terminal;
When there is the display state associated with described picture to be shown, close according to described picture to be shown The display state of connection shows described picture to be shown on the display screen of terminal.
Additionally, the image display apparatus that the present invention provides includes:
Acquisition module, for obtaining the of the display screen of the first size information of picture to be shown and terminal Two dimension informations;
Determine module, for determining described to be shown according to described first size information and the second dimension information The display state of picture;
Display module, treats described in showing on described display screen according to the described display state determined Display picture.
Preferably, described first size information is first the ratio of width to height, and described second dimension information is the second width High ratio, described determines that module includes:
Judging unit, be used for judging whether described first the ratio of width to height less than 1 and second the ratio of width to height more than 1, or The most described first the ratio of width to height of person is more than 1 and described second the ratio of width to height is less than 1;
First determines unit, for described first the ratio of width to height less than 1 and second the ratio of width to height more than 1, or Described first the ratio of width to height more than 1 and second the ratio of width to height less than 1 time, determine the display of described picture to be shown State is rotational display state;
Described display module is additionally operable to when the display state of described picture to be shown is rotational display state, Described picture to be shown is carried out rotation processing, and shows the picture to be shown after rotation processing.
Preferably, described first size information is first the ratio of width to height, and described second dimension information is the second width High ratio, described determine module be additionally operable to according to described first the ratio of width to height and second the ratio of width to height determine described in wait to show The display state that diagram sheet is corresponding;
When described first the ratio of width to height is less than 1 and described second the ratio of width to height is less than 1, or described first is wide High than more than 1 and described second the ratio of width to height more than 1 time, determine the display shape that described picture to be shown is corresponding State is the first display state, and wherein, under the first display state, the width of the picture of display is parallel to The width of described display screen;
When described first the ratio of width to height is less than 1 and described second the ratio of width to height is more than 1, or described first is wide High than more than 1 and described second the ratio of width to height less than 1 time, determine the display shape that described picture to be shown is corresponding State is the second display state, and wherein, under the second display state, the width of the picture of display is parallel to The short transverse of described display screen;
When described first the ratio of width to height is equal to 1 equal to 1 or described second the ratio of width to height, determine described to be shown The display state that picture is corresponding is the first display state or the second display state.
Preferably, described first size information includes the first width and the first height, described second size letter Breath includes the second width and the second height, described determines that module includes:
Second determines unit, for high according to described first width, the first height, the second width and second Degree determines the first effective area of described picture to be shown correspondence under the first display state and respectively second The second effective area corresponding under display state, wherein, the width of the picture of display under the first display state Degree is oriented parallel to the width of described display screen, the width of the picture of display under the second display state Degree is oriented parallel to the short transverse of described display screen;
Unit is set, in the effective area determined, determines the display that bigger effective area is corresponding State, and the display state determined is set to the display state of described picture to be shown.
Preferably, described image display apparatus also includes:
Preserve module, for preserving the incidence relation between described picture to be shown and the display state determined;
Judge module, for when detecting picture idsplay order, it may be judged whether preserve and described picture The display state of the picture to be shown association that idsplay order is corresponding;
Described acquisition module is additionally operable to, when there is not the display state associated with described picture to be shown, obtain Take the first size information of picture to be shown and the second dimension information of the display screen of terminal;
Described display module is additionally operable to when there is the display state associated with described picture to be shown, according to The display state associated with described picture to be shown shows described figure to be shown on the display screen of terminal Sheet.
The image display method of present invention offer and device, believe by obtaining the first size of picture to be shown Second dimension information of the display screen of breath and terminal, and according to described first size information and the second size Information determines the display state of described picture to be shown, further according to the described display state determined described aobvious Described picture to be shown is shown on display screen curtain, thus when user checks picture by terminal, it is not necessary to hands The screen display state of dynamic regulation terminal, terminal can be automatically according to the dimension information of picture and terminal demonstration The dimension information of screen determines the display state of correspondence, and shows picture according to the display state determined, from Without being controlled the display state of terminal display by position sensor, and avoid terminal and exist The defect of the display state of position sensor uncontrollable terminal display during horizontal positioned so that terminal It still is able to when horizontal positioned automatically determine the display state that terminal display is corresponding.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet of image display method first embodiment of the present invention;
Fig. 2 is the refinement flow process determining display state step in image display method the 4th embodiment of the present invention Schematic diagram;
Fig. 3 is the schematic flow sheet of image display method sixth embodiment of the present invention;
Fig. 4 is the high-level schematic functional block diagram of image display apparatus first embodiment of the present invention;
Fig. 5 is the refinement functional module signal determining module in image display apparatus the 4th embodiment of the present invention Figure;
Fig. 6 is the high-level schematic functional block diagram of image display apparatus sixth embodiment of the present invention.
The realization of the object of the invention, functional characteristics and advantage will in conjunction with the embodiments, do referring to the drawings further Explanation.
Detailed description of the invention
Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not used to limit Determine the present invention.
The present invention provides a kind of image display method, is image display method of the present invention the with reference to Fig. 1, Fig. 1 The schematic flow sheet of one embodiment, the image display method that the present invention proposes comprises the following steps:
Step S10, obtains the first size information of picture to be shown and the second size of the display screen of terminal Information;
In the present embodiment, above-mentioned terminal is preferably mobile terminal, for example, it is possible to for but be not limited to mobile phone, Panel computer etc..
Step S10 can be performed when detecting picture idsplay order.Terminal storage can also got Picture time, perform step S10.Such as, when detecting photograph taking and completing, i.e. can will shoot The photo become is as picture to be shown, and performs step S10.
Above-mentioned first size information can be the information such as the width of picture to be shown, height and/or the ratio of width to height; Above-mentioned second dimension information can be the information such as the width of display screen, height and/or the ratio of width to height of terminal. It should be noted that, above-mentioned second dimension information can directly be obtained by the systematic parameter of terminal.
Step S20, determines described picture to be shown according to described first size information and the second dimension information Display state;
In the present embodiment, the display state of picture to be shown includes the first display state and the second display shape State, wherein, under the first display state, the width of the picture of display is parallel to described display screen Width, under the second display state, the width of the picture of display is parallel to described display screen Short transverse.
Determine that the concrete mode of the display state of picture to be shown can select according to actual needs, only Ensure that picture to be shown has the effective area of maximum under this display state.Such as, if The display state determined is the first display state, the picture the most to be shown visible surface under the first display state Long-pending more than this picture to be shown effective area under the second display state.
The above-mentioned picture to be shown effective area under the display state determined is: show at display screen During this picture, the area of the display screen shared by this picture.
When determining display state, it is possible to use the ratio of width to height of picture to be shown and the ratio of width to height of display screen Determine, it is also possible to utilize the width of the width of picture to be shown, height and display screen, highly determine Display state, specifically can select according to actual needs, in this no limit.Preferably, really When determining the display state of picture to be shown, as long as enabling to picture to be shown under the display state determined There is the effective area of maximum.
Step S30, the described display state according to determining shows described figure to be shown on described display screen Sheet.
In the present embodiment, picture to be shown described in the picture display program display of terminal can be directly invoked, The picture display program of terminal includes two kinds, and one is to directly display program, i.e. by directly displaying program The picture called is during display, and its width is parallel to the width of display screen;Another kind of It is rotational display program, i.e. by the picture of rotational display routine call during display, its width side To the short transverse being parallel to display screen.When the display state determined is the first display state, then adjust Picture to be shown described in program display is directly displayed with described;It is the second display shape in the display state determined During state, then call picture to be shown described in described rotational display program display.
The image display method that the present invention provides, by obtaining first size information and the end of picture to be shown Second dimension information of the display screen of end, and true according to described first size information and the second dimension information The display state of fixed described picture to be shown, further according to the described display state determined at described display screen The described picture to be shown of upper display, thus when user checks picture by terminal, it is not necessary to manually regulate The screen display state of terminal, terminal can be automatically according to the dimension information of picture and terminal display Dimension information determine correspondence display state, and according to determine display state display picture, from without Position sensor to be passed through controls the display state of terminal display, and avoids terminal and put in level The defect of the display state of position sensor uncontrollable terminal display when putting so that terminal is in level It still is able to during placement automatically determine the display state that terminal display is corresponding.
Further, first embodiment based on above-mentioned image display method, the present invention also proposes picture and shows Showing the second embodiment of method, in the present embodiment, described first size information is first the ratio of width to height, institute Stating the second dimension information is second the ratio of width to height, and step S20 includes:
Judge whether described first the ratio of width to height less than 1 and second the ratio of width to height more than 1, or the most described first The ratio of width to height is more than 1 and described second the ratio of width to height is less than 1;
Described first the ratio of width to height less than 1 and second the ratio of width to height more than 1, or described first the ratio of width to height is more than 1 and second the ratio of width to height less than 1 time, determine that the display state of described picture to be shown is rotational display state;
Preferably, it is all higher than 1 in first the ratio of width to height and second the ratio of width to height, or first the ratio of width to height and second wide During high ratio respectively less than 1, determine that the display state of described picture to be shown is for directly displaying state.
When described first the ratio of width to height is equal to 1 equal to 1 or described second the ratio of width to height, determine described to be shown The display state of picture is rotational display state or directly displays state, i.e. picture the most to be shown is corresponding Display state both can be rotational display state, it is also possible to for directly displaying state.
Step S30 includes: when the display state of described picture to be shown is rotational display state, to institute State picture to be shown and carry out rotation processing, and show the picture to be shown after rotation processing.
Preferably, when the display state of described picture to be shown is for directly displaying state, then directly display Picture to be shown.The most directly show program display picture to be shown by system picture.
The image display method that the present embodiment provides, it is possible to more efficiently automatically determine figure according to the ratio of width to height The display state of sheet.
Further, first embodiment based on above-mentioned image display method, the present invention also proposes picture and shows Showing the 3rd embodiment of method, in the present embodiment, described first size information is first the ratio of width to height, institute Stating the second dimension information is second the ratio of width to height, and step S20 includes: wide high according to first the ratio of width to height and second The display state that described picture to be shown is corresponding than determining;
When described first the ratio of width to height is less than 1 and described second the ratio of width to height is less than 1, or described first is wide High than more than 1 and described second the ratio of width to height more than 1 time, determine the display shape that described picture to be shown is corresponding State is the first display state, and wherein, under the first display state, the width of the picture of display is parallel to The width of described display screen;
In the present embodiment, first the ratio of width to height is the ratio between width and the height of picture to be shown, Second the ratio of width to height is the ratio between the width of display screen and height.
When described first the ratio of width to height is less than 1 and described second the ratio of width to height is more than 1, or described first is wide High than more than 1 and described second the ratio of width to height less than 1 time, determine the display shape that described picture to be shown is corresponding State is the second display state, and wherein, under the second display state, the width of the picture of display is parallel to The short transverse of described display screen;
When described first the ratio of width to height is equal to 1 equal to 1 or described second the ratio of width to height, determine described to be shown The display state that picture is corresponding is the first display state or the second display state.I.e., now picture to be shown Corresponding display state both can be the first display state, it is also possible to be the second display state.
The image display method that the present embodiment provides, it is possible to more efficiently automatically determine figure according to the ratio of width to height The display state of sheet.
Further, first embodiment based on above-mentioned image display method, the present invention also proposes picture and shows Showing the 4th embodiment of method, in the present embodiment, described first size information includes the first width and One height, described second dimension information includes the second width and the second height, is this with reference to Fig. 2, Fig. 2 Bright image display method the 4th embodiment determines the refinement schematic flow sheet of display state step, step S20 Including:
Step S21, determines the most respectively according to described first width, the first height, the second width and second The first effective area that described picture to be shown is corresponding under the first display state and under the second display state The second corresponding effective area, wherein, under the first display state, the width of the picture of display is parallel In the width of described display screen, under the second display state, the width of the picture of display is parallel Short transverse in described display screen;
The mode calculating the first effective area and the second effective area is as follows:
(1) existTime, described first effective area is:Described second effective area For:Wherein, W1Represent the first width, H1Represent described first height, W2Represent second Width, H2Represent described second height.
In the present embodiment, the first height of picture the most to be shown and the ratio of the first width are less than display screen Second height of curtain and the ratio of the second width, now, under the first display state, picture to be shown Display width is equal to the second width equal to the width of display screen, the display width of picture the most to be shown, treats Between the display height of display picture is equal to product and the first width between the second width and the first height Ratio, therefore, the first effective area that picture to be shown is corresponding isIn like manner, in the second display Under state, the second effective area that picture to be shown is corresponding is
(2) existTime, described first effective area is:Described second effective area For:Wherein, W1Represent the first width, H1Represent described first height, W2Represent second Width, H2Represent described second height.
In the present embodiment, the first height of picture the most to be shown is more than or equal to the ratio of the first width Second height of display screen and the ratio of the second width, now, under the first display state, to be shown The display height of picture is equal to the height of display screen, and the display of picture the most to be shown is highly high equal to second Degree, the display width of picture to be shown is equal to the product between the first width and the second height and the first height Between ratio, therefore, the first effective area that picture to be shown is corresponding isIn like manner, Under two display states, the second effective area that picture to be shown is corresponding is
It should be noted that, at the ratio of height and the width of picture to be shown equal to the height of display screen During with the ratio of width, it is also possible to determine the first effective area and the second effective area according to mode (1).
Step S22, in the effective area determined, determines the display state that bigger effective area is corresponding, And the display state determined is set to the display state of described picture to be shown.
Such as, if in the first effective area determined and the second effective area, the first effective area is more than Second effective area, then be set to picture to be shown by the first corresponding for the first effective area display state Display state.
The image display method that the present embodiment provides, it is possible to according to picture to be shown and the width of display screen The display state of picture is more efficiently automatically determined with elevation information.
Further, first embodiment based on above-mentioned image display method, the present invention also proposes picture and shows Showing the 5th embodiment of method, in the present embodiment, described first size information includes the first width and One height, described second dimension information includes the second width and the second height, and step S20 includes:
When described first width is less than the second height less than described first height and described second width, or First width described in person more than second height and described second width more than second height time, determine described in treat The display state that display picture is corresponding is the first display state;
When described first width is more than the second height less than described first height and described second width, or First width described in person more than second height and described second width less than second height time, determine described in treat The display state that display picture is corresponding is the second display state;
At described first width equal to the first height, or when described second width is equal to the second height, really The display state that fixed described picture to be shown is corresponding is the first display state or the second display state.
The image display method that the present embodiment provides, it is possible to according to picture to be shown and the width of display screen The display state of picture is more efficiently automatically determined with elevation information.
Further, the first to the 5th any embodiment based on image display method of the present invention, the present invention Also proposed the sixth embodiment of image display method, be image display method of the present invention with reference to Fig. 3, Fig. 3 The schematic flow sheet of sixth embodiment, after step S30, described image display method also includes:
Step S40, preserves the incidence relation between described picture to be shown and the display state determined;
Described image display method also includes:
Step S50, when detecting picture idsplay order, it may be judged whether preserves and shows with described picture and refer to The display state of the picture to be shown association that order is corresponding;
When there is not the display state associated with described picture to be shown, then perform step S10;Exist During the display state associated with described picture to be shown, then perform step S60;
Step S60, shows on the display screen of terminal according to the display state associated with described picture to be shown Show described picture to be shown.
In the present embodiment, after determining the display state that picture to be shown is corresponding, can preserve and treat Incidence relation between display picture and the display state determined, for example, it is possible to preserve picture mark to be shown Know the incidence relation between corresponding display state.Incidence relation can be one about picture to be shown with Incidence relation table between display state, or mark based on picture to be shown, for example, it is possible to treat A flag bit set up by display picture, and this flag bit can be divided into two kinds, and one is and the first display state pair The first flag bit answered, another kind is second flag bit corresponding with the second display state, treats determining After the display state that display picture is corresponding, then preserve corresponding flag bit based on this picture to be shown.From And when again showing this picture, the most first judge whether the to be shown figure corresponding with picture idsplay order The display state of sheet association, in the presence of, then determine that this picture is corresponding according to the incidence relation that pre-saves Display state, then further according to the display state display picture determined, from without in every time display During picture, the dimension information of the screen being required to the dimension information according to picture to be shown and terminal determines aobvious Show state, further increase efficiency.
The present invention further provides a kind of image display apparatus.
With reference to the high-level schematic functional block diagram that Fig. 4, Fig. 4 are image display apparatus first embodiment of the present invention, this The image display apparatus that invention provides includes:
Acquisition module 10, for obtaining the display screen of the first size information of picture to be shown and terminal Second dimension information;
In the present embodiment, above-mentioned terminal is preferably mobile terminal, for example, it is possible to for but be not limited to mobile phone, Panel computer etc..
Can be when detecting picture idsplay order, acquisition module 10 obtains the first size of picture to be shown Second dimension information of the display screen of information and described terminal.The figure of terminal storage can also got During sheet, acquisition module 10 obtains the first size information of picture to be shown and the display screen of described terminal Second dimension information.Such as, when detecting photograph taking and completing, the photo that i.e. shooting can be completed As picture to be shown, acquisition module 10 obtains the first size information of picture to be shown and described terminal Second dimension information of display screen.
Above-mentioned first size information can be the information such as the width of picture to be shown, height and/or the ratio of width to height; Above-mentioned second dimension information can be the information such as the width of display screen, height and/or the ratio of width to height of terminal. It should be noted that, above-mentioned second dimension information can directly be obtained by the systematic parameter of terminal.
Determine module 20, wait to show described in determining according to described first size information and the second dimension information The display state of diagram sheet;
In the present embodiment, the display state of picture to be shown includes the first display state and the second display shape State, wherein, under the first display state, the width of the picture of display is parallel to described display screen Width, under the second display state, the width of the picture of display is parallel to described display screen Short transverse.
Determine that the concrete mode of the display state of picture to be shown can select according to actual needs, only Ensure that picture to be shown has the effective area of maximum under this display state.Such as, if The display state determined is the first display state, the picture the most to be shown visible surface under the first display state Long-pending more than this picture to be shown effective area under the second display state.
The above-mentioned picture to be shown effective area under the display state determined is: show at display screen During this picture, the area of the display screen shared by this picture.
When determining display state, it is possible to use the ratio of width to height of picture to be shown and the ratio of width to height of display screen Determine, it is also possible to utilize the width of the width of picture to be shown, height and display screen, highly determine Display state, specifically can select according to actual needs, in this no limit.Preferably, really When determining the display state of picture to be shown, as long as enabling to picture to be shown under the display state determined There is the effective area of maximum.
Display module 30, described for showing on described display screen according to the described display state determined Picture to be shown.
In the present embodiment, picture to be shown described in the picture display program display of terminal can be directly invoked, The picture display program of terminal includes two kinds, and one is to directly display program, i.e. by directly displaying program The picture called is during display, and its width is parallel to the width of display screen;Another kind of It is rotational display program, i.e. by the picture of rotational display routine call during display, its width side To the short transverse being parallel to display screen.When the display state determined is the first display state, then adjust Picture to be shown described in program display is directly displayed with described;It is the second display shape in the display state determined During state, then call picture to be shown described in described rotational display program display.
The image display apparatus that the present invention provides, by obtaining first size information and the end of picture to be shown Second dimension information of the display screen of end, and true according to described first size information and the second dimension information The display state of fixed described picture to be shown, further according to the described display state determined at described display screen The described picture to be shown of upper display, thus when user checks picture by terminal, it is not necessary to manually regulate The screen display state of terminal, terminal can be automatically according to the dimension information of picture and terminal display Dimension information determine correspondence display state, and according to determine display state display picture, from without Position sensor to be passed through controls the display state of terminal display, and avoids terminal and put in level The defect of the display state of position sensor uncontrollable terminal display when putting so that terminal is in level It still is able to during placement automatically determine the display state that terminal display is corresponding.
Further, first embodiment based on above-mentioned image display apparatus, the present invention also proposes picture and shows Second embodiment of showing device, in the present embodiment, described first size information is first the ratio of width to height, institute Stating the second dimension information is second the ratio of width to height, described determines that module 10 includes:
Judging unit, be used for judging whether described first the ratio of width to height less than 1 and second the ratio of width to height more than 1, or The most described first the ratio of width to height of person is more than 1 and described second the ratio of width to height is less than 1;
First determines unit, for described first the ratio of width to height less than 1 and second the ratio of width to height more than 1, or Described first the ratio of width to height more than 1 and second the ratio of width to height less than 1 time, determine the display of described picture to be shown State is rotational display state;
Preferably, first determines unit to be additionally operable in first the ratio of width to height and second the ratio of width to height is all higher than 1, or When first the ratio of width to height and second the ratio of width to height are respectively less than 1, determine that the display state of described picture to be shown is straight Connect display state.
Preferably, first determines that unit is additionally operable in described first the ratio of width to height equal to 1 or described second width height Than during equal to 1, determine that the display state of described picture to be shown is rotational display state or directly displays shape State, i.e. the display state that picture the most to be shown is corresponding both can be rotational display state, it is also possible to for Directly display state.
It is rotational display state that described display module 30 is additionally operable in the display state of described picture to be shown Time, described picture to be shown is carried out rotation processing, and shows the picture to be shown after rotation processing.
Preferably, when the display state of described picture to be shown is for directly displaying state, then directly display Picture to be shown.The most directly show program display picture to be shown by system picture.
The image display apparatus that the present embodiment provides, it is possible to more efficiently automatically determine figure according to the ratio of width to height The display state of sheet.
Further, first embodiment based on above-mentioned image display apparatus, the present invention also proposes picture and shows 3rd embodiment of showing device, in the present embodiment, described first size information is first the ratio of width to height, institute Stating the second dimension information is second the ratio of width to height, determines that module 20 is additionally operable to: according to first the ratio of width to height and second The ratio of width to height determines the display state that described picture to be shown is corresponding;
When described first the ratio of width to height is less than 1 and described second the ratio of width to height is less than 1, or described first is wide High than more than 1 and described second the ratio of width to height more than 1 time, determine the display shape that described picture to be shown is corresponding State is the first display state, and wherein, under the first display state, the width of the picture of display is parallel to The width of described display screen;
In the present embodiment, first the ratio of width to height is the ratio between width and the height of picture to be shown, Second the ratio of width to height is the ratio between the width of display screen and height.
When described first the ratio of width to height is less than 1 and described second the ratio of width to height is more than 1, or described first is wide High than more than 1 and described second the ratio of width to height less than 1 time, determine the display shape that described picture to be shown is corresponding State is the second display state, and wherein, under the second display state, the width of the picture of display is parallel to The short transverse of described display screen;
When described first the ratio of width to height is equal to 1 equal to 1 or described second the ratio of width to height, determine described to be shown The display state that picture is corresponding is the first display state or the second display state.I.e., now picture to be shown Corresponding display state both can be the first display state, it is also possible to be the second display state.
The image display apparatus that the present embodiment provides, it is possible to more efficiently automatically determine figure according to the ratio of width to height The display state of sheet.
Further, first embodiment based on above-mentioned image display apparatus, the present invention also proposes picture and shows 4th embodiment of showing device, in the present embodiment, described first size information includes the first width and One height, described second dimension information includes the second width and the second height, is this with reference to Fig. 5, Fig. 5 Bright image display apparatus the 4th embodiment determines the refinement high-level schematic functional block diagram of module, determines module 20 Including:
Second determines unit 21, for according to described first width, the first height, the second width and second Determine the first effective area that described picture to be shown is corresponding under the first display state the most respectively and the The second effective area corresponding under two display states, wherein, the picture of display under the first display state Width is parallel to the width of described display screen, the picture of display under the second display state Width is parallel to the short transverse of described display screen;
The mode calculating the first effective area and the second effective area is as follows:
(1) existTime, described first effective area is:Described second effective area For:Wherein, W1Represent the first width, H1Represent described first height, W2Represent second Width, H2Represent described second height.
In the present embodiment, the first height of picture the most to be shown and the ratio of the first width are less than display screen Second height of curtain and the ratio of the second width, now, under the first display state, picture to be shown Display width is equal to the second width equal to the width of display screen, the display width of picture the most to be shown, treats Between the display height of display picture is equal to product and the first width between the second width and the first height Ratio, therefore, the first effective area that picture to be shown is corresponding isIn like manner, in the second display Under state, the second effective area that picture to be shown is corresponding is
(2) existTime, described first effective area is:Described second effective area For:Wherein, W1Represent the first width, H1Represent described first height, W2Represent second Width, H2Represent described second height.
In the present embodiment, the first height of picture the most to be shown is more than or equal to the ratio of the first width Second height of display screen and the ratio of the second width, now, under the first display state, to be shown The display height of picture is equal to the height of display screen, and the display of picture the most to be shown is highly high equal to second Degree, the display width of picture to be shown is equal to the product between the first width and the second height and the first height Between ratio, therefore, the first effective area that picture to be shown is corresponding isIn like manner, Under two display states, the second effective area that picture to be shown is corresponding is
It should be noted that, at the ratio of height and the width of picture to be shown equal to the height of display screen During with the ratio of width, it is also possible to determine the first effective area and the second effective area according to mode (1).
Unit 22 is set, in the effective area determined, determines corresponding the showing of bigger effective area Show state, and the display state determined is set to the display state of described picture to be shown.
Such as, if in the first effective area determined and the second effective area, the first effective area is more than Second effective area, then be set to picture to be shown by the first corresponding for the first effective area display state Display state.
The image display apparatus that the present embodiment provides, it is possible to according to picture to be shown and the width of display screen The display state of picture is more efficiently automatically determined with elevation information.
Further, first embodiment based on above-mentioned image display apparatus, the present invention also proposes picture and shows 5th embodiment of showing device, in the present embodiment, described first size information includes the first width and One height, described second dimension information includes the second width and the second height, determines that module 20 can also have Have for:
When described first width is less than the second height less than described first height and described second width, or First width described in person more than second height and described second width more than second height time, determine described in treat The display state that display picture is corresponding is the first display state;
When described first width is more than the second height less than described first height and described second width, or First width described in person more than second height and described second width less than second height time, determine described in treat The display state that display picture is corresponding is the second display state;
At described first width equal to the first height, or when described second width is equal to the second height, really The display state that fixed described picture to be shown is corresponding is the first display state or the second display state.
The image display apparatus that the present embodiment provides, it is possible to according to picture to be shown and the width of display screen The display state of picture is more efficiently automatically determined with elevation information.
Further, the first to the 5th any embodiment based on image display apparatus of the present invention, the present invention Also proposed the sixth embodiment of image display apparatus, be image display apparatus of the present invention with reference to Fig. 6, Fig. 6 The high-level schematic functional block diagram of sixth embodiment, described image display apparatus also includes:
Preserve module 40, for preserving associating between described picture to be shown and the display state determined System;
Judge module 50, for when detecting picture idsplay order, it may be judged whether preserve and described figure The display state of the picture to be shown association that sheet idsplay order is corresponding;
Described acquisition module 10 is additionally operable to when there is not the display state associated with described picture to be shown, Obtain the first size information of picture to be shown and the second dimension information of the display screen of terminal;
Described display module 30 is additionally operable to when there is the display state associated with described picture to be shown, root On the display screen of terminal, described figure to be shown is shown according to the display state associated with described picture to be shown Sheet.
Described display module 30 is additionally operable to detecting picture idsplay order based on described picture to be shown Time, the display state according to associating with described picture to be shown shows described picture to be shown.
In the present embodiment, after determining the display state that picture to be shown is corresponding, can preserve and treat Incidence relation between display picture and the display state determined, for example, it is possible to preserve picture mark to be shown Know the incidence relation between corresponding display state.Incidence relation can be one about picture to be shown with Incidence relation table between display state, or mark based on picture to be shown, for example, it is possible to treat A flag bit set up by display picture, and this flag bit can be divided into two kinds, and one is and the first display state pair The first flag bit answered, another kind is second flag bit corresponding with the second display state, treats determining After the display state that display picture is corresponding, then preserve corresponding flag bit based on this picture to be shown.From And when again showing this picture, the most first judge whether the to be shown figure corresponding with picture idsplay order The display state of sheet association, in the presence of, then determine that this picture is corresponding according to the incidence relation that pre-saves Display state, then further according to the display state display picture determined, from without in every time display During picture, the dimension information of the screen being required to the dimension information according to picture to be shown and terminal determines aobvious Show state, further increase efficiency.
It should be noted that in this article, term " include ", " comprising " or its any other variant Be intended to comprising of nonexcludability so that include the process of a series of key element, method, article or Person's device not only includes those key elements, but also includes other key elements being not expressly set out, or also Including the key element intrinsic for this process, method, article or device.In the feelings not having more restriction Under condition, statement " including ... " key element limited, it is not excluded that include this key element process, Method, article or device there is also other identical element.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art is it can be understood that arrive above-mentioned Embodiment method can add the mode of required general hardware platform by software and realize, naturally it is also possible to logical Cross hardware, but a lot of in the case of the former is more preferably embodiment.Based on such understanding, the present invention's The part that prior art is contributed by technical scheme the most in other words can be with the form body of software product Revealing to come, this computer software product is stored in a storage medium (such as ROM/RAM, magnetic disc, light Dish) in, including some instructions with so that a station terminal equipment (can be mobile phone, computer, service Device, air-conditioner, or the network equipment etc.) perform the method described in each embodiment of the present invention.
These are only the preferred embodiments of the present invention, not thereby limit the scope of the claims of the present invention, every Utilize equivalent structure or equivalence flow process conversion that description of the invention and accompanying drawing content made, or directly or Connect and be used in other relevant technical fields, be the most in like manner included in the scope of patent protection of the present invention.

Claims (10)

1. an image display method, it is characterised in that described image display method comprises the following steps:
Obtain the first size information of picture to be shown and the second dimension information of the display screen of terminal;
The display shape of described picture to be shown is determined according to described first size information and the second dimension information State;
Described display state according to determining shows described picture to be shown on described display screen.
2. image display method as claimed in claim 1, it is characterised in that described first size information Being first the ratio of width to height, described second dimension information is second the ratio of width to height, described believes according to described first size Breath and the second dimension information determine that the step of the display state of described picture to be shown includes:
Judge whether described first the ratio of width to height less than 1 and second the ratio of width to height more than 1, or the most described first The ratio of width to height is more than 1 and described second the ratio of width to height is less than 1;
Described first the ratio of width to height less than 1 and second the ratio of width to height more than 1, or described first the ratio of width to height is more than 1 and second the ratio of width to height less than 1 time, determine that the display state of described picture to be shown is rotational display state;
Described on described display screen, show described picture to be shown according to the described display state determined Step includes:
When the display state of described picture to be shown is rotational display state, described picture to be shown is entered Row rotation processing, and show the picture to be shown after rotation processing.
3. image display method as claimed in claim 1, it is characterised in that described first size information Being first the ratio of width to height, described second dimension information is second the ratio of width to height, described believes according to described first size Breath and the second dimension information determine that the step of display state of described picture to be shown includes: according to described the One the ratio of width to height determines the display state that described picture to be shown is corresponding with second the ratio of width to height;
When described first the ratio of width to height is less than 1 and described second the ratio of width to height is less than 1, or described first is wide High than more than 1 and described second the ratio of width to height more than 1 time, determine the display shape that described picture to be shown is corresponding State is the first display state, and wherein, under the first display state, the width of the picture of display is parallel to The width of described display screen;
When described first the ratio of width to height is less than 1 and described second the ratio of width to height is more than 1, or described first is wide High than more than 1 and described second the ratio of width to height less than 1 time, determine the display shape that described picture to be shown is corresponding State is the second display state, and wherein, under the second display state, the width of the picture of display is parallel to The short transverse of described display screen;
When described first the ratio of width to height is equal to 1 equal to 1 or described second the ratio of width to height, determine described to be shown The display state that picture is corresponding is the first display state or the second display state.
4. image display method as claimed in claim 1, it is characterised in that described first size information Including the first width and the first height, described second dimension information includes the second width and the second height, institute State the display state determining described picture to be shown according to described first size information and the second dimension information Step includes:
According to described first width, first height, the second width and second determine the most respectively described in wait to show The first effective area that diagram sheet is corresponding under the first display state and under the second display state corresponding the Two effective areas, wherein, under the first display state, the width of the picture of display is parallel to described aobvious The width of display screen curtain, under the second display state, the width of the picture of display is parallel to described aobvious The short transverse of display screen curtain;
In the effective area determined, determine the display state that bigger effective area is corresponding, and will determine Display state be set to the display state of described picture to be shown.
5. the image display method as described in any one of Claims 1-4, it is characterised in that described Show the step of described picture to be shown on described display screen according to the described display state determined after, Described image display method also includes:
Preserve the incidence relation between described picture to be shown and the display state determined;
Described image display method also includes:
When detecting picture idsplay order, it may be judged whether preserve corresponding with described picture idsplay order The display state of picture to be shown association;
When there is not the display state associated with described picture to be shown, perform described acquisition figure to be shown The step of the second dimension information of the first size information of sheet and the display screen of terminal;
When there is the display state associated with described picture to be shown, close according to described picture to be shown The display state of connection shows described picture to be shown on the display screen of terminal.
6. an image display apparatus, it is characterised in that described image display apparatus includes:
Acquisition module, for obtaining the of the display screen of the first size information of picture to be shown and terminal Two dimension informations;
Determine module, for determining described to be shown according to described first size information and the second dimension information The display state of picture;
Display module, treats described in showing on described display screen according to the described display state determined Display picture.
7. image display apparatus as claimed in claim 6, it is characterised in that described first size information Being first the ratio of width to height, described second dimension information is second the ratio of width to height, described determines that module includes:
Judging unit, be used for judging whether described first the ratio of width to height less than 1 and second the ratio of width to height more than 1, or The most described first the ratio of width to height of person is more than 1 and described second the ratio of width to height is less than 1;
First determines unit, for described first the ratio of width to height less than 1 and second the ratio of width to height more than 1, or Described first the ratio of width to height more than 1 and second the ratio of width to height less than 1 time, determine the display of described picture to be shown State is rotational display state;
Described display module is additionally operable to when the display state of described picture to be shown is rotational display state, Described picture to be shown is carried out rotation processing, and shows the picture to be shown after rotation processing.
8. image display apparatus as claimed in claim 6, it is characterised in that described first size information Being first the ratio of width to height, described second dimension information is second the ratio of width to height, described determines that module is additionally operable to basis Described first the ratio of width to height determines the display state that described picture to be shown is corresponding with second the ratio of width to height;
When described first the ratio of width to height is less than 1 and described second the ratio of width to height is less than 1, or described first is wide High than more than 1 and described second the ratio of width to height more than 1 time, determine the display shape that described picture to be shown is corresponding State is the first display state, and wherein, under the first display state, the width of the picture of display is parallel to The width of described display screen;
When described first the ratio of width to height is less than 1 and described second the ratio of width to height is more than 1, or described first is wide High than more than 1 and described second the ratio of width to height less than 1 time, determine the display shape that described picture to be shown is corresponding State is the second display state, and wherein, under the second display state, the width of the picture of display is parallel to The short transverse of described display screen;
When described first the ratio of width to height is equal to 1 equal to 1 or described second the ratio of width to height, determine described to be shown The display state that picture is corresponding is the first display state or the second display state.
9. image display apparatus as claimed in claim 6, it is characterised in that described first size information Including the first width and the first height, described second dimension information includes the second width and the second height, institute State and determine that module includes:
Second determines unit, for high according to described first width, the first height, the second width and second Degree determines the first effective area of described picture to be shown correspondence under the first display state and respectively second The second effective area corresponding under display state, wherein, the width of the picture of display under the first display state Degree is oriented parallel to the width of described display screen, the width of the picture of display under the second display state Degree is oriented parallel to the short transverse of described display screen;
Unit is set, in the effective area determined, determines the display that bigger effective area is corresponding State, and the display state determined is set to the display state of described picture to be shown.
10. the image display apparatus as described in any one of claim 6 to 9, it is characterised in that described Image display apparatus also includes:
Preserve module, for preserving the incidence relation between described picture to be shown and the display state determined;
Judge module, for when detecting picture idsplay order, it may be judged whether preserve and described picture The display state of the picture to be shown association that idsplay order is corresponding;
Described acquisition module is additionally operable to, when there is not the display state associated with described picture to be shown, obtain Take the first size information of picture to be shown and the second dimension information of the display screen of terminal;
Described display module is additionally operable to when there is the display state associated with described picture to be shown, according to The display state associated with described picture to be shown shows described figure to be shown on the display screen of terminal Sheet.
CN201510374512.9A 2015-06-30 2015-06-30 A picture display method and device Withdrawn CN106326281A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201510374512.9A CN106326281A (en) 2015-06-30 2015-06-30 A picture display method and device
PCT/CN2016/080382 WO2017000647A1 (en) 2015-06-30 2016-04-27 Image display method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510374512.9A CN106326281A (en) 2015-06-30 2015-06-30 A picture display method and device

Publications (1)

Publication Number Publication Date
CN106326281A true CN106326281A (en) 2017-01-11

Family

ID=57607576

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510374512.9A Withdrawn CN106326281A (en) 2015-06-30 2015-06-30 A picture display method and device

Country Status (2)

Country Link
CN (1) CN106326281A (en)
WO (1) WO2017000647A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107509101A (en) * 2017-08-11 2017-12-22 环球智达科技(北京)有限公司 Image processing method
CN111327863A (en) * 2018-12-17 2020-06-23 中移(杭州)信息技术有限公司 Video call processing method and device
CN113721879A (en) * 2021-09-02 2021-11-30 北京城市网邻信息技术有限公司 Image processing method, device, equipment and computer readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101222570A (en) * 2008-01-25 2008-07-16 中兴通讯股份有限公司 Image browser using for mobile terminal and image regulation method
CN103105999A (en) * 2013-01-17 2013-05-15 广东欧珀移动通信有限公司 Video window adjustment method and mobile intelligent terminal
CN103116631A (en) * 2013-02-04 2013-05-22 浙江省通信产业服务有限公司 System of looking at batches of pictures quickly on handheld electronic equipment and method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103905643A (en) * 2014-03-26 2014-07-02 北京京东尚科信息技术有限公司 Method and system for mobile phone adaption of single background picture
CN105159640B (en) * 2015-08-28 2020-06-12 北京小米移动软件有限公司 Display interface rotating method and device and mobile terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101222570A (en) * 2008-01-25 2008-07-16 中兴通讯股份有限公司 Image browser using for mobile terminal and image regulation method
CN103105999A (en) * 2013-01-17 2013-05-15 广东欧珀移动通信有限公司 Video window adjustment method and mobile intelligent terminal
CN103116631A (en) * 2013-02-04 2013-05-22 浙江省通信产业服务有限公司 System of looking at batches of pictures quickly on handheld electronic equipment and method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107509101A (en) * 2017-08-11 2017-12-22 环球智达科技(北京)有限公司 Image processing method
CN111327863A (en) * 2018-12-17 2020-06-23 中移(杭州)信息技术有限公司 Video call processing method and device
CN113721879A (en) * 2021-09-02 2021-11-30 北京城市网邻信息技术有限公司 Image processing method, device, equipment and computer readable storage medium

Also Published As

Publication number Publication date
WO2017000647A1 (en) 2017-01-05

Similar Documents

Publication Publication Date Title
CN106952627B (en) A kind of mura phenomenon compensation method of display panel and display panel
CN109817152B (en) Screen brightness adjusting method and related product
CN104240679B (en) Method for adjusting display unit and electronic device
CN106875344B (en) A kind of light filling processing method and processing device of video image
CN102970331B (en) Picture provides system
CN104168384B (en) A kind of mobile terminal and healthalert control method thereof
CN104298484B (en) Multi-screen interaction method and device
CN109658427B (en) Image processing method and device
CN107665665A (en) A kind of guard method of OLED display screen, intelligent television and storage medium
CN108955852A (en) Lay particular stress on detection method and platform scale
US20160335240A1 (en) Suspended Input Method, Apparatus, and Computer Storage Medium
CN106326281A (en) A picture display method and device
CN108074237B (en) Image definition detection method and device, storage medium and electronic equipment
CN105071650B (en) Control method and device of power factor correction circuit and air conditioner
CN102402918B (en) Method for improving picture quality and liquid crystal display (LCD)
CN107180605A (en) A kind of method for eliminating display device Mura, elimination display device Mura devices and display device
CN103135743A (en) Adjustment method for display image of electronic equipment and electronic equipment
CN105243662B (en) Terminal position determining method and terminal equipment
CN104537021B (en) The method and browser client of browser background are set
CN106648510A (en) Display method and device for display resolution
CN103208269A (en) Method and device for adjusting screen luminance
CN104464633B (en) The bearing calibration of LED display unit and means for correcting
CN103618892A (en) Method for detecting television and television
US10192521B2 (en) Gamma adjustment method
CN105955754A (en) Method and device for displaying characters of user interface

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication

Application publication date: 20170111

WW01 Invention patent application withdrawn after publication