[go: up one dir, main page]

CN1354589A - Method for Automatically Inputting Telephone Country Code and Area Code by Using Selected City - Google Patents

Method for Automatically Inputting Telephone Country Code and Area Code by Using Selected City Download PDF

Info

Publication number
CN1354589A
CN1354589A CN 00132611 CN00132611A CN1354589A CN 1354589 A CN1354589 A CN 1354589A CN 00132611 CN00132611 CN 00132611 CN 00132611 A CN00132611 A CN 00132611A CN 1354589 A CN1354589 A CN 1354589A
Authority
CN
China
Prior art keywords
city
code
area code
country code
import
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
CN 00132611
Other languages
Chinese (zh)
Other versions
CN1134959C (en
Inventor
陈育彬
何代水
蔡世光
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.)
Inventec Appliances Corp
Original Assignee
Inventec Appliances 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 Inventec Appliances Corp filed Critical Inventec Appliances Corp
Priority to CNB001326112A priority Critical patent/CN1134959C/en
Publication of CN1354589A publication Critical patent/CN1354589A/en
Application granted granted Critical
Publication of CN1134959C publication Critical patent/CN1134959C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

A method for automatically inputting country code and area code of telephone by selecting city includes such steps as creating country code and area code of each city to a database, sorting the cities, coding to generate a query table, receiving the city to which the telephone is to be dialed, comparing the query table with the selected city to generate the country code and area code of the city, and finally selecting the country code and area code of the city and inputting the telephone to be dialed for dialing.

Description

利用选择城市来自动输入电话国家代码与地区代码的方法Method for Automatically Inputting Telephone Country Code and Area Code by Using Selected City

一种利用选择城市来自动输入电话国家代码与地区代码的方法,是应用于程序化的屏幕电话(Screen Phone)、移动电话(Mobil Phone)、个人数字助理系统(PDA)或具有拨号功能的通讯设备中。A method for automatically inputting telephone country codes and area codes by selecting cities, which is applied to programmed screen phones (Screen Phone), mobile phones (Mobil Phone), personal digital assistant systems (PDA) or communication with dialing functions in the device.

由于全球通讯系统的发达,跨国的通讯、商务愈来愈多,各国与各地不同的电话拨号方法,会对不同国家与地区的人造成沟通上的困扰,例如一业务主任有三个重要的客户,假设他们的联络电话分别为33933600、33933601及33933602,该业务主任的移动电话的名片录(Address Book)中存放有三个客户的电话(如表1所示):Due to the development of the global communication system, there are more and more cross-border communications and businesses. Different dialing methods in different countries and regions will cause communication problems for people in different countries and regions. For example, a sales manager has three important customers. Suppose their contact numbers are 33933600, 33933601, and 33933602 respectively, and there are three customers' phone numbers (as shown in Table 1):

               表1     序号     姓名     电话     1     AAA     33933600     2     BBB     33933601     3     CCC     33933602 Table 1 serial number Name Telephone 1 AAA 33933600 2 BBB 33933601 3 CCC 33933602

当该三个客户在家时,该业务主任可以方便地调出电话名片录中的电话号码自动拨号,但是,如果那些客户到法国巴黎、英国伦敦或日本东京出差时,该电话名片录中的电话号码数据便无法使用,除非重新输入电话号码,该业务主任必须先查出这三个城市的国家代码与地区代码(法国国家代码[33],巴黎地区代码[1];英国国家代码[44],伦敦地区代码[20];日本国家代码[81],东京地区代码[3]),再分别将其修改成0033-1-33933600、0044-20-33933601及0081-3-33933602(如表2所示):When the three customers are at home, the business director can easily call out the phone numbers in the phone directory to automatically dial, but if those customers go on a business trip to Paris, France, London, England, or Tokyo, Japan, the phone number in the phone directory Number data just can't be used, unless input phone number again, this business director must find out country code and area code (French country code [33], Paris area code [1]; UK country code [44]) of these three cities earlier , London area code [20]; Japan country code [81], Tokyo area code [3]), and then modify them to 0033-1-33933600, 0044-20-33933601 and 0081-3-33933602 (as shown in Table 2 shown):

                   表2     序号     姓名     电话     1     AAA     0033-1-33933600     2     BBB     0044-20-33933601     3     CCC     0081-3-33933602 Table 2 serial number Name Telephone 1 AAA 0033-1-33933600 2 BBB 0044-20-33933601 3 CCC 0081-3-33933602

