WO2013031281A1 - 携帯型電子機器、携帯型電子機器の制御方法、プログラム、及び情報記憶媒体 - Google Patents

携帯型電子機器、携帯型電子機器の制御方法、プログラム、及び情報記憶媒体 Download PDF

Info

Publication number
WO2013031281A1
WO2013031281A1 PCT/JP2012/059799 JP2012059799W WO2013031281A1 WO 2013031281 A1 WO2013031281 A1 WO 2013031281A1 JP 2012059799 W JP2012059799 W JP 2012059799W WO 2013031281 A1 WO2013031281 A1 WO 2013031281A1
Authority
WO
WIPO (PCT)
Prior art keywords
electronic device
portable electronic
selection range
state
inclination
Prior art date
Application number
PCT/JP2012/059799
Other languages
English (en)
French (fr)
Inventor
圭祐 松尾
Original Assignee
楽天株式会社
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 楽天株式会社 filed Critical 楽天株式会社
Priority to US14/241,895 priority Critical patent/US9588660B2/en
Publication of WO2013031281A1 publication Critical patent/WO2013031281A1/ja

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04842Selection of displayed objects or displayed text elements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/1633Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
    • G06F1/1684Constructional details or arrangements related to integrated I/O peripherals not covered by groups G06F1/1635 - G06F1/1675
    • G06F1/1694Constructional details or arrangements related to integrated I/O peripherals not covered by groups G06F1/1635 - G06F1/1675 the I/O peripheral being a single or a set of motion sensors for pointer control or gesture input obtained by sensing movements of the portable computer
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/12Details of telephonic subscriber devices including a sensor for measuring a physical value, e.g. temperature or motion
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/22Details of telephonic subscriber devices including a touch pad, a touch sensor or a touch detector
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/70Details of telephonic subscriber devices methods for entering alphabetical characters, e.g. multi-tap or dictionary disambiguation

Definitions

  • the present invention relates to a portable electronic device, a control method for the portable electronic device, a program, and an information storage medium.
  • a portable electronic device including a detection unit that detects a position in a screen instructed by a user is known.
  • a portable electronic device provided with a touch panel is known.
  • a user interface for designating at least a part of a character string displayed on the screen of such a portable electronic device as a selection range a start position and an end position of the selection range by touching the touch panel with a finger
  • a user interface for designating for example, Patent Document 1
  • the character is hidden by the finger, and it may be difficult for the user to understand which character is designated as the end position of the selection range. As a result, it may be difficult for the user to specify a desired character as the end position of the selection range. That is, it may be difficult for the user to specify a desired range as the selection range.
  • the present invention has been made in view of the above problems, and is a portable electronic device and a portable device that can be easily specified by a user using at least a part of a character string displayed on a screen as a selection range.
  • An object of the present invention is to provide an electronic device control method, a program, and an information storage medium.
  • a portable electronic device is a portable electronic device that detects a position within the screen instructed by a display unit that displays a screen including a character string.
  • Pointing position detecting means for detecting, inclination detecting means for detecting the inclination of the portable electronic device, and selection range setting means for setting at least a part of the character string as a selection range
  • the selection range setting means A start position setting means for setting a start position of the selection range based on the user's designated position detected by the designated position detection means; and after the start position of the selection range is set, the inclination And an end position moving means for moving the end position of the selection range based on a detection result by the detecting means.
  • the portable electronic device control method includes a display means for displaying a screen, an indicated position detecting means for detecting a position in the screen instructed by a user, and a tilt of the portable electronic apparatus.
  • An inclination detecting unit that includes a step of displaying a screen including a character string on the display unit, and indicating position information related to the user's specified position from the indicated position detecting unit.
  • the selection The range setting step includes a start position setting step for setting a start position of the selection range based on the designated position information, and the start of the selection range. After the location has been set, characterized in that it comprises a, and the end position moving step of moving, based on the inclination information the end position of the selection.
  • the program according to the present invention includes a display unit that displays a screen, an indication position detection unit that detects a position in the screen instructed by a user, an inclination detection unit that detects an inclination of the portable electronic device, A display control means for displaying a screen containing a character string on the display means, a means for obtaining designated position information regarding the designated position of the user from the designated position detecting means, a portable electronic device comprising: A program that functions as means for acquiring inclination information relating to inclination from the inclination detection means, and selection range setting means for setting at least a part of the character string as a selection range, wherein the selection range setting means includes the selection range setting means, Start position setting means for setting the start position of the selection range based on the indicated position information, and after the start position of the selection range is set There are a program characterized by comprising, an end position moving means for moving, based on the end position of the selected range the inclination information.
  • the information storage medium includes a display unit that displays a screen, an indication position detection unit that detects a position in the screen instructed by a user, and an inclination detection unit that detects an inclination of the portable electronic device.
  • a display control means for displaying a screen containing a character string on the display means, a means for obtaining designated position information relating to the designated position of the user from the designated position detecting means, and the portable electronic device
  • a computer-readable information storage medium storing a program that functions as means for obtaining inclination information relating to the inclination of the device from the inclination detection means, and selection range setting means for setting at least a part of the character string as a selection range
  • the selection range setting means sets a start position of the selection range based on the indicated position information.
  • an end position moving means for moving the end position of the selection range based on the tilt information after the start position of the selection range is set. .
  • the end position moving means may move the end position in a direction corresponding to the tilt direction of the portable electronic device detected by the tilt detecting means.
  • the end position moving unit may set the moving speed of the end position based on the inclination of the portable electronic device detected by the inclination detecting unit. Also good.
  • the end position moving unit may move the end position for each number of characters corresponding to the inclination of the portable electronic device detected by the inclination detecting unit. Good.
  • the end position moving means may move the end position by a predetermined number of characters at each time interval corresponding to the inclination of the portable electronic device.
  • the end position moving unit may change the tilt state of the portable electronic device detected by the tilt detecting unit from the first state to the second state.
  • the tilt state of the portable electronic device changes from the first state to the second state.
  • Means for determining whether the time taken to return to the state in which the difference from the first state is within the predetermined range from the start is within a reference time; and the time is within the reference time
  • Means for moving the end position by one character in a direction corresponding to an inclination direction of the portable electronic device in the second state with respect to the portable electronic device in the first state when it is determined that there is And may include
  • the end position moving unit may change the tilt state of the portable electronic device detected by the tilt detecting unit from the first state to the second state.
  • the inclination state of the portable electronic device changes from the first state to the second state.
  • Means for determining whether the time taken to return to the state in which the difference from the first state is within the predetermined range from the start is within a reference time; and the time is within the reference time If it is determined that there is, the end position is set to the second state in a direction corresponding to a tilt direction of the portable electronic device in the second state with respect to the portable electronic device in the first state.
  • Means for moving only the number of characters corresponding to the magnitude of the inclination with respect to said portable electronic device in the first state may include a.
  • the designated position detection unit is a touch panel
  • the start position setting unit sets the start position based on a position on the touch panel touched by the user, and the end
  • the position setting means moves the end position based on the detection result by the tilt detection means until the user's contact with the touch panel is released.
  • the selection range setting means determines a range from the start position to the end position when the user's contact with the touch panel is released. It may be determined as follows.
  • the user it becomes possible for the user to easily specify at least a part of the character string displayed on the screen as a selection range.
  • FIG. 1 It is a figure which shows an example of the hardware constitutions of the portable electronic device which concerns on embodiment of this invention. It is a figure which shows an example of the external appearance of the portable electronic device which concerns on embodiment of this invention. It is a figure which shows an example of the screen displayed on a display part. It is a figure for demonstrating operation for selecting at least one part of a character string. It is a figure for demonstrating operation for selecting at least one part of a character string. It is a figure for demonstrating operation for selecting at least one part of a character string. It is a figure for demonstrating operation for selecting at least one part of a character string. It is a figure for demonstrating operation for selecting at least one part of a character string. It is a figure for demonstrating operation for selecting at least one part of a character string.
  • the portable electronic device according to the present embodiment is realized by, for example, a mobile phone, a portable information terminal, a portable game machine, or the like.
  • FIG. 1 shows an example of the hardware configuration of the portable electronic device 10 according to the present embodiment
  • FIG. 2 shows an example of the appearance of the portable electronic device 10 according to the present embodiment.
  • the portable electronic device 10 includes a control unit 11, a main storage unit 12, an auxiliary storage unit 13, an attitude detection sensor 14, an operation unit 15, a display unit 16, an audio output unit 17, and a communication unit 18. It has.
  • the control unit 11 includes, for example, one or a plurality of CPUs, and executes information processing according to an operation system or a program stored in the auxiliary storage unit 13.
  • the main storage unit 12 is, for example, a RAM
  • the auxiliary storage unit 13 is, for example, a hard disk or a solid state drive.
  • the program and data are supplied to the auxiliary storage unit 13 via a communication network such as the Internet. That is, the program and data transmitted from the server computer via the communication network are received by the portable electronic device 10 and stored in the auxiliary storage unit 13.
  • the portable electronic device 10 may include an optical disk drive for reading a program and data stored in an optical disk (information storage medium).
  • the program and data may be supplied to the auxiliary storage unit 13 via the optical disk. That is, an optical disk storing programs and data may be loaded into the optical disk drive, and the programs and data stored in the optical disk may be read out by the optical disk drive and stored in the auxiliary storage unit 13.
  • a component for reading a program or data stored in an information storage medium (for example, a memory card) other than the optical disk may be included instead of the optical disk drive.
  • the program and data may be supplied to the auxiliary storage unit 13 via an information storage medium other than the optical disk.
  • the posture detection sensor 14 includes one or more sensors for detecting the posture (tilt) of the portable electronic device 10.
  • the posture detection sensor 14 includes at least one of an acceleration sensor and a gyro sensor. In the following description, it is assumed that both the acceleration sensor and the gyro sensor are built in the portable electronic device 10.
  • the acceleration sensor detects accelerations in three axial directions (X-axis direction, Y-axis direction, and Z-axis direction) orthogonal to each other.
  • the portable electronic device 10 has a rectangular shape
  • the X axis corresponds to the short direction of the portable electronic device 10
  • the Z axis corresponds to the longitudinal direction of the portable electronic device 10. is doing.
  • the Y axis corresponds to the depth direction of the portable electronic device 10.
  • the gyro sensor detects angular velocities of three axes (X-axis direction, Y-axis direction, and Z-axis direction) that are orthogonal to each other. That is, the gyro sensor detects the amount of rotation per unit time when the portable electronic device 10 rotates about the X-axis direction as the rotation axis. That is, the gyro sensor detects the angular velocity in the ⁇ direction shown in FIG. Similarly, the gyro sensor detects the amount of rotation per unit time when the portable electronic device 10 rotates about the Y-axis direction as a rotation axis. That is, the gyro sensor detects the angular velocity in the ⁇ direction shown in FIG.
  • the gyro sensor detects the amount of rotation per unit time when the portable electronic device 10 rotates about the Z-axis direction as the rotation axis. That is, the gyro sensor detects the angular velocity in the ⁇ direction shown in FIG.
  • the control unit 11 determines the attitude (tilt) of the portable electronic device 10 based on the detection result of the attitude detection sensor 14.
  • control unit 11 determines the attitude (tilt) of the portable electronic device 10 based on the detection result of the acceleration sensor. For example, the control unit 11 determines the attitude (tilt) of the portable electronic device 10 based on how gravity acceleration is detected as acceleration in the X-axis direction, the Y-axis direction, and the Z-axis direction.
  • control unit 11 determines the attitude (tilt) of the portable electronic device 10 based on the detection result of the gyro sensor. For example, the control unit 11 determines how much the portable electronic device 10 has rotated about each axis as a rotation axis by integrating the angular velocity of each axis detected by the gyro sensor.
  • the operation unit 15 is for a user to perform an operation.
  • an instruction unit for the user to instruct a position in the screen displayed on the display unit 16 is provided as the operation unit 15.
  • a pointing device such as a touch panel is provided as the operation unit 15.
  • the portable electronic device 10 includes a touch panel provided on the display unit 16 so as to overlap the display unit 16.
  • the touch panel provided in the portable electronic device 10 is a general touch panel, and detects the position touched by the user.
  • a capacitive touch panel is used as the touch panel.
  • the capacitive touch panel one or a plurality of positions touched by the user are detected based on a change in charge generated when the surface of the touch panel is touched by the user.
  • Information indicating the position touched by the user is supplied to the control unit 11 every predetermined time (for example, 1/60 second).
  • the position touched by the user is expressed as a coordinate value in the screen coordinate system, for example.
  • the “screen coordinate system” is a coordinate system in which the upper left vertex of the screen is the origin O, the right direction is the Xs-axis positive direction, and the lower direction is the Ys-axis positive direction (see FIG. 3 described later).
  • the control unit 11 acquires a position touched by the user based on information supplied from the touch panel.
  • the display unit 16 is, for example, a liquid crystal display
  • the audio output unit 17 is, for example, a speaker or a headphone terminal.
  • the communication unit 18 is for the portable electronic device 10 to perform data communication with other devices.
  • the communication unit 18 transmits data to another device in accordance with an instruction from the control unit 11 or supplies data received from another device to the control unit 11.
  • the communication unit 18 also makes a call to another device or a call from another device.
  • the portable electronic device 10 executes various application programs. For example, an application program that displays a character string on the display unit 16 is executed. For example, an application program for referring to text data is executed. FIG. 3 shows an example of a screen displayed on the display unit 16 when the above application program is executed.
  • a user interface is realized so that the user can easily select at least a part of a character string displayed on the screen.
  • this user interface will be described.
  • FIG. 5 shows a case where the portable electronic device 10 is viewed from the upper surface 10U side
  • FIG. 7 shows a case where the portable electronic device 10 is viewed from the left side surface 10L side.
  • the user designates the start position of the selection range 20 by bringing a finger into contact with the touch panel.
  • the character displayed closest to the position touched by the user is recognized as the start position of the selection range 20.
  • the character next to the start position of the selection range 20 is temporarily set as the end position of the selection range 20.
  • the user moves the end position of the selection range 20 to a desired position by changing the tilt of the portable electronic device 10 while keeping the finger in contact with the touch panel.
  • the user wants to move the end position of the selection range 20 to the right, the user places the left side surface 10L of the portable electronic device 10 forward and pulls the right side surface 10R backward, for example, as indicated by an arrow L in FIG.
  • the portable electronic device 10 is tilted.
  • the end position of the selection range 20 moves to the right.
  • the end position of the selection range 20 moves to the start (left end) of the next line.
  • the user wants to move the end position of the selection range 20 to the left, for example, the user takes out the right side surface 10R of the portable electronic device 10 as shown by an arrow R in FIG. Then, the portable electronic device 10 is tilted.
  • the end position of the selection range 20 moves to the left.
  • the end position of the selection range 20 reaches the beginning (left end) of the line, the end position moves to the end (right end) of the previous line.
  • the user tilts the portable electronic device 10 forward (frontward) as indicated by an arrow F in FIG.
  • the portable electronic device 10 is tilted forward, for example, as shown in FIG. 8, the end position of the selection range 20 moves downward.
  • the user can finely adjust the end position by tilting the portable electronic device 10 for a moment (ie, tilting the portable electronic device 10 and immediately returning it to the original state). That is, when the user performs an operation of tilting the portable electronic device 10 and immediately returning it to the original state within a short time (for example, 0.5 seconds), the end position of the selection range 20 is set to the tilt of the portable electronic device 10. Only one character moves in the direction corresponding to the direction. For example, if the user performs an operation of tilting the portable electronic device 10 as indicated by the arrow L in FIG. 5 and immediately returning it to the original state within a short time, the end position of the selection range 20 moves to the right by one character. It is like that.
  • the end position of the selection range 20 is moved downward by one character. It is supposed to be.
  • the user When the end position of the selection range 20 has been moved to the desired position, the user lifts his finger from the touch panel. When the user lifts his / her finger from the touch panel, the selection range 20 is confirmed.
  • a menu showing a plurality of types of processing that can be selected by the user is displayed as processing related to the character string portion set as the selection range 20. For example, a menu indicating a plurality of types of processing such as “copy”, “cut (cut)”, and “delete” is displayed.
  • the selected processing is executed. For example, when “copy” is selected, the character string portion set as the selection range 20 is stored in the clipboard (main storage unit 12). Further, for example, when “Cut” is selected, the character string portion set as the selection range 20 is saved in the clipboard (main storage unit 12) and is erased from the screen. Further, for example, when “delete” is selected, the character string portion set as the selection range 20 is erased from the screen.
  • the user can designate the end position of the selection range 20 by tilting the portable electronic device 10.
  • the user instructs the end position of the selection range 20 by touching the touch panel with a finger
  • the user hides the character by the finger, and the user determines which character is designated as the end position. It may be difficult to grasp.
  • the portable electronic device 10 the above inconvenience does not occur.
  • FIG. 9 is a functional block diagram showing functional blocks related to the present invention among functional blocks realized in the portable electronic device 10 according to the present embodiment.
  • the portable electronic device 10 includes a storage unit 30, a display control unit 32, an indication position detection unit 34, an indication position information acquisition unit 36, an inclination detection unit 38, an inclination information acquisition unit 40, and a selection range setting.
  • a unit 42 and a process execution unit 44 are included.
  • the storage unit 30 is the main storage unit 12 and the auxiliary storage unit 13.
  • the indication position detection unit 34 is an instruction unit (touch panel) for the user to specify a position in the screen
  • the inclination detection unit 38 is the posture detection sensor 14.
  • Other functional blocks are realized by the control unit 11. That is, when the control unit 11 executes processing according to the program, the control unit 11 functions as the other functional block.
  • the storage unit 30 will be described.
  • Various data are stored in the storage unit 30.
  • text data to be displayed on the display unit 16 is stored in the storage unit 30.
  • the setting operation of the selection range 20 is performed (that is, when the screen shown in FIGS. 4, 6, and 8 is displayed, for example), the start position and the end position of the selection range 20 are set.
  • the data shown is stored in the storage unit 30.
  • gripping state data as shown in FIG. 10 is stored in the storage unit 30.
  • the gripping state data shown in FIG. 10 is data indicating whether the user holds the portable electronic device 10 in a vertically long state or a horizontally long state.
  • the gripping state data takes a value of “0” or “1”.
  • the value “0” indicates that the user has the portable electronic device 10 in a vertically long state.
  • the value “1” indicates that the user holds the portable electronic device 10 in the landscape state.
  • the gripping state data is updated based on the detection result of the posture detection sensor 14 by the operating system.
  • the display control unit 32 will be described.
  • the display control unit 32 displays a screen including a character string on the display unit 16.
  • the instruction position detection unit 34 and the instruction position information acquisition unit 36 will be described.
  • the designated position detection unit 34 detects a position in the screen designated by the user.
  • the touch panel corresponds to the designated position detection unit 34
  • the designated position detection unit 34 detects the position on the touch panel touched by the user.
  • the designated position information acquisition unit 36 acquires designated position information related to the position in the screen designated by the user from the designated position detection unit 34.
  • the tilt detection unit 38 detects the tilt of the portable electronic device 10.
  • the posture detection sensor 14 corresponds to the tilt detection unit 38.
  • the tilt information acquisition unit 40 acquires tilt information related to the tilt of the portable electronic device 10 from the tilt detection unit 38.
  • the selection range setting unit 42 will be described.
  • the selection range setting unit 42 sets at least a part of the character string displayed on the screen as the selection range 20.
  • the selection range setting unit 42 includes a start position setting unit 42A and an end position moving unit 42B.
  • the start position setting unit 42A sets the start position of the selection range 20 based on the user's designated position detected by the designated position detection unit 34. In the case of the present embodiment, the start position setting unit 42A sets the start position based on the position on the touch panel touched by the user.
  • the end position moving unit 42B moves the end position of the selection range 20 based on the detection result by the inclination detection unit 38 after the start position of the selection range 20 is set.
  • the end position moving unit 42B determines the end position based on the detection result by the inclination detecting unit 38 until the user's contact with the touch panel is released. Move.
  • the end position moving unit 42B moves the end position based on the tilt direction and the tilt magnitude of the portable electronic device 10.
  • tilt direction of the portable electronic device 10 means the tilt direction of the current posture of the portable electronic device 10 with respect to the reference posture of the portable electronic device 10. That is, “the tilt direction of the portable electronic device 10” means in which direction the current posture of the portable electronic device 10 is tilted from the reference posture.
  • the magnitude of the tilt of the portable electronic device 10 means the magnitude of the tilt of the current posture of the portable electronic device 10 with respect to the reference posture of the portable electronic device 10. That is, “the magnitude of the inclination of the portable electronic device 10” means how much the current posture of the portable electronic device 10 is inclined from the reference posture.
  • the “reference posture” means, for example, the posture of the portable electronic device 10 at a certain time (reference time).
  • the “reference time” is, for example, the time when the touch panel is touched by the user or the time when the start position of the selection range 20 is set.
  • the “reference time point” may be a time point when the portable electronic device 10 is activated or a time point when the application program is activated. Alternatively, when the posture of the portable electronic device 10 is maintained for a predetermined period, the posture at that time may be set as the “reference posture”.
  • the end position moving unit 42B moves the end position in a direction corresponding to the tilt direction of the portable electronic device 10 detected by the tilt detection unit 38.
  • FIG. 11 shows an example of movement direction data.
  • the correspondence relationship between the tilt direction of the portable electronic device 10 and the movement direction of the end position is defined for each gripping state (portrait state or landscape state) of the portable electronic device 10. Has been.
  • the inclination in the ⁇ direction (arrows F and B in FIG. 7) when the portable electronic device 10 is held vertically (in the case of FIGS. 2, 5 and 7) is the end position. It is associated with the up and down movement.
  • rotation (tilt) in the clockwise direction with the X axis as the rotation axis is called “tilt in the positive direction”
  • rotation (tilt) in the counterclockwise direction with the X axis as the rotation axis If this is called “inclination in the negative direction”
  • the inclination of the ⁇ direction in the negative direction (arrow B in FIG. 7) is associated with the upward movement of the end position, and the positive direction in the ⁇ direction (in FIG. 7).
  • the inclination to arrow F) is associated with the downward movement of the end position.
  • the inclination in the ⁇ direction when the gripping state of the portable electronic device 10 is in the horizontally long state is associated with the vertical movement of the end position.
  • the clockwise rotation (tilt) with the Z axis as the rotation axis is referred to as “tilt in the positive direction”
  • the counterclockwise rotation (tilt) with the Z axis as the rotation axis If this is called “inclination in the negative direction”, the inclination in the negative direction in the ⁇ direction is associated with the upward movement of the end position, and the inclination in the positive direction of the ⁇ direction is in the downward movement of the end position. It is matched.
  • the inclination in the ⁇ direction when the gripping state of the portable electronic device 10 is in the vertically long state is associated with the left-right movement of the end position.
  • the clockwise rotation (tilt) with the Z axis as the rotation axis is referred to as “tilt in the positive direction”
  • the counterclockwise rotation (tilt) with the Z axis as the rotation axis If this is called “inclination in the negative direction”, the inclination in the negative direction of the ⁇ direction (arrow L in FIG. 5) is associated with the rightward movement of the end position, and the positive direction in the ⁇ direction (in FIG. 5).
  • the inclination to the arrow R) is associated with the leftward movement of the end position.
  • the inclination in the ⁇ direction when the gripping state of the portable electronic device 10 is the horizontally long state is associated with the left-right movement of the end position.
  • rotation (tilt) in the clockwise direction with the X axis as the rotation axis is called “tilt in the positive direction”
  • rotation (tilt) in the counterclockwise direction with the X axis as the rotation axis If this is called “inclination in the negative direction”, the inclination in the negative direction in the ⁇ direction is related to the rightward movement of the end position, and the inclination in the positive direction of the ⁇ direction is related to the leftward movement of the end position. It is matched.
  • the correspondence relationship between the tilt direction of the portable electronic device 10 and the moving direction of the end position is not limited to the example shown in FIG.
  • the inclination in the ⁇ direction may be associated with the left / right movement of the end position.
  • the end position moving unit 42B acquires the moving direction corresponding to the tilt direction of the portable electronic device 10 based on the moving direction data shown in FIG. Then, the end position moving unit 42B moves the end position in the moving direction.
  • the end position moving unit 42B sets the moving speed of the end position based on the magnitude (degree) of the inclination of the portable electronic device 10 detected by the inclination detecting unit 38.
  • the end position moving unit 42B moves the end position for each number of characters corresponding to the magnitude of the tilt of the portable electronic device 10 detected by the tilt detecting unit 38. That is, the end position moving unit 42B moves the end position by a given number of characters at predetermined time intervals, and the end position moving unit 42B sets the above “number of characters” of the portable electronic device 10. Change based on the magnitude of the slope. In this manner, the end position moving unit 42B changes the moving speed of the end position based on the inclination of the portable electronic device 10.
  • the end position moving unit 42B may move the end position by a predetermined number of characters at each time interval corresponding to the inclination of the portable electronic device 10. That is, the end position moving unit 42B moves the end position by a predetermined number of characters (for example, one character) every given time interval, and the end position moving unit 42B sets the above “time interval” to the portable electronic You may make it change based on the magnitude
  • movement speed data In addition, in order to set the moving speed of the end position based on the magnitude of the inclination of the portable electronic device 10, information on the correspondence relationship between the magnitude of the inclination of the portable electronic device 10 and the moving speed of the end position Is required.
  • the data indicating the correspondence is referred to as “movement speed data”.
  • FIG. 12 shows an example of movement speed data.
  • the magnitude of the inclination of the portable electronic device 10 and the moving speed information of the end position are associated with each other.
  • the moving speed data is set so that the moving speed of the end position increases as the inclination of the portable electronic device 10 increases.
  • in FIG. 12 indicates how much the current posture of the portable electronic device 10 is tilted from the reference posture. That is, the magnitude of the inclination of the portable electronic device 10 with respect to the reference posture is shown.
  • the “movement speed information” in FIG. 12 is set as described below.
  • the information indicating the “number of characters” is set as “movement speed information”.
  • the “number of characters” is set to increase as the inclination of the portable electronic device 10 increases.
  • the information indicating the above “time interval” is set as “movement speed information”. In this case, the “time interval” is set to be shorter as the inclination of the portable electronic device 10 is larger.
  • the end position moving unit 42B sets the end position of the selection range 20 to 1 in the direction corresponding to the tilt direction of the portable electronic device 10 when the user tilts the portable electronic device 10 and immediately returns to the original state. Move by character.
  • the tilt state of the portable electronic device 10 detected by the tilt detection unit 38 changes from the first state (reference posture) to the second state, and from the second state to the first state.
  • the end position moving unit 42B causes the first position after the inclination state of the portable electronic device 10 starts to change from the first state to the second state. It is determined whether the time taken to return to a state where the difference from the state is within a predetermined range is within a reference time. When it is determined that the time is within the reference time, the end position moving unit 42B moves the end position by one character in a direction corresponding to the tilt direction of the portable electronic device 10 in the second state. .
  • the “second state” has a relatively large difference from the first state so that the end position moves one character only when the user intends to finely adjust the end position.
  • the “second state” is a state in which the magnitude of the inclination of the portable electronic device 10 in the second state relative to the portable electronic device 10 in the first state is larger than a reference value. Is done.
  • the “state where the difference from the first state is within a predetermined range” is a state that can be regarded as the first state. It is difficult for the user to return the tilt state of the portable electronic device 10 to exactly the same state as the first state after changing the tilt state of the portable electronic device 10 from the first state to the second state. It is. For this reason, in the portable electronic device 10, after the inclination state of the portable electronic device 10 changes from the first state to the second state, the inclination state of the portable electronic device 10 changes to “the first state”. Is returned to the state where the difference is within a predetermined range, the inclination state of the portable electronic device 10 is regarded as having returned to the first state.
  • the “reference time” is a state in which the difference from the first state is within a predetermined range after the inclination state of the portable electronic device 10 starts to change from the first state to the second state. This time is set to determine whether the time taken to return is short. For this reason, the “reference time” is set to a relatively short time (for example, 0.5 seconds).
  • the “direction corresponding to the tilt direction of the portable electronic device 10 in the second state” refers to the tilt direction of the portable electronic device 10 in the second state with respect to the portable electronic device 10 in the first state. It means that. That is, “the direction corresponding to the tilt direction of the portable electronic device 10 in the second state” means that the portable electronic device 10 in the second state is relative to the portable electronic device 10 in the first state. It means that it is tilted in the direction.
  • the movement direction corresponding to the tilt direction of the portable electronic device 10 in the second state is acquired based on the movement direction data (FIG. 11).
  • the selection range setting unit 42 determines a range from the start position set by the start position setting unit 42A to the end position when the user's contact with the touch panel is released. Confirm as selection.
  • the process execution unit 44 will be described. When at least a part of the character string is set as the selection range, the process execution unit 44 executes a process related to at least a part of the character string.
  • “Processing relating to at least part of character string” is, for example, processing for distinguishing at least part of a character string, and specifically, a display mode (for example, character color or / and background) of at least part of a character string. Color etc.) is different from other parts.
  • a process related to at least a part of a character string is a process of copying, cutting, or deleting at least a part of a character string. That is, “a process related to at least a part of a character string” is a process of saving at least a part of a character string in the clipboard (main storage unit 12), for example.
  • the “process related to at least a part of the character string” is a process of saving at least a part of the character string in the clipboard (main storage unit 12) and deleting it from the screen.
  • a process related to at least a part of a character string is a process of deleting at least a part of a character string from the screen, for example.
  • FIG. 13 is a flowchart showing an example of processing executed by the portable electronic device 10 when the screen as shown in FIG. 3 is displayed, for example.
  • the control unit 11 executes the process shown in FIG. 13 according to the program, the control unit 11 functions as the designated position information acquisition unit 36, the inclination information acquisition unit 40, the selection range setting unit 42, and the process execution unit 44. become.
  • the control unit 11 determines whether or not the touch panel is touched by the user (S101). When it is not determined that the touch panel has been touched by the user, the control unit 11 continues to monitor whether or not the touch panel has been touched by the user. On the other hand, when it determines with the touch panel having been touched by the user, the control part 11 sets the present attitude
  • control unit 11 sets the start position of the selection range 20 (S103). That is, the control unit 11 (instructed position information acquisition unit 36) acquires the specified position information supplied from the touch panel. Then, the control unit 11 (start position setting unit 42A) sets the character displayed closest to the user's designated position (contact position) as the start position of the selection range 20.
  • control unit 11 initializes the end position of the selection range 20 (S104). For example, the control unit 11 initializes the next character after the character set as the start position in step S103 as the end position.
  • control unit 11 (end position moving unit 42B) moves the end position of the selection range 20 (S105).
  • the control unit 11 determines whether or not the attitude of the portable electronic device 10 has changed from the reference attitude. That is, the control unit 11 determines whether or not the portable electronic device 10 is tilted from the reference posture. For example, the control unit 11 determines how much the current posture of the portable electronic device 10 is tilted in which direction with respect to the reference posture based on the detection result of the gyro sensor. A known method may be used as a method for determining how much the current posture of the portable electronic device 10 is tilted in which direction with respect to the reference posture based on the detection result of the gyro sensor.
  • first reference value a reference value
  • the control unit 11 determines that the posture of the portable electronic device 10 has changed from the reference posture. judge. That is, when the magnitude of the inclination from the reference posture is not larger than the first reference value, the control unit 11 determines that the posture of the portable electronic device 10 has not changed from the reference posture. It is difficult for the user to keep holding the portable electronic device 10 in the same posture, and even when the user does not intend to tilt the portable electronic device 10, the posture of the portable electronic device 10 changes. May end up.
  • control unit 11 executes, for example, a process as illustrated in FIG. 14 as a process for moving the end position of the selection range 20.
  • control unit 11 determines whether or not the attitude of the portable electronic device 10 has returned to the reference attitude (S201).
  • the detection result of the gyro sensor acquired every predetermined time is stored in the main storage unit 12 (or the auxiliary storage unit 13). Then, the control unit 11 integrates the angular velocity for each axis, so that the current posture of the portable electronic device 10 is tilted in each direction ( ⁇ direction, ⁇ direction, and ⁇ direction) with respect to the reference posture. Judge whether there is.
  • the control unit 11 when the current posture of the portable electronic device 10 returns to a posture in which the difference from the reference posture is within a predetermined range, the control unit 11 considers that the posture of the portable electronic device 10 has returned to the reference posture. In other words, when the current posture of the portable electronic device 10 returns to a posture in which the magnitude of the inclination from the reference posture is equal to or less than the reference value (hereinafter referred to as “second reference value”), the control unit 11. Assumes that the attitude of the portable electronic device 10 has returned to the reference attitude. Since it is difficult for the user to return the posture of the portable electronic device 10 to the same posture as the reference posture, such a determination is made. Note that the second reference value in this case is set to a value smaller than the first reference value described above.
  • step S201 when it is not determined that the posture of the portable electronic device 10 has returned to the reference posture, the control unit 11 determines the elapsed time since it was determined that the posture of the portable electronic device 10 has changed from the reference posture. It is determined whether it is within a reference time (for example, 0.5 seconds) (S202). When it is determined that the elapsed time is within the reference time, the control unit 11 re-executes the process of step S201.
  • a reference time for example, 0.5 seconds
  • step S201 when it is determined in step S201 that the posture of the portable electronic device 10 has returned to the reference posture, the user takes the posture of the portable electronic device 10 for a relatively short time (for example, a time within 0.5 seconds). It ’s just like tilting.
  • the control unit 11 acquires movement direction information of the end position of the selection range 20 (S206). For example, the control unit 11 determines how much the posture of the portable electronic device 10 is inclined in each direction ( ⁇ direction, ⁇ direction, and ⁇ direction) from the reference posture at the time when the magnitude of the inclination is the largest from the reference posture. Judge whether it was. And the control part 11 acquires the moving direction information of the end position corresponding to the determination result based on holding
  • step S202 when it is not determined in step S202 that the elapsed time is within the reference time (for example, 0.5 seconds), the user keeps the posture of the portable electronic device 10 for a relatively long time (for example, 0. 0). This is a case of tilting over a period longer than 5 seconds.
  • the reference time for example, 0.5 seconds
  • the control unit 11 acquires movement direction information and movement speed information of the end position of the selection range 20 (S203). For example, the control unit 11 determines how much the current posture of the portable electronic device 10 is tilted in each direction ( ⁇ direction, ⁇ direction, and ⁇ direction) from the reference posture. And the control part 11 acquires the moving direction information of the end position corresponding to the determination result based on grip state data (FIG. 10) and moving direction data (FIG. 11). Moreover, the control part 11 acquires the moving speed information of the end position corresponding to the determination result based on grip state data (FIG. 10) and moving speed data (FIG. 12).
  • control unit 11 moves the end position of the selection range 20 based on the movement direction information and the movement speed information acquired in step S203 (S204). That is, the control unit 11 moves the end position of the selection range 20 in the direction indicated by the movement direction information acquired in step S203 at the movement speed indicated by the movement speed information acquired in step S203.
  • the control unit 11 repeatedly executes the processes of steps S203 and S204 until the attitude of the portable electronic device 10 returns to the reference attitude. That is, after the process of step S204 is executed, the control unit 11 determines whether or not the attitude of the portable electronic device 10 has returned to the reference attitude (S205). The process of step S205 is the same as that of step S201. When it is determined that the posture of the portable electronic device 10 has not returned to the reference posture, the control unit 11 re-executes the process of step S203. On the other hand, when it is determined that the posture of the portable electronic device 10 has returned to the reference posture, the processing illustrated in FIG. 14 ends.
  • the process for moving the end position of the selection range 20 is not limited to the process shown in FIG.
  • steps S203 to The process of S205 was to be executed.
  • the processing in steps S203 to S205 may be executed immediately. That is, you may make it abbreviate
  • step S205 when it is determined in step S205 that the attitude of the portable electronic device 10 has returned to the reference attitude, the control unit 11 starts until the attitude of the portable electronic device 10 starts to change from the reference attitude until it returns to the reference attitude. It is determined whether or not the time taken for is within a reference time (for example, 0.5 seconds). When it is determined that the above time is within the reference time, the control unit 11 resets the movement of the end position performed by the processes of steps S203 to S205. That is, the control unit 11 returns the end position of the selection range 20 to the end position when the attitude of the portable electronic device 10 starts to change from the reference attitude. Thereafter, the control unit 11 performs the same processing as the processing of steps S206 and S207, and moves the end position of the selection range 20 by one character in a direction corresponding to the tilt direction of the portable electronic device 10.
  • a reference time for example, 0.5 seconds
  • the movement control of the end position of the selection range 20 can be performed in the same manner as the processing shown in FIG.
  • step S105 the control unit 11 determines whether or not the user's contact with the touch panel has been released based on the designated position information supplied from the touch panel ( S106).
  • the control unit 11 performs the touch panel operation. It is determined that the contact with is released.
  • control unit 11 continues the processes of steps S105 and S106. On the other hand, when it determines with the contact with a touch panel having been cancelled
  • control unit 11 selection range setting unit 42
  • the control unit 11 is a part from the start position set in step S103 to the end position when the touch on the touch panel is released. Is determined as the selection range 20 (S107).
  • control unit 11 executes a process related to the character string portion set as the selection range 20 (S108). For example, the control unit 11 displays a menu for requesting the user to select one of a plurality of types of processing (for example, copy, cut, or delete) on the screen. And the control part 11 performs the process selected by the user by making the character string part set as the selection range 20 into a process target. For example, when “copy” is selected, the control unit 11 stores the character string portion set as the selection range 20 in the clipboard (main storage unit 12). Further, for example, when “Cut” is selected, the control unit 11 saves the character string portion set as the selection range 20 in the clipboard (main storage unit 12) and deletes it from the screen. For example, when “delete” is selected, the control unit 11 deletes the character string portion set as the selection range 20 from the screen.
  • a process related to the character string portion set as the selection range 20 S108. For example, the control unit 11 displays a menu for requesting the user to select one of a
  • the control unit 11 When a process to be executed is determined in advance, the control unit 11 performs the process on the character string portion set as the selection range 20 without displaying the menu as described above. May be. For example, when “cut” is predetermined as a process to be executed, the control unit 11 displays the character string portion set as the selection range 20 on the clipboard (main storage unit 12 without displaying the menu as described above. ) And may be deleted from the screen. This is the end of the description of the processing illustrated in FIG.
  • the end position of the selection range 20 can be designated by the user tilting the portable electronic device 10.
  • the user instructs the end position of the selection range 20 by touching the touch panel with a finger
  • the user hides the character by the finger, and the user determines which character is designated as the end position. It may be difficult to grasp.
  • the portable electronic device 10 such inconvenience does not occur, and the user can easily specify the end position of the selection range 20.
  • the user can specify the moving speed of the end position of the selection range 20 by adjusting the magnitude (degree) of the inclination of the portable electronic device 10. According to the portable electronic device 10, such a configuration makes it easier for the user to specify the end position of the selection range 20.
  • the user can finely adjust the end position of the selection range 20 by tilting the portable electronic device 10 for a relatively short time (for example, a time within 0.5 seconds). .
  • a relatively short time for example, a time within 0.5 seconds.
  • the user touches the finger (for example, thumb) of the hand holding the portable electronic device 10 with a touch panel.
  • the start position of the selection range 20 can be specified by touching and the end position of the selection range 20 can be specified by tilting the portable electronic device 10. That is, the user can specify the selection range 20 using only the hand holding the portable electronic device 10.
  • the user when the user is standing in a train or the like, the user needs to use the portable electronic device 10 by holding the portable electronic device 10 with the other hand while holding the strap or the like with one hand.
  • the portable electronic device 10 since the user can specify the selection range 20 using only the hand holding the portable electronic device 10, the user can select even in the above case.
  • the range 20 can be easily specified.
  • the position that the user wants to specify as the start position of the selection range and the position that the user wants to specify as the end position of the selection range The user can easily specify the selection range using only the hand holding the portable electronic device no matter what the positional relationship is.
  • the selection range when such an operation is adopted, it may be difficult to specify the selection range using only the hand of the portable electronic device.
  • first position the position that the user wants to designate as the start position of the selection range
  • second position Indicates the first position with one finger (eg, thumb) of the hand holding the portable electronic device, and the second position with the other finger (eg, index finger, middle finger, ring finger, or little finger). This is because it may be difficult.
  • the position that the user wants to specify as the start position of the selection range and the position that the user wants to specify as the end position of the selection range The user can easily specify the selection range using only the hand holding the portable electronic device no matter what the positional relationship is.
  • control unit 11 may acquire the movement amount information of the end position together with the movement direction information of the end position of the selection range 20.
  • control unit 11 determines how much the attitude of the portable electronic device 10 at the time when the magnitude of the inclination is the largest from the reference attitude in each direction ( ⁇ direction, ⁇ direction, and ⁇ direction) from the reference attitude. Judgment is made. And the control part 11 acquires the moving direction information of the end position corresponding to the determination result based on holding
  • control unit 11 acquires movement amount information of the end position corresponding to the determination result based on the gripping state data (FIG. 10) and the movement speed data (FIG. 12).
  • the “movement speed information” in the movement speed data shown in FIG. 12 is information indicating the movement amount of the end position. That is, the “movement speed information” is information indicating how many characters the end position is to be moved.
  • step S207 the control unit 11 (end position moving unit 42B) sets the end position of the selection range 20 in the direction indicated by the moving direction information acquired in step S206, and the amount of movement information acquired in step S206. Move by the indicated amount of movement (for the number of characters).
  • control unit 11 displays an image for selecting one of a plurality of types of processing on the screen. You may make it do.
  • FIG. 15 shows an example of the screen in this case.
  • a menu 22 for selecting either “copy” or “cut” is displayed on the screen.
  • the display position of the menu 22 is set based on the user's designated position (contact position). That is, the menu 22 is displayed near the user's designated position (the start position of the selection range 20).
  • the user selects a finger touching the touch panel (that is, a finger touched to the touch panel to specify the start position of the selection range 20) from the menu. 22 is slid on the touch panel to a region where a desired process is displayed. Then, after that, the user removes his / her finger from the touch panel.
  • the control unit 11 When the touch on the touch panel is released, the control unit 11 indicates that the user's designated position (contact position) immediately before the touch on the touch panel is released corresponds to a plurality of types of processing displayed on the menu 22. It is determined whether it is included in any one of the plurality of determination areas set as described above. When the user's designated position (contact position) immediately before the touch on the touch panel is released is included in any one of the determination areas, the control unit 11 executes processing corresponding to the determination area. For example, when the user's designated position immediately before the touch on the touch panel is released is included in the determination region corresponding to “cut”, the control unit 11 displays the character string portion set as the selection range 20 on the clipboard. The data is saved in the (main storage unit 12) and deleted from the screen.
  • the user can easily select the contents of the processing related to the character string portion set as the selection range 20.
  • the attitude (tilt) of the portable electronic device 10 is determined mainly based on the detection result of the gyro sensor. May be determined based on the detection result of the acceleration sensor.
  • a known method may be used as a method for determining the attitude of the portable electronic device 10 based on the detection result of the acceleration sensor.
  • the acceleration sensor is affected by acceleration or deceleration of the train or the like, and the accuracy of determining the posture (tilt) of the portable electronic device 10 is reduced. There is. In this respect, if a gyro sensor is used, it will not be affected as such.
  • text data may be displayed on the screen displayed on the display unit 16 every predetermined number of pages (for example, one page).
  • the start position of the selection range 20 reaches the end of the page displayed on the screen, the next page is displayed on the screen and the end position is moved to the top of the next page. do it.
  • the present invention can also be applied to the portable electronic device 10 in which data including text data and image data is displayed on the screen.
  • the present invention can be applied to the portable electronic device 10 in which HTML data is displayed on the screen. That is, the present invention can also be applied to the case where the user can select at least a part of the text portion (character string portion) of the HTML data.
  • FIG. 3 and the like show an example in which alphabets and numbers are displayed on the screen, but the present invention is a portable electronic device in which characters other than alphabets and numbers are displayed on the screen. 10 can also be applied. That is, the present invention can also be applied to the portable electronic device 10 in which hiragana, katakana, and kanji are displayed on the screen. Further, the present invention can also be applied to the portable electronic device 10 in which characters (for example, simplified characters, traditional characters, or Korean characters) corresponding to a language other than Japanese are displayed on the screen.
  • characters for example, simplified characters, traditional characters, or Korean characters

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Human Computer Interaction (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • User Interface Of Digital Computer (AREA)
  • Telephone Function (AREA)
  • Position Input By Displaying (AREA)

Abstract

 画面に表示される文字列の少なくとも一部を選択範囲としてユーザが指定し易くなるようにすることが可能な携帯型電子機器を提供する。表示部(16)は文字列を含む画面を表示する。指示位置検出部(34)は、ユーザによって指示された画面内の位置を検出する。傾き検出部(38)は携帯型電子機器の傾きを検出する。選択範囲設定部(42)は文字列の少なくとも一部を選択範囲として設定する。開始位置設定部(42A)は、指示位置検出部(34)によって検出されたユーザの指示位置に基づいて、選択範囲の開始位置を設定する。終了位置移動部(42B)は、選択範囲の開始位置が設定された後において、傾き検出部(38)による検出結果に基づいて、選択範囲の終了位置を移動させる。

Description

携帯型電子機器、携帯型電子機器の制御方法、プログラム、及び情報記憶媒体
 本発明は携帯型電子機器、携帯型電子機器の制御方法、プログラム、及び情報記憶媒体に関する。
 ユーザが指示した画面内の位置を検出する検出部を備えた携帯型電子機器が知られている。例えば、タッチパネルを備えた携帯型電子機器が知られている。従来、このような携帯型電子機器の画面に表示される文字列の少なくとも一部を選択範囲として指定するためのユーザインタフェースとしては、タッチパネルに指を接触させることによって選択範囲の開始位置及び終了位置を指定するようなユーザインタフェースが知られている(例えば特許文献1)。
特開2009-205304号公報
 しかしながら、上記のようなユーザインタフェースでは、指によって文字が隠されてしまい、どの文字が選択範囲の終了位置として指定されているのかをユーザが分かり難くなってしまう場合がある。その結果、ユーザが選択範囲の終了位置として所望の文字を指定し難くなってしまう場合がある。すなわち、ユーザが選択範囲として所望の範囲を指定し難くなってしまう場合がある。
 本発明は上記課題に鑑みてなされたものであって、画面に表示される文字列の少なくとも一部を選択範囲としてユーザが指定し易くなるようにすることが可能な携帯型電子機器、携帯型電子機器の制御方法、プログラム、及び情報記憶媒体を提供することにある。
 上記課題を解決するために、本発明に係る携帯型電子機器は、携帯型電子機器であって、文字列を含む画面を表示する表示手段と、ユーザによって指示された前記画面内の位置を検出する指示位置検出手段と、前記携帯型電子機器の傾きを検出する傾き検出手段と、前記文字列の少なくとも一部を選択範囲として設定する選択範囲設定手段と、を含み、前記選択範囲設定手段は、前記指示位置検出手段によって検出された前記ユーザの指示位置に基づいて、前記選択範囲の開始位置を設定する開始位置設定手段と、前記選択範囲の前記開始位置が設定された後において、前記傾き検出手段による検出結果に基づいて、前記選択範囲の終了位置を移動させる終了位置移動手段と、を含むことを特徴とする。
 また、本発明に係る携帯型電子機器の制御方法は、画面を表示する表示手段と、ユーザによって指示された前記画面内の位置を検出する指示位置検出手段と、携帯型電子機器の傾きを検出する傾き検出手段と、を含む携帯型電子機器の制御方法であって、文字列を含む画面を前記表示手段に表示させるステップと、前記ユーザの指示位置に関する指示位置情報を前記指示位置検出手段から取得するステップと、前記携帯型電子機器の傾きに関する傾き情報を前記傾き検出手段から取得するステップと、前記文字列の少なくとも一部を選択範囲として設定する選択範囲設定ステップと、を含み、前記選択範囲設定ステップは、前記選択範囲の開始位置を前記指示位置情報に基づいて設定する開始位置設定ステップと、前記選択範囲の前記開始位置が設定された後において、前記選択範囲の終了位置を前記傾き情報に基づいて移動させる終了位置移動ステップと、を含むことを特徴とする。
 また、本発明に係るプログラムは、画面を表示する表示手段と、ユーザによって指示された前記画面内の位置を検出する指示位置検出手段と、携帯型電子機器の傾きを検出する傾き検出手段と、を含む携帯型電子機器を、文字列を含む画面を前記表示手段に表示させる表示制御手段、前記ユーザの指示位置に関する指示位置情報を前記指示位置検出手段から取得する手段、前記携帯型電子機器の傾きに関する傾き情報を前記傾き検出手段から取得する手段、及び、前記文字列の少なくとも一部を選択範囲として設定する選択範囲設定手段、として機能させるプログラムであって、前記選択範囲設定手段は、前記選択範囲の開始位置を前記指示位置情報に基づいて設定する開始位置設定手段と、前記選択範囲の前記開始位置が設定された後において、前記選択範囲の終了位置を前記傾き情報に基づいて移動させる終了位置移動手段と、を含むことを特徴とするプログラムである。
 また、本発明に係る情報記憶媒体は、画面を表示する表示手段と、ユーザによって指示された前記画面内の位置を検出する指示位置検出手段と、携帯型電子機器の傾きを検出する傾き検出手段と、を含む携帯型電子機器を、文字列を含む画面を前記表示手段に表示させる表示制御手段、前記ユーザの指示位置に関する指示位置情報を前記指示位置検出手段から取得する手段、前記携帯型電子機器の傾きに関する傾き情報を前記傾き検出手段から取得する手段、及び、前記文字列の少なくとも一部を選択範囲として設定する選択範囲設定手段、として機能させるプログラムを記録したコンピュータ読み取り可能な情報記憶媒体であって、前記選択範囲設定手段は、前記選択範囲の開始位置を前記指示位置情報に基づいて設定する開始位置設定手段と、前記選択範囲の前記開始位置が設定された後において、前記選択範囲の終了位置を前記傾き情報に基づいて移動させる終了位置移動手段と、を含むことを特徴とする情報記憶媒体である。
 また、本発明の一態様では、前記終了位置移動手段は、前記傾き検出手段によって検出される前記携帯型電子機器の傾き方向に対応する方向に前記終了位置を移動させるようにしてもよい。
 また、本発明の一態様では、前記終了位置移動手段は、前記傾き検出手段によって検出される前記携帯型電子機器の傾きの大きさに基づいて、前記終了位置の移動速度を設定するようにしてもよい。
 また、本発明の一態様では、前記終了位置移動手段は、前記傾き検出手段によって検出される前記携帯型電子機器の傾きの大きさに対応する文字数ごとに前記終了位置を移動させるようにしてもよい。
 また、本発明の一態様では、前記終了位置移動手段は、前記携帯型電子機器の傾きの大きさに対応する時間間隔ごとに、前記終了位置を所定の文字数分移動させるようにしてもよい。
 また、本発明の一態様では、前記終了位置移動手段は、前記傾き検出手段によって検出される前記携帯型電子機器の傾きの状態が第1の状態から第2の状態まで変化し、該第2の状態から、前記第1の状態との差が所定範囲内である状態に戻った場合に、前記携帯型電子機器の傾きの状態が前記第1の状態から前記第2の状態へと変化し始めてから、前記第1の状態との差が前記所定範囲内である前記状態に戻るまでにかかった時間が基準時間以内であるか否かを判定する手段と、前記時間が前記基準時間以内であると判定された場合、前記第2の状態における前記携帯型電子機器の、前記第1の状態における前記携帯型電子機器に対する傾き方向に対応する方向に、前記終了位置を1文字だけ移動させる手段と、を含むようにしてもよい。
 また、本発明の一態様では、前記終了位置移動手段は、前記傾き検出手段によって検出される前記携帯型電子機器の傾きの状態が第1の状態から第2の状態まで変化し、該第2の状態から、前記第1の状態との差が所定範囲内である状態まで戻った場合に、前記携帯型電子機器の傾きの状態が前記第1の状態から前記第2の状態へと変化し始めてから、前記第1の状態との差が前記所定範囲内である前記状態に戻るまでにかかった時間が基準時間以内であるか否かを判定する手段と、前記時間が前記基準時間以内であると判定された場合、前記第2の状態における前記携帯型電子機器の、前記第1の状態における前記携帯型電子機器に対する傾き方向に対応する方向に、前記終了位置を、前記第2の状態における前記携帯型電子機器の、前記第1の状態における前記携帯型電子機器に対する傾きの大きさに対応する文字数だけ移動させる手段と、を含むようにしてもよい。
 また、本発明の一態様では、前記指示位置検出手段はタッチパネルであり、前記開始位置設定手段は、前記ユーザによって接触された前記タッチパネル上の位置に基づいて、前記開始位置を設定し、前記終了位置設定手段は、前記タッチパネルが前記ユーザによって接触された場合、前記タッチパネルへの前記ユーザの接触が解除されるまでの間、前記傾き検出手段による検出結果に基づいて、前記終了位置を移動させ、前記選択範囲設定手段は、前記タッチパネルへの前記ユーザの接触が解除された場合、前記開始位置から、前記タッチパネルへの前記ユーザの接触が解除された時点における前記終了位置までの範囲を前記選択範囲として確定するようにしてもよい。
 本発明によれば、画面に表示される文字列の少なくとも一部を選択範囲としてユーザが指定し易くなるようにすることが可能になる。
本発明の実施形態に係る携帯型電子機器のハードウェア構成の一例を示す図である。 本発明の実施形態に係る携帯型電子機器の外観の一例を示す図である。 表示部に表示される画面の一例を示す図である。 文字列の少なくとも一部を選択するための操作について説明するための図である。 文字列の少なくとも一部を選択するための操作について説明するための図である。 文字列の少なくとも一部を選択するための操作について説明するための図である。 文字列の少なくとも一部を選択するための操作について説明するための図である。 文字列の少なくとも一部を選択するための操作について説明するための図である。 本発明の実施形態に係る携帯型電子機器の機能ブロック図である。 把持状態データの一例を示す図である。 移動方向データの一例を示す図である。 移動速度データの一例を示す図である。 情報処理装置で実行される処理の一例を示すフロー図である。 情報処理装置で実行される処理の一例を示すフロー図である。 表示部に表示される画面の他の一例を示す図である。
 以下、本発明の実施形態の例について図面に基づき詳細に説明する。
 本実施形態に係る携帯型電子機器は、例えば携帯電話機、携帯情報端末、又は携帯ゲーム機等によって実現される。図1は、本実施形態に係る携帯型電子機器10のハードウェア構成の一例を示しており、図2は、本実施形態に係る携帯型電子機器10の外観の一例を示している。
 図1に示すように、携帯型電子機器10は、制御部11、主記憶部12、補助記憶部13、姿勢検出センサ14、操作部15、表示部16、音声出力部17、及び通信部18を備えている。制御部11は例えば1又は複数のCPUを含み、補助記憶部13に記憶されたオペレーションシステム又はプログラムに従って情報処理を実行する。主記憶部12は例えばRAMであり、補助記憶部13は例えばハードディスク又はソリッドステートドライブである。
 例えば、プログラムやデータはインターネット等の通信ネットワークを介して補助記憶部13に供給される。すなわち、サーバコンピュータから通信ネットワークを介して送信されたプログラムやデータが携帯型電子機器10において受信され、補助記憶部13に記憶される。なお、携帯型電子機器10は、光ディスク(情報記憶媒体)に記憶されたプログラムやデータを読み取るための光ディスクドライブを含むようにしてもよい。そして、プログラムやデータが光ディスクを介して補助記憶部13に供給されるようにしてもよい。すなわち、プログラムやデータが記憶された光ディスクが光ディスクドライブに装着され、光ディスクに記憶されたプログラムやデータが光ディスクドライブによって読み出され、補助記憶部13に記憶されるようにしてもよい。または、光ディスク以外の情報記憶媒体(例えばメモリカード)に記憶されたプログラム又はデータを読み取るための構成要素が光ディスクドライブの代わりに含まれるようにしてもよい。そして、光ディスク以外の情報記憶媒体を介してプログラムやデータが補助記憶部13に供給されるようにしてもよい。
 姿勢検出センサ14は、携帯型電子機器10の姿勢(傾き)を検出するための一又は複数のセンサを含む。例えば、姿勢検出センサ14は加速度センサ及びジャイロセンサの少なくとも一方を含む。以下では、加速度センサ及びジャイロセンサの両方が携帯型電子機器10に内蔵されていることとして説明する。
 例えば、加速度センサは互いに直交する三つの軸方向(X軸方向、Y軸方向、及びZ軸方向)の加速度を検出する。図2に示すように、携帯型電子機器10は矩形形状を有しており、X軸は携帯型電子機器10の短手方向に対応し、Z軸は携帯型電子機器10の長手方向に対応している。また、Y軸は携帯型電子機器10の奥行き方向に対応している。
 また例えば、ジャイロセンサは互いに直交する三つの軸(X軸方向、Y軸方向、及びZ軸方向)の角速度を検出する。すなわち、ジャイロセンサは、携帯型電子機器10がX軸方向を回転軸として回転した場合の単位時間当たりの回転量を検出する。つまり、ジャイロセンサは図2に示すα方向の角速度を検出する。同様に、ジャイロセンサは、携帯型電子機器10がY軸方向を回転軸として回転した場合の単位時間当たりの回転量を検出する。つまり、ジャイロセンサは図2に示すβ方向の角速度を検出する。さらに、ジャイロセンサは、携帯型電子機器10がZ軸方向を回転軸として回転した場合の単位時間当たりの回転量を検出する。つまり、ジャイロセンサは図2に示すγ方向の角速度を検出する。
 姿勢検出センサ14の検出結果を示す情報は所定時間(例えば1/60秒)ごとに制御部11に供給される。制御部11は姿勢検出センサ14の検出結果に基づいて携帯型電子機器10の姿勢(傾き)を判断する。
 例えば、制御部11は加速度センサの検出結果に基づいて携帯型電子機器10の姿勢(傾き)を判断する。例えば、制御部11は、重力加速度がX軸方向、Y軸方向、及びZ軸方向の加速度としてどのように検出されているかに基づいて、携帯型電子機器10の姿勢(傾き)を判断する。
 また例えば、制御部11はジャイロセンサの検出結果に基づいて携帯型電子機器10の姿勢(傾き)を判断する。例えば、制御部11は、ジャイロセンサによって検出された各軸の角速度を積分することによって、各軸を回転軸として携帯型電子機器10がどの程度回転したかを判断する。
 操作部15はユーザが操作を行うためのものである。本実施形態の場合、表示部16に表示される画面内の位置をユーザが指示するための指示部が操作部15として備えられる。例えば、タッチパネル等のポインティングデバイスが操作部15として備えられる。なお、以下では、表示部16の上に重ねて設けられるタッチパネルが携帯型電子機器10に備えられていることとして説明する。
 携帯型電子機器10に備えられるタッチパネルは一般的なタッチパネルであり、ユーザによって接触された位置を検出する。タッチパネルとしては、例えば静電容量方式のタッチパネルが用いられる。静電容量方式のタッチパネルでは、タッチパネルの表面がユーザによって接触された場合に生じる電荷の変化に基づいて、ユーザによって接触されている1又は複数の位置が検出される。なお、タッチパネルとしては、例えば抵抗膜方式等の他の方式のタッチパネルが用いられるようにしてもよい。
 ユーザによって接触されている位置を示す情報が所定時間(例えば1/60秒)ごとに制御部11に供給される。ユーザによって接触されている位置は例えばスクリーン座標系の座標値として表される。「スクリーン座標系」とは、画面の左上頂点を原点Oとし、右方向をXs軸正方向とし、下方向をYs軸正方向とする座標系である(後述の図3参照)。制御部11は、タッチパネルから供給される情報に基づいて、ユーザによって接触されている位置を取得する。
 表示部16は例えば液晶表示ディスプレイ等であり、音声出力部17は例えばスピーカ又はヘッドホン端子等である。
 通信部18は携帯型電子機器10が他の装置とデータ通信を行うためのものである。通信部18は制御部11からの指示に従って他の装置にデータを送信したり、他の装置から受信したデータを制御部11に供給したりする。なお、携帯型電子機器10が電話機能を有する場合、通信部18は他の装置への発呼や他の装置からの着呼も行う。
 携帯型電子機器10では各種アプリケーションプログラムが実行される。例えば、文字列を表示部16に表示するようなアプリケーションプログラムが実行される。例えば、テキストデータを参照するためのアプリケーションプログラムが実行される。図3は上記のアプリケーションプログラムが実行されている場合に表示部16に表示される画面の一例を示している。
 上記の携帯型電子機器10では、画面に表示される文字列の少なくとも一部をユーザが選択し易くなるようなユーザインタフェースが実現されている。以下、このユーザインタフェースについて説明する。
 まず、画面に表示される文字列の少なくとも一部を選択範囲として指定するためにユーザが行うべき操作について説明する。図4~図8はこの操作について説明するための図である。なお、図5は携帯型電子機器10を上面10U側から見た場合を示しており、図7は、携帯型電子機器10を左側面10L側から見た場合を示している。
 図4に示すように、まず、ユーザはタッチパネルに指を接触させることによって選択範囲20の開始位置を指定する。携帯型電子機器10では、ユーザが接触した位置の最も近くに表示されている文字が選択範囲20の開始位置として認識される。また、この場合、選択範囲20の開始位置の次の文字が選択範囲20の終了位置として仮設定される。
 その後、ユーザは、タッチパネルに指を接触させた状態のままで携帯型電子機器10の傾きを変えることによって、選択範囲20の終了位置を所望の位置まで移動させる。例えば、選択範囲20の終了位置を右に移動させたい場合、ユーザは、例えば図5の矢印Lのように携帯型電子機器10の左側面10Lを手前に出し、右側面10Rを奥に引くようにして携帯型電子機器10を傾ける。このように携帯型電子機器10が傾けられると、例えば図6に示すように、選択範囲20の終了位置が右に移動する。なお、選択範囲20の終了位置が行の末尾(右端)に到達した場合、終了位置は次の行の先頭(左端)に移動する。
 一方、選択範囲20の終了位置を左に移動させたい場合、ユーザは、例えば図5の矢印Rのように携帯型電子機器10の右側面10Rを手前に出し、左側面10Lを奥に引くようにして携帯型電子機器10を傾ける。このように携帯型電子機器10が傾けられると、選択範囲20の終了位置は左に移動する。なお、選択範囲20の終了位置が行の先頭(左端)に到達した場合、終了位置は一つ前の行の末尾(右端)に移動する。
 また、選択範囲20の終了位置を下に移動させたい場合、ユーザは、例えば図7の矢印Fのように携帯型電子機器10を前方(手前)に傾ける。携帯型電子機器10が前方に傾けられると、例えば図8に示すように、選択範囲20の終了位置は下に移動する。
 一方、選択範囲20の終了位置を上に移動させたい場合、ユーザは、例えば図7の矢印Bのように携帯型電子機器10を後方(奥)に傾ける。携帯型電子機器10が後方に傾けられると、選択範囲20の終了位置は上に移動する。
 なお、選択範囲20の終了位置が移動する際の移動速度は、携帯型電子機器10の傾きの大きさによって変わるようになっている。傾きの大きさが大きいほど、終了位置の移動速度が速くなるようになっている。
 また、ユーザは携帯型電子機器10を一瞬だけ傾ける(すなわち、携帯型電子機器10を傾けて直ちに元の状態に戻す)ことによって、終了位置を微調整できるようになっている。すなわち、携帯型電子機器10を傾けて直ちに元の状態に戻すという操作をユーザが短時間(例えば0.5秒)以内に行うと、選択範囲20の終了位置が、携帯型電子機器10の傾き方向に対応する方向に1文字だけ移動するようになっている。例えば、携帯型電子機器10を図5の矢印Lのように傾けて直ちに元の状態に戻すという操作をユーザが短時間以内に行うと、選択範囲20の終了位置が右に1文字だけ移動するようになっている。また例えば、携帯型電子機器10を図7の矢印Fのように傾けて直ちに元の状態に戻すという操作をユーザが短時間以内に行うと、選択範囲20の終了位置が下に1文字だけ移動するようになっている。
 選択範囲20の終了位置を所望の位置まで移動させ終えた場合、ユーザはタッチパネルから指を離す。ユーザがタッチパネルから指を離すと、選択範囲20が確定される。
 なお、選択範囲20が確定されると、選択範囲20として設定された文字列部分に関する処理としてユーザが選択可能な複数種類の処理を示すメニューが表示される。例えば、「コピー」、「カット(切り取り)」、及び「削除」等の複数種類の処理を示すメニューが表示される。
 ユーザがそれらの複数種類の処理のうちのいずれかを選択すると、選択された処理が実行される。例えば、「コピー」が選択された場合、選択範囲20として設定された文字列部分がクリップボード(主記憶部12)に保存される。また例えば、「カット」が選択された場合、選択範囲20として設定された文字列部分がクリップボード(主記憶部12)に保存されるとともに、画面から消去される。また例えば、「削除」が選択された場合、選択範囲20として設定された文字列部分が画面から消去される。
 以上のように、携帯型電子機器10では、ユーザは携帯型電子機器10を傾けることによって選択範囲20の終了位置を指定できるようになっている。ユーザがタッチパネルに指を接触させることによって選択範囲20の終了位置を指示するような場合には、指によって文字が隠されてしまうことによって、どの文字が終了位置として指定されているのかをユーザが把握し難くなってしまう場合がある。これに対し、携帯型電子機器10によれば上記のような不都合が生じないようになる。
 なお、図3~図8では、携帯型電子機器10の長手方向が縦方向となるような状態(以下「縦長状態」と呼ぶ。)でユーザが携帯型電子機器10を持っている場合について説明したが、ユーザは、携帯型電子機器10の長手方向が横方向となるような状態(以下「横長状態」と呼ぶ。)で携帯型電子機器10を持つことも可能である。なお、ユーザが携帯型電子機器10の持ち方を変えた場合、それに応じて画面の向きも変更される。
 以下、上記のようなユーザインタフェースを実現するための構成について説明する。図9は、本実施形態に係る携帯型電子機器10において実現される機能ブロックのうち、本発明に関連する機能ブロックを示す機能ブロック図である。図9に示すように、携帯型電子機器10は、記憶部30、表示制御部32、指示位置検出部34、指示位置情報取得部36、傾き検出部38、傾き情報取得部40、選択範囲設定部42、及び処理実行部44を含んでいる。
 例えば、記憶部30は主記憶部12及び補助記憶部13である。また例えば、指示位置検出部34は、ユーザが画面内の位置を指示するための指示部(タッチパネル)であり、傾き検出部38は姿勢検出センサ14である。その他の機能ブロックは制御部11によって実現される。すなわち、制御部11がプログラムに従って処理を実行することによって、制御部11が該他の機能ブロックとして機能するようになる。
 まず、記憶部30について説明する。記憶部30には各種データが記憶される。例えば、表示部16に表示するためのテキストデータが記憶部30に記憶される。また例えば、選択範囲20の設定操作が行われている場合(すなわち、例えば図4,6,8に示すような画面が表示されている場合)には、選択範囲20の開始位置及び終了位置を示すデータが記憶部30に記憶される。
 また、例えば図10に示すような把持状態データが記憶部30に記憶される。図10に示す把持状態データは、ユーザが携帯型電子機器10を縦長状態又は横長状態のいずれの状態で持っているのかを示すデータである。例えば、把持状態データは「0」又は「1」の値をとる。値「0」は、ユーザが携帯型電子機器10を縦長状態で持っていることを示す。値「1」は、ユーザが携帯型電子機器10を横長状態で持っていることを示す。なお例えば、把持状態データはオペレーティングシステムによって姿勢検出センサ14の検出結果に基づいて更新される。
 表示制御部32について説明する。表示制御部32は文字列を含む画面を表示部16に表示させる。
 指示位置検出部34及び指示位置情報取得部36について説明する。指示位置検出部34は、ユーザによって指示された画面内の位置を検出する。上述したように、本実施形態の場合、タッチパネルが指示位置検出部34に相当しており、指示位置検出部34は、ユーザによって接触されたタッチパネル上の位置を検出する。指示位置情報取得部36は、ユーザによって指示された画面内の位置に関する指示位置情報を指示位置検出部34から取得する。
 傾き検出部38及び傾き情報取得部40について説明する。傾き検出部38は携帯型電子機器10の傾きを検出する。上述したように、本実施形態の場合、姿勢検出センサ14が傾き検出部38に相当している。傾き情報取得部40は、携帯型電子機器10の傾きに関する傾き情報を傾き検出部38から取得する。
 選択範囲設定部42について説明する。選択範囲設定部42は、画面に表示される文字列の少なくとも一部を選択範囲20として設定する。選択範囲設定部42は開始位置設定部42A及び終了位置移動部42Bを含んでいる。
 開始位置設定部42Aは、指示位置検出部34によって検出されたユーザの指示位置に基づいて、選択範囲20の開始位置を設定する。本実施形態の場合、開始位置設定部42Aは、ユーザによって接触されたタッチパネル上の位置に基づいて、開始位置を設定する。
 終了位置移動部42Bは、選択範囲20の開始位置が設定された後において、傾き検出部38による検出結果に基づいて、選択範囲20の終了位置を移動させる。本実施形態の場合、終了位置移動部42Bは、タッチパネルがユーザによって接触された場合、タッチパネルへのユーザの接触が解除されるまでの間、傾き検出部38による検出結果に基づいて、終了位置を移動させる。
 下記に説明するように、終了位置移動部42Bは携帯型電子機器10の傾き方向及び傾きの大きさに基づいて終了位置を移動させる。
 ここで、「携帯型電子機器10の傾き方向」とは、携帯型電子機器10の現在の姿勢の、携帯型電子機器10の基準姿勢に対する傾き方向のことを意味している。すなわち、「携帯型電子機器10の傾き方向」とは、携帯型電子機器10の現在の姿勢が基準姿勢からどちらの方向に傾いているのかを意味している。
 また、「携帯型電子機器10の傾きの大きさ」とは、携帯型電子機器10の現在の姿勢の、携帯型電子機器10の基準姿勢に対する傾きの大きさのことを意味している。すなわち、「携帯型電子機器10の傾きの大きさ」とは、携帯型電子機器10の現在の姿勢が基準姿勢からどの程度傾いているのかを意味している。
 なお、「基準姿勢」とは、例えば、ある時点(基準時点)における携帯型電子機器10の姿勢のことを意味している。また、「基準時点」とは、例えば、タッチパネルがユーザによって接触された時点、又は、選択範囲20の開始位置が設定された時点である。なお、「基準時点」とは、携帯型電子機器10が起動された時点であってもよいし、アプリケーションプログラムが起動された時点であってもよい。または、携帯型電子機器10の姿勢が所定期間にわたって維持された場合には、その時点における姿勢が「基準姿勢」として設定されるようにしてもよい。なお、この場合、携帯型電子機器10の姿勢(傾き)の変化が所定の範囲内である状態が所定期間にわたって継続されたら、携帯型電子機器10の姿勢が所定期間にわたって維持されたとみなすようにすればよい。
 例えば、終了位置移動部42Bは、傾き検出部38によって検出される携帯型電子機器10の傾き方向に対応する方向に終了位置を移動させる。
 携帯型電子機器10の傾き方向に対応する方向に選択範囲20の終了位置を移動させるためには、携帯型電子機器10の傾き方向と、終了位置の移動方向情報と、の対応関係に関する情報が必要となる。以下、この対応関係を示すデータのことを「移動方向データ」と呼ぶ。
 図11は移動方向データの一例を示している。図11に示す移動方向データでは、携帯型電子機器10の把持状態(縦長状態又は横長状態)の各々について、携帯型電子機器10の傾き方向と、終了位置の移動方向と、の対応関係が定義されている。
 図11に示す移動方向データでは、携帯型電子機器10の把持状態が縦長状態である場合(図2,5,7の場合)のα方向(図7における矢印F,B)の傾きが終了位置の上下移動に対応づけられている。ここで、X軸を回転軸とした時計回り方向への回転(傾き)のことを「正方向への傾き」と呼び、X軸を回転軸とした反時計回り方向への回転(傾き)のことを「負方向への傾き」と呼ぶとすると、α方向の負方向(図7における矢印B)への傾きは終了位置の上方向移動に対応づけられ、α方向の正方向(図7における矢印F)への傾きは終了位置の下方向移動に対応づけられる。
 また、図11に示す移動方向データでは、携帯型電子機器10の把持状態が横長状態である場合のγ方向の傾きが終了位置の上下移動に対応づけられている。ここで、Z軸を回転軸とした時計回り方向への回転(傾き)のことを「正方向への傾き」と呼び、Z軸を回転軸とした反時計回り方向への回転(傾き)のことを「負方向への傾き」と呼ぶとすると、γ方向の負方向への傾きは終了位置の上方向移動に対応づけられ、γ方向の正方向への傾きは終了位置の下方向移動に対応づけられる。
 さらに、図11に示す移動方向データでは、携帯型電子機器10の把持状態が縦長状態である場合(図2,5,7の場合)のγ方向の傾きが終了位置の左右移動に対応づけられている。ここで、Z軸を回転軸とした時計回り方向への回転(傾き)のことを「正方向への傾き」と呼び、Z軸を回転軸とした反時計回り方向への回転(傾き)のことを「負方向への傾き」と呼ぶとすると、γ方向の負方向(図5における矢印L)への傾きは終了位置の右方向移動に対応づけられ、γ方向の正方向(図5における矢印R)への傾きは終了位置の左方向移動に対応づけられる。
 また、図11に示す移動方向データでは、携帯型電子機器10の把持状態が横長状態である場合のα方向の傾きが終了位置の左右移動に対応づけられている。ここで、X軸を回転軸とした時計回り方向への回転(傾き)のことを「正方向への傾き」と呼び、X軸を回転軸とした反時計回り方向への回転(傾き)のことを「負方向への傾き」と呼ぶとすると、α方向の負方向への傾きは終了位置の右方向移動に対応づけられ、α方向の正方向への傾きは終了位置の左方向移動に対応づけられる。
 なお、携帯型電子機器10の傾き方向と、終了位置の移動方向と、の対応関係は図11に示した例に限られない。例えば、β方向の傾きが終了位置の左右移動に対応づけられるようにしてもよい。
 終了位置移動部42Bは、携帯型電子機器10の傾き方向に対応する移動方向を図11に示す移動方向データに基づいて取得する。そして、終了位置移動部42Bはその移動方向に終了位置を移動させる。
 また例えば、終了位置移動部42Bは、傾き検出部38によって検出される携帯型電子機器10の傾きの大きさ(程度)に基づいて、終了位置の移動速度を設定する。
 例えば、終了位置移動部42Bは、傾き検出部38によって検出される携帯型電子機器10の傾きの大きさに対応する文字数ごとに終了位置を移動させる。すなわち、終了位置移動部42Bは、所定の時間間隔ごとに終了位置を所与の文字数分移動させるようになっており、終了位置移動部42Bは、上記の「文字数」を携帯型電子機器10の傾きの大きさに基づいて変化させる。このようにして、終了位置移動部42Bは携帯型電子機器10の傾きの大きさに基づいて終了位置の移動速度を変化させる。
 または、終了位置移動部42Bは、携帯型電子機器10の傾きの大きさに対応する時間間隔ごとに、終了位置を所定の文字数分移動させるようにしてもよい。すなわち、終了位置移動部42Bは、所与の時間間隔ごとに終了位置を所定の文字数(例えば1文字)分移動させるようにし、終了位置移動部42Bは、上記の「時間間隔」を携帯型電子機器10の傾きの大きさに基づいて変化させるようにしてもよい。このようにして、終了位置移動部42Bは携帯型電子機器10の傾きの大きさに基づいて終了位置の移動速度を変化させるようにしてもよい。
 なお、携帯型電子機器10の傾きの大きさに基づいて終了位置の移動速度を設定するためには、携帯型電子機器10の傾きの大きさと、終了位置の移動速度と、の対応関係に関する情報が必要となる。以下、この対応関係を示すデータのことを「移動速度データ」と呼ぶ。
 図12は移動速度データの一例を示している。図12に示す移動速度データでは、携帯型電子機器10の傾きの大きさと、終了位置の移動速度情報と、が対応づけられている。移動速度データは、携帯型電子機器10の傾きの大きさが大きいほど、終了位置の移動速度が速くなるように設定される。
 なお、図12における「θ」は、携帯型電子機器10の現在の姿勢が基準姿勢からどの程度傾いているかを示している。すなわち、基準姿勢に対する携帯型電子機器10の傾きの大きさを示している。
 また、図12における「移動速度情報」は下記に説明するように設定される。例えば、終了位置が所定の時間間隔ごとに所与の文字数分移動するようになっている場合、上記の「文字数」を示す情報が「移動速度情報」として設定される。この場合、携帯型電子機器10の傾きの大きさが大きいほど、上記の「文字数」が多くなるように設定される。また例えば、終了位置が所与の時間間隔ごとに所定の文字数分移動するようになっている場合、上記の「時間間隔」を示す情報が「移動速度情報」として設定される。この場合、携帯型電子機器10の傾きの大きさが大きいほど、上記の「時間間隔」が短くなるように設定される。
 また、終了位置移動部42Bは、ユーザが携帯型電子機器10を傾けて直ちに元の状態に戻した場合に、携帯型電子機器10の傾き方向に対応する方向に選択範囲20の終了位置を1文字分だけ移動する。
 すなわち、傾き検出部38によって検出される携帯型電子機器10の傾きの状態が第1の状態(基準姿勢)から第2の状態まで変化し、該第2の状態から、第1の状態との差が所定範囲内である状態に戻った場合に、終了位置移動部42Bは、携帯型電子機器10の傾きの状態が第1の状態から第2の状態へと変化し始めてから、第1の状態との差が所定範囲内である状態に戻るまでにかかった時間が基準時間以内であるか否かを判定する。そして、上記時間が基準時間以内であると判定された場合、終了位置移動部42Bは、第2の状態における携帯型電子機器10の傾き方向に対応する方向に終了位置を1文字分だけ移動させる。
 なお、ユーザが携帯型電子機器10を同じ姿勢で持ち続けることは困難であり、ユーザが携帯型電子機器10を傾けることを意図していないにも関わらず、携帯型電子機器10の傾きが少し変化してしまう場合がある。このような場合に終了位置が移動してしまうのは好ましくない。したがって、ユーザが終了位置を微調整することを意図している場合にのみ終了位置が1文字移動するようにするべく、「第2の状態」は、第1の状態との差が比較的大きい状態に限定される。例えば、「第2の状態」とは、第1の状態である携帯型電子機器10に対する、第2の状態である携帯型電子機器10の傾きの大きさが基準値よりも大きいような状態とされる。
 また、「第1の状態との差が所定範囲内である状態」とは、第1の状態とみなすことができるような状態である。携帯型電子機器10の傾きの状態を第1の状態から第2の状態に変化させた後に、携帯型電子機器10の傾きの状態を第1の状態と全く同じ状態に戻すことはユーザにとって困難である。このため、携帯型電子機器10では、携帯型電子機器10の傾きの状態が第1の状態から第2の状態に変化した後に、携帯型電子機器10の傾きの状態が「第1の状態との差が所定範囲内である状態」に戻った場合に、携帯型電子機器10の傾きの状態が第1の状態に戻ったとみなすようになっている。
 また、「基準時間」とは、携帯型電子機器10の傾きの状態が第1の状態から第2の状態へと変化し始めてから、第1の状態との差が所定範囲内である状態に戻るまでにかかった時間が短いか否かを判定するために設定される時間である。このため、「基準時間」は比較的短い時間(例えば0.5秒)に設定される。
 なお、「第2の状態における携帯型電子機器10の傾き方向に対応する方向」とは、第2の状態における携帯型電子機器10の、第1の状態における携帯型電子機器10に対する傾き方向のことを意味している。すなわち、「第2の状態における携帯型電子機器10の傾き方向に対応する方向」とは、第2の状態における携帯型電子機器10が、第1の状態における携帯型電子機器10に対してどの方向に傾いているのかを意味している。第2の状態における携帯型電子機器10の傾き方向に対応する移動方向は移動方向データ(図11)に基づいて取得される。
 選択範囲設定部42は、タッチパネルへのユーザの接触が解除された場合、開始位置設定部42Aによって設定された開始位置から、タッチパネルへのユーザの接触が解除された時点における終了位置までの範囲を選択範囲として確定する。
 処理実行部44について説明する。文字列の少なくとも一部が選択範囲として設定された場合、処理実行部44は該文字列の少なくとも一部に関する処理を実行する。
 「文字列の少なくとも一部に関する処理」とは、例えば、文字列の少なくとも一部を区別する処理であり、具体的には、文字列の少なくとも一部の表示態様(例えば文字色又は/及び背景色等)を他の部分と異ならせる処理である。また例えば、「文字列の少なくとも一部に関する処理」とは、例えば、文字列の少なくとも一部をコピー、カット、又は削除する処理である。すなわち、「文字列の少なくとも一部に関する処理」とは、例えば、文字列の少なくとも一部をクリップボード(主記憶部12)に保存する処理である。または、「文字列の少なくとも一部に関する処理」とは、例えば、文字列の少なくとも一部をクリップボード(主記憶部12)に保存するとともに、画面から消す処理である。あるいは、「文字列の少なくとも一部に関する処理」とは、例えば、文字列の少なくとも一部を画面から消す処理である。
 次に、上記に説明した機能ブロックを実現するために携帯型電子機器10で実行される処理について説明する。図13は、例えば図3に示すような画面が表示されている場合に携帯型電子機器10で実行される処理の一例を示すフロー図である。制御部11が図13に示す処理をプログラムに従って実行することによって、制御部11が、指示位置情報取得部36、傾き情報取得部40、選択範囲設定部42、及び処理実行部44として機能するようになる。
 図13に示すように、まず、制御部11はタッチパネルがユーザによって接触されたか否かを判定する(S101)。タッチパネルがユーザによって接触されたと判定されなかった場合、制御部11は、タッチパネルがユーザによって接触されたか否かの監視を続行する。一方、タッチパネルがユーザによって接触されたと判定された場合、制御部11は携帯型電子機器10の現在の姿勢を基準姿勢として設定する(S102)。
 また、制御部11は選択範囲20の開始位置を設定する(S103)。すなわち、制御部11(指示位置情報取得部36)はタッチパネルから供給される指示位置情報を取得する。そして、制御部11(開始位置設定部42A)は、ユーザの指示位置(接触位置)の最も近くに表示されている文字を選択範囲20の開始位置として設定する。
 また、制御部11は選択範囲20の終了位置を初期設定する(S104)。例えば、制御部11は、ステップS103で開始位置として設定された文字の次の文字を終了位置として初期設定する。
 その後、制御部11(終了位置移動部42B)は選択範囲20の終了位置を移動させる(S105)。
 例えば、制御部11は、携帯型電子機器10の姿勢が基準姿勢から変化したか否かを判定する。すなわち、制御部11は、携帯型電子機器10が基準姿勢から傾けられたか否かを判定する。なお、例えば、制御部11は、ジャイロセンサの検出結果に基づいて、携帯型電子機器10の現在の姿勢が基準姿勢に対していずれの方向にどれだけ傾いているのかを判断する。携帯型電子機器10の現在の姿勢が基準姿勢に対していずれの方向にどれだけ傾いているのかをジャイロセンサの検出結果に基づいて判断する方法としては公知の方法を用いるようにすればよい。
 基準姿勢からの傾きの大きさが基準値(以下「第1基準値」と呼ぶ。)よりも大きくなった場合にのみ、制御部11は携帯型電子機器10の姿勢が基準姿勢から変化したと判定する。すなわち、基準姿勢からの傾きの大きさが第1基準値よりも大きくなっていない場合には、制御部11は携帯型電子機器10の姿勢が基準姿勢から変化していないと判定する。ユーザが携帯型電子機器10を同じ姿勢で持ち続けることは困難であり、ユーザが携帯型電子機器10を傾ける意思を有していない場合であっても、携帯型電子機器10の姿勢が変化してしまう場合がある。そこで、携帯型電子機器10を傾ける意図(言い換えれば、終了位置を移動させる意図)をユーザが有している場合に限って、携帯型電子機器10の姿勢が基準姿勢から変化したと判定するようにするべく、上記のようにして、携帯型電子機器10の姿勢が基準姿勢から変化したか否かの判定を行うようにしている。
 携帯型電子機器10の姿勢が基準姿勢から変化したと判定された場合、制御部11は、選択範囲20の終了位置を移動させるための処理として、例えば図14に示すような処理を実行する。
 すなわち、まず、制御部11は携帯型電子機器10の姿勢が基準姿勢に戻ったか否かを判定する(S201)。
 例えば、携帯型電子機器10では、所定時間ごとに取得されるジャイロセンサの検出結果が主記憶部12(又は補助記憶部13)に保存される。そして、制御部11は、軸ごとに角速度を積分することによって、携帯型電子機器10の現在の姿勢が基準姿勢に対して各方向(α方向、β方向、及びγ方向)にどれだけ傾いているのかを判断する。
 なお、携帯型電子機器10の現在の姿勢が、基準姿勢との差が所定範囲内である姿勢に戻った場合、制御部11は携帯型電子機器10の姿勢が基準姿勢に戻ったとみなす。言い換えれば、携帯型電子機器10の現在の姿勢が、基準姿勢からの傾きの大きさが基準値(以下「第2基準値」と呼ぶ。)以下である姿勢に戻った場合に、制御部11は携帯型電子機器10の姿勢が基準姿勢に戻ったとみなす。携帯型電子機器10の姿勢を基準姿勢と完全に同じ姿勢に戻すことはユーザにとって困難であるため、このような判定を行うようにしている。なお、この場合の第2基準値は上述の第1基準値よりも小さい値に設定される。
 ステップS201において、携帯型電子機器10の姿勢が基準姿勢に戻ったと判定されなかった場合、制御部11は、携帯型電子機器10の姿勢が基準姿勢から変化したと判定されてからの経過時間が基準時間(例えば0.5秒)以内であるか否かを判定する(S202)。上記の経過時間が基準時間以内であると判定された場合、制御部11はステップS201の処理を再実行する。
 一方、ステップS201において、携帯型電子機器10の姿勢が基準姿勢に戻ったと判定された場合とは、ユーザが携帯型電子機器10の姿勢を比較的短い時間(例えば0.5秒以内の時間)だけ傾けたような場合である。
 この場合、制御部11は選択範囲20の終了位置の移動方向情報を取得する(S206)。例えば、制御部11は、基準姿勢から傾きの大きさが最も大きくなった時点における携帯型電子機器10の姿勢が基準姿勢から各方向(α方向、β方向、及びγ方向)にどれだけ傾いていたのかを判断する。そして、制御部11はその判断結果に対応する終了位置の移動方向情報を把持状態データ(図10)及び移動方向データ(図11)に基づいて取得する。その後、制御部11は選択範囲20の終了位置を、ステップS206で取得された移動方向情報が示す方向に1文字分だけ移動させる(S207)。この場合、図14に示す処理は終了する。
 一方、ステップS202において、上記の経過時間が基準時間(例えば0.5秒)以内であると判定されなかった場合とは、ユーザが携帯型電子機器10の姿勢を比較的長い時間(例えば0.5秒より長い時間)にわたって傾けているような場合である。
 この場合、制御部11は選択範囲20の終了位置の移動方向情報及び移動速度情報を取得する(S203)。例えば、制御部11は、携帯型電子機器10の現在の姿勢が基準姿勢から各方向(α方向、β方向、及びγ方向)にどれだけ傾いているのかを判断する。そして、制御部11は、その判断結果に対応する終了位置の移動方向情報を把持状態データ(図10)及び移動方向データ(図11)に基づいて取得する。また、制御部11は、その判断結果に対応する終了位置の移動速度情報を把持状態データ(図10)及び移動速度データ(図12)に基づいて取得する。そして、制御部11は、ステップS203で取得された移動方向情報及び移動速度情報に基づいて、選択範囲20の終了位置を移動させる(S204)。すなわち、制御部11は、選択範囲20の終了位置を、ステップS203で取得された移動方向情報が示す方向に、ステップS203で取得された移動速度情報が示す移動速度で移動させる。
 制御部11は、携帯型電子機器10の姿勢が基準姿勢に戻るまでの間、ステップS203及びS204の処理を繰り返し実行する。すなわち、ステップS204の処理が実行された後、制御部11は携帯型電子機器10の姿勢が基準姿勢に戻ったか否かを判定する(S205)。ステップS205の処理はステップS201と同様である。携帯型電子機器10の姿勢が基準姿勢に戻っていないと判定された場合、制御部11はステップS203の処理を再実行する。一方、携帯型電子機器10の姿勢が基準姿勢に戻ったと判定された場合、図14に示す処理は終了する。
 なお、選択範囲20の終了位置を移動させるための処理は図14に示した処理に限られない。例えば、図14に示した処理では、携帯型電子機器10の姿勢が基準姿勢から変化し始めてからの経過時間が基準時間(例えば0.5秒)より長くなるのを待ってから、ステップS203~S205の処理が実行されるようになっていた。しかしながら、携帯型電子機器10の姿勢が基準姿勢から変化した場合、直ちに、ステップS203~S205の処理が実行されるようにしてもよい。すなわち、ステップS201,S202の処理を省略するようにしてもよい。
 この場合、ステップS205において、携帯型電子機器10の姿勢が基準姿勢に戻ったと判定された場合、制御部11は、携帯型電子機器10の姿勢が基準姿勢から変化し始めてから基準姿勢に戻るまでにかかった時間が基準時間(例えば0.5秒)以内であるか否かを判定する。そして、上記の時間が基準時間以内であると判定された場合、制御部11は、ステップS203~S205の処理によって行われた終了位置の移動をリセットする。すなわち、制御部11は、選択範囲20の終了位置を、携帯型電子機器10の姿勢が基準姿勢から変化し始めた時点における終了位置に戻す。その後、制御部11は、ステップS206及びS207の処理と同様の処理を実行し、選択範囲20の終了位置を、携帯型電子機器10の傾き方向に対応する方向に1文字分移動させる。
 このようにしても、選択範囲20の終了位置の移動制御を図14に示した処理と同様に行うことが可能になる。
 図13に示すように、ステップS105の処理が実行された後、制御部11は、タッチパネルから供給される指示位置情報に基づいて、タッチパネルへのユーザの接触が解除されたか否かを判定する(S106)。指示位置情報が「ユーザの指示位置を示す状態」から「ユーザの指示位置を示さない状態(ユーザの指示位置が検出されていないことを示す状態)」に変化した場合に、制御部11はタッチパネルへの接触が解除されたと判定する。
 タッチパネルへの接触が解除されたと判定されなかった場合、制御部11はステップS105,S106の処理を続行する。一方、タッチパネルへの接触が解除されたと判定された場合、制御部11は後述のステップS107の処理を実行する。なお、図14では省略されているが、実際には、図14に示す処理が実行されている間においても、タッチパネルへの接触が解除されたか否かが監視される。そして、図14に示す処理が実行されている間においてタッチパネルへの接触が解除された場合、制御部11は図14に示す処理の実行を中止し、後述のステップS107の処理を実行する。
 タッチパネルへの接触が解除されたと判定された場合、制御部11(選択範囲設定部42)は、ステップS103で設定された開始位置から、タッチパネルへの接触が解除された時点における終了位置までの部分を選択範囲20として確定する(S107)。
 その後、制御部11(処理実行部44)は、選択範囲20として設定された文字列部分に関する処理を実行する(S108)。例えば、制御部11は、複数種類の処理(例えばコピー、カット、又は削除等)のいずれかをユーザに選択するように要求するためのメニューを画面に表示する。そして、制御部11は、選択範囲20として設定された文字列部分を処理対象として、ユーザによって選択された処理を実行する。例えば、「コピー」が選択された場合、制御部11は、選択範囲20として設定された文字列部分をクリップボード(主記憶部12)に保存する。また例えば、「カット」が選択された場合、制御部11は、選択範囲20として設定された文字列部分をクリップボード(主記憶部12)に保存するとともに、画面から消去する。また例えば、「削除」が選択された場合、制御部11は、選択範囲20として設定された文字列部分を画面から消去する。
 なお、実行すべき処理が予め決まっている場合、制御部11は、上記のようなメニューを表示することなく、選択範囲20として設定された文字列部分を処理対象として該処理を実行するようにしてもよい。例えば、実行すべき処理として「カット」が予め決まっている場合、制御部11は、上記のようなメニューを表示することなく、選択範囲20として設定された文字列部分をクリップボード(主記憶部12)に保存するとともに、画面から消去するようにしてもよい。以上で図13に示す処理の説明を終了する。
 以上説明した携帯型電子機器10では、ユーザが携帯型電子機器10を傾けることによって選択範囲20の終了位置を指定できるようになっている。ユーザがタッチパネルに指を接触させることによって選択範囲20の終了位置を指示するような場合には、指によって文字が隠されてしまうことによって、どの文字が終了位置として指定されているのかをユーザが把握し難くなってしまう場合がある。これに対し、携帯型電子機器10によれば、このような不都合が生じないようになり、ユーザが選択範囲20の終了位置を指定し易くなる。
 また、携帯型電子機器10では、ユーザは携帯型電子機器10の傾きの大きさ(程度)を調整することによって選択範囲20の終了位置の移動速度を指定できるようになっている。携帯型電子機器10によれば、このような構成により、ユーザが選択範囲20の終了位置を指定し易くなる。
 さらに、携帯型電子機器10では、ユーザは携帯型電子機器10を比較的短い時間(例えば0.5秒以内の時間)だけ傾けることによって選択範囲20の終了位置を微調整できるようになっている。携帯型電子機器10によれば、このような構成により、ユーザが選択範囲20の終了位置を指定し易くなる。
 なお、携帯型電子機器10が、例えばスマートフォンのような比較的サイズの小さい携帯型電子機器である場合、ユーザは、携帯型電子機器10を持っている方の手の指(例えば親指)をタッチパネルに接触させることによって選択範囲20の開始位置を指定することができ、さらに、携帯型電子機器10を傾けることによって選択範囲20の終了位置を指定することができる。つまり、ユーザは携帯型電子機器10を持っている方の手のみを用いて選択範囲20を指定することができる。
 例えば、ユーザが電車内等で立っている場合、ユーザは一方の手でつり革等をつかみながら他方の手で携帯型電子機器10を持って携帯型電子機器10を使用する必要がある。携帯型電子機器10によれば、ユーザは携帯型電子機器10を持っている方の手のみを用いて選択範囲20を指定することができるため、上記のような場合であってもユーザは選択範囲20を容易に指定することができる。
 ところで、タッチパネルを備えた携帯型電子機器の画面に表示される文字列の少なくとも一部を選択範囲として指定するための操作としては、「指をタッチパネルに接触させることによって選択範囲の開始位置を指定し、その後、その指をタッチパネル上で所望の位置までスライド移動させることによって選択範囲の終了位置を指定する」というような操作を採用することも考えられる。
 しかしながら、上記のような操作を採用した場合には、携帯型電子機器を持っている方の手のみを用いて選択範囲を指定することを行い難い場合がある。選択範囲の開始位置として指定したいとユーザが考えている位置(第1の位置)と、選択範囲の終了位置として指定したいとユーザが考えている位置(第2の位置)と、の位置関係によっては、携帯型電子機器を持っている方の手の指(例えば親指)を第1の位置から第2の位置へとスライド移動させ難い場合があるからである。
 これに対し、本実施形態に係る携帯型電子機器10によれば、選択範囲の開始位置として指定したいとユーザが考えている位置と、選択範囲の終了位置として指定したいとユーザが考えている位置と、の位置関係がどのような位置関係であったとしても、ユーザは携帯型電子機器を持っている方の手のみを用いて選択範囲を容易に指定することができる。
 また、タッチパネルを備えた携帯型電子機器の画面に表示される文字列の少なくとも一部を選択範囲として指定するための操作としては、「一の指をタッチパネルに接触させることによって選択範囲の開始位置を指し示し、他の指とタッチパネルに接触させることによって選択範囲の終了位置を指し示す」というような操作を採用することも考えられる。
 しかしながら、このような操作を採用した場合には、携帯型電子機器を持っている方の手のみを用いて選択範囲を指定することが困難になってしまう場合がある。選択範囲の開始位置として指定したいとユーザが考えている位置(第1の位置)と、選択範囲の終了位置として指定したいとユーザが考えている位置(第2の位置)と、の位置関係によっては、携帯型電子機器を持っている方の手の一の指(例えば親指)で第1の位置を指し示し、他の指(例えば人差し指、中指、薬指、又は小指)で第2の位置を指し示すことが困難である場合があるからである。
 これに対し、本実施形態に係る携帯型電子機器10によれば、選択範囲の開始位置として指定したいとユーザが考えている位置と、選択範囲の終了位置として指定したいとユーザが考えている位置と、の位置関係がどのような位置関係であったとしても、ユーザは携帯型電子機器を持っている方の手のみを用いて選択範囲を容易に指定することができる。
 なお、本発明は以上に説明した実施形態に限定されるものではない。
 [1]例えば、ステップS206において、制御部11(終了位置移動部42B)は、選択範囲20の終了位置の移動方向情報とともに終了位置の移動量情報も取得するようにしてもよい。
 この場合、制御部11は、基準姿勢から傾きの大きさが最も大きくなった時点における携帯型電子機器10の姿勢が基準姿勢から各方向(α方向、β方向、及びγ方向)にどれだけ傾いているのかを判断する。そして、制御部11はその判断結果に対応する終了位置の移動方向情報を把持状態データ(図10)及び移動方向データ(図11)に基づいて取得する。
 また、制御部11はその判断結果に対応する終了位置の移動量情報を把持状態データ(図10)及び移動速度データ(図12)に基づいて取得する。この場合、図12に示す移動速度データにおける「移動速度情報」は終了位置の移動量を示す情報となる。すなわち、「移動速度情報」は、終了位置を何文字分移動させるかを示す情報となる。
 そして、ステップS207において、制御部11(終了位置移動部42B)は、選択範囲20の終了位置を、ステップS206で取得された移動方向情報が示す方向に、ステップS206で取得された移動量情報が示す移動量(文字数分)だけ移動させる。
 [2]また例えば、ユーザが選択範囲20の開始位置を指定するためにタッチパネルに指を接触させた場合、制御部11は、複数種類の処理のいずれかを選択するための画像を画面に表示するようにしてもよい。
 図15はこの場合の画面の一例を示している。図15に示す例では、「コピー」及び「カット」のいずれかを選択するためのメニュー22が画面に表示されている。このメニュー22の表示位置はユーザの指示位置(接触位置)に基づいて設定される。すなわち、メニュー22はユーザの指示位置(選択範囲20の開始位置)付近に表示される。
 選択範囲20の終了位置を所望の位置まで移動させた場合、ユーザは、タッチパネルに接触している指(すなわち、選択範囲20の開始位置を指定するためにタッチパネルに接触させた指)を、メニュー22中の所望の処理が表示されている領域までタッチパネル上をスライド移動させる。そして、その後、ユーザは指をタッチパネルから離す。
 タッチパネルへの接触が解除された場合、制御部11は、タッチパネルへの接触が解除される直前におけるユーザの指示位置(接触位置)が、メニュー22に表示されている複数種類の処理に対応するようにして設定される複数の判定領域のうちのいずれかに含まれているか否かを判定する。タッチパネルへの接触が解除される直前におけるユーザの指示位置(接触位置)がいずれかの判定領域内に含まれている場合、制御部11は、該判定領域に対応する処理を実行する。例えば、タッチパネルへの接触が解除される直前におけるユーザの指示位置が「カット」に対応する判定領域内に含まれている場合、制御部11は、選択範囲20として設定された文字列部分をクリップボード(主記憶部12)に保存するとともに、画面から消去する。
 以上のようにすれば、選択範囲20として設定された文字列部分に関する処理の内容もユーザは選択し易くなる。
 [3]また例えば、以上の説明では、携帯型電子機器10の姿勢(傾き)を主にジャイロセンサの検出結果に基づいて判断する場合について説明したが、携帯型電子機器10の姿勢(傾き)を加速度センサの検出結果に基づいて判断するようにしてもよい。この場合、携帯型電子機器10の姿勢を加速度センサの検出結果に基づいて判断する方法としては公知の方法を用いるようにすればよい。なお、ユーザが電車等の乗物に乗っている場合、加速度センサは電車等の加速又は減速による影響を受けてしまい、携帯型電子機器10の姿勢(傾き)の判断の精度が低下してしまう場合がある。この点、ジャイロセンサを用いるようにすれば、そのような影響を受けないようになる。
 [4]また例えば、表示部16に表示される画面には、テキストデータが所定数ページ(例えば1ページ)ごとに表示されるようにしてもよい。この場合、選択範囲20の開始位置が画面に表示されているページの末尾まで到達した場合には、次のページを画面に表示するとともに、終了位置を該次のページの先頭に移動するようにすればよい。
 [5]また例えば、本発明は、テキストデータと画像データとを含んでなるようなデータが画面に表示されるような携帯型電子機器10にも適用することが可能である。例えば、HTMLデータが画面に表示されるような携帯型電子機器10に適用することができる。すなわち、HTMLデータのテキスト部分(文字列部分)の少なくとも一部をユーザが選択できるようにする場合にも本発明は適用することができる。
 [6]また例えば、図3等では、アルファベット及び数字が画面に表示される場合の例を示したが、本発明は、アルファベット及び数字以外の文字が画面に表示されるような携帯型電子機器10にも適用することができる。すなわち、平仮名、片仮名、及び漢字が画面に表示されるような携帯型電子機器10にも本発明は適用することができる。また、日本語以外の言語に対応する文字(例えば簡体字、繁体字、又はハングル文字)が画面に表示されるような携帯型電子機器10にも本発明は適用することができる。

Claims (11)

  1.  携帯型電子機器であって、
     文字列を含む画面を表示する表示手段と、
     ユーザによって指示された前記画面内の位置を検出する指示位置検出手段と、
     前記携帯型電子機器の傾きを検出する傾き検出手段と、
     前記文字列の少なくとも一部を選択範囲として設定する選択範囲設定手段と、
     を含み、
     前記選択範囲設定手段は、
     前記指示位置検出手段によって検出された前記ユーザの指示位置に基づいて、前記選択範囲の開始位置を設定する開始位置設定手段と、
     前記選択範囲の前記開始位置が設定された後において、前記傾き検出手段による検出結果に基づいて、前記選択範囲の終了位置を移動させる終了位置移動手段と、を含む、
     ことを特徴とする携帯型電子機器。
  2.  請求項1に記載の携帯型電子機器において、
     前記終了位置移動手段は、前記傾き検出手段によって検出される前記携帯型電子機器の傾き方向に対応する方向に前記終了位置を移動させることを特徴とする携帯型電子機器。
  3.  請求項1又は2に記載の携帯型電子機器において、
     前記終了位置移動手段は、前記傾き検出手段によって検出される前記携帯型電子機器の傾きの大きさに基づいて、前記終了位置の移動速度を設定することを特徴とする携帯型電子機器。
  4.  請求項3に記載の携帯型電子機器において、
     前記終了位置移動手段は、前記傾き検出手段によって検出される前記携帯型電子機器の傾きの大きさに対応する文字数ごとに前記終了位置を移動させることを特徴とする携帯型電子機器。
  5.  請求項3に記載の携帯型電子機器において、
     前記終了位置移動手段は、前記携帯型電子機器の傾きの大きさに対応する時間間隔ごとに、前記終了位置を所定の文字数分移動させることを特徴とする携帯型電子機器。
  6.  請求項1又は2に記載の携帯型電子機器において、
     前記終了位置移動手段は、
     前記傾き検出手段によって検出される前記携帯型電子機器の傾きの状態が第1の状態から第2の状態まで変化し、該第2の状態から、前記第1の状態との差が所定範囲内である状態に戻った場合に、前記携帯型電子機器の傾きの状態が前記第1の状態から前記第2の状態へと変化し始めてから、前記第1の状態との差が前記所定範囲内である前記状態に戻るまでにかかった時間が基準時間以内であるか否かを判定する手段と、
     前記時間が前記基準時間以内であると判定された場合、前記第2の状態における前記携帯型電子機器の、前記第1の状態における前記携帯型電子機器に対する傾き方向に対応する方向に、前記終了位置を1文字だけ移動させる手段と、を含む、
     ことを特徴とする携帯型電子機器。
  7.  請求項1又は2に記載の携帯型電子機器において、
     前記終了位置移動手段は、
     前記傾き検出手段によって検出される前記携帯型電子機器の傾きの状態が第1の状態から第2の状態まで変化し、該第2の状態から、前記第1の状態との差が所定範囲内である状態まで戻った場合に、前記携帯型電子機器の傾きの状態が前記第1の状態から前記第2の状態へと変化し始めてから、前記第1の状態との差が前記所定範囲内である前記状態に戻るまでにかかった時間が基準時間以内であるか否かを判定する手段と、
     前記時間が前記基準時間以内であると判定された場合、前記第2の状態における前記携帯型電子機器の、前記第1の状態における前記携帯型電子機器に対する傾き方向に対応する方向に、前記終了位置を、前記第2の状態における前記携帯型電子機器の、前記第1の状態における前記携帯型電子機器に対する傾きの大きさに対応する文字数だけ移動させる手段と、を含む、
     ことを特徴とする携帯型電子機器。
  8.  請求項1又は2に記載の携帯型電子機器において、
     前記指示位置検出手段はタッチパネルであり、
     前記開始位置設定手段は、前記ユーザによって接触された前記タッチパネル上の位置に基づいて、前記開始位置を設定し、
     前記終了位置設定手段は、前記タッチパネルが前記ユーザによって接触された場合、前記タッチパネルへの前記ユーザの接触が解除されるまでの間、前記傾き検出手段による検出結果に基づいて、前記終了位置を移動させ、
     前記選択範囲設定手段は、前記タッチパネルへの前記ユーザの接触が解除された場合、前記開始位置から、前記タッチパネルへの前記ユーザの接触が解除された時点における前記終了位置までの範囲を前記選択範囲として確定する、
     ことを特徴とする携帯型電子機器。
  9.  画面を表示する表示手段と、ユーザによって指示された前記画面内の位置を検出する指示位置検出手段と、携帯型電子機器の傾きを検出する傾き検出手段と、を含む携帯型電子機器の制御方法であって、
     文字列を含む画面を前記表示手段に表示させるステップと、
     前記ユーザの指示位置に関する指示位置情報を前記指示位置検出手段から取得するステップと、
     前記携帯型電子機器の傾きに関する傾き情報を前記傾き検出手段から取得するステップと、
     前記文字列の少なくとも一部を選択範囲として設定する選択範囲設定ステップと、
     を含み、
     前記選択範囲設定ステップは、
     前記選択範囲の開始位置を前記指示位置情報に基づいて設定する開始位置設定ステップと、
     前記選択範囲の前記開始位置が設定された後において、前記選択範囲の終了位置を前記傾き情報に基づいて移動させる終了位置移動ステップと、を含む、
     ことを特徴とする携帯型電子機器の制御方法。
  10.  画面を表示する表示手段と、ユーザによって指示された前記画面内の位置を検出する指示位置検出手段と、携帯型電子機器の傾きを検出する傾き検出手段と、を含む携帯型電子機器を、
     文字列を含む画面を前記表示手段に表示させる表示制御手段、
     前記ユーザの指示位置に関する指示位置情報を前記指示位置検出手段から取得する手段、
     前記携帯型電子機器の傾きに関する傾き情報を前記傾き検出手段から取得する手段、及び、
     前記文字列の少なくとも一部を選択範囲として設定する選択範囲設定手段、
     として機能させるプログラムであって、
     前記選択範囲設定手段は、
     前記選択範囲の開始位置を前記指示位置情報に基づいて設定する開始位置設定手段と、
     前記選択範囲の前記開始位置が設定された後において、前記選択範囲の終了位置を前記傾き情報に基づいて移動させる終了位置移動手段と、を含む、
     ことを特徴とするプログラム。
  11.  画面を表示する表示手段と、ユーザによって指示された前記画面内の位置を検出する指示位置検出手段と、携帯型電子機器の傾きを検出する傾き検出手段と、を含む携帯型電子機器を、
     文字列を含む画面を前記表示手段に表示させる表示制御手段、
     前記ユーザの指示位置に関する指示位置情報を前記指示位置検出手段から取得する手段、
     前記携帯型電子機器の傾きに関する傾き情報を前記傾き検出手段から取得する手段、及び、
     前記文字列の少なくとも一部を選択範囲として設定する選択範囲設定手段、
     として機能させるプログラムを記録したコンピュータ読み取り可能な情報記憶媒体であって、
     前記選択範囲設定手段は、
     前記選択範囲の開始位置を前記指示位置情報に基づいて設定する開始位置設定手段と、
     前記選択範囲の前記開始位置が設定された後において、前記選択範囲の終了位置を前記傾き情報に基づいて移動させる終了位置移動手段と、を含む、
     ことを特徴とする情報記憶媒体。
PCT/JP2012/059799 2011-08-31 2012-04-10 携帯型電子機器、携帯型電子機器の制御方法、プログラム、及び情報記憶媒体 WO2013031281A1 (ja)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US14/241,895 US9588660B2 (en) 2011-08-31 2012-04-10 Mobile electronic device, method for controlling mobile electronic device, program, and information storage medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2011-190084 2011-08-31
JP2011190084A JP5497708B2 (ja) 2011-08-31 2011-08-31 携帯型電子機器、携帯型電子機器の制御方法、プログラム、及び情報記憶媒体

Publications (1)

Publication Number Publication Date
WO2013031281A1 true WO2013031281A1 (ja) 2013-03-07

Family

ID=47755801

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2012/059799 WO2013031281A1 (ja) 2011-08-31 2012-04-10 携帯型電子機器、携帯型電子機器の制御方法、プログラム、及び情報記憶媒体

Country Status (3)

Country Link
US (1) US9588660B2 (ja)
JP (1) JP5497708B2 (ja)
WO (1) WO2013031281A1 (ja)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5613314B1 (ja) * 2013-11-14 2014-10-22 Jfeシステムズ株式会社 ジェスチャー検出装置、ジェスチャー検出プログラム、ジェスチャー認識装置およびジェスチャー認識プログラム
EP2950195A1 (en) * 2014-05-30 2015-12-02 Kyocera Document Solutions Inc. Mobile terminal, selection processing method
US10203837B2 (en) 2013-07-10 2019-02-12 Huawei Technologies Co., Ltd. Multi-depth-interval refocusing method and apparatus and electronic device

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6024725B2 (ja) * 2014-01-17 2016-11-16 カシオ計算機株式会社 システム
JP5791745B1 (ja) * 2014-03-18 2015-10-07 株式会社ドワンゴ 動画配信装置、動画配信方法、及びプログラム
CN112306257B (zh) * 2020-11-06 2024-06-18 维沃移动通信有限公司 字符删除方法、装置及电子设备

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0764754A (ja) * 1993-08-24 1995-03-10 Hitachi Ltd 小型情報処理装置
JP2007286812A (ja) * 2006-04-14 2007-11-01 Sony Corp 携帯型電子機器、ユーザインターフェイス制御方法、プログラム
WO2008069241A1 (ja) * 2006-12-06 2008-06-12 Alps Electric Co., Ltd. モーションセンシングプログラム及びそれを備えた電子コンパス
JP2010079786A (ja) * 2008-09-29 2010-04-08 Equos Research Co Ltd 端末装置
JP2011040035A (ja) * 2009-08-18 2011-02-24 Fuji Xerox Co Ltd 表示入力装置およびそのためのコンピュータプログラム
JP2011054171A (ja) * 2009-09-03 2011-03-17 Toshiba Corp 画像表示デバイス、画像表示システム及び画像表示デバイスの画像表示方法
JP2011059781A (ja) * 2009-09-07 2011-03-24 Sony Corp 情報表示装置、情報表示方法及びプログラム

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009205304A (ja) 2008-02-26 2009-09-10 Ntt Docomo Inc タッチパネルの制御装置、制御方法およびコンピュータプログラム
US20110043453A1 (en) * 2009-08-18 2011-02-24 Fuji Xerox Co., Ltd. Finger occlusion avoidance on touch display devices

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0764754A (ja) * 1993-08-24 1995-03-10 Hitachi Ltd 小型情報処理装置
JP2007286812A (ja) * 2006-04-14 2007-11-01 Sony Corp 携帯型電子機器、ユーザインターフェイス制御方法、プログラム
WO2008069241A1 (ja) * 2006-12-06 2008-06-12 Alps Electric Co., Ltd. モーションセンシングプログラム及びそれを備えた電子コンパス
JP2010079786A (ja) * 2008-09-29 2010-04-08 Equos Research Co Ltd 端末装置
JP2011040035A (ja) * 2009-08-18 2011-02-24 Fuji Xerox Co Ltd 表示入力装置およびそのためのコンピュータプログラム
JP2011054171A (ja) * 2009-09-03 2011-03-17 Toshiba Corp 画像表示デバイス、画像表示システム及び画像表示デバイスの画像表示方法
JP2011059781A (ja) * 2009-09-07 2011-03-24 Sony Corp 情報表示装置、情報表示方法及びプログラム

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10203837B2 (en) 2013-07-10 2019-02-12 Huawei Technologies Co., Ltd. Multi-depth-interval refocusing method and apparatus and electronic device
EP3021206B1 (en) * 2013-07-10 2020-02-05 Huawei Technologies Co., Ltd. Method and device for refocusing multiple depth intervals, and electronic device
JP5613314B1 (ja) * 2013-11-14 2014-10-22 Jfeシステムズ株式会社 ジェスチャー検出装置、ジェスチャー検出プログラム、ジェスチャー認識装置およびジェスチャー認識プログラム
JP2015095232A (ja) * 2013-11-14 2015-05-18 Jfeシステムズ株式会社 ジェスチャー検出装置、ジェスチャー検出プログラム、ジェスチャー認識装置およびジェスチャー認識プログラム
US9261969B2 (en) 2013-11-14 2016-02-16 Jfe Systems, Inc. Gesture detecting device, gesture recognition device
EP2950195A1 (en) * 2014-05-30 2015-12-02 Kyocera Document Solutions Inc. Mobile terminal, selection processing method
CN105278827A (zh) * 2014-05-30 2016-01-27 京瓷办公信息系统株式会社 便携终端和选择处理方法
US9432496B2 (en) 2014-05-30 2016-08-30 Kyocera Document Solutions Inc. Mobile terminal, selection processing method
CN105278827B (zh) * 2014-05-30 2018-09-11 京瓷办公信息系统株式会社 便携终端和选择处理方法

Also Published As

Publication number Publication date
US20140223370A1 (en) 2014-08-07
JP2013054401A (ja) 2013-03-21
US9588660B2 (en) 2017-03-07
JP5497708B2 (ja) 2014-05-21

Similar Documents

Publication Publication Date Title
KR102423826B1 (ko) 사용자 단말 장치 및 그의 제어 방법
JP5497708B2 (ja) 携帯型電子機器、携帯型電子機器の制御方法、プログラム、及び情報記憶媒体
JP5506375B2 (ja) 情報処理装置及びその制御方法
EP3438807B1 (en) Device, method and graphical user interface for moving user interface objects
US8669937B2 (en) Information processing apparatus and computer-readable medium
US20200356250A1 (en) Devices, methods, and systems for manipulating user interfaces
WO2012068584A2 (en) Using gestures to command a keyboard application, such as a keyboard application of a mobile device
US20140313130A1 (en) Display control device, display control method, and computer program
EP2752745A1 (en) Input control device, input control method, and input control program
JP5529816B2 (ja) 携帯型再生装置、携帯型再生装置の制御方法、プログラム、及び情報記憶媒体
US9274702B2 (en) Drawing device, drawing control method, and drawing control program for drawing graphics in accordance with input through input device that allows for input at multiple points
JP2010067178A (ja) 複数点入力可能な入力装置及び複数点入力による入力方法
KR101861377B1 (ko) 이동 단말에서 모션 기반의 화면 제어 방법 및 이를 위한 이동 단말
JP5713943B2 (ja) 情報処理装置、情報処理方法、およびプログラム
JPH11305933A (ja) 入力装置及び入力方法
JP4779299B2 (ja) 表示装置および表示制御方法、記録媒体、並びにプログラム
JP2006039635A (ja) 表示装置
JP7177029B2 (ja) 表示システム、表示制御方法、プログラム
JP5773919B2 (ja) 情報処理装置及び方法
JP5994428B2 (ja) プログラムおよび携帯端末
US11461005B2 (en) Display system, display control method, and information storage medium
KR102118046B1 (ko) 포터블 디바이스 및 그 제어 방법
JP6132522B2 (ja) 情報処理装置、情報処理方法およびプログラム
KR20140010246A (ko) 전자문서 디스플레이 방법

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 12827692

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

WWE Wipo information: entry into national phase

Ref document number: 14241895

Country of ref document: US

122 Ep: pct application non-entry in european phase

Ref document number: 12827692

Country of ref document: EP

Kind code of ref document: A1