JPH09282064A - Character data classification method/device - Google Patents

Character data classification method/device

Info

Publication number
JPH09282064A
JPH09282064A JP8120990A JP12099096A JPH09282064A JP H09282064 A JPH09282064 A JP H09282064A JP 8120990 A JP8120990 A JP 8120990A JP 12099096 A JP12099096 A JP 12099096A JP H09282064 A JPH09282064 A JP H09282064A
Authority
JP
Japan
Prior art keywords
data
character code
classification
character
classification item
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.)
Abandoned
Application number
JP8120990A
Other languages
Japanese (ja)
Inventor
Hidekazu Tanaka
秀和 田中
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sony Corp
Original Assignee
Sony Corp
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 Sony Corp filed Critical Sony Corp
Priority to JP8120990A priority Critical patent/JPH09282064A/en
Publication of JPH09282064A publication Critical patent/JPH09282064A/en
Abandoned legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To reduce the display area of a classification item and to avoid an operation from becoming complicated. SOLUTION: A data input means 18 takes in an input character code string constituted of the string of character codes forming plural classification item data and the character code (specified character code) of ',' laid between adjacent classification item data through a keyboard. A data extraction means 20 specifies the head and the end of the character codes in classification item data by the specified character code and extracts classification item data from the input character code string. A data registration means 22 makes data to be classified such as a name constituted of one or plural character code strings correspond to classification item data which the data extraction means 20 extracts. A data output means 24 outputs data to be classified, which corresponds to designated classification item data, when classification item data is designated.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、文字列情報を分類
して保持し、必要に応じて分類出力する方法および装置
に関し、特に分類項目の入力に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method and apparatus for classifying and holding character string information and classifying and outputting it as needed, and more particularly to inputting classification items.

【0002】[0002]

【従来の技術】例えばある種の携帯端末装置は、多数の
氏名を記憶し、利用者の指示に従って記憶している氏名
を分類して一覧表示する機能を有している。図7はこの
ような携帯端末装置でデータを入力する場合の液晶表示
画面の一例を示す説明図である。この例では氏名欄10
2に「山田太郎」が入力され、分類項目欄104には
「業務」が入力されている。また、この携帯端末装置は
3つの項目で氏名を分類でき、分類項目欄106には
「社員」が入力され、分類項目欄108には「PTC」
が入力されている。なお、これらのデータの入力は携帯
端末装置に付属しているキーボードやタブレットなどを
操作して行う。
2. Description of the Related Art For example, a portable terminal device of a certain type has a function of storing a large number of names and classifying and displaying the stored names according to a user's instruction. FIG. 7 is an explanatory diagram showing an example of a liquid crystal display screen when data is input to such a mobile terminal device. In this example, the name column 10
“Taro Yamada” is entered in 2, and “work” is entered in the classification item column 104. Further, this portable terminal device can classify names by three items, "employee" is input in the classification item column 106, and "PTC" is entered in the classification item column 108.
Is entered. Input of these data is performed by operating a keyboard, a tablet, etc. attached to the mobile terminal device.

【0003】このようにデータが入力されると携帯端末
装置は、氏名「山田太郎」を分類項目「業務」、「社
員」、ならびに「PTC」に対応づけて記憶し、所定の
操作により、氏名の一覧表示が指示され、そのとき例え
ば分類項目として「業務」指定されると、携帯端末装置
はその液晶表示画面に、分類項目「業務」に分類されて
いる、「山田太郎」を含むすべての氏名を表示する。図
8はこの分類表示の一例を示す説明図である。図中、右
側の表示欄110に表示されているのは各人の電話番号
である。
When data is thus input, the portable terminal device stores the name "Taro Yamada" in association with the classification items "business", "employees", and "PTC", and by performing a predetermined operation, the name is stored. When the list display is instructed and, for example, “business” is designated as the classification item at that time, the mobile terminal device displays all the items including “Taro Yamada” classified in the classification item “business” on its liquid crystal display screen. Display name. FIG. 8 is an explanatory diagram showing an example of this classification display. In the figure, what is displayed in the display field 110 on the right side is the telephone number of each person.

【0004】また、この一覧表示のとき、分類項目とし
て「社員」が指定されると、携帯端末装置はその液晶表
示画面に、分類項目「社員」に分類されているすべての
氏名を表示する。図9はこの分類表示の一例を示す説明
図である。無論、この場合にも「山田太郎」が含まれて
いる。さらに、「PTC」が指定された場合には、「山
田太郎」を含むすべての氏名が同様に一覧表示されるこ
とになる。
Further, when "employee" is designated as the classification item in the list display, the portable terminal device displays all the names classified in the classification item "employee" on its liquid crystal display screen. FIG. 9 is an explanatory diagram showing an example of this classification display. Of course, "Taro Yamada" is also included in this case. Further, when "PTC" is specified, all names including "Taro Yamada" are also displayed in a list.

【0005】また、入力する分類項目は任意であり、上
記の項目以外にも、例えば「取引先」「Pプロジェク
ト」「プライベート」など種々の項目を設定できる。な
お、比較的低機能の装置では、1人に対して1つの分類
項目しか設定できないものもある。
Further, the classification items to be inputted are arbitrary, and in addition to the above items, various items such as “business partner”, “P project”, “private” can be set. Some relatively low-function devices can set only one classification item for one person.

【0006】[0006]