如果这些客户到芬兰或希腊时,该业务主任必须如法炮制修改名片录或以手动方式拨号。即,如果该该客户每到一地,欲拨号给该客户就必须重新修改该客户的电话号码,这样显然很不方便,而此现象在公知的移动电话或屏幕电话(Screen Phone)的使用上经常发生。If these customers go to Finland or Greece, the business director must follow the same pattern to modify the directory or dial manually. That is, if this client arrives at every place, want to dial to this client and just must revise this client's phone number again, so obviously very inconvenient, and this phenomenon is in the use of known mobile phone or screen phone (Screen Phone) happens very often.

由于移动电话拨接国外电话的频率与日俱增,为减少对各国与各地不同的电话拨号方法的麻烦,一种利用选择城市来自动输入电话国家代码与地区代码的方法显得非常重要。Since the frequency of mobile phone dialing and receiving foreign calls is increasing day by day, in order to reduce the troubles of different dialing methods in various countries and places, it is very important to use a method for selecting cities to automatically input telephone country codes and area codes.

本发明的目的在于提供一种利用选择城市来自动输入电话国家代码与地区代码的方法,是应用于程序化的屏幕电话(Screen Phone)、移动电话(Mobil Phone)、个人数字助理系统(PDA)或具有拨号功能的通讯设备中。The object of the present invention is to provide a kind of method that utilizes selection city to automatically input telephone country code and area code, is to be applied to programmed screen phone (Screen Phone), mobile phone (Mobil Phone), personal digital assistant system (PDA) Or in a communication device with a dial-up function.

本发明所提供的方法必须应用在具有将“+”转成标准国际长途识别码功能的通讯设备中,该方法至少包含下列步骤:首先收集各国城市的国家代码与地区代码;再对这些城市进行排序,并加以编码产生查询表;再利用这查询表与使用者选择的城市自动输入欲拨接电话的国家代码与地区代码。The method provided by the present invention must be applied in communication equipment with the function of converting "+" into a standard international long-distance identification code. The method at least includes the following steps: firstly collect the country codes and area codes of cities in various countries; Sort and encode to generate a query table; then use this query table and the city selected by the user to automatically input the country code and area code for dialing and receiving calls.

有关本发明的详细内容及技术,通过配合附图说明如下。The detailed content and technology related to the present invention are described as follows by cooperating with the accompanying drawings.

图1为一公知移动电话的键盘分布图;Fig. 1 is a keyboard distribution diagram of a known mobile phone;

图2为本发明的整个处理数据过程的流程图;Fig. 2 is the flow chart of whole processing data process of the present invention;

图3为本发明的整个拨号过程的流程图;Fig. 3 is the flow chart of whole dialing process of the present invention;

图4~图14为本发明的整个拨号过程的示意图。4 to 14 are schematic diagrams of the entire dialing process of the present invention.

本发明公开一种利用选择城市来自动输入电话国家代码与地区代码的方法,在提出本发明建立一国家代码与地区代码的数据库前,先说明一下国际电话的拨号程序:本方[国际长途识别码]+对方[电话国家代码]+对方[电话地区代码]+对方[电话号码]。需注意的是每个国家的国家代码与地区代码都不一样,如中国上海为86-21,法国巴黎为33-1,英国伦敦为44-20。在本发明中,电话网络支援“+”为国际长途识别码,也即电话网络可将“+”转成标准国际长途识别码。一般对于国内直拨的电话地区代码通常多以[0]为开头,此[0]在使用国际直拨电话时必须舍弃。The invention discloses a method for automatically inputting country codes and area codes by selecting a city. Before proposing the present invention to establish a database of country codes and area codes, the dialing procedure for international calls is first explained: This party [international long-distance identification code] + the other party [telephone country code] + the other party [telephone area code] + the other party [telephone number]. It should be noted that the country code and area code of each country are different, such as 86-21 for Shanghai, China, 33-1 for Paris, France, and 44-20 for London, England. In the present invention, the telephone network supports "+" as an international long-distance identification code, that is, the telephone network can convert "+" into a standard international long-distance identification code. Generally, the area codes for domestic direct dialing usually start with [0], and this [0] must be discarded when using international direct dialing.

如从中国大陆拨一长途电话至日本东京某公司为例,日本国家代码为[81],东京地区代码为[3],该公司电话号码为[3393-3600],中国大陆国际长途识别码为[00],所以长途电话应拨成如下序列00-81-3-33933600,如拨此号码至奥地利维也纳就变成0043-1-3-33933600或+43-1-3-33933600。For example, if you dial a long-distance call from mainland China to a company in Tokyo, Japan, the Japanese country code is [81], the Tokyo area code is [3], the company's phone number is [3393-3600], and the international long-distance identification code in mainland China is [00], so the long-distance call should be dialed as the following sequence 00-81-3-33933600, such as dialing this number to Vienna, Austria, it becomes 0043-1-3-33933600 or +43-1-3-33933600.

