JP2008216097A - Cellular phone device, time search method and program, and communication device - Google Patents

Cellular phone device, time search method and program, and communication device Download PDF

Info

Publication number
JP2008216097A
JP2008216097A JP2007055220A JP2007055220A JP2008216097A JP 2008216097 A JP2008216097 A JP 2008216097A JP 2007055220 A JP2007055220 A JP 2007055220A JP 2007055220 A JP2007055220 A JP 2007055220A JP 2008216097 A JP2008216097 A JP 2008216097A
Authority
JP
Japan
Prior art keywords
city
country code
country
input
time
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.)
Granted
Application number
JP2007055220A
Other languages
Japanese (ja)
Other versions
JP4905183B2 (en
Inventor
Ryusuke Hisatomi
龍亮 久富
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP2007055220A priority Critical patent/JP4905183B2/en
Publication of JP2008216097A publication Critical patent/JP2008216097A/en
Application granted granted Critical
Publication of JP4905183B2 publication Critical patent/JP4905183B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a method capable of searching easily and quickly a time in a city in a foreign country, when ringing up an international telephone call by a cellular phone. <P>SOLUTION: The city belonging to each country is stored while correlated with a time difference of the city from a reference point, in every country number of international telephones allocated to respective countries, in a city database 21 provided in a storage part 16 of the cellular phone. A control part 18 of the cellular phone searches the city and the time difference corresponding to the country number, in the database 21, based on the input country number, when the country number is input from an input part 11 in response to an operation of a user, calculates a current time based on the searched time difference, and displays the current time of the calculated city on a display part 17. The control part 18 displays a list of the cities correlated with the country number conformed with a numeral of higher ranking figure, on the display part 17, even under the condition where the numeral of higher ranking figure is input, and makes the user select the objective city out of the list of the displayed cities. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、海外の都市の時刻を検索可能な携帯電話装置、時刻検索方法、時刻検索用プログラムおよび通信装置に関する。   The present invention relates to a mobile phone device, a time search method, a time search program, and a communication device that can search for the time in an overseas city.

携帯電話機には、世界中の都市の現在時刻を表示することが可能な世界時計機能を備えたものがある。このような携帯電話機において、時刻を表示したい都市を選択する際に、使用者が都市リストを画面に表示して一つずつ順に辿りながら都市を選んでいく方法が一般的である。しかし、この方法では、リスト中における選択可能な都市数が多い場合には目的の都市を探すのに時間がかかってしまうという問題があった。   Some mobile phones have a world clock function that can display the current time in cities around the world. In such a mobile phone, when selecting a city for which time is to be displayed, a method in which the user selects a city while displaying a city list on a screen and sequentially tracing the city one by one. However, this method has a problem that it takes time to search for a target city when there are a large number of selectable cities in the list.

そこで、海外の都市の時刻を容易に検索して表示することができる電話機が特許文献1において提案されている。この電話機では、予めダイヤルボタンから入力される番号に対応する海外の都市(海外地名)と、その都市での国内標準時間と電話機を使用している場所の国内標準時間との時差とが記憶部に記憶されている。そして、使用者が所定の都市の現在時刻を知りたい場合に、ダイヤルボタンから所定の番号を入力すると、制御部が入力された番号に対応するエリアの都市とその時差を記憶部から読み出し、読み出した時差から所定の都市の時刻を算出して表示する。このような構成によれば、使用者が国際電話をかけるときに海外の被呼者側の標準時刻を知ることができ、被呼者にとって都合の良い時間に電話をかけることができる。   Therefore, Patent Document 1 proposes a telephone that can easily search for and display the time of an overseas city. In this telephone, the storage unit stores the time difference between the overseas standard (overseas name) corresponding to the number input in advance from the dial button and the domestic standard time in the city and the domestic standard time at the place where the telephone is used. Is remembered. When the user wants to know the current time of a predetermined city, when the user inputs a predetermined number from the dial button, the control unit reads out the city in the area corresponding to the input number and its time difference from the storage unit, and reads it out. The time of a predetermined city is calculated from the time difference and displayed. According to such a configuration, the user can know the standard time of the overseas called party when making an international call, and can make a call at a time convenient for the called party.

実開平1−107241号公報Japanese Utility Model Publication No. 1-107241

しかし、特許文献1に記載された電話機では、番号「11」にニューヨークとその時差、番号「12」にサンフランシスコとその時差、番号「21」にロンドンとその時差が記憶部に記憶されるデータとして例示されているが、これらの番号は各都市と関係付けられているわけではない。従って、使用者は、例えばニューヨークの現在時刻を知りたい場合、ニューヨークに対応付けられた番号「11」を覚えていなければならないことになる。   However, in the telephone set described in Patent Document 1, the number “11” is New York and its time difference, the number “12” is San Francisco and its time difference, and the number “21” is London and its time difference as data stored in the storage unit. Although illustrated, these numbers are not associated with each city. Therefore, for example, when the user wants to know the current time in New York, the user must remember the number “11” associated with New York.

また、使用者が都市に対応付けられた番号を全て入力する前に、入力された番号によって絞り込まれた都市のリストを表示させれば、絞り込まれた都市のリストから目的の都市およびその時刻を早く選択して表示させることができる。   In addition, if a list of cities narrowed down by the entered number is displayed before the user inputs all the numbers associated with the cities, the target city and its time can be selected from the list of narrowed cities. You can select and display quickly.

本発明は、上記のような課題を解決するためになされたものであり、簡単かつ素早く海外の都市の時刻を検索することができる携帯電話装置、時刻検索方法、時刻検索用プログラムおよび通信装置を提供することを目的とする。   The present invention has been made to solve the above-described problems, and provides a mobile phone device, a time search method, a time search program, and a communication device that can easily and quickly search the time in an overseas city. The purpose is to provide.

以上の目的を達成するため、本発明による携帯電話装置は、各国に割り当てられている国番号ごとに、各々の国に属する都市と基準地からの該都市の時差とが対応付けられて格納されたデータベースと、使用者の操作に応じてデータを入力する入力部と、各種データを表示する表示部と、入力部から入力された国番号にもとづいてデータベースにおいて国番号に対応する都市および時差を検索し、時差から該都市の現在時刻を算出し、算出した都市の現在時刻を表示部に表示させる制御部とを備えたことを特徴とする。   In order to achieve the above object, the mobile phone device according to the present invention stores, for each country code assigned to each country, the city belonging to each country and the time difference of the city from the reference location in association with each other. A database, an input unit for inputting data in accordance with user operations, a display unit for displaying various data, and a city and time difference corresponding to the country code in the database based on the country code input from the input unit. And a control unit that calculates the current time of the city from the time difference and displays the calculated current time of the city on a display unit.

データベースにおける国番号は、上1桁目の番号順に並べられ、上1桁目の番号が同じ番号については2桁目の番号順に並べられ、上1桁目および2桁目の番号も同じ番号については3桁目の番号順に並べられ、制御部は、国番号の上位の桁の数字が入力されたときに、上位の桁の数字と一致する国番号に対応付けられた都市の一覧を表示部に表示させ、使用者による入力部の操作に応じて都市の一覧の中から選択された都市の現在時刻を算出するように構成されていてもよい。   Country codes in the database are arranged in the order of the first digit number. For numbers with the same first digit number, they are arranged in the order of the second digit number, and the first and second digit numbers are also the same number. Are arranged in the order of the third digit number, and when the upper digit of the country code is input, the control unit displays a list of cities associated with the country code that matches the upper digit digit. The current time of the city selected from the city list may be calculated according to the operation of the input unit by the user.

制御部は、入力部からの国際電話アクセス番号の入力に応じて、国番号にもとづく都市および時差の検索を開始するように構成されていてもよい。   The control unit may be configured to start searching for the city and the time difference based on the country code in response to the input of the international call access number from the input unit.

また、本発明による時刻検索方法は、携帯電話装置における制御部が制御プログラムに従って、使用者の操作に応じて入力部から各国に割り当てられている国番号を入力し、入力した国番号にもとづいて、国番号ごとに各々の国に属する都市と基準地からの該都市の時差とが対応付けられて格納されたデータベースにおいて国番号に対応する都市および時差を検索し、検索した時差から該都市の現在時刻を算出し、算出した都市の現在時刻を表示部に表示させることを特徴とする。   In the time search method according to the present invention, the control unit in the mobile phone device inputs the country code assigned to each country from the input unit according to the operation of the user according to the control program, and based on the input country code. For each country code, a city and a time difference corresponding to the country code are searched in a database in which a city belonging to each country and a time difference of the city from the reference location are stored in association with each other. The present time is calculated, and the calculated current time of the city is displayed on the display unit.

データベースにおける国番号は、上1桁目の番号順に並べられ、上1桁目の番号が同じ番号については2桁目の番号順に並べられ、上1桁目および2桁目の番号も同じ番号については3桁目の番号順に並べられ、制御部は、国番号の上位の桁の数字が入力されたときに、上位の桁の数字と一致する国番号に対応付けられた都市の一覧を表示部に表示させ、使用者による入力部の操作に応じて都市の一覧の中から選択された都市の現在時刻を算出するように構成されていてもよい。   Country codes in the database are arranged in the order of the first digit number. For numbers with the same first digit number, they are arranged in the order of the second digit number, and the first and second digit numbers are also the same number. Are arranged in the order of the third digit number, and when the upper digit of the country code is input, the control unit displays a list of cities associated with the country code that matches the upper digit digit. The current time of the city selected from the city list may be calculated according to the operation of the input unit by the user.

また、本発明による時刻検索用プログラムは、通信装置に海外の都市の時刻を検索させるための時刻検索用プログラムであって、使用者の操作に応じて入力部から各国に割り当てられている国番号を入力する処理と、入力した国番号にもとづいて、国番号ごとに各々の国に属する都市と基準地からの該都市の時差とが対応付けられて格納されたデータベースにおいて国番号に対応する都市および時差を検索する処理と、検索した時差から該都市の現在時刻を算出する処理と、算出した都市の現在時刻を表示部に表示させる処理とを通信装置に実行させることを特徴とする。   A time search program according to the present invention is a time search program for causing a communication device to search for a time in an overseas city, and a country code assigned to each country from an input unit according to a user operation. And the city corresponding to the country code in the database in which the city belonging to each country and the time difference of the city from the reference location are associated with each other based on the input country code The communication device is configured to execute processing for searching for a time difference, processing for calculating the current time of the city from the searched time difference, and processing for displaying the calculated current time of the city on a display unit.

さらに、本発明による通信装置は、各国に割り当てられている国番号ごとに、各々の国に属する都市と基準地からの該都市の時差とが対応付けられて格納されたデータベースと、使用者の操作に応じてデータを入力する入力部と、各種データを表示する表示部と、入力部から入力された国番号にもとづいてデータベースにおいて国番号に対応する都市および時差を検索し、時差から該都市の現在時刻を算出し、算出した都市の現在時刻を表示部に表示させる制御部とを備えたことを特徴とする。   Furthermore, the communication device according to the present invention includes a database in which, for each country code assigned to each country, a city belonging to each country and a time difference of the city from the reference location are associated and stored, and a user's Based on the country code input from the input unit for inputting data according to the operation, the display unit for displaying various data, and the country code input from the input unit, the city and the time difference corresponding to the country code are searched. And a control unit that displays the calculated current time of the city on a display unit.

以上のように、本発明では、使用者の操作に応じて入力部から各国に割り当てられている国番号を入力し、入力した国番号にもとづいて、国番号ごとに各々の国に属する都市と基準地からの該都市の時差とを対応付けて格納されたデータベースにおいて国番号に対応する都市および時差を検索し、検索した時差から該都市の現在時刻を算出し、算出した都市の現在時刻を表示部に表示させるので、簡単かつ効率よく海外の都市の時刻を検索して表示させることができる。   As described above, in the present invention, the country code assigned to each country is input from the input unit in accordance with the operation of the user, and the city belonging to each country for each country code based on the input country code. In the database stored in association with the time difference of the city from the reference location, the city and the time difference corresponding to the country code are searched, the current time of the city is calculated from the searched time difference, and the calculated current time of the city is calculated. Since it is displayed on the display unit, it is possible to search and display the time of an overseas city easily and efficiently.

また、本発明では、国番号の上位の桁の数字が入力されたときに、上位の桁の数字と一致する国番号に対応付けられた都市の一覧を表示部に表示させ、使用者による入力部の操作に応じて都市の一覧の中から選択された都市の現在時刻を算出するので、素早く目的の都市を選択して時刻を表示させることができる。   Further, in the present invention, when the upper digit of the country code is input, a list of cities associated with the country code matching the upper digit is displayed on the display unit, and input by the user Since the current time of the city selected from the city list is calculated according to the operation of the department, it is possible to quickly select the target city and display the time.

以下、本発明の実施の一形態を図面を参照して説明する。   Hereinafter, an embodiment of the present invention will be described with reference to the drawings.

実施の形態1.
図1は、本発明の携帯電話装置の構成を示すブロック図である。図1に示すように、本発明の携帯電話機は、キー入力部11と、記憶部16と、表示部17と、制御部18とを備えている。
Embodiment 1 FIG.
FIG. 1 is a block diagram showing a configuration of a cellular phone device according to the present invention. As shown in FIG. 1, the mobile phone of the present invention includes a key input unit 11, a storage unit 16, a display unit 17, and a control unit 18.

図1に示す構成において、キー入力部11は、使用者からのキー入力を受け付け、その入力割り込みおよびデータを制御部18に出力する。キー入力部11は、選択した表示内容(例えばこの実施の形態では都市リストから選択した都市)を確定するための確定キー12、表示内容(例えばこの実施の形態では都市リストの都市)を選択するための矢印キー13、入力したデータ(例えばこの実施の形態では数字)を取り消すためのCLRキー(クリアキー)14、およびデータ(例えばこの実施の形態では数字)を入力するための「0」〜「9」,「*」,「♯」の数字キー15を備えている。   In the configuration shown in FIG. 1, the key input unit 11 receives a key input from the user, and outputs the input interrupt and data to the control unit 18. The key input unit 11 selects the confirmation key 12 for confirming the selected display content (for example, the city selected from the city list in this embodiment) and the display content (for example, the city in the city list in this embodiment). An arrow key 13 for inputting, a CLR key (clear key) 14 for canceling input data (for example, a number in this embodiment), and “0” to “0” for inputting data (for example, a number in this embodiment) Numeric keys 15 of “9”, “*”, “#” are provided.

記憶部16は、携帯電話機の各種機能を実現するために制御部18が実行する制御プログラムや各種設定データ等を記憶するRAM、ROM、フラッシュメモリなどの記憶媒体である。図1に示すように、記憶部16には都市データベース21も記憶されている。なお、都市データベース21は、記憶内容が変更不可能なメモリ(例えばROM)に記憶されている。   The storage unit 16 is a storage medium such as a RAM, a ROM, or a flash memory that stores a control program executed by the control unit 18 and various setting data to realize various functions of the mobile phone. As shown in FIG. 1, the storage unit 16 also stores a city database 21. The city database 21 is stored in a memory (for example, ROM) whose stored contents cannot be changed.

表示部17は、制御部18からの指示に従って液晶表示画面に各種データを表示する。例えば、この実施の形態では、使用者によって入力された国際電話の国番号や、使用者が選択可能な都市リスト、選択確定された海外の都市の時刻などを表示する。   The display unit 17 displays various data on the liquid crystal display screen in accordance with instructions from the control unit 18. For example, in this embodiment, the country code of the international call input by the user, the list of cities that can be selected by the user, the time of the overseas city that has been selected and confirmed, and the like are displayed.

制御部18は、記憶部16に記憶されている制御プログラムに従って、携帯電話機の各部の制御を実行するCPUなどの演算処理部である。具体的には、制御部18は、制御プログラムに従って、通話やメールの送受信、データ通信などの携帯電話機の一般的な機能を実現するための処理を実行する。また、制御部18は、基地局(図示せず)とやり取りする制御データに含まれる時刻情報などにもとづいて、日本における現在時刻を認識し、その現在時刻を表示部17に表示する処理も実行する。さらに、この実施の形態では、制御部18は、キー入力部11からの入力データを解析し、解析結果に応じた本発明特有の処理を実行する。例えば、制御部18は、キー入力部11からの入力データの解析結果に応じて、都市データベース21に記憶されているデータを参照し、使用者が選択可能な都市の抽出、都市リスト内における都市の選択、選択確定された海外の都市の現在時刻の計算(算出)などの処理を実行する。また、制御部18は、本発明特有の処理についての処理結果を表示部17に表示する処理を実行する。   The control unit 18 is an arithmetic processing unit such as a CPU that executes control of each unit of the mobile phone in accordance with a control program stored in the storage unit 16. Specifically, the control unit 18 executes processing for realizing general functions of the mobile phone such as calls and mail transmission / reception and data communication according to the control program. The control unit 18 also executes a process of recognizing the current time in Japan based on time information included in control data exchanged with a base station (not shown) and displaying the current time on the display unit 17. To do. Furthermore, in this embodiment, the control unit 18 analyzes the input data from the key input unit 11 and executes processing unique to the present invention according to the analysis result. For example, the control unit 18 refers to the data stored in the city database 21 according to the analysis result of the input data from the key input unit 11, extracts cities that can be selected by the user, and cities in the city list And processing such as calculation (calculation) of the current time of the overseas city where the selection is confirmed. In addition, the control unit 18 executes a process of displaying the processing result on the process unique to the present invention on the display unit 17.

なお、図1には示していないが、本発明の携帯電話機においても、アンテナ、マイク、スピーカ、送受信部などの一般的な携帯電話機の構成も備えている。   Although not shown in FIG. 1, the mobile phone of the present invention also includes a general mobile phone configuration such as an antenna, a microphone, a speaker, and a transmission / reception unit.

図2は、記憶部に格納されている都市データベースのデータ構造を示す説明図である。図2に示す都市データベース21では、国番号22と都市名23と時差情報24とがそれぞれ対応付けられて格納されている。   FIG. 2 is an explanatory diagram showing the data structure of the city database stored in the storage unit. In the city database 21 shown in FIG. 2, a country code 22, a city name 23, and time difference information 24 are stored in association with each other.

国番号22は、国際電話をかける際に必要となる、国を識別するための国際電話の国番号である。国番号22は、国際電気通信連合(ITU)によって国家あるいは地域ごとに割り当てられている。国番号は、国番号は最大3桁の番号であるが、1桁だけの番号、2桁だけの番号も割り当てられている。   The country code 22 is a country code of an international call for identifying a country necessary for making an international call. The country code 22 is assigned to each country or region by the International Telecommunications Union (ITU). The country code is a three-digit number at the maximum, but a one-digit number and a two-digit number are also assigned.

具体的には、ゾーン1は、北米・カリブ海およびマリアナ諸島の国の国番号と定められている。例えば、「1」はアメリカ合衆国・カナダの国番号である。ゾーン2は、主にアフリカ大陸の国の国番号と定められている。例えば、「20」はエジプト、「212」はモロッコ、「254」はケニアの国番号である。ゾーン3は、ヨーロッパの国の国番号と定められている。例えば、「30」はギリシャ、「33」はフランス、「34」はスペインの国番号である。ゾーン4も、ヨーロッパの国の国番号と定められている。例えば、「40」はルーマニア、「44」はイギリスの国番号である。ゾーン5は、メキシコ・中南米・西インド諸島の国の国番号と定められている。例えば、「52」はメキシコ、「55」はブラジルの国番号である。ゾーン6は、東南アジア・南太平洋・オセアニアの国の国番号と定められている。例えば、「61」はオーストラリア、「62」はインドネシア、「66」はタイの国番号である。ゾーン7は、ロシア(旧ソビエト連邦)の国番号と定められている。例えば、「7」はロシア・カザフスタンの国番号である。ゾーン8は、東アジアの国および通信衛星を利用した国際移動通信の国番号と定められている。例えば、「81」は日本、「82」は韓国、「86」は中華人民共和国本土の国番号である。ゾーン9は、西南アジア・中東の国の国番号と定められている。例えば、「90」はトルコ、「91」はインド、「966」はサウジアラビアの国番号である。   Specifically, Zone 1 is defined as the country code for the North America, the Caribbean and the Mariana Islands. For example, “1” is the country code of the United States / Canada. Zone 2 is mainly defined as the country code of the African continent. For example, “20” is Egypt, “212” is Morocco, and “254” is Kenya's country code. Zone 3 is defined as the country code for European countries. For example, “30” is Greece, “33” is France, and “34” is Spain country code. Zone 4 is also defined as the country code for European countries. For example, “40” is Romania and “44” is the country code of England. Zone 5 is defined as the country code for Mexico, Latin America, and the West Indies. For example, “52” is Mexico and “55” is the country code of Brazil. Zone 6 is defined as the country code for countries in Southeast Asia, South Pacific, and Oceania. For example, “61” is Australia, “62” is Indonesia, and “66” is Thailand. Zone 7 is defined as the country code of Russia (former Soviet Union). For example, “7” is the country code of Russia and Kazakhstan. Zone 8 is defined as a country code of international mobile communication using a country of East Asia and a communication satellite. For example, “81” is Japan, “82” is Korea, and “86” is the country code of the mainland of the People's Republic of China. Zone 9 is defined as the country code for Southwest Asia and the Middle East. For example, “90” is Turkey, “91” is India, and “966” is the country code of Saudi Arabia.

図2に示すように、都市データベース21において、国番号は、まず、上1桁目の番号順(昇順、すなわち1,2,3,・・の順)に並べられ、上1桁目の番号が同じ番号については2桁目の番号順(昇順)に並べられ、上1桁目および2桁目の番号も同じ番号については3桁目の番号順(昇順)に並べられている。すなわち、上1桁目の番号(ゾーン)ごとに大きく分けられた国番号のグループを番号順に並べ、そのグループ内の国番号については2桁目まで同じ番号のグループを番号順に並べ(例えば、ゾーン3の場合、「30」「31」「32」・・・と並べ)、さらに2桁目まで同じ番号のグループ内の国番号については3桁目の番号の番号順に並べている(例えば、ゾーン8の場合、「850」「851」「852」・・・と並べている)。   As shown in FIG. 2, in the city database 21, country codes are first arranged in the first digit number order (ascending order, ie, 1, 2, 3,...), And the first digit number. Are arranged in the second digit number order (ascending order), and the first and second digit numbers are also arranged in the third digit number order (ascending order). That is, a group of country codes roughly divided for each number (zone) in the first digit is arranged in numerical order, and for the country codes in the group, groups of the same number up to the second digit are arranged in numerical order (for example, zone 3, “30”, “31”, “32”... Are arranged, and the country codes in the same number group up to the second digit are arranged in the order of the third digit number (for example, zone 8). In this case, “850”, “851”, “852”,.

都市名23は、世界中の各国の都市を名前(名称)である。図1に示す例では、アメリカ合衆国の都市として「ワシントン」、ギリシャの都市として「アテネ」、日本の都市として「東京」、ベトナムの都市として「ハノイ」、北朝鮮の都市として「平壌」などが例示されている。大きな国の場合、同一国に対して複数の主要な都市が設定されている。例えば、アメリカ合衆国の場合、「ワシントン」以外に、「ニューヨーク」「シカゴ」「アトランタ」「ロサンゼルス」なども設定されている。   The city name 23 is a name (name) of a city in each country in the world. In the example shown in FIG. 1, “Washington” is the city of the United States, “Athens” is the city of Greece, “Tokyo” is the city of Japan, “Hanoi” is the city of Vietnam, “Pyongyang” is the city of North Korea, etc. Has been. In the case of a large country, multiple major cities are set for the same country. For example, in the case of the United States of America, “New York”, “Chicago”, “Atlanta”, “Los Angeles” and the like are set in addition to “Washington”.

都市名23は、その都市が属する国の国番号に対応付けられている。例えば、アメリカ合衆国の場合、国番号「1」に「ワシントン」「ニューヨーク」「シカゴ」「アトランタ」「ロサンゼルス」などの都市名23が対応付けられている。なお、カナダもアメリカ合衆国と同じ国番号であるので、カナダの都市(「トロント」「バンクーバー」など)も国番号「1」に対応付けられる。同一国番号に対して複数の都市名23を対応付ける場合、都市データベース21における都市名23の並べ順は任意である。ただし、アイウエオ順などの順番に並べられていてもよい。   The city name 23 is associated with the country code of the country to which the city belongs. For example, in the case of the United States of America, city names 23 such as “Washington”, “New York”, “Chicago”, “Atlanta”, and “Los Angeles” are associated with the country code “1”. Since Canada has the same country code as the United States, Canadian cities (such as “Toronto” and “Vancouver”) are also associated with the country code “1”. When a plurality of city names 23 are associated with the same country code, the arrangement order of the city names 23 in the city database 21 is arbitrary. However, they may be arranged in an order such as an eye way.

時差情報24は、世界標準時(GMT;Greenwich Mean Time)の基準であるロンドンと世界の各都市との時差を示す情報である。図2に示すように、例えば、「ワシントン」は−5時間であり、「アテネ」は+1時間であり、「東京」は+9時間である。時差情報24は都市名23に対応付けられている。   The time difference information 24 is information indicating the time difference between London, which is the standard of GMT (Greenwich Mean Time), and cities in the world. As shown in FIG. 2, for example, “Washington” is −5 hours, “Athens” is +1 hour, and “Tokyo” is +9 hours. The time difference information 24 is associated with the city name 23.

図2には、都市データベース21のデータ構造のほかに、先頭ポインタ25および最後尾ポインタ26も示されている。これら2つのポインタ25,26は、現在入力されている番号情報にもとづいて定まる都市リストの範囲の最初の都市と最後の都市とをそれぞれ指し示す。   In FIG. 2, in addition to the data structure of the city database 21, a head pointer 25 and a tail pointer 26 are also shown. These two pointers 25 and 26 respectively indicate the first city and the last city in the range of the city list determined based on the currently input number information.

具体的には、先頭ポインタ25は、初期状態において都市データベース21における最初の都市を指し示している。そして、制御部18は番号情報(例えば国番号の上1桁目の番号)が入力されると、先頭ポインタ25を昇順(後方)に移動させながら入力された番号情報と登録されている国番号とを比較していく。そして、入力された番号情報と一致する国番号のところで先頭ポインタ25の移動を止める。また、最後尾ポインタ26は、初期状態において都市データベース21における最後の都市を指し示している。そして、制御部18は番号情報(例えば国番号の上1桁目の番号)が入力されると、最後尾ポインタ26を降順(前方)に移動させながら入力された番号情報と登録されている国番号とを比較していく。そして、入力された番号情報と一致する国番号のところで最後尾ポインタ26の移動を止める。これにより、最後尾ポインタ26は現在入力されている番号情報に応じた都市リストの先頭の都市を指し示し、最後尾ポインタ26は都市リストの最後尾の都市を指し示すことになる。例えば、国番号として「85」が入力された場合は、図2に示すように、先頭ポインタ25は「85」の先頭の国番号「850」の「平壌」を指し示し、最後尾ポインタ26は「85」の最後尾の国番号「856」の「ヴィエンチャン」を指し示す。   Specifically, the head pointer 25 points to the first city in the city database 21 in the initial state. When the number information (for example, the first digit of the country code) is input, the control unit 18 moves the leading pointer 25 in ascending order (backward) and the registered country number. And compare. Then, the movement of the head pointer 25 is stopped at the country code that matches the input number information. The tail pointer 26 points to the last city in the city database 21 in the initial state. When the number information (for example, the first digit number of the country code) is input, the control unit 18 moves the tail pointer 26 in descending order (forward) and registers the number information input and the registered country. Compare the numbers. Then, the movement of the tail pointer 26 is stopped at the country code that matches the input number information. Thus, the last pointer 26 points to the first city in the city list corresponding to the currently input number information, and the last pointer 26 points to the last city in the city list. For example, when “85” is input as the country code, as shown in FIG. 2, the head pointer 25 indicates “Pyongyang” of the head country code “850” of “85”, and the tail pointer 26 indicates “ “Vientiane” of the country code “856” at the end of “85” is indicated.

なお、都市データベース21に登録されていない国番号が番号情報として入力された場合、制御部18が先頭ポインタ25を昇順で移動させつつ番号情報と一致する国番号を検索するが、番号情報と一致する国番号を検索できない。同様に、制御部18が最後尾ポインタ26を降順で移動させつつ番号情報と一致する国番号を検索するが、番号情報と一致する国番号を検索できない。この場合、新たに入力された番号情報の上位桁の番号情報と登録されている国番号とが一致しなくなった時点で先頭ポインタ25および最後尾ポインタ26の移動を止める。例えば、「854」は国番号として登録されていない。このような番号が番号情報として入力された場合、制御部18は先頭ポインタ25を昇順で移動させつつ番号情報「854」と一致する国番号を検索するが、番号情報と一致する国番号を検索できず、先頭ポインタ25の位置が「86」になった時点(「854」の上位2桁の番号情報は一致しなくなった時点)で先頭ポインタ25の移動を止める。同様に、制御部18は最後尾ポインタ26を降順で移動させつつ番号情報「854」と一致する国番号を検索するが、番号情報と一致する国番号を検索できず、最後尾ポインタ26の位置が「84」になった時点(「854」の上位2桁の番号情報と一致しなくなった時点)で最後尾ポインタ26の移動を止める。   When a country code that is not registered in the city database 21 is input as number information, the control unit 18 searches for a country code that matches the number information while moving the head pointer 25 in ascending order. I can't find the country code I want. Similarly, the control unit 18 searches the country code that matches the number information while moving the tail pointer 26 in descending order, but cannot search the country code that matches the number information. In this case, the movement of the leading pointer 25 and the trailing pointer 26 is stopped when the upper digit number information of the newly input number information does not match the registered country code. For example, “854” is not registered as a country code. When such a number is input as number information, the control unit 18 searches for a country code that matches the number information “854” while moving the head pointer 25 in ascending order, but searches for a country code that matches the number information. The movement of the head pointer 25 is stopped when the position of the head pointer 25 becomes “86” (the number information of the upper two digits of “854” no longer matches). Similarly, the control unit 18 searches for a country code that matches the number information “854” while moving the tail pointer 26 in descending order, but cannot search for a country code that matches the number information. The movement of the last pointer 26 is stopped when the value becomes “84” (when the number information of the upper 2 digits of “854” no longer matches).

次に、本発明の携帯電話装置の動作について説明する。   Next, the operation of the mobile phone device of the present invention will be described.

図3は、本発明における都市選択処理を示すフローチャートである。使用者が電話をかけようと思っている海外の都市の時刻を知りたい場合に、使用者は世界時計機能を起動させる。そして、世界時計機能の起動に応じて、制御部18は都市選択処理(時刻検索処理ともいう)を開始する。世界時計機能を起動させるための操作としては、本発明の携帯電話機のメニュー画面などに予め設定されている世界時計機能を使用者が矢印キー13や確定キー12を操作して選択する場合や、本発明の携帯電話機に設けられている世界時計機能を起動させるためのボタンを使用者が押して起動させる場合などが考えられる。   FIG. 3 is a flowchart showing city selection processing in the present invention. When the user wants to know the time of the overseas city that he / she wants to call, the user activates the world clock function. Then, in response to the activation of the world clock function, the control unit 18 starts a city selection process (also referred to as a time search process). As an operation for activating the world clock function, when the user selects the world clock function preset on the menu screen of the mobile phone of the present invention by operating the arrow key 13 or the enter key 12, A case where the user presses and activates a button for activating the world clock function provided in the mobile phone of the present invention can be considered.

都市選択処理が開始されると(ステップS1)、制御部18は、まず、番号情報がまだ入力されていない状態に初期設定する(ステップS2)。具体的には、先頭ポインタ25が都市データベース21における最初の都市を指し示し、最後尾ポインタ26が都市データベース21における最後の都市を指し示すように設定する(つまり、2つのポインタ25,26が都市データベース21における全ての都市を選択している状態に設定する)。このときの都市リストの表示状態が、図4における左側の都市リストである。   When the city selection process is started (step S1), the control unit 18 initially sets a state in which number information has not yet been input (step S2). Specifically, the first pointer 25 is set to point to the first city in the city database 21 and the last pointer 26 is set to point to the last city in the city database 21 (that is, the two pointers 25 and 26 are set to the city database 21). Set all cities in to selected). The display state of the city list at this time is the city list on the left side in FIG.

次いで、制御部18は、現在入力されている番号情報(この時点では何も入力されていない)に該当する都市があるかどうかを確認する該当都市有無のチェック処理を実行する(ステップS3)。この該当都市有無のチェック処理では、制御部18は、先頭ポインタ25の指し示す都市と最後尾ポインタ26の指し示す都市を比較する。そして、制御部18は、先頭ポインタ25の指し示す都市が最後尾ポインタ26の指し示す都市より前もしくは同じであれば、該当都市ありと判断する。一方、制御部18は、先頭ポインタ25の指し示す都市が最後尾ポインタ26の指し示す都市よりも後ろであれば、該当都市なしと判断する。上述したように、都市データベース21に国番号として登録されていない番号情報が入力された場合は、新たに入力された番号情報の上位桁の番号情報と登録されている国番号とが一致しなくなった時点で先頭ポインタ25および最後尾ポインタ26の移動が止められるので、先頭ポインタ25の指し示す都市が最後尾ポインタ26の指し示す都市よりも後ろとなり、該当都市なしと判断されることになる。   Next, the control unit 18 executes a check process of presence / absence of a corresponding city to confirm whether there is a corresponding city in the currently input number information (nothing is input at this time) (step S3). In the check process for the presence / absence of the corresponding city, the control unit 18 compares the city indicated by the head pointer 25 with the city indicated by the tail pointer 26. Then, the control unit 18 determines that there is a corresponding city if the city pointed to by the head pointer 25 is before or the same as the city pointed to by the tail pointer 26. On the other hand, if the city pointed to by the head pointer 25 is behind the city pointed to by the tail pointer 26, the control unit 18 determines that there is no corresponding city. As described above, when number information that is not registered as a country code in the city database 21 is input, the number information of the upper digits of the newly input number information does not match the registered country code. Since the movement of the first pointer 25 and the last pointer 26 is stopped at this point, the city pointed to by the first pointer 25 is behind the city pointed to by the last pointer 26, and it is determined that there is no corresponding city.

該当都市有無のチェック処理において、該当都市ありと判断した場合は(ステップS3のY)、制御部18は、そのとき先頭ポインタ25および最後尾ポインタ26が指し示している都市の範囲のリスト(都市リスト)を表示部17に表示させ(ステップS4)、キー入力を待つ(ステップS5)。   If it is determined that there is a corresponding city in the check process of the corresponding city (Y in step S3), the control unit 18 then lists a city range (city list) pointed to by the first pointer 25 and the last pointer 26 at that time. ) Is displayed on the display unit 17 (step S4), and key input is waited (step S5).