【発明が解決しようとする課題】ところで、3つの分類
項目を設定できる上述のような携帯端末装置の場合、図
7に示したように、各分類項目ごとにそれぞれ分類項目
欄104、106、108が設けられているので、その
分、他の情報の表示領域は狭くならざるを得なくなって
いる。例えば図7の例では、住所欄112は1行である
が、1行では不足する場合も考えられる。また、メモ欄
114も2行以上とすることが望ましい。特に携帯端末
装置では表示領域は一般に狭いので、表示領域の有効利
用は重要な課題である。
By the way, in the case of the above-mentioned portable terminal device capable of setting three classification items, as shown in FIG. 7, the classification item columns 104, 106 and 108 are respectively set for each classification item. Is provided, the display area for other information is inevitably narrowed accordingly. For example, in the example of FIG. 7, the address column 112 has one line, but one line may be insufficient. Further, it is desirable that the memo field 114 also has two or more lines. Particularly in a mobile terminal device, the display area is generally narrow, so effective use of the display area is an important issue.

【0007】さらに、各分類項目欄104、106、1
08の先頭部には分類項目を区別する数字「1」、
「2」、「3」が表示されているが、利用者が初心者の
場合には、分類項目は1つで十分であることが多く、そ
のため、分類項目が複数設けられている理由が直ぐに理
解できず、操作にとまどう結果となる。
Further, each classification item column 104, 106, 1
At the beginning of 08, the number "1" that distinguishes the classification items,
"2" and "3" are displayed, but if the user is a beginner, one classification item is often sufficient, so it is immediately understandable why there are multiple classification items. You can't do that, and the results will be confusing.

【0008】そこで本発明の目的は、分類項目の表示領
域を縮小でき、かつ操作の複雑化を回避できる文字デー
タ分類方法および文字データ分類装置を提供することに
ある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a character data classification method and a character data classification device which can reduce the display area of classification items and can avoid complicated operations.

【0009】[0009]

【課題を解決するための手段】本発明は上記目的を達成
するため、1つまたは複数の文字コードの列から成る複
数の被分類データを、1つまたは複数の文字コードの列
から成る複数の分類項目データと対応づけて保持し、前
記分類項目データが指定されたとき、指定された前記分
類項目データに対応する前記被分類データを出力する文
字データ分類方法において、複数の前記分類項目データ
と、隣接する前記分類項目データの間に介在された特定
の文字コードとから成る入力文字コード列を、所定のデ
ータ入力手段を通じて取り込むデータ入力ステップと、
前記特定の文字コードにより、前記分類項目データの先
頭および末尾の前記文字コードを特定し、前記入力文字
コード列から前記分類項目データのそれぞれを抽出する
データ抽出ステップと、前記被分類データを、前記デー
タ抽出ステップで抽出した前記分類項目データと対応づ
けるデータ登録ステップとを含むことを特徴とする。
In order to achieve the above object, the present invention provides a plurality of classified data consisting of one or a plurality of character code strings into a plurality of classified data consisting of one or a plurality of character code strings. In the character data classification method, which holds the classification item data in association with each other and, when the classification item data is designated, outputs the classified data corresponding to the designated classification item data, a plurality of the classification item data, A data input step of inputting an input character code string consisting of a specific character code interposed between the adjacent classification item data through a predetermined data input means,
The data extraction step of identifying the start and end character codes of the classification item data by the specific character code, and extracting each of the classification item data from the input character code string, and the classified data, The method is characterized by including a data registration step in which the classification item data extracted in the data extraction step is associated with the classification item data.

【0010】本発明はまた、1つまたは複数の文字コー
ドの列から成る複数の被分類データを、1つまたは複数
の文字コードの列から成る複数の分類項目データと対応
づけて保持し、前記分類項目データが指定されたとき、
指定された前記分類項目データに対応する前記被分類デ
ータを出力する文字データ分類装置において、複数の前
記分類項目データと、隣接する前記分類項目データの間
に介在された特定の文字コードとから成る入力文字コー
ド列を、所定のデータ入力手段を通じて取り込むデータ
入力手段と、前記特定の文字コードにより、前記分類項
目データの先頭および末尾の文字コードを特定し、前記
入力文字コード列から前記分類項目データのそれぞれを
抽出するデータ抽出手段と、前記被分類データを、前記
データ抽出手段が抽出した前記分類項目データと対応づ
けるデータ登録手段とを含むことを特徴とする。
The present invention also holds a plurality of classified data consisting of one or a plurality of character code strings in association with a plurality of classification item data consisting of one or a plurality of character code strings, When classification item data is specified,
In a character data classification device for outputting the classified data corresponding to the specified classification item data, the character data classification device comprises a plurality of the classification item data and a specific character code interposed between the adjacent classification item data. A data input unit that takes in an input character code string through a predetermined data input unit, and the first and last character codes of the classification item data are specified by the specific character code, and the classification item data is acquired from the input character code string. And data registration means for associating the classified data with the classification item data extracted by the data extraction means.

【0011】本発明の文字データ分類方法では、まずデ
ータ入力ステップで、複数の分類項目データと、隣接す
る分類項目データの間に介在された特定の文字コードと
から成る入力文字コード列を、所定のデータ入力手段を
通じて取り込む。そして、データ抽出ステップで、特定
の文字コードにより、分類項目データの先頭および末尾
の文字コードを特定して、入力文字コード列から分類項
目データのそれぞれを抽出し、データ登録ステップで、
被分類データを、データ抽出ステップで抽出した分類項
目データと対応づける。
In the character data classification method of the present invention, first in a data input step, an input character code string consisting of a plurality of classification item data and a specific character code interposed between adjacent classification item data is predetermined. Take in through the data input means of. Then, in the data extraction step, the start and end character codes of the classification item data are specified by the specific character code, each of the classification item data is extracted from the input character code string, and in the data registration step,
The classified data is associated with the classification item data extracted in the data extraction step.

