JPH07200255A - Sorting method - Google Patents

Sorting method

Info

Publication number
JPH07200255A
JPH07200255A JP35172793A JP35172793A JPH07200255A JP H07200255 A JPH07200255 A JP H07200255A JP 35172793 A JP35172793 A JP 35172793A JP 35172793 A JP35172793 A JP 35172793A JP H07200255 A JPH07200255 A JP H07200255A
Authority
JP
Japan
Prior art keywords
character string
data
buffer
string data
stored
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.)
Pending
Application number
JP35172793A
Other languages
Japanese (ja)
Inventor
Toshizo Ikushima
寿三 生島
Hirokazu Katagiri
博和 片桐
Kenichi Waki
健一 脇
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.)
Tamura Electric Works Ltd
Original Assignee
Tamura Electric Works Ltd
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 Tamura Electric Works Ltd filed Critical Tamura Electric Works Ltd
Priority to JP35172793A priority Critical patent/JPH07200255A/en
Publication of JPH07200255A publication Critical patent/JPH07200255A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To speedily display character string data registered in a memory when it is rearranged based on a prescribed order and is displayed on a display unit. CONSTITUTION:At the time of registering character string data, it is stored in a corresponding character string buffer 16B and the stored character string data and character string data which is previously stored in the other character string buffer 16B are sequentially compared based on the prescribed order. The order of a compared result is stored in a corresponding pointer buffer 16A. At the time of displaying character string data, character string data is read from the respective character string buffers 16B in accordance with the content of the pointer buffer 16A and they are displayed. Consequently, character string data can speedily be displayed on the display unit.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、例えば電話装置等に用
いられる電話帳や電子手帳等においてランダムに登録さ
れる各文字データからなる文字データ列を例えば五十音
順などの所定順序にしたがって表示する場合のソート方
法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention provides a character data string consisting of respective character data randomly registered in a telephone directory or an electronic notebook used in a telephone device or the like according to a predetermined order such as the Japanese syllabary order. Regarding the sorting method when displaying.

【0002】[0002]

【従来の技術】一般に電話装置には、相手先へ自動ダイ
ヤル発信を行うために相手ダイヤル番号をメモリに登録
できるものが多いが、近年は、この自動ダイヤル番号の
他にダイヤル番号に関連づけて相手の氏名等の文字デー
タを登録できる電話帳機能を有するものも見受けられ
る。このような電話帳機能を有する電話装置において自
動発信を行う場合は、例えばまずメモリに登録した相手
氏名を表示器上に表示し、表示器上に表示された氏名を
カーソル等で指示すると、自動的に回線が捕捉されると
共に対応の相手先ダイヤル番号が捕捉回線へ送出され相
手先への呼出が行われる。
2. Description of the Related Art Generally, many telephone devices are capable of registering the dialing number of the other party in a memory in order to make an automatic dialing to the other party. Some have a telephone directory function that can register character data such as names. When making a call automatically in a telephone device having such a telephone directory function, for example, first display the name of the other party registered in the memory on the display, and then point the name displayed on the display with a cursor or the like. When the line is captured, the corresponding dial number of the other party is sent to the captured line to call the other party.

【0003】[0003]

【発明が解決しようとする課題】ところで、このような
電話帳機能を有する電話装置では、メモリに登録された
相手氏名及びダイヤル番号を確認する場合、表示器上に
表示して確認するが、このような場合、氏名及び対応す
るダイヤル番号を五十音順にしたがって順次表示するの
が通例となっている。しかし登録された氏名等の文字コ
ードを比較して五十音順に並べ替える場合、氏名の登録
数が多くなるとその並べ替えに時間を要し、この結果、
表示器に対する表示が遅れ使用者に違和感を抱かせると
いう問題があった。
By the way, in the telephone device having such a telephone directory function, when confirming the other party's name and dial number registered in the memory, they are displayed and confirmed on the display. In such a case, it is customary to display the name and the corresponding dial number in order of the Japanese syllabary. However, when comparing the character codes of registered names and rearranging them in the order of the Japanese syllabary, it takes time to rearrange when the number of registered names is large, and as a result,
There is a problem that the display on the display is delayed and the user feels uncomfortable.

【0004】したがって本発明は、メモリに登録された
氏名等の文字コードを五十音順等の所定順序にしたがっ
て並べ替え表示器に表示する場合に速やかに表示するこ
とを目的とする。
Therefore, it is an object of the present invention to promptly display a character code such as a name registered in a memory on a rearranged display device according to a predetermined order such as the Japanese syllabary order.

