[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN1134959C - Method for automatically-inputting telephone country code and area code by utilizing selection of city - Google Patents

Method for automatically-inputting telephone country code and area code by utilizing selection of city Download PDF

Info

Publication number
CN1134959C
CN1134959C CNB001326112A CN00132611A CN1134959C CN 1134959 C CN1134959 C CN 1134959C CN B001326112 A CNB001326112 A CN B001326112A CN 00132611 A CN00132611 A CN 00132611A CN 1134959 C CN1134959 C CN 1134959C
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.)
Expired - Fee Related
Application number
CNB001326112A
Other languages
Chinese (zh)
Other versions
CN1354589A (en
Inventor
R・马拉特
陈育彬
何代水
蔡世光
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

The present invention relates to a method for automatically inputting the country code and the area code of a phone number by selecting a city, which is used for programmed screen phones, mobile phones, personal digit assistant systems and communication equipment with the dialing function. The method at least comprises the following steps: setting up the country codes and the area codes of cities in various countries to a data bank; arranging the cities in sequence and creating a query table by coding the cities; then inputting the city to which a number to be dialed belongs and comparing the selected city with the query table to obtain the corresponding country code and the area code of the city; finally, selecting the country code and the area code of the city and inputting the number to be dialed to dial the number.

Description

Utilize the method for selecting the city to import telephone country code and area code automatically
Technical field
The present invention relates to a kind of method of selecting the city to import telephone country code and area code automatically of utilizing, be screen phone (Screen Phone), mobile phone (Mobile Phone), the PDA system (PDA) that is applied to sequencing or have in the communication apparatus of dial feature.
Background technology
Because the prosperity of global communications systems, transnational communication, commercial affairs are more and more many, the dialing method of telephone that various countries are different with various places, can be to the artificial puzzlement that become communication in of country variant with the area, for example a business director has three important customers, the talk-back of supposing them is respectively 33933600,33933601 and 33933602, deposits three clients' phone (as shown in table 1) in the business card record (Address Book) of this business director's mobile phone:
Table 1
Sequence number Name Phone
1 AAA 33933600
2 BBB 33933601
3 CCC 33933602
When these three clients are in, the telephone number that this business director can access in the record of phone business card easily dials automatically, but, when if those clients go on business to Paris, FRA, London or Tokyo, telephone number data in this phone business card record just can't use, unless re-enter telephone number, this business director must find country code and area code (French country code [33], Paris area code [1] in these three cities earlier; Britain's country code [44], London area code [20]; Japanese national code [81], Tokyo area code [3]), respectively it is modified as 0033-1-33933600,0044-20-33933601 and 0081-3-33933602 (as shown in table 2) again:
Table 2
Sequence number Name Phone
1 AAA 0033-1-33933600
2 BBB 0044-20-33933601
3 CCC 0081-3-33933602
If these clients are during to Finland or Greece, this business director must follow the prescribed rules and revise the business card record or dial with manual mode.That is, if this client everywhere, desire dials just must remodify this client's telephone number to this client, obvious so very inconvenient, and this phenomenon often takes place in the use of known mobile phone or screen phone (Screen Phone).
Because the frequency of the external phone of mobile telephone dial-up grows with each passing day, for reducing the trouble to various countries' dialing method of telephone different with various places, a kind of method of selecting the city to import telephone country code and area code automatically of utilizing seems extremely important.
Summary of the invention
The object of the present invention is to provide a kind of method of selecting the city to import telephone country code and area code automatically of utilizing, be screen phone (Screen Phone), mobile phone (MobilPhone), the PDA system (PDA) that is applied to sequencing or have in the communication apparatus of dial feature.
Method provided by the present invention must be applied in to have "+" changed in the communication apparatus of standard international long-distance identification code function, and this method comprises the following step at least: country code and the area code of at first collecting the city, various countries; Sorted in these cities again, and the generation question blank of being encoded; Country code and the area code of desiring dialing/receiving calling gathered in the city that utilizes this question blank and user to select again automatically; And the country code in the city selected of this user is dialed and connected with area code and desire dialing/receiving calling.
Description of drawings
Relevant detailed content of the present invention and technology are described as follows by conjunction with figs..
Fig. 1 is the keyboard distribution map of a known mobile phone;
Fig. 2 is the flow chart of entire process data procedures of the present invention;
Fig. 3 is the flow chart of whole dialing procedure of the present invention;
Fig. 4~Figure 14 is the schematic diagram of whole dialing procedure of the present invention.
Embodiment
The present invention discloses a kind of method of selecting the city to import telephone country code and area code automatically of utilizing, before proposition the present invention sets up the database of a country code and area code, the dial-up program of overseas call once is described earlier: we [international long-distance identification code]+the other side [telephone country code]+the other side's [phone area code]+the other side's [telephone number].Being noted that country code and area code that each is national are all different, is 86-21 as Chinese Shanghai, and Paris, FRA is 33-1, and the London is 44-20.In the present invention, it is the international long-distance identification code that telephone network is supported "+", also is that telephone network can change into "+" standard international long-distance identification code.General phone area code for domestic direct dial is many usually to be beginning with [0], and this [0] must be given up when using international direct dial.
As dial the extremely Japanese Tokyo of toll telephone company from the China's Mainland is example, the Japanese national code is [81], the Tokyo area code is [3], the said firm's telephone number is [3393-3600], China's Mainland international long-distance identification code is [00], so toll telephone should be dialled into following sequence 00-81-3-33933600, as dial this number just become to the Austria Vienna 0043-1-3-33933600 or+43-1-3-33933600.
In the present invention, the country code of various countries and the data of area code can expand arbitrarily and revise, and include not entirely or the problem of wrong login once the function of the invention provides user's input, revising and expand because consider.The present invention also collect some cities relevant information (as with standard time difference of Greenwich Mean Time, local monthly mean temperature or the like), provide the user that there is further understanding in this city.
Table 3 is the primary data structure in single city, and table 4 is to be the data structure of example with Vienna:
Table 3
City name: // Chinese-traditional // simplified form of Chinese Character // English or phonetic
The standard time difference:
Monthly mean temperature:
Countries and regions' code:
The long-distance code in city:
Table 4
City name: Victoria also Satisfied // Chinese-traditional Vienna // simplified form of Chinese Character Vienna ∥ English or phonetic
The standard time difference :+1
Monthly mean temperature: 0,1,6,10,15,17,19,19,14,10,4,2
Countries and regions' code: 43
The long-distance code in city: 1
The program structure that is defined as follows at the primary data structure in single city:
typedef struct
{
char String[3][20];
float Time;
short Temperature[12];
short TelCode[2];
}WORLDCLOCK;
Considering that each country may have different translated names to same city, to the country code of various countries and area code coding the time, is the mode that adopts by the English alphabet ordering.In the flow process of entire process data procedures, at first must set up the long-distance code in city in the database, have 545 cities in the tentation data, then can produce two groups of following data by handling:
(1) whole index const S 16 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, };
(2) with " A ", " B ", " C " ... the city name index of the English of " Z " beginning of letter: 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,472,492,524, }
In the selective listing picture, the city sequence number of first demonstration is TeleCode Index[0], the city sequence number of second demonstration is TeleCode Index[1], ... i city sequence number that shows is TeleCode_Index[i-1], after the user imports an English ch, TeleCode_Index[ch-A] value be exactly index with the city name of ch beginning, the selective listing picture can skip to the city of this beginning of letter immediately, is user-friendly for quick search.
Above-mentioned database will the person of being to use be imported the basis of telephone country code and area code automatically, the present invention adds country code and area code after also promptly utilizing and select the city that needs in city of the world's selective listing being provided automatically, be combined into a correct dialing/receiving calling sequence, in the automatic answer system of screen phone (Screen Phone) or mobile phone (Mobil Phone) etc., can stored telephone and the equipment that can dial automatically on be helpful.
Fig. 1 is the keyboard distribution map of a known mobile phone, before explanation method of the present invention, the diagrammatic illustration once keyboard of prior mobile phone distributes, wherein, comprise function selecting key 101, Left soft key 102, Right soft key 103, directionkeys 104 and CCITT button 105 etc., CCITT button 105 is international telecommunication telegram Advisory Board (International Telegraph and Telephone ConsultativeCommittee) standard.
Fig. 2 is the flow chart of entire process data procedures of the present invention, at first open initial data archives and desire output archives (step 201), judge then whether the initial data file point has arrived archives end (step 202), if index does not arrive the archives end as yet, then read data and export the final data archives to, and preservation English name (step 203), arrive the archives end up to index, then close initial data archives and desire output archives, and the English of all city names is sorted (step 204), and output " A ", " B ", " C " ... the index (totally 26) (step 205) of the city name of " Z " beginning afterwards, enters next letter sequence again, output is from " A ", " B ", " C " ... the new index (step 206) of " Z " makes things convenient for user's quick search.
Fig. 3 is the flow chart of whole dialing procedure of the present invention, the present invention utilizes a specific embodiment to be described as follows: at first long by " 0 ", up to "+" (step 301) occurring, press Left soft key again, enter and select country or city module (step 302), the present invention also provides by Right soft key, enters to browse country or city content module (step 303), in this explanation left and right sides function key is one of design of the present invention only, is not to be used to limit opereating specification of the present invention.
Behind definite selected country or city, return the country code and the area code (step 304) in country or city, and then import user's telephone number (step 305), finish the dialing/receiving calling number sequence, the present invention provides manual mode simultaneously, whether directly input country code and area code (step 306) are last, by determining key (step 307), if determine, then directly dial and connect (step 308), otherwise, dial action finished.
The all processes that utilizes method provided by the present invention to dial now is described as follows, and Fig. 4~Figure 14 is the schematic diagram of whole dialing procedure of the present invention.When standby (as shown in Figure 4), if will call a friend in Brisbane (Australia) now on the phone, this telephone number is 45789612.At first long by " 0 " key, " 0 " (as shown in Figure 5) appears earlier on the screen, and then show "+" (as shown in Figure 6) then, at this moment, if do not know the country code and the area code of Brisbane, the user can eject city of the world's selective listing (as shown in Figure 7) by Left soft key.
In selecting the city picture, the user can browse one by one by directionkeys, also can left and right sides function key, page turning page by page, or can show the English alphabet of being pressed just now (as shown in Figure 8) in bottom of screen central authorities by numerical key " 2 "~" 9 ", to retrieve fast.
Double-click " 2 " now, vernier is rested on on the city name of " B " beginning (as shown in Figure 9), translate into Brisbane (as shown in figure 10) by directionkeys again.If the user is interesting to the sense of this city, can also check the local time in this city by Left soft key, when (as shown in figure 11) such as monthly mean temperature, country code and area codes.If the local time is midnight, the user then can avoid this time to make a phone call; Perhaps learn the local temperature height, with the greeting of being concerned about as consideration.
Next, after determining key, turn back to the dialing picture, at this moment, screen has added the country code and the area code (as shown in figure 12) of Brisbane, imports this telephone number " 45789612 " (as shown in figure 13) at last.
Method provided by the present invention must satisfy local telephone network and support "+" standard, also promptly replace local international long-distance prefix code with "+", the synthetic international long-distance telephone of country code, area code and the toll free number desiring to dial and connect is transferred in final step, transfers to this number (as shown in figure 14) by definite key again.
The present invention can also be at the telephone number on incoming call and the telephone directory, the database that cooperates internal memory of the present invention, automatically the location of the telephone number on identification incoming call and the telephone directory provides relevant information, as time (time difference), date, temperature on average and tour information correlated or the like.
At last, the present invention has can expand and revise country code and area code database function arbitrarily, if the country code in a certain city and area code have changed.At this moment, the user must revise the related content in this city in the former database, and its modify steps is as follows:
(1) provides a city selective listing picture according to the mat question blank, in this city selective listing picture, find this city, and enter this city picture;
(2) switch to edit pattern by function selecting key 101;
(3) gather the data of revising every wrong content;
(4) store this modification data, and return city selective listing picture.
On the other hand, consider that when the country code of setting up various countries and area code database, because include infull problem, the present invention also provides the user to increase input pattern, its step is as follows:
(1) provide a city selective listing picture according to question blank, in city selective listing picture, press function selecting key 101, program switches to newly-increased pattern;
(2) gather every content (that the column of the value that does not have keeps is blank, and a plurality of values are arranged in the same column, middle separate) with comma;
(3) store newly-increased data, and to all city name rearrangements.
Though the present invention with above-mentioned preferred embodiment openly as above; but it is not in order to limit the present invention; any the those of ordinary skill that professional domain is interior; in not breaking away from design of the present invention and scope; when can doing suitable change and retouching, so protection scope of the present invention is when being as the criterion with the determined scope of claim.

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:
At first collect in the country code and area code to a database in city, various countries;
Sorted in the city of being stored in this database again, and generation one question blank of being encoded;
After this,, compare, produce the country code and the area code of the phase Yingcheng City of this desire dialing/receiving calling with this question blank with desiring the affiliated city of dialing/receiving calling; And
The country code in the city of this desire dialing/receiving calling and area code and desire dialing/receiving calling are dialed and connected.
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:
Provide a city selective listing picture according to described question blank, from this city selective listing picture, find this city, and enter this city picture;
In this city picture, choose an edit pattern, gather
Revise the data of every wrong content; 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:
Provide a city selective listing picture according to described question blank;
In this city selective listing picture, choose a newly-increased pattern;
Gather every content-data of this newly-increased pattern; And
Store and should increase data newly, and to all city names rearrangements in the described database.
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 utilizing selection of 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 utilizing selection of 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 utilizing selection of city