キー入力待ちの状態で、使用者によって数字キー15が押され、キー入力部11から数字データが入力されると、まず、制御部18は、現在入力されている数字の入力桁数が3桁、すなわち国番号の最大桁数であるかどうかをチェックする(ステップS6)。現在の入力桁数が3桁である場合は(ステップS6のY)、既に3桁入力済みであって、3桁以上の数字データ(番号情報)が入力されたことになるので、制御部18は、今回入力された数字データ(番号情報)を破棄し、現在のリスト表示のまま次のキー入力を待つ(ステップS5)。現在の入力桁数が3桁未満である場合は(ステップS6のN)、制御部18は、数字データの入力を受け付け、番号情報としてその数字データを1桁追加する(ステップS7)。そして、制御部18は、新しい番号情報にもとづいて都市リストの検索を行う(ステップS8)。   When the user presses the numeric key 15 and enters numeric data from the key input unit 11 while waiting for key input, the control unit 18 first determines that the number of digits currently entered is three digits. That is, it is checked whether it is the maximum number of digits of the country code (step S6). If the current number of input digits is 3 (Y in step S6), since 3 digits have already been input and numeric data (number information) of 3 digits or more has been input, the control unit 18 Discards the numeric data (number information) input this time and waits for the next key input with the current list displayed (step S5). If the current number of input digits is less than 3 (N in step S6), the control unit 18 accepts the input of numeric data and adds the digit data as number information (step S7). And the control part 18 searches a city list based on new number information (step S8).

