CN102722311A - Display method, display device and mobile terminal - Google Patents

Display method, display device and mobile terminal Download PDF

Info

Publication number
CN102722311A
CN102722311A CN201110078988XA CN201110078988A CN102722311A CN 102722311 A CN102722311 A CN 102722311A CN 201110078988X A CN201110078988X A CN 201110078988XA CN 201110078988 A CN201110078988 A CN 201110078988A CN 102722311 A CN102722311 A CN 102722311A
Authority
CN
China
Prior art keywords
parameter value
spatial parameter
image
unit
portable terminal
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
CN201110078988XA
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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201110078988XA priority Critical patent/CN102722311A/en
Publication of CN102722311A publication Critical patent/CN102722311A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention provides a display method, a display device and a mobile terminal. The display method is applied to the mobile terminal and comprises the following steps of: when the mobile terminal is in a first mode, displaying a first image; acquiring a first space parameter value; acquiring a second space parameter value; calculating the first space parameter value and the second space parameter value, and thus obtaining a third space parameter value; generating a first control command according to the third space parameter value; and displaying a second image according to the first control command, wherein the second image is different from the first image. The space parameter values of the mobile terminal can be adjusted, so that the problem about control over application operation on the mobile terminal is solved; and the usage of a user is improved.

Description

A kind of display packing, display device and portable terminal
Technical field
The present invention relates to the terminal display technique, particularly a kind of display packing, display device and portable terminal.
Background technology
Along with the development of terminal technology, the volume at terminal is more and more littler, and it is hand-held to be fit to the user more, and integrated increasing sensor, offers the more and more abundanter interactive mode of user, and corresponding, the user is also increasingly high to the demand at terminal.
The inventor finds that in realizing process of the present invention there is disadvantage in prior art: based on the application of locus/angle; All only can be with horizontality as original state; Make that above-mentioned application can only be when the SOT state of termination is in level, could normally use, if when the terminal is in a certain heeling condition, such as recumbency or when leaning to; Just can not normally use, thereby lower usage degree and satisfaction with the user.
Summary of the invention
The embodiment of the invention provides a kind of display packing, display device and portable terminal, according to the spatial parameter value of adjustment portable terminal, solves the problem of the application normal running on the control portable terminal, to improve user's usage degree and satisfaction.
For solving the problems of the technologies described above, the embodiment of the invention provides a kind of display packing, is applied in the portable terminal, and said method comprises:
When said portable terminal is in first pattern, show first image;
Obtain first spatial parameter value;
Obtain second spatial parameter value;
Said first spatial parameter value and said second spatial parameter value are calculated, obtained the 3rd spatial parameter value;
According to said the 3rd spatial parameter value, generate first control command;
Show second image according to said first control command, wherein, said second image is different with said first image.
Preferably, when said portable terminal is in first pattern, show first image before, said method also comprises:
When said portable terminal is in second pattern, detect first input operation;
When said first input operation is first scheduled operation, generate the order of first mode switch;
Order said portable terminal from said second mode switch to said first pattern according to said first mode switch;
Wherein, under said second pattern, when showing the 3rd image; Obtain the 4th spatial parameter value; According to said the 4th spatial parameter value, generate second control command, show the 4th image according to said second control command, wherein, said the 4th image is different with said the 3rd image.
Preferably, when said the 3rd spatial parameter value was identical with said the 4th spatial parameter value, said first control command was identical with said second control command.
Preferably, when said portable terminal is in first pattern, show first image before, said method also comprises:
Detect second input operation;
When said second input operation is second scheduled operation, obtain the 5th spatial parameter value;
Said the 5th spatial parameter value is set to said second spatial parameter value.
Preferably, when said portable terminal is in first pattern, show first image before, said method also comprises: when said portable terminal is in second pattern, detect the 3rd input operation, when said the 3rd input operation is the 3rd scheduled operation,
Generate the order of second mode switch, order said portable terminal from said second mode switch to said first pattern, wherein according to said second mode switch; Under said second pattern, when showing the 5th image, obtain the 6th spatial parameter value; According to said the 6th spatial parameter value, generate the 3rd control command, show the 6th image according to said the 3rd control command; Wherein, said the 6th image is different with said the 5th image; And
Obtain the 7th spatial parameter value, said the 7th spatial parameter value is set to said second spatial parameter value.
Preferably, said first spatial parameter value of said foundation and said second spatial parameter value obtain the 3rd spatial parameter value and specifically comprise:
Said first spatial parameter value and said second spatial parameter value are carried out linearity calculating, obtain said the 3rd spatial parameter value; Perhaps
Said first spatial parameter value and said second spatial parameter value are carried out NONLINEAR CALCULATION, obtain said the 3rd spatial parameter value.
Accordingly, the embodiment of the invention provides a kind of display device, is integrated in the portable terminal, and said display device comprises:
First display unit is used for when said portable terminal is in first pattern, showing first image;
First acquiring unit is used to obtain first spatial parameter value;
Second acquisition unit is used to obtain second spatial parameter value;
Computing unit is used for said first spatial parameter value and said second spatial parameter value are calculated, and obtains the 3rd spatial parameter value;
The first order generation unit is used for generating first control command according to said the 3rd spatial parameter value;
Second display unit is used for showing second image according to said first control command that wherein, said second image is different with said first image.
Preferably, said display device also comprises:
First detecting unit is used for before first display unit shows first image, and said portable terminal detects first input operation when being in second pattern;
First mode switch order generation unit is used for when said first input operation is first scheduled operation, generates the order of first mode switch;
First switch unit is used for ordering said portable terminal from said second mode switch to said first pattern according to said first mode switch; Wherein, under said second pattern, show the 3rd image;
The 3rd acquiring unit is used for when showing the 3rd image, obtaining the 4th spatial parameter value;
The second order generation unit is used for generating second control command according to said the 4th spatial parameter value;
The 3rd display unit is used for showing the 4th image according to said second control command that wherein, said the 4th image is different with said the 3rd image.
Preferably, when the 4th spatial parameter value that said the 3rd spatial parameter value of calculating when said computing unit and said the 3rd acquiring unit obtain was identical, said first control command was identical with said second control command.
Preferably, said display device also comprises:
Second detecting unit is used for before first display unit shows first image, and said portable terminal detects second input operation when being in second pattern;
The 4th acquiring unit is used for when said second input operation is second scheduled operation, obtaining the 5th spatial parameter value;
First is provided with the unit, is used for said the 5th spatial parameter value and is set to said second spatial parameter value.
Preferably, said display device also comprises:
The 3rd detecting unit is used for before first display unit shows first image, and said portable terminal detects the 3rd input operation when being in second pattern, and said the 3rd input operation is the 3rd scheduled operation;
Second mode switch order generation unit is used to generate the order of second mode switch;
Second switch unit is used for ordering said portable terminal from said second mode switch to said first pattern according to said second mode switch; Wherein, under said second pattern, show the 5th image;
The 5th acquiring unit is used for when showing the 5th image, obtaining the 6th spatial parameter value;
The 3rd order generation unit is used for generating the 3rd control command according to said the 6th spatial parameter value;
The 4th display unit is used for showing the 6th image according to said the 3rd control command that wherein, said the 6th image is different with said the 5th image; And
The 6th acquiring unit is used to obtain the 6th spatial parameter value;
Second is provided with the unit, is used for said the 6th spatial parameter value and is set to said second spatial parameter value.
Preferably, said computing unit comprises: linear computing element and/or NONLINEAR CALCULATION unit, wherein,
Said linear computing element is used for said first spatial parameter value and said second spatial parameter value are carried out linearity calculating, obtains said the 3rd spatial parameter value;
Said NONLINEAR CALCULATION unit is used for said first spatial parameter value and said second spatial parameter value are carried out NONLINEAR CALCULATION, obtains said the 3rd spatial parameter value.
Corresponding, the embodiment of the invention also provides a kind of portable terminal, and said portable terminal comprises:
Display unit is used for when said portable terminal is in first pattern, showing first image, and shows second image;
Sensing unit is used to detect first spatial parameter value of said portable terminal;
Storage unit is used to store second spatial parameter value;
Processing unit; Be used to calculate said first spatial parameter value and said second spatial parameter value obtains the 3rd spatial parameter value; And said the 3rd spatial parameter value of foundation generates first control command; And trigger display unit according to said first control command and show second image, wherein, said second image is different with said first image.
In the embodiment of the invention,,, solve the problem of the application operating on the control portable terminal, improved user's usage degree through adjustment to the spatial parameter value of portable terminal (such as acceleration of gravity etc.) when motion of mobile terminals or when tilting.That is to say that the embodiment of the invention can make the user can be in any situation, such as, under the situation such as lie on one's side, lay flat on one's back, accomplish the normal input (as playing games) of sensor, thereby improve user's comfort level and satisfaction.
Description of drawings
The process flow diagram of a kind of display packing that Fig. 1 provides for the embodiment of the invention;
The structural representation of a kind of display device that Fig. 2 provides for the embodiment of the invention;
The structural representation of a kind of portable terminal that Fig. 3 provides for the embodiment of the invention.
Embodiment
In order to make those skilled in the art person understand the scheme of the embodiment of the invention better, the embodiment of the invention is done further to specify below in conjunction with accompanying drawing and embodiment.
See also Fig. 1, the process flow diagram of a kind of display packing that provides for the embodiment of the invention; Said method comprises:
Step 101: when said portable terminal is in first pattern, show first image;
Wherein, first pattern is the pattern that portable terminal can be carried out the display packing of the embodiment of the invention, promptly self-defined reference position input pattern.
Step 102: obtain first spatial parameter value;
Wherein, said first spatial parameter value is a D coordinates value, and perhaps other can show the parameter value of locus.Concrete, said first spatial parameter value is that said portable terminal uses sensor, the spatial parameter value that the locus at the current place of foundation obtains.
Step 103: obtain second spatial parameter value;
Wherein, said second spatial parameter value is preset three-dimensional coordinate threshold value, and perhaps other can show the parameter value of predetermined spatial position.
Step 104:, obtain the 3rd spatial parameter value according to said first spatial parameter value and said second spatial parameter value; Specifically comprise:
Said first spatial parameter value and said second spatial parameter value are carried out linearity calculating, obtain said the 3rd spatial parameter value; Such as, said the 3rd spatial parameter value is the difference of said first spatial parameter value and said second spatial parameter value, or the absolute value of the difference of said first spatial parameter value and said second spatial parameter value; Perhaps
Said first spatial parameter value and said second spatial parameter value are carried out NONLINEAR CALCULATION, obtain the intermediate parameters value, the said intermediate parameters value of final foundation obtains said the 3rd spatial parameter value.Such as obtaining the first intermediate parameters value according to said first spatial parameter value; Obtain the second intermediate parameters value according to second spatial parameter value; Calculate the said first intermediate parameters value and the difference of the second intermediate parameters value or the absolute value of difference; Obtain the 3rd intermediate parameters value, said the 3rd intermediate parameters value is changed, obtain the 3rd spatial parameter value.
Step 105:, generate first control command according to said the 3rd spatial parameter value;
Wherein,, obtain spatial parameter value control command corresponding relation, and, generate first control command according to said the 3rd spatial parameter value based on said corresponding relation based on current application according to current application.
Step 106: show second image according to said first control command, wherein, said second image is different with said first image.
Preferably, said method can also comprise: when the said first control command first predetermined condition, carry out this first control command, can show second image; When the said first control command second predetermined condition, keep first image, present embodiment does not limit.Wherein, said first predetermined condition is in current application, in the time of can will showing that first image changes demonstration second image into according to said first control command.Second predetermined condition is in current application, in the time of can not will showing that first image changes demonstration second image into according to said first control command.
Such as, the user starts a sensor-based application on the portable terminal, in this is used, and the variation of locus, the special object that is used for controlling display image moves.Use postrun first and constantly show first image, in first image, said object is in primary importance; Obtain the 3rd spatial parameter value according to aforementioned manner, and, generate first control command (such as being order) to left movement according to said the 3rd spatial parameter value; Then control said object to left movement, (use second moment of operation) at this moment and show second image, in second image, said object is in the second place, and the said second place is different with said primary importance, and is in the left side of said primary importance.It is thus clear that first image is different with second image.But when in first image that first shows constantly; When the primary importance at said object place has been in the left margin of default zone or regions; Although first control command is order left, the position of said object can't continue to change, and makes in second image that second shows constantly; Said object still maintains primary importance, promptly still keeps first image.
Preferably, when said portable terminal is in first pattern, show first image before, said method can also comprise:
When said portable terminal is in second pattern, detect first input operation; Wherein, second pattern is not for carrying out the pattern of embodiment of the invention display packing, i.e. special datum position input pattern.
When said first input operation is first scheduled operation, generate the order of first mode switch;
Order said portable terminal from said second mode switch to said first pattern according to said first mode switch;
Wherein, under said second pattern, when showing the 3rd image; Obtain the 4th spatial parameter value; According to said the 4th spatial parameter value, generate second control command, show the 4th image according to said second control command, wherein, said the 4th image is different with said the 3rd image.
In this embodiment; If this terminal device is in i.e. second pattern, import first input operation, when this terminal device detects this first input operation; If judging said first input operation is first predetermined input operation; Then generate first mode switch order, and input pattern switches to self-defined reference position input pattern from said special datum position with the display mode of said portable terminal according to said first mode switch order, is about to second mode switch to said first pattern.First input operation can be the triggering of physical button or the triggering of virtual key; If based on touch sensible equipment, can be the triggering of desired trajectory; If, can be the triggering of predetermined voice based on the equipment of speech recognition; In a word, any Starting mode can, do not do qualification at this.
Under second pattern, obtain current spatial parameter value through sensor after, direct corresponding control command.Real space parameter value and control command are to concern one to one; Promptly in an application; Therefore the corresponding and unique corresponding order of present space parameter value is carried out alternately for smooth and application, and the user must operate with special datum position (such as level).And in embodiments of the present invention, no matter this terminal device be in which kind of location status, can self-defined reference position, thus the application of controlling smoothly in this terminal device (such as the recreation of gravitational equilibrium ball, car race game etc.) is in operable state.
Preferably, in the foregoing description, when said the 3rd spatial parameter value was identical with said the 4th spatial parameter value, said first control command was identical with said second control command.No matter be to be directed against promptly under first pattern or under second pattern; Spatial parameter value control command corresponding relation is fixed; Two kinds of patterns are all supported in feasible application; Need not different spatial parameter value control command corresponding relations to be set, reduce the application and development difficulty, keep user's operating habit to different patterns.Certainly, also can be directed against two kinds of patterns, different spatial parameter value control command corresponding relations is set, not limit at this.
Preferably, in the foregoing description, when said portable terminal is in first pattern, show first image before, said method can also comprise:
Detect second input operation;
When said second input operation is second scheduled operation, obtain the 5th spatial parameter value;
Said the 5th spatial parameter value is set to said second spatial parameter value.
In the present embodiment, when portable terminal detects second input operation, and said second input operation is when being second scheduled operation; Obtain second spatial parameter value; Wherein, second spatial parameter value can obtain through sensor, and through finally being uploaded to application through the api interface in the system layer (Framework); By said the 5th spatial parameter value of application records, thereby said the 5th spatial parameter value is set to said second spatial parameter value.After perhaps obtaining, be uploaded to the Framework layer through the HAL layer, and in the Framework layer, write down said the 5th spatial parameter value, thereby said the 5th spatial parameter value is set to said second spatial parameter value through sensor.
Wherein, second input operation can be the triggering of physical button or the triggering of virtual key; If based on touch sensible equipment, can be the triggering of desired trajectory; If, can be the triggering of predetermined voice based on the equipment of speech recognition; In a word, any Starting mode can, do not do qualification at this.It is thus clear that second input operation triggers the record of reference space parameter value, and with the spatial parameter value of the moment sensor acquisition that triggers as the reference space parameter value.Thereby the saving operation steps of user promotes efficient is set.
Substitute, also can second spatial parameter value (reference space parameter value) be set,, directly manually import the mode of second spatial parameter value, do not limit at this such as getting into the configuration page through alternate manner.
Preferably, when said portable terminal is in first pattern, show first image before, said method can also comprise: when said portable terminal is in second pattern, detect the 3rd input operation, when said the 3rd input operation is the 3rd scheduled operation,
Generate the order of second mode switch, order said portable terminal from said second mode switch to said first pattern, wherein according to said second mode switch; Under said second pattern, when showing the 5th image, obtain the 6th spatial parameter value; According to said the 6th spatial parameter value, generate the 3rd control command, show the 6th image according to said the 3rd control command; Wherein, said the 6th image is different with said the 5th image; And
Obtain the 7th spatial parameter value, said the 7th spatial parameter value is set to said second spatial parameter value.
That is to say; In this embodiment; When said portable terminal is in second pattern, detect the 3rd input operation, when said the 3rd input operation is the 3rd scheduled operation; Promptly can generate the order of second mode switch, order said portable terminal from said second mode switch to said first pattern according to said second mode switch; Can obtain the 7th spatial parameter value again, said the 7th spatial parameter value is set to said second spatial parameter value.Be the residing pattern of switching terminal equipment and second spatial parameter value is set carries out simultaneously.
When the user need carry out mode switch; Can continue to use self-defining second spatial parameter value of last time, but be used for the diversity of the use of portable terminal, can not guarantee that each state that uses all is the same; Therefore behind the switch mode is set the time that is provided with that second spatial parameter value can increase the user more if desired; And after adopting the method for present embodiment, can significantly save user's operation steps, and promote user's operating efficiency.
For the ease of those skilled in the art's understanding, explain with concrete instance below.
At present, the somatic sensation television game of portable terminal (such as mobile phone) generally can use gravity sensor (GSensor) data as the input data.And said GSensor data are made up of the acceleration of gravity of coordinate x, y, z axle, if portable terminal (such as mobile phone) horizontal positioned, these three GSensor data are respectively (0,0 ,-9.8) so.When portable terminal inclination certain angle, these corresponding three GSensor data can change, and for example become: (2;-2 ,-5), if but keep this angle not change; So, the numerical value of three corresponding GSensor data generally also is changeless, that is to say; The numerical value of these three GSensor data is locus can confirming portable terminal (or space towards), and promptly the locus of portable terminal can be represented with three-dimensional coordinate.
In conjunction with technical scheme of the present invention, in the embodiment of the invention, when being normal condition as if self-defined horizontality, the numerical value of three GSensor data is (0,0;-9.8) as reference points of origin, i.e. second spatial parameter value, when mobile phone inclination certain angle, these corresponding three GSensor data become (2 ,-2;-5), promptly first spatial parameter value is calculated said GSensor data (0,0 ,-9.8) and (2;-2 ,-5) poor obtains corresponding GSensor data (2,2;-4.8), i.e. the 3rd spatial parameter value is according to said GSensor data (2,2;-4.8) generate first control command, according to said first control command control handset displays, second image, wherein, second image is different with said first image.
Certainly, numerical value that also can self-defined GSensor data is that (2 ,-2 ,-5) are as reference points of origin; Promptly second spatial parameter value for other locus at this mobile phone place, just can be represented according to this primary data, like the GSensor data (0 of horizontality so; 0 ,-9.8) just can be scaled with respect to reference points of origin (2 ,-2;-5) be (2,2 ,-4.8).Other processes are similar, do not giving unnecessary details at this.It is thus clear that equally to first spatial parameter, such as (0,0 ,-9.8); When being (0,0 ,-9.8) in second spatial parameter value; Corresponding first order (such as keeping order), and be (2 ,-2 in second spatial parameter value;-5) time, corresponding second order (such as motion command) embodies the advantage more flexibly alternately after the self-defined reference space parameter.
The mode of aforementioned calculation the 3rd spatial parameter value is a linear mode, promptly asks difference to obtain the 3rd spatial parameter value through first spatial parameter value and second spatial parameter value.Certainly; In this embodiment; The mode that obtains the 3rd spatial parameter value can also be a nonlinear way, obtains the first intermediate parameters value according to said first spatial parameter value, obtains the second intermediate parameters value according to said second spatial parameter value; Obtain the 3rd intermediate parameters value according to said first intermediate parameters value and the said second intermediate parameters value, obtain said the 3rd spatial parameter value according to said the 3rd intermediate parameters value.Specifically can be that said first spatial parameter value and said second spatial parameter value convert the corresponding first intermediate parameters value and the second intermediate parameters value respectively into; Afterwards; Ask the poor of the first intermediate parameters value and the second intermediate parameters value; Obtain the 3rd intermediate parameters value, then said the 3rd intermediate parameters value is changed, obtain the 3rd spatial parameter value.That is to say that the computing formula in the computation process in the present embodiment is not necessarily linear.
Such as (X, Y Z) can calculate horizontal sextant angle (Ax) in the coordinate system, vertical angle (Az) and apart from the distance value (D) of initial point according to spatial parameter value.
That is: F1 (X, Y, Z)=D; F2 (X, Y)=Ax; F3 (X, Y, Z)=Az;
When be provided with (X1, Y1, when Z1) being second spatial parameter value, according to (X1, Y1, Z1) with formula F 1 (X, Y, Z)=D; F2 (X, Y)=Ax; F3 (X, Y, Z)=Az can obtain the second corresponding intermediate parameters value D1, Ax1, Az1;
If at this moment obtain first spatial parameter value (X2, Y2, Z2), according to (X2, Y2, Z2) with formula F 1 (X, Y, Z)=D; F2 (X, Y)=Ax; F3 (X, Y, Z)=Az can obtain the first corresponding intermediate parameters value D2, Ax2, Az2;
Obtaining the 3rd intermediate parameters value according to said first intermediate parameters value and the said second intermediate parameters value comprises: relative angle changes be (Ax2-Ax1)=Ax3, (Az2-Az1)=and Az3;
Obtain the 3rd spatial parameter value and comprise according to the 3rd intermediate parameters value: through Ax3, Az3, D2 calculate make new advances (X3, Y3, Z3), promptly F4 (Ax3, Az3, D2)=F5 (X3, Y3, Z3);
Thereby obtain the 3rd spatial parameter value (X3, Y3, Z3).
Need to prove, in the above-described embodiments, only need detect rotation, so D1 and D2 can equate with respect to initial point.But also need detect space displacement when detecting rotation if desired, can further use D2-D1=D3, and (D3) (X3, Y3 Z3), do not limit non-linear formula at this in acquisition for Ax3, Az3 according to F4.
In this embodiment; The spatial parameter data of gathering through GSensor are to be uploaded to the Framework layer through the HAL layer; In a preferred embodiment, in Framework, increase an alignment unit, this alignment unit is used for calibrating detected spatial parameter data based on self-defining reference value; And the spatial parameter data after will calibrating (the 3rd spatial parameter value) are uploaded to application layer, make application to generate corresponding control command according to the spatial parameter data after the calibration.
That is to say that the user can change the primary data of initial level freely falling body (0,0,0); Be used as initially (as-2 ,-2,4.8) with certain other orientation state; When mobile phone transformation space position/space towards the time, this alignment unit can be directed against self-defining initial value, converts; Return to application program to the result after converting then,, control the operation of the application in this portable terminal so that application program generates corresponding control command.
Such as, mobile phone horizontal positioned (0 degree) when be original value, the side direction that mobile phone is set 30 degree that tilt, the GSensor data (x of correspondence 0, y 0, z 0) be reference value (i.e. second spatial parameter value), thereby as a side of mobile phone (with the identical side of above-mentioned inclination 30 degree) the 60 corresponding GSensor data (x when spending that are inclined upwardly 1, y 1, z 1) when (first spatial parameter value), alignment unit calculates corresponding GSensor data (x 0, y 0, z 0) and (x 1, y 1, z 1) poor, obtain corresponding GSensor data (x 0-1, y 0-1, z 0-1), and according to the GSensor data (x of correspondence 0-1, y 0-1, z 0-1) promptly to obtain the angle of inclination be 30 degree, and with the said GSensor data (x that calculates 0-1, y 0-1, z 0-1) reporting display processing unit, display processing unit is according to these GSensor data (x 0-1, y 0-1, z 0-1), and with said GSensor data (x 0-1, y 0-1, z 0-1) to be converted into corresponding angle be 30 degree, afterwards, generates corresponding control command, makes that content displayed is second image by first image change in the display unit.
Accordingly; The embodiment of the invention also provides a kind of display device, is integrated in that its structural representation sees Fig. 2 for details in the portable terminal, and said device comprises: first display unit 21; First acquiring unit 22; Second acquisition unit 23, computing unit 24, the first order generation unit 25 and second display units 26.Wherein, said first display unit 21 is used for when said portable terminal is in first pattern, showing first image; Said first acquiring unit 22 is used to obtain first spatial parameter value; Said second acquisition unit 23 is used to obtain second spatial parameter value; Said computing unit 24 is used for said first spatial parameter value and said second spatial parameter value are calculated, and obtains the 3rd spatial parameter value; The said first order generation unit 25 is used for generating first control command according to said the 3rd spatial parameter value; Said second display unit 26 is used for showing second image according to said first control command that wherein, said second image is different with said first image.
Wherein, to previous embodiment, first acquiring unit, second acquisition unit, computing unit can be formed alignment unit.This alignment unit can be at the Framework layer, also can be in application layer, promptly during embodiment of the present invention embodiment, can the renewal to prior art be arranged on application layer, and promptly need not system is made amendment, reduce the exploitation complexity; Also can part be revised and be arranged on the Framework layer, make extendability and versatility strengthen, the existing application with following application can generally be suitable for.
Wherein, Said computing unit can comprise: linear computing element and/or NONLINEAR CALCULATION unit, wherein, said linear computing element; Be used for said first spatial parameter value and said second spatial parameter value are carried out linearity calculating, obtain said the 3rd spatial parameter value; Said NONLINEAR CALCULATION unit is used for said first spatial parameter value and said second spatial parameter value are carried out NONLINEAR CALCULATION, obtains said the 3rd spatial parameter value.
Preferably, said device can also comprise: first detecting unit, first mode switch order generation unit, first switch unit, the 3rd acquiring unit, second order generation unit and the 3rd display unit.Wherein, said first detecting unit is used for before first display unit shows first image, and said portable terminal detects first input operation when being in second pattern; Said first mode switch order generation unit is used for when said first input operation is first scheduled operation, generates the order of first mode switch; Said first switch unit is used for ordering said portable terminal from said second mode switch to said first pattern according to said first mode switch; Wherein, under said second pattern, show the 3rd image; Said the 3rd acquiring unit is used for when showing the 3rd image, obtaining the 4th spatial parameter value; The said second order generation unit is used for generating second control command according to said the 4th spatial parameter value; Said the 3rd display unit is used for showing the 4th image according to said second control command that wherein, said the 4th image is different with said the 3rd image.
In this embodiment, when the 4th spatial parameter value that said the 3rd spatial parameter value of calculating when said computing unit and said the 3rd acquiring unit obtain was identical, said first control command was identical with said second control command.
Preferably, said device can also comprise: second detecting unit, and the 4th acquiring unit and first is provided with the unit; Wherein, said second detecting unit is used for before first display unit shows first image; And when said portable terminal is in second pattern, detect second input operation; Said the 4th acquiring unit is used for when said second input operation is second scheduled operation, obtaining the 5th spatial parameter value; Said first is provided with the unit, is used for said the 5th spatial parameter value and is set to said second spatial parameter value.
Preferably, said device can also comprise: the 3rd detecting unit, second mode switch order generation unit, second switch unit; The 5th acquiring unit, the 3rd order generation unit, the 4th display unit, the 6th acquiring unit and second is provided with the unit; Wherein, said the 3rd detecting unit is used for before first display unit shows first image; And when said portable terminal is in second pattern, detect the 3rd input operation, said the 3rd input operation is the 3rd scheduled operation; Said second mode switch order generation unit is used to generate the order of second mode switch; Said second switch unit is used for ordering said portable terminal from said second mode switch to said first pattern according to said second mode switch; Wherein, under said second pattern, show the 5th image; Said the 5th acquiring unit is used for when showing the 5th image, obtaining the 6th spatial parameter value; Said the 3rd order generation unit is used for generating the 3rd control command according to said the 6th spatial parameter value; Said the 4th display unit is used for showing the 6th image according to said the 3rd control command that wherein, said the 6th image is different with said the 5th image; And said the 6th acquiring unit, be used to obtain the 6th spatial parameter value; Said second is provided with the unit, is used for said the 6th spatial parameter value and is set to said second spatial parameter value.
The implementation procedure of the function of each unit and effect sees implementation procedure corresponding in the said method for details in the said device, repeats no more at this.
Accordingly, the embodiment of the invention also provides a kind of portable terminal, and its structural representation sees Fig. 3 for details; Said portable terminal comprises: display unit 31 (such as the LCD display unit, led display unit, OLED display unit etc.); Sensing unit 32 (such as gravity sensor, other accelerometers, gyroscope etc.); Storage unit 33 (SD card etc.) and processing unit 34 (based on processor of ARM framework etc.), wherein, said display unit 31; Be used for when said portable terminal is in first pattern, showing first image, and show second image; Said sensing unit 32 is used to detect first spatial parameter value of said portable terminal; Said storage unit 33 is used to store second spatial parameter value; Said processing unit 34; Be used to calculate said first spatial parameter value and said second spatial parameter value obtains the 3rd spatial parameter value; And said the 3rd spatial parameter value of foundation generates first control command; And trigger display unit according to said first control command and show second image, wherein, said second image is different with said first image.
Further, said storage unit 33 user storage space parameter value control command corresponding relations make processing unit obtain the first corresponding control command according to said the 3rd spatial parameter value.
The implementation procedure of the function of each unit and effect sees implementation procedure corresponding in the said method for details in the said terminal device, repeats no more at this.
Among this embodiment, said portable terminal is an example with the mobile phone, and second gravity acceleration value (second spatial parameter value) when establishing mobile phone and keeping flat is a reference value, and this reference value exists in the storage unit; After mobile phone moved or tilts, gravity acceleration value can change, at this moment, sensing unit, such as gravity sensor, be used to detect and obtain said mobile phone move or tilt after first gravity acceleration value (i.e. first spatial parameter value); And first gravity acceleration value sent to processing unit, perhaps processing unit obtains this second acceleration of gravity from sensor; Afterwards, processing unit is such as CPU; Be used to calculate first gravity acceleration value and second gravity acceleration value; Obtain the 3rd gravity acceleration (the 3rd spatial parameter value), its account form is to calculate the poor of first gravity acceleration value and second gravity acceleration value; Perhaps absolute value etc. of its difference obtains the 3rd gravity accekeration; Afterwards; This processing unit; Be used for generating control command, control corresponding carried out in the application (such as the recreation of gravitational equilibrium ball, car race game etc.) of this mobile phone operate, and finally to make displaying contents be second image from first image change according to new the 3rd gravity accekeration.
In the embodiment of the invention; When mobile phone motion (such as moving or tilting),, can make the user can be in any situation through adjustment to mobile phone acceleration of gravity; Such as; Lie on one's side, under the situation such as recumbency, accomplish the normal input (as playing games) of sensor, thereby improve user's usage degree and satisfaction.
Certainly, sensing unit in the embodiment of the invention also can the working pressure sensor, detect weight fix, or long by etc. operation realize that its concrete implementation procedure and the above-mentioned implementation procedure of the present invention are similar, repeat no more at this.
In embodiments of the present invention, the unit can be realized with software, so that carried out by various types of processors.For instance, the executable code module of a sign can comprise the one or more physics or the logical block of computer instruction, and for instance, it can be built as object, process or function.However; The executable code of institute's identification module need not to be physically located in together; But can comprise the different instruction on being stored in the coordination not, and when combining on these command logics, the regulation purpose that it constitutes units/modules and realizes this units/modules.
In the time of can utilizing software to realize in the unit; Consider the level of existing hardware technology; So can be with the unit of software realization; Do not considering under the condition of cost that those skilled in the art can build the corresponding hardware circuit and realize corresponding function, said hardware circuit comprises conventional ultra-large integrated (VLSI) circuit or gate array and the existing semiconductor such as logic chip, transistor or other discrete element.Module can also be used programmable hardware device, such as realizations such as field programmable gate array, programmable logic array, programmable logic devices.
Also need to prove; In this article; Relational terms such as first and second grades only is used for an entity or operation are made a distinction with another entity or operation, and not necessarily requires or hint relation or the order that has any this reality between these entities or the operation.And; Term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability; Thereby make and comprise that process, method, article or the equipment of a series of key elements not only comprise those key elements; But also comprise other key elements of clearly not listing, or also be included as this process, method, article or equipment intrinsic key element.Under the situation that do not having much more more restrictions, the key element that limits by statement " comprising ... ", and be not precluded within process, method, article or the equipment that comprises said key element and also have other identical element.
Through the description of above embodiment, those skilled in the art can be well understood to the present invention and can realize by the mode that software adds essential general hardware platform, can certainly pass through hardware, but the former is better embodiment under a lot of situation.Based on such understanding; The part that technical scheme of the present invention contributes to prior art in essence in other words can be come out with the embodied of software product; This computer software product can be stored in the storage medium, like ROM/RAM, magnetic disc, CD etc., comprises that some instructions are with so that a computer equipment (can be a personal computer; Server, the perhaps network equipment etc.) carry out the described method of some part of each embodiment of the present invention or embodiment.
The above only is a preferred implementation of the present invention; Should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; Can also make some improvement and retouching, these improvement and retouching also should be regarded as protection scope of the present invention.