【0005】[0005]

【課題を解決するための手段】このような課題を解決す
るために本発明は、表示器及びメモリを備え、メモリに
は複数の文字データからなる文字列データを格納する文
字列バッファを各文字列データに対応して複数設けると
共に、文字列データの登録操作時にはこの文字列データ
を対応する文字列バッファに格納し、かつ文字列データ
の表示操作時には各文字列バッファに格納された各文字
列データを所定の読出順序にしたがって読み出し表示器
に表示する装置において、各文字列バッファの各アドレ
スに対応してメモリの所定の領域に上記読出順序を示す
読出順指示データを格納するポインタバッファを設け、
文字列データの登録操作時には対応の文字列バッファに
文字列データを格納した後、この格納した文字列データ
と既に他の文字列バッファに格納されている文字列デー
タとを上記読出順序に基づいて順次比較し、この比較結
果に応じて上記読出順指示データを決定しポインタバッ
ファに格納するようにした方法である。また、文字列デ
ータの表示操作時にはポインタバッファに格納された読
出順指示データにしたがって各文字列バッファから文字
列データを読み出し表示器に表示するようにした方法で
ある。
In order to solve such a problem, the present invention comprises a display and a memory, and a character string buffer for storing character string data consisting of a plurality of character data is provided in the memory for each character. A plurality of columns are provided corresponding to the column data, and this character string data is stored in the corresponding character string buffer during the registration operation of the character string data, and each character string stored in each character string buffer during the display operation of the character string data. In a device for displaying data on a reading display according to a predetermined reading order, a pointer buffer for storing the reading order instruction data indicating the reading order is provided in a predetermined area of the memory corresponding to each address of each character string buffer. ,
When the character string data is registered, the character string data is stored in the corresponding character string buffer, and then the stored character string data and the character string data already stored in another character string buffer are read based on the above reading order. This is a method of sequentially comparing, determining the read order instruction data according to the comparison result, and storing it in the pointer buffer. Further, in the display operation of the character string data, the character string data is read from each character string buffer and displayed on the display according to the reading order instruction data stored in the pointer buffer.

【0006】[0006]

【作用】文字列データの登録操作が行われると対応の文
字列バッファに文字列データが格納されると共に、この
格納した文字列データと既に他の文字列バッファに格納
されている文字列データとが読出順序に基づいて順次比
較され、この比較結果に応じて読出順指示データが決定
される。したがって、文字列データの例えば五十音順等
の所定順の並べ替えは文字列データの表示時と無関係の
登録時に行われることから、使用者の違和感が解消され
る。また、文字列データの表示操作時にはポインタバッ
ファに格納された上記読出順指示データにしたがって各
文字列バッファから順次文字列データが読み出され表示
器に表示される。したがって、文字列データを表示器へ
速やかに表示することができる。
When the registration operation of the character string data is performed, the character string data is stored in the corresponding character string buffer, and the stored character string data and the character string data already stored in another character string buffer are stored. Are sequentially compared based on the reading order, and the reading order instruction data is determined according to the comparison result. Therefore, since the character string data is rearranged in a predetermined order such as the Japanese syllabary order at the time of registration irrelevant to the time of displaying the character string data, the user's discomfort is eliminated. Further, at the time of displaying the character string data, the character string data is sequentially read from each character string buffer according to the read order instruction data stored in the pointer buffer and displayed on the display. Therefore, the character string data can be promptly displayed on the display.

【0007】[0007]

【実施例】以下、本発明について図面を参照して説明す
る。図1は、本発明に係るソート方法を適用したボタン
電話装置の一実施例を示すブロック図である。同図にお
いて、1は主装置であり、主装置1には複数の外線31
〜3n が接続されると共に、複数のボタン電話機51
m が各線路41 〜4m を介して接続されている。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing an embodiment of a key telephone device to which a sorting method according to the present invention is applied. In the figure, reference numeral 1 denotes a main device, and the main device 1 has a plurality of external lines 3 1
~ 3 n are connected and a plurality of key telephones 5 1 ~
5 m are connected via a respective line 4 1 to 4 m.