この検索方法は、上述したように、先頭ポインタ25を都市データベース21の後方へ、最後尾ポインタ26を都市データベース21の前方へそれぞれ順次進めていく。そして、新しい番号情報と、それと同じ国番号の上位桁数分の数字とを比較する。それらが一致するまで先頭ポインタ25および最後尾ポインタ26をそれぞれ後方および前方に進めていく。一致したら検索処理を終了する。そのとき、先頭ポインタ25の指し示している都市が都市リストの先頭の都市であり、最後尾ポインタ26の指し示している都市が都市リストの最後尾の都市である。例えば、図4における左側の都市リストの表示状態において「8」の数字キー15が押し下げされた場合は(「8」の数字データが入力された場合は)、先頭が国番号「81」の「東京」であり、最後尾が国番号「886」の「台北」である都市リスト(図4における真中の都市リスト)となる。   In this search method, as described above, the head pointer 25 is sequentially advanced to the rear of the city database 21 and the tail pointer 26 is sequentially advanced to the front of the city database 21. Then, the new number information is compared with the number of upper digits of the same country code. The head pointer 25 and the tail pointer 26 are advanced backward and forward, respectively, until they match. If they match, the search process ends. At that time, the city pointed to by the head pointer 25 is the head city of the city list, and the city pointed to by the tail pointer 26 is the tail city of the city list. For example, in the display state of the city list on the left side in FIG. 4, when the “8” numeric key 15 is depressed (when “8” numeric data is input), the head of the country code “81” is “ This is a city list (city list in the middle of FIG. 4) that is “Taipei” with the country code “886” at the end.

