CN101587423B - Portable electronic apparatus and screen display method thereof - Google Patents

Portable electronic apparatus and screen display method thereof Download PDF

Info

Publication number
CN101587423B
CN101587423B CN 200910139417 CN200910139417A CN101587423B CN 101587423 B CN101587423 B CN 101587423B CN 200910139417 CN200910139417 CN 200910139417 CN 200910139417 A CN200910139417 A CN 200910139417A CN 101587423 B CN101587423 B CN 101587423B
Authority
CN
China
Prior art keywords
electron device
portable electron
acceleration
screen
component
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.)
Expired - Fee Related
Application number
CN 200910139417
Other languages
Chinese (zh)
Other versions
CN101587423A (en
Inventor
殷利泽
邓川军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Bosch China Investment Ltd
Original Assignee
Bosch China Investment 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 Bosch China Investment Ltd filed Critical Bosch China Investment Ltd
Priority to CN 200910139417 priority Critical patent/CN101587423B/en
Publication of CN101587423A publication Critical patent/CN101587423A/en
Application granted granted Critical
Publication of CN101587423B publication Critical patent/CN101587423B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephone Function (AREA)

Abstract

The invention discloses a portable electronic apparatus and the screen display method thereof, which simplify the movement operation to the virtual displayed image with larger sizes on a smaller screen, and improves user experience. The technical scheme is: the method comprises: step 1, moving the portable electronic apparatus, calculating the real moving distance of the portable electronic apparatus, and determining the real moving direction of the portable electronic apparatus; step 2, determining the moving distance of the virtual displayed image on the screen according to the real moving distance of the portable electronic apparatus, using the real moving direction of the portable electronic apparatus as the moving direction of the virtual displayed image on the screen, and moving the virtual displayed image on the screen of the portable electronic apparatus based on the moving distance and direction of the virtual displayed image on the screen.

Description

A kind of portable electron device and screen display method thereof
Technical field
The present invention relates to a kind of portable electron device and screen display method thereof, the display packing when relating in particular to a kind of size when virtual display frame greater than screen size.
Background technology
The application that portable electron device is just more and more popularized, owing to being subject to the restriction of volume, the screen size of device can not be done too greatly, therefore can often run into the size of object to display (hereinafter referred to as virtual display frame) greater than the situation of screen size.When running into this situation, existing portable electron device adopts usually
The application that portable electron device is just more and more popularized, owing to being subject to the restriction of volume, the screen size of device can not be done too greatly, therefore can often run into the size of object to display (hereinafter referred to as virtual display frame) greater than the situation of screen size, this moment, screen can only show a regional area of virtual display frame.When running into this situation, the user need to move to picture (being also referred to as the navigation operation), just can see other zones of virtual display frame.Existing portable electron device adopts the mode of button navigation and touch navigation to come the zone of mobile virtual display frame usually.Particularly, button navigation refers on portable electron device setting example such as up and down directionkeys, and the user comes the viewing area of mobile virtual display frame on screen by operating these directionkeys.Touch navigation refers to that the user pins virtual display frame at the screen of portable electron device, directly drags virtual display frame at screen, thus the viewing area of mobile virtual display frame on screen.
These two kinds of operations seem all that from the angle that the user experiences some is loaded down with trivial details, convenient not, especially when the size of virtual display frame was far longer than the screen physical size, for example a photo much larger than screen size, the excel much larger than screen size showed etc.In practical operation, user ceaselessly operation push-button carries out the button navigation or drags virtual display frame to carry out touch navigation at screen, and this loaded down with trivial details operation has increased the difficulty of user's operation greatly.
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.
Description of drawings
Fig. 1 is the process flow diagram of the first embodiment of the screen display method of portable electron device of the present invention.
Fig. 2 is the process flow diagram of the second embodiment of the screen display method of portable electron device of the present invention.
Fig. 3 is the block diagram of the first embodiment of portable electron device of the present invention.
Fig. 4 is the block diagram of the second embodiment of portable electron device of the present invention.
Fig. 5 is the block diagram of the embodiment of processor of the present invention.
Fig. 6 is the schematic diagram of the moving process of portable electron device.
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:
d x = ∫ t ∫ 0 a x dtdt , Wherein t0 represents mobile initial time, d xPortable electron device actual displacement in the horizontal direction;
d y = ∫ t ∫ 0 a y dtdt , 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:
d x = ∫ t ∫ 0 ( a x - ACC _ x ) dtdt , 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;
d y = ∫ t ∫ 0 ( a y - ACC _ y ) dtdt , 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:
Figure G2009101394175D00093
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:
d x = ∫ t ∫ 0 a x dtdt , Wherein t0 represents mobile initial time, d xPortable electron device actual displacement in the horizontal direction;
d y = ∫ t ∫ 0 a y dtdt , 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:
Figure G2009101394175D00122
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:
d x = ∫ t ∫ 0 ( a x - ACC _ x ) dtdt , 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;
d y = ∫ t ∫ 0 ( a y - ACC _ y ) dtdt , 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:
Figure G2009101394175D00133
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.

Claims (6)

1. the screen display method of a portable electron device, the size of the virtual display frame of portable electron device be greater than the size of screen, a regional area of the virtual display frame of screen display, and 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
Wherein, 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, and
The moving process that does not have the angle of inclination for portable electron device, 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.
2. the screen display method of portable electron device according to claim 1 wherein, does not have the moving process at angle of inclination for portable electron device, and the 1st step further comprises:
(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.
3. the screen display method of portable electron device according to claim 1 is characterized in that, 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.
4. the screen display method of portable electron device according to claim 3, it is characterized in that, α 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.
5. the screen display method of a portable electron device, the size of the virtual display frame of portable electron device be greater than the size of screen, a regional area of the virtual display frame of screen display, and 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
Wherein, 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, and,
The moving process that has the angle of inclination 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.
6. the screen display method of portable electron device according to claim 5 wherein, has the moving process at angle of inclination for portable electron device, and the 1st step further comprises:
(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.
CN 200910139417 2009-06-16 2009-06-16 Portable electronic apparatus and screen display method thereof Expired - Fee Related CN101587423B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200910139417 CN101587423B (en) 2009-06-16 2009-06-16 Portable electronic apparatus and screen display method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200910139417 CN101587423B (en) 2009-06-16 2009-06-16 Portable electronic apparatus and screen display method thereof

Publications (2)

Publication Number Publication Date
CN101587423A CN101587423A (en) 2009-11-25
CN101587423B true CN101587423B (en) 2013-02-06

Family

ID=41371682

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200910139417 Expired - Fee Related CN101587423B (en) 2009-06-16 2009-06-16 Portable electronic apparatus and screen display method thereof

Country Status (1)

Country Link
CN (1) CN101587423B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101916167A (en) * 2010-08-25 2010-12-15 汉王科技股份有限公司 Method and device for positioning layout page
US8606188B2 (en) * 2010-11-19 2013-12-10 Qualcomm Incorporated Self-positioning of a wireless station
CN102591550A (en) * 2011-01-04 2012-07-18 中国移动通信集团公司 Zoom control method and device of terminal interface contents
JP5782810B2 (en) * 2011-04-22 2015-09-24 ソニー株式会社 Information processing apparatus, information processing method, and program
JP2013084029A (en) 2011-10-06 2013-05-09 Sony Corp Display control device
CN109976458A (en) * 2019-04-29 2019-07-05 努比亚技术有限公司 A kind of map view method, wearable device and computer readable storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101004657A (en) * 2006-01-19 2007-07-25 宏达国际电子股份有限公司 Intuition type screen controller

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101004657A (en) * 2006-01-19 2007-07-25 宏达国际电子股份有限公司 Intuition type screen controller

Also Published As

Publication number Publication date
CN101587423A (en) 2009-11-25

Similar Documents

Publication Publication Date Title
CN101587423B (en) Portable electronic apparatus and screen display method thereof
EP3042275B1 (en) Tilting to scroll
CA2906181C (en) Tilting to scroll
US8994644B2 (en) Viewing images with tilt control on a hand-held device
US8564535B2 (en) Physical model based gesture recognition
JP6081027B2 (en) Tilt motion for scrolling
CN107204044B (en) Picture display method based on virtual reality and related equipment
CN104346083A (en) Display control system and method based on sliding touch operation
CN110956666A (en) Motion data calibration method and device, terminal equipment and storage medium
CN104516699A (en) Image display method and electronic device
CN106445334B (en) Display interface adjusting method and adjusting system
CN109960479A (en) A kind of method and device showing equipment combating vertigo
EP2725469B1 (en) Information-processing device, program, information-processing method, and information-processing system
CN106775093A (en) A kind of contact action control method and device
CN103440048A (en) Method and device for operating client through gravity sensing
CN113888724A (en) Animation display method, device and equipment
CN114116081B (en) Interactive dynamic fluid effect processing method and device and electronic equipment
CN114719883A (en) Step counting method and device
CN108007433A (en) A kind of terminal determines the method and terminal at inclination angle
CN109725729B (en) Image processing method, image control device, display control device, and display device
CN110749336A (en) Pedometer step counting correction method and device and non-temporary computer readable storage medium
EP3739866A1 (en) Information processing device, information processing method, and program
TW201501014A (en) System and method for reducing and rearranging the user interface
CN117709129B (en) Multi-scale simulation method, device, equipment and storage medium
CN116071454A (en) Hairline processing method, device, equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
ASS Succession or assignment of patent right

Owner name: BOSCH (CHINA) INVESTMENT LTD.

Free format text: FORMER OWNER: YIN LIZE

Effective date: 20100323

Free format text: FORMER OWNER: DENG CHUANJUN

C41 Transfer of patent application or patent right or utility model
COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: 201207 SIJIYAYUAN, NO.1983, HUAMU ROAD, PUDONG NEW DISTRICT, SHANGHAI CITY TO: 200120 HOUSE 12, ZHONGYIN BUILDING, NO.200, YINCHENG MIDDLE ROAD, PUDONG, SHANGHAI CITY

TA01 Transfer of patent application right

Effective date of registration: 20100323

Address after: 200120 Shanghai Pudong Silver City Road No. 200 Bank of China Tower, 12 floor

Applicant after: Bosch (China) Investment Ltd.

Address before: 201207 Shanghai Pudong New Area Huamu Road No. 1983 four seasons

Applicant before: Yin Lize

Co-applicant before: Deng Chuanjun

C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20130206

Termination date: 20210616