【0012】また、本発明の文字データ分類装置では、
まず、データ入力手段が、複数の分類項目データと、隣
接する分類項目データの間に介在された特定の文字コー
ドとから成る入力文字コード列を、所定のデータ入力手
段を通じて取り込む。そして、データ抽出手段は、特定
の文字コードにより、分類項目データの先頭および末尾
の文字コードを特定し、入力文字コード列から分類項目
データのそれぞれを抽出し、データ登録手段は、被分類
データを、データ抽出手段が抽出した分類項目データと
対応づける。
Further, in the character data classification device of the present invention,
First, the data input means takes in an input character code string consisting of a plurality of classification item data and a specific character code interposed between adjacent classification item data, through a predetermined data input means. Then, the data extracting means identifies the leading and trailing character codes of the classification item data by the specific character code, extracts each of the classification item data from the input character code string, and the data registration means extracts the classified data. The data is associated with the classification item data extracted by the data extracting means.

【0013】[0013]

【発明の実施の形態】次に本発明の実施の形態例につい
て図面を参照して説明する。図1は本発明による文字デ
ータ分類装置の一例である携帯端末装置の要部を示す機
能ブロック図、図2は同構成図、図3は図1の携帯端末
装置の動作を示すフローチャートである。以下、これら
の図面を参照して、上記携帯端末装置および本発明の文
字データ分類方法の一実施の形態例について説明する。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a functional block diagram showing a main part of a mobile terminal device which is an example of a character data classification device according to the present invention, FIG. 2 is the same configuration diagram, and FIG. 3 is a flowchart showing the operation of the mobile terminal device of FIG. Hereinafter, an embodiment of the portable terminal device and the character data classification method of the present invention will be described with reference to these drawings.

【0014】この携帯端末装置2は、図2に示すよう
に、CPU4、ROM6(リードオンリーメモリ)、R
AM8(ランダムアクセスメモリ)、液晶表示装置1
0、キーボード12、インターフェース14などにより
構成され、電池16を電源として動作する。ROM6に
は携帯端末装置2としての種々の機能を実現するための
プログラムのデータが格納され、CPU4はこのプログ
ラムにもとづいて動作する。RAM8には、氏名、住
所、電話番号、分類項目などのデータが格納される。イ
ンターフェース14は携帯端末装置2を電話回線に接続
し、パーソナルコンピュータなどとデータの授受を行う
ためのものである。
As shown in FIG. 2, the portable terminal device 2 includes a CPU 4, a ROM 6 (read only memory), and an R.
AM8 (random access memory), liquid crystal display device 1
0, a keyboard 12, an interface 14, etc., and operates with a battery 16 as a power source. The ROM 6 stores program data for realizing various functions of the mobile terminal device 2, and the CPU 4 operates based on this program. The RAM 8 stores data such as name, address, telephone number, and classification item. The interface 14 connects the mobile terminal device 2 to a telephone line and exchanges data with a personal computer or the like.

【0015】携帯端末装置2は機能的には、図1に示す
ように、特に本発明に係わる機能ブロックとして、デー
タ入力手段18、データ抽出手段20、データ登録手段
22、データ出力手段24を含んでいる。データ入力手
段18は、キーボード12を通じて、複数の分類項目デ
ータをそれぞれ形成する文字コードの列と、隣接する分
類項目データの間に介在された「,」の文字コード(以
下、特定文字コードともいう)とから成る入力文字コー
ド列を取り込む。
Functionally, as shown in FIG. 1, the mobile terminal device 2 includes a data input means 18, a data extraction means 20, a data registration means 22, and a data output means 24 as functional blocks particularly relating to the present invention. I'm out. Through the keyboard 12, the data input unit 18 includes a character code string forming each of a plurality of classification item data and a character code of “,” (hereinafter, also referred to as a specific character code) interposed between adjacent classification item data. ) Input character code string consisting of and.

【0016】データ抽出手段20は、特定文字コードに
より、分類項目データの先頭および末尾の文字コードを
特定し、入力文字コード列から分類項目データのそれぞ
れを抽出する。データ登録手段22は、1つまたは複数
の文字コードの列から成る氏名などの被分類データを、
データ抽出手段20が抽出した分類項目データと対応づ
ける。データ出力手段24は、分類項目データが指定さ
れたとき、指定された分類項目データに対応する被分類
データを出力する。
The data extracting means 20 identifies the leading and trailing character codes of the classification item data by the specific character code and extracts each of the classification item data from the input character code string. The data registration means 22 stores the classified data such as name, which is composed of one or more character code strings,
It is associated with the classification item data extracted by the data extracting means 20. When the classification item data is designated, the data output means 24 outputs the classified data corresponding to the designated classification item data.

【0017】次に、このように構成された携帯端末装置
2の動作を図3乃至図6を参照して説明する。データを
入力するための所定の操作がキーボード12で行われる
と、CPU4はROM6に格納された上記プログラムに
もとづいて動作し、データの取り込みを行う(ステップ
S1)。ここでCPU4はまず、液晶表示装置10にデ
ータ入力のための画面を表示する。図4はこのようなデ
ータ入力画面の一例を示す説明図である。ただし、この
図では、すべてのデータが入力された状態を示している
が、実際には各データは以下に説明するように順次、入
力され、そのつど入力されたデータが画面に表示され
る。
Next, the operation of the portable terminal device 2 thus constructed will be described with reference to FIGS. 3 to 6. When a predetermined operation for inputting data is performed with the keyboard 12, the CPU 4 operates based on the program stored in the ROM 6 and fetches data (step S1). Here, the CPU 4 first displays a screen for data input on the liquid crystal display device 10. FIG. 4 is an explanatory diagram showing an example of such a data input screen. However, although this figure shows a state in which all the data has been input, each data is actually input in sequence as described below, and the input data is displayed on the screen each time.