都市リストの検索が終了すると、ステップS3の処理に戻り、再び該当都市があるかどうかの確認が行われる。このとき、図4の真中の都市リストの状態であれば、該当都市ありと判断され(ステップS3のY)、そのときの都市リストが表示部17の表示画面に表示される(ステップS4)。そして、再び、キー入力を待つ状態となる(ステップS5)。そして、図4における真中の都市リストの表示状態において「5」の数字キー15が押し下げされた場合は(「5」の数字データが入力された場合は)、再び、ステップS6の処理に移行され、既に3桁入力済みかどうかが判定される。このとき、入力されたデータが「85」の2桁であるので、現在の入力桁数が3桁未満であると判断され、数字データ「5」が新たに入力されて1桁追加される(ステップS7)。そして、再び、新しい番号情報にもとづく都市リストの検索が行われる(ステップS8)。   When the search of the city list is completed, the process returns to step S3, and it is confirmed again whether there is a corresponding city. At this time, if the city list is in the middle of FIG. 4, it is determined that there is a corresponding city (Y in step S3), and the city list at that time is displayed on the display screen of the display unit 17 (step S4). Then, it again waits for key input (step S5). If the “5” numeric key 15 is depressed in the display state of the middle city list in FIG. 4 (when the numeric data “5” is input), the process proceeds to step S6 again. It is determined whether or not three digits have already been entered. At this time, since the input data is 2 digits of “85”, it is determined that the current input digit number is less than 3 digits, and the numeric data “5” is newly input and 1 digit is added ( Step S7). Then, the search of the city list based on the new number information is performed again (step S8).

