Summary of the invention
The object of the invention is to address the above problem, a kind of screen display method of portable electron device is provided, simplified the move operation of larger-size virtual display frame on the less screen of size, promoted user's experience.
Another object of the present invention is based on above-mentioned screen display method, and a kind of portable electron device is provided.
Technical scheme of the present invention is: the screen display method that the present invention proposes a kind of portable electron device, the size of the virtual display frame of portable electron device is greater than the size of screen, a regional area of the virtual display frame of screen display, this screen display method comprises:
The 1st step: the mobile portable electronic installation, calculate the actual displacement of portable electron device, determine the actual moving direction of portable electron device;
The 2nd step: determine the displacement of virtual display frame on screen according to the actual displacement of portable electron device, with the actual moving direction of portable electron device as the moving direction of virtual display frame on screen, and based on displacement and the moving direction of virtual display frame on screen, mobile virtual display frame on the screen of portable electron device.
Among one embodiment of the screen display method of above-mentioned portable electron device, the 1st step further comprises:
(1) determines the starting point P of mobile portable electronic installation
0
(2) sampling is calculated relevant physical quantity with displacement in moving process;
(3) determine the terminal point P of mobile portable electronic installation
1
(4) according to the actual displacement of Physical Quantity Calculation portable electron device of sampling, and the actual moving direction of definite portable electron device.
Among one embodiment of the screen display method of above-mentioned portable electron device, the 2nd step further comprises:
The formula that calculates the displacement of virtual display frame on screen is:
S
x=α*d
x,S
y=β*d
y,
S wherein
xAnd S
yBe respectively that virtual display frame moves horizontally distance and vertical displacement on screen, α and β are respectively the parameters of setting, d
xAnd d
yBe respectively portable electron device in the horizontal direction with vertical direction on actual displacement.
Among one embodiment of the screen display method of above-mentioned portable electron device, α is the ratio of the horizontal length of the horizontal length of virtual display frame and screen, and β is the vertical height of virtual display frame and the ratio of the vertical height of screen.
Among one embodiment of the screen display method of above-mentioned portable electron device, for the movement of portable electron device without the angle of inclination, the 1st step further comprises:
(1) if the component of acceleration of the component of acceleration of the current horizontal direction that samples and vertical direction, determines then that portable electron device remains static all less than default threshold value, current location is the starting point P of moving process
0, judge mobile beginning;
(2) the component of acceleration a of sampling horizontal direction in moving process
xComponent of acceleration a with vertical direction
y
(3) if the component of acceleration of the component of acceleration of the horizontal direction that samples and vertical direction, determines then that portable electron device remains static again less than default threshold value, current location is the terminal point P of moving process
1, judge mobile end;
(4) according to the component of acceleration a of the horizontal direction that in moving process, samples
xCalculate portable electron device actual displacement d in the horizontal direction
x, according to the component of acceleration a of the vertical direction that in moving process, samples
yCalculate the actual displacement d of portable electron device in the vertical direction
y, and according to d
xAnd d
yDetermine the actual moving direction of portable electron device;
Perhaps, the movement at angle of inclination is arranged for portable electron device, the 1st step further comprises:
(1) if the vector sum of the current acceleration that samples component of acceleration on three change in coordinate axis direction in coordinate system greater than default threshold value, and the angle of inclination remains unchanged, determine that then portable electron device remains static, current location is the starting point P of moving process
0, judge mobile beginning;
(2) sampling is at starting point P
0The place acceleration in the horizontal direction component of acceleration ACC_x and the component of acceleration ACC_y on the vertical direction, in moving process the sampling horizontal direction component of acceleration a
xComponent of acceleration a with vertical direction
y
(3) if the vector sum of the acceleration that again samples component of acceleration on three change in coordinate axis direction in coordinate system greater than default threshold value, and the angle of inclination remains unchanged, determine that then portable electron device remains static, current location is the terminal point P of moving process
1, judge mobile end;
(4) according to the component of acceleration a of the horizontal direction that in moving process, samples
xWith at starting point P
0The component of acceleration ACC_x in the horizontal direction that the place samples calculates portable electron device actual displacement d in the horizontal direction
x, according to the component of acceleration a of the vertical direction that in moving process, samples
yWith at starting point P
0The component of acceleration ACC_y of the in the vertical direction that the place samples calculates the actual displacement d of portable electron device in the vertical direction
y, and according to d
xAnd d
yDetermine the actual moving direction of portable electron device.
The invention allows for a kind of portable electron device, comprising:
Acceleration transducer, the acceleration of sampling portable electron device;
Storer, the acceleration of storage acceleration transducer sampling;
Screen shows the regional area of virtual display frame, and wherein the size of virtual display frame is greater than the size of screen;
Processor, connect acceleration transducer, storer and screen, according to portable electron device actual displacement and actual moving direction by the acceleration calculation portable electron device of acceleration transducer sampling in moving process, calculate accordingly displacement and the moving direction of virtual display frame on screen, and mobile virtual display frame on screen.
Among one embodiment of above-mentioned portable electron device, this processor further comprises:
The starting point determining unit is determined the starting point P of the moving process of portable electron device
0
The terminal point P of the moving process of portable electron device is determined in the evaluation of end point unit
1
Electronic installation displacement computing unit, according to store in the storer by the actual displacement of acceleration calculation portable electron device in moving process in the moving process of acceleration transducer sampling;
Electronic installation moving direction determining unit, the actual displacement that obtains according to electronic installation displacement computing unit is determined the actual moving direction of portable electron device;
Virtual display frame displacement computing unit, the formula that calculates the displacement of virtual display frame on screen is: S
x=α * d
x, S
y=β * d
y, S wherein
xAnd S
yBe respectively that virtual display frame moves horizontally distance and vertical displacement on screen, α and β are respectively the parameters of setting, d
xAnd d
yBe respectively portable electron device in the horizontal direction with vertical direction on actual displacement;
Virtual display frame moving direction determining unit, the actual moving direction of the portable electron device that obtains with electronic installation moving direction determining unit is as the moving direction of virtual display frame on screen;
Virtual display frame mobile unit, the moving direction of virtual display frame on screen that the virtual display frame that obtains based on virtual display frame displacement computing unit obtains in the displacement on the screen and virtual display frame moving direction determining unit, mobile virtual display frame on screen.
Among one embodiment of above-mentioned portable electron device, an analog-to-digital conversion module is set between the acceleration transducer that only has the simulated data interface and processor or sets up an analog to digital conversion interface in processor inside.
Among one embodiment of above-mentioned portable electron device, the component of acceleration of the component of acceleration of the current horizontal direction that samples of judgement and vertical direction is all less than default threshold value in the starting point determining unit, determine that then portable electron device remains static, current location is the starting point P of moving process
0, judge mobile beginning; If the component of acceleration of the horizontal direction that judgement samples in the evaluation of end point unit and the component of acceleration of vertical direction, determine then that portable electron device remains static again less than default threshold value, current location is mobile terminal point P
1, judge mobile end; Electronic installation displacement computing unit is according to the component of acceleration a of the horizontal direction that samples in moving process
xCalculate portable electron device actual displacement d in the horizontal direction
x, according to the component of acceleration a of the vertical direction that in moving process, samples
yCalculate the actual displacement d of portable electron device in the vertical direction
yElectronic installation moving direction determining unit according to portable electron device in the horizontal direction with vertical direction on actual displacement d
xAnd d
yDetermine the actual moving direction of portable electron device.
Among one embodiment of above-mentioned portable electron device, if judge in the starting point determining unit that the vector sum of the current acceleration that samples component of acceleration on three change in coordinate axis direction in coordinate system is greater than default threshold value, and the angle of inclination remains unchanged, determine that then portable electron device remains static, current location is the starting point P of moving process
0, judge mobile beginning; If judge in the evaluation of end point unit that the vector sum of the acceleration again the sample component of acceleration on three change in coordinate axis direction in coordinate system is greater than default threshold value, and the angle of inclination remains unchanged, determine that then portable electron device remains static, current location is the terminal point P of moving process
1, judge mobile end; Electronic installation displacement computing unit is according to the component of acceleration a of the horizontal direction that samples in moving process
xWith at starting point P
0The component of acceleration ACC_x in the horizontal direction that the place samples calculates portable electron device actual displacement d in the horizontal direction
x, according to the component of acceleration a of the vertical direction that in moving process, samples
yWith at starting point P
0The component of acceleration ACC_y of the in the vertical direction that the place samples calculates the actual displacement d of portable electron device in the vertical direction
yElectronic installation moving direction determining unit according to portable electron device in the horizontal direction with vertical direction on actual displacement d
xAnd d
yDetermine the actual moving direction of portable electron device.
The present invention contrasts prior art following beneficial effect: technical scheme of the present invention is to come the display position of mobile virtual display frame on screen by the mode of mobile portable electronic installation.Particularly, when the display frame of needs mobile virtual, user's mobile portable electronic installation, portable electron device is sampled in moving process and is moved relevant physical quantity, by this Physical Quantity Calculation total displacement and moving direction, determine displacement and the moving direction of virtual display frame on screen, at last mobile virtual display frame on screen according to displacement and the moving direction of reality again.The contrast prior art, technical scheme of the present invention need not to carry out any button or drag operation, only needs mobile portable electron device once, just can reach the effect of mobile virtual display frame, has simplified user's operation, has promoted user's impression.
Embodiment
The invention will be further described below in conjunction with drawings and Examples.
The first embodiment of the screen display method of portable electron device
Fig. 1 shows the first embodiment of the screen display method of portable electron device of the present invention.See also Fig. 1, the below is the detailed description to each step in the screen display method.In the present embodiment, show on the screen to as if virtual display frame, its size is greater than the physical size of screen, so only shows a regional area of virtual display frame on the screen.The screen display method of the present embodiment is not have moving of angle of inclination for portable electron device, and namely the both sides of portable electron device are parallel with vertical direction with horizontal direction respectively.Establish an acceleration transducer in the portable electron device in the present embodiment, be used for the acceleration on three change in coordinate axis direction (X-axis, Y-axis, Z axis) of coordinate system of sampling moving process, X-direction is exactly horizontal direction in the present embodiment, and Y direction is exactly vertical direction.
Step S100: the starting point P that determines the mobile portable electronic installation
0
Because portable electron device neither one angle of inclination, therefore the acceleration when static is close to 0, and namely the component of acceleration of the component of acceleration of horizontal direction and vertical direction is all close to 0.In the present embodiment, can preset one and be slightly larger than 0 threshold value, judge component of acceleration and the component of acceleration of vertical direction and the relation of threshold value of the current horizontal direction that samples, if both are all less than threshold value, judge that then portable electron device remains static, current location is exactly the starting point P of moving process
0
Step S101: in moving process, acceleration is sampled.
In moving process to the component of acceleration a of horizontal direction
xComponent of acceleration a with vertical direction
ySample.For the acceleration transducer of real-time sampling, the acceleration of sampling is a continuous physical quantity; For the acceleration transducer of non real-time sampling, the acceleration of sampling is a discrete physical quantity.
Step S102: the terminal point P that determines the mobile portable electronic installation
1
The realization of the realization of step S102 and step S100 is the same.When the component of acceleration of the component of acceleration of the horizontal direction that samples and vertical direction during all less than default threshold value, can judge that this moment, portable electron device remained static, current location is exactly the terminal point P of moving process
1
Step S103; Actual displacement and actual moving direction according to the acceleration calculation portable electron device that collects in the moving process.
For the situation of real-time sampling, the computing formula of the actual displacement of portable electron device is:
Wherein t0 represents mobile initial time, d
xPortable electron device actual displacement in the horizontal direction;
Wherein t0 represents mobile initial time, d
yThe actual displacement of portable electron device in the vertical direction.
For the situation of non real-time sampling, the computing formula of the actual displacement of portable electron device is:
Wherein be T
sBe the sampling time, N and n are number of samples, if acceleration a
mBe portable electron device component of acceleration in the horizontal direction, then distance refers to portable electron device actual displacement in the horizontal direction; If acceleration a
mBe the component of acceleration of portable electron device in the vertical direction, then distance refers to the actual displacement of portable electron device in the vertical direction.After the actual displacement on horizontal direction and the vertical direction was determined, actual moving direction had also just been determined.
Fig. 7 shows the moving process of portable electron device.
Step S104: determine displacement and the moving direction of virtual display frame on screen.
The formula that calculates the displacement of virtual display frame on screen is:
S
x=α*d
x,S
y=β*d
y,
S wherein
xAnd S
yBe respectively that virtual display frame moves horizontally distance and vertical displacement on screen, α and β are respectively the parameters of setting, d
xAnd d
yBe respectively portable electron device in the horizontal direction with vertical direction on actual displacement.
The actual moving direction of the moving direction of virtual display frame on screen and portable electron device is consistent.
Step S105: mobile virtual display frame on the screen of portable electron device is presented on the screen another regional area of virtual display frame is stable after mobile the finishing.
The second embodiment of the screen display method of portable electron device
Fig. 2 shows the second embodiment of the screen display method of portable electron device of the present invention.See also Fig. 2, the below is the detailed description to each step in the screen display method.In the present embodiment, show on the screen to as if virtual display frame, its size is greater than the physical size of screen, so only shows a regional area of virtual display frame on the screen.The screen display method of the present embodiment is the movement that has an angle of inclination for portable electron device, namely the both sides of portable electron device have a certain degree with horizontal direction and vertical direction respectively, but angulation remains unchanged in moving process.Establish an acceleration transducer in the portable electron device in the present embodiment, set up three-dimensional system of coordinate take acceleration transducer as benchmark, be used for the acceleration on three change in coordinate axis direction (X-axis, Y-axis, Z axis) of coordinate system of sampling moving process.
Step S200: the starting point P that determines the mobile portable electronic installation
0
Because portable electron device has an angle of inclination, therefore the acceleration when static is gravity acceleration g, has separately the component of the g of acceleration of gravity on the x of acceleration transducer direction of principal axis, y direction of principal axis and z direction of principal axis.In the present embodiment, can preset a threshold value, the component of acceleration of acceleration transducer on x-axis, y-axis and z-axis consists of a vector (a
x, a
y, a
z), if vector (a
x, a
y, a
z) vector sum remain unchanged greater than this threshold value and angle of inclination, judge that then portable electron device remains static, current location is exactly the starting point P of moving process
0Set this threshold value and be for: in ideal conditions, in the situation that static, object only is subject to the impact of acceleration of gravity.Under the actual conditions, the people holds electronic installation and has unavoidably shake, and the acceleration of three coordinate axis is exerted an influence.In order to distinguish shake and normal motion, so set up a threshold value, be normal motion greater than threshold value, then may be shake less than threshold value.For the judgement that the angle of inclination remains unchanged, acceleration is a vector, according to the component on three coordinate axis that obtains, can obtain the angle of vector and three coordinate planes, judges thus whether the angle of inclination changes.
Step S201: at starting point P
0In place and the moving process acceleration is sampled.
At starting point P
0During the place, at starting point P
0The place acceleration in the horizontal direction component of acceleration ACC_x and the component of acceleration ACC_y on the vertical direction sample.
In moving process to the component of acceleration a of horizontal direction
xComponent of acceleration a with vertical direction
ySample.For the acceleration transducer of real-time sampling, the acceleration of sampling is a continuous physical quantity; For the acceleration transducer of non real-time sampling, the acceleration of sampling is a discrete physical quantity.
Step S202: the terminal point P that determines the mobile portable electronic installation
1
The realization of the realization of step S202 and step S200 is the same.If vector (a
x, a
y, a
z) vector sum remain unchanged greater than this threshold value and angle of inclination, judge that then portable electron device remains static, current location is exactly the terminal point P of moving process
1
Step S203: according to starting point P
0The actual displacement of the acceleration calculation portable electron device that collects in place and the moving process.
For the situation of real-time sampling, the computing formula of the actual displacement of portable electron device is:
Wherein t0 represents mobile initial time, and ACC_x is starting point place acceleration of gravity component in the horizontal direction, d
xPortable electron device actual displacement in the horizontal direction;
Wherein t0 represents mobile initial time, and ACC_y is the component of starting point place acceleration of gravity in the vertical direction, d
yThe actual displacement of portable electron device in the vertical direction.
For the situation of non real-time sampling, the computing formula of the actual displacement of portable electron device is:
If acceleration a
mBe portable electron device component of acceleration in the horizontal direction, then acceleration a is starting point place acceleration of gravity component A CC_x in the horizontal direction, and distance refers to portable electron device actual displacement in the horizontal direction; If acceleration a
mBe the component of acceleration of portable electron device in the vertical direction, then a is the component A CC_y of starting point place acceleration of gravity in the vertical direction, and distance refers to the actual displacement of portable electron device in the vertical direction.Determined portable electron device in the horizontal direction with vertical direction on actual displacement after, just can easily determine actual moving direction.
Fig. 7 shows the moving process of portable electron device.
Step S204: determine displacement and the moving direction of virtual display frame on screen.
The formula that calculates the displacement of virtual display frame on screen is:
S
x=α*d
x,S
y=β*d
y,
S wherein
xAnd S
yBe respectively that virtual display frame moves horizontally distance and vertical displacement on screen, α and β are respectively the parameters of setting, d
xAnd d
yBe respectively portable electron device in the horizontal direction with vertical direction on actual displacement.
The actual moving direction of the moving direction of virtual display frame on screen and portable electron device is consistent.
Step S205: mobile virtual display frame on the screen of portable electron device is presented on the screen another regional area of virtual display frame is stable after mobile the finishing.
The first embodiment of portable electron device
Fig. 3 shows the principle of the first embodiment of portable electron device of the present invention.See also Fig. 3, the portable electron device of the present embodiment comprises acceleration transducer 10, processor 11, storer 12 and screen 13.Annexation between them is: connect by digital interface between acceleration transducer 10 and the processor 11, processor 11 is electrically connected with screen 13 and storer 12 respectively.
Acceleration transducer 10 is used for the acceleration of sampling portable electron device, storer 12 is used for the acceleration that 10 samplings of storage acceleration transducer obtain, screen 13 is used for showing the regional area of virtual display frame, and wherein the size of virtual display frame is greater than the size of screen.Processor 11 is according to portable electron device actual displacement and actual moving direction by the acceleration calculation portable electron device of acceleration transducer 10 sampling in moving process, calculate accordingly displacement and the moving direction of virtual display frame on screen 13, and mobile virtual display frame on screen.
The embodiment of processor sees also Fig. 5, and the processor in the present embodiment comprises starting point determining unit, evaluation of end point unit, electronic installation displacement computing unit, electronic installation moving direction determining unit, virtual display frame displacement computing unit, virtual display frame moving direction determining unit and the virtual display frame mobile unit that connects successively.
The function of these unit is respectively in the processor: the starting point determining unit is determined the starting point P of the moving process of portable electron device
0The terminal point P of the moving process of portable electron device is determined in the evaluation of end point unit
1Electronic installation displacement computing unit according to store in the storer by the actual displacement of acceleration calculation portable electron device in moving process in the moving process of acceleration transducer sampling.The actual displacement that electronic installation moving direction determining unit obtains according to electronic installation displacement computing unit is determined the actual moving direction of portable electron device.Virtual display frame displacement computing unit calculates the displacement of virtual display frame on screen.The actual moving direction of the portable electron device that virtual display frame moving direction determining unit obtains with electronic installation moving direction determining unit is as the moving direction of virtual display frame on screen.The moving direction of virtual display frame on screen that the virtual display frame that virtual display frame mobile unit obtains based on virtual display frame displacement computing unit obtains in the displacement on the screen and virtual display frame moving direction determining unit, mobile virtual display frame on screen.
For virtual display frame displacement computing unit, the formula that calculates the displacement of virtual display frame on screen is: S
x=α * d
x, S
y=β * d
y, S wherein
xAnd S
yBe respectively that virtual display frame moves horizontally distance and vertical displacement on screen, α and β are respectively the parameters of setting, d
xAnd d
yBe respectively portable electron device in the horizontal direction with vertical direction on actual displacement.
The function of the processor in the present embodiment realizes being divided into two kinds of situations, and a kind of is the moving process that portable electron device does not have the pitch angle, and another kind is the moving process that portable electron device has the pitch angle.The following realization that processor is discussed respectively according to both of these case.
The first situation: the moving process that does not have the pitch angle for portable electron device.
In the starting point determining unit, because portable electron device neither one angle of inclination, therefore the acceleration when static is close to 0, and namely the component of acceleration of the component of acceleration of horizontal direction and vertical direction is all close to 0.Can preset one and be slightly larger than 0 threshold value, judge component of acceleration and the component of acceleration of vertical direction and the relation of threshold value of the current horizontal direction that samples, if both, judge then that portable electron device remains static all less than threshold value, current location is exactly the starting point P of moving process
0
If the component of acceleration of the horizontal direction that judgement samples in the evaluation of end point unit and the component of acceleration of vertical direction, are then determined the current location of portable electron device again less than default threshold value and are mobile terminal point P
1, judge mobile end.
Electronic installation displacement computing unit is according to the component of acceleration a of the horizontal direction that samples in moving process
xCalculate portable electron device actual displacement d in the horizontal direction
x, according to the component of acceleration a of the vertical direction that in moving process, samples
yCalculate the actual displacement d of portable electron device in the vertical direction
y
Particularly, for the situation of real-time sampling, the computing formula of the actual displacement of portable electron device is:
Wherein t0 represents mobile initial time, d
xPortable electron device actual displacement in the horizontal direction;
Wherein t0 represents mobile initial time, d
yThe actual displacement of portable electron device in the vertical direction.
For the situation of non real-time sampling, the computing formula of the actual displacement of portable electron device is:
If, acceleration a
mBe portable electron device component of acceleration in the horizontal direction, then distance refers to portable electron device actual displacement in the horizontal direction; If acceleration a
mBe the component of acceleration of portable electron device in the vertical direction, then distance refers to the actual displacement of portable electron device in the vertical direction.
Electronic installation moving direction determining unit according to portable electron device in the horizontal direction with vertical direction on actual displacement d
xAnd d
yDetermine the actual moving direction of portable electron device.
The second situation: the moving process that has the pitch angle for portable electron device.
In the starting point determining unit, default threshold value, the component of acceleration of acceleration transducer on x-axis, y-axis and z-axis consists of a vector (a
x, a
y, a
z), if vector (a
x, a
y, a
z) vector sum remain unchanged greater than this threshold value and angle of inclination, judge that then portable electron device remains static, current location is exactly the starting point P of moving process
0Set this threshold value and be for: in ideal conditions, in the situation that static, object only is subject to the impact of acceleration of gravity.Under the actual conditions, the people holds electronic installation and has unavoidably shake, and the acceleration of three coordinate axis is exerted an influence.In order to distinguish shake and normal motion, so set up a threshold value, be normal motion greater than threshold value, then may be shake less than threshold value.For the judgement that the angle of inclination remains unchanged, acceleration is a vector, according to the component on three coordinate axis that obtains, can obtain the angle of vector and three coordinate planes, judges thus whether the angle of inclination changes.
Consist of a vector (a if judge the component of acceleration of acceleration on x-axis, y-axis and z-axis that again samples in the evaluation of end point unit
x, a
y, a
z), if vector (a
x, a
y, a
z) vector sum remain unchanged greater than this threshold value and angle of inclination, judge that then portable electron device remains static, current location is exactly the terminal point P of moving process
1
In the electronic installation displacement computing unit, for the situation of real-time sampling, the computing formula of the actual displacement of portable electron device is:
Wherein t0 represents mobile initial time, and ACC_x is starting point place acceleration of gravity component in the horizontal direction, d
xPortable electron device actual displacement in the horizontal direction;
Wherein t0 represents mobile initial time, and ACC_y is the component of starting point place acceleration of gravity in the vertical direction, d
yThe actual displacement of portable electron device in the vertical direction.
For the situation of non real-time sampling, the computing formula of the actual displacement of portable electron device is:
If acceleration a
mBe portable electron device component of acceleration in the horizontal direction, then acceleration a is starting point place acceleration of gravity component A CC_x in the horizontal direction, and distance refers to portable electron device actual displacement in the horizontal direction; If acceleration a
mBe the component of acceleration of portable electron device in the vertical direction, then a is the component A CC_y of starting point place acceleration of gravity in the vertical direction, and distance refers to the actual displacement of portable electron device in the vertical direction.
Electronic installation moving direction determining unit according to portable electron device in the horizontal direction with vertical direction on actual displacement d
xAnd d
yDetermine the actual moving direction of portable electron device.
The second embodiment of portable electron device
Fig. 4 shows the principle of the second embodiment of portable electron device of the present invention.See also Fig. 4, the portable electron device of the present embodiment comprises acceleration transducer 20, processor 21, storer 22, screen 23 and analog to digital converter 24.Annexation between them is: acceleration transducer 20 is because with simulation output, is to connect by analog to digital converter 24 between itself and the processor 21, and processor 21 is electrically connected with screen 23 and storer 22 respectively.
Acceleration transducer 20 is used for the acceleration of sampling portable electron device, storer 22 is used for the acceleration that 20 samplings of storage acceleration transducer obtain, screen 23 is used for showing the regional area of virtual display frame, and wherein the size of virtual display frame is greater than the size of screen.Processor 21 is according to portable electron device actual displacement and actual moving direction by the acceleration calculation portable electron device of acceleration transducer 20 sampling in moving process, calculate accordingly displacement and the moving direction of virtual display frame on screen 23, and mobile virtual display frame on screen.
The embodiment of processor 21 sees also Fig. 5, and the processor 21 in the present embodiment comprises starting point determining unit, evaluation of end point unit, electronic installation displacement computing unit, electronic installation moving direction determining unit, virtual display frame displacement computing unit, virtual display frame moving direction determining unit and the virtual display frame mobile unit that connects successively.The realization of the unit in the processor 21 is identical with the first embodiment, does not repeat them here.
Inventive point of the present invention is to come mobile virtual display frame by the mode of mobile portable electronic equipment, the present embodiment is by the sampling acceleration, realize according to the means of acceleration calculation displacement, but those skilled in the art as can be known, can also pass through sample rate, the means of calculating displacement according to speed realize.Take which kind of prior art means to realize determining and to limit the scope of the invention of displacement and moving direction.
Above-described embodiment provides to those of ordinary skills and realizes or use of the present invention; those of ordinary skills can be in the situation that do not break away from invention thought of the present invention; above-described embodiment is made various modifications or variation; thereby protection scope of the present invention do not limit by above-described embodiment, and should be the maximum magnitude that meets the inventive features that claims mention.