Claims (13)

1. a display packing is applied to it is characterized in that in the portable terminal, comprising:
When said portable terminal is in first pattern, show first image;
Obtain first spatial parameter value;
Obtain second spatial parameter value;
Said first spatial parameter value and said second spatial parameter value are calculated, obtained the 3rd spatial parameter value;
According to said the 3rd spatial parameter value, generate first control command;
Show second image according to said first control command, wherein, said second image is different with said first image.
2. method according to claim 1 is characterized in that, when said portable terminal is in first pattern, show first image before, said method also comprises:
When said portable terminal is in second pattern, detect first input operation;
When said first input operation is first scheduled operation, generate the order of first mode switch;
Order said portable terminal from said second mode switch to said first pattern according to said first mode switch;
Wherein, under said second pattern, when showing the 3rd image; Obtain the 4th spatial parameter value; According to said the 4th spatial parameter value, generate second control command, show the 4th image according to said second control command, wherein, said the 4th image is different with said the 3rd image.
3. method according to claim 2 is characterized in that, when said the 3rd spatial parameter value was identical with said the 4th spatial parameter value, said first control command was identical with said second control command.
4. method according to claim 1 is characterized in that, when said portable terminal is in first pattern, show first image before, said method also comprises:
Detect second input operation;
When said second input operation is second scheduled operation, obtain the 5th spatial parameter value;
Said the 5th spatial parameter value is set to said second spatial parameter value.
5. method according to claim 1 is characterized in that, when said portable terminal is in first pattern; Before showing first image, said method also comprises: when said portable terminal is in second pattern, detect the 3rd input operation; When said the 3rd input operation is the 3rd scheduled operation
Generate the order of second mode switch, order said portable terminal from said second mode switch to said first pattern, wherein according to said second mode switch; Under said second pattern, when showing the 5th image, obtain the 6th spatial parameter value; According to said the 6th spatial parameter value, generate the 3rd control command, show the 6th image according to said the 3rd control command; Wherein, said the 6th image is different with said the 5th image; And
Obtain the 7th spatial parameter value, said the 7th spatial parameter value is set to said second spatial parameter value.
6. according to each described method of claim 1 to 5, it is characterized in that said first spatial parameter value of said foundation and said second spatial parameter value obtain the 3rd spatial parameter value and specifically comprise:
Said first spatial parameter value and said second spatial parameter value are carried out linearity calculating, obtain said the 3rd spatial parameter value; Perhaps
Said first spatial parameter value and said second spatial parameter value are carried out NONLINEAR CALCULATION, obtain said the 3rd spatial parameter value.
7. a display device is integrated in the portable terminal, it is characterized in that, comprising:
First display unit is used for when said portable terminal is in first pattern, showing first image;
First acquiring unit is used to obtain first spatial parameter value;
Second acquisition unit is used to obtain second spatial parameter value;
Computing unit is used for said first spatial parameter value and said second spatial parameter value are calculated, and obtains the 3rd spatial parameter value;
The first order generation unit is used for generating first control command according to said the 3rd spatial parameter value;
Second display unit is used for showing second image according to said first control command that wherein, said second image is different with said first image.
8. device according to claim 7 is characterized in that, also comprises:
First detecting unit is used for before first display unit shows first image, and said portable terminal detects first input operation when being in second pattern;
First mode switch order generation unit is used for when said first input operation is first scheduled operation, generates the order of first mode switch;
First switch unit is used for ordering said portable terminal from said second mode switch to said first pattern according to said first mode switch; Wherein, under said second pattern, show the 3rd image;
The 3rd acquiring unit is used for when showing the 3rd image, obtaining the 4th spatial parameter value;
The second order generation unit is used for generating second control command according to said the 4th spatial parameter value;
The 3rd display unit is used for showing the 4th image according to said second control command that wherein, said the 4th image is different with said the 3rd image.
9. device according to claim 8; It is characterized in that; When the 4th spatial parameter value that said the 3rd spatial parameter value of calculating when said computing unit and said the 3rd acquiring unit obtain was identical, said first control command was identical with said second control command.
10. device according to claim 7 is characterized in that, also comprises:
Second detecting unit is used for before first display unit shows first image, and said portable terminal detects second input operation when being in second pattern;
The 4th acquiring unit is used for when said second input operation is second scheduled operation, obtaining the 5th spatial parameter value;
First is provided with the unit, is used for said the 5th spatial parameter value and is set to said second spatial parameter value.
11. device according to claim 7 is characterized in that, also comprises:
The 3rd detecting unit is used for before first display unit shows first image, and said portable terminal detects the 3rd input operation when being in second pattern, and said the 3rd input operation is the 3rd scheduled operation;
Second mode switch order generation unit is used to generate the order of second mode switch;
Second switch unit is used for ordering said portable terminal from said second mode switch to said first pattern according to said second mode switch; Wherein, under said second pattern, show the 5th image;
The 5th acquiring unit is used for when showing the 5th image, obtaining the 6th spatial parameter value;
The 3rd order generation unit is used for generating the 3rd control command according to said the 6th spatial parameter value;
The 4th display unit is used for showing the 6th image according to said the 3rd control command that wherein, said the 6th image is different with said the 5th image; And
The 6th acquiring unit is used to obtain the 6th spatial parameter value;
Second is provided with the unit, is used for said the 6th spatial parameter value and is set to said second spatial parameter value.
12., it is characterized in that said computing unit comprises according to each described device of claim 7 to 11: linear computing element and/or NONLINEAR CALCULATION unit, wherein,
Said linear computing element is used for said first spatial parameter value and said second spatial parameter value are carried out linearity calculating, obtains said the 3rd spatial parameter value;
Said NONLINEAR CALCULATION unit is used for said first spatial parameter value and said second spatial parameter value are carried out NONLINEAR CALCULATION, obtains said the 3rd spatial parameter value.
13. a portable terminal is characterized in that, comprising:
Display unit is used for when said portable terminal is in first pattern, showing first image, and shows second image;
Sensing unit is used to detect first spatial parameter value of said portable terminal;
Storage unit is used to store second spatial parameter value;
Processing unit; Be used to calculate said first spatial parameter value and said second spatial parameter value obtains the 3rd spatial parameter value; And said the 3rd spatial parameter value of foundation generates first control command; And trigger display unit according to said first control command and show second image, wherein, said second image is different with said first image.
CN201110078988XA 2011-03-30 2011-03-30 Display method, display device and mobile terminal Pending CN102722311A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110078988XA CN102722311A (en) 2011-03-30 2011-03-30 Display method, display device and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110078988XA CN102722311A (en) 2011-03-30 2011-03-30 Display method, display device and mobile terminal