図5では番号情報が「8」から「85」になったときの検索処理の手順を示している。図5に示すように、先頭ポインタ25が検索開始前に指している都市は「東京」であり、最後尾ポインタ26が検索開始前に指している都市は「台北」である。そして、数字データ「5」の入力に応じて、先頭ポインタ25は都市データベース21の後方へ順次進行し、最後尾ポインタ26は都市データベース21の前方へ順次進行する。そして、入力された番号情報と登録されている国番号とが比較され、それらが一致するかどうかの判定が行われる。図5に示す例では、先頭ポインタ25については番号情報「85」と国番号「850」の上位2桁「85」が一致するので、先頭ポインタ25は「平壌」を指し示すことになる。最後尾ポインタ26については番号情報「85」と国番号「856」の上位2桁「85」が一致するので、最後尾ポインタ26は「ヴィエンチャン」を指し示すことになる。このときの都市リストの表示状態が、図4における右上の都市リストである。   FIG. 5 shows a search processing procedure when the number information is changed from “8” to “85”. As shown in FIG. 5, the city that the first pointer 25 points to before the start of search is “Tokyo”, and the city that the last pointer 26 points to before the start of search is “Taipei”. Then, in response to the input of the numeric data “5”, the head pointer 25 sequentially proceeds to the rear of the city database 21, and the tail pointer 26 sequentially proceeds to the front of the city database 21. Then, the input number information is compared with the registered country code, and it is determined whether or not they match. In the example shown in FIG. 5, for the first pointer 25, the number information “85” and the upper two digits “85” of the country code “850” match, so the first pointer 25 points to “Pyongyang”. For the last pointer 26, the number information “85” and the upper two digits “85” of the country code “856” match, so the tail pointer 26 indicates “Vientiane”. The display state of the city list at this time is the city list in the upper right in FIG.

都市リストの検索が終了すると、ステップS3の処理に戻り、再び該当都市があるかどうかの確認が行われる。このとき、図4の右上の都市リストの状態であれば、該当都市ありと判断され(ステップS3のY)、そのときの都市リストが表示部17の表示画面に表示される(ステップS4)。そして、再び、キー入力を待つ状態となる(ステップS5)。   When the search of the city list is completed, the process returns to step S3, and it is confirmed again whether there is a corresponding city. At this time, if the city list in the upper right of FIG. 4 is in the state, it is determined that there is a corresponding city (Y in step S3), and the city list at that time is displayed on the display screen of the display unit 17 (step S4). Then, it again waits for key input (step S5).

キー入力待ちの状態において、CLRキー14が押し下げされた場合は、まず、制御部18は、番号情報は現在入力されている状態であるかどうかをチェックする(ステップS9)。仮に番号情報が現在1桁も入力されていない状態でCLRキー14が押されたのであれば(ステップS9のN)、制御部18は、CLRキー14の入力を破棄し、現在のリスト表示のまま次のキー入力を待つ(ステップS5)。番号情報が現在1桁でも入力されている状態でCLRキー14が押されたのであれば(ステップS9のY)、制御部18は、CLRキー14の入力を受け付け、現在の番号情報から下1桁を削除し(ステップS10)、新しい番号情報にもとづいて都市リストの検索を行う(ステップS11)。   When the CLR key 14 is depressed while waiting for key input, the control unit 18 first checks whether or not the number information is currently input (step S9). If the CLR key 14 is pressed when no digit information is currently input (N in step S9), the control unit 18 discards the input of the CLR key 14 and displays the current list display. The next key input is awaited (step S5). If the CLR key 14 is pressed in a state in which even one digit of the number information is currently being input (Y in step S9), the control unit 18 accepts the input of the CLR key 14 and starts from the current number information. The digit is deleted (step S10), and the city list is searched based on the new number information (step S11).