【0008】ここで主装置1は次のように構成されてい
る。即ち、111 〜11n は各外線31 〜3n とのイン
タフェースである外線インタフェース、12は通話路ス
イッチ、131 〜13m は各ボタン電話機51 〜5m
のインタフェースである電話機インタフェース、14は
主装置1の制御を行うCPU、15はCPU14の実行
するプログラムを格納するROM、16は後述する電話
帳等に用いられる氏名等の文字データ等を格納するRA
Mである。また、17は外線保留時に保留メロディを当
該外線へ送出する保留IC、18は外線からのPB信号
を外線インタフェース111 〜11n 及び通話路スイッ
チ12を介して受信するPBレシーバ、19及び20は
この装置を留守番電話装置として使用する場合に相手へ
のメッセージ出力及び相手からのメッセージを記録する
ための録音再生IC及びカセットメカ部である。
Here, the main device 1 is constructed as follows. That is, 11 1 to 11 n are external line interfaces that are interfaces with the external lines 3 1 to 3 n , 12 is a speech path switch, and 13 1 to 13 m are telephone interface that are interfaces with the key telephones 5 1 to 5 m. , 14 is a CPU for controlling the main device 1, 15 is a ROM for storing programs executed by the CPU 14, and 16 is an RA for storing character data such as names used in a telephone directory or the like described later.
It is M. Further, 17 is a holding IC that sends a holding melody to the outside line when the outside line is held, 18 is a PB receiver that receives a PB signal from the outside line via the outside line interfaces 11 1 to 11 n and the communication path switch 12, and 19 and 20 are A recording / reproducing IC and a cassette mechanical unit for outputting a message to a partner and recording a message from the partner when this device is used as an answering machine.

【0009】また、ボタン電話機5は、通話回路51、
主装置1とデータ伝送を行う伝送回路54、ボタン電話
機5の制御を行う制御部55、表示回路56、及びキー
ボード57等から構成されている。ここで、表示回路5
6は大型のLCDにより構成され主装置1のRAM16
に格納されている文字データ等を表示する。
The key telephone 5 is provided with a call circuit 51,
The main device 1 includes a transmission circuit 54 that performs data transmission, a control unit 55 that controls the key telephone 5, a display circuit 56, a keyboard 57, and the like. Here, the display circuit 5
6 is a RAM 16 of the main device 1, which is composed of a large LCD
The character data etc. stored in is displayed.

【0010】このようなボタン電話機5でオフフック操
作が行われると、制御部55はフックスイッチHSの状
態からオフフックを検出しオフフック情報を伝送回路5
4を介して主装置1へ送信し、続いてキーボード57の
外線ボタンの操作を検出するとこの操作情報を主装置1
へ送信する。この場合、主装置1のCPU14では、電
話機インタフェースを介しこの外線ボタン操作情報を受
信すると、対応する外線インタフェースを制御し外線を
捕捉する。
When the off-hook operation is performed on the key telephone 5, the control unit 55 detects the off-hook from the state of the hook switch HS and transmits the off-hook information to the transmission circuit 5.
4 to the main unit 1, and subsequently, when the operation of the outside line button of the keyboard 57 is detected, this operation information is sent to the main unit 1.
Send to. In this case, when the CPU 14 of the main device 1 receives this outside line button operation information via the telephone interface, it controls the corresponding outside line interface to capture the outside line.

【0011】その後、当該ボタン電話機5のキーボード
57のダイヤルボタンが操作されると、制御部55はこ
れを検出してダイヤル情報として主装置1へ送信し、主
装置1のCPU14ではこのダイヤル情報を受信する
と、該当の外線インタフェースを制御して対応のダイヤ
ル信号を発生させ捕捉外線へ送出させる。このダイヤル
信号の捕捉外線への送出により相手の呼出が行われ、相
手の応答により外線通話状態となる。
After that, when the dial button of the keyboard 57 of the key telephone 5 is operated, the control unit 55 detects it and sends it to the main unit 1 as dial information, and the CPU 14 of the main unit 1 sends this dial information. Upon reception, the corresponding external line interface is controlled to generate a corresponding dial signal and send it to the captured external line. The dialing signal is sent to the outside line to call the other party, and the outside line communication state is set by the other party's response.

【0012】なお、このボタン電話装置は電話帳機能を
有しており、主装置1のRAM16には相手先のダイヤ
ル番号とともに相手氏名等の各文字からなる文字列デー
タが対に記憶されている。また、ボタン電話機5の表示
回路56は、各文字列データが4行分表示される表示領
域を有している。ここで、電話帳機能を用いて自動発信
する際に、ボタン電話機5のキーボード57で所定操作
が行われると、この操作情報が主装置1のCPU14に
伝達される。この場合CPU14は、RAM16内の該
当領域からこの操作情報に該当する4行(4宛先)分の
文字列データを五十音順に読み出し順次ボタン電話機側
へ送信する。この結果、ボタン電話機の表示回路56に
は4行の文字列データが順次五十音順に表示される。
The key telephone device has a telephone directory function, and the RAM 16 of the main device 1 stores a pair of character string data consisting of characters such as the name of the other party together with the dial number of the other party. . Further, the display circuit 56 of the key telephone 5 has a display area in which each character string data is displayed for four lines. Here, when a predetermined operation is performed on the keyboard 57 of the key telephone 5 when making an automatic call using the telephone directory function, this operation information is transmitted to the CPU 14 of the main device 1. In this case, the CPU 14 reads out the character string data for 4 lines (4 destinations) corresponding to the operation information from the corresponding area in the RAM 16 in the order of the Japanese syllabary and transmits them sequentially to the button telephone side. As a result, four lines of character string data are sequentially displayed in the Japanese syllabary order on the display circuit 56 of the key telephone.

【0013】ここで、表示回路56に表示された各文字
列データの中に所望の相手氏名が表示されていれば、キ
ーボード57内のカーソルキーを用いて表示回路56に
表示中のカーソルを所望の相手氏名の表示箇所へ移動し
キーボード57内の発信ボタンを操作する。すると、主
装置1のCPU14はこの操作情報に基づき自動的に外
線を捕捉すると共に、上記操作情報に対応する、即ち所
望の相手氏名に対応するダイヤル番号をRAM16から
読み出し捕捉回線へダイヤル信号として送出する。ま
た、表示回路56に表示された各文字列データの中に所
望の相手氏名が表示されていない場合は、次の所定操作
により、次の4行分の各文字列データのブロックが同様
にRAM16から五十音順に読み出されてボタン電話機
へ送信され表示回路56に表示される。
If the desired opponent name is displayed in each character string data displayed on the display circuit 56, the cursor key on the keyboard 57 is used to select the cursor displayed on the display circuit 56. Move to the display area of the other party's name and operate the call button in the keyboard 57. Then, the CPU 14 of the main unit 1 automatically captures the outside line based on this operation information, and reads out the dial number corresponding to the above-mentioned operation information, that is, the desired partner name from the RAM 16 and sends it as a dial signal to the capture line. To do. If the desired name of the other party is not displayed in the character string data displayed on the display circuit 56, the next block of the character string data for the next four lines is similarly stored in the RAM 16 by the following predetermined operation. Are read out in the order of Japanese syllabary, transmitted to the key telephone, and displayed on the display circuit 56.

【0014】このように電話帳機能を用いた自動ダイヤ
ル発信時には、CPU14は指定された操作情報に基づ
いてRAM16の全文字列データの中から表示回路56
に表示すべき4行分の各文字列データを五十音順に並べ
替えて読み出してボタン電話機5へ送信する。このよう
な場合、従来は、その並べ替え処理に時間を要すること
から、表示回路56への表示に遅れが生じる。このため
本発明では、RAM16の所定領域に、各文字列データ
を格納する各文字列バッファの各アドレスに対応して各
文字列データの五十音順を示す読出順指示データを格納
するポインタバッファを設け、ボタン電話機5の表示回
路56への文字列データの表示時には、CPU14はこ
のポインタバッファの内容にしたがって各文字列バッフ
ァの文字列データを読み出すように構成する。
In this way, when making an automatic dial call using the telephone directory function, the CPU 14 selects the display circuit 56 from all the character string data in the RAM 16 based on the designated operation information.
The four lines of character string data to be displayed on the screen are rearranged in the Japanese syllabary order, read out, and transmitted to the key telephone 5. In such a case, conventionally, since the rearrangement processing takes time, the display on the display circuit 56 is delayed. Therefore, in the present invention, in the predetermined area of the RAM 16, a pointer buffer that stores read order instruction data indicating the Japanese syllabary order of each character string data corresponding to each address of each character string buffer that stores each character string data. When the character string data is displayed on the display circuit 56 of the key telephone 5, the CPU 14 reads the character string data of each character string buffer according to the contents of the pointer buffer.

