CN102014187A - Method for realizing automatic addition of area code in dialing of mobile phone - Google Patents

Method for realizing automatic addition of area code in dialing of mobile phone Download PDF

Info

Publication number
CN102014187A
CN102014187A CN2010102580287A CN201010258028A CN102014187A CN 102014187 A CN102014187 A CN 102014187A CN 2010102580287 A CN2010102580287 A CN 2010102580287A CN 201010258028 A CN201010258028 A CN 201010258028A CN 102014187 A CN102014187 A CN 102014187A
Authority
CN
China
Prior art keywords
area code
dialing
mobile phone
advance
selection interface
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
CN2010102580287A
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.)
Shanghai Wingtech Electronic Technology Co Ltd
Original Assignee
Shanghai Wingtech 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 Shanghai Wingtech Electronic Technology Co Ltd filed Critical Shanghai Wingtech Electronic Technology Co Ltd
Priority to CN2010102580287A priority Critical patent/CN102014187A/en
Publication of CN102014187A publication Critical patent/CN102014187A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses a method for realizing the automatic addition of an area code in the dialing of a mobile phone, which comprises the following steps of: establishing a database in the mobile phone, and storing the telephone area codes meeting national standards; judging a to-be-dialed telephone input by a user in a software programming way; and if the to-be-dialed telephone is judged to be a fixed telephone without the area code, displaying an interface for the user to select the telephone area codes by using the mobile phone, and after the user selects the area code, automatically adding the area code in front of the to-be-dialed telephone. The method can well prevent the user from forgetting the telephone area code to cause misdialing.

Description

A kind of method of adding area code when realizing handset dialing automatically
Technical field
The present invention relates to field of mobile phones, particularly a kind of method of adding area code when realizing handset dialing automatically.
Background technology
In the daily use mobile phone of people, dial the landline telephone dial-in direct and get final product.And people want to dial the landline telephone in other places, then will know the area code of the other side region earlier, and be added on the number front when dialing.In addition, in when roaming, people's minor error of can on this, going against one's superiors accidentally.Such as, the Shanghai area code is 021, when going on business or traveled other cities, the area code of supposing this place is 0999, when we want to dial the landline telephone (being assumed to be 12345678) in Shanghai in the other places, but may dial the phone in city, place, i.e. 0999+12345678.
In view of this, pressing for provides a kind of method of adding area code when realizing handset dialing automatically, and this method can make things convenient for the client to use and avoid occurring the situation that above mistake is dialled.
Summary of the invention
The purpose of this invention is to provide a kind of method of adding area code when realizing handset dialing automatically, the automatic interpolation and the prompting function of area code when it can realize handset dialing.
A kind of method of adding area code when realizing handset dialing automatically may further comprise the steps:
1.1, in described mobile phone memory, set up a database, storage standards area code data;
1.2, when mobile phone input is dialed in advance, according to pre-defined rule this phone is judged, if judge that this phone is that landline telephone then changes next step;
1.3, export the selection interface of area code to described mobile phone display screen and show that after the user selected the area code of described database storage by described selection interface, selecteed area code was presented at described front of dialing in advance.
The step of judging according to pre-defined rule in described step 1.2 comprises:
2.1, judge whether described dialing in advance is phone number, then changes next step if not, if then finish to add the step of area code;
2.2, judge whether described the first numeral of dialing in advance is 0, if then finish to add the step of area code, then change step 1.3 if not.
Judged result in the described step 2.2 is not for the time, and the area code of one's respective area exported to changes step 1.3 after described mobile phone interface shows again.
In the described step 2.1, when find described front two numeral of dialing in advance be in 13,15,18 any the time, judge then that this is dialed in advance and be phone number.
Selection interface in the described step 1.3 shows a scheduled time at described mobile phone display screen, show the described scheduled time after, if the non-selected corresponding telephone area code of user, then no longer export described selection interface to described mobile phone display screen.
Selection interface in the described step 1.3 also comprises the IP dialing option, after the user selects this option, and the number front that is presented at by area code and dials in advance and form for this IP number.
Adopt a kind of method of adding area code when realizing handset dialing automatically of the present invention, it at first sets up a database in mobile phone, the telephone number area code of storage national standard, by the mode of software programming dialing in advance of user's input judged then, if judging it is when not adding the landline telephone of area code, mobile phone can show the selection interface for users selection of an area code, and after the user selected area code, area code can be added on the front of dialing in advance automatically.The present invention can well prevent that the user from forgetting area code and the mistake that produces is dialled situation.
Description of drawings
Fig. 1 is the flow chart of one embodiment of the invention.
Embodiment
Further specify technical scheme of the present invention below in conjunction with drawings and Examples.
A kind of method of adding area code when realizing handset dialing automatically of the present invention may further comprise the steps:
1.1, in described mobile phone memory, set up a database, storage standards area code data;
1.2, when mobile phone input is dialed in advance, according to pre-defined rule this phone is judged, if judge that this phone is that landline telephone then changes step 1.3.
As an embodiment, the step of judging according to pre-defined rule in described step 1.2 comprises:
2.1, judge whether described dialing in advance is phone number, then changes step 2.2 if not, if then finish to add the step of area code.Specifically, when find described front two numeral of dialing in advance be in 13,15,18 any the time, judge then that this is dialed in advance and be phone number.
2.2, judge whether described the first numeral of dialing in advance is 0, if then finish to add the step of area code, then change step 1.3 if not.
1.3, export the selection interface of area code to described mobile phone display screen and show that after the user selected the area code of described database storage by described selection interface, selecteed area code was presented at described front of dialing in advance.
As an embodiment, the judged result in the described step 2.2 is not for the time, and the area code of one's respective area exported to changes step 1.3 after described mobile phone interface shows again.The effect that shows the area code of one's respective area is to prompting of user, reminds dialing in advance of its input to be the phone in the one's respective area.
In addition, selection interface in the described step 1.3 shows a scheduled time (can for 5 seconds within) at described mobile phone display screen, after showing the described scheduled time, if the non-selected corresponding telephone area code of user is then no longer exported described selection interface to described mobile phone display screen.Described selection interface also comprises the IP dialing option, and after the user selected this option, the preferential of IP phone so, just enjoyed in the number front that is presented at by area code and dials in advance and form for this IP number after the user calls.
With reference to Fig. 1, Fig. 1 has shown the flow chart of one embodiment of the invention:
S1, user import in advance and dial the number;
S2, judge whether the front two number of dialing in advance is 13/15/18, then changes S3 if not.This step and a following step are that mobile phone is judged the attribute of dialing the number in advance by software programming.
Are S3, dial the number in advance first 0? then change S4 if not.
S4, mobile phone interface show the area code of dialing in advance.
Select to add automatically area code in S5,3 seconds? the user is if after selecting area code by the selection interface of handset displays 3 seconds, change S6; If do not select in 3 seconds, then described selection interface disappears.
S6, the area code that interpolation is selected before dialing in advance.If selected the IP dialing option, then also add corresponding IP number.
Those of ordinary skill in the art will be appreciated that, above embodiment is used for illustrating the present invention, and be not to be used as limitation of the invention, as long as in connotation scope of the present invention, all will drop in claims scope of the present invention variation, the modification of above embodiment.