在本发明中,各国的国家代码与地区代码的数据可以任意扩充及修改,因为考虑到收录不全或曾经错误登录的问题,本发明提供使用者输入、修改及扩充的功能。本发明还收集一些城市的相关信息(如与格林威治时间的标准时差、当地的月平均温度等等),提供使用者对该城市有进一步的了解。In the present invention, the country code and area code data of each country can be expanded and modified arbitrarily, because considering the problem of incomplete collection or wrong registration, the present invention provides the functions of user input, modification and expansion. The present invention also collects relevant information of some cities (such as the standard time difference with Greenwich Mean Time, the local average monthly temperature, etc.) to provide users with further understanding of the city.

表3为单一城市的初始数据结构,表4是以维也纳为例的数据结构:Table 3 is the initial data structure of a single city, and Table 4 is the data structure of Vienna as an example:

                 表3 城市名:     //繁体中文//简体中文//英文或拼音 标准时差: 月平均温度: 国家地区代码: 城市长途代码: table 3 City name: //Traditional Chinese//Simplified Chinese//English or Pinyin Standard time difference: Average monthly temperature: Country code: City long-distance code:

                 表4 城市名:        維也納//繁体中文维也纳//简体中文Vienna//英文或拼音 标准时差:      +1 月平均温度:    0,1,6,10,15,17,19,19,14,10,4,2 国家地区代码:  43 城市长途代码:  1 Table 4 City name: Vienna//Vienna in Traditional Chinese//Vienna in Simplified Chinese//English or Pinyin Standard time difference: +1 Monthly average temperature: 0, 1, 6, 10, 15, 17, 19, 19, 14, 10, 4, 2 Country code: 43 City long-distance code: 1

针对单一城市的初始数据结构定义如下的程序结构:The following program structure is defined for the initial data structure of a single city:

typedef structtypedef struct

 {{

char String[3][20];char String[3][20];

float Time;float Time;

short Temperature[12];short Temperature[12];

short TelCode[2];short TelCode[2];

}WORLDCLOCK;} WORLDCLOCK;

考虑到各个国家对同一城市可能会有不同的译名,在对各国的国家代码与地区代码编码时,是采用按英文字母排序的方式。在整个处理数据过程的流程中,首先必须建立数据库中的城市长途代码,假定数据中共有545个城市,则通过处理会产生如下的两组数据:Considering that each country may have different translated names for the same city, when encoding the country code and area code of each country, it adopts the method of sorting by English alphabet. In the whole process of data processing, the long-distance code of the city in the database must first be established. Assuming that there are 545 cities in the data, the following two sets of data will be generated through processing:

(一)全部索引const S16 TeleCode_Index[ ]={360,87,115,470,441,150,471,448,472,2,396,53,52,63,404,89,218,153,371,268,473,37,93,64,474,475,71,45,172,334,170,441,86,476,23,124,400,385,142,80,440,364,337,117,56,477,116,213,155,34,370,259,439,25,41,94,12,478,4,11,74,39,3,479,482,30,480,481,5,127,61,165,301,392,450,438,295,133,192,225,163,327,126,346,305,451,95,144,483,543,226,342,378,220,96,484,28,485,486,10,358,384,152,97,85,156,341,179,6,131,187,386,487,98,99,350,260,416,389,490,314,491,35,344,154,159,221,227,246,421,242,361,83,492,493,494,363,352,309,331,365,427,433,174,424,423,339,426,495,429,437,122,200,113,403,26,269,335,211,177,184,31,129,298,444,322,263,114,468,380,100,101,453,216,307,214,196,454,290,425,219,282,141,319,164,145,496,204,497,455,498,499,500,501,502,503,90,504,43,505,47,181,245,315,271,203,409,328,166,247,134,410,237,288,284,292,206,254,138,157,239,413,176,79,506,0,265,456,66,443,507,457,435,442,92,452,508,58,374,55,258,128,408,102,391,509,355,362,195,261,160,168,387,67,390,139,420,262,397,72,209,223,366,330,91,417,235,103,304,137,274,266,57,349,215,469,81,510,68,317,458,320,7,511,59,104,351,459,49,512,17,513,76,183,36,514,236,356,189,329,233,194,460,279,395,354,515,42,105,106,516,18,201,234,517,388,65,19.518,161,348,32,461,519,107,520,16,267,418,462,238,108,521,38,522,27,523,229,272,372,345,373,369,248,419,324,121,336,175,182,231,377,207,40,394,13,77,257,524,50,525,109,73,275,230,24,29,340,14,526,110,54,188,405,276,244,393,313,321,310,205,299,151,311,119,283,431,178,135,382,78,167,15,185,171,527,528,75,82,186,353,222,193,529,530,8,531,447,255,463,464,449,465,544,130,210,466,112,33,44,48,532,118,412,162,1,51,399,169,217,368,20,436,88,534,535,533,538,537,60,536,539,21,9,540,343,69,70,111,253,256,402,381,202,22,143,281,212,434,415,190,332,228,398,286,297,308,291,401,289,148,146,123,422,270,280,240,136,383,224,273,191,359,406,173,197,323,62,132,198,252,541,357,285,180,243,149,446,445,430,158,241,432,303,306,300,542,333,407,140,467,293,428,379,250,302,125,414,232,316,318,376,147,264,199,326,277,208,312,278,296,249,347,367,84,};(1) All indexes const S16 TeleCode_Index[ ]={360,87,115,470,441,150,471,448,472,2,396,53,52,63,404,89,218,153,371, 268, 473, 37, 93, 64, 474, 475, 71, 45, 172, 334, 170, 441, 86, 476, 23, 124, 400, 385, 142, 80, 440, 364, 337, 117, 56, 477, 116, 213, 155, 34, 370, 259, 439, 25, 41, 94, 12, 478, 4, 11, 74, 39, 3, 479, 482, 30, 480, 481, 5, 127, 61, 165, 301, 392, 450, 438, 295, 133, 192, 225, 163, 327, 126, 346, 305, 451, 95, 144, 483, 543, 226, 342, 378, 220, 96, 484, 28, 485, 486, 10, 358, 384, 152, 97, 85, 156, 341, 179, 6, 131, 187, 386, 487, 98, 99, 350, 260, 416, 389, 490, 314, 491, 35, 344, 154, 159, 221, 227, 246, 421, 242, 361, 83, 492, 493, 494, 363, 352, 309, 331, 365, 427, 433, 174, 424, 423, 339, 426, 495, 429, 437, 122, 200, 113, 403, 26, 269, 335, 211, 177, 184, 31, 129, 298, 444, 322, 263, 114, 468, 380, 100, 101, 453, 216, 307, 214, 196, 454, 290, 425, 219, 282, 141, 319, 164, 145, 496, 204, 497, 455, 498, 499, 500, 501, 502, 503, 90, 504, 43, 505, 47, 181, 245, 315, 271, 203, 409, 328, 166, 247, 134, 410, 237, 288, 284, 292, 206, 254, 138, 157, 239, 413, 176, 79, 506, 0, 265, 456, 66, 443, 507, 457, 435, 442, 92, 452, 508, 58, 374, 55, 258, 128, 408, 102, 391, 509, 355, 362, 195, 261, 160, 168, 387, 67, 390, 139, 420, 262, 397, 72, 209, 223, 366, 330, 91, 417, 235, 103, 304, 137, 274, 266, 57, 349, 215, 469, 81, 510, 68, 317, 458, 320, 7, 511, 59, 104, 351, 459, 49, 512, 17, 513, 76, 183, 36, 514, 236, 356, 189, 329, 233, 194, 460, 279, 395, 354, 515, 42, 105, 106, 516, 18, 201, 234, 517, 388, 65, 19.518, 161, 348, 32, 461, 519, 107, 520, 16, 267, 418, 462, 238, 108, 521, 38, 522, 27, 523, 229, 272, 372, 345, 373, 369, 248, 419, 324, 121, 336, 175, 182, 231, 377, 207, 40, 394, 13, 77, 257, 524, 50, 525, 109, 73, 275, 230, 24, 29, 340, 14, 526, 110, 54, 188, 405, 276, 244, 393, 313, 321, 310, 205, 299, 151, 311, 119, 283, 431, 178, 135, 382, 78, 167, 15, 185, 171, 527, 528, 75, 82, 186, 353, 222, 193, 529, 530, 8, 531, 447, 255, 463, 464, 449, 465, 544, 130, 210, 466, 112, 33, 44, 48,532,118,412,162,1,51,399,169,217,368,20,436,88,534,535,533,538,537,60,536,539,21,9,540, 343, 69, 70, 111, 253, 256, 402, 381, 202, 22, 143, 281, 212, 434, 415, 190, 332, 228, 398, 286, 297, 308, 291, 401, 289, 148, 146, 123, 422, 270, 280, 240, 136, 383, 224, 273, 191, 359, 406, 173, 197, 323, 62, 132, 198, 252, 541, 357, 285, 180, 243, 149, 446, 445, 430, 158, 241, 432, 303, 306, 300, 542, 333, 407, 140, 467, 293, 428, 379, 250, 302, 125, 414, 232, 316, 318, 376, 147, 264, 199, 326, 277, 208, 312, 278, 296, 249, 347, 367, 84,};