【0015】図2は、以上のように構成されたRAM1
6内のデータの格納状況を模式的に示す図であり、図
中、16A及び16Bは、各々、上述したポインタバッ
ファ及び文字列バッファを示している。ここで、文字列
バッファ16Bは90個分の各文字列M1〜M90が格
納できる領域を有し、各文字列バッファ16B1 〜16
90は、その先頭アドレスに文字データの格納数を記憶
するデータ格納数領域16Ba、以降のアドレスに例え
ば「ア」,「イ」,「ウ」等のカタ仮名の文字データを
格納する文字データ格納領域16Bbが設けられてい
る。なお、文字データ格納数領域16Baの内容が
「0」の場合は、文字データ格納領域16Bbには文字
データが格納されていないことを示している。また、ポ
インタバッファ16Aは、各文字列データM1〜M90
をそれぞれ格納する文字列バッファ16B1 〜16B90
の各アドレスと関連づけて設けられている。
FIG. 2 shows the RAM 1 configured as described above.
6A and 6B are diagrams schematically showing a storage state of data in 6, wherein 16A and 16B respectively indicate the above-mentioned pointer buffer and character string buffer. Here, string buffer 16B has a space to accommodate each string M1~M90 of 90 pieces of each character string buffer 16B 1 ~ 16
B 90 is a data storage number area 16Ba that stores the number of stored character data at its head address, and character data that stores character data of katakana characters such as “A”, “A”, and “C” at subsequent addresses. A storage area 16Bb is provided. If the content of the character data storage number area 16Ba is "0", it indicates that the character data storage area 16Bb does not store character data. In addition, the pointer buffer 16A uses the character string data M1 to M90.
Character string buffers 16B 1 to 16B 90 for storing
It is provided in association with each address of.

【0016】即ち、ポインタバッファ16A1 は、文字
列データM1を格納する文字列バッファ16B1 のアド
レスに対応し、また、ポインタバッファ16A2 は、文
字列データM2を格納する文字列バッファ16B2 のア
ドレスに対応するようにそれぞれ設けられている。そし
て、このポインタバッファ16Aのデータとしては、文
字列バッファの文字データ格納領域16Bbに格納され
ている文字データと他の各文字列バッファに同様に格納
されている文字データとを五十音順に比較した結果の順
位番号(上述の読出順指示データ)が格納されている。
That is, the pointer buffer 16A 1 corresponds to the address of the character string buffer 16B 1 which stores the character string data M1, and the pointer buffer 16A 2 of the character string buffer 16B 2 which stores the character string data M2. They are provided so as to correspond to the addresses. As the data of the pointer buffer 16A, the character data stored in the character data storage area 16Bb of the character string buffer and the character data similarly stored in the other character string buffers are compared in the order of Japanese syllabary. The order number (the above-mentioned read order instruction data) obtained as a result is stored.

【0017】即ち図2において、文字列バッファ16B
1 の文字データ格納領域には「ア」,「イ」,「ウ」等
の文字列データM1が格納されており、他の文字列バッ
ファの文字データと五十音順で比較した場合、これより
順序が上位の文字データが存在しないことからこの文字
列データM1に対応するポインタバッファ16A1 の領
域には番号「1」が記憶される。また、文字列バッファ
16B2 の文字データ格納領域には「タ」,「チ」,
「ツ」等の文字列データM2が格納されており、他の文
字列バッファの各文字データと五十音順で比較した場
合、その順序が4番目に相当することからこの文字列デ
ータM2に対応するポインタバッファ16A2 の領域に
は番号「4」が記憶される。なお、ポインタバッファ1
6Aの内容が「0」の場合は、対応の文字列バッファに
は文字列データが格納されていないことを示している。
That is, in FIG. 2, the character string buffer 16B
The character data storage area 1 stores character string data M1 such as "A", "I", "U", etc., when compared with the character data in other character string buffers in the order of the Japanese syllabary. Since there is no higher order character data, the number "1" is stored in the area of the pointer buffer 16A 1 corresponding to this character string data M1. Further, in the character data storage area of the character string buffer 16B 2 , "ta", "chi",
Character string data M2 such as "tsu" is stored, and when compared with the character data of other character string buffers in the order of the Japanese syllabary, the order is equivalent to the fourth, so this character string data M2 is The number "4" is stored in the corresponding area of the pointer buffer 16A 2 . In addition, pointer buffer 1
When the content of 6A is "0", it indicates that character string data is not stored in the corresponding character string buffer.

【0018】このようにして各文字列バッファ16B1
〜16B90に対応して設けられたポインタバッファ16
1 〜16A90の各領域に、各文字列バッファに格納さ
れた文字列データの五十音順の順位番号を記憶しておく
ことにより、各文字列データを五十音順に読み出してボ
タン電話機の表示回路56に表示する場合の各文字列デ
ータの五十音順の並べ替え処理が不要となり、したがっ
て処理時間が極めて短くなることから、速やかに読み出
して表示できる。なお、平仮名及び漢字等の文字データ
も同様に構成することにより、速やかに読み出して表示
できる。また、英字等の文字データもアルファベット順
に順位番号を記憶することにより同様に速やかに読み出
すことができる。
In this way, each character string buffer 16B 1
-16B Pointer buffer 16 provided corresponding to 90
By storing the order numbers in the order of the Japanese syllabary of the character string data stored in the respective character string buffers in the respective areas A 1 to 16 A 90, the character string data can be read out in the order of the Japanese syllabary and the key telephone set. In the case of displaying on the display circuit 56, the processing for rearranging the character string data in the order of the Japanese syllabary is not necessary, and therefore the processing time is extremely short, so that the character string data can be quickly read and displayed. Note that character data such as hiragana and kanji can be read out and displayed promptly by similarly configuring. Similarly, character data such as English characters can be read out quickly by storing the order numbers in alphabetical order.