【0018】このデータ入力画面には、氏名欄26、ふ
りがな欄28、分類項目欄30、郵便番号欄32、住所
欄34、社名欄36、電話番号欄38、ファクシミリ番
号欄40、メモ欄42が含まれており、利用者はキーボ
ード12を操作してこれらの欄28にそれぞれデータを
入力していく。
On this data input screen, there are a name column 26, a phonetic column 28, a classification item column 30, a postal code column 32, an address column 34, a company name column 36, a telephone number column 38, a facsimile number column 40, and a memo column 42. It is included, and the user operates the keyboard 12 to input data in these fields 28, respectively.

【0019】この例では、氏名欄26には「山田太郎」
が、入力され、ふりがな欄28に「やまだたろう」が入
力されている。これらの文字がキーボード12を操作し
て入力されると、キーボード12は各文字を表す文字コ
ードを順次発生し、CPU4はそれらの文字コード列を
受け取ってRAM8内の所定の記憶領域に格納する。
In this example, "Taro Yamada" is entered in the name field 26.
Has been input, and “Yamada Taro” has been input in the phonetic field 28. When these characters are input by operating the keyboard 12, the keyboard 12 sequentially generates a character code representing each character, and the CPU 4 receives the character code string and stores it in a predetermined storage area in the RAM 8.

【0020】一方、分類項目欄30には、この例では
「業務,社員,PTC」が入力されている。すなわち、
分類項目として業務、社員、PTCが入力されている
が、本実施の形態例の携帯端末装置2では、従来と異な
り、これらの分類項目は1行の分類項目欄30に「,」
で区切って入力されている。CPU4は、キーボード1
2の操作によりこのようなデータが入力されたとき、デ
ータ入力手段18として動作して、3つの分類項目、す
なわち業務、社員、PTCの各データをそれぞれ形成す
る文字コードの列と、それらの間に介在された「,」の
文字コードとから成る入力文字コード列を取り込み、全
体を一旦、RAM8の所定の記録領域に格納する。
On the other hand, in this example, "work, employee, PTC" is entered in the classification item column 30. That is,
Although work, employee, and PTC are input as classification items, unlike the conventional case, in the mobile terminal device 2 of the present embodiment, these classification items are indicated by “,” in the one-line classification item column 30.
Separated by. CPU4 is the keyboard 1
When such data is input by the operation of No. 2, it operates as the data input means 18 and the character code string forming each of the three classification items, that is, the data of work, employee, and PTC, and between them. The input character code string consisting of the character code of "," intervening in is taken in, and the whole is once stored in a predetermined recording area of the RAM 8.

【0021】郵便番号欄32、住所欄34、社名欄3
6、電話番号欄38、ファクシミリ番号欄40、メモ欄
42の各欄にもそれぞれ対応する文字データが図4に示
すように入力されているが、CPU4はこれらのデータ
も、上述の場合と同様に、キーボード12の操作により
入力されるごとに取り込み、RAM8の所定の記録領域
に格納する。
Postal code column 32, address column 34, company name column 3
Character data corresponding to each of the telephone number column 38, the facsimile number column 40, and the memo column 42 is also input as shown in FIG. 4, but the CPU 4 also applies the same data to the above-mentioned case. Further, it is fetched each time it is input by operating the keyboard 12, and stored in a predetermined recording area of the RAM 8.

【0022】その後、CPU4はRAM8より「業務,
社員,PTC」の上記入力文字コード列を取り出し、デ
ータ抽出手段20として動作して、各分類項目データを
分離する(ステップS2)。図5はこの処理内容を詳し
く示すフローチャートである。以下、この図を参照して
説明する。この処理では3つのカウンタi、j、nを用
い、ステップS101でそれらをまず0に設定し、リセ
ットする。次に、ステップS102では、抽出した分類
項目データを格納するための2次元の配列keys[]
[]を初期化する。図中、MAX_KEYSは登録可能
な分類項目データの数を表している。従って、MAX_
KEYS個の配列が初期化されることになる。その後、
ステップS103において、RAM8より取り出した
「業務,社員,PTC」の入力文字コード列を1次元の
配列key[]に格納する。図6の(A)はこの入力文
字コード列が格納された配列key[]の内容を模式的
に示す説明図である。なお、末尾の0は文字コード列の
終端を表す文字コードを表している。これら配列key
s[][]およびkey[]は共にRAM8に確保され
る。
After that, the CPU 4 causes the RAM 8 to execute "business,
The above-mentioned input character code string of "employee, PTC" is taken out, and it operates as the data extraction means 20 to separate each classification item data (step S2). FIG. 5 is a flowchart showing the details of this processing. Hereinafter, description will be given with reference to this figure. In this processing, three counters i, j, and n are used, and at step S101, they are first set to 0 and reset. Next, in step S102, a two-dimensional array keys [] for storing the extracted classification item data.
Initialize []. In the figure, MAX_KEYS represents the number of classification item data that can be registered. Therefore, MAX_
The KEYS number of arrays will be initialized. afterwards,
In step S103, the input character code string of "work, employee, PTC" retrieved from the RAM 8 is stored in the one-dimensional array key []. FIG. 6A is an explanatory diagram schematically showing the contents of the array key [] in which the input character code string is stored. The 0 at the end represents a character code indicating the end of the character code string. These sequences key
Both s [] [] and key [] are secured in the RAM 8.

