The present invention relates to a portable terminal having two housings that are foldably connected to each other and also to a display control method for the portable terminal.
Some recent portable terminals include two-screen type terminals having two housings that are foldably connected to each other and that are provided with respective display screens (for example, refer to Patent Literature 1).
Some two-screen type terminals are provided with acceleration sensor that detects the postures of the housings. Applications executed on such two-screen type terminals can perform processes based on the value of the acceleration sensor.
However, from a cost point of view, many two-screen type terminals may be provided with an acceleration sensor located on one of the two housings.
Thus, when an application is executed on a two-screen type terminal based on the values of an acceleration sensor, the application needs to be executed on a housing that is provided with the acceleration sensor.
However, two-screen type terminals can simultaneously operate respective applications on the two housings. Thus, two applications might be simultaneously executed based on the values of the acceleration sensors.
Thus, in the future, applications that are executed on a housing that is not provided with an acceleration sensor would need to perform processes based on the values of the acceleration sensor.
For example, as disclosed in Patent Literature 1, if an angle detection sensor that detects the open angle between two housings is provided, the values of the acceleration sensor can be corrected based on the open angle. Thus, even if an application is executed on a housing that is not provided with the acceleration sensor, the application can perform a process based on the corrected detection values.
However, according to the technique disclosed in Patent Literature 1, since an angle detection sensor need to be newly provided, the cost would rise.
Therefore, an object of the present invention is to provide a portable terminal that can solve the foregoing problem and allows an application executed on a housing that is not provided with an acceleration sensor to perform a process using the values of the acceleration sensor without it being necessary to newly provide an angle detection sensor and also to provide a display control method for the portable terminal.
A portable terminal according to the present invention is a portable terminal having two housings that are foldable about an open axis at which said two housing are connected to each other, comprising:
two display means provided respectively on said two housings;
execution means that is capable of executing an application on each of said two housings;
detection means that is provided on one of said two housings and that detects the posture of the housing that is provided with said detection means;
open angle calculation means that places a first reference point and a second reference point on respective display screens of said two display means such that the spatial distance of said first reference point and said second reference point in a free space is constant, and that calculates the open angle between said two housings based on the length of a perpendicular line drawn from said first reference point to said open axis, the length of a perpendicular line drawn from said second reference point to said open axis, and the length of said spatial distance; and
correction means that corrects a detection value detected by said detection means based on the open angle calculated by said open angle calculation means and notifies an application executed on other housing of the corrected detection value.
A display control method according to the present invention is a display control method for a portable terminal having two housings that are foldably connected to each other, comprising:
providing detection means on one of said two housings, the detection means detecting the posture of the housing that is provided with said detection means,
placing a first reference point and a second reference point on respective display screens of said two display means such that the spatial distance of said first reference point and said second reference point in a free space is constant, and calculating the open angle between said two housings based on the length of a perpendicular line drawn from said first reference point to said open axis, the length of a perpendicular line drawn from said second reference point to said open axis, and the length of said spatial distance; and
correcting a detection value detected by said detection means based on the calculated open angle and notifying an application executed on other housing of the corrected detection value.
According to the present invention, an effect is that an application executed on a housing that is not provided with a detection means that detects the posture of the housing can perform a process based on the detection value of the detection means without it being necessary to newly provide an angle detection sensor, can be obtained.
Next, with reference to the accompanying drawings, an exemplary embodiment of the present invention will be described.
As shown in
Housing 10-1 is provided with display unit 11-1 and touch panel (touch panel type input means) 12-1 that detects touching of display unit 11-1.
Housing 10-2 is provided with display unit 11-2 and touch panel (touch panel type input means) 12-2 that detects touching of display unit 11-2.
In this exemplary embodiment, it is assumed that detection unit 13 (refer to
As shown in
Detection unit 13 is provided on housing 10-1 and is a three-axis acceleration sensor that detects accelerations in directions of the X, Y, and Z axes of housing 10-1. Alternatively, detection unit 13 may be a six-axis sensor that includes a three-axis acceleration sensor and a three-axis magnetic field sensor.
Application execution unit 14 can execute applications on the display screens of display units 11-1 and 11-2.
Control unit 15 controls the operation of portable terminal 1 and has open angle calculation unit 16 and correction unit 17 that are characteristic structural elements of the present invention. In
Open angle calculation unit 16 calculates the open angle θ between two housings 10-1 and 10-2.
Correction unit 17 corrects a detection value, that represents the posture of housing 10-1 and that is detected by detection unit 13, to a detection value that represents the posture of housing 10-2 based on the open angle θ calculated by open angle calculation unit 16 and notifies an application executed on housing 10-2 of the corrected detection value.
Here, with reference to
As shown in
Thereafter, open angle calculation unit 16 obtains the length of the perpendicular line drawn from first reference point A to open axis C along housing 10-1 and the length of the perpendicular line drawn from second reference point B to open axis C along housing 10-2. These lengths can be obtained based on the coordinate positions of first reference point A and second reference point B.
At this point, if portable terminal 1 shown in
Length a of the first side of the triangle corresponds to the length of the perpendicular line drawn from first reference point A to open axis C; length b of the second side of the triangle corresponds to the length of the perpendicular line drawn from second reference point B to open axis C. Although length c of the third side of the triangle corresponds to the length of the spatial distance between first reference point A and second reference point B, this length is constant as mentioned above.
Thus, open angle calculation unit 16 calculates open angle θ between two housings 10-1 and 10-2 based on lengths a, b, and c of the three sides of the foregoing triangle. According to the present invention, the calculation method for the open angle based on the lengths of the three sides of the triangle is not limited, but a known method can be used.
As described above, according to this exemplary embodiment, first reference point A and second reference point B, whose spatial distance in the free space is constant, are placed on the respective display screens of two display units 11-1 and 11-2 and open angle θ between two housings 10-1 and 10-2 is calculated based on them.
Thus, since a detection value that represents the posture of housing 10-1 can be corrected to a detection value that represents the posture of housing 10-2 based on open angle θ calculated by open angle calculation unit 16, an application executed on housing 10-2 can perform a process based on the detection value detected by detection unit 13 without it being necessary to newly provide an angle detection sensor.
Next, working examples that further embody a calculation method for open angle θ between two housings 10-1 and 10-2 will be described.
Next, with reference to a flow chart shown in
As shown in
Thereafter, open angle calculation unit 16 issues a message to the user so as to prompt him or her to notify open angle calculation unit 16 when he or she sees that the length between two moving points m1 and m2 is equal to the length between two fixed points f1 and f2 (at step S12). As a specific example of the issue method, the message may be displayed as a visual message on display unit 11-1 or 11-2 or output as an audio message from a speaker (not shown).
Thereafter, open angle calculation unit 16 changes the shape of figure P such that moving points m1 and m2 gradually approach open axis C while fixed points f1 and f2 are kept fixed until open angle calculation unit 16 is notified by the user (YES at step S13).
Now, it is assumed that when the user notifies open angle calculation unit 16, the shape of figure P has changed as depicted in the lower part of
At this point, since the user sees that the length between moving points m1 and m2 is equal to the length between fixed points f1 and f2, open angle calculation unit 16 sets the length between fixed points f1 and f2 to the length of the spatial distance between first reference point A (moving point m1) and second reference point B (moving point m2) (corresponding to length c shown in
Since lengths a, b, and c of the three sides of the triangle shown in
According to this working example, although it is assumed that figure P is a rhombus, figure P is not limited to this shape, but any shape is suitable, for example, a circle, as long as figure P passes through fixed points f1 and f2 and moving points m1 and m2.
Next, with reference to a flow chart shown in
As shown in
When open angle calculation unit 16 detects the points on two touch panels 12-1 and 12-2 touched with user's two fingers (YES at step S22), open angle calculation unit 16 calculates the length of the distance of the straight line formed by the detected two points in the space (at step S23). This length corresponds to the length of the spatial distance between the tips of the two fingers. When the predetermined open angle is 180 degrees, the length can be easily obtained based on the coordinate positions of the detected two points.
Thereafter, as depicted in the lower part of
When open angle calculation unit 16 detects the points on two touch panels 12-1 and 12-2 touched with the user's two fingers (YES at step S25), open angle calculation unit 16 sets the detected two points to first reference point A and second reference point B. At this point, the lengths of the perpendicular lines drawn from first reference point A and second reference point B to open axis C (corresponding to lengths a and b shown in
At this point, the length of the spatial distance between first reference point A and second reference point B corresponds to the length of the spatial distance between the tips of the two fingers. The length has been calculated at step S23. Thus, open angle calculation unit 16 sets the length calculated at step S23 to the length of the spatial distance between first reference point A and second reference point B (corresponding to length c of
Since lengths a, b, and c of the three sides of the triangle shown in
According to this working example, it is assumed that while two housings 10-1 and 10-2 are placed at the desired open angle, the coordinate positions of two points that the user touches in the direction of open axis C are nearly the same, namely the user touches two points that are nearly perpendicular to open axis C. However, the user may diagonally touch two points due to human error as shown in
Thus, according to this working example, if the user diagonally touches the two points while two housings 10-1 and 10-2 are placed at desired open angle θ, namely the coordinate positions of the detected two points are apart by equal to or greater than a predetermined distance in the direction of open axis C, the length calculated at step S23 might be corrected and open angle θ might be calculated based on the corrected value.
Specifically, a right triangle whose hypotenuse is formed between first reference point A and second reference point B is assumed. In this right triangle, height h between first reference point A and second reference point B in the direction of open axis C can be obtained based on their coordinate positions. In addition, with length c calculated at step S23, length c′ of the base can be obtained.
Thus, if the user diagonally touches two touch panels 12-1 and 12-2, open angle calculation unit 16 corrects length c calculated at step S23 to c′ and calculates open angle θ based on length c′ used as the length of the spatial distance between first reference point A and second reference point B.
Although the user may diagonally touch two touch panels 12-1 and 12-2 at step S22, the length of the two points can be easily obtained based on the coordinate positions of the two touched points as long as the open angle between two housings 10-1 and 10-2 is 180 degrees.
According to this working example, to prevent the user from diagonally touching two touch panels 12-1 and 12-2 while two housings 10-1 and 10-2 are placed at desired open angle θ, as shown in
In this working example, it is assumed that the user touches two touch panels 12-1 and 12-2 with his or her two fingers, index finger and middle finger. According to the present invention, the fingers that touch two touch panels 12-1 and 12-2 are not limited, but may be any fingers.
According to this working example, it was assumed that a touching means that touches touch panels 12-1 and 12-2 is fingers. However, according to the present invention, the touching means is not limited to fingers. For example, the present invention can be applied to the case in which the touching means is a stylus pen having two tips that can be used as pen points.
With reference to the exemplary embodiment and working examples, the present invention has been described. However, it should be understood by those skilled in the art that the structure and details of the present invention may be changed in various manners without departing from the scope of the present invention.
The present application claims a priority based on Japanese Patent Application JP 2010-213793 filed on Sep. 24, 2010, the entire contents of which are incorporated herein by reference in its entirety.
Number | Date | Country | Kind |
---|---|---|---|
2010-213793 | Sep 2010 | JP | national |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/JP2011/058212 | 3/31/2011 | WO | 00 | 2/25/2013 |