【0019】次に、RAM16に文字データを登録する
場合のCPU14の動作を図3のフローチャートに基づ
いて説明する。即ち、ボタン電話機5のキーボード57
において登録操作が行われ、この登録操作情報がCPU
14に伝達されると、CPU14は図3(a)のデータ
登録処理を実行する。この場合、CPU14は上述の登
録操作情報に続いてボタン電話機5から送信されてくる
文字データを受信すると、ステップST1でこの文字デ
ータをRAM16の登録バッファ(即ち、文字列バッフ
ァ16B)に格納する。そしてこの場合、文字列バッフ
ァ16B1 に文字列データが格納されたものとすると、
ステップST2でこの文字列データと、既に他の文字列
バッファ16B2 〜16B90に格納済みの文字列データ
とを五十音順に順次比較し順位付けを行う。そして順位
付けした結果の順位番号をステップST3で対応のポイ
ンタバッファ16A1 に記憶する。こうして順位番号が
対応のポインタバッファに記憶される。
Next, the operation of the CPU 14 when registering character data in the RAM 16 will be described with reference to the flowchart of FIG. That is, the keyboard 57 of the key telephone 5
The registration operation is performed in the
When transmitted to the CPU 14, the CPU 14 executes the data registration process of FIG. In this case, when the CPU 14 receives the character data transmitted from the key telephone 5 following the above-described registration operation information, the CPU 14 stores the character data in the registration buffer (that is, the character string buffer 16B) of the RAM 16 in step ST1. In this case, assuming that the character string data is stored in the character string buffer 16B 1 ,
The character string data in step ST2, the already sequential comparison ranking and the stored character string data to the other string buffer 16B 2 ~16B 90 alphabetically performed. Then, the rank number resulting from the ranking is stored in the corresponding pointer buffer 16A1 in step ST3. In this way, the order number is stored in the corresponding pointer buffer.

【0020】次にこうしてRAM16に登録された文字
データを読み出して表示するCPU14のデータ表示処
理を図3(b)のフローチャートに基づき説明する。ボ
タン電話機5のキーボード57において文字列データの
表示操作が行われ、この操作情報がCPU14に伝達さ
れると、CPU14は、ステップST11でRAM16
内のポインタバッファ16Aの各順位番号を検索し、ス
テップST12でまずポインタバッファ16A中の各順
位番号のうち最も若い番号、即ち番号「1」を選択しこ
の記憶されているポインタバッファに対応する文字列バ
ッファから文字列データを読み出してRAM16の別途
領域にセットする。そしてボタン電話機5の表示回路5
6の1画面(4行分の文字列データの表示が可能)分の
表示データのセット終了をステップST13で判断す
る。
Next, the data display processing of the CPU 14 for reading and displaying the character data thus registered in the RAM 16 will be described with reference to the flow chart of FIG. 3B. When the display operation of the character string data is performed on the keyboard 57 of the button telephone 5 and the operation information is transmitted to the CPU 14, the CPU 14 at step ST11 the RAM 16
Each rank number of the pointer buffer 16A is searched, and in step ST12, the smallest number among the rank numbers in the pointer buffer 16A, that is, the number "1" is selected, and the character corresponding to the stored pointer buffer is selected. The character string data is read from the column buffer and set in a separate area of the RAM 16. And the display circuit 5 of the key telephone 5
It is determined in step ST13 that the setting of the display data for one screen 6 (character string data for four lines can be displayed) has been completed.