Publications (1)

Publication Number Publication Date
CN102722311A true CN102722311A (en) 2012-10-10

Family

ID=46948100

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110078988XA Pending CN102722311A (en) 2011-03-30 2011-03-30 Display method, display device and mobile terminal

Country Status (1)

Country Link
CN (1) CN102722311A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112148139A (en) * 2020-09-28 2020-12-29 联想(北京)有限公司 Gesture recognition method and computer readable storage medium
CN113867562A (en) * 2021-08-18 2021-12-31 荣耀终端有限公司 Touch screen point reporting correction method and device and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1310827A (en) * 1999-03-31 2001-08-29 皇家菲利浦电子有限公司 Remote control for display apparatus
CN1991705A (en) * 2005-12-31 2007-07-04 集嘉通讯股份有限公司 Triaxiality control method, electronic apparatus and control module
CN101620769A (en) * 2008-06-30 2010-01-06 鼎亿数码科技(上海)有限公司 Remote controller
US20100045599A1 (en) * 2008-08-22 2010-02-25 Sony Corporation Input apparatus, control apparatus, control system, and control method
CN102385443A (en) * 2010-08-30 2012-03-21 联想(北京)有限公司 Adjusting method and controlling device for output contents of electronic device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1310827A (en) * 1999-03-31 2001-08-29 皇家菲利浦电子有限公司 Remote control for display apparatus
CN1991705A (en) * 2005-12-31 2007-07-04 集嘉通讯股份有限公司 Triaxiality control method, electronic apparatus and control module
CN101620769A (en) * 2008-06-30 2010-01-06 鼎亿数码科技(上海)有限公司 Remote controller
US20100045599A1 (en) * 2008-08-22 2010-02-25 Sony Corporation Input apparatus, control apparatus, control system, and control method
CN102385443A (en) * 2010-08-30 2012-03-21 联想(北京)有限公司 Adjusting method and controlling device for output contents of electronic device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112148139A (en) * 2020-09-28 2020-12-29 联想(北京)有限公司 Gesture recognition method and computer readable storage medium
CN113867562A (en) * 2021-08-18 2021-12-31 荣耀终端有限公司 Touch screen point reporting correction method and device and electronic equipment

