CN1355641A - Method for autoamtically inputting national code and regional code of telephone number by choosing city - Google Patents

Method for autoamtically inputting national code and regional code of telephone number by choosing city Download PDF

Info

Publication number
CN1355641A
CN1355641A CN 00127627 CN00127627A CN1355641A CN 1355641 A CN1355641 A CN 1355641A CN 00127627 CN00127627 CN 00127627 CN 00127627 A CN00127627 A CN 00127627A CN 1355641 A CN1355641 A CN 1355641A
Authority
CN
China
Prior art keywords
city
code
country code
sign indicating
indicating number
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN 00127627
Other languages
Chinese (zh)
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 Group Shanghai Electronic Technology Co Ltd
Original Assignee
Inventec Group Shanghai Electronic Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Inventec Group Shanghai Electronic Technology Co Ltd filed Critical Inventec Group Shanghai Electronic Technology Co Ltd
Priority to CN 00127627 priority Critical patent/CN1355641A/en
Publication of CN1355641A publication Critical patent/CN1355641A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The present invention has provided a method of automatically inputting the state code and area code of phone number by selecting the city, which is used for the programmed screen phone, the mobile phone, the personal digit assistant system and the communication equipment with dialling function. The method incldues at least the steps as follows: setting up the state code and the area code of cities in various countries to a data bank, arranging the cities in seguence and creating the inquiry table by coding them, receiving the input of the city to which the desired dialing and calling belong and comparing the selected city with the inquiry table to obtain the corresponding state code and area code of the city, and dialing with the selected codes of state and area of the said city as well as the desired phone number and inputting the desired phone after getting through.

Description