このときの検索方法は、ステップS8の場合とは逆に、先頭ポインタ25を都市データベース21の前方へ、最後尾ポインタ26を都市データベース21の後方へそれぞれ順次進めていく。そして、新しい番号情報と、それと同じ国番号の上位桁数分の数字とを比較する。新しい番号情報と登録されている国番号とが一致しなくなるまで先頭ポインタ25および最後尾ポインタ26をそれぞれ前方および後方に進めていく。一致しなくなったら、先頭ポインタ25の位置を一つ後方に移動させ、最後尾ポインタ26の位置を一つ前方に移動させてから処理を終了する。そのとき、先頭ポインタ25の指し示している都市が都市リストの先頭の都市であり、最後尾ポインタ26の指し示している都市が都市リストの最後尾の都市である。   In the search method at this time, contrary to the case of step S8, the head pointer 25 is sequentially advanced to the front of the city database 21 and the tail pointer 26 is sequentially advanced to the rear of the city database 21. Then, the new number information is compared with the number of upper digits of the same country code. The head pointer 25 and the tail pointer 26 are advanced forward and backward, respectively, until the new number information does not match the registered country code. If they do not coincide with each other, the position of the head pointer 25 is moved backward by one, the position of the tail pointer 26 is moved forward by one, and then the process ends. At that time, the city pointed to by the head pointer 25 is the head city of the city list, and the city pointed to by the tail pointer 26 is the tail city of the city list.

図6では番号情報が「85」から「8」になったときの検索処理の手順を示している。図6に示すように、先頭ポインタ25が検索開始前に指している都市は「平壌」であり、最後尾ポインタ26が検索開始前に指している都市は「ヴィエンチャン」である。そして、数字データ「5」の削除に応じて、先頭ポインタ25は都市データベース21の前方へ順次進行し、最後尾ポインタ26は都市データベース21の後方へ順次進行する。そして、現在の番号情報と登録されている国番号とが比較され、それらが一致しなくなったかどうかの判定が行われる。図6に示す例では、先頭ポインタ25が国番号「7」の「ロシア」になった時点で番号情報「8」と一致しなくなる。そして、先頭ポインタ25の位置を一つ後方に移動させる。このとき、先頭ポインタ25は「東京」を指し示すことになる。また、最後尾ポインタ26が国番号「90」の「イスタンブール」になった時点で番号情報「8」と一致しなくなる。そして、最後尾ポインタ26の位置を一つ前方に移動させる。このとき、最後尾ポインタ26は「台北」を指し示すことになる。このときの都市リストの表示状態が、図4における真中の都市リストである。   FIG. 6 shows the search processing procedure when the number information is changed from “85” to “8”. As shown in FIG. 6, the city pointed to by the start pointer 25 before the search start is “Pyongyang”, and the city pointed to by the end pointer 26 before the search start is “Vientiane”. Then, in response to the deletion of the numeric data “5”, the leading pointer 25 sequentially proceeds forward in the city database 21, and the last pointer 26 sequentially proceeds backward in the city database 21. Then, the current number information and the registered country code are compared, and it is determined whether or not they match. In the example shown in FIG. 6, when the head pointer 25 becomes “Russia” of the country code “7”, it does not match the number information “8”. Then, the position of the head pointer 25 is moved backward by one. At this time, the head pointer 25 points to “Tokyo”. Further, when the last pointer 26 becomes “Istanbul” of the country code “90”, it does not coincide with the number information “8”. Then, the position of the tail pointer 26 is moved forward by one. At this time, the last pointer 26 points to “Taipei”. The display state of the city list at this time is the center city list in FIG.

都市リストの検索(ステップS11)が終了すると、ステップS3の処理に戻り、再び該当都市があるかどうかの確認が行われる。このとき、図4の真中の都市リストの状態であれば、該当都市ありと判断され(ステップS3のY)、そのときの都市リストが表示部17の表示画面に表示される(ステップS4)。そして、再び、キー入力を待つ状態となる(ステップS5)。   When the search of the city list (step S11) is completed, the process returns to the process of step S3, and it is confirmed again whether there is a corresponding city. At this time, if the city list is in the middle of FIG. 4, it is determined that there is a corresponding city (Y in step S3), and the city list at that time is displayed on the display screen of the display unit 17 (step S4). Then, it again waits for key input (step S5).

キー入力待ちの状態において、矢印キー13が押し下げされた場合は、制御部18は、表示部17の表示画面に現在表示されている都市リストの範囲内で、現在時刻を表示させたい都市の選択(例えば都市名の文字を囲む表示領域を背景色とは異なる色に変化させることによって選択されている都市を表示している)を、押された矢印キー13の方向に応じて一つ移動させる(ステップS12)。そして、再び、キー入力を待つ状態となる(ステップS5)。矢印キー13が押し下げされる度に、ステップS12の処理を繰り返し実行する。   When the arrow key 13 is pressed while waiting for key input, the control unit 18 selects a city for which the current time is to be displayed within the range of the city list currently displayed on the display screen of the display unit 17. (For example, the selected city is displayed by changing the display area surrounding the character of the city name to a color different from the background color) is moved by one according to the direction of the pressed arrow key 13. (Step S12). Then, it again waits for key input (step S5). Each time the arrow key 13 is depressed, the process of step S12 is repeatedly executed.

キー入力待ちの状態において、確定キー12が押し下げされた場合は、制御部18は、都市リストの中で現在選択されている都市を、時刻を表示させたい都市として確定させ、都市データベース21からその都市の時差情報24を読み出す。そして、制御部18は、読み出した時差情報24にもとづいてその都市の現在時刻を計算する。例えば、時刻を表示させたい都市の時差情報と日本の時差情報から、その都市と日本との時差を計算し、計算した時差と日本の現在時刻から、その都市の現在時刻を算出する。そして、制御部18は、計算した希望の海外の都市の現在時刻をその都市の都市名の情報を表示部17に出力して表示部17の表示画面に表示させる(ステップS13)。そして、都市選択処理を終了する(ステップS14)。   When the enter key 12 is depressed in the key input waiting state, the control unit 18 determines the city currently selected in the city list as the city for which the time is to be displayed, and stores the city from the city database 21. The city time difference information 24 is read. Then, the control unit 18 calculates the current time of the city based on the read time difference information 24. For example, the time difference between the city and Japan is calculated from the time difference information of the city whose time is to be displayed and the time difference information of Japan, and the current time of the city is calculated from the calculated time difference and the current time in Japan. Then, the control unit 18 outputs the calculated current time of the desired overseas city to the display unit 17 and displays the information on the city name of the city on the display screen of the display unit 17 (step S13). And a city selection process is complete | finished (step S14).

なお、ステップS3の処理において、該当都市なしと判断された場合は(ステップS3のN)、制御部18は、「都市リストなし」である旨を表示部17に表示させ(ステップS15)、CLRキー14の入力待ちの状態となる(ステップS16)。この状態では、CLRキー14からのキー入力のみ受け付け、それ以外のキー入力は全て破棄する。CLRキー14の入力待ちの状態で、CLRキー14が入力された場合は(ステップS16のY)、制御部18は、現在入力されている番号情報から下1桁を削除し(ステップS10)、新しい番号情報にもとづいて都市リストの検索を行う(ステップS11)。   If it is determined in step S3 that there is no applicable city (N in step S3), the control unit 18 displays “no city list” on the display unit 17 (step S15), and CLR. The key 14 is awaiting input (step S16). In this state, only key input from the CLR key 14 is accepted, and all other key inputs are discarded. When the CLR key 14 is input while waiting for the input of the CLR key 14 (Y in step S16), the control unit 18 deletes the last one digit from the currently input number information (step S10). The city list is searched based on the new number information (step S11).