Claims (6)

1. a method of adding area code when realizing handset dialing automatically is characterized in that, may further comprise the steps:
1.1, in described mobile phone memory, set up a database, storage standards area code data;
1.2, when mobile phone input is dialed in advance, according to pre-defined rule this phone is judged, if judge that this phone is that landline telephone then changes next step;
1.3, export the selection interface of area code to described mobile phone display screen and show that after the user selected the area code of described database storage by described selection interface, selecteed area code was presented at described front of dialing in advance.
2. the method for claim 1 is characterized in that, the step of judging according to pre-defined rule in described step 1.2 comprises:
2.1, judge whether described dialing in advance is phone number, then changes next step if not, if then finish to add the step of area code;
2.2, judge whether described the first numeral of dialing in advance is 0, if then finish to add the step of area code, then change step 1.3 if not.
3. method as claimed in claim 2 is characterized in that, the judged result in the described step 2.2 is not for the time, and the area code of one's respective area exported to changes step 1.3 after described mobile phone interface shows again.
4. method as claimed in claim 2 is characterized in that, in the described step 2.1, when find described front two numeral of dialing in advance be in 13,15,18 any the time, judge then that this is dialed in advance and be phone number.
5. as each described method of claim 1 to 4, it is characterized in that, selection interface in the described step 1.3 shows a scheduled time at described mobile phone display screen, after showing the described scheduled time, if the non-selected corresponding telephone area code of user is then no longer exported described selection interface to described mobile phone display screen.
6. method as claimed in claim 5 is characterized in that, the selection interface in the described step 1.3 also comprises the IP dialing option, after the user selects this option, and the number front that is presented at by area code and dials in advance and form for this IP number.
CN2010102580287A 2010-08-19 2010-08-19 Method for realizing automatic addition of area code in dialing of mobile phone Pending CN102014187A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010102580287A CN102014187A (en) 2010-08-19 2010-08-19 Method for realizing automatic addition of area code in dialing of mobile phone

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010102580287A CN102014187A (en) 2010-08-19 2010-08-19 Method for realizing automatic addition of area code in dialing of mobile phone