(二)以“A”,“B”,“C”…“Z”字母开头的英文的城市名索引:const S16 TeleCode_Char[26]={0,27,64,99,124,127,138,152,197,207,234,249,283,305,325,327,348,362,370,416,446,452,455,472,492,524,};(2) Index of English city names starting with "A", "B", "C"..."Z" letters: const S16 TeleCode_Char[26]={0, 27, 64, 99, 124, 127, 138, 152, 197, 207, 234, 249, 283, 305, 325, 327, 348, 362, 370, 416, 446, 452, 455, 472, 492, 524,};

在选择列表画面中,第一个显示的城市序号是TeleCode_Index[0],第二个显示的城市序号是TeleCode_Index[1],……第i个显示的城市序号是TeleCode_Index[i-1],使用者输入一个英文ch后,TeleCode_Index[ch-A]得值就是以ch开头的城市名的索引,选择列表画面会立即跳至该字母开头的城市,方便使用者进行快速查询。In the selection list screen, the first displayed city serial number is TeleCode_Index[0], the second displayed city serial number is TeleCode_Index[1], ... the ith displayed city serial number is TeleCode_Index[i-1], use After the user enters an English ch, the value of TeleCode_Index[ch-A] is the index of the city name starting with ch, and the selection list screen will immediately jump to the city starting with the letter, which is convenient for users to quickly search.

上述的数据库将是使用者进行自动输入电话国家代码与地区代码的基础,本发明也即利用在提供世界城市选择列表中选出需要的城市后自动添加国家代码与地区代码,组合成一正确拨接电话序列,在屏幕电话(Screen Phone)或移动电话(Mobil Phone)的自动答复系统等,可以储存电话并能自动拨号的设备上是很有帮助的。The above-mentioned database will be the basis for the user to automatically input the telephone country code and area code. The present invention also uses the automatic addition of the country code and area code after selecting the required city in the world city selection list, and is combined into a correct dialing Telephone sequence, it is very helpful on the screen phone (Screen Phone) or the automatic answering system of the mobile phone (Mobil Phone), etc., which can store the phone number and can automatically dial the number.

图1为一公知移动电话的键盘分布图,在说明本发明的方法前,概略说明一下现有的移动电话的键盘分布,其中,包含功能选择键101、左功能键102、右功能键103、方向键104与CCITT按键105等,CCITT按键105为国际电信电报咨询委员会(International Telegraph andTelephone Consultative Committee)标准。Fig. 1 is the keyboard distribution diagram of a known mobile phone, before explaining the method of the present invention, briefly explain the keyboard distribution of existing mobile phone, wherein, comprise function selection key 101, left function key 102, right function key 103, The arrow keys 104 and the CCITT button 105 etc., the CCITT button 105 is an International Telegraph and Telephone Consultative Committee (International Telegraph and Telephone Consultative Committee) standard.

图2为本发明的整个处理数据过程的流程图,首先打开原始数据档案与欲输出档案(步骤201),接着判断原始数据档案指标是否已到档案末端(步骤202),如果指标尚未到档案末端,则读取一笔数据输出至最终数据档案,并保存英文名(步骤203),直到指标到达档案末端,接着关闭原始数据档案与欲输出档案,并对所有城市名的英文进行排序(步骤204),并输出以“A”,“B”,“C”…“Z”开头的城市名的索引(共26个)(步骤205),之后,再进入下一字母排序,输出从“A”,“B”,“C”…“Z”的新索引(步骤206),方便使用者快速查询。Fig. 2 is the flow chart of whole processing data process of the present invention, at first open original data file and desired output file (step 201), then judge whether the original data file index has reached the end of the file (step 202), if the index has not yet reached the end of the file , then read a piece of data output to the final data file, and save the English name (step 203), until the index reaches the end of the file, then close the original data file and the desired output file, and sort the English names of all city names (step 204 ), and output the index (total 26) (step 205) of the city names beginning with "A", "B", "C" ... "Z", after that, enter the next alphabetical sorting, output from "A" , "B", "C"..."Z" new index (step 206), which is convenient for users to quickly search.

图3为本发明的整个拨号过程的流程图,本发明利用一具体实施例说明如下:首先长按“0”,直到出现“+”(步骤301),再按左功能键,进入选择国家或城市模块(步骤302),本发明还提供按右功能键,进入浏览国家或城市内容模块(步骤303),在此说明左右功能键仅为本发明的设计方式之一,并非用于限定本发明的操作范围。Fig. 3 is the flow chart of the whole dialing process of the present invention, and the present invention utilizes a specific embodiment to illustrate as follows: first press " 0 " for a long time, until "+" appears (step 301), then press the left function key, enter the selection country or City module (step 302), the present invention also provides and presses the right function key, enters and browses country or city content module (step 303), illustrates that the left and right function keys are only one of the design modes of the present invention, are not used to limit the present invention operating range.