Similar Documents

Publication Publication Date Title
JP7076880B2 (en) Posture determination method, device and medium of virtual object in virtual environment
CN103079661B (en) Maintain for augmented reality role and embody the method for the cognition of observer
KR101548033B1 (en) Compensating for anticipated movement of a device
US8902158B2 (en) Multi-user interaction with handheld projectors
JP6062621B2 (en) Gesture recognition based on physical model
US20110227913A1 (en) Method and Apparatus for Controlling a Camera View into a Three Dimensional Computer-Generated Virtual Environment
CN111771180B (en) Mixed placement of objects in augmented reality environments
CN112774203B (en) Pose control method and device of virtual object and computer storage medium
EP3814876B1 (en) Placement and manipulation of objects in augmented reality environment
JP5654885B2 (en) Portable terminal, display method, and computer program
JP2022518465A (en) Movement control method of virtual target and its device, terminal and computer program
KR20150126285A (en) Electronic device and recording medium
JP5683292B2 (en) Portable terminal, display method, and computer program
CN111831104A (en) Head-mounted display system, related method and related computer readable recording medium
US10073609B2 (en) Information-processing device, storage medium, information-processing method and information-processing system for controlling movement of a display area
CN102722311A (en) Display method, display device and mobile terminal
CN100485587C (en) Method and input device for providing position information to information handling systems
TW202138971A (en) Interaction method and apparatus, interaction system, electronic device, and storage medium
JP2012155556A (en) Portable terminal, display method, and computer program
CN103268158B (en) A kind of method, device and a kind of electronic equipment of simulated gravity sensing data
JP2024513730A (en) Virtual item display method, device, terminal and computer program
US9370713B2 (en) Game device, game control method, and game control program for controlling game in which character is moved in three dimensional space
JP5654886B2 (en) Portable terminal, display method, and computer program
JP5620290B2 (en) Portable terminal, display method, and computer program
CN107050848B (en) Somatosensory game implementation method and device based on body area network

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20121010