【0023】そして、変数cに最初の文字コードkey
[0]を代入し、カウンタiを1進め(ステップS10
4)、変数cが0か否か、すなわち最後までスキャンし
たか否かを判定する(ステップS105)。この場合、
判定結果はNoとなるので、ステップS106におい
て、変数cが区切り文字(META_CHR)、すなわ
ち「,」か否かを判定する。この判定結果もこの段階で
はNoとなるのでステップS107に進み、n番目の分
類項目データのj番目の文字コードとして変数cを配列
keys[][]に格納し、またカウンタjを1進め
る。なお、この場合には、n、jは共に0であり、従っ
て、keys[0][0]に変数cが格納される。
Then, the variable c has the first character code key.
Substitute [0] and increment the counter i by 1 (step S10
4) It is determined whether or not the variable c is 0, that is, whether or not the scan is performed to the end (step S105). in this case,
Since the determination result is No, it is determined in step S106 whether the variable c is a delimiter (META_CHR), that is, ",". Since the result of this determination is also No at this stage, the routine proceeds to step S107, where the variable c is stored in the array keys [] [] as the jth character code of the nth classification item data, and the counter j is incremented by 1. In this case, n and j are both 0, so the variable c is stored in keys [0] [0].

【0024】その後、ステップS104に戻り、今度は
変数cに文字コードkey[1]を代入し、そしてカウ
ンタiがさらに1進められる。以降、上記手順が繰り返
される。そして、「,」がkey[]より変数cに代入
されると、ステップS106において判定結果はYes
となるので、ステップS108に進み、配列key
s[][]に終端記号として0が格納される。以上によ
り、最初の分類項目データ「業務」が抽出されたことに
なり、配列keys[][]の最初の行には、図6の
(B)に示すように、各文字コードが格納される。
After that, returning to step S104, the character code key [1] is substituted for the variable c, and the counter i is further advanced by one. After that, the above procedure is repeated. Then, when “,” is substituted for the variable c from key [], the determination result is Yes in step S106.
Therefore, the process proceeds to step S108 and the array key is
0 is stored in s [] [] as a terminal symbol. As described above, the first classification item data “business” has been extracted, and each character code is stored in the first row of the array keys [] [] as shown in FIG. 6B. .

【0025】次に、ステップS109で、新たに抽出す
る分類項目データを配列keys[][]の2行目に書
き込むため、カウンタnを1進め、カウンタjは0にク
リアする。そして、ステップS110で登録可能な分類
項目データの数(MAX_KEYS)に達したか否かを
判定し、この場合には判定結果はNoとなるので、ステ
ップS104に戻り、以上の処理を繰り返す。
Next, in step S109, the classification item data to be newly extracted is written in the second row of the array keys [] [], so the counter n is advanced by 1 and the counter j is cleared to 0. Then, in step S110, it is determined whether or not the number of class item data (MAX_KEYS) that can be registered has been reached. In this case, since the determination result is No, the process returns to step S104 and the above processing is repeated.

【0026】これにより、「業務」の場合と同様に、今
度は分類項目データとして「社員」が抽出され、配列k
eys[][]の2行目に、図6の(B)に示すよう
に、その文字コード列が格納される。さらに、「PT
C」についても同様に抽出され、配列keys[][]
の3行目にその文字コード列が格納される。
As a result, similarly to the case of "business", "employee" is extracted as the classification item data, and the array k
The character code string is stored in the second line of eys [] [] as shown in FIG. In addition, "PT
Similarly, "C" is extracted, and the array keys [] [] is extracted.
The character code string is stored in the third line of.

【0027】この携帯端末装置2において登録可能な分
類項目データの数(MAX_KEYS)が例えば5であ
ったとすると、3つ目の「PTC」が抽出された段階で
も、ステップS110での判定結果はYesとならず、
従って、再度ステップS104に戻ることになる。そし
て、変数cに0が代入されることになり、その結果、ス
テップS105での判定結果はYesとなる。従って、
処理はステップS111に進み、配列keys[][]
の3行目の末尾に終端記号として0が格納される。
If the number (MAX_KEYS) of the classification item data that can be registered in this portable terminal device 2 is 5, for example, even if the third "PTC" is extracted, the determination result in step S110 is Yes. Not
Therefore, the process returns to step S104 again. Then, 0 is assigned to the variable c, and as a result, the determination result in step S105 becomes Yes. Therefore,
The process proceeds to step S111, and the array keys [] []
0 is stored as the terminal symbol at the end of the third line of.

【0028】なお、5つ以上の分類項目データが入力さ
れた場合には5つ目の分類項目データを抽出した段階で
ステップS110で判定結果がYesとなり、このステ
ップを最後に処理を終了することになる。
When five or more classification item data are input, the determination result becomes Yes in step S110 at the stage of extracting the fifth classification item data, and the process is ended at the end of this step. become.

【0029】次に、CPU4はデータ登録手段22とし
て動作し、以上のようにして抽出した3つの分類項目デ
ータを、被分類データである「山田太郎」のデータと対
応づけてRAM8に格納し(ステップS3)、また同時
に入力された他の住所、電話番号などの各データも対応
づけてRAM8に格納する。
Next, the CPU 4 operates as the data registration means 22 and stores the three classification item data extracted as described above in the RAM 8 in association with the data of the classified data "Taro Yamada" ( In step S3), other data such as other addresses and telephone numbers input at the same time are also stored in the RAM 8 in association with each other.

【0030】このようなデータの登録が終了すると、以
降、キーボード12で所定の操作が行われ、例えば氏名
と電話番号の一覧表示が指示されると、CPU4はデー
タ出力手段24として動作し、そのとき同じくキーボー
ド12の操作により指定された分類項目にもとづき氏名
および電話番号を一覧表示する(ステップS4)。
When the registration of such data is completed, thereafter, a predetermined operation is performed with the keyboard 12, and, for example, when a list display of a name and a telephone number is instructed, the CPU 4 operates as the data output means 24, At the same time, a list of names and telephone numbers is displayed based on the classification items designated by operating the keyboard 12 (step S4).

【0031】ここで例えば分類項目として「業務」が指
定された場合には、CPU4は分類項目データとして
「業務」に対応づけてRAM8に格納されている氏名お
よび電話番号のデータをRAM8から取り出し、液晶表
示装置10の画面に表示する。その表示結果は従来の場
合と同様、図8に示したようなものとなる。
Here, for example, when "business" is specified as the classification item, the CPU 4 retrieves from the RAM 8 the data of the name and telephone number stored in the RAM 8 in association with the "business" as the classification item data. It is displayed on the screen of the liquid crystal display device 10. The display result is as shown in FIG. 8 as in the conventional case.

【0032】また、分類項目として「社員」が指定され
た場合には、CPU4は分類項目データとして「社員」
に対応づけてRAM8に格納されているすべての氏名お
よび電話番号のデータをRAM8から取り出し、液晶表
示装置10の画面に表示する。その表示結果は従来の場
合と同様、図9に示したようなものとなる。さらに、
「PTC」が指定された場合には、この分類項目で格納
されているすべての氏名が電話番号と共に同様に一覧表
示されることになる。
Further, when "employee" is designated as the classification item, the CPU 4 determines "employee" as the classification item data.
The data of all names and telephone numbers stored in the RAM 8 in association with are retrieved from the RAM 8 and displayed on the screen of the liquid crystal display device 10. The display result is as shown in FIG. 9 as in the conventional case. further,
When "PTC" is designated, all the names stored in this classification item are similarly displayed in a list together with the telephone numbers.

【0033】そして、この携帯端末装置2では、上述の
ように複数の分類項目が1行の分類項目欄30に「,」
で区切って入力されるので、従来のように例えば3つの
分類項目データが3行に入力される場合に比べると、表
示スペースは1/3となる。従って、図4に示したよう
に、住所欄34として2行を確保することができ、また
メモ欄42としても2行を使用することができる。
Then, in the portable terminal device 2, as described above, a plurality of classification items are indicated by "," in the classification item column 30 of one line.
Since the input is divided by, the display space is 1/3 as compared with the conventional case where three classification item data are input in three lines. Therefore, as shown in FIG. 4, two lines can be secured as the address column 34, and two lines can be used as the memo column 42.

【0034】さらに、利用者が初心者であり、使用する
分類項目は1つで十分であるような場合には、利用者は
分類項目欄30に単に1つの分類項目データのみを入力
すればよく、従来のように分類項目欄が複数設けられて
いる理由が直ぐに理解できず、操作にとまどうといった
ことがない。
Further, when the user is a beginner and the number of classification items to be used is sufficient, the user may simply enter only one classification item data in the classification item column 30. The reason why a plurality of classification item columns are provided as in the past cannot be understood immediately, and there is no confusion about the operation.

【0035】なお、この実施の形態例では、登録可能な
分類項目データの数(MAX_KEYS)は5であると
したが、この数は無論一例であり、装置に要求される仕
様などに応じて任意に設定すればよい。また、入力手段
として、上記実施の形態例ではキーボード12を用いた
が、これ以外にもタブレットやマウスなどを用いて入力
手段を構成することも無論可能である。さらに、入力す
る複数の分類項目データの間に介在させる特定の文字コ
ードを上記実施の形態例では「,」の文字コードとした
が、カンマ以外にも、スラッシュ、セミコロン、ハイフ
ンなどを区切り記号として、それらの文字コードを用い
ることも有効である。
In this embodiment, the number of class item data (MAX_KEYS) that can be registered is 5. However, this number is of course an example, and it is arbitrary according to the specifications required of the device. You can set it to. Further, although the keyboard 12 is used as the input means in the above embodiment, it is of course possible to configure the input means using a tablet, a mouse or the like. Further, although the specific character code to be interposed between the plurality of input classification item data is the character code of “,” in the above embodiment, other than the comma, slash, semicolon, hyphen, etc. are used as delimiters. , It is also effective to use those character codes.

【0036】[0036]

【発明の効果】以上説明したように本発明の文字データ
分類方法では、まずデータ入力ステップで、複数の分類
項目データと、隣接する分類項目データの間に介在され
た特定の文字コードとから成る入力文字コード列を、所
定のデータ入力手段を通じて取り込む。そして、データ
抽出ステップで、特定の文字コードにより、分類項目デ
ータの先頭および末尾の文字コードを特定して、入力文
字コード列から分類項目データのそれぞれを抽出し、デ
ータ登録ステップで、被分類データを、データ抽出ステ
ップで抽出した分類項目データと対応づける。
As described above, in the character data classification method of the present invention, first, in the data input step, a plurality of classification item data and a specific character code interposed between adjacent classification item data are used. The input character code string is fetched through a predetermined data input means. Then, in the data extraction step, the beginning and end character codes of the classification item data are specified by the specific character code, each of the classification item data is extracted from the input character code string, and in the data registration step, the classified data Is associated with the classification item data extracted in the data extraction step.

【0037】また、本発明の文字データ分類装置では、
まず、データ入力手段が、複数の分類項目データと、隣
接する分類項目データの間に介在された特定の文字コー
ドとから成る入力文字コード列を、所定のデータ入力手
段を通じて取り込む。そして、データ抽出手段は、特定
の文字コードにより、分類項目データの先頭および末尾
の文字コードを特定し、入力文字コード列から分類項目
データのそれぞれを抽出し、データ登録手段は、被分類
データを、データ抽出手段が抽出した分類項目データと
対応づける。
Further, in the character data classification device of the present invention,
First, the data input means takes in an input character code string consisting of a plurality of classification item data and a specific character code interposed between adjacent classification item data, through a predetermined data input means. Then, the data extracting means identifies the leading and trailing character codes of the classification item data by the specific character code, extracts each of the classification item data from the input character code string, and the data registration means extracts the classified data. The data is associated with the classification item data extracted by the data extracting means.