Publications (2)

Publication Number Publication Date
CN1354589A CN1354589A (en) 2002-06-19
CN1134959C true 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 utilizing selection of city

Country Status (1)

Country Link
CN (1) CN1134959C (en)

Families Citing this family (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
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
CN1354589A (en) 2002-06-19

Similar Documents

Publication Publication Date Title
US6757364B2 (en) Voice-activated telephone directory
CN1083657C (en) Method and apparatus for determining the telephony features assigned to a telephone
CN1143565C (en) Method for using services offered by telecommunication network, telecommunication system and terminal for it
EP1477012B1 (en) Telephone number modification
US6941159B2 (en) Method for automatically converting a stored telephone number of cellular phone for dialing in a different country
CN101330687B (en) Method for matching numbers according to call frequency and mobile phone
CN1200862A (en) Network directory method and system for cellular radiotelephone
EP1213898B1 (en) Method of automatically providing the country code and area code of a phone number by selecting the city
CN1135811C (en) Radio apparatus having telephone number book of hierarchical structure
CN1134959C (en) Method for automatically-inputting telephone country code and area code by utilizing selection of city
CN1461174A (en) Data terminal with telephone function
CN101087480A (en) An intelligent legend dialing method of mobile terminal
CN1298152C (en) Method of handset dialing automatic additional dialing IP
CN104967750A (en) Method for screening strange calling numbers in call records and mobile terminal
CN1564569A (en) Serching method of telephone number and its serching engine
CN1355641A (en) Method for autoamtically inputting national code and regional code of telephone number by choosing city
CN1395789A (en) Auto name lookup
CN101018257A (en) Method for calling the domain name string as the telephone number at the communication terminal
CN1345153A (en) Virtual telephone code process for telephone communication
CN105245694A (en) Numeric code and non-numeric code conversion method, communication system and communication method
CN102591613A (en) Universal telephone number encoding method and telephone set adopting same
US6081585A (en) Interactive control electronic directory
CN1143509C (en) Multi number plan method in key phone system
CN1571463A (en) A dialing method for communication terminal and apparatus thereof
CN105120072A (en) Method and device for screening yellow page telephone numbers

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