Abstract:
The present invention provides an electronic apparatus having a superiority in a selecting operation to an object. When contents of documents having a plurality of objects are displayed, a default focus is automatically given to one object located near to a display center by a focus control program. When the display is scrolled by cursor keys of a remote controller, objects to be given the focus are sequentially changed in conjunction with the scroll.

Description:
CROSS REFERENCE TO RELATED APPLICATION  
       [0001]     This application claims priority from Japanese Priority Document No. 2003-355972, filed on Oct. 16, 2003 with the Japanese Patent Office, which document is hereby incorporated by reference. 
     
    
     BACKGROUND OF THE INVENTION  
       [0002]     1. Field of the Invention  
         [0003]     The present invention relates to various electronic apparatuses each having functions of displaying a document on a display, selecting an arbitrary object contained in the displayed document, and accepting a user input for the selected object, a program, and a focus control method of the electronic apparatus.  
         [0004]     2. Description of the Related Art  
         [0005]     An electronic apparatus such as a television set, a PDA (Personal Digital (Data) Assistance) and a mobile phone has functions of reading a document through a network such as a World Wide Web or a local storage unit, analyzing the document, and displaying the document. When the displayed document contains a plurality of hyper-linked objects, a user operates cursor keys or a jog dial provided on the apparatus, moves a focus to a position of the object, and carries out accessing of a linked destination of the object by the above selection and the determination operations.  
         [0006]     Also, a Patent Document 1 describes a technology, wherein an up/down and left/right keys are operated when a user selects a menu desired by the user among menus displayed on a display in an apparatus for receiving a BS digital data broadcast. Further, in the above Patent Document 1, a mouse is used to eliminate a problem that when the focus is moved to the desired menu through an operation of the up/down and left/right keys of the remote controller, a presence of a large number of other menus between a presently focused menu and the desired menu requires that the key has to be pressed several times, resulting in an inferior operability. See Patent Document 1: Japanese Laid-open Patent No. 2003-60593,for example.  
       SUMMARY OF THE INVENTION  
       [0007]     Most of the electronic apparatuses such as the television set, the PDA (Personal digital (Data) Assistance) and the mobile phone are mainly mounted with cursor keys as a pointing device. The cursor keys, although being largely inferior to the mouse etc. in a degree of freedom of the selection on a plane, requires no operation space, and besides, the cursor keys are inexpensive, so that a remarkably extensive use of the cursor keys is acceptable.  
         [0008]     However, the cursor keys are not suited for the selection of the objects contained in a discrete arrangement in the displayed document, in which case, a frequently repeated operation has been required to move the focus to a desired object, for instance.  
         [0009]     In view of the above circumstances, the present invention is intended to provide an electronic apparatus that is superior in object selecting operability, and also a program and a focus control method of the electronic apparatus, wherein the object selecting operability may be substantially increased.  
         [0010]     To solve the above problems, an electronic apparatus according to the present invention comprises a display unit for displaying contents of a document containing one or more objects being selectable by a user, and focusing means for determining an object nearest to a height of a center position of the document in a display range displayed by the display unit and setting the determined object to be a user input-acceptable focus condition.  
         [0011]     The object nearest to the height of the center position of the document in the display range thereof is automatically set to the focus condition, so that a scroll operation with the cursor key, for instance, is merely required for a user to realize an object-to-object move of the focus. Hereby, the object selecting operability may be increased.  
         [0012]     The focusing means in the electronic apparatus of the present invention detects the objects contained in a predetermined effective focus range displayed on the display unit. In this case, when two or more objects are detected, the focusing means calculates a height position of each detected object from the center of the display, and also calculates a difference in height between two objects having the calculated height positions nearest to each other, wherein when the calculated difference exceeds a prescribed margin, the object nearest to the center height position of the display is set to the focus condition, and conversely, when the calculated difference falls within the prescribed margin, the object to be set to the focus condition between the two objects is determined in consideration of a horizontal position on the display unit.  
         [0013]     More specifically, the object nearest to the center of the display may be set to the focus condition by setting, to the focus condition, the object having a smallest horizontal distance from the center of the display between the two objects having the calculated difference within the prescribed margin.  
         [0014]     Further, the move of the focus is regularized by determining, in sequence according to a priority determined in a horizontal position relation of the display, the object to be set to the focus condition between the two objects having the calculated difference within the prescribed margin, so that an intuitive object selecting operation for the user is realized.  
         [0015]     Furthermore, the focusing means repeats the determination of the object to be set to the focus condition depending on a scroll event of the document displayed on the display unit, so that the object-to-object move of the focus is realized in cooperation with the scroll operation.  
         [0016]     According to the present invention, the selection of the objects contained in the discrete arrangement in the display document may be performed mainly by the scroll operation, resulting in a substantial increase of the operability.  
     
    
     BRIEF DESCRIPTION OF THE ATTACHED DRAWINGS  
       [0017]      FIG. 1  is a view showing a configuration of a television set available as one embodiment of the present invention;  
         [0018]      FIG. 2  is a view showing an instance of a display document containing a plurality of hyper-linked objects;  
         [0019]      FIG. 3  is a flowchart showing a processing procedure of a focus control program  28 ;  
         [0020]      FIG. 4  is a view showing an instance of a display of a document containing two objects;  
         [0021]      FIG. 5  is a flowchart showing a different processing procedure of selecting an object to be focused;  
         [0022]      FIG. 6  is a view for illustrating a method of selecting an object to be focused in consideration of an X-coordinate position;  
         [0023]      FIG. 7  is a view for illustrating a method of selecting an object to be focused based on a distance between the coordinates of the center of each object and the coordinates of a display center;  
         [0024]      FIG. 8  is a view for illustrating an object selecting method for focusing two objects sequentially in a uniform time division manner with a scroll;  
         [0025]      FIG. 9  is a flowchart showing a procedure of the object selecting method of  FIG. 8 ;  
         [0026]      FIG. 10  is a view for illustrating an object selecting method for focusing three or more objects sequentially in the uniform time division manner with the scroll; and  
         [0027]      FIG. 11  is a flowchart showing a procedure of the object selecting method of  FIG. 10 . 
     
    
     DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS  
       [0028]     One of embodiments of the present invention is hereinafter described in detail with reference to the accompanying drawings.  
         [0029]      FIG. 1  is a view showing a configuration of a television set available as one embodiment of the present invention.  
         [0030]     As shown in  FIG. 1 , a television set  100  as the embodiment is composed of an interface  1 , an A/V SW  2 , a video unit  3 , an audio unit  4 , an operation input unit  5 , a control unit  6 , etc. The interface  1  includes a network interface  7  available as means for connection with a network  53  such as a World Wide Web, a BS tuner  8  for receiving a BS broadcast, a terrestrial tuner  9  for receiving a terrestrial broadcast, a video input terminal  10 , an audio input terminal  11 , a memory card slot  12  for performing a reading and a writing of a memory card, an i.LINK(a DV terminal)  13 , etc.  
         [0031]     Video data and audio data, etc. supplied from an externally connected apparatus  14  such as a DVD (Digital Versatile Disc) recorder/player, a PC (Personal Computer), and a game machine are supplied through the video input terminal  10  and the audio input terminal  11 .  
         [0032]     The A/V SW  2  performs an input selection, etc. between the video data and the audio data supplied from each apparatus through the interface  1 .  
         [0033]     The video unit  3  is composed of a display  15  such as a CRT (Cathode Ray Tube) and a LCD (Liquid Crystal Display), and a Y/C signal processor  16  for generating a video signal displayable on the display  15  based on the video data selected by the A/V SW  2 .  
         [0034]     The audio part  4  is composed of a sound processor  17  for processing the audio data selected by the A/V SW  2 , an audio amplifier  18  for amplifying an output of the sound processor  17 , and a speaker  19  for outputting an amplified audio signal in a hearing sensational manner.  
         [0035]     The operation input unit  5  is available as means for processing various user operation inputs, and is composed of a key/switch unit  20  provided on a television set body, and an infrared communication unit  22  for performing an IR (Infrared) radio communication with a remote controller  21 .  
         [0036]     The control unit  6  is composed of a CPU (Central Processing Unit)  23 , a main memory  24 , a program/data storage unit  25 , etc. The CPU (Central Processing Unit)  23  performs various operational processing and controls using the main Memory  24  as a working space, based on a program and data stored in the program/data storage unit  25 , the input, etc. from the operation input unit  5 . The main memory  24  is a random read/write high-speed memory such as a RAM (Random Access Memory), for instance. The program/data storage unit  25  is a read-only or a read/write nonvolatile memory such as a ROM (Read Only Memory), a flash ROM, and a disk drive, for instance.  
         [0037]     The program/data storage unit  25  contains a document  31  such as a PDF (Portable Document Format) format, a HTML (Hyper Text Makeup Language) format, and an XML (extensible Makeup Language) format specified as an object of a display processing in the television set  100 , a document display information generation program  29  for generating display information by analyzing a source of the document  31  of various formats, a focus control program  28  for applying a focus on the user interface to hyper-linked objects contained in a document displayed on the display  15  to perform a control for an object-to-object move of the focus depending on a display document scroll within the display, etc. Here, the focus refers to a condition in which one of the hyper-linked objects on the displayed document is displayed as a presently selectable object such as to be capable of being discriminated from other objects visually by means of a change in color, or an inversion, etc., for instance. When an entry of an instruction to perform the selection is given by the user through the key/switch unit  20  or the remote controller  21 , access to document information at a linked destination is caused based on hyperlink information set to the object that is focused at that time.  
         [0038]     Incidentally, the document information is obtainable by capturing from not only the program/data storage unit  25  but also through the network interface  7  from the network such as the World Wide Web. Further, it is also allowable to perform a display processing of the document information described in a BML (Broadcast Makeup Language) format that meets with the BS digital data broadcast standards, after the capture through the BS tuner  8 .  
         [0039]     A focus control in the television set  100  with the focus control program  28  is now described in detail.  
         [0040]      FIG. 2  is a view showing an instance of the display document containing a plurality of hyper-linked objects. In the display document  31  shown in  FIG. 2 , a part of the whole document is displayed on a display surface  32  of the display  15 , and the user is supposed to permit a browsing of the whole document through an upward/downward and leftward/rightward scroll operation with the key/switch unit  20  or a cursor key  27  of the remote controller  21 .  
         [0041]     A definition of a plurality of hyper-linked objects A, B, C, D, E, and F such as character strings and images is given to the display document  31 , in which case, when the hyper-linked objects are contained in the display document  31  in a display range on the display surface  32 , one object (the object D in the illustrated embodiment) nearest to a display center P among the above objects is automatically selected by the focus control program  28  to ensure that the selected object D is focused. The focused object D is displayed with a display attribute such as a character color changed, for instance, so as to be visually and easily discriminated from other non-focused objects.  
         [0042]     The focus control program  28  performs the selection of the object to be focused according to a following processing procedure.  FIG. 3  is a flowchart showing the processing procedure of the focus control program  28 .  
         [0043]     Firstly, the focus control program  28  reads the document information to be displayed at Step  301 , and performs a source analysis at Step  302 . The source analysis allows the hyper-linked objects contained in the document in the range being displayed on the display to be detected at Step  303 .  
         [0044]     Here, as shown in  FIG. 4 , the display of the document containing two objects A and B is given as an instance. In this case, Y-coordinate position information in a display space is extracted from each of the detected objects A and B at Step  304 . The Y-coordinate position information extracted here in is obtainable as distances y 1  and y 2  from Y coordinates (Y 0 ) of the display center P to the centers of the objects A and B.  
         [0045]     In the case of a document in the PDF format, for instance, the Y-coordinate position information of the individual objects A and B maybe calculated from individual object layout information described in the source, the position information of the presently displayed document, etc.  
         [0046]     The focus control program  28  states that a range put between Y coordinates Y max and Y min at positions respectively spaced from the Y coordinates (Y 0 ) of the display center P by a prescribed distance in a plus direction and a minus direction is specified as an effective focus range, so that a detection of the object having a center point within the effective focus range is performed at Step  305 . In the embodiment shown in  FIG. 4 , the above two objects A and B are detected as the object having the center point within the effective focus range. The absence of any object having the center point within the effective focus range (NO in Step  306 ) brings in a wait condition for an occurrence of a scroll event at Step  310 . In the presence of only one object having the center point within the effective focus range (YES in the Step  306 →NO in Step  307 ), this one object is focused at Step  309 . Further, in the presence of a plurality of objects respectively having the center points within the effective focus range (YES in the Step  307 ), which object is focused is selected as follows at Step  308 , and the selected object is focused by default at Step  309 .  
         [0047]     A method of selecting the object to be focused in the Step  308  is now described.  
         [0048]     As shown in  FIG. 4 , there is described a case where the two objects A and B are contained in the effective focus range, for instance. The Y-coordinate position information of the object A is assumed to be y 1 , and the Y-coordinate position information of the object B is assumed to be y 2 . Each position information is given based on the Y coordinates (Y 0 ) of the display center P, so that it may be appreciated that the object (the object B in this embodiment) found to have a smaller value by a comparison between y 1  and y 2  is the object nearest to the Y coordinates (Y 0 ) of the display center P. The object B is supposed to be focused by default.  
         [0049]     While there is described the case where the selection of the object to be focused is performed depending on only the Y-coordinate position of the object, an addition of an X-coordinate position to a selecting requirement is also acceptable. A following method may be offered, for instance.  
         [0050]      FIG. 5  is a flowchart showing a processing procedure in this case.  
         [0051]     Firstly, a difference between y 1  specified as the Y-coordinate position information of the object A and y 2  specified as the Y-coordinate position information of the object B is calculated at Step  501 , and it is determined whether or not the calculated difference falls within a prescribed margin ε at Step  502 . When the difference is larger than the prescribed margin ε, the object found to have the smaller value by the comparison between y 1  and y 2  is selected as the object to be focused at Step  503 .  
         [0052]     Conversely, when the difference falls within the prescribed margin  6 , the two objects A and B nearest to the Y coordinates (Y 0 ) of the display center P are referred to as shown in  FIG. 6 , and distances x 1  and x 2  from X coordinates (X 0 ) of the display center P to the center points of the above two objects A and B are calculated this time to obtain X-coordinate position information of the objects A and B. Then, the object found to have a smaller value by the comparison between the calculated distances x 1  and x 2  is determined as the object to be focused. In this manner, it is also allowable to perform the selection of the object to be focused not only depending on the Y-coordinate position of the object but also in consideration of the X-coordinate position thereof.  
         [0053]     Furthermore, as shown in  FIG. 7 , distances z 1  and z 2  from the coordinates of centers Pa and Pb of the objects A and B contained in the effective focus range to the coordinates of the display center P may be also respectively calculated to focus the object having a smaller distance.  
         [0054]     In the embodiment shown in  FIG. 7 , the distance z 1  from the coordinates of the center Pa of the object A to the coordinates of the display center P may be calculated by a following expression (1). 
 
 z   1 =( x   1   2   +y   1   2 ) 1/2    (1) 
 
         [0055]     Likewise, the distance z 2  from the coordinates of the center Pb of the object B to the coordinates of the display center P maybe also calculated by a following expression (2). 
 
 z   2 =( x   2   2   +y   2   2 ) 1/2    (2) 
 
         [0056]     Then, the object having the smaller value between z 1  and z 2  is determined as the object to be focused. In the embodiment, the object B is determined as the object to be focused.  
         [0057]     The above-described focus control is repeated on each occasion of the occurrence of the scroll event at Step  311 . More specifically, it is preferable that a repetition of the focus control at every occurrence of a predetermined amount of scroll is performed not to apply an excessive load caused by the focus control to the CPU.  
         [0058]     Thus, the upward or downward scroll operation permits the focus to be moved in sequence between the plurality of objects contained in the document.  
         [0059]     An object selecting method for focusing each object sequentially in a uniform time division manner when performing the object-to-object move of the focus sequentially through the upward or downward scroll operation is now described with reference to  FIGS. 8 and 9 .  
         [0060]     Firstly, the difference between y 1  specified as the Y-coordinate position information of the object A and y 2  specified as the Y-coordinate position information of the objectBis calculated at Step  901 , and it is determined whether or not the calculated difference falls within the prescribed margin ε at Step  902 . When the difference is larger than the prescribed margin ε, the object found to have the smaller value by the comparison between y 1  and y 2  is selected as the object to be focused at Step  903 .  
         [0061]     Conversely, when the difference falls within the prescribed margin ε, it is determined whether intermediate Y coordinates (Y 1 - 2 ) of the Y coordinates of the centers of the two objects A and B are above or below the Y coordinates (Y 0 ) of the display center P at Step  904 . When the result is that the intermediate Y coordinates (Y 1 - 2 ) are above the Y coordinates (Y 0 ) of the display center P, the object A at a left side on the display is selected as the object to be focused at Step  905 , and conversely, when being below, the object B at a right side on the display is selected as the object to be focused at Step  906 .  
         [0062]     Thus, the object A at the left side on the display is focused until the scroll of the display brings the intermediate Y coordinates to the position of the Y coordinates of the display center P, and when the intermediate Y coordinates (Y 1 - 2 ) of the document exceed the Y coordinates (Y 0 ) of the display center P, the focus is supposed to be moved to the object B at the right side on the display. Thus, with the downward scroll, the two objects A and B nearest to each other with the Y-coordinate positions contained in the margin are focused in the uniform time division manner so as to move the focus from the object at the left side to the object at the right side in conformity with a direction of laterally written Japanese or English spelling. It is to be understood that the order of moving the focus from the left to the right is of course that given as one instance, and it is also allowable to switch sequentially the object to be focused from the right to the left depending on an environmental or conditional difference.  
         [0063]     Further, when the two objects have the exactly same height, the move of the focus is supposed to be performed from one object to the other with the center of each object as a border.  
         [0064]     Furthermore, when three or more objects are contained in the difference margin ε of the Y-coordinate position such as the case of the three or more objects having the exactly same height, the selection of the object to be focused is performed as follows.  
         [0065]     An object selecting operation in this case is described with reference to  FIGS. 10 and 11 .  
         [0066]     A Y-axial length h in which n pieces (three in this embodiment) of objects A, B, and C occupy is divided by the number of objects (n) at Step  1101 , and it is determined which division range contains the Y coordinates (Y 0 ) of the display center P at Step  1102 . Then, the object corresponding to the determined division range is focused at Step  1103 . In this case, the move of the focus is also supposed to be performed in sequence from the object at the left side to the object at the right side with the downward scroll. It is to be understood that the order of moving the focus from the left to the right is of course that given as one instance, and it is also allowable to switch sequentially the object to be focused from the right to the left depending on the environmental or conditional difference.  
         [0067]     As described in the foregoing, according to the above embodiment, one object nearest to the display center P is automatically focused by default, and the scroll of the display through the operation of the cursor key  27  of the remote controller  21  enables the automatic switching of the object to be focused in sequence. Thus, the operability in selecting the desired object contained in the display document may be increased up to a level equivalent to that in the case of using the pointing device such as the mouse.  
         [0068]     Incidentally, the electronic apparatus and the program according to the present invention are not limited to the illustrated embodiment described the above, and various changes may be of course made in a range of the present invention without departing from the spirit and scope thereof.