CN108717367A - A kind of adjustment shows the method and terminal of the page - Google Patents

A kind of adjustment shows the method and terminal of the page Download PDF

Info

Publication number
CN108717367A
CN108717367A CN201810333562.6A CN201810333562A CN108717367A CN 108717367 A CN108717367 A CN 108717367A CN 201810333562 A CN201810333562 A CN 201810333562A CN 108717367 A CN108717367 A CN 108717367A
Authority
CN
China
Prior art keywords
distance
user
region unit
eye locations
display screen
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.)
Pending
Application number
CN201810333562.6A
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.)
Shanghai Aiyouwei Software Development Co Ltd
Original Assignee
Shanghai Aiyouwei Software 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 Shanghai Aiyouwei Software Development Co Ltd filed Critical Shanghai Aiyouwei Software Development Co Ltd
Priority to CN201810333562.6A priority Critical patent/CN108717367A/en
Publication of CN108717367A publication Critical patent/CN108717367A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions
    • G06V40/161Detection; Localisation; Normalisation
    • G06V40/165Detection; Localisation; Normalisation using facial parts and geometric relationships
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions
    • G06V40/168Feature extraction; Face representation
    • G06V40/171Local features and components; Facial parts ; Occluding parts, e.g. glasses; Geometrical relationships

Abstract

This application involves intelligent terminal technical field, more particularly to a kind of adjustment shows that the method and terminal of the page, method include:Display screen is divided into the region unit of multiple impartial arrangements with forming region set of blocks K;For showing at least one pixel in each region unit;Capture user's eye locations;Calculate the distance Di of the region unit Ki in user's eye locations to region set of blocks K;User's eye locations are obtained to the preset reference distance Di ' of region unit Ki;Adjusting parameter γ i corresponding with region unit Ki is calculated based on distance Di and preset reference distance Di ';Based on adjusting parameter γ i, the pixel in adjustment region block Ki;Wherein, the display page is made of several pixels;I={ 1,2,3,,, n }, said program realizes the adjustment to the display page shown by entire display screen, the adjustment effect of the display page is improved, it can be to a greater extent so that the view effect of aobvious page holding user's custom, improves intelligence and the Humanization Level of Municipal of terminal.

Description