在确定所选的国家或城市后,返回国家或城市的国家代码与地区代码(步骤304),紧接着输入用户的电话号码(步骤305),完成拨接电话号码序列,本发明同时提供手动方式,直接输入国家代码与地区代码(步骤306),最后,是否按确定键(步骤307),如果确定,则直接拨接(步骤308),否则,结束拨号动作。After determining the selected country or city, return the country code and area code (step 304) of the country or city, then input the user's phone number (step 305), complete the dialing and receiving phone number sequence, the present invention provides manual mode simultaneously , directly input the country code and area code (step 306), at last, whether to press the determination key (step 307), if determined, then directly dial (step 308), otherwise, end the dialing action.

现就利用本发明所提供的方法进行拨号的全部过程说明如下,图4~图14为本发明的整个拨号过程的示意图。在待机时(如图4所示),如果现在要打电话找一位在布里斯班(澳大利亚)的朋友,该电话号码是45789612。首先长按“0”键,屏幕上先出现“0”(如图5所示),然而紧接着显示“+”(如图6所示),此时,如果不知布里斯班的国家代码与地区代码,使用者可以按左功能键,弹出世界城市选择列表(如图7所示)。The whole process of dialing with the method provided by the present invention is described as follows, and Fig. 4 to Fig. 14 are schematic diagrams of the whole dialing process of the present invention. During standby (as shown in FIG. 4 ), if you want to call a friend in Brisbane (Australia), the phone number is 45789612. First press the "0" button for a long time, "0" will appear on the screen (as shown in Figure 5), but then "+" will be displayed (as shown in Figure 6), at this time, if you do not know the country code of Brisbane and Area code, the user can press the left function key to pop up the world city selection list (as shown in Figure 7).

在选择城市画面中,使用者可以按方向键一个一个浏览,也可以左右功能键,一页一页地翻页,或按数字键“2”~“9”在屏幕底部中央会显示刚才所按的英文字母(如图8所示),以进行快速检索。In the city selection screen, the user can press the direction keys to browse one by one, or use the left and right function keys to turn pages one by one, or press the number keys "2" to "9" to display the value just pressed at the bottom center of the screen. English letters (as shown in Figure 8) for quick retrieval.

现在按两下“2”,使游标停留在以“B”开始的城市名上(如图9所示),再按方向键翻到布里斯班(如图10所示)。如果使用者对该城市感有兴趣,还可以按左功能键查看该城市的当地时间、当月平均温度、国家代码及地区代码等(如图11所示)。如果当地时间是半夜的话,使用者则可避免该时间打电话;或者得知当地温度高低,以作为体贴开心的问候。Now press "2" twice to make the cursor rest on the city name beginning with "B" (as shown in Figure 9), and then press the arrow keys to turn to Brisbane (as shown in Figure 10). If the user is interested in the city, he can also press the left function key to check the local time of the city, the average temperature of the month, the country code and the area code etc. (as shown in Figure 11). If the local time is in the middle of the night, the user can avoid calling at this time; or know the local temperature level as a considerate and happy greeting.

接下来,按确定键后,返回到拨号画面,此时,屏幕已加上了布里斯班的国家代码与地区代码(如图12所示),最后输入该电话号码“45789612”(如图13所示)。Next, after pressing the confirmation key, return to the dialing screen, at this moment, the country code and area code of Brisbane have been added to the screen (as shown in Figure 12), and finally input the phone number "45789612" (as shown in Figure 13 shown).

本发明所提供的方法必须满足本地电话网络支援“+”规范,也即以“+”取代本地国际长途前缀码,最后一步将欲拨接的国家代码、地区代码以及本地电话号码合成国际长途电话拨出,再按确定键拨出该号码(如图14所示)。The method provided by the present invention must meet the "+" specification supported by the local telephone network, that is, replace the local international long-distance prefix code with "+", and the last step is to synthesize the international long-distance call with the country code, area code and local telephone number to be dialed dial out, and then press the OK key to dial out the number (as shown in Figure 14).

本发明还可以针对来电与电话簿上的电话号码,配合本发明内存的数据库,自动识别来电及电话簿上的电话号码的所在地,提供相关的信息,如时间(时差)、日期、平均气温与相关旅游信息等等。The present invention can also be aimed at the telephone number on the incoming call and the telephone book, cooperates the database of the present invention memory, automatically recognizes the location of the telephone number on the incoming call and the telephone book, provides relevant information, as time (time difference), date, average temperature and Relevant tourist information and so on.