【0021】この場合、まだ1行分の文字列データしか
セットが終了していないため、ステップST11へ戻っ
てポインタバッファ内の次に若い番号「2」を選択して
上述と同様にステップST12で対応の文字列バッファ
から文字列データを読み出しセットする。そしてこのよ
うな処理を4行分実行することにより、表示回路56の
1画面分の文字列データがRAM16の別途領域にセッ
トされると、ステップST13の判定が「Y」となる。
この場合、CPU14は、RAM16の別途領域にセッ
トされた表示回路56の1画面分の文字列データを順次
ボタン電話機5へ送信し表示回路56に表示させるステ
ップST14の「データ表示」処理を実行する。
In this case, since only one line of character string data has been set, the process returns to step ST11 to select the next smallest number "2" in the pointer buffer, and in step ST12 as described above. The character string data is read from the corresponding character string buffer and set. When the character string data for one screen of the display circuit 56 is set in a separate area of the RAM 16 by executing such processing for four lines, the determination in step ST13 becomes "Y".
In this case, the CPU 14 executes the "data display" process of step ST14 in which the character string data for one screen of the display circuit 56 set in the separate area of the RAM 16 is sequentially transmitted to the button telephone 5 and displayed on the display circuit 56. .

【0022】このように、RAM16に登録された文字
列データを五十音順にボタン電話機5の表示回路56に
表示する場合、CPU14の各文字列データの五十音順
の並べ替え処理が不要となり、したがって処理時間が短
くなることから、速やかに表示され、使用者の違和感を
回避することができる。
In this way, when the character string data registered in the RAM 16 is displayed on the display circuit 56 of the button telephone 5 in the Japanese syllabary order, the CPU 14 does not need to sort the character string data in the Japanese syllabary order. Therefore, since the processing time is shortened, it is displayed promptly and the user's discomfort can be avoided.

【0023】[0023]

【発明の効果】以上説明したように本発明によれば、メ
モリに複数の文字データからなる文字列データを格納す
る各文字列バッファ、及びメモリの所定の領域に各文字
列バッファの各アドレスに対応して各文字列データの読
出順序を示す読出順指示データを格納するポインタバッ
ファを設け、文字列データの登録操作が行われると対応
の文字列バッファに文字列データを格納すると共に、こ
の格納した文字列データと既に他の文字列バッファに格
納されている文字列データとを読出順序に基づいて順次
比較し、この比較結果に応じて読出順指示データを決定
するようにしたので、文字列データの例えば五十音順等
の所定順の並べ替えは文字列データの表示時と無関係の
登録時に実行されることから、たとえその並べ替えに時
間を要しても使用者の違和感を解消できるという効果を
奏する。また、文字列データの表示操作時にはポインタ
バッファに格納された上記読出順指示データにしたがっ
て各文字列バッファから順次文字列データを読み出し表
示器に表示するようにしたので、文字列データを表示器
へ表示する場合に速やかに表示できるという効果があ
る。
As described above, according to the present invention, each character string buffer for storing character string data composed of a plurality of character data in the memory and each address of each character string buffer in a predetermined area of the memory. Correspondingly, a pointer buffer for storing the reading order instruction data indicating the reading order of each character string data is provided, and when the character string data registration operation is performed, the character string data is stored in the corresponding character string buffer, and this storage is also performed. The character string data and the character string data already stored in another character string buffer are sequentially compared based on the reading order, and the reading order instruction data is determined according to the comparison result. The data is sorted in a predetermined order such as the Japanese syllabary order when it is registered regardless of the display time of the character string data, so even if it takes time There is an effect that the discomfort can be eliminated. Further, when displaying the character string data, the character string data is sequentially read from each character string buffer and displayed on the display unit in accordance with the read order instruction data stored in the pointer buffer. When displaying, there is an effect that it can be displayed promptly.

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

【図1】本発明に係るソート方法を適用した装置の一実
施例を示すブロック図である。
FIG. 1 is a block diagram showing an embodiment of an apparatus to which a sorting method according to the present invention is applied.

【図2】上記装置のRAM内の各データの記憶状況を示
す図である。
FIG. 2 is a diagram showing a storage status of each data in a RAM of the device.

【図3】上記装置の動作を示すフローチャートである。FIG. 3 is a flowchart showing the operation of the above apparatus.

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