【0038】従って、本発明では、複数の分類項目デー
タが特定の文字コードを介在させて続けて入力されるこ
とになるので、入力された入力文字コード列を表示画面
の1行に表示することが可能であり、従来に比べ必要な
表示スペースを大幅に低減できる。従って、携帯端末装
置などの場合には、住所欄やメモ欄に十分なスペースを
確保することが可能となる。
Therefore, in the present invention, since a plurality of classification item data are continuously input with a specific character code interposed, the input character code string input is displayed on one line of the display screen. Therefore, the required display space can be significantly reduced compared to the conventional case. Therefore, in the case of a mobile terminal device or the like, it is possible to secure a sufficient space in the address field or the memo field.

【0039】さらに、利用者が初心者であり、使用する
分類項目が1つで十分であるような場合には、利用者は
単に1つの分類項目データのみを入力すればよく、従来
の携帯端末装置などの場合のように分類項目欄が複数設
けられている理由が直ぐに理解できず、操作にとまどう
といったことがなくなる。
Further, when the user is a beginner and one classification item to be used is sufficient, the user only needs to input one classification item data. It is not possible to immediately understand the reason why a plurality of classification item columns are provided as in the case such as the above, and there is no confusion about the operation.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明による文字データ分類装置の一例である
携帯端末装置の要部を示す機能ブロック図である。
FIG. 1 is a functional block diagram showing a main part of a mobile terminal device which is an example of a character data classification device according to the present invention.

【図2】本発明による文字データ分類装置の一例である
携帯端末装置を示す構成図である。
FIG. 2 is a configuration diagram showing a mobile terminal device which is an example of a character data classification device according to the present invention.

【図3】図1の携帯端末装置の動作を示すフローチャー
トである。
FIG. 3 is a flowchart showing an operation of the mobile terminal device of FIG.

【図4】図1の携帯端末装置におけるデータ入力画面の
一例を示す説明図である。
FIG. 4 is an explanatory diagram showing an example of a data input screen in the mobile terminal device of FIG.

【図5】データ抽出手段の処理内容を詳しく示すフロー
チャートである。
FIG. 5 is a flowchart showing in detail the processing contents of the data extraction means.

【図6】(A)は入力文字コード列が格納された配列を
模式的に示す説明図、(B)は分類項目データが格納さ
れた配列を模式的に示す説明図である。
6A is an explanatory diagram schematically showing an array in which an input character code string is stored, and FIG. 6B is an explanatory diagram schematically showing an array in which classification item data is stored.

【図7】従来の携帯端末装置でデータを入力する場合の
液晶表示画面の一例を示す説明図である。
FIG. 7 is an explanatory diagram showing an example of a liquid crystal display screen when data is input in a conventional mobile terminal device.

【図8】携帯端末装置における分類表示の一例を示す説
明図である。
FIG. 8 is an explanatory diagram showing an example of a classification display on the mobile terminal device.

【図9】携帯端末装置における他の分類表示の一例を示
す説明図である。
FIG. 9 is an explanatory diagram showing an example of another classification display on the mobile terminal device.

【符号の説明】[Explanation of symbols]

2……携帯端末装置、4……CPU、6……ROM、8
……RAM、10……液晶表示装置、12……キーボー
ド、14……インターフェース、16……電池、18…
…データ入力手段、20……データ抽出手段、22……
データ登録手段、24……データ出力手段、26、10
2……氏名欄、28……ふりがな欄、30、104、1
06、108……分類項目欄、32……郵便番号欄、3
4、112……住所欄、36……社名欄、38……電話
番号欄、40……ファクシミリ番号欄、42、114…
…メモ欄。
2 ... Mobile terminal device, 4 ... CPU, 6 ... ROM, 8
... RAM, 10 ... liquid crystal display device, 12 ... keyboard, 14 ... interface, 16 ... battery, 18 ...
... data input means, 20 ... data extraction means, 22 ...
Data registration means, 24 ... Data output means, 26, 10
2 ... Name column, 28 ... Phonetic column, 30, 104, 1
06, 108 ... Classification item column, 32 ... Postal code column, 3
4,112 ... Address column, 36 ... Company name column, 38 ... Telephone number column, 40 ... Facsimile number column, 42,114 ...
… Memo field.

Claims (11)