Publications (1)

Publication Number Publication Date
CN102014187A true CN102014187A (en) 2011-04-13

Family

ID=43844194

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010102580287A Pending CN102014187A (en) 2010-08-19 2010-08-19 Method for realizing automatic addition of area code in dialing of mobile phone

Country Status (1)

Country Link
CN (1) CN102014187A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102685293A (en) * 2012-05-08 2012-09-19 深圳桑菲消费通信有限公司 Method for de-electrifying and classifying mobile terminal
CN105812559A (en) * 2016-03-08 2016-07-27 北京小米移动软件有限公司 Dialing control method and device of mobile terminal
WO2017201803A1 (en) * 2016-05-27 2017-11-30 宇龙计算机通信科技(深圳)有限公司 Phone dialing method, phone dialing device, and terminal
CN111405126A (en) * 2020-03-20 2020-07-10 上海中通吉网络技术有限公司 Method, system, device, equipment and storage medium for dialing in dispatching link

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5119417A (en) * 1988-07-20 1992-06-02 Casio Computer Co., Ltd. Auto-dialing apparatus
CN1688149A (en) * 2005-04-29 2005-10-26 上海贝豪通讯电子有限公司 Mobile apparatus and method capable of implementing automatic calling IP phone
CN1885998A (en) * 2006-07-06 2006-12-27 华为技术有限公司 Mobile terminal and its method for initiating call to ascription area fixed network telephone
CN1929509A (en) * 2005-09-07 2007-03-14 英华达(上海)电子有限公司 Convenient method for realizing mobile phone dialing long-distance stationary telephone

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5119417A (en) * 1988-07-20 1992-06-02 Casio Computer Co., Ltd. Auto-dialing apparatus
CN1688149A (en) * 2005-04-29 2005-10-26 上海贝豪通讯电子有限公司 Mobile apparatus and method capable of implementing automatic calling IP phone
CN1929509A (en) * 2005-09-07 2007-03-14 英华达(上海)电子有限公司 Convenient method for realizing mobile phone dialing long-distance stationary telephone
CN1885998A (en) * 2006-07-06 2006-12-27 华为技术有限公司 Mobile terminal and its method for initiating call to ascription area fixed network telephone

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102685293A (en) * 2012-05-08 2012-09-19 深圳桑菲消费通信有限公司 Method for de-electrifying and classifying mobile terminal
CN105812559A (en) * 2016-03-08 2016-07-27 北京小米移动软件有限公司 Dialing control method and device of mobile terminal
WO2017201803A1 (en) * 2016-05-27 2017-11-30 宇龙计算机通信科技(深圳)有限公司 Phone dialing method, phone dialing device, and terminal
CN111405126A (en) * 2020-03-20 2020-07-10 上海中通吉网络技术有限公司 Method, system, device, equipment and storage medium for dialing in dispatching link

Similar Documents

Publication Publication Date Title
US9439063B2 (en) Intelligent communication line selection supporting rich context of input factors
CN103118206A (en) System and method for displaying menus based on network generated interactive voice response information
US8116745B2 (en) Method for displaying caller information of portable device
JP2005517358A5 (en)
US20090327958A1 (en) Electronic device having multiple operation modes and a method of providing the multiple operation modes
WO2009014171A1 (en) Mobile terminal and program
CN102387237A (en) Mobile phone communication SIM card selection system and method thereof
US20090298463A1 (en) System and method for searching for most economical call mode
CN100544379C (en) A kind of incoming phone number storing method of mobile communication terminal
KR101415759B1 (en) Method for displaying world time and mobile communication terminal for the same
CN102014187A (en) Method for realizing automatic addition of area code in dialing of mobile phone
CN102438224A (en) Method and terminal for responding to call
CN202103733U (en) Handset with an automatic telephone book ordering function
CN103581437A (en) Method for rapidly making call through unlocking interface
CN103281426A (en) Method for automatically selecting and dialing contact number
GB201112320D0 (en) Method for providing personalized internet telephone service and terminal using the same
CN103167177A (en) Method and system for displaying urban landscape pictures on call interface
CN102710853B (en) Method for displaying call numbers and mobile terminal
CN104079697A (en) Contact avatar setting method and mobile terminal
CN101924824A (en) Mobile terminal as well as short message background display method and device thereof
CN104168395A (en) Conversation data processing method and device
JP4747005B2 (en) Portable terminal device, transmission method, and program
CN102340586A (en) Method for setting display time for CDMA (Code Division Multiple Access) mobile phone
KR100828323B1 (en) Message index display method for mobile communication device
CN104158961A (en) Method and device for controlling cooperative work of mobile phone and fixed-line telephone

Legal Events

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

Application publication date: 20110413