最后,本发明具有可以任意扩充及修改国家代码与地区代码数据库的功能,如果某一城市的国家代码或地区代码改变了。此时,使用者必须修改原数据库中此一城市的相关内容,其修改步骤如下所示:Finally, the present invention has the function of arbitrarily expanding and revising the country code and area code database, if the country code or area code of a certain city changes. At this time, the user must modify the relevant content of this city in the original database, and the modification steps are as follows:

(1)在城市选择列表画面中,找到该城市,并进入该城市画面;(1) In the city selection list screen, find the city and enter the city screen;

(2)按功能选择键101切换至编辑模式;(2) Press the function selection key 101 to switch to the editing mode;

(3)修改错误数据;(3) modify the wrong data;

(4)储存数据,并返回城市选择列表画面。(4) Save the data and return to the city selection list screen.

另一方面,考虑到在建立各国的国家代码与地区代码数据库时,因为收录不全的问题,本发明还提供使用者增加输入模式,其步骤如下所示:On the other hand, considering the problem of incomplete collection when establishing country code and area code databases of various countries, the present invention also provides users with an additional input mode, the steps of which are as follows:

(1)在城市选择列表画面中,按功能选择键101切换至新增模式;(1) In the city selection list screen, press the function selection key 101 to switch to the new mode;

(2)输入各项内容(没有的值的栏目保持空白,同一栏目中有多个值的,中间以逗号隔开);(2) Input each content (the column with no value remains blank, and if there are multiple values in the same column, separate them with commas);

(3)储存数据,并对所有城市名重新排序。(3) Store the data and reorder all city names.

虽然本发明以上述的较佳实施例公开如上,但其并非用以限定本发明,任何本专业领域内的普通技术人员,在不脱离本发明的构思和范围内,当可作适当的更动与润饰,因此本发明的保护范围当以权利要求所确定的范围为准。Although the present invention is disclosed above with the above-mentioned preferred embodiments, it is not intended to limit the present invention, and any person of ordinary skill in the professional field may make appropriate changes without departing from the concept and scope of the present invention. Therefore, the protection scope of the present invention should be determined by the claims.

Claims (9)

1, a kind of method of selecting the city to import telephone country code and area code automatically of utilizing, be screen phone, mobile phone, the PDA system that is applied to sequencing, in the communication apparatus with dial feature, this method comprises the following step at least:
Set up in the country code and area code to a database in city, various countries;
Sort at this city, and generation one question blank of being encoded;
The affiliated city of dialing/receiving calling is desired in input, and utilizes this question blank and selected this city to compare, to produce the country code and the area code in corresponding this city; And
Select the country code and also input desire of the area code dialing/receiving calling in this city to dial and connect.
2, utilization as claimed in claim 1 selects the city to import the method for telephone country code and area code automatically, it is characterized in that this communication apparatus has a screen, this screen content is to be selected from any in the combination of city name, the standard time difference, monthly mean temperature, countries and regions' code, the long-distance code in city and travel information.
3, utilization as claimed in claim 1 selects the city to import the method for telephone country code and area code automatically, it is characterized in that this city name is with Chinese-traditional, simplified form of Chinese Character and English pinyin representation.
4, utilization as claimed in claim 1 selects the city to import the method for telephone country code and area code automatically, it is characterized in that at the step that sorts in this city it being that the city name of the English that starts with English alphabet is as foundation.
5, utilization as claimed in claim 1 selects the city to import the method for telephone country code and area code automatically, it is characterized in that also comprising the step of revising this database:
In a city selective listing picture, find this city, and enter this city picture;
Switch to edit pattern;
Revise misdata; And
Store this modification data, and return this city selective listing picture.
6, utilization as claimed in claim 1 selects the city to import the method for telephone country code and area code automatically, it is characterized in that also comprising the step of newly-increased this database:
In this city selective listing picture, choose a newly-increased pattern;
Import every content of these newly-increased data; And
Store and should increase data newly, and to all city names rearrangements.
7, utilization as claimed in claim 6 selects the city to import the method for telephone country code and area code automatically, it is blank according to the column maintenance of the value that does not have it is characterized in that importing this step that increases every content of these data newly, a plurality of values are arranged in the same column, and the middle mode that separates with comma is imported this newly-increased data.
8, utilization as claimed in claim 1 selects the city to import the method for telephone country code and area code automatically, it is characterized in that this communication apparatus must satisfy local telephone network and support "+" standard.
9, utilization as claimed in claim 8 selects the city to import the method for telephone country code and area code automatically, it is characterized in that this "+" standard is that telephone network can will should "+" change into standard international long-distance identification code.
CNB001326112A 2000-11-16 2000-11-16 Method for Automatically Inputting Telephone Country Code and Area Code by Using Selected City Expired - Fee Related CN1134959C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB001326112A CN1134959C (en) 2000-11-16 2000-11-16 Method for Automatically Inputting Telephone Country Code and Area Code by Using Selected City

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB001326112A CN1134959C (en) 2000-11-16 2000-11-16 Method for Automatically Inputting Telephone Country Code and Area Code by Using Selected City