A kind of adjustment shows the method and terminal of the page
Technical field
This application involves methods and terminal that intelligent terminal technical field more particularly to a kind of adjustment show the page.
Background technology
The intelligent terminals such as mobile phone, tablet computer combine convenience, recreational, functional diversity in the spy of one due to it Point, a scarce part can not be obtained by increasingly becoming in people's daily life, still, with the continuous development of intelligent terminal technology, Requirement of the people to intelligent terminal is also higher and higher, people while enjoying the basic sexual function that the terminals such as mobile phone are brought, More stringent requirements are proposed for hommization and intelligence to terminals such as mobile phones.
In daily life, people check that various written historical materials, viewing regard usually using intelligent terminals such as mobile phone, tablet computers Frequently novel, is read, usually each user is due to its eyesight degree or the difference of personal habits, in the display screen of viewing intelligent terminal When, can all there are oneself custom viewing distance or conventional location posture, to reach cosily visual effect;Once the viewing of user Distance or position and attitude change, the display page of intelligent terminal can't according to the viewing distance or position and attitude of user oneself Dynamic adjustment shows the page, so that the display page, which reaches user, does not adjust visual effect before viewing distance or position and attitude;
The prior art in order to solve this technical problem, the technical solution adopted is that, become larger in the viewing distance of user When, amplification shows the page, becomes hour in the viewing distance of user, reduces and show the page;But user is in watching process, it is past Toward not simple anterior-posterior translation, inclined degree of the intelligent terminal relative to user can be changed, this results in user to watch The viewing distance of each point on the display page can change, and such as show that the viewing distance in a part of region of the page is opposite Becoming larger in the custom viewing distance of user, the viewing distance in another part region becomes smaller relative to the custom viewing distance of user, The technical solution directly zoomed in or out in the prior art according to distance to entirely showing the page can not be very well directed to not Same point is adjusted, and adjustment effect is poor.
Invention content
The purpose of the application is to provide a kind of method and terminal of the adjustment display page, can be according to the viewing distance of user Variation and adjust display the page on each region point display, with solve be merely able to direct integral macroscopic in the prior art Adjustment shows the page, and the technological deficiency of corresponding adjustment cannot be made according to the variation of different zones point.
According to some embodiments of the present application in a first aspect, embodiments herein provides a kind of adjustment display page Method, be applied to terminal, the method includes:
Display screen is divided into the region unit of multiple impartial arrangements with forming region set of blocks K;Wherein, K=K1, K2 ..., Kn };
Wherein, for showing at least one pixel in each region unit;
Capture user's eye locations;
Calculate the distance Di of the region unit Ki in user's eye locations to region set of blocks K;
User's eye locations are obtained to the preset reference distance Di ' of the region unit Ki;
Adjusting parameter γ corresponding with the region unit Ki is calculated based on the distance Di and preset reference distance Di ' i;
Based on the adjusting parameter γ i, the pixel in the region unit Ki is adjusted;
Wherein, the display page is made of several pixels;
I=1,2,3,,, n }.
Optionally, the method further includes:
Using the central point O of display screen plane right-angle coordinate is established as origin;
Wherein, X-axis is parallel to the transverse direction of display screen;Y-axis is parallel to the longitudinal direction of display screen;
The value range of Y axis coordinate isThe value range of X axis coordinate is
Wherein, the width of display screen is a, is highly b;Region unit Ki is located in the plane right-angle coordinate.
Optionally, the method packet of the distance Di for calculating the region unit Ki in user's eye locations to region set of blocks K It includes:
User's eye locations are calculated to the first distance L of the central point O of display screen;
The opposite deflection distance Pi of zoning block Ki;
Based on the first distance L and opposite deflection distance Pi, the area in user's eye locations to region set of blocks K is calculated The distance Di of domain block Ki;
Wherein, the opposite deflection distance of the identical region unit of ordinate is identical.
Optionally, the method for the first distance L of central point O of the calculating user's eye locations to display screen includes:
User's eye locations are obtained to the second distance M of the camera of terminal;
User's eye locations are obtained to the line of camera and the relative angle α of Y-axis;
Based on the second distance M and the relative angle α, user's eye locations are calculated apart from plane where display screen Most short vertical range N;Wherein, N=M × sin α;
User's eye locations are calculated to the first distance L of the central point O of display screen based on the first predetermined formula;
Wherein, the first predetermined formula is:
Optionally, the method for the opposite deflection distance Pi of the zoning block Ki includes:
Determine the midpoint Ci of region unit Ki;
Obtain ordinate yis of the midpoint Ci in the plane right-angle coordinate established as origin using the central point O of display screen;
According to the opposite deflection distance Pi of the second predetermined formula zoning block Ki
Wherein, second predetermined formula is:
Wherein, the opposite deflection distance of the identical region unit of ordinate is identical.
Optionally, the first distance L of the central point O based on user's eye locations to display screen and opposite deflection distance Pi, the method for calculating the distance Di of the region unit Ki in user's eye locations to region set of blocks K include:
The distance Di of the region unit Ki in user's eye locations to region set of blocks K is calculated based on third predetermined formula;
Wherein, the third predetermined formula is:
Optionally, the method further includes:User's eye locations are pre-configured to the preset reference distance of the region unit Ki Di';
The method for being pre-configured preset reference distance Di ' of user's eye locations to the region unit Ki includes:
Obtain configuration-direct;
Based on the configuration-direct, prompts user to watch display screen and adjust viewing pose;
After the completion of watching pose adjustment, the basic parameter under the viewing position and posture is calculated;
The basic parameter includes:
User's eye locations to the camera of terminal the second reference distance M ';
User's eye locations are to the line of camera and the benchmark relative angle α ' of Y-axis;
Reference ordinate yis ' of the midpoint Ci of the region unit Ki in plane right-angle coordinate;
User's eye locations to the central point O of display screen the first reference distance L ',
The benchmark of the region unit Ki is with respect to deflection distance Pi ';
Wherein, the benchmark of the identical region unit of ordinate is identical with respect to deflection distance;
User's eye locations are calculated to the default base of the region unit Ki based on the basic parameter and the 4th predetermined formula Quasi- distance Di ';
Wherein, the 4th predetermined formula is:
Optionally, described corresponding with the region unit Ki based on the distance Di and preset reference distance Di ' calculating The method of adjusting parameter γ i include:
Adjusting parameter γ i corresponding with the region unit Ki is calculated based on the 5th predetermined formula;
Wherein, the 5th predetermined formula is:
Optionally, the adjusting parameter γ i are based on, the method for adjusting the pixel in the region unit Ki includes:
The area of each pixel in the region unit Ki is multiplied by adjustment ginseng corresponding with the region unit Ki respectively Number γ i, with adjust on display screen the display page.
According to the another aspect of the application, embodiments herein additionally provides a kind of terminal, including:Memory, by with It is set to storage data and instruction;
The processor communicated is established with memory, wherein when executing the instruction in memory, the processor is configured To execute following operation:
Display screen is divided into the region unit of multiple impartial arrangements with forming region set of blocks K;Wherein, X=X1, X2 ..., Xn };
Wherein, for showing at least one pixel in each region unit;
Capture the eye locations of user;
Calculate the distance Di of the region unit Ki in user's eye locations to region set of blocks K;
User's eye locations are obtained to the preset reference distance Di ' of the region unit Ki;
Adjusting parameter γ corresponding with the region unit Ki is calculated based on the distance Di and preset reference distance Di ' i;
Based on the adjusting parameter γ i, the pixel in the region unit Ki is adjusted;
Wherein, the display page is made of several pixels;
I=1,2,3,,, n }.
Display screen by being divided into the region unit of multiple impartial arrangements with forming region by the above-mentioned technical proposal of the application Set of blocks K;And calculate the distance Di of the region unit Ki in user's eye locations to region set of blocks K;User's eye position is obtained again It sets to the preset reference distance Di ' of the region unit Ki;And then it is calculated based on the distance Di and preset reference distance Di ' Adjusting parameter γ i corresponding with the region unit Ki;The adjusting parameter γ i are finally based on, are adjusted in the region unit Ki This technical solution of pixel realizes the technical purpose that corresponding different adjustment are made according to the variation of different zones block, And then realize to the adjustment of the display page shown by entire display screen, improve the adjustment effect of the display page so that terminal The display page can show the page according to the variation adjust automatically of the viewing distance of user or position and attitude, in the viewing of user After distance or position and attitude send variation, the aobvious page can be made to keep the view effect of user's custom to a greater extent, improved The intelligence of terminal and Humanization Level of Municipal.
Description of the drawings
To more fully understand and illustrating some embodiments of the present application, below with reference to the description of attached drawing reference implementation example, In the drawings, same digital number indicates corresponding part in the accompanying drawings.
Fig. 1 is the schematic flow chart for the method that the page is shown according to the adjustment that some embodiments of the present application provide;
Fig. 2 is the region unit calculated in user's eye locations to region set of blocks K that some embodiments of the present application provide The schematic flow chart of the method for the distance Di of Ki;
Fig. 3 be some embodiments of the present application provide calculate user's eye locations to display screen central point O first The schematic flow chart of the method for distance L;
Fig. 4 is the signal of the method for the opposite deflection distance Pi for the zoning block Ki that some embodiments of the present application provide Property flow chart;
Fig. 5 is the signal of the method for the opposite deflection distance Pi for the zoning block Ki that some embodiments of the present application provide Property flow chart;
Fig. 6 be some embodiments of the present application provide be pre-configured user's eye locations to the region unit Ki default base Principle schematic when quasi- distance Di ';
Fig. 7 be some embodiments of the present application provide calculate user's eye locations to the region unit Ki preset reference Principle schematic when distance Di;
Fig. 8 be some embodiments of the present application provide plane rectangular coordinates is established as origin using the central point O of display screen Schematic diagram after system.
Specific implementation mode
To keep the purpose, technical scheme and advantage of the application of greater clarity, With reference to embodiment and join According to attached drawing, the application is further described.It should be understood that these descriptions are merely illustrative, and it is not intended to limit this Shen Range please.In addition, in the following description, descriptions of well-known structures and technologies are omitted, to avoid this is unnecessarily obscured The concept of application.
The term and phrase used in following description and claims is not limited to literal meaning, and being merely can Understand and consistently understands the application.Therefore, for those skilled in the art, it will be understood that provide to the various implementations of the application The description of example is only the purpose to illustrate, rather than limits appended claims and its application of Equivalent definitions.
Below in conjunction with the attached drawing in the application some embodiments, technical solutions in the embodiments of the present application carries out clear Chu is fully described by, it is clear that described embodiments are only a part of embodiments of the present application, instead of all the embodiments. Based on the embodiment in the application, obtained by those of ordinary skill in the art without making creative efforts all Other embodiment shall fall in the protection scope of this application.
It should be noted that the term used in the embodiment of the present application is the mesh only merely for description specific embodiment , it is not intended to be limiting the application." one " of the embodiment of the present application and singulative used in the attached claims, "one", "an", " described " and "the" be also intended to including most forms, unless context clearly shows that other meanings.Also It should be appreciated that term "and/or" used herein refers to and includes that one or more list items purposes mutually bound are any Or all possible combinations.Expression " first ", " second ", " first " and " second " be for modify respective element without Consideration sequence or importance are used only for distinguishing a kind of element and another element, without limiting respective element.Under in addition, Involved technical characteristic as long as they do not conflict with each other can phase in the application different embodiments described in face Mutually combine.
In order to which the clearer each attached drawing of description gives same step different labels in various figures.
Terminal according to the application some embodiments can be electronic equipment, the electronic equipment may include smart mobile phone, PC (PC, such as tablet computer, desktop computer, notebook, net book, palm PC PDA), mobile phone, e-book Reader, portable media player (PMP), audio/video player (MP3/MP4), video camera, virtual reality device (VR) and the combination of one or more of wearable device etc..According to some embodiments of the present application, the wearable device May include type of attachment (such as wrist-watch, ring, bracelet, glasses or wear-type device (HMD)), integrated type (such as electronics Clothes), decorated type (such as pad skin, tatoo or built in electronic device) etc. or several combinations.In some realities of the application It applies in example, the electronic equipment can be flexible, be not limited to above equipment, or can be one kind in above-mentioned various equipment Or several combination.In this application, term " user " can be indicated using the people of electronic equipment or setting using electronic equipment Standby (such as artificial intelligence electronic equipment).
It is described in detail below in conjunction with attached drawing:
Fig. 1 (i.e. shown in attached drawing 100) is please referred to, Fig. 1 is a kind of information provided according to some embodiments of the present application The schematic flow chart of collecting method;
As shown in Figure 1, embodiments herein provides a kind of method that adjustment shows the page, it is applied to terminal, it is described Method includes:
Step S101:Display screen is divided into the region unit of multiple impartial arrangements with forming region set of blocks K;Wherein, K= { K1, K2 ..., Kn };
Wherein, for showing at least one pixel in each region unit;
Step S102:Capture user's eye locations;
Step S103:Calculate the distance Di of the region unit Ki in user's eye locations to region set of blocks K;
Step S104:User's eye locations are obtained to the preset reference distance Di ' of the region unit Ki;
Step S105:It is calculated based on the distance Di and preset reference distance Di ' corresponding with the region unit Ki Adjusting parameter γ i;
Step S106:Based on the adjusting parameter γ i, the pixel in the region unit Ki is adjusted;
Wherein, the display page is made of several pixels;
I=1,2,3,,, n }.
Above-mentioned technical proposal realizes the technology mesh that corresponding different adjustment are made according to the variation of different zones block , and then realize to the adjustment of the display page shown by entire display screen, improve the adjustment effect of the display page so that eventually The display page at end can show the page according to the viewing distance of user or the variation adjust automatically of position and attitude, in the sight of user After seeing that distance or position and attitude send variation, the aobvious page can be made to keep the view effect of user's custom to a greater extent, carried The intelligence of high terminal and Humanization Level of Municipal.
Fig. 8 is please referred to, Fig. 8 is that being established using the central point O of display screen as origin for some embodiments of the present application offer is flat Schematic diagram after the rectangular coordinate system of face;
As a kind of optionally embodiment, as shown in figure 8, the method further includes:
Using the central point O of display screen plane right-angle coordinate is established as origin;
Wherein, X-axis is parallel to the transverse direction of display screen;Y-axis is parallel to the longitudinal direction of display screen;
The value range of Y axis coordinate isThe value range of X axis coordinate is
Wherein, the width of display screen is a, is highly b;Set of blocks K and region unit Ki are located at the plane rectangular coordinates in region In system.
Fig. 2 (i.e. shown in attached drawing 200) is please referred to, is calculating user's eye locations that some embodiments of the present application provide To the schematic flow chart of the method for the distance Di of the region unit Ki in the set of blocks K of region;
As a kind of optionally embodiment, as shown in Fig. 2, in the calculating user eye locations to region set of blocks K The method of the distance Di of region unit Ki includes:
Step S201:User's eye locations are calculated to the first distance L of the central point O of display screen;
Step S202:The opposite deflection distance Pi of zoning block Ki;
Step S203:Based on the first distance L and opposite deflection distance Pi, user's eye locations are calculated to region unit collection Close the distance Di of the region unit Ki in K;
Wherein, the opposite deflection distance of the identical region unit of ordinate is identical.
Fig. 3 (i.e. shown in attached drawing 300) is please referred to, Fig. 3 is calculating user's eye that some embodiments of the present application provide Position to the method for the first distance L of the central point O of display screen schematic flow chart;
As a kind of optionally embodiment, as shown in figure 3, the user's eye locations that calculate are to the central point O of display screen The method of the first distance L include:
Step S301:User's eye locations are obtained to the second distance M of the camera of terminal;
Step S302:User's eye locations are obtained to the line of camera and the relative angle α of Y-axis;
Wherein, it should be noted that, the line of user's eye locations to camera and the relative angle α of Y-axis can be by pre- The current image estimation of image and user in the positive apparent direction of the user of shooting obtains, positive apparent direction refer to user's eye locations with The line of camera is vertical with Y-axis.
Step S303:Based on the second distance M and the relative angle α, user's eye locations are calculated apart from display screen The most short vertical range N of place plane;Wherein, N=M × sin α;
Step S304:User's eye locations are calculated to the first distance of the central point O of display screen based on the first predetermined formula L;
Wherein, the first predetermined formula is:
Fig. 4 (i.e. shown in attached drawing 400) is please referred to, Fig. 4 is the zoning block Ki that some embodiments of the present application provide Opposite deflection distance Pi method schematic flow chart;
As a kind of optionally embodiment, as shown in figure 4, the method for the opposite deflection distance Pi of the zoning block Ki Including:
Step S401:Determine the midpoint Ci of region unit Ki;
Step S402:Midpoint Ci is obtained in the plane right-angle coordinate established as origin using the central point O of display screen Ordinate yi;
Step S403:According to the opposite deflection distance Pi of the second predetermined formula zoning block Ki
Wherein, second predetermined formula is:
Wherein, the opposite deflection distance of the identical region unit of ordinate is identical.
As a kind of optionally embodiment, the first distance L of the central point O based on user's eye locations to display screen With opposite deflection distance Pi, the method for calculating the distance Di of the region unit Ki in user's eye locations to region set of blocks K includes:
The distance Di of the region unit Ki in user's eye locations to region set of blocks K is calculated based on third predetermined formula;
Wherein, the third predetermined formula is:
As a kind of optionally embodiment, the method further includes:User's eye locations are pre-configured to the region unit Ki Preset reference distance Di ';
Fig. 5 (i.e. shown in attached drawing 500) is please referred to, Fig. 5 is the zoning block Ki that some embodiments of the present application provide Opposite deflection distance Pi method schematic flow chart;
As a kind of optionally embodiment, as shown in figure 5, pre-configuration user's eye locations are to the region unit Ki's The method of preset reference distance Di ' includes:
Step S501:Obtain configuration-direct;
Step S502:Based on the configuration-direct, prompts user to watch display screen and adjust viewing pose;
Step S503:After the completion of watching pose adjustment, the basic parameter under the viewing position and posture is calculated;
The basic parameter includes:
User's eye locations to the camera of terminal the second reference distance M ';
User's eye locations are to the line of camera and the benchmark relative angle α ' of Y-axis;
Reference ordinate yis ' of the midpoint Ci of the region unit Ki in plane right-angle coordinate;
User's eye locations to the central point O of display screen the first reference distance L ',
The benchmark of the region unit Ki is with respect to deflection distance Pi ';
Wherein, the benchmark of the identical region unit of ordinate is identical with respect to deflection distance;
Step S504:User's eye locations are calculated to the region unit Ki based on the basic parameter and the 4th predetermined formula Preset reference distance Di ';
Wherein, the 4th predetermined formula is:
It is described based on the distance Di and preset reference distance Di ' calculating and institute as a kind of optionally embodiment The method for stating the corresponding adjusting parameter γ i of region unit Ki includes:
Adjusting parameter γ i corresponding with the region unit Ki is calculated based on the 5th predetermined formula;
Wherein, the 5th predetermined formula is:
It should be noted that when Di is more than Di ', adjusting parameter is more than 1, also illustrates region unit Ci far from user's eye position When setting, need the pixel in magnification region block Ci that user can be allowed to continue to think the visual experience before adjustment viewing distance Watch the display page on display screen;When Di is equal to Di ', that is, illustrate that user's eye does not change to the distance of region unit Ci, Adjusting parameter is 1;Similarly, when Di is less than Di ', need the pixel reduced in region unit Ci that user can be allowed to continue to think The display page on display screen is watched in visual experience before adjusting viewing distance.
As a kind of optionally embodiment, the adjusting parameter γ i are based on, the pixel in the region unit Ki is adjusted Method includes:
The area of each pixel in the region unit Ki is multiplied by adjustment ginseng corresponding with the region unit Ki respectively Number γ i, with adjust on display screen the display page.
In the following, schematic illustration will be carried out to embodiments herein and computational methods in conjunction with Fig. 6 and Fig. 7;
Fig. 6 be some embodiments of the present application provide be pre-configured user's eye locations to the region unit Ki default base Principle schematic when quasi- distance Di '
Fig. 7 be some embodiments of the present application provide calculate user's eye locations to the region unit Ki preset reference Principle schematic when distance Di;
In figure 6 and figure 7, as a kind of one of schematical example, A is user's eye locations, and BC is in display screen Line, as Y-axis are camera at B;O is the central point of display screen;Ci is the midpoint of region unit Ki,
As shown in fig. 6, after the completion of viewing pose adjustment, it can be according to the phase for estimating or calculating user's eye locations and BC To angle α, length i.e. the second reference distance M ' that can calculate AB is calculated by camera ranging;Pass through the prior art It can be obtained, details are not described herein;
AD ' and BD can be calculated according to trigonometric function ' length, due to BC length be a, then can calculate The length of OD ' and OA;Therefore it can calculateSince the length (i.e. ordinate) of OCi is fixed , it is possible to the length of OG ' is calculated, is projected since G ' is equivalent to Ci on AO, so the i.e. default base of the distance of A to Ci Quasi- distance Di ' can be substituted to obtain with AO plus the range estimation of OG ';
Wherein, AD ' is the shortest distance of user's eye locations and face where display screen, and AD ' the vertical AO of vertical BC, Ci hang down Foot is G ';
Because of slope (inclined degree) phase of the coordinate points in same horizontal line (line parallel with X-axis on display screen) Together, therefore, when dividing region unit, display screen can be marked off multiple stripe regions along Y direction, each stripe region Length is the length of X-axis, as b.
As shown in fig. 7, can similarly calculate the distance of the region unit Ki in user's eye locations to region set of blocks K Di。
In order to which above-mentioned technical proposal is better achieved, embodiments herein additionally provides a kind of terminal, including:Storage Device is configured as storage data and instruction;
The processor communicated is established with memory, wherein when executing the instruction in memory, the processor is configured To execute following operation:
Display screen is divided into the region unit of multiple impartial arrangements with forming region set of blocks K;Wherein, K=K1, K2 ..., Kn };
Wherein, for showing at least one pixel in each region unit;
Capture the eye locations of user;
Calculate the distance Di of the region unit Ki in user's eye locations to region set of blocks K;
User's eye locations are obtained to the preset reference distance Di ' of the region unit Ki;
Adjusting parameter γ corresponding with the region unit Ki is calculated based on the distance Di and preset reference distance Di ' i;
Based on the adjusting parameter γ i, the pixel in the region unit Ki is adjusted;
Wherein, the display page is made of several pixels;
I=1,2,3,,, n }.
Above-mentioned technical proposal realizes the technology mesh that corresponding different adjustment are made according to the variation of different zones block , and then realize to the adjustment of the display page shown by entire display screen, improve the adjustment effect of the display page so that eventually The display page at end can show the page according to the viewing distance of user or the variation adjust automatically of position and attitude, in the sight of user After seeing that distance or position and attitude send variation, the aobvious page can be made to keep the view effect of user's custom to a greater extent, carried The intelligence of high terminal and Humanization Level of Municipal.
Fig. 8 is please referred to, Fig. 8 is that being established using the central point O of display screen as origin for some embodiments of the present application offer is flat Schematic diagram after the rectangular coordinate system of face;
As one kind, optionally embodiment, the processor are additionally configured to execute following operation:
Using the central point O of display screen plane right-angle coordinate is established as origin;
Wherein, X-axis is parallel to the transverse direction of display screen;Y-axis is parallel to the longitudinal direction of display screen;
The value range of Y axis coordinate isThe value range of X axis coordinate is
Wherein, the width of display screen is a, is highly b;Set of blocks K and region unit Ki are located at the plane rectangular coordinates in region In system.
As a kind of optionally embodiment, region unit Ki in calculating user's eye locations to region set of blocks K away from When from Di, the processor is configured as executing following operation:
User's eye locations are calculated to the first distance L of the central point O of display screen;
The opposite deflection distance Pi of zoning block Ki;
Based on the first distance L and opposite deflection distance Pi, the area in user's eye locations to region set of blocks K is calculated The distance Di of domain block Ki;
Wherein, the opposite deflection distance of the identical region unit of ordinate is identical.
As a kind of optionally embodiment, first distance L of user's eye locations to the central point O of display screen is being calculated When, the processor is configured as executing following operation:
User's eye locations are obtained to the second distance M of the camera of terminal;
User's eye locations are obtained to the line of camera and the relative angle α of Y-axis;
Wherein, it should be noted that, the line of user's eye locations to camera and the relative angle α of Y-axis can be by pre- The current image estimation of image and user in the positive apparent direction of the user of shooting obtains, positive apparent direction refer to user's eye locations with The line of camera is vertical with Y-axis.
Based on the second distance M and the relative angle α, user's eye locations are calculated apart from plane where display screen Most short vertical range N;Wherein, N=M × sin α;
User's eye locations are calculated to the first distance L of the central point O of display screen based on the first predetermined formula;
Wherein, the first predetermined formula is:
As a kind of optionally embodiment, in zoning when the opposite deflection distance Pi of block Ki, the processor by with It is set to the following operation of execution:
Determine the midpoint Ci of region unit Ki;
Obtain ordinate yis of the midpoint Ci in the plane right-angle coordinate established as origin using the central point O of display screen;
According to the opposite deflection distance Pi of the second predetermined formula zoning block Ki
Wherein, second predetermined formula is:
Wherein, the opposite deflection distance of the identical region unit of ordinate is identical.
As a kind of optionally embodiment, the central point O based on user's eye locations to display screen the first distance L and Opposite deflection distance Pi, when calculating the distance Di of the region unit Ki in user's eye locations to region set of blocks K, the processor It is configured as executing following operation:
The distance Di of the region unit Ki in user's eye locations to region set of blocks K is calculated based on third predetermined formula;
Wherein, the third predetermined formula is:
As one kind, optionally embodiment, the processor are configured as executing following operation:
User's eye locations are pre-configured to the preset reference distance Di ' of the region unit Ki;
Be pre-configured user's eye locations to the region unit Ki preset reference distance Di ' when, the processor by with It is set to the following operation of execution:
Obtain configuration-direct;
Based on the configuration-direct, prompts user to watch display screen and adjust viewing pose;
After the completion of watching pose adjustment, the basic parameter under the viewing position and posture is calculated;
The basic parameter includes:
User's eye locations to the camera of terminal the second reference distance M ';
User's eye locations are to the line of camera and the benchmark relative angle α ' of Y-axis;
Reference ordinate yis ' of the midpoint Ci of the region unit Ki in plane right-angle coordinate;
User's eye locations to the central point O of display screen the first reference distance L ',
The benchmark of the region unit Ki is with respect to deflection distance Pi ';
Wherein, the benchmark of the identical region unit of ordinate is identical with respect to deflection distance;
User's eye locations are calculated to the default base of the region unit Ki based on the basic parameter and the 4th predetermined formula Quasi- distance Di ';
Wherein, the 4th predetermined formula is:
As a kind of optionally embodiment, based on the distance Di and preset reference distance Di ' calculate with it is described When the corresponding adjusting parameter γ i of region unit Ki, the processor is configured as executing following operation:
Adjusting parameter γ i corresponding with the region unit Ki is calculated based on the 5th predetermined formula;
Wherein, the 5th predetermined formula is:
It should be noted that when Di is more than Di ', adjusting parameter is more than 1, also illustrates region unit Ci far from user's eye position When setting, need the pixel in magnification region block Ci that user can be allowed to continue to think the visual experience before adjustment viewing distance Watch the display page on display screen;When Di is equal to Di ', that is, illustrate that user's eye does not change to the distance of region unit Ci, Adjusting parameter is 1;Similarly, when Di is less than Di ', need the pixel reduced in region unit Ci that user can be allowed to continue to think The display page on display screen is watched in visual experience before adjusting viewing distance.
As a kind of optionally embodiment, the adjusting parameter γ i are based on, the pixel in the region unit Ki is adjusted Method includes:
The area of each pixel in the region unit Ki is multiplied by adjustment ginseng corresponding with the region unit Ki respectively Number γ i, with adjust on display screen the display page.
In the following, schematic illustration will be carried out to embodiments herein and computational methods in conjunction with Fig. 6 and Fig. 7;
In figure 6 and figure 7, as a kind of one of schematical example, A is user's eye locations, and BC is in display screen Line, as Y-axis are camera at B;O is the central point of display screen;Ci is the midpoint of region unit Ki,
As shown in fig. 6, after the completion of viewing pose adjustment, it can be according to the phase for estimating or calculating user's eye locations and BC To angle α, length i.e. the second reference distance M ' that can calculate AB is calculated by camera ranging;Pass through the prior art It can be obtained, details are not described herein;
AD ' and BD can be calculated according to trigonometric function ' length, due to BC length be a, then can calculate The length of OD ' and OA;Therefore it can calculateSince the length (i.e. ordinate) of OCi is fixed , it is possible to the length of OG ' is calculated, is projected since G ' is equivalent to Ci on AO, so the i.e. default base of the distance of A to Ci Quasi- distance Di ' can be substituted to obtain with AO plus the range estimation of OG ';
Wherein, AD ' is the shortest distance of user's eye locations and face where display screen, and AD ' the vertical AO of vertical BC, Ci hang down Foot is G ';
Because of slope (inclined degree) phase of the coordinate points in same horizontal line (line parallel with X-axis on display screen) Together, therefore, when dividing region unit, display screen can be marked off multiple stripe regions along Y direction, each stripe region Length is the length of X-axis, as b.
As shown in fig. 7, can similarly calculate the distance of the region unit Ki in user's eye locations to region set of blocks K Di。
The application is intended to protect a kind of adjustment to show the method and terminal of the page, the above-mentioned technical proposal of the application pass through by Display screen is divided into the region unit of multiple impartial arrangements with forming region set of blocks K;And user's eye locations are calculated to region unit The distance Di of region unit Ki in set K;User's eye locations are obtained again to the preset reference distance Di ' of the region unit Ki; And then adjusting parameter γ i corresponding with the region unit Ki is calculated based on the distance Di and preset reference distance Di ';Most It is based on the adjusting parameter γ i afterwards, adjusts pixel this technical solution in the region unit Ki, realizes according to not same district The technical purpose of corresponding different adjustment is made in the variation of domain block, and then realizes to the display page shown by entire display screen Adjustment, improve display the page adjustment effect so that the viewing distance or position that the display page of terminal can be according to user The variation adjust automatically for setting posture shows the page, being capable of bigger journey after the viewing distance or position and attitude of user send variation So that the aobvious page keeps the view effect of user's custom on degree, intelligence and the Humanization Level of Municipal of terminal are improved.
It should be noted that the above embodiments are intended merely as example, the application is not limited to such example, but can To carry out various change.
It should be noted that in the present specification, the terms "include", "comprise" or its any other variant are intended to Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those Element, but also include other elements that are not explicitly listed, or further include for this process, method, article or equipment Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that There is also other identical elements in process, method, article or equipment including the element.
Finally, it is to be noted that, it is above-mentioned it is a series of processing include not only with sequence described here in temporal sequence The processing of execution, and include the processing executed parallel or respectively rather than in chronological order.
One of ordinary skill in the art will appreciate that realizing all or part of flow in above-described embodiment method, being can be with It is completed by the relevant hardware of computer program instructions, the program can be stored in a computer readable storage medium, The program is when being executed, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic disc, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM) Deng.
Above disclosed is only some preferred embodiments of the application, and the right model of the application cannot be limited with this It encloses, those skilled in the art can understand all or part of the processes for realizing the above embodiment, and is wanted according to the application right Equivalent variations made by asking, still belong to the scope covered by the invention.

