CN102024247A - Control method for realizing switching of old and new display interfaces - Google Patents

Control method for realizing switching of old and new display interfaces Download PDF

Info

Publication number
CN102024247A
CN102024247A CN 201010504820 CN201010504820A CN102024247A CN 102024247 A CN102024247 A CN 102024247A CN 201010504820 CN201010504820 CN 201010504820 CN 201010504820 A CN201010504820 A CN 201010504820A CN 102024247 A CN102024247 A CN 102024247A
Authority
CN
China
Prior art keywords
display interface
old
new
separation
control method
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN 201010504820
Other languages
Chinese (zh)
Other versions
CN102024247B (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.)
NINGBO SUNRUN ELECTRONIC INFORMATION TECHNOLOGY DEVELOPMENT Co Ltd
Ningbo Sunrun Elec and Info St and D Co Ltd
Original Assignee
NINGBO SUNRUN ELECTRONIC INFORMATION TECHNOLOGY DEVELOPMENT Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NINGBO SUNRUN ELECTRONIC INFORMATION TECHNOLOGY DEVELOPMENT Co Ltd filed Critical NINGBO SUNRUN ELECTRONIC INFORMATION TECHNOLOGY DEVELOPMENT Co Ltd
Priority to CN2010105048206A priority Critical patent/CN102024247B/en
Publication of CN102024247A publication Critical patent/CN102024247A/en
Application granted granted Critical
Publication of CN102024247B publication Critical patent/CN102024247B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a control method for realizing the switching of old and new display interfaces, which is suitable for middle-end and low-end hardware platforms. The control method comprises the following steps of: determining horizontal and vertical coordinates of a first demarcation point (F) through an equation set in the specification, wherein theta is more than or equal to 0 and less than or equal to Pi and is not equal to half of Pi, x is a positive value when theta is more than or equal to 0 and less than half of Pi, x is a negative value when theta is more than half of Pi and less than or equal to Pi, x is equal to 0 and y is equal to b when theta is equal to half of Pi, a is L1/2, b is one value of an interval (0, L2), and L1 and L2 are respectively the pixel numbers of an effective display area (ABCD) of a display screen in a width direction and a height direction; defining the horizontal and vertical coordinates of a second demarcation point (E) as (x, y'), wherein x is the horizontal coordinate of the first demarcation point (F), and the vertical coordinate y' of the second demarcation point (E) is one value of an interval (y, L2); displaying the new display interface in a first quadrangle (BAFE) and the old display interface in a second quadrangle (CDFE) by utilizing an image compression method; selecting a value for theta from 0 to pi, wherein each theta determines a display state, and the display states are sequentially displayed in the effective display area (ABCD) of the display screen to realize the three-dimensional switching of the old and new display interfaces.

Description

Be used to realize the control method of the old and new's display interface switching
Technical field
The present invention relates to display interface switching controls technical field, specifically is a kind of control method that is used to realize the switching of the old and new's display interface.
Background technology
The three-dimensional switching mode of rich and varied display interface has overcome the inflexible effect that the conventional two-dimensional switching mode is brought to the user, make the handoff procedure of display interface natural more, affinity is arranged, thereby reach gratifying visual effect, the three-dimensional switching mode of described display interface is meant, with the Three-Dimensional Dynamic variation pattern (such as interiorly turn over, turn up, distortion etc.) finish new display interface and replace old display interface.Yet, the three-dimensional switching mode of existing display interface is generally based on the control method that realizes that the old and new's display interface switches of being used to of complexity, like this, the three-dimensional switching mode of existing display interface is when bringing magnificent visual experience to the user, need hardware such as high speed processor and high capacity memory as its base layer support, such as smart mobile phone, personal computer etc., therefore the cost of equipment of three-dimensional switching mode that has display interface is higher, the application of the three-dimensional switching mode that higher cost has hindered display interface on the low and middle-end hardware platform that only has low hardware supported ability (processor of low arithmetic capability and than the storer of low capacity etc.), in order to make medium and low-end users also can have the outstanding experience of the three-dimensional switching mode of display interface, being used to of a kind of simple possible realizes that the control method that the old and new's display interface switches is absolutely necessary.In the prior art at present, yet there are no the control method that is used to realize the switching of the old and new's display interface that can be applicable to described low and middle-end hardware platform.
Summary of the invention
The technical problem to be solved in the present invention is that a kind of control method that is used to realize the switching of the old and new's display interface that can be applicable to the low and middle-end hardware platform is provided.
Technical scheme of the present invention is, the present invention is used to realize the control method that the old and new's display interface switches, and is X-axis with the effective viewing area bottom of display screen, cross following mid point and with the vertical line that intersects the top of effective viewing area be that Y-axis is set up rectangular coordinate system, in this rectangular coordinate system, by expression formula
Figure BSA00000300128500011
0≤θ≤π, Determine the horizontal ordinate of first separation, when
Figure BSA00000300128500013
The time, x be on the occasion of, when
Figure BSA00000300128500014
The time, x is a negative value, when
Figure BSA00000300128500015
The time, x gets 0, and y gets b, and wherein, a is
Figure BSA00000300128500016
B be interval (0, L 2) in a value, described L 1And L 2Be respectively the pixel count of Width of effective viewing area of display screen and the pixel count of short transverse; The horizontal ordinate that defines second separation for (x, y`), x is the horizontal ordinate of first separation, the ordinate y` of second separation be interval (y, L 2) in a value, be that line segment that end points is formed by connecting is new display interface and old display interface separatrix with first separation and second separation;
Utilize method for compressing image, new display interface is presented at by the upper extreme point on the right, effective viewing area of display screen and the lower extreme point on the right, and first in separation and these 4 first quadrilaterals that are formed by connecting of second separation, old display interface is presented at by the upper extreme point on the left side, effective viewing area of display screen and the lower extreme point on the left side, and in first separation and these 4 second quadrilaterals that are formed by connecting of second separation;
To the θ value, each θ all determines a show state in 0≤θ≤π, and each show state manifests in effective viewing area of display screen in regular turn realizes the three-dimensional switching of display interface.
θ is respectively 0,
Figure BSA00000300128500021
Figure BSA00000300128500023
π; B is 0.191L 2Y` is L 2-y.
Described method for compressing image is meant, according to determined first quadrilateral and second quadrilateral, be used for the quantity of pixel of display image with vertical direction in the horizontal direction and realize that new display interface expansion and old display interface compress by controlling old display interface and new display interface, promptly be used for showing that by increase the quantity of the pixel of new display interface is presented in first quadrilateral new display interface, be used for showing that the quantity of the pixel of old display interface is presented in second quadrilateral old display interface by minimizing.
After adopting said structure, the present invention compared with prior art, have the following advantages: because first quadrilateral and second quadrilateral are determined by θ, and the expression formula that is used to calculate is to obtain after the oval standard equation distortion, unitary variant is added simple expression formula makes the present invention be used to realize that the control method of the old and new's display interface switching is very low to the requirement of the arithmetic capability of processor, simultaneously simple control procedure has been simplified greatly and has been used for the programming operation that control method that the diplomatic copy invention is used to realize that the old and new's display interface switches is carried out, corresponding size of code significantly reduces, like this, the present invention is used to realize that the control method of the old and new's display interface switching is when reducing hardware requirement, improve code and carried out efficient and reliability, reduced energy consumption, so the present invention has the advantage that can be applicable to the low and middle-end hardware platform.
As improvement, described y` is L 2-y, like this, first quadrilateral and second quadrilateral are isosceles trapezoid, make the three-dimensional switching of the old and new's display interface more true to nature, more help the raising of performance of the present invention.
Description of drawings
Fig. 1 is the schematic diagram that the present invention is used to realize the control method that the old and new's display interface switches.
Fig. 2 is the emulation view that the present invention is used to realize the control method that the old and new's display interface switches.
Embodiment
The invention will be further described below in conjunction with accompanying drawing.
The present invention is used to realize the control method of the old and new's display interface switching, following AD with effective viewing area ABCD of display screen is an X-axis, cross following AD mid point and with vertical line that the top BC of effective viewing area ABCD intersects be that Y-axis is set up rectangular coordinate system, in this rectangular coordinate system, by expression formula
Figure BSA00000300128500031
0≤θ≤π,
Figure BSA00000300128500032
Determine the horizontal ordinate of the first separation F, when
Figure BSA00000300128500033
The time, x be on the occasion of, when
Figure BSA00000300128500034
The time, x is a negative value, when
Figure BSA00000300128500035
The time, x gets 0, and y gets b, and wherein, a is
Figure BSA00000300128500036
B be interval (0, L 2) in a value, described L 1And L 2Be respectively the pixel count of Width of effective viewing area ABCD of display screen and the pixel count of short transverse, be the pixel count of following AD and the pixel count of the right AB, and following AD equates with top BC, and the right AB equates that with left side CD effectively viewing area ABCD is a rectangle;
The horizontal ordinate that defines the second separation E for (x, y`), x is the horizontal ordinate of the first separation F, the ordinate y` of the second separation E be interval (y, L 2) in a value, be that line segment FE that end points is formed by connecting is new display interface and old display interface separatrix with the first separation F and the second separation E;
Utilize method for compressing image, new display interface is presented at by the upper extreme point B of the right AB of effective viewing area ABCD of display screen and the lower extreme point A of the right AB, and first among the first quadrilateral BAFE that is formed by connecting of separation F and these 4 of the second separation E, old display interface is presented at by the upper extreme point C of the left side CD of effective viewing area ABCD of display screen and the lower extreme point D of left side CD, and among the second quadrilateral CDFE that is formed by connecting of the first separation F and these 4 of the second separation E;
To the θ value, each θ all determines a show state in 0≤θ≤π, and each show state manifests in effective viewing area ABCD of display screen in regular turn realizes the three-dimensional switching of display interface.Specifically shown in Fig. 1 or 2.
In this example, θ is respectively 0,
Figure BSA00000300128500037
Figure BSA00000300128500038
Figure BSA00000300128500039
π, b are 0.191L 2, y` is L 2-y.
As can be seen from Figure 2, variation along with θ, the present invention is used to realize that the control method that the old and new's display interface switches can realize the effect that the old and new's display interface inwardly overturns and switches, in other words, if the old and new's display interface is respectively likened to the words of Yishanmen, old display interface is similar to an effect of inwardly opening of closing, and new display interface is similar to the outside effect of closing of the door of inwardly opening.
Except the viewing area of the first quadrilateral BAFE and the second quadrilateral CDFE, other viewing area BCE of effective viewing area ABCD of described display screen and ADF show on demand and get final product that such as being black or white etc. entirely, prior art can realize, does not add and gives unnecessary details.
Described method for compressing image is meant, according to the determined first quadrilateral BAFE and the second quadrilateral CDFE, be used for the quantity of pixel of display image with vertical direction in the horizontal direction and realize that new display interface expansion and old display interface compress by controlling old display interface and new display interface, promptly be used for showing that by increase the quantity of the pixel of new display interface is presented among the first quadrilateral BAFE new display interface, be used for showing that the quantity of the pixel of old display interface is presented among the second quadrilateral CDFE old display interface by minimizing.
In order more to clearly demonstrate described method for compressing image, line segment FE prolongation is obtained intersection point H, like this, intersection point H is divided into two sections of DH and HA with AD, the quantity of the pixel that DH determines is designated as α, the quantity of the pixel that HA determines is designated as β, and the quantity of the pixel of the Width of effective viewing area ABCD of display screen should be L from above as can be known 1, so, take the capture vegetarian refreshments with the complete image that is presented at effective viewing area ABCD of old display interface as first benchmark image of old display interface, with L 1Be divided into DH section, every provisional capital of first benchmark image of old display interface is divided into DH section, the pixel of getting left end in each section is continuous pixel as keeping pixel and being moved to the left to make to draw in, the rest of pixels point is cast out, by above-mentioned variation, first benchmark image of old display interface compresses left, and is same, take the capture vegetarian refreshments with the complete image that is presented at effective viewing area ABCD of new display interface as first benchmark image of new display interface, with L 1Be divided into HA section, every provisional capital of first benchmark image of new display interface is divided into HA section, the pixel of getting left end in each section is continuous pixel as keeping pixel and moving right to make to draw in, the rest of pixels point is cast out, by above-mentioned variation, first benchmark image of new display interface compresses to the right.Like this, old display interface and new display interface compression have in the horizontal direction just been finished, and visual effect is exactly new display interface expansion, and old display interface is compressed, the separatrix is a line segment FE place straight line, in fact, in processing procedure, the old and new's display interface all is to be that reference picture is compressed with first benchmark image separately.
And for the compression of vertical direction, obtain image second benchmark image as old display interface after compressing with first benchmark image of described old display interface left, after compressing, first benchmark image of described new display interface obtains second benchmark image of image to the right as new display interface, for old display interface, make the boost line PS parallel with CD, this PS and CE and DF respectively have an intersection point, be respectively Q and R, like this, QR has determined the quantity of the pixel that the second benchmark image vertical direction of old display interface should keep, QR determines that the quantity of pixel is designated as γ, and the quantity of the pixel of the short transverse of effective viewing area ABCD of display screen should be L from above as can be known 2, with L 2Be divided into QR section, each section is divided into two, promptly be positioned at one of the top and of below of the line of symmetry up and down of effective viewing area ABCD, the pixel of the upper end of fetch bit in each section of one of top moves to make to draw in as the reservation pixel and to the centre and is continuous pixel, the pixel of the lower end of fetch bit in each section of one of below moves to make to draw in as the reservation pixel and to the centre and is continuous pixel, the rest of pixels point is cast out, every row of second benchmark image of old display interface are all handled like this, by above-mentioned variation, second benchmark image of old display interface is to intermediate compression, it is the compression of second benchmark image realization vertical direction of old display interface, equally, make the boost line P`S` parallel with AB, this P`S` and BE and AF respectively have an intersection point, be respectively Q` and R`, like this, Q`R` has determined the quantity of the pixel that the second benchmark image vertical direction of new display interface should keep, Q`R` determines that the quantity of pixel is designated as δ, and the quantity of the pixel of the short transverse of effective viewing area ABCD of display screen should be L from above as can be known 1, with L 2Be divided into Q`R` section, each section is divided into two, promptly be positioned at one of the top and of below of the line of symmetry up and down of effective viewing area ABCD, the pixel of the upper end of fetch bit in each section of one of top moves to make to draw in as the reservation pixel and to the centre and is continuous pixel, the pixel of the lower end of fetch bit in each section of one of below moves to make to draw in as the reservation pixel and to the centre and is continuous pixel, the rest of pixels point is cast out, every row of second benchmark image of new display interface are all handled like this, by above-mentioned variation, second benchmark image of new display interface is to intermediate compression, and promptly second benchmark image of new display interface is realized the compression of vertical direction.
Compression by above-mentioned horizontal direction and vertical direction is handled, and just can be used for the quantity of pixel of display image with vertical direction in the horizontal direction and realizes that new display interface expansion and old display interface compress by controlling old display interface and new display interface.
For the technical scheme of knowing that explaination the present invention is contained; directivity described in the literary composition is described (following AD, top BC or the like); all being based on the direction that effective viewing area ABCD of display screen is placed in the accompanying drawing describes; therefore, all various variations of being done in the protection domain of independent claims of the present invention are all in protection scope of the present invention.

Claims (5)

1. control method that is used to realize that the old and new's display interface switches, it is characterized in that, bottom (AD) with effective viewing area (ABCD) of display screen is an X-axis, cross following (AD) mid point and with the crossing vertical line in the top (BC) of effective viewing area (ABCD) be that Y-axis is set up rectangular coordinate system, in this rectangular coordinate system, by expression formula
Figure FSA00000300128400011
0≤θ≤π,
Figure FSA00000300128400012
Determine the horizontal ordinate of first separation (F), when
Figure FSA00000300128400013
The time, x be on the occasion of, when
Figure FSA00000300128400014
The time, x is a negative value, when
Figure FSA00000300128400015
The time, x gets 0, and y gets b, and wherein, a is
Figure FSA00000300128400016
B be interval (0, L 2) in a value, described L 1And L 2Be respectively the pixel count of Width of effective viewing area (ABCD) of display screen and the pixel count of short transverse;
The horizontal ordinate that defines second separation (E) for (x, y`), x is the horizontal ordinate of first separation (F), the ordinate y` of second separation (E) be interval (y, L 2) in a value, be that the line segment (FE) that is formed by connecting of end points is new display interface and old display interface separatrix with first separation (F) and second separation (E);
Utilize method for compressing image, new display interface is presented at by the upper extreme point (B) on the right (AB) of effective viewing area (ABCD) of display screen and the lower extreme point (A) of the right (AB), and first in first quadrilateral (BAFE) that is formed by connecting of separation (F) and these 4 of second separations (E), old display interface is presented at by the upper extreme point (C) on the left side (CD) of effective viewing area (ABCD) of display screen and the lower extreme point (D) of the left side (CD), and in second quadrilateral (CDFE) that is formed by connecting of first separation (F) and these 4 of second separations (E);
To the θ value, each θ all determines a show state in 0≤θ≤π, and each show state manifests in effective viewing area of display screen (ABCD) in regular turn realizes the three-dimensional switching of display interface.
2. the control method that is used to realize the switching of the old and new's display interface according to claim 1 is characterized in that θ is respectively 0,
Figure FSA00000300128400017
Figure FSA00000300128400018
Figure FSA00000300128400019
π.
3. the control method that is used to realize the switching of the old and new's display interface according to claim 1 is characterized in that b is 0.191L 2
4. the control method that is used to realize the switching of the old and new's display interface according to claim 1 is characterized in that y` is L 2-y.
5. the control method that is used to realize the switching of the old and new's display interface according to claim 1, it is characterized in that, described method for compressing image is meant, according to determined first quadrilateral (BAFE) and second quadrilateral (CDFE), be used for the quantity of pixel of display image with vertical direction in the horizontal direction and realize that new display interface expansion and old display interface compress by controlling old display interface and new display interface, promptly be used for showing that by increase the quantity of the pixel of new display interface is presented in first quadrilateral (BAFE) new display interface, be used for showing that the quantity of the pixel of old display interface is presented in second quadrilateral (CDFE) old display interface by minimizing.
CN2010105048206A 2010-10-09 2010-10-09 Control method for realizing switching of old and new display interfaces Expired - Fee Related CN102024247B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010105048206A CN102024247B (en) 2010-10-09 2010-10-09 Control method for realizing switching of old and new display interfaces

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010105048206A CN102024247B (en) 2010-10-09 2010-10-09 Control method for realizing switching of old and new display interfaces

Publications (2)

Publication Number Publication Date
CN102024247A true CN102024247A (en) 2011-04-20
CN102024247B CN102024247B (en) 2012-07-18

Family

ID=43865515

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010105048206A Expired - Fee Related CN102024247B (en) 2010-10-09 2010-10-09 Control method for realizing switching of old and new display interfaces

Country Status (1)

Country Link
CN (1) CN102024247B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103365550A (en) * 2013-07-05 2013-10-23 贝壳网际(北京)安全技术有限公司 User information setting method and device and client device
CN104461244A (en) * 2014-12-12 2015-03-25 深圳市财富之舟科技有限公司 Method for changing interfaces of intelligent mobile phones
CN110688183A (en) * 2019-09-24 2020-01-14 Oppo广东移动通信有限公司 Interface switching method, interface switching device, storage medium and display equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1350748A (en) * 2000-01-10 2002-05-22 皇家菲利浦电子有限公司 Video sampling rate transition for obtcining three-dimension effect
CN1731333A (en) * 2004-08-07 2006-02-08 三星电子株式会社 Three-dimensional motion graphical user interface and the method and apparatus that this interface is provided
US20060132495A1 (en) * 2004-12-21 2006-06-22 Anderson Michael H 2D/3D line rendering using 3D rasterization algorithms
CN1959634A (en) * 2005-10-31 2007-05-09 三星电子株式会社 Three-dimensional motion graphic user interface and apparatus and method for providing three-dimensional motion graphic user interface

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1350748A (en) * 2000-01-10 2002-05-22 皇家菲利浦电子有限公司 Video sampling rate transition for obtcining three-dimension effect
CN1731333A (en) * 2004-08-07 2006-02-08 三星电子株式会社 Three-dimensional motion graphical user interface and the method and apparatus that this interface is provided
US20060132495A1 (en) * 2004-12-21 2006-06-22 Anderson Michael H 2D/3D line rendering using 3D rasterization algorithms
CN1959634A (en) * 2005-10-31 2007-05-09 三星电子株式会社 Three-dimensional motion graphic user interface and apparatus and method for providing three-dimensional motion graphic user interface

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103365550A (en) * 2013-07-05 2013-10-23 贝壳网际(北京)安全技术有限公司 User information setting method and device and client device
CN104461244A (en) * 2014-12-12 2015-03-25 深圳市财富之舟科技有限公司 Method for changing interfaces of intelligent mobile phones
CN110688183A (en) * 2019-09-24 2020-01-14 Oppo广东移动通信有限公司 Interface switching method, interface switching device, storage medium and display equipment
CN110688183B (en) * 2019-09-24 2023-04-21 Oppo广东移动通信有限公司 Interface switching method, interface switching device, storage medium and display device

Also Published As

Publication number Publication date
CN102024247B (en) 2012-07-18

Similar Documents

Publication Publication Date Title
CN101227680A (en) Mobile phone with dynamic switch interface and method of mobile phone interface dynamic switch
CN107507520B (en) The method that terminal, display screen and control display screen are shown
CN100511209C (en) Digital map display method
CN102484710B (en) System and method for pixel interpolating
US20130147848A1 (en) Electronic device
CN107409233A (en) Image processing apparatus and image processing method
CN105549934A (en) Display interface control method and system
CN107731099B (en) The method that terminal, display screen and control display screen are shown
CN102495706A (en) Method and device for switching interfaces by using mobile terminal
CN103105999A (en) Video window adjustment method and mobile intelligent terminal
CN104992686A (en) Display panel and driving method and driving device thereof
CN102024247B (en) Control method for realizing switching of old and new display interfaces
CN105320481A (en) Data display method and device and mobile terminal
CN103324419A (en) Method and electronic device for determining display area and switching display mode
CN107741871B (en) Terminal, display screen and method for controlling display of display screen
WO2021115279A1 (en) Image display method and electronic devices
TWI488487B (en) Method for adjusting video compression using gesture
CN105872702A (en) Method and device for displaying virtual keyboard
CN102202240A (en) Set-top box browser control focus skip method
CN104539837A (en) Method and device for recording variable speed playback video
CN103780864A (en) Video conversation interface display method and apparatus
CN107507519A (en) The method that terminal, display screen and control display screen are shown
CN103647923A (en) Image displaying method in video calling
CN106507007A (en) Mobile terminal and TV interaction control method and device
CN103096045A (en) Method for adjusting video image compression through gesture

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20120718

Termination date: 20131009