【特許請求の範囲】[Claims] 【請求項1】 1つまたは複数の文字コードの列から成
る複数の被分類データを、1つまたは複数の文字コード
の列から成る複数の分類項目データと対応づけて保持
し、前記分類項目データが指定されたとき、指定された
前記分類項目データに対応する前記被分類データを出力
する文字データ分類方法において、 複数の前記分類項目データと、隣接する前記分類項目デ
ータの間に介在された特定の文字コードとから成る入力
文字コード列を、所定のデータ入力手段を通じて取り込
むデータ入力ステップと、 前記特定の文字コードにより、前記分類項目データの先
頭および末尾の前記文字コードを特定し、前記入力文字
コード列から前記分類項目データのそれぞれを抽出する
データ抽出ステップと、 前記被分類データを、前記データ抽出ステップで抽出し
た前記分類項目データと対応づけるデータ登録ステップ
と、 を含むことを特徴とする文字データ分類方法。
1. A plurality of classified data composed of one or a plurality of character code strings is held in association with a plurality of classified item data composed of one or a plurality of character code strings, and the classified item data is stored. Is specified, in the character data classification method for outputting the classified data corresponding to the specified classification item data, a specification interposed between the plurality of classification item data and the adjacent classification item data. The input character code string consisting of the character code of, the data input step of taking in through a predetermined data input means, by the specific character code, to specify the character code at the beginning and end of the classification item data, the input character A data extraction step of extracting each of the classification item data from the code string; And a data registration step of associating with the classification item data extracted by the group.
【請求項2】 前記データ入力手段は、キーボード、タ
ブレット、マウスのいずれかを含む請求項1記載の文字
データ分類方法。
2. The character data classification method according to claim 1, wherein the data input unit includes any one of a keyboard, a tablet, and a mouse.
【請求項3】 前記特定の文字コードは記号を表す文字
コードである請求項1記載の文字データ分類方法。
3. The character data classification method according to claim 1, wherein the specific character code is a character code representing a symbol.
【請求項4】 記号は、カンマ、スラッシュ、セミコロ
ン、ハイフンのいずれかである請求項1記載の文字デー
タ分類方法。
4. The character data classification method according to claim 1, wherein the symbol is one of a comma, a slash, a semicolon, and a hyphen.
【請求項5】 1つまたは複数の文字コードの列から成
る複数の被分類データを、1つまたは複数の文字コード
の列から成る複数の分類項目データと対応づけて保持
し、前記分類項目データが指定されたとき、指定された
前記分類項目データに対応する前記被分類データを出力
する文字データ分類装置において、 複数の前記分類項目データと、隣接する前記分類項目デ
ータの間に介在された特定の文字コードとから成る入力
文字コード列を、所定のデータ入力手段を通じて取り込
むデータ入力手段と、 前記特定の文字コードにより、前記分類項目データの先
頭および末尾の文字コードを特定し、前記入力文字コー
ド列から前記分類項目データのそれぞれを抽出するデー
タ抽出手段と、 前記被分類データを、前記データ抽出手段が抽出した前
記分類項目データと対応づけるデータ登録手段と、 を含むことを特徴とする文字データ分類装置
5. A plurality of classified data composed of one or a plurality of character code strings is stored in association with a plurality of classified item data composed of one or a plurality of character code strings, and the classified item data is stored. Is specified, in the character data classification device that outputs the classified data corresponding to the specified classification item data, a specification interposed between the plurality of classification item data and the adjacent classification item data. The input character code string consisting of the character code of, the data input means to take in through a predetermined data input means, and the character code at the beginning and end of the classification item data by the specific character code, the input character code Data extracting means for extracting each of the classification item data from a column; and the data to be classified extracted by the data extracting means. A character data classification device characterized by including data registration means for associating with classification item data.
【請求項6】 前記データ入力手段は、キーボード、タ
ブレット、マウスのいずれかを含む請求項5記載の文字
データ分類装置。
6. The character data classification device according to claim 5, wherein the data input means includes any one of a keyboard, a tablet, and a mouse.
【請求項7】 前記特定の文字コードは記号を表す文字
コードである請求項5記載の文字データ分類装置。
7. The character data classification device according to claim 5, wherein the specific character code is a character code representing a symbol.
【請求項8】 前記記号は、カンマ、スラッシュ、セミ
コロン、ハイフンのいずれかである請求項5記載の文字
データ分類装置。
8. The character data classification device according to claim 5, wherein the symbol is one of a comma, a slash, a semicolon, and a hyphen.
【請求項9】 携帯情報端末装置である請求項5記載の
文字データ分類装置。
9. The character data classification device according to claim 5, which is a portable information terminal device.
【請求項10】 前記データ入力手段は、取り込んだ前
記入力文字コード列が表す文字列を液晶表示装置の画面
に表示する請求項9記載の文字データ分類装置。
10. The character data classification device according to claim 9, wherein the data input means displays a character string represented by the input character code string taken in on a screen of a liquid crystal display device.
【請求項11】 前記分類項目データが指定されたと
き、指定された前記分類項目データに対応する前記被分
類データが表す文字列を所定の形式で液晶表示装置の画
面に一覧表示する請求項9記載の文字データ分類装置。
11. When the classification item data is designated, a list of character strings represented by the classified data corresponding to the designated classification item data is displayed in a predetermined format on a screen of a liquid crystal display device. The described character data classification device.
JP8120990A 1996-04-17 1996-04-17 Character data classification method/device Abandoned JPH09282064A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8120990A JPH09282064A (en) 1996-04-17 1996-04-17 Character data classification method/device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8120990A JPH09282064A (en) 1996-04-17 1996-04-17 Character data classification method/device

Publications (1)

Publication Number Publication Date
JPH09282064A true JPH09282064A (en) 1997-10-31

Family

ID=14800060

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8120990A Abandoned JPH09282064A (en) 1996-04-17 1996-04-17 Character data classification method/device

Country Status (1)

Country Link
JP (1) JPH09282064A (en)

Similar Documents

Publication Publication Date Title
JP6826293B2 (en) Information information system and its processing method and program
JPH08329156A (en) Organization chart processor
JP2959069B2 (en) Slip input processor
JPH1040247A (en) Data processor
JPH09282064A (en) Character data classification method/device
JPH06301734A (en) Data retrieving device
JP3489364B2 (en) Table processing equipment
JP2585048Y2 (en) Numeric character input device
JP3632988B2 (en) Item data processing device
EP0351786A2 (en) Data processing apparatus
JP2998209B2 (en) Information processing apparatus and information processing method
JP3298167B2 (en) Montage creation equipment
JP2023077980A (en) Information processing apparatus, information processing method, and program
JPH02289368A (en) Printing method
JP2504768B2 (en) Image information processing equipment
JPH0573589A (en) Automatic execution device for table calculation program
JPS62222356A (en) Word processor
JPH01116728A (en) Information filing device
JP2001154789A (en) Information terminal and recording medium
JP2001319182A (en) Slip processor
JP2008140087A (en) Activity support device, program and activity support system
JPS60129878A (en) Character input system
JP2017134864A (en) Information processing apparatus, information search method, and program
JPH1097503A (en) Electronic equipment
JPH02297279A (en) Document processor with next registration code display function

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20051104

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20051213

A762 Written abandonment of application

Free format text: JAPANESE INTERMEDIATE CODE: A762

Effective date: 20060124