Publications (2)

Publication Number Publication Date
CN1354589A true CN1354589A (en) 2002-06-19
CN1134959C CN1134959C (en) 2004-01-14

Family

ID=4595273

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB001326112A Expired - Fee Related CN1134959C (en) 2000-11-16 2000-11-16 Method for Automatically Inputting Telephone Country Code and Area Code by Using Selected City

Country Status (1)

Country Link
CN (1) CN1134959C (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006018854A1 (en) * 2004-08-18 2006-02-23 Hari Das Gupta International calling system and method
US7677437B2 (en) 2005-03-28 2010-03-16 Mediatek Inc. Methods for determining operational settings and related devices
US8364145B2 (en) 2008-01-09 2013-01-29 Mediatek Inc. Methods and devices for dynamic menu update
CN106933461A (en) * 2017-03-09 2017-07-07 携程旅游信息技术(上海)有限公司 Phone number input method and system
CN110475202A (en) * 2019-09-09 2019-11-19 北京三快在线科技有限公司 Obtain method, apparatus, terminal and the storage medium of identity information

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006018854A1 (en) * 2004-08-18 2006-02-23 Hari Das Gupta International calling system and method
US7677437B2 (en) 2005-03-28 2010-03-16 Mediatek Inc. Methods for determining operational settings and related devices
US8364145B2 (en) 2008-01-09 2013-01-29 Mediatek Inc. Methods and devices for dynamic menu update
CN106933461A (en) * 2017-03-09 2017-07-07 携程旅游信息技术(上海)有限公司 Phone number input method and system
CN110475202A (en) * 2019-09-09 2019-11-19 北京三快在线科技有限公司 Obtain method, apparatus, terminal and the storage medium of identity information
CN110475202B (en) * 2019-09-09 2022-03-11 北京三快在线科技有限公司 Method, device, terminal and storage medium for acquiring identity information

Also Published As

Publication number Publication date
CN1134959C (en) 2004-01-14

Similar Documents

Publication Publication Date Title
US6941159B2 (en) Method for automatically converting a stored telephone number of cellular phone for dialing in a different country
EP1213898B1 (en) Method of automatically providing the country code and area code of a phone number by selecting the city
JP2005517358A6 (en) Change phone number
JP2005517358A (en) Change phone number
CN101330687B (en) Method for matching numbers according to call frequency and mobile phone
CN102056326A (en) Calling method and equipment
CN1855954A (en) Method and apparatus for searching for a directory entry in a mobile communication terminal phone book
CN1221279A (en) Radio apparatus having telephone number book of hierarchical structure
CN1354589A (en) Method for Automatically Inputting Telephone Country Code and Area Code by Using Selected City
US20090137266A1 (en) Portable telephone
CN1564569A (en) Serching method of telephone number and its serching engine
CN1976515A (en) Portable mobile termianl and intelligent dialing method thereof
CN1968465A (en) Telephone number display method and communication terminal
CN105245694B (en) Conversion method of digital coding and non-digital coding, communication system and communication method
JP2004531169A (en) How to automatically dial phone numbers
CN1355641A (en) Method for autoamtically inputting national code and regional code of telephone number by choosing city
CN1166154C (en) Abbreviated dial registration and search method in communication terminal
US20050129219A1 (en) Method and apparatus for dialing from a directory for a communication terminal
CN101212505A (en) Quick phone book searching method and device on communication terminal
CN1964390A (en) A quick search method for telephone number of communication terminal and its communication terminal
CN1744011A (en) Method for Realizing Tibetan Input, Display and Short Message Sending and Receiving on Handheld Electronic Terminal
TW478271B (en) Method for automatically inputting country code and area code with selection of city
KR100994279B1 (en) How to input number of mobile communication terminal
CN1870672A (en) True name dialing method and system of network phone
CN1287433A (en) Alpha-numeric code and its keyboard

Legal Events

Date Code Title Description
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C06 Publication
PB01 Publication
C14 Grant of patent or utility model
GR01 Patent grant
PP01 Preservation of patent right

Effective date of registration: 20040719

Pledge (preservation): Preservation

PD01 Discharge of preservation of patent

Effective date of registration: 20050817

Pledge (preservation): Preservation

C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20040114

Termination date: 20111116