JP5223450B2 - Display device, program, and display method - Google Patents
Display device, program, and display method Download PDFInfo
- Publication number
- JP5223450B2 JP5223450B2 JP2008126227A JP2008126227A JP5223450B2 JP 5223450 B2 JP5223450 B2 JP 5223450B2 JP 2008126227 A JP2008126227 A JP 2008126227A JP 2008126227 A JP2008126227 A JP 2008126227A JP 5223450 B2 JP5223450 B2 JP 5223450B2
- Authority
- JP
- Japan
- Prior art keywords
- character string
- display
- displayed
- characters
- predetermined
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Landscapes
- Digital Computer Display Output (AREA)
- Machine Translation (AREA)
- Document Processing Apparatus (AREA)
- Controls And Circuits For Display Device (AREA)
Description
本発明は、文字列を表示する表示装置、該表示装置としてコンピュータを機能させるプログラム、及び該表示装置における表示方法に関する。 The present invention relates to a display device that displays a character string, a program that causes a computer to function as the display device, and a display method in the display device.
従来、ファイル名等の文字列を表示する表示装置として、文字列を各行において表示する際に、各行において表示可能な文字数を超える文字列については、スクロールさせながら表示するようにしたものが知られている。また、各行において表示可能な文字数を超える文字列については、当該文字列の右又は左側に続きがあることを示すスクロールマークを表示させ、所定の操作により続き部分を表示するようにしたものも知られている(たとえば特許文献1参照)。なお、同文献には、「曲名.MP3」となっている各MP3ファイル名を、拡張子部分「.MP3」を削除して表示することも記載されている。このような表示装置は、たとえば、メモリに記憶されている楽曲ファイルに基づいて楽曲の再生を行う記録再生装置において採用されており、再生したい楽曲の検索を行う際に用いるメニュー画面等の表示を行うために用いられる。 Conventionally, as a display device that displays a character string such as a file name, a character string that exceeds the number of characters that can be displayed in each line when the character string is displayed in each line is displayed while scrolling. ing. Also, for character strings that exceed the number of characters that can be displayed in each line, a scroll mark indicating that there is a continuation on the right or left side of the character string is displayed, and a continuation part is displayed by a predetermined operation. (See, for example, Patent Document 1). This document also describes that each MP3 file name “Song Title.MP3” is displayed with the extension “.MP3” deleted. Such a display device is employed in, for example, a recording / playback device that plays back music based on a music file stored in a memory, and displays a menu screen or the like that is used when searching for music to be played back. Used to do.
図1はこのような記録再生装置の一例を示す。この装置は、同図に示すように、装置各部の制御や必要な情報処理を行うシステムマイコン11、システムマイコン11の指示に基づき、入力される信号についてエンコード、デコード等の信号処理を施すDSP(デジタル・シグナル・プロセッサ)12、DSP12に接続されたUSBコントローラ13、DSP12からのデジタルオーディオ信号をアナログ信号に変換するDAコンバータ14、DAコンバータ14からのアナログオーディオ信号を増幅するアンプ部15、システムマイコン11に対して指示を与える操作を行うための操作部16、及びシステムマイコン11がユーザに対して提示する情報を表示する表示部17を備える。USBコントローラ13には楽曲ファイルが記憶されたUSBメモリ18が接続される。
FIG. 1 shows an example of such a recording / reproducing apparatus. As shown in the figure, this apparatus is a system microcomputer 11 that controls each part of the apparatus and performs necessary information processing, and a DSP that performs signal processing such as encoding and decoding on input signals based on instructions from the system microcomputer 11. A digital signal processor) 12, a
ファイル名等の表示に際し、DSP12はUSBメモリ18に記憶されている楽曲ファイルのヘッダ及びフッタからファイル名及びタグ情報を読み出してバッファに格納する。タグ情報にはタイトル名、アルバム名、アーティスト名等の情報が含まれる。また、楽曲ファイルのファイル形式に基づき、タグ情報における文字コードの種類やBOM(バイト・オーダ・マーク)、タグ情報のバージョンや文字数等を検出する。ファイル形式としてはたとえばMP3や、WMA、AACが該当する。
When displaying the file name or the like, the DSP 12 reads the file name and tag information from the header and footer of the music file stored in the
システムマイコン11は、楽曲ファイルを指定してファイル名やタグ情報を要求することにより、DSP12からこれらの情報を取得することができる。その際、楽曲ファイルのファイル形式、タグ情報のバージョン、タグ情報における文字コードの種類、BOM、文字数、文字列等を取得することができる。システムマイコン11は、取得したこれらの情報に基づき、表示部17において表示すべきファイル名やタイトル名等の文字列を、表示部17において表示可能な形式の文字列に変換する。その際、表示できない文字は「*」等に置き換える。変換した文字列を表示するときに、その文字列の文字数が表示部17において1行で表示可能な文字の数を超えている場合には、その文字列をスクロール表示させる。その後、その文字列を、先頭から、1行で表示可能な文字数分だけ表示する。
The system microcomputer 11 can acquire the information from the DSP 12 by designating the music file and requesting the file name and tag information. At that time, the file format of the music file, the version of the tag information, the character code type in the tag information, the BOM, the number of characters, the character string, and the like can be acquired. Based on the acquired information, the system microcomputer 11 converts a character string such as a file name or a title name to be displayed on the
図8は表示部17の所定の1行においてファイル名を表示するときの処理を示すフローチャートである。表示部17の1行で表示可能な文字の数をMとする。処理を開始するとシステムマイコン11は、ステップ91においてファイル名の要求を行う必要が生じるのを待機する。この要求の必要性は、たとえば、USBメモリ18に格納されている楽曲ファイルについてのファイル名の一覧を表示部17において表示する場合に発生する。
FIG. 8 is a flowchart showing processing when displaying a file name in a predetermined line of the
ファイル名の要求を行う必要が生じると、ステップ92へ進み、DSP12から、そのファイル名を構成する文字コード(以下、単に「文字」という。)及び文字数Lを取得する。次に、取得した文字及び文字数Lに基づき、ステップ93〜95において、文字数L分の文字の格納が完了したと判定するまで、取得した文字を1文字ずつバッファに格納してゆく。ステップ94において格納が完了したと判定した場合にはステップ96へ進む。また、その間、ステップ95においてバッファが満杯になったと判定した場合にもステップ96へ進む。
When it is necessary to make a request for a file name, the process proceeds to
ステップ96へ進むと、ステップ96〜100において、バッファ内の文字を1文字ずつ表示部17において表示可能な文字にコード変換し、表示バッファにコピーする。すなわち、まず、ステップ96において、各文字が表示可能な文字にコード変換可能なものであるかどうかを判定する。可能であると判定した場合にはその文字について、ステップ97においてコード変換を行い、ステップ99において表示バッファへの格納を行う。可能ではないと判定した場合にはその文字を、ステップ98において「*」に置き換えてからステップ99において表示バッファに格納する。ステップ96〜99の処理は、ステップ100において、バッファ内のすべての文字についての変換が完了したと判定するまで行う。なお、表示バッファにコピーされた最後の文字の次には、文字列の終端であることがわかるようにヌルを格納する。
In
ステップ100において変換が完了したと判定した場合には、ステップ101〜113において、表示バッファ中の文字列について、表示部17の所定の1行においてスクロール表示を行う。すなわちまず、ステップ101において、表示カウンタNをクリアする。このカウンタはスクロール表示の各段階において、表示バッファ中の表示すべき文字列部分を示すポインタとして機能する。
If it is determined in
次に、ステップ102において、表示カウンタNの値、及び1行で表示可能な文字数Mを用い、表示バッファに格納された文字のうち、N+1番目からN+M番目までの文字を当該1行において表示する。次に、ステップ103において、表示タイマを設定し、ステップ104において表示タイマがタイムアップするのを待機する。表示タイマがタイムアップすると、ステップ105において表示カウンタNをインクリメントする。次に、ステップ106において、表示バッファ中のN+M番目の文字はヌルであるかどうかを判定する。ヌルではないと判定した場合にはステップ102へ戻る。ヌルであると判定した場合には、丁度、表示バッファ中の最後の文字が表示部17に現れた時点であるので、この後は、ステップ107へ進み、最後の文字の後ろにスペースを付加してゆきながらスクロールを続行する。
Next, in step 102, using the value of the display counter N and the number of characters M that can be displayed in one line, the characters from the (N + 1) th to the (N + M) th of the characters stored in the display buffer are displayed in the one line. . Next, in step 103, a display timer is set, and in
ステップ107においてはスペースカウンタKをクリアする。次に、ステップ108において、表示可能文字数M、表示カウンタN、及びスペースカウンタKを用い、表示バッファ中のN+1番目の文字からN+M−1−K番目までの文字列に、K+1個のスペースを結合して文字列を設定する。次に、ステップ109において、設定した文字列を当該1行において表示する。次に、ステップ110において、表示タイマを設定し、ステップ111において表示タイマがタイムアップするのを待機する。表示タイマがタイムアップすると、ステップ112において表示カウンタN及びスペースカウンタKをインクリメントする。次に、ステップ113において表示カウンタNが表示可能文字数Mに達したかどうかを判定する。達していないと判定した場合にはステップ108へ戻り、スペースを付加したスクロールを続行する。Mに達したと判定した場合にはステップ114へ進み、表示バッファ中の最初からM番目までの文字を当該1行において表示し、図8の処理を終了する。
In step 107, the space counter K is cleared. Next, in
図9は図8の処理により文字列「ABCDEFGHIJKLMNOPQRSTUVWXYZ」が表示部17の1行において表示される様子を示す。最初のステップ102の処理により、同図(a)のように「ABCDEFGHIJK」が表示される。6回目のステップ102の処理により、同図(b)ように「FGHIJKLMNOP」が表示される。6回目のステップ109の処理により、同図(c)ように「VWXYZ」に対して6個のスペースが付加された文字列が表示される。11回目のステップ109の処理により、同図(d)ように11個のスペースからなる文字列が表示される。ステップ114の処理により、同図(e)のように、同図(a)と同じ表示が行われる。
FIG. 9 shows a state in which the character string “ABCDEFGHIJKLMNOPQRSTUVWXYZ” is displayed on one line of the
しかしながら、上述のように、1行で表示可能な文字数Mより文字数が多い文字列をスクロール表示するようにした場合、何らかの操作により連続的に表示内容が変化するときにはスクロールが間に合わず、表示内容に基づいて所望の動作を選択するのに手間取る場合がある。たとえば、楽曲検索の場合のように短時間で複数の楽曲名を確認するために楽曲名の一覧を縦方向にスクロールさせる場合、各楽曲名を構成する文字のすべてを横方向(文字列の方向)にスクロール表示すると、かなりの時間を要する。したがって、このような確認作業には文字列の方向へのスクロール表示は適していない。 However, as described above, when a character string having a number of characters larger than the number M of characters that can be displayed in one line is scroll-displayed, when the display content is continuously changed by some operation, the scrolling is not in time, and the display content is changed. It may be time-consuming to select a desired action based on this. For example, when scrolling a list of song names in the vertical direction in order to confirm a plurality of song names in a short time, as in the case of music search, all the characters constituting each song name are changed horizontally (the direction of the character string). ) Takes a long time to scroll. Therefore, the scroll display in the direction of the character string is not suitable for such confirmation work.
特に、図10のように、同じような名称に連続番号を付加したような複数のファイル名を表示する場合には、先頭からたとえば11文字のみを表示したのでは各ファイルの区別がまったくつかないので、スクロール表示させることが必要となるが、その場合、ファイル名の最後の文字が表示されるまで、各ファイル名を区別して特定することができない。したがって、ファイル名を確認するのに長時間を要する。 In particular, as shown in FIG. 10, when displaying a plurality of file names in which serial numbers are added to similar names, if only 11 characters are displayed from the top, for example, each file cannot be distinguished at all. Therefore, it is necessary to scroll the display. In this case, the file name cannot be distinguished and specified until the last character of the file name is displayed. Therefore, it takes a long time to confirm the file name.
また、1つのファイル名を行を分けて表示することも考えられるが、その場合には、1つの画面に表示することができるファイル名の数が減少するので好ましくない。 In addition, although it is conceivable to display one file name on a separate line, in this case, the number of file names that can be displayed on one screen is reduced, which is not preferable.
本発明の目的は、このような従来技術の問題点に鑑み、1行で表示可能な文字の数を超える数の文字で構成されたファイル名等を、1行において識別することができるように表示する技術を提供することにある。 An object of the present invention is to make it possible to identify, in one line, a file name composed of a number of characters exceeding the number of characters that can be displayed in one line, in view of such problems of the prior art. It is to provide a technique for displaying.
この目的を達成するため、第1発明に係る表示装置は、所定の文字列を表示する表示部を備えた表示装置であって、前記所定文字列の表示を行うために用いる表示桁数よりも前記所定文字列の文字数が大きい場合、前記所定文字列における最初の所定数の文字からなる開始文字列、及び最後の所定数の文字からなる終了文字列を用いて構成される前記表示桁数の省略文字列の表示として、前記所定文字列の表示を行い、前記省略文字列は、前記開始文字列及び終了文字列を所定の省略記号で結合することにより構成されるものであり、前記省略文字列の表示として前記所定文字列の表示を行うに際し、まず、前記所定文字列の最初から前記表示桁数分を表示し、次に、前記開始文字列の表示を固定するとともに、前記所定文字列における前記開始文字列に後続する文字列部分のスクロール表示を前記終了文字列が表示される領域において開始し、そして、該スクロール表示が進行し、前記終了文字列が表示されるときに、前記省略文字列の表示がなされた状態となるようにすることを特徴とする。 In order to achieve this object, a display device according to a first aspect of the present invention is a display device including a display unit that displays a predetermined character string, and has a display digit number that is used to display the predetermined character string. When the number of characters of the predetermined character string is large, the number of display digits configured by using a start character string consisting of the first predetermined number of characters in the predetermined character string and an end character string consisting of the last predetermined number of characters. as an indication of optional character strings, have row display of the predetermined character string, the abbreviated character string, which is constructed by combining the start character string and the end character string in a predetermined ellipses, the omitted When displaying the predetermined character string as the character string display, first, the display character number is displayed from the beginning of the predetermined character string, and then the display of the start character string is fixed, and the predetermined character is displayed. Said in the column Scroll display of the character string portion following the start character string is started in the area where the end character string is displayed, and when the scroll display proceeds and the end character string is displayed, the abbreviated character string Is displayed .
第2発明に係る表示装置は、第1発明において、前記省略文字列は前記開始文字列及び終了文字列を所定の省略記号で結合することにより構成されるものであり、前記開始文字列の表示の固定がなされている間、該開始文字列に隣接させて前記省略記号を表示することを特徴とする。 The display device according to a second invention is the display device according to the first invention, wherein the abbreviated character string is formed by combining the start character string and the end character string with a predetermined abbreviation symbol, and the display of the start character string While the symbol is fixed, the abbreviation symbol is displayed adjacent to the start character string .
第3発明に係るプログラムは、コンピュータを第1又は第2発明の表示装置として機能させることを特徴とする。 A program according to the third invention is characterized by causing a computer to function as display equipment of the first or second invention.
第4発明に係る表示方法は、所定の文字列を表示する表示部を備えた表示装置における表示方法であって、前記所定文字列の表示を行うために用いる表示桁数よりも前記所定文字列の文字数が大きい場合、前記所定文字列における最初の所定数の文字からなる開始文字列、及び最後の所定数の文字からなる終了文字列を用いて構成される前記表示桁数の省略文字列の表示として、前記所定文字列の表示を行い、前記省略文字列は、前記開始文字列及び終了文字列を所定の省略記号で結合することにより構成されるものであり、前記省略文字列の表示として前記所定文字列の表示を行うに際し、まず、前記所定文字列の最初から前記表示桁数分を表示し、次に、前記開始文字列の表示を固定するとともに、前記所定文字列における前記開始文字列に後続する文字列部分のスクロール表示を前記終了文字列が表示される領域において開始し、そして、該スクロール表示が進行し、前記終了文字列が表示されるときに、前記省略文字列の表示がなされた状態となるようにすることを特徴とする。 A display method according to a fourth aspect of the present invention is a display method in a display device having a display unit for displaying a predetermined character string, wherein the predetermined character string is more than the number of display digits used for displaying the predetermined character string. When the number of characters is large, the start character string composed of the first predetermined number of characters and the end character string composed of the last predetermined number of characters in the predetermined character string as a display, have row display of the predetermined character string, the abbreviated character string, which is constructed by combining the start character string and the end character string in a predetermined ellipsis, display of the abbreviated character string When the predetermined character string is displayed, first, the number of display digits from the beginning of the predetermined character string is displayed, and then the display of the start character string is fixed and the start of the predetermined character string is character Is started in the area where the end character string is displayed, and when the scroll display proceeds and the end character string is displayed, the display of the abbreviated character string is displayed. It is characterized by making it the state made .
本発明によれば、1行で表示可能な文字の数を超える数の文字で構成されたファイル名等を、1行において識別することができる。 According to the present invention, a file name or the like composed of a number of characters exceeding the number of characters that can be displayed in one line can be identified in one line.
図1は本発明の一実施形態に係るオーディオ再生装置の構成を示すブロック図である。この装置は、同図に示すように、装置各部の制御や必要な情報処理を行うシステムマイコン11、システムマイコン11の指示に基づき、入力される信号についてエンコード、デコード等の信号処理を施すDSP(デジタル・シグナル・プロセッサ)12、DSP12に接続されたUSBコントローラ13、DSP12からのデジタルオーディオ信号をアナログ信号に変換するDAコンバータ14、DAコンバータ14からのアナログオーディオ信号を増幅するアンプ部15、システムマイコン11に対して指示を与える操作を行うための操作部16、及びシステムマイコン11がユーザに対して提示する情報を表示する表示部17を備える。アンプ部15には、アンプ部15により増幅された音声信号を音声に変換するスピーカ19が接続される。
FIG. 1 is a block diagram showing the configuration of an audio playback apparatus according to an embodiment of the present invention. As shown in the figure, this apparatus is a system microcomputer 11 that controls each part of the apparatus and performs necessary information processing, and a DSP that performs signal processing such as encoding and decoding on input signals based on instructions from the system microcomputer 11. A digital signal processor) 12, a
USBコントローラ13にはUSBメモリ18が接続される。DSP12はUSBコントローラ13を介して、USBメモリ18に対するデータの書込み及び読出しを行うことができる。USBメモリ18にはMP3、WMA、AAC等の形式の楽曲ファイルが記憶される。各楽曲ファイルにはその楽曲ファイルに関するメタデータとして、アルバム名、ジャンル名、アーティスト名等のタグ情報が付随している。システムマイコン11は各楽曲ファイルのタグ情報に基づく選択項目を表示部17において表示し、選択項目の選択を受け入れることにより、ユーザが楽曲ファイルの検索等を行うことができるようにしている。システムマイコン11は検索された楽曲データに基づいて楽曲を再生することができる。その際、DSP12はUSBメモリ18から楽曲ファイルを読み出してデコードし、得られた音声信号をDAC14に供給する。システムマイコン11はまた、ユーザの指示に基づき、USBメモリ18中の楽曲ファイルのファイル名を、表示部17において表示し、楽曲ファイルに関する処理を受け入れることができる。
A
楽曲ファイルのタグ情報やファイル名の表示に際し、DSP12はUSBメモリ18に記憶されている楽曲ファイルのヘッダ及びフッタからファイル名やタグ情報を読み出してバッファに格納する。また、楽曲ファイルのファイル形式に基づき、タグ情報における文字コードの種類やBOM(バイト・オーダ・マーク)、タグ情報のバージョンや文字数等を検出する。
When displaying the tag information and file name of the music file, the
システムマイコン11は、楽曲ファイルを指定して、そのファイル名やタグ情報を要求することにより、DSP12からこれらの情報を取得することができる。その際、楽曲ファイルのファイル形式、タグ情報のバージョン、タグ情報における文字コードの種類、BOM、文字数、文字列等を取得することができる。システムマイコン11は、取得したこれらの情報に基づき、表示部17において表示すべきファイル名やタイトル名等の文字列(以下、1つのファイル名やタイトル名を構成し、1行において表示されるべき文字列を「単位文字列」という。)を表示可能な形式の単位文字列に変換する。その際、表示できない文字は「*」等に置き換える。変換した単位文字列を表示するときに、単位文字列の文字数が、表示部17において1行に表示可能な文字の数Mを超えている場合には、単位文字列の中間を省略して字数をMとした省略文字列により表示を行う。単位文字列の文字数がMを超えていない場合には、単位文字列をそのまま用いて表示する。省略文字列は、単位文字列における最初の所定数の文字からなる開始文字列、及び最後の所定数の文字からなる終了文字列を、省略記号「〜」で結合することにより構成される。
The system microcomputer 11 can acquire the information from the
図2は省略文字列の表示例を示す。この例では、1行において表示可能な文字の数Mが11であり、単位文字列が「ABCDEFGHIJKLMNOPQRSTUVWXYZ」である場合について示している。この場合、同図のように、省略文字列は、最初の5文字からなる開始文字列「ABCDE」及び最後の5文字からなる終了文字列「VWXYZ」を省略記号「〜」で結合することにより、全体として、表示可能な字数Mに等しい11文字の文字列として構成されている。 FIG. 2 shows a display example of an abbreviated character string. In this example, the number M of characters that can be displayed in one line is 11, and the unit character string is “ABCDEFGHIJKLMNOPQRSTUVWXYZ”. In this case, as shown in the figure, the abbreviated character string is obtained by concatenating the start character string “ABCDE” consisting of the first five characters and the end character string “VWXYZ” consisting of the last five characters with the ellipsis “˜”. As a whole, it is constituted as a character string of 11 characters equal to the number M of characters that can be displayed.
なお、図2においては、開始文字列の文字数と、終了文字列の文字数とを同一文字数としたが、例えば1行において表示可能な文字の数Mが11である場合、開始文字列を6文字、終了文字列を4文字としてもよく、1行において表示可能な文字の数Mが10である場合には、開始文字列を5文字とし、終了文字列を4文字としてもよい。 In FIG. 2, the number of characters of the start character string and the number of characters of the end character string are the same. However, for example, when the number M of characters that can be displayed in one line is 11, the start character string is 6 characters. The end character string may be 4 characters, and when the number M of characters that can be displayed in one line is 10, the start character string may be 5 characters and the end character string may be 4 characters.
図3は、単位文字列として1つのファイル名を表示する処理を示すフローチャートである。処理を開始すると、システムマイコン11は、ステップ31においてファイル名の要求を行う必要が生じるのを待機する。このような要求の必要性は、たとえば、USBメモリ18に格納されている楽曲ファイルについてのファイル名の一覧を表示部17において表示する場合に発生する。
FIG. 3 is a flowchart showing a process for displaying one file name as a unit character string. When the process is started, the system microcomputer 11 waits for the necessity of requesting a file name in
ファイル名の要求を行う必要が生じると、ステップ32へ進み、DSP12から、そのファイル名を構成する文字コード(以下、単に「文字」という。)及び文字数Lを取得する。次に、取得した文字及び文字数Lに基づき、ステップ33〜35において、各文字を順次バッファに格納する。すなわち、ステップ34において文字数L分の文字の格納が完了したと判定するまで、1文字ずつバッファに格納してゆく。ステップ34において格納が完了したと判定した場合にはステップ36へ進む。また、その間、ステップ35においてバッファが満杯になったと判定した場合にもステップ36へ進む。
When it is necessary to make a request for a file name, the process proceeds to step 32, and a character code (hereinafter simply referred to as “character”) and the number of characters L constituting the file name are acquired from the
ステップ36へ進むと、ステップ36〜40において、バッファ内の文字を1文字ずつ表示部17において表示可能な文字にコード変換する。すなわちステップ36において、各文字が、表示部17において表示可能な文字にコード変換できるかどうかを判定する。可能であると判定した場合にはステップ37においてコード変換を行い、ステップ39において表示バッファに格納する。表示可能ではないと判定した場合にはその文字を、ステップ38において「*」に置き換えて、ステップ39において表示バッファに格納する。ステップ36〜39の処理は、ステップ40において、バッファ内のすべての文字についてのコード変換が完了したと判定するまで行う。なお、表示バッファに格納した最後の文字の次には、文字列の終端であることがわかるように、ヌルを格納する。
In
ステップ40においてコード変換が完了したと判定した場合には、ステップ41〜49において、表示バッファ中の文字に基づく表示を行う。すなわち、まずステップ41において、表示バッファ中の文字の数が1行で表示可能なM以下であるかどうかを判定する。M以下であると判定した場合にはステップ42へ進み、表示バッファ中の先頭から所定数Bの文字を開始文字列として省略用バッファに格納する。次に、ステップ43において、省略用バッファに省略記号「〜」を格納する。次に、ステップ44〜48において終了文字列を省略用バッファに格納する。
If it is determined in
すなわち、まずステップ44において、開始文字列の文字数Bに省略記号の字数1を加算した値(B+1)をカウンタCに設定する。次に、ステップ45において、表示バッファにおけるカウンタC番目の内容がヌル「0」であるか否かを判定する。ヌルではないと判定した場合にはステップ46においてカウンタCをインクリメントし、ステップ45に戻る。ヌルであると判定した場合にはステップ47へ進み、カウンタCから終了文字列のの文字数Eを減算し、Pとする。次に、ステップ48において、表示バッファのP番目の文字から終了文字列の文字数E分の文字を、省略用カウンタに格納する。これにより、省略用バッファにおいて、省略文字列が格納されたことになる。
That is, first, in
次に、ステップ49において、省略用バッファ内の省略文字列を、表示部17の所定の1行において表示する。ステップ41において表示バッファ中の文字の数が1行で表示可能なM以下であると判定した場合には、表示バッファ中の先頭からM文字分をそのままステップ49において、当該1行に表示する。これにより、1つのファイル名についての表示処理が完了する。
Next, in step 49, the abbreviated character string in the abbreviated buffer is displayed in a predetermined line on the
これによれば、文字数が1行で表示可能な文字数を超えるファイル名について、その内容や他のファイル名との区別を、省略文字列の表示により、スクロール表示させることなく直ちに認識させることができる。特に、図10のような各ファイル名を、省略文字列によりソートして表示する場合、終了文字列における変化が各ファイル名を区別するのに重要な要素となり得るので、本実施形態は有効である。ただし、次のように、スクロール表示を補助的に用いるようにしてもよい。 According to this, regarding the file name whose number of characters exceeds the number of characters that can be displayed in one line, the contents and the distinction from other file names can be immediately recognized without scrolling display by displaying the abbreviated character string. . In particular, when each file name as shown in FIG. 10 is sorted and displayed by the abbreviated character string, the change in the end character string can be an important element for distinguishing each file name, so this embodiment is effective. is there. However, scroll display may be used supplementarily as follows.
図4はスクロール表示を伴う省略文字列の表示例を示す。この例では、1行において表示可能な文字の数Mが11であり、単位文字列が「ABCDEFGHIJKLMNOPQRSTUVWXYZ」である場合について示している。この例では、まず、同図(a)のように単位文字列の先頭から1行で表示可能な11文字分「ABCDEFGHIJK」を表示し、次に、同図(b)及び(c)のように、開始文字列「ABCDE」の表示を固定するとともに、「H」以降の文字列について、終了文字列を表示すべき7カラム目から11カラム目までの表示領域においてスクロール表示を行う。この間、開始文字列「ABCDE」に隣接させて、省略記号「〜」が表示される。そして、同図(d)のように終了文字列「VWXYZ」が表示された時点で、スクロール表示を終了し、省略文字列「ABCDE〜VWXYZ」が表示された状態となる。スクロール表示や省略文字列の表示は、図9のステップ101〜106や、図3のステップ41〜49のようにして行うことができる。
FIG. 4 shows a display example of an abbreviated character string accompanied by scroll display. In this example, the number M of characters that can be displayed in one line is 11, and the unit character string is “ABCDEFGHIJKLMNOPQRSTUVWXYZ”. In this example, first, “ABCDEFGHIJK” for 11 characters that can be displayed in one line from the top of the unit character string is displayed as shown in FIG. 9A, and then, as shown in FIGS. In addition, the display of the start character string “ABCDE” is fixed, and scroll display is performed in the display area from the seventh column to the eleventh column where the end character string is to be displayed for the character strings after “H”. During this time, the ellipsis “˜” is displayed adjacent to the start character string “ABCDE”. Then, when the end character string “VWXYZ” is displayed as shown in FIG. 4D, the scroll display is terminated and the abbreviated character strings “ABCDE to VWXYZ” are displayed. The scroll display and the display of the abbreviated character string can be performed as in steps 101 to 106 in FIG. 9 and
図5はスクロール表示を伴う省略文字列の別の表示例を示す。この例では、1行において表示可能な文字の数Mが11であり、単位文字列が「ABCDEFGHIJKLMNOPQRSTUVWXYZ」である場合について示している。この例では、同図(a)〜(d)のように単位文字列の全体をスクロール表示させ、スクロール表示が完了すると、同図(e)のように省略文字列「ABCDE〜VWXYZ」を表示するようにしている。このスクロール表示及び省略文字列の表示は、図9のステップ101〜113の処理、及び図3のステップ41〜49の処理と同様にして行うことができる。
FIG. 5 shows another display example of the abbreviated character string accompanied by scroll display. In this example, the number M of characters that can be displayed in one line is 11, and the unit character string is “ABCDEFGHIJKLMNOPQRSTUVWXYZ”. In this example, the entire unit character string is scroll-displayed as shown in FIGS. 11A to 13D, and when the scroll display is completed, the abbreviated character string “ABCDE to VWXYZ” is displayed as shown in FIG. Like to do. The scroll display and the display of the abbreviated character string can be performed in the same manner as the processing in steps 101 to 113 in FIG. 9 and the processing in
図6はスクロール表示を伴う省略文字列のさらに別の表示例を示す。この例では、1行において表示可能な文字の数Mが11であり、単位文字列が「ABCDEFGHIJKLMNOPQRSTUVWXYZ」である場合について示している。この例では、まず、同図(a)のように単位文字列についての省略文字列「ABCDE〜VWXYZ」を表示する。次に、同図(b)のように、終了文字列「VWXYZ」の表示を固定するとともに、開始文字列の表示領域である1カラム目から5カラム目において単位文字列についてのスクロール表示を開始する。このスクロール表示の間、終了文字列「VWXYZ」に隣接させて省略記号「〜」を表示する。そして、同図(c)のように、該表示領域における先頭の文字が、単位文字列における後ろからM(=11)文字目の文字「P」の1つ前の文字「O」になると、その次に、同図(d)のように、単位文字列における「P」以降の文字列部分を表示する。 FIG. 6 shows still another display example of an abbreviated character string accompanied by scroll display. In this example, the number M of characters that can be displayed in one line is 11, and the unit character string is “ABCDEFGHIJKLMNOPQRSTUVWXYZ”. In this example, first, the abbreviated character string “ABCDE to VWXYZ” for the unit character string is displayed as shown in FIG. Next, as shown in FIG. 5B, the display of the end character string “VWXYZ” is fixed, and the scroll display of the unit character string is started in the first to fifth columns, which is the display area of the start character string. To do. During this scroll display, the ellipsis “˜” is displayed adjacent to the end character string “VWXYZ”. Then, as shown in FIG. 5C, when the first character in the display area is the character “O” immediately before the character “P” of the M (= 11) character from the back in the unit character string, Next, as shown in FIG. 4D, the character string portion after “P” in the unit character string is displayed.
次に、同図(e)及び(f)のように、11カラムのすべてを用い、単位文字列の最後の11文字についてのスクロール表示を行う。その際、文字列の後ろにスペースを順次追加してゆく。そして、同図(g)のように、すべてのカラムがスペースとなり、スクロールが完了すると、同図(h)のように、省略文字列「ABCDE〜VWXYZ」の表示を行う。 Next, as shown in (e) and (f) of the figure, scroll display is performed for the last 11 characters of the unit character string using all 11 columns. At that time, a space is sequentially added after the character string. When all the columns become spaces as shown in FIG. 6G and scrolling is completed, the abbreviated character strings “ABCDE to VWXYZ” are displayed as shown in FIG.
この図6の表示は、たとえば、図10のような各ファイル名が、図7のように省略文字列により表示されており、そしてそのうちの1つ「Abcde〜k_002」が選択された場合に、選択されたファイル名について行うことができる。この場合、ユーザは選択に際しては省略文字列により直ちに選択対象を判別して選択を行うことができるとともに、選択後に、選択したファイル名の全体を確認することができる。 In the display of FIG. 6, for example, when each file name as shown in FIG. 10 is displayed by an abbreviated character string as shown in FIG. 7 and one of those file names “Abcde to k — 002” is selected, This can be done for the selected file name. In this case, at the time of selection, the user can immediately determine the selection target based on the abbreviated character string and make a selection, and can check the entire selected file name after selection.
なお、本発明は上述の実施形態に限定されることなく、適宜変形して実施することができる。たとえば、上述においては1行に表示する単位文字列としてファイル名を表示する場合について説明したが、ファイル名に限らず、フォルダ名やタグ情報として記載された楽曲名等についても適用することができる。たとえば、「ブランデン〜奏曲第1番」、「ブランデン〜奏曲第2番」、「ブランデン〜奏曲第5番」・・・のように、開始文字列及び終了文字列により各楽曲名を区別することが容易であり、楽曲名をソートして表示する場合には、終了文字列の変化により各楽曲名を直ちに区別して選択することができる。 In addition, this invention is not limited to the above-mentioned embodiment, It can deform | transform and implement suitably. For example, in the above description, the case where the file name is displayed as a unit character string displayed on one line has been described. However, the present invention can be applied not only to the file name but also to a song name described as a folder name or tag information. . For example, "Branden-Music No. 1", "Branden-Music No. 2", "Branden-Music No. 5", etc. It is easy to distinguish, and when music names are sorted and displayed, each music name can be immediately distinguished and selected by changing the end character string.
また、上述においては、省略記号として「〜」を用いているが、この代わりに他の省略記号、たとえば「・・・」を用いるようにしてもよい。また、英語名の場合には「...」を用い、和名の場合には「〜」を用いるようにしてもよい。 In the above description, “˜” is used as an ellipsis, but other ellipsis, for example, “...” May be used instead. Also, “...” may be used for English names, and “˜” may be used for Japanese names.
また、上述においては、ファイル名を表示する楽曲ファイルが記録されている記録媒体がUSBメモリ18である場合について説明したが、これに限らずメモリカード、内蔵メモリ、内蔵/外付けHDDに記録された楽曲、ネットワークを介して再生可能な楽曲などのファイル名や楽曲名を表示する場合にも適用可能である。
In the above description, the case where the recording medium on which the music file displaying the file name is recorded is the
11:システムマイコン、12:DSP、13:USBコントローラ、14:DAコンバータ、15:アンプ部、16:操作部、17:表示部、18:USBメモリ、19:スピーカ。 11: system microcomputer, 12: DSP, 13: USB controller, 14: DA converter, 15: amplifier unit, 16: operation unit, 17: display unit, 18: USB memory, 19: speaker.
Claims (4)
前記所定文字列の表示を行うために用いる表示桁数よりも前記所定文字列の文字数が大きい場合、前記所定文字列における最初の所定数の文字からなる開始文字列、及び最後の所定数の文字からなる終了文字列を用いて構成される前記表示桁数の省略文字列の表示として、前記所定文字列の表示を行い、
前記省略文字列は、前記開始文字列及び終了文字列を所定の省略記号で結合することにより構成されるものであり、
前記省略文字列の表示として前記所定文字列の表示を行うに際し、
まず、前記所定文字列の最初から前記表示桁数分を表示し、
次に、前記開始文字列の表示を固定するとともに、前記所定文字列における前記開始文字列に後続する文字列部分のスクロール表示を前記終了文字列が表示される領域において開始し、
そして、該スクロール表示が進行し、前記終了文字列が表示されるときに、前記省略文字列の表示がなされた状態となるようにすることを特徴とする表示装置。 A display device including a display unit for displaying a predetermined character string,
When the number of characters of the predetermined character string is larger than the number of display digits used to display the predetermined character string, a start character string consisting of the first predetermined number of characters in the predetermined character string, and the last predetermined number of characters as the display of the display digits of the abbreviated character string constructed of a completion string of, we have line display of the predetermined character string,
The abbreviated character string is configured by combining the start character string and the end character string with a predetermined ellipsis,
When displaying the predetermined character string as the display of the abbreviated character string,
First, display the number of display digits from the beginning of the predetermined character string,
Next, the display of the start character string is fixed, and the scroll display of the character string portion subsequent to the start character string in the predetermined character string is started in the area where the end character string is displayed,
The display device is characterized in that when the scroll display proceeds and the end character string is displayed, the abbreviated character string is displayed .
前記開始文字列の表示の固定がなされている間、該開始文字列に隣接させて前記省略記号を表示することを特徴とする請求項1記載の表示装置。 The abbreviated character string is configured by combining the start character string and the end character string with a predetermined ellipsis,
Said start while the character display of the fixed columns have been made, the display device according to claim 1, wherein the displaying the ellipsis is adjacent to the start character string.
前記所定文字列の表示を行うために用いる表示桁数よりも前記所定文字列の文字数が大きい場合、前記所定文字列における最初の所定数の文字からなる開始文字列、及び最後の所定数の文字からなる終了文字列を用いて構成される前記表示桁数の省略文字列の表示として、前記所定文字列の表示を行い、
前記省略文字列は、前記開始文字列及び終了文字列を所定の省略記号で結合することにより構成されるものであり、
前記省略文字列の表示として前記所定文字列の表示を行うに際し、
まず、前記所定文字列の最初から前記表示桁数分を表示し、
次に、前記開始文字列の表示を固定するとともに、前記所定文字列における前記開始文字列に後続する文字列部分のスクロール表示を前記終了文字列が表示される領域において開始し、
そして、該スクロール表示が進行し、前記終了文字列が表示されるときに、前記省略文字列の表示がなされた状態となるようにすることを特徴とする表示方法。 A display method in a display device including a display unit for displaying a predetermined character string,
When the number of characters of the predetermined character string is larger than the number of display digits used to display the predetermined character string, a start character string consisting of the first predetermined number of characters in the predetermined character string, and the last predetermined number of characters as the display of the display digits of the abbreviated character string constructed of a completion string of, we have line display of the predetermined character string,
The abbreviated character string is configured by combining the start character string and the end character string with a predetermined ellipsis,
When displaying the predetermined character string as the display of the abbreviated character string,
First, display the number of display digits from the beginning of the predetermined character string,
Next, the display of the start character string is fixed, and the scroll display of the character string portion subsequent to the start character string in the predetermined character string is started in the area where the end character string is displayed,
The display method is characterized in that when the scroll display proceeds and the end character string is displayed, the abbreviated character string is displayed .
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2008126227A JP5223450B2 (en) | 2008-05-13 | 2008-05-13 | Display device, program, and display method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2008126227A JP5223450B2 (en) | 2008-05-13 | 2008-05-13 | Display device, program, and display method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2009276466A JP2009276466A (en) | 2009-11-26 |
| JP5223450B2 true JP5223450B2 (en) | 2013-06-26 |
Family
ID=41441981
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2008126227A Expired - Fee Related JP5223450B2 (en) | 2008-05-13 | 2008-05-13 | Display device, program, and display method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP5223450B2 (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2015177197A (en) | 2014-03-12 | 2015-10-05 | 船井電機株式会社 | Playback device |
| JP6314650B2 (en) * | 2014-05-19 | 2018-04-25 | ブラザー工業株式会社 | Display device and printing device |
Family Cites Families (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH022489A (en) * | 1988-06-10 | 1990-01-08 | Nippon Denso Co Ltd | Method for displaying character in measuring gauge |
| JP4090941B2 (en) * | 2003-05-13 | 2008-05-28 | アルパイン株式会社 | Electronic equipment |
| JP2005062497A (en) * | 2003-08-13 | 2005-03-10 | Sony Corp | Display method, display device, and audio equipment |
| JP4590312B2 (en) * | 2005-06-20 | 2010-12-01 | キヤノン株式会社 | Information processing apparatus, control method therefor, computer program, and computer-readable storage medium |
| JP2007034647A (en) * | 2005-07-27 | 2007-02-08 | Fuji Xerox Co Ltd | Display device, display method, image forming device and electronic equipment |
| JP2007232920A (en) * | 2006-02-28 | 2007-09-13 | Nikon Corp | Display system |
| JP2007298888A (en) * | 2006-05-02 | 2007-11-15 | Sony Corp | Display device and display method |
-
2008
- 2008-05-13 JP JP2008126227A patent/JP5223450B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2009276466A (en) | 2009-11-26 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR101459136B1 (en) | How to create an audio data player and its playlist | |
| JP2007514253A (en) | Image item display method, apparatus, and computer program for music content | |
| JP2003330777A (en) | Data file reproducing device, recording medium, data file recording device, and data file recording program | |
| JP5019836B2 (en) | Electronic device having data reproduction function | |
| JP5223450B2 (en) | Display device, program, and display method | |
| JP3793738B2 (en) | REPRODUCTION DEVICE, ITS METHOD, ITS PROGRAM, AND RECORDING MEDIUM CONTAINING THE PROGRAM | |
| JP2001167104A (en) | System and method for retrieving folder | |
| JP4244011B2 (en) | Data reproduction apparatus and reproduction data management method in data reproduction apparatus | |
| JP4721765B2 (en) | Content search apparatus and content search method | |
| JP5041470B2 (en) | Content data reproduction apparatus and content list creation method | |
| JP4953304B2 (en) | Content data playback device, content list creation method, and content data search method | |
| JP2009282338A (en) | Display device, program, and display method | |
| JP2006343933A (en) | Data processing method, electronic device, and program | |
| JP6440557B2 (en) | Music playback device and music selection support method | |
| JP4812109B2 (en) | Content data playback device, content list creation method, and content list search method | |
| JP5644714B2 (en) | Electronic device, display control method, display control program | |
| JP5044863B2 (en) | Content information display device | |
| JP2008293300A (en) | Data processor, control program, and computer-readable recording medium | |
| JP5263541B2 (en) | Information display device and program thereof | |
| JP4992809B2 (en) | Audio device, file name assigning method, and program | |
| JP2005285274A (en) | Title display information generator | |
| CN100433014C (en) | Method for providing file information in portable device | |
| JP5332489B2 (en) | Content information display control device and program thereof | |
| JP2003242068A (en) | Recording / reproducing apparatus and recording / reproducing method | |
| JP2010086094A (en) | Content processing device, content display method, and program |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20100922 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20110825 |
|
| A711 | Notification of change in applicant |
Free format text: JAPANESE INTERMEDIATE CODE: A712 Effective date: 20111012 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20120926 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20121002 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20121121 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20130212 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20130225 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 5223450 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20160322 Year of fee payment: 3 |
|
| LAPS | Cancellation because of no payment of annual fees |