1 主装置 31 〜2n 外線 51 〜5m ボタン電話機 111 〜11n 外線インタフェース 12 通話路スイッチ 131 〜13m 電話機インタフェース 14 CPU 16 RAM 16A1 〜16A90 ポインタバッファ 16B1 〜16B90 文字列バッファ 16Ba データ格納数領域 16Bb 文字データ格納領域 51 通話回路 54 伝送回路 55 制御部 57 キーボード1 Main Device 3 1 to 2 n Outer Line 5 1 to 5 m Button Telephone 11 1 to 11 n Outer Line Interface 12 Call Path Switch 13 1 to 13 m Telephone Interface 14 CPU 16 RAM 16A 1 to 16A 90 Pointer Buffer 16B 1 to 16B 90 Character string buffer 16Ba data storage number area 16Bb character data storage area 51 speech circuit 54 transmission circuit 55 control unit 57 keyboard

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 表示器及びメモリを備え、前記メモリに
は複数の文字データからなる文字列データを格納する文
字列バッファを各文字列データに対応して複数設けると
共に、前記文字列データの登録操作時にはこの文字列デ
ータを対応する文字列バッファに格納し、かつ前記文字
列データの表示操作時には各文字列バッファに格納され
た各文字列データを所定の読出順序にしたがって読み出
し前記表示器に表示するシステムにおいて、 前記各文字列バッファの各アドレスに対応して前記メモ
リの所定の領域に前記読出順序を示す読出順指示データ
を格納するポインタバッファを設け、前記文字列データ
の登録操作時には対応の文字列バッファに文字列データ
を格納した後、この格納した文字列データと既に他の文
字列バッファに格納されている文字列データとを前記読
出順序に基づいて順次比較し、この比較結果に応じて前
記読出順指示データを決定し前記ポインタバッファに格
納することを特徴とするソート方法。
1. A display and a memory are provided, and in the memory, a plurality of character string buffers for storing character string data composed of a plurality of character data are provided corresponding to each character string data, and the character string data is registered. At the time of operation, this character string data is stored in the corresponding character string buffer, and at the time of the operation of displaying the character string data, each character string data stored in each character string buffer is read out according to a predetermined reading order and displayed on the display unit. In the system described above, a pointer buffer for storing read order instruction data indicating the read order is provided in a predetermined area of the memory corresponding to each address of each character string buffer, and a pointer buffer for storing the character string data is provided. After storing the character string data in the character string buffer, this stored character string data and already stored in another character string buffer. Sorting the character string data sequentially compared on the basis of said read sequence, characterized in that stored in the pointer buffer determines said read order instruction data in accordance with the comparison result.
【請求項2】 請求項1記載のソート方法において、 前記文字列データの表示操作時には前記ポインタバッフ
ァに格納された読出順指示データにしたがって各文字列
バッファから文字列データを読み出して前記表示器に表
示することを特徴とするソート方法。
2. The sorting method according to claim 1, wherein during the display operation of the character string data, the character string data is read from each character string buffer according to the reading order instruction data stored in the pointer buffer and is displayed on the display. A sorting method characterized by displaying.
JP35172793A 1993-12-29 1993-12-29 Sorting method Pending JPH07200255A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP35172793A JPH07200255A (en) 1993-12-29 1993-12-29 Sorting method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP35172793A JPH07200255A (en) 1993-12-29 1993-12-29 Sorting method

Publications (1)

Publication Number Publication Date
JPH07200255A true JPH07200255A (en) 1995-08-04

Family

ID=18419206

Family Applications (1)

Application Number Title Priority Date Filing Date
JP35172793A Pending JPH07200255A (en) 1993-12-29 1993-12-29 Sorting method

Country Status (1)

Country Link
JP (1) JPH07200255A (en)

Similar Documents

Publication Publication Date Title
US5592546A (en) Memory dialing control system having improved telephone number retrieval function by using history information
JP3123990B2 (en) Portable wireless terminal
EP1528764A1 (en) Portable telephone
JP2006352875A (en) Mobile communication terminal and data processing method therein
US6370519B1 (en) Method for storing and displaying telephone numbers of communication terminals
KR100308663B1 (en) Message transmitting method of digital portable phone terminal
JP2000112612A (en) Electronic equipment
JPS62294352A (en) Multi-function telephone set
JP2003188976A (en) Telephone number retrieving method
JPH07200255A (en) Sorting method
KR940006006B1 (en) Dialing method by korean character
KR100312316B1 (en) Short message service controling apparatus and method of digital portable terminal equipment
JPH09186760A (en) Portable telephone set
JPH10190812A (en) Electronic telephone directory and communication terminal equipment
JPH03108996A (en) Key telephone system
JP2000148363A (en) Simple input system for destination mail address in portable telephone
JP3753890B2 (en) Mobile communication terminal device and character data reading method in mobile communication terminal device
JP4278267B2 (en) Input device
JPH0795277A (en) Electronic telephone directory system
JPH0419738B2 (en)
JPH1023178A (en) Communication device
JP2002099484A (en) Message display device, message display method and record medium
JP4177573B2 (en) Phone terminal
JPH05110655A (en) Telephone set
KR20020067815A (en) Apparatus and method for searching the telephone number in mobile station