Utilize and select the city to import phone country code and the method for distinguishing sign indicating number automatically
The present invention relates to a kind of method of selecting the city import phone country code automatically and distinguish yard of utilizing, be applied to screen phone (Screen Phone), mobile phone (Mobile Phone), the PDA system (PDA) of sequencing or have in the communication equipment of dial feature.
Because the prosperity of Global Communications System, transnational communication, commercial affairs are more and more many, the dialing method of telephone that various countries are different with various places, can cause the puzzlement in the communication to the user in country variant and area, for example a business director has three important customers to suppose that their talk-back is respectively 33933600,33933601 and 33933602, puts 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 be used, unless re-enter telephone data, this business director must find the country code and district sign indicating number (French country code " 33 ", Paris district sign indicating number " 1 " in these three cities earlier; Britain's country code " 44 ", London district sign indicating number " 20 "; Japan's country code " 81 ", Tokyo district sign indicating number " 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
When if these clients arrive 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 data to this client, obvious so very inconvenient, and this phenomenon often takes place in the use of traditional mobile phone or screen phone (ScreenPhone).
Because the frequency of the external phone of mobile telephone dial-up grows with each passing day, be to reduce trouble to various countries' dialing method of telephone different with various places, a kind of utilization selects the city to import phone country code and the method for distinguishing yard fractal key mutually automatically.
The present invention proposes a kind of method of selecting the city import phone country code automatically and distinguish yard of utilizing, and is applied to screen phone, mobile phone, the PDA system of sequencing or has in the communication equipment of dial feature.
The method that the present invention carried must be applied in to have "+" changed in the communication equipment of standard international long-distance identification code function, and this method comprises the following step at least: the country code and district's sign indicating number of at first collecting the city, various countries; Sorted in these cities again, and the generation question blank of being encoded; The country code and district's sign indicating number of desiring dialing/receiving calling imported in the city that utilizes this question blank and user to select again automatically.
Relevant detailed content of the present invention and technology are described as follows with regard to conjunction with figs. now:
Fig. 1 is the keyboard distribution map of a traditional mobile phone;
Fig. 2 is the flow chart of entire process data process of the present invention;
Fig. 3 is the flow chart of whole dialing procedure of the present invention; And
Fig. 4-Figure 14 is the schematic diagram of whole dialing procedure of the present invention.
The present invention has disclosed a kind of method of selecting the city automatically input phone country code and district's code of utilizing, and is proposing that the dial-up program of overseas call is described first before the present invention sets up a country code and the database of distinguishing yard: our [international long-distance identification code]+the other side [phone country code]+the other side's [telephone region code]+the other side's [telephone number]. Should be noted that each national country code is different with district's code, is 86-21 such as Chinese Shanghai, and Paris, FRA is 33-1, and the London is 44-20. In the present invention, telephone network support "+" is the international long-distance identification code, that is telephone network can change into "+" standard international long-distance identification code. Generally be beginning for the telephone region code of domestic direct dial and mainly with [0]. This [0] must be given up when using international direct dial.
Be example as dial long-distance call to Japanese Tokyo company from the China's Mainland, Japan's country code is " 81 ", Tokyo district code is " 3 ", the said firm's telephone number is 3393-36000, China's Mainland international long-distance identification code is [00], so long-distance call 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 can expand arbitrarily and revise with the data of district code, because consider and include not entirely or the problem of wrong login once, the invention provides user's input, revises and the function of expansion. The present invention more collect some cities relevent information (as with standard time difference of Greenwich Mean Time, local monthly mean temperature etc.), provide the user that there is further understanding in this city.
Table 3 is the initial data structure in single city, and table 4 is being 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:
National area code:
The city Long distance code:
Table 4
City name: Vienna ∥ Chinese-traditional ∥ simplified form of Chinese Character ∥ English or phonetic
The standard time difference:
Monthly mean temperature:
National area code:
The city Long distance code:
The program structure that is defined as follows at the initial data structure in single city:
typedef struct  {  char String[3][20];  float Time;  short Temperature[12];  short TelCode[2];  }WORLDCLOCK;
Consider that each country may have different translated names to same city, when the country code of various countries is encoded with district's sign indicating number, adopt the mode of pressing the English alphabet ordering.In the flow process of entire process data process, the city Long distance code in the database must be set up in first north, supposes to have 545 cities in the data, then can produce following two groups of data by handling:
(1) whole index:
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,23,485,486,10,358,384,152,97,85,156,341,179,6,131,137,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,285,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,455,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];
After the user imports an English ch, TeleCode_Char[ch-A] must to be worth be exactly index with the city name of ch beginning, and the selective listing picture can skip to the city of this beginning of letter immediately, is user-friendly for quick search.
Above-mentioned database is imported phone country code and the basis of distinguishing sign indicating number automatically with the person of being to use, the present invention that is utilization are added country code automatically and are distinguished sign indicating number select the city that needs in city of the world's selective listing is provided after, be combined into a correct dialing/receiving calling sequence, in the automatic answer system of screen phone or mobile phone etc., can stored telephone and the equipment that can dial automatically on be helpful.
Fig. 1 is the keyboard distribution map of a traditional 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 (Internatioinal Telegraph and Telephone Consulative Committee) standard.
Fig. 2 is the flow chart of entire process data process of the present invention, at first open firsthand information archives and desire output archives (step 201), judge then whether the firsthand information file point has arrived archives end (step 202), if index does not arrive the archives end as yet, then read a document and export final profile to, and preserve English name (step 203), arrive the archives end up to index, then close firsthand information archives and desire output archives, and the English of all city names is sorted (step 204), and output is with " A ", " B ", " C " ..., the index (totally 26) (step 205) of the city name of " Z " beginning, afterwards, enter next letter sequence again, export 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 is described as follows with a specific embodiment: 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 only is one of design of the present invention, non-to be used to limit opereating specification of the present invention.
Behind definite selected country or city, return the country code and district's sign indicating number (step 304) in country or city, and then import user's telephone number (step 305) and finish the dialing/receiving calling number sequence, the present invention also provides manual mode, directly imports country code and district's sign indicating number (step 306), at last, whether press and determine key (step 307),, then directly dial and connect (step 308) if determine, otherwise, finish dial action.
Now be described as follows with regard to all processes that utilizes method provided by the present invention to dial, 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 BNE (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, yet and then show "+" (as shown in Figure 6), at this moment, if do not know the country code and district's sign indicating number of BNE, 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, can also left and right sides function key, and 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 " " now ", cursor is rested on on the city name of " B " beginning (as shown in Figure 9), translate into BNE (as shown in figure 10) by directionkeys again.If the user feels interest to this city, can also check the time at that time in this city by Left soft key, when (as shown in figure 11) such as monthly mean temperature, country code and district's sign indicating numbers.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 district's sign indicating number (as shown in figure 12) of BNE, imports this telephone number " 45789612 " (as shown in figure 13) at last.
The method that the present invention carried must satisfy local telephone network support "+" standard, that is with the local international long-distance prefix code of "+" replacement, country code, district's sign indicating number and the synthetic international long-distance telephone of toll free number desiring to dial and connect are transferred in final step, transfer 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 message, as time (time difference), date, temperature on average and tour information correlated or the like.
At last, the present invention can expand and revise country code and the function of distinguishing the code data storehouse arbitrarily, if the country code in a certain city or district's sign indicating number 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) in city selective listing picture, finds this city, and enter this city picture;
(2) switch to edit pattern by function selecting key 101;
(3) revise wrong data;
(4) store data, and return city selective listing picture;
On the other hand, consider that because include infull problem, the present invention also provides the user to increase input pattern when the country code of setting up various countries and code data storehouse, district, its step is as follows:
(1) in city selective listing picture, switches to newly-increased pattern by function selecting key 101;
(2) import every content (that the field of the value that does not have keeps is blank, and a plurality of values are arranged in the same field, middle separate) with comma;
(3) store data, and to all city name rearrangements.
Though the present invention discloses as above with aforesaid preferred embodiment; right its is not in order to limiting the present invention, anyly is familiar with present technique field person, without departing from the spirit and scope of the present invention; when can doing a little change and retouching, so protection scope of the present invention limits when appended claims.

Claims (9)

1. one kind is utilized the method for selecting the city import phone country code automatically and distinguish yard, is applied to screen phone, mobile phone, the PDA system of sequencing and has in the communication equipment of dial feature, and this method comprises the following step at least:
Set up the country code in city, various countries and distinguish sign indicating number to a database;
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 city to compare, with country code and the district's sign indicating number that produces corresponding this city; And
Select country code and district's sign indicating number in this city to dial and connect with input desire dialing/receiving calling.
2. utilization as claimed in claim 1 selects the city to import phone country code and the method for distinguishing sign indicating number automatically, it is characterized in that, this communication equipment has screen, and this screen content is selected from any in the combination of city name, the standard time difference, monthly mean temperature, national area code, city Long distance code and travel information.
3. the method that utilization as claimed in claim 2 selects the city import phone country code automatically and distinguish yard is characterized in that, this city name can Chinese-traditional, simplified form of Chinese Character and English pinyin representation.
4. utilization as claimed in claim 1 selects the city import phone country code and the method for distinguishing yard automatically, it is characterized in that, the step that is sorted in this city is 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 phone country code and the method for distinguishing sign indicating number automatically, it is characterized in that, also comprises the step of revising this database:
In city selective listing picture, find this city, and enter this city picture;
Switch to edit pattern;
Revise wrong data; And
Store this modification data, and return this city and choose the table picture.
6. utilization as claimed in claim 1 selects the city to import phone country code and the method for distinguishing sign indicating number automatically, it is characterized in that, also comprises the step of newly-increased this database:
In this city selective listing picture, choose a newly-increased pattern;
Import every content of this newly-increased this data; And
Store this accession, and to all city name rearrangements.
7. utilization as claimed in claim 6 selects the city to import phone country code and the method for distinguishing sign indicating number automatically, it is characterized in that, the step of importing every content of this newly-increased this data is the maintenance blank of blocking according to the value that does not have, a plurality of values are arranged in the same hurdle value, and the middle mode that separates with comma is imported this newly-increased this data.
8. utilization as claimed in claim 1 selects the city to import phone country code and the method for distinguishing sign indicating number automatically, it is characterized in that this communication equipment must satisfy local telephone network support "+" standard.
9. utilization as claimed in claim 8 selects the city to import phone country code and the method for distinguishing sign indicating number automatically, it is characterized in that, and should "+" standard be that telephone network can "+" change into standard international long-distance identification code.
CN 00127627 2000-11-30 2000-11-30 Method for autoamtically inputting national code and regional code of telephone number by choosing city Pending CN1355641A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 00127627 CN1355641A (en) 2000-11-30 2000-11-30 Method for autoamtically inputting national code and regional code of telephone number by choosing city

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 00127627 CN1355641A (en) 2000-11-30 2000-11-30 Method for autoamtically inputting national code and regional code of telephone number by choosing city

Publications (1)

Publication Number Publication Date
CN1355641A true CN1355641A (en) 2002-06-26

Family

ID=4592640

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 00127627 Pending CN1355641A (en) 2000-11-30 2000-11-30 Method for autoamtically inputting national code and regional code of telephone number by choosing city

Country Status (1)

Country Link
CN (1) CN1355641A (en)

Similar Documents

Publication Publication Date Title
US6570975B2 (en) Automated telecommunications call processing method
US6757364B2 (en) Voice-activated telephone directory
US6941159B2 (en) Method for automatically converting a stored telephone number of cellular phone for dialing in a different country
EP1477012B1 (en) Telephone number modification
CN101330687B (en) Method for matching numbers according to call frequency and mobile phone
CN1070678C (en) Mobile radio telecommunications system
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
CN1461174A (en) Data terminal with telephone function
CN1134959C (en) Method for automatically-inputting telephone country code and area code by utilizing selection of city
CN101212505A (en) Quick phone book searching method and device on communication terminal
CN1427606A (en) Method of handset dialing automatic additional dialing IP
CN1355641A (en) Method for autoamtically inputting national code and regional code of telephone number by choosing city
CN105245694B (en) Conversion method of digital coding and non-digital coding, communication system and communication method
CN1564569A (en) Serching method of telephone number and its serching engine
US20100008491A1 (en) Intelligent dialing system and method
CN101018257A (en) Method for calling the domain name string as the telephone number at the communication terminal
CN1395789A (en) Auto name lookup
CN1109428C (en) Telephone dialling automatic switching method and its device
CN102591613A (en) Universal telephone number encoding method and telephone set adopting same
CN113824811B (en) System and method for managing address book of telephone network in large enterprise
US7889855B1 (en) Direct telephone dialing by name
US6081585A (en) Interactive control electronic directory
JP4936942B2 (en) Telephone number history determination processing system and method
CN1154618A (en) Dialing method and device of communication equipment

Legal Events

Date Code Title Description
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C06 Publication
PB01 Publication
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication