Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, is not intended to limit the present invention.
Method provided by the invention is obtained distance and the angle of user and viewing area, and according to this sight angle with apart from the display format of adjusting information of mobile terminal, so display format that it can change information according to distance and the sight angle of user and portable terminal, make things convenient for the user to watch to reach, visual effect is better.
Embodiment one:
Present embodiment provides a kind of display packing of information of mobile terminal, the technology scene that present embodiment is realized is: present embodiment is finished by portable terminal, above-mentioned portable terminal also comprises location detecting apparatus, distance and Angle Method for detection of user and portable terminal, the method comprises as shown in Figure 1:
In step S11, obtain distance and the sight angle of user and portable terminal viewing area;
In step S12, according to described distance and sight angle, adjust the form that information in mobile terminal shows.
Optionally, said method can also comprise after S12:
In step S13, obtain the directional information of user and viewing area, adjust the display direction that the viewing area shows information according to this direction information; Described information is shown by the form after adjusting and direction.
Need to prove that the adjustment of above-mentioned information can be the adjustment of single literal, also can adjust for whole paragraph or whole picture that above-mentioned adjustment can be quoted in 2D shows, can certainly be applied in during 3D or 4D show.
Optionally, realize above-mentioned S12 concrete grammar can for following any:
Mode one, calculate described viewing area and user's maximum distance and minimum distance according to the physical dimension of described distance, described sight angle and described viewing area;
Calculate information demonstration ratio according to described maximum distance and described minimum distance;
Show that according to described information ratio obtains ratio formula Y=1+ (M-1) * x/A;
Wherein M is described demonstration ratio, and A represents total line number of information; X represents line number, and y represents the ratio between line number and the reference row;
Show after described information adjusted displaying ratio in described ratio formula.
Portable terminal in mode two, the manner also comprises ratio tabulation, concrete operations can for:
From described ratio tabulation, inquire described distance and ratio formula corresponding to sight angle according to described distance and described sight angle;
Show after described information adjusted displaying ratio in described ratio formula.
Mode three, portable terminal also comprise multiple tabulation, concrete operations can for:
The total line number that shows according to described distance, described sight angle, information and the physical dimension of viewing area calculate every row and user's distance and sight angle;
From the multiple tabulation, inquire display format corresponding to every row with user's distance and sight angle according to described every row, and every row of described information is shown by display format corresponding to every row.
The method that present embodiment provides is adjusted the demonstration size of information of mobile terminal according to the user who obtains and distance and the sight angle of portable terminal, so it can come according to the position of user and portable terminal the size of change information demonstration, so when having certain angle between user and the portable terminal, can make things convenient for the user to watch information at a distance, have the consistent advantage of visual effect.And the method is also calculated displaying ratio when showing, and is undistorted to guarantee demonstration information, further improved visual effect.The method can also be adjusted the direction that shows information according to the directional information of obtaining, and more convenient user's viewing information has further improved user's visual effect.
Embodiment two:
Present embodiment provides a kind of method for information display of portable terminal, and the technology scene that present embodiment is realized is: the method that present embodiment provides is finished by portable terminal, present embodiment if no special instructions, angle all refers to sight angle; This portable terminal also comprises: location detecting apparatus, for detection of distance and the angle of user and portable terminal, the method that present embodiment provides comprises the steps: as shown in Figure 2
In step S21, obtain distance and the angle of user and viewing area;
The method that realizes S21 is specifically as follows: adopt the means such as infrared, sound, voltage, light to obtain distance and the angle of user and viewing area, and the concrete grammar that adopts infrared, sound, voltage, light to obtain distance and angle belongs to prior art.Here suppose that the distance of obtaining is 0.5m, angle is 45 °, the present invention if no special instructions, the reference point of above-mentioned viewing area is the center of viewing area, the affirmation of said reference point is only calculated for convenient, in actual conditions, also can select any position of viewing area to obtain distance and the angle of user and viewing area as reference point, the position view of above-mentioned user and portable terminal is as shown in Figure 3.As seen in Figure 3, above-mentioned angle is the angle on user and the viewing area perpendicular.
In step S22, calculate viewing area and user's maximum distance and minimum distance according to the physical dimension of above-mentioned distance, angle and viewing area;
The method that realizes S22 is specially: suppose that here the viewing area is 0.1*0.1m, then maximum distance=sprt (0.552+ 0.52)=0.74m; Minimum distance=sprt (0.452+ 0.52)=0.67m.
In step S23, calculate information demonstration ratio according to above-mentioned maximum distance and minimum distance;
The method that realizes S23 is specifically as follows: calculate the ratio of maximum distance and minimum distance according to the principle of convex lens, concrete computing method are:
When object distance was 0.74m, the image distance that calculates was 1.54m (focal length of eyes is 0.5m), and when object distance was 0.67, calculating image distance was 2.00m (focal length of eyes is 0.5m); Above-mentioned ratio=(2*0.74)/(0.67*1.5)=1.47 then;
In step S24, calculate the ratio formula according to above-mentioned radiometer, and show after this information adjusted displaying ratio in this ratio formula.
Realize S24 method can for: obtaining the ratio formula according to above-mentioned ratio 1.47 is:
Y=1+ (M-1) * x/A; Formula 1
Wherein x represents line number, A represents total line number that information shows, y represents the ratio between this row and the reference row, M represents the demonstration ratio that calculates among the S23, in the present invention if no special instructions, reference row can be for the row nearest with user distance, and certainly in actual conditions, the user can set up reference row and total line number on their own according to actual conditions.
Calculate ratio value corresponding to every row according to formula 1, adjust the size of the information that every row shows according to the ratio value that calculates, the information after adjusting is shown.
The implementation method of the below's display mode of open-wire line variation with the example of a reality describes with literal and formula 1 here, and the size of supposing the reference row literal here is 5*2mm; Suppose line number position 10 row of this literal, total line number A that the user sets also is 10; The ratio that then every row is corresponding is respectively: 1.47,1.423,1.376,1.329,1.282,1.235,1.188,1.141,1.094,1.047,1; The literal size that every row is corresponding is respectively: 7.35*2.94,7.115*2.846,6.88*2.752,6.645*2.658,6.41*2.562,6.175*2.47,5.59*2.282,5.47*2.188,5.235*2.094,5*2; Then by the size of the literal of above-mentioned calculating to word-information display.
The method that present embodiment provides shows information according to distance and the sight angle of the user who obtains and portable terminal by the mode that linearity shows, because behind the resize ratio, it is large that information away from the user shows, so when having certain angle between user and the portable terminal, can make things convenient for the user to watch information at a distance, have the consistent advantage of visual effect.And the method is also calculated displaying ratio when showing, and is undistorted to guarantee demonstration information, further improved visual effect.
Embodiment three:
Present embodiment provides a kind of method for information display of portable terminal, and the technology scene that present embodiment is realized is: the method that present embodiment provides is finished by portable terminal, present embodiment if no special instructions, angle all refers to sight angle; This portable terminal also comprises: location detecting apparatus, and for detection of distance and the angle of user and portable terminal, portable terminal can also comprise: the ratio tabulation; The aforementioned proportion tabulation comprises the mapping relations of distance, angle and ratio formula; The method that present embodiment provides comprises the steps: as shown in Figure 4
In step S41, obtain distance and the angle of user and viewing area;
The above-mentioned mode of obtaining can referring to the associated description among the S21, repeat no more here.
In step S42, in the ratio tabulation, inquire this distance and ratio formula corresponding to angle according to above-mentioned distance and angle;
In step S43, will show behind according to the above ratio formula adjustment of the information displaying ratio.
The concrete mode of above-mentioned realization S43 can referring to the description among the embodiment two, repeat no more here.
The method for building up of aforementioned proportion tabulation can for, adopt as mode that embodiment two provides is carried out the calculating of distance, angle and ratio formula, in then will tabulating apart from the mapping relations ratio that is stored in of, angle and ratio formula.
The method that present embodiment provides inquires the ratio formula according to distance and the sight angle of the user who obtains and portable terminal from the ratio tabulation, and according to the displaying ratio of this ratio formula adjustment information, information after adjusting is shown, have when having certain angle between user and the portable terminal, make things convenient for the user to watch information at a distance, have the consistent advantage of visual effect.And the method is adjusted according to the ratio formula, has guaranteed when information is adjusted undistortedly, has further improved visual effect.
Embodiment four:
Present embodiment provides a kind of method for information display of portable terminal, and the technology scene that present embodiment is realized is: the method that present embodiment provides is finished by portable terminal, present embodiment if no special instructions, angle all refers to sight angle; This portable terminal also comprises: location detecting apparatus, and for detection of distance and the angle of user and portable terminal, portable terminal can also comprise: the multiple tabulation; Above-mentioned multiple tabulation comprises the mapping relations of distance, angle and demonstration size; Wherein, the distance that present embodiment obtains is, each row of information and user's distance and angle, and for example information is divided into 10 row, then obtains distance and the angle of obtaining respectively 10 row; The method that present embodiment provides comprises the steps: as shown in Figure 5
In step S51, obtain distance and the angle of user and viewing area;
The above-mentioned mode of obtaining can referring to the associated description among the S21, repeat no more here.
In step S52, the total line number that shows according to above-mentioned distance, angle, information and the physical dimension of viewing area calculate every row and user's distance and angle;
Realize S52 method can for, here with total line number 10, portable terminal viewing area 0.1m is that example illustrates, closes distance and the angle obtained such as the S51 south of a town to be: 0.5m and 45 °; Then every row and user's distance is: distance=sprt[(0.5+ (B-5))2+ 0.52]; Wherein B is line number, is calculating this apart from the angle of correspondence according to the distance of calculating.
In step S53, in the multiple tabulation, inquire display format corresponding to every row with user's distance and angle according to every row;
The form of above-mentioned demonstration is specifically as follows, the font size that literal shows, and such as No. four words, No. five words etc. can certainly be the displaying ratio in above-described embodiment.
In step S54, every row of information is pressed display format corresponding to every row show.
The method that present embodiment provides is according to user and the distance of portable terminal and distance and the angle that sight angle calculates every row and user obtained, from the multiple tabulation, inquiring display format corresponding to every row with user's distance and angle according to every row, and according to this display format information is shown, so that the information that shows can be according to the position Self-adjustment size at user place, so when between user and portable terminal, having certain angle, make things convenient for the user to watch information at a distance, have the consistent advantage of visual effect.
Embodiment five:
Present embodiment provides a kind of method for information display of portable terminal, and the technology scene that present embodiment is realized is: the method that present embodiment provides is finished by portable terminal, present embodiment if no special instructions, angle all refers to sight angle; This portable terminal also comprises: location detecting apparatus, for detection of distance and the angle of user and portable terminal, the method comprises the steps: as shown in Figure 6
In step S61, obtain distance and the angle of user and viewing area;
In step S62, according to the form of above-mentioned distance and angular setting viewing area demonstration information;
In step S63, obtain the directional information of user and viewing area, adjust the display direction that the viewing area shows information according to this direction information;
Need to prove that above-mentioned directional information can be the directional information of the relative viewing area of user integral body, the hour that is specifically as follows the relative viewing area of user counts, and can certainly be the angle of the relative viewing area of user on the surface level direction; Certain above-mentioned directional information can also be east, south, west, north etc.According to the concrete grammar of the anglec of rotation of directional information computing information display direction can for:
As described directional information be the user with respect to the time hour number of portable terminal, then the anglec of rotation=(time hour number-6) * is 30 °;
Directional information is for being used for the relative angle with respect to portable terminal as described, then the anglec of rotation=relative angle-180 °
In step S64, above-mentioned information is shown by the form after adjusting and direction.
The method that present embodiment provides is according to the distance of the user who obtains and portable terminal and the size of sight angle adjustment demonstration information, so that the information that shows can be according to the position Self-adjustment size at user place, so when between user and portable terminal, having certain angle, make things convenient for the user to watch information at a distance, has the consistent advantage of visual effect, the method can also be adjusted according to the directional information of user and viewing area the direction of demonstration information, is more convenient for watching of user.
Embodiment six:
Present embodiment provides a kind of display system of information of mobile terminal, and said system comprises as shown in Figure 7:
Visualangle acquiring unit 71 obtains distance and the sight angle of user and viewing area;
Show distance and sight angle thatadjustment unit 72 obtains according to acquiringunit 71, adjust the information of mobile terminal display format.
Optionally, said system can also comprise:
Direction acquiring unit 73 also after showing thatadjustment unit 72 is adjusted the information of mobile terminal display format, obtains the directional information of user and viewing area;
Direction adjustment unit 74 is also adjusted the display direction that the viewing area shows information according to the directional information thatdirection acquiring unit 73 obtains; Described information is shown by the form after adjusting and direction.
Optionally, show thatadjustment unit 72 comprises:
Thefirst computing module 721 calculates described viewing area and user's maximum distance and minimum distance according to the physical dimension of described distance, described sight angle and described viewing area; And calculate information according to described maximum distance and described minimum distance and show ratio;
The information that calculates according to thefirst computing module 721 shows that ratio obtains ratio formula Y=1+ (M-1) * x/A;
Wherein M is described demonstration ratio, and A represents total line number of information; X represents line number, and y represents the ratio between line number and the reference row;
Thefirst display module 723 shows after described information is adjusted displaying ratio in the ratio formula that obtains.
Optionally, portable terminal also comprises the ratio tabulation, and above-mentioneddemonstration adjustment unit 72 comprises:
Enquiry module 724 inquires described distance and ratio formula corresponding to described angle according to described distance and sight angle from described ratio tabulation;
After adjusting displaying ratio, thesecond display module 725 inquires described information inenquiry module 724 ratio formula shows.
Optionally, portable terminal also comprises the multiple tabulation, shows thatadjustment unit 72 comprises:
Total line number that thesecond computing module 726 shows according to described distance, described sight angle, information and the physical dimension of viewing area calculate every row and user's distance and angle;
The3rd display module 722 inquires display format corresponding to every row with user's distance and sight angle according to described every row from the multiple tabulation, and every row of described information is shown by display format corresponding to every row.
The system that present embodiment provides adjusts the demonstration size of information of mobile terminal according to the user who obtains and distance and the sight angle of portable terminal, so it can come according to the position of user and portable terminal the size of change information demonstration, so when having certain angle between user and the portable terminal, can make things convenient for the user to watch information at a distance, have the consistent advantage of visual effect, the information display effect after adjusting through said system as shown in Figure 8.And this system is also calculated displaying ratio when showing, and is undistorted to guarantee demonstration information, further improved visual effect.This system can also adjust the direction that shows information according to the directional information of obtaining, and more convenient user's viewing information has further improved user's visual effect.
The present invention also provides a kind of portable terminal, and above-mentioned portable terminal comprises embodiment six described systems.
The portable terminal that present embodiment provides is adjusted the demonstration size of information of mobile terminal according to the user who obtains and distance and the angle of portable terminal, so it can come according to the position of user and portable terminal the size of change information demonstration, so when having certain angle between user and the portable terminal, can make things convenient for the user to watch information at a distance, have the consistent advantage of visual effect.And this portable terminal also calculates displaying ratio when showing, and is undistorted to guarantee demonstration information, further improved visual effect.This portable terminal can also be adjusted the direction that shows information according to the directional information of obtaining, and more convenient user's viewing information has further improved user's visual effect.
It should be noted that in above-mentioned portable terminal and the system embodiment that included unit is just divided according to function logic, but is not limited to above-mentioned division, as long as can realize corresponding function; In addition, the concrete title of each functional unit also just for the ease of mutual differentiation, is not limited to protection scope of the present invention.
In addition, one of ordinary skill in the art will appreciate that all or part of step that realizes in above-described embodiment method is to come the relevant hardware of instruction to finish by program, corresponding program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium of mentioning can be ROM (read-only memory), disk or CD etc.
In sum, it is consistent that technical scheme provided by the invention has visual effect, and demonstration information is undistorted, the advantage that visual effect is high.
The above only is preferred embodiment of the present invention, not in order to limiting the present invention, all any modifications of doing within the spirit and principles in the present invention, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.