Claims (10)

1. a kind of method that adjustment shows the page, which is characterized in that it is applied to terminal, the method includes:
Display screen is divided into the region unit of multiple impartial arrangements with forming region set of blocks K;Wherein, K=K1, K2 ..., Kn};
Wherein, for showing at least one pixel in each region unit;
Capture user's eye locations;
Calculate the distance Di of the region unit Ki in user's eye locations to region set of blocks K;
User's eye locations are obtained to the preset reference distance Di ' of the region unit Ki;
Adjusting parameter γ i corresponding with the region unit Ki is calculated based on the distance Di and preset reference distance Di ';
Based on the adjusting parameter γ i, the pixel in the region unit Ki is adjusted;
Wherein, the display page is made of several pixels;
I=1,2,3,,, n }.
2. according to the method described in claim 1, it is characterized in that, the method further includes:
Using the central point O of display screen plane right-angle coordinate is established as origin;
Wherein, X-axis is parallel to the transverse direction of display screen;Y-axis is parallel to the longitudinal direction of display screen;
The value range of Y axis coordinate isThe value range of X axis coordinate is
Wherein, the width of display screen is a, is highly b;Region unit Ki is located in the plane right-angle coordinate.
3. according to the method described in claim 2, it is characterized in that, in the calculating user eye locations to region set of blocks K The method of distance Di of region unit Ki include:
User's eye locations are calculated to the first distance L of the central point O of display screen;
The opposite deflection distance Pi of zoning block Ki;
Based on the first distance L and opposite deflection distance Pi, the region unit in user's eye locations to region set of blocks K is calculated The distance Di of Ki;
Wherein, the opposite deflection distance of the identical region unit of ordinate is identical.
4. according to the method described in claim 3, it is characterized in that, the user's eye locations that calculate are to the central point of display screen The method of the first distance L of O includes:
User's eye locations are obtained to the second distance M of the camera of terminal;
User's eye locations are obtained to the line of camera and the relative angle α of Y-axis;
Based on the second distance M and the relative angle α, user's eye locations are calculated apart from the most short of plane where display screen Vertical range N;Wherein, N=M × sin α;
User's eye locations are calculated to the first distance L of the central point O of display screen based on the first predetermined formula;
Wherein, the first predetermined formula is:
5. according to the method described in claim 4, it is characterized in that, the side of the opposite deflection distance Pi of the zoning block Ki Method includes:
Determine the midpoint Ci of region unit Ki;
Obtain ordinate yis of the midpoint Ci in the plane right-angle coordinate established as origin using the central point O of display screen;
According to the opposite deflection distance Pi of the second predetermined formula zoning block Ki
Wherein, second predetermined formula is:
Wherein, the opposite deflection distance of the identical region unit of ordinate is identical.
6. according to the method described in claim 5, it is characterized in that, the central point based on user's eye locations to display screen The first distance L of O and opposite deflection distance Pi, calculates the distance of the region unit Ki in user's eye locations to region set of blocks K The method of Di includes:
The distance Di of the region unit Ki in user's eye locations to region set of blocks K is calculated based on third predetermined formula;
Wherein, the third predetermined formula is:
7. according to the method described in claim 2, it is characterized in that, the method further includes:It is pre-configured user's eye locations extremely The preset reference distance Di ' of the region unit Ki;
The method for being pre-configured preset reference distance Di ' of user's eye locations to the region unit Ki includes:
Obtain configuration-direct;
Based on the configuration-direct, prompts user to watch display screen and adjust viewing pose;
After the completion of watching pose adjustment, the basic parameter under the viewing position and posture is calculated;
The basic parameter includes:
User's eye locations to the camera of terminal the second reference distance M ';
User's eye locations are to the line of camera and the benchmark relative angle α ' of Y-axis;
Reference ordinate yis ' of the midpoint Ci of the region unit Ki in plane right-angle coordinate;
User's eye locations to the central point O of display screen the first reference distance L ',
The benchmark of the region unit Ki is with respect to deflection distance Pi ';
Wherein, the benchmark of the identical region unit of ordinate is identical with respect to deflection distance;
Based on the basic parameter and the 4th predetermined formula calculate user's eye locations to the region unit Ki preset reference away from From Di ';
Wherein, the 4th predetermined formula is:
8. the method according to the description of claim 7 is characterized in that described be based on the distance Di and the preset reference distance The method that Di ' calculates adjusting parameter γ i corresponding with the region unit Ki includes:
Adjusting parameter γ i corresponding with the region unit Ki is calculated based on the 5th predetermined formula;
Wherein, the 5th predetermined formula is:
9. according to the method described in claim 8, it is characterized in that, based on the adjusting parameter γ i, the region unit Ki is adjusted The method of interior pixel includes:
The area of each pixel in the region unit Ki is multiplied by adjusting parameter γ corresponding with the region unit Ki respectively I, with adjust on display screen the display page.
10. a kind of terminal, which is characterized in that including:Memory is configured as storage data and instruction;
The processor communicated is established with memory, wherein when executing the instruction in memory, the processor is configured as holding The following operation of row:
Display screen is divided into the region unit of multiple impartial arrangements with forming region set of blocks K;Wherein, X=X1, X2 ..., Xn};
Wherein, for showing at least one pixel in each region unit;
Capture the eye locations of user;
Calculate the distance Di of the region unit Ki in user's eye locations to region set of blocks K;
User's eye locations are obtained to the preset reference distance Di ' of the region unit Ki;
Adjusting parameter γ i corresponding with the region unit Ki is calculated based on the distance Di and preset reference distance Di ';
Based on the adjusting parameter γ i, the pixel in the region unit Ki is adjusted;
Wherein, the display page is made of several pixels;
I=1,2,3,,, n }.
CN201810333562.6A 2018-04-13 2018-04-13 A kind of adjustment shows the method and terminal of the page Pending CN108717367A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810333562.6A CN108717367A (en) 2018-04-13 2018-04-13 A kind of adjustment shows the method and terminal of the page

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810333562.6A CN108717367A (en) 2018-04-13 2018-04-13 A kind of adjustment shows the method and terminal of the page

Publications (1)

Publication Number Publication Date
CN108717367A true CN108717367A (en) 2018-10-30

Family

ID=63899039

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810333562.6A Pending CN108717367A (en) 2018-04-13 2018-04-13 A kind of adjustment shows the method and terminal of the page

Country Status (1)

Country Link
CN (1) CN108717367A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109499061A (en) * 2018-11-19 2019-03-22 网易(杭州)网络有限公司 Method of adjustment, device, mobile terminal and the storage medium of scene of game picture
CN111580924A (en) * 2020-05-19 2020-08-25 北京字节跳动网络技术有限公司 Page display method and device, electronic equipment and readable storage medium
CN111857910A (en) * 2020-06-28 2020-10-30 维沃移动通信有限公司 Information display method and device and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101499253A (en) * 2008-01-28 2009-08-05 宏达国际电子股份有限公司 Output picture regulation method and apparatus
US8774508B2 (en) * 2012-02-27 2014-07-08 Denso It Laboratory, Inc. Local feature amount calculating device, method of calculating local feature amount, corresponding point searching apparatus, and method of searching corresponding point
CN104267816A (en) * 2014-09-28 2015-01-07 广州视睿电子科技有限公司 Method for adjusting content of display screen and display screen adjusting device
CN107506751A (en) * 2017-09-13 2017-12-22 重庆爱威视科技有限公司 Advertisement placement method based on the dynamic control of eye

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101499253A (en) * 2008-01-28 2009-08-05 宏达国际电子股份有限公司 Output picture regulation method and apparatus
US8774508B2 (en) * 2012-02-27 2014-07-08 Denso It Laboratory, Inc. Local feature amount calculating device, method of calculating local feature amount, corresponding point searching apparatus, and method of searching corresponding point
CN104267816A (en) * 2014-09-28 2015-01-07 广州视睿电子科技有限公司 Method for adjusting content of display screen and display screen adjusting device
CN107506751A (en) * 2017-09-13 2017-12-22 重庆爱威视科技有限公司 Advertisement placement method based on the dynamic control of eye

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109499061A (en) * 2018-11-19 2019-03-22 网易(杭州)网络有限公司 Method of adjustment, device, mobile terminal and the storage medium of scene of game picture
CN109499061B (en) * 2018-11-19 2022-08-09 网易(杭州)网络有限公司 Game scene picture adjusting method and device, mobile terminal and storage medium
CN111580924A (en) * 2020-05-19 2020-08-25 北京字节跳动网络技术有限公司 Page display method and device, electronic equipment and readable storage medium
CN111580924B (en) * 2020-05-19 2023-06-27 北京字节跳动网络技术有限公司 Page display method and device, electronic equipment and readable storage medium
CN111857910A (en) * 2020-06-28 2020-10-30 维沃移动通信有限公司 Information display method and device and electronic equipment

Similar Documents

Publication Publication Date Title
EP3531230B1 (en) Electronic device including flexible display and method for controlling same
CN109712224B (en) Virtual scene rendering method and device and intelligent device
JP5357238B2 (en) Mobile terminal and operation control method thereof
JP7230055B2 (en) Application program display adaptation method and device, terminal, storage medium, and computer program
CN110427110B (en) Live broadcast method and device and live broadcast server
CN108717367A (en) A kind of adjustment shows the method and terminal of the page
JP6166364B2 (en) Information input display device and information input display method
KR20150137828A (en) Method for processing data and an electronic device thereof
KR20170001186A (en) Electronic device and Method for providing a haptic feedback of the same
CN106095372B (en) A kind of display control method and electronic equipment
CN111147749A (en) Photographing method, photographing device, terminal and storage medium
US11845007B2 (en) Perspective rotation method and apparatus, device, and storage medium
CN106648344B (en) A kind of screen content method of adjustment and its equipment
JP2016522437A (en) Image display method, image display apparatus, terminal, program, and recording medium
CN108134903B (en) Shooting method and related product
CN104699380A (en) Information processing method and electronic equipment
CN106331879B (en) Barrage display method and device based on panoramic video
US20180204500A1 (en) Method and device for enhancing contrast
CN104635755A (en) Display adjustment method and device
KR102129797B1 (en) Mobile terminal and controlling method thereof
KR20110042635A (en) Mobile terminal and operation method thereof
CN110992268B (en) Background setting method, device, terminal and storage medium
CN102063260B (en) Method and device for displaying screen
CN112860014A (en) Electronic device, information display method, and readable storage medium
CN111860440A (en) Position adjusting method and device for human face characteristic point, terminal and storage medium

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
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20181030