以上のように、この実施の形態では、国際電話の国番号にもとづいて海外の都市を検索することが可能であるため、容易に海外の都市を検索してその都市の現在時刻を表示することができる。つまり、特許文献1に記載した電話機では、海外の各都市に割り当てられている番号が海外の各都市と関連性のない番号であったため、使用者が海外の都市の時刻を知りたい場合に、その都市に割り当てられている特有の番号を入力しなければならなかった。これに対し、上記の実施の形態における携帯電話機では、海外の各都市に国際電話の国番号を割り当てている。そして、使用者が海外の都市に電話をかけようと考えている状況では、その都市の国際電話の国番号を知っているはずである。例えば、何回も電話をかけたことがある場合は国番号を覚えていることもあり得るし、相手の電話番号が書かれた名刺やメモに国番号が記入されていることもある。また、国番号は国際電話をかけるのに必要な番号であるので国番号を知らなかったとしても少なくとも事前に調べているはずである。このような状況下で、使用者が海外の都市に国際電話をかける前に、国際電話をかける際に必要な国際電話の国番号を入力するだけで都市の時刻を表示させることができ、海外の都市を選択して時刻を表示させる際の利便性が高い。   As described above, in this embodiment, since it is possible to search for an overseas city based on the country code of an international call, it is possible to easily search for an overseas city and display the current time of that city. Can do. In other words, in the telephone described in Patent Document 1, since the number assigned to each overseas city is a number that is not related to each overseas city, the user wants to know the time of the overseas city. I had to enter a unique number assigned to that city. On the other hand, in the mobile phone in the above embodiment, the country code of the international call is assigned to each overseas city. And in a situation where the user wants to call an overseas city, he should know the country code of the international call for that city. For example, if you have called many times, you may remember the country code, or you may have written the country code on a business card or memo with the other party's phone number. Also, since the country code is necessary for making international calls, even if you do not know the country code, you should at least check it in advance. Under these circumstances, the user can display the city time just by entering the country code of the international call required when making an international call before the user makes an international call to an overseas city. Convenience when selecting the city and displaying the time is high.

また、この実施の形態では、最大3桁の国番号の上位の桁の数字を入力した時点の該当する都市の一覧を都市リストとして表示し、都市リストの中の都市を矢印キー13を用いて選択することが可能であるので、国番号の全ての桁の数字を入力しなくても海外の都市を選択することができ、素早く目的の都市を選択して時刻を表示させることができる。   In this embodiment, a list of the corresponding cities at the time when the upper digit of the country code with a maximum of three digits is input is displayed as a city list, and the cities in the city list are displayed using the arrow keys 13. Since it is possible to select, it is possible to select an overseas city without inputting all digits of the country code, and it is possible to quickly select a target city and display the time.

なお、国際電話をかけるために電話番号を入力している途中で自動的に海外の都市の時刻を検索するように構成されていてもよい。すなわち、上記の実施の形態では、使用者によって世界時計機能を起動させるための操作(メニュー画面の選択や起動ボタンの押し下げなど)が行われたことにもとづいて図3に示す都市選択処理が開始されていたが、国際電話の電話番号を入力している途中で自動的に世界時計機能を起動させて図3に示す都市選択処理を開始させるようにしてもよい。例えば、日本から海外に国際電話をかける場合、「国際アクセス番号+国番号+地域番号+電話番号」を入力して発信(発呼)する必要があるが、「国際アクセス番号」が入力されたことを制御部18が検出したことにもとづいて世界時計機能を起動させて都市選択処理を開始させる。なお、「国際アクセス番号」は、使用者が利用する国際電話サービスによって異なる。例えば、「010」だけ入力すればよい場合もあるし、「010」の前に国際電話サービス会社指定の番号を入力しなければならない場合もある。また、携帯電話会社を利用して国際電話をかける場合も、「010」の前に携帯電話会社指定の番号を入力する必要がある。制御部18が「国際アクセス番号」の入力を認識するために、記憶部16に「国際アクセス番号」を記憶されておく。   In addition, it may be configured to automatically search for the time in an overseas city while entering a telephone number for making an international call. That is, in the above embodiment, the city selection process shown in FIG. 3 is started based on an operation (such as selection of a menu screen or depression of a start button) performed by the user to activate the world clock function. However, the city clock processing shown in FIG. 3 may be started by automatically activating the world clock function while inputting the telephone number of the international call. For example, when making an international call from Japan to overseas, it is necessary to make a call (call) by entering "international access number + country code + area code + phone number", but "international access number" is entered Based on the fact that the control unit 18 detects this, the world clock function is activated to start the city selection process. The “international access number” varies depending on the international telephone service used by the user. For example, only “010” may be input, or an international telephone service company designated number may need to be input before “010”. Also, when making an international call using a mobile phone company, it is necessary to input a number designated by the mobile phone company before “010”. In order for the control unit 18 to recognize the input of the “international access number”, the “international access number” is stored in the storage unit 16.

また、上記の場合とは逆に、使用者によって世界時計機能を起動させるための操作が行われたことにもとづいて、「国際アクセス番号」を自動的に入力するようにしてもよい。この場合、使用者は「国際アクセス番号」を入力せずに、世界時計機能を起動させるための操作を行い、「国番号」を入力し、海外の都市の現在時刻を確認してからそのまま「相手国内番号(地域番号+電話番号)」を入力するだけで、海外の都市に国際電話をかけることができ、国際電話の電話番号を入力する手間を軽減することができる。   In contrast to the above case, the “international access number” may be automatically input based on an operation performed by the user to activate the world clock function. In this case, the user performs an operation to activate the world clock function without entering an “international access number”, enters a “country code”, confirms the current time in an overseas city, and then continues to “ You can make an international call to an overseas city simply by entering "the other party's domestic number (area number + phone number)", and you can save time and effort to enter the international phone number.

また、海外の都市が選択され、その都市の時刻が表示されたことにもとづいて、その都市の「地域番号」を自動的に入力するようにしてもよい。例えば、東京の場合は地域番号「3」、ニューヨークの場合は地域番号「212」というように一意(1対1)に決まっている場合には、都市データベース21において各都市に対応付けて「地域番号」の情報も記憶させておく。そして、図3のステップS13において選択された都市が確定した時点で、当該都市の名称および時刻を表示するとともに、その都市の地域番号も自動的に都市データベース21から読み出して入力する。これにより、国際電話の電話番号を入力する手間をより一層軽減することができる。   Further, based on the fact that an overseas city is selected and the time of the city is displayed, the “region number” of the city may be automatically input. For example, if it is determined uniquely (one-to-one) such as the area number “3” in Tokyo and the area number “212” in New York, the “region” is associated with each city in the city database 21. Information of “number” is also stored. When the city selected in step S13 of FIG. 3 is confirmed, the name and time of the city are displayed, and the area number of the city is automatically read from the city database 21 and input. Thereby, it is possible to further reduce the trouble of inputting the telephone number of the international call.

なお、上記の実施の形態では、国番号にもとづいて海外の都市の時刻を検索する構成を携帯電話装置に適用した場合について説明したが、使用者が携帯可能なPHSなどの携帯端末装置にも適用可能である。また、携帯可能な装置に限られるわけではなく、固定電話装置や通信機能(特に通話機能)を備えたパーソナルコンピュータ等の計算処理装置(通信装置)などにも適用可能である。   In the above embodiment, the case where the configuration of searching for the time in an overseas city based on the country code is applied to a mobile phone device has been described, but the mobile terminal device such as a PHS that can be carried by the user is also described. Applicable. Further, the present invention is not limited to a portable device, and can also be applied to a fixed telephone device, a calculation processing device (communication device) such as a personal computer having a communication function (particularly a call function), and the like.

本発明は、世界各国の都市の時刻を表示可能な携帯電話装置などの通信装置に利用することができる。   INDUSTRIAL APPLICABILITY The present invention can be used for a communication device such as a mobile phone device that can display the time of cities in the world.

本発明の携帯電話装置の構成を示すブロック図である。It is a block diagram which shows the structure of the mobile telephone apparatus of this invention. 記憶部に格納されている都市データベースのデータ構造を示す説明図である。It is explanatory drawing which shows the data structure of the city database stored in the memory | storage part. 本発明における都市選択処理を示すフローチャートである。It is a flowchart which shows the city selection process in this invention. 使用者の入力操作に応じて都市を検索する手順を示す説明図である。It is explanatory drawing which shows the procedure which searches a city according to a user's input operation. 都市リストの範囲を絞り込むときの検索処理の手順を示す説明図である。It is explanatory drawing which shows the procedure of the search process when narrowing down the range of a city list. 都市リストの範囲を拡張するときの検索処理の手順を示す説明図である。It is explanatory drawing which shows the procedure of the search process when expanding the range of a city list.

符号の説明Explanation of symbols

11 キー入力部
12 確定キー
13 矢印キー
14 CLRキー
15 数字キー
16 記憶部
17 表示部
18 制御部
21 都市データベース
DESCRIPTION OF SYMBOLS 11 Key input part 12 Confirmation key 13 Arrow key 14 CLR key 15 Number key 16 Memory | storage part 17 Display part 18 Control part 21 City database

Claims (7)

各国に割り当てられている国番号ごとに、各々の国に属する都市と基準地からの該都市の時差とが対応付けられて格納されたデータベースと、
使用者の操作に応じてデータを入力する入力部と、
各種データを表示する表示部と、
前記入力部から入力された国番号にもとづいて前記データベースにおいて国番号に対応する都市および時差を検索し、時差から該都市の現在時刻を算出し、算出した前記都市の現在時刻を前記表示部に表示させる制御部とを備えた
ことを特徴とする携帯電話装置。
A database in which, for each country code assigned to each country, a city belonging to each country and a time difference of the city from the reference location are associated and stored;
An input unit for inputting data according to a user's operation;
A display unit for displaying various data;
Based on the country code input from the input unit, the city and the time difference corresponding to the country code are searched in the database, the current time of the city is calculated from the time difference, and the calculated current time of the city is displayed on the display unit. A mobile phone device comprising a control unit for display.
データベースにおける国番号は、上1桁目の番号順に並べられ、上1桁目の番号が同じ番号については2桁目の番号順に並べられ、上1桁目および2桁目の番号も同じ番号については3桁目の番号順に並べられ、
制御部は、国番号の上位の桁の数字が入力されたときに、上位の桁の数字と一致する国番号に対応付けられた都市の一覧を表示部に表示させ、使用者による入力部の操作に応じて都市の一覧の中から選択された都市の現在時刻を算出する
ことを特徴とする請求項1記載の携帯電話装置。
Country codes in the database are arranged in the order of the first digit number. For numbers with the same first digit number, they are arranged in the order of the second digit number, and the first and second digit numbers are also the same number. Are arranged in the order of the third digit number,
When the upper digit of the country code is input, the control unit displays a list of cities associated with the country code matching the upper digit on the display unit, The mobile phone device according to claim 1, wherein a current time of a city selected from a list of cities is calculated according to an operation.
制御部は、入力部からの国際電話アクセス番号の入力に応じて、国番号にもとづく都市および時差の検索を開始する
ことを特徴とする請求項1または請求項2記載の携帯電話装置。
The mobile phone device according to claim 1 or 2, wherein the control unit starts searching for the city and the time difference based on the country code in response to the input of the international call access number from the input unit.
携帯電話装置における制御部が制御プログラムに従って、
使用者の操作に応じて入力部から各国に割り当てられている国番号を入力し、
入力した国番号にもとづいて、国番号ごとに各々の国に属する都市と基準地からの該都市の時差とが対応付けられて格納されたデータベースにおいて国番号に対応する都市および時差を検索し、
検索した時差から該都市の現在時刻を算出し、
算出した前記都市の現在時刻を表示部に表示させる
ことを特徴とする時刻検索方法。
The control unit in the mobile phone device follows the control program,
Enter the country code assigned to each country from the input section according to the user's operation,
Based on the entered country code, the city and the time difference corresponding to the country code are searched in the database in which the city belonging to each country and the time difference of the city from the reference location are stored in association with each country code,
Calculate the current time of the city from the searched time difference,
A time search method, comprising: displaying the calculated current time of the city on a display unit.
データベースにおける国番号は、上1桁目の番号順に並べられ、上1桁目の番号が同じ番号については2桁目の番号順に並べられ、上1桁目および2桁目の番号も同じ番号については3桁目の番号順に並べられ、
制御部は、国番号の上位の桁の数字が入力されたときに、上位の桁の数字と一致する国番号に対応付けられた都市の一覧を表示部に表示させ、使用者による入力部の操作に応じて都市の一覧の中から選択された都市の現在時刻を算出する
ことを特徴とする請求項4記載の時刻検索方法。
Country codes in the database are arranged in the order of the first digit number. For numbers with the same first digit number, they are arranged in the order of the second digit number, and the first and second digit numbers are also the same number. Are arranged in the order of the third digit number,
When the upper digit of the country code is input, the control unit displays a list of cities associated with the country code matching the upper digit on the display unit, The time search method according to claim 4, wherein the current time of a city selected from the city list is calculated according to an operation.
通信装置に海外の都市の時刻を検索させるための時刻検索用プログラムであって、
使用者の操作に応じて入力部から各国に割り当てられている国番号を入力する処理と、
入力した国番号にもとづいて、国番号ごとに各々の国に属する都市と基準地からの該都市の時差とが対応付けられて格納されたデータベースにおいて国番号に対応する都市および時差を検索する処理と、
検索した時差から該都市の現在時刻を算出する処理と、
算出した前記都市の現在時刻を表示部に表示させる処理と
を前記通信装置に実行させる時刻検索用プログラム。
A time search program for causing a communication device to search for a time in an overseas city,
A process of inputting the country code assigned to each country from the input unit according to the operation of the user,
Processing for searching for a city and a time difference corresponding to the country code in a database in which the city belonging to each country and the time difference of the city from the reference location are associated with each other and stored based on the input country code When,
A process of calculating the current time of the city from the searched time difference;
A time search program for causing the communication device to execute a process of displaying the calculated current time of the city on a display unit.
各国に割り当てられている国番号ごとに、各々の国に属する都市と基準地からの該都市の時差とが対応付けられて格納されたデータベースと、
使用者の操作に応じてデータを入力する入力部と、
各種データを表示する表示部と、
前記入力部から入力された国番号にもとづいて前記データベースにおいて国番号に対応する都市および時差を検索し、時差から該都市の現在時刻を算出し、算出した前記都市の現在時刻を前記表示部に表示させる制御部とを備えた
ことを特徴とする通信装置。
A database in which, for each country code assigned to each country, a city belonging to each country and a time difference of the city from the reference location are associated and stored;
An input unit for inputting data according to a user's operation;
A display unit for displaying various data;
Based on the country code input from the input unit, the city and the time difference corresponding to the country code are searched in the database, the current time of the city is calculated from the time difference, and the calculated current time of the city is displayed on the display unit. A communication device comprising: a control unit for displaying.
JP2007055220A 2007-03-06 2007-03-06 Mobile phone device, time search method, time search program, and communication device Expired - Fee Related JP4905183B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007055220A JP4905183B2 (en) 2007-03-06 2007-03-06 Mobile phone device, time search method, time search program, and communication device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007055220A JP4905183B2 (en) 2007-03-06 2007-03-06 Mobile phone device, time search method, time search program, and communication device

Publications (2)

Publication Number Publication Date
JP2008216097A true JP2008216097A (en) 2008-09-18
JP4905183B2 JP4905183B2 (en) 2012-03-28

Family

ID=39836304

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007055220A Expired - Fee Related JP4905183B2 (en) 2007-03-06 2007-03-06 Mobile phone device, time search method, time search program, and communication device

Country Status (1)

Country Link
JP (1) JP4905183B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019148927A (en) * 2018-02-26 2019-09-05 株式会社リコー Information processing apparatus, method, system, and program

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6426186A (en) * 1987-04-20 1989-01-27 Sanyo Electric Co Separate country time display device
JPH11331350A (en) * 1998-05-13 1999-11-30 Denso Corp Communication equipment

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6426186A (en) * 1987-04-20 1989-01-27 Sanyo Electric Co Separate country time display device
JPH11331350A (en) * 1998-05-13 1999-11-30 Denso Corp Communication equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019148927A (en) * 2018-02-26 2019-09-05 株式会社リコー Information processing apparatus, method, system, and program

Also Published As

Publication number Publication date
JP4905183B2 (en) 2012-03-28

Similar Documents

Publication Publication Date Title
WO2001025888A1 (en) Mobile communication terminal
JP2003339066A (en) Information terminal, information providing method for information terminal, and information providing processing program
JP4905183B2 (en) Mobile phone device, time search method, time search program, and communication device
WO2013185663A1 (en) Method and terminal for speed dialing
EP1521432A1 (en) Mobile communication terminal and method for searching and prefixing of a country code
JP2003167822A (en) Mobile communications terminal device and its address input method
JP4889803B2 (en) mobile phone
KR100696095B1 (en) Improvements to selecting telephone numbers
KR20010000526A (en) Method for self-completing phone dialing
JPH09186760A (en) Portable telephone set
JP3612475B2 (en) Display control device
JPH10308810A (en) Portable telephone set
KR100700289B1 (en) How to make a phone call
KR100608762B1 (en) Call connection method for mobile station using phone number sequence search method
KR100652635B1 (en) Phone book searching method for mobile communication terminal
JP2519909B2 (en) Button telephone
KR20040026716A (en) Searching method for phone number of mobile communication terminal
KR20030037832A (en) Message index display method for mobile communication device
JP2000032113A (en) Number display function for telephone terminal
JP2004236250A (en) Mobile radio terminal
KR100712843B1 (en) Mobile Communication Terminal Enable of Using a Speed Key with Number and Text and Operating Method for the Same
JP2021164143A (en) Memo display function when incoming call id received
KR100638216B1 (en) Dial number input method for mobile communication terminal
TWI252670B (en) Speedy dialing method for mobile phone
JPH11275207A (en) Display controller

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100218

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110808

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110816

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110927

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: 20111213

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20111226

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20150120

Year of fee payment: 3

R150 Certificate of patent (=grant) or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees