CN101299846A - Automatic IP dialing method - Google Patents

Automatic IP dialing method Download PDF

Info

Publication number
CN101299846A
CN101299846A CNA2008100389315A CN200810038931A CN101299846A CN 101299846 A CN101299846 A CN 101299846A CN A2008100389315 A CNA2008100389315 A CN A2008100389315A CN 200810038931 A CN200810038931 A CN 200810038931A CN 101299846 A CN101299846 A CN 101299846A
Authority
CN
China
Prior art keywords
mobile phone
area code
module
called
called 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
CNA2008100389315A
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.)
Wentai Communication Science and Technology Co Ltd Jiaxing City
Original Assignee
Wentai Communication Science and Technology Co Ltd Jiaxing City
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 Wentai Communication Science and Technology Co Ltd Jiaxing City filed Critical Wentai Communication Science and Technology Co Ltd Jiaxing City
Priority to CNA2008100389315A priority Critical patent/CN101299846A/en
Publication of CN101299846A publication Critical patent/CN101299846A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Telephonic Communication Services (AREA)

Abstract

The invention discloses an automatic IP dialing method suitable for the mobile phone, including the step: 1. building a corresponding table of the area belonging to the phone and the area code in the presupposed module stored in the mobile phone; 2. setting the home area code and the IP number of the current mobile phone card, stored in the file system of the storage of the mobile phone; 3. calling the called number by the mobile phone, if the called number is a mobile phone, switching to the step 4, if the called number is a fixed phone or a phs, switching to the step 5; 4. the operation of the caller number as the mobile phone; 5. the operation of the called number as the fixed phone or the phs; 6. completing the calling. The invention can automatically distinguish whether the called number is the mobile phone at the foreign place, and automatically dial the IP number, which is of great convenience for the user to use and saves the long-distance calling fee for the user.

Description

A kind of method of automatic IP dialing
Technical field
The present invention relates to the method for Internet protocol (Internet Protocol is hereinafter to be referred as IP) technology, particularly a kind of automatic IP dialing.
Background technology
The operation commercial city provides long-distance IP phone service at present, adds before the called phone number and dials corresponding IP number, can realize that IP calls out.Can save user's toll message expense by the IP dialing.The user generally has two kinds of methods to realize the IP dialing at present:
The one, manually add and dial, input IP number+called number.
Another is to pre-set the IP number, and IP is provided the option of dialing, after the user selects the IP dial feature, transfers to before the IP number is added in called number.
But two kinds of methods of present this all have its inconvenience.The most inconvenient place is exactly when using the mobile phone dialing mobile phone, at first requires the user to judge that artificially whether the other side's number is to choose above two kinds of methods behind the nonlocal phone number again, brings very big inconvenience to use.
Summary of the invention
For overcoming the deficiency of above-mentioned prior art, the technical problem to be solved in the present invention provides a kind of method of automatic IP dialing, thereby can judge automatically whether called number is toll telephone, thereby realizes automatic IP dialing.
For solving the problems of the technologies described above, technical scheme of the present invention is:
A kind of method of automatic IP dialing, this method is applicable to mobile phone, this method adopts the following step: step (1) be arranged in mobile phone storage device pre-set the correspondence table that module is set up area and its area code under the mobile phone;
Step (2) is provided with the local area code and the IP number of current phone card, and is stored in the file system in the storage device of mobile phone;
Step (3) handset call called number if called number is a mobile phone, changes step 4, if called number is landline telephone or Personal Handyphone System, changes step 5;
Step (4) is that the operation of mobile phone may further comprise the steps again to called number:
(4.1) calling module of storage device that is arranged in mobile phone is according to the called number signal of cell phone keyboard input, in described correspondence table, inquires about the area code in area under this called number, changes step 4.2; Find the area code in the affiliated area of this called number if fail, change step 4.5;
(4.2) be arranged in the judge module relatively area code in area and the local area code that pre-sets under this called number of the storage device of mobile phone,, change step 4.3 if two area codes are inequality; If two area codes are identical, change step 4.4;
(4.3) described called number is judged to be nonlocal phone number by described judge module, and described calling module is added in called mobile phone number front with the IP number that sets in advance and carries out the caller dialing; Change step 6;
(4.4) described calling module is directly called this called mobile phone number, changes step 6;
(4.5) described calling module is directly called this called mobile phone number, changes step 6; Step (5) is that the operation of landline telephone or Personal Handyphone System may further comprise the steps again to called number:
(5.1) described calling module is searched for area code in the former bit digital of the number of being dialled, if find to have area code to exist, changes step 5.2; If do not find area code, change step 5.5;
(5.2) described judge module compares the area code and the default local area code of called number, if different, commentaries on classics step 5.3; If identical, change step 5.4;
(5.3) described judge module is judged to be nonlocal long-distance call to called number, and described calling module is added in the called number front with the IP number that sets in advance and carries out the caller dialing; Change step 6;
(5.4) described judge module is judged to be local call to called number, and described calling module is directly called this called number, changes step 6;
(5.5) described judge module is judged to be local call to called number, and described calling module is directly called this called number, changes step 6;
Step (6) end of calling.
Described correspondence table is stored in described pre-seting in the module with variable format, or is stored in the form of file in the file system in the storage device of mobile phone.
Area code by area under the keyboard input current phone card in the step 2, i.e. local area code.
The another kind of method that module is provided with local area code that pre-sets described in the step 2 is: the mobile phone card number sign indicating number that the keyboard input is current, and the described module that pre-sets is searched the area code that obtains area under this mobile phone card by described correspondence table; If can not successful inquiring, the then described module that pre-sets be reminded the directly area code by area under the keyboard input current phone card of user again.
Pre-set module when local area code is set described in the step 2, this pre-sets module and notes IMSI number of this mobile phone card simultaneously, and is stored in the file system in the storage device of mobile phone.
After changing the mobile phone card, whether there is the IMSI record of this mobile phone card in the described file system that pre-sets in the described storage device of block search, if record is arranged, the IMSI record before then using; If find unwritten IMSI number, then this pre-sets module prompting user local area code and the IP number by keyboard input current I MSI correspondence again, and with old IMSI number the preservation that is provided with.
The storage device of described mobile phone is Flash.
A kind of method of automatic IP dialing, this method is applicable to Personal Handyphone System, this method adopts the following step:
The described module that pre-sets of step (1) is provided with local area code and IP number, and is stored in the file system in the storage device of Personal Handyphone System;
Step (2) is arranged in the judge module of the storage device of Personal Handyphone System and judges whether the front end of dialling the number has area code, if having, changes step 3; If do not have, change step 4;
The described judge module of step (3) judges whether this area code of the callee is local area code, if change step 3.1; If not, change step 3.2;
(3.1) calling module that is arranged in the storage device of Personal Handyphone System is directly called the called number that this keyboard is imported, and changes step 5;
(3.2) described calling module is added in the called number front with the IP number that sets in advance and carries out caller dialing; Change step 5;
The described calling module of step (4) is directly called this called number, changes step 5;
Step (5) end of calling.
Described storage device is Flash.
Compared with prior art, the invention has the beneficial effects as follows:
The inventive method can judge automatically whether called phone is toll telephone, and judges whether to add group IP number automatically.The user only need be provided with local area code and IP number, and when opening the dialing of this function in mobile phone setting menu, the automatic resolving called number of phone meeting is toll telephone if judge, and then adds group IP number automatically, thereby has saved user people for judging.
Particularly calling terminal is a mobile phone, when called end also is mobile phone, can distinguish automatically whether called number is nonlocal mobile phone, adds automatically to dial the IP number.Thereby greatly facilitate user's use, and save long-distance telephone expenses for the user.
Description of drawings
Fig. 1 is the flow chart of the inventive method.
Fig. 2 is the structural representation of apparatus of the present invention.
Embodiment
Specific embodiments of the present invention are further described in detail below in conjunction with drawings and Examples, but should not limit protection scope of the present invention with this.
The invention provides a kind of method of automatic IP dialing, the portable terminal of implementing this method as shown in Figure 2:
This portable terminal can be mobile phone end or Personal Handyphone System, comprises pre-seting module 2, calling module 3 and judge module 4, wherein:
Pre-set module 2: be used to set up the correspondence table of the affiliated area of a mobile phone and its area code, the local area code and the IP number of current phone card is set.
Calling module 3: link to each other with the above-mentioned module 2 that pre-sets, be used for area code regional under the described correspondence table that pre-sets module 2 foundation is inquired about called number, call out this called number.
Judge module 4: link to each other with above-mentioned calling module 3, be used for the area code that pre-sets area under the called number that module 2 inquires according to above-mentioned, judge whether called number is nonlocal number.
Above-mentioned module 2, calling module 3 and the judge module 4 of pre-seting all is stored in the storage device of portable terminal, and this storage device can be Flash.This pre-set module 2, calling module 3 and judge module 4 should be understood to realize automatic IP dialing of the present invention each step of method the functional module that must set up.
Because mobile phone end and Personal Handyphone System are distinguished to some extent, so the specific implementation method of automatic IP dialing of the present invention illustrates respectively.
(1) realization of mobile phone end: the flow chart that sees also Fig. 1 the inventive method.
The method of automatic IP dialing of the present invention, adopt the following step:
Step (1): be arranged in mobile phone storage device pre-set the correspondence table that module is set up area and its area code under the mobile phone.This correspondence table variable format is stored in and pre-sets in the module, or is stored in the form of file in the file system in the storage device of mobile phone so that upgrade in the future.Can obtain the area code in area under this mobile phone by phone number by this table.
The storage device of described mobile phone is Flash.
Step (2) is provided with the local area code and the IP number of current phone card, and is stored in the file system in the storage device of mobile phone.
It is that two kinds of methods are arranged that local area code is set:
First kind: the area code in area under the current phone card, i.e. local area code are set by keyboard input.
Second kind: the mobile phone card number sign indicating number that keyboard input is current, the described module that pre-sets is searched the area code that obtains area under this mobile phone card by described correspondence table; If can not successful inquiring, the then described module that pre-sets reminds the user that the area code in area under the input current phone card directly is set by keyboard again.
Pre-set module when local area code is set, this pre-sets module and notes global mobile subscriber's mark code of this mobile phone card (International Mobile Subscriber IdentificationNumber simultaneously, be called for short IMSI), and be stored in the file system in the storage device of mobile phone.
After changing the mobile phone card, whether there be IMSI number of this mobile phone card in the described file system that pre-sets in the block search storage device, if record is arranged then IMSI record before using; If find unwritten IMSI number, then this pre-sets module prompting user local area code and the IP number by keyboard input current I MSI correspondence again, and with old IMSI number the preservation that is provided with.Promptly dispose number binding with IMSI.
Step (3) handset call called number if called number is a mobile phone, changes step 4, if called number is landline telephone or Personal Handyphone System, changes step 5;
Step (4) is that the operation of mobile phone may further comprise the steps again to called number:
(4.1) calling module of storage device that is arranged in mobile phone is according to the called number signal of cell phone keyboard input, in described correspondence table, inquires about the area code in area under this called number, changes step 4.2; Find the area code in the affiliated area of this called number if fail, change step 4.5;
(4.2) be arranged in the judge module relatively area code in area and the local area code that pre-sets under this called number of the storage device of mobile phone,, change step 4.3 if two area codes are inequality; If two area codes are identical, change step 4.4;
(4.3) described called number is judged to be nonlocal phone number by described judge module, and described calling module is added in called mobile phone number front with the IP number that sets in advance and carries out the caller dialing; Change step 6;
(4.4) described calling module is directly called this called mobile phone number, changes step 6;
(4.5) described calling module is directly called this called mobile phone number, and points out not IP dialing; Change step 6;
Step (5) is that the operation of landline telephone or Personal Handyphone System may further comprise the steps again to called number:
(5.1) described calling module is searched for area code in the former bit digital of the number of being dialled, if find to have area code to exist, changes step 5.2; If do not find area code, change step 5.5;
(5.2) described judge module compares the area code and the default local area code of called number, if different, commentaries on classics step 5.3; If identical, change step 5.4;
(5.3) described judge module is judged to be nonlocal long-distance call to called number, and described calling module is added in the called number front with the IP number that sets in advance and carries out the caller dialing; Change step 6;
(5.4) described judge module is judged to be local call to called number, and described calling module is directly called this called number, changes step 6;
(5.5) described judge module is judged to be local call to called number, and described calling module is directly called this called number, changes step 6;
Step (6) end of calling.
(2) in the realization of Personal Handyphone System:
The automatic IP dialing method that Personal Handyphone System is suitable for adopts the following step:
The described module that pre-sets of step (1) is provided with local area code and IP number, and is stored in the file system in the storage device of Personal Handyphone System; Described storage device is Flash.
Step (2) is arranged in the judge module of the storage device of Personal Handyphone System and judges whether the front end of dialling the number has area code, if having, changes step 3; If do not have, change step 4;
The described judge module of step (3) judges whether this area code of the callee is local area code, if change step 3.1; If not, change step 3.2;
(3.1) calling module that is arranged in the storage device of Personal Handyphone System is directly called the called number that this keyboard is imported, and changes step 5;
(3.2) described calling module is added in the called number front with the IP number that sets in advance and carries out caller dialing; Change step 5;
The described calling module of step (4) is directly called this called number, changes step 5;
Step (5) end of calling.
The inventive method can judge automatically whether called number is toll telephone, thereby realizes automatic IP dialing, and the user need not manually to import the IP number or selects the IP dial feature to dial.
The above is preferred embodiment of the present invention only, is not to be used for limiting practical range of the present invention.Be that all equivalences of doing according to the content of the present patent application claim change and modification, all should be technology category of the present invention.

Claims (9)

1, a kind of method of automatic IP dialing, this method is applicable to mobile phone, it is characterized in that this method adopts the following step:
Step (1) be arranged in mobile phone storage device pre-set the correspondence table that module is set up area and its area code under the mobile phone;
Step (2) is provided with the local area code and the IP number of current phone card, and is stored in the file system in the storage device of mobile phone;
Step (3) handset call called number if called number is a mobile phone, changes step 4, if called number is landline telephone or Personal Handyphone System, changes step 5;
Step (4) is that the operation of mobile phone may further comprise the steps again to called number:
(4.1) calling module of storage device that is arranged in mobile phone is according to the called number signal of cell phone keyboard input, in described correspondence table, inquires about the area code in area under this called number, changes step 4.2; Find the area code in the affiliated area of this called number if fail, change step 4.5;
(4.2) be arranged in the judge module relatively area code in area and the local area code that pre-sets under this called number of the storage device of mobile phone,, change step 4.3 if two area codes are inequality; If two area codes are identical, change step 4.4;
(4.3) described called number is judged to be nonlocal phone number by described judge module, and described calling module is added in called mobile phone number front with the IP number that sets in advance and carries out the caller dialing; Change step 6;
(4.4) described calling module is directly called this called mobile phone number, changes step 6;
(4.5) described calling module is directly called this called mobile phone number, changes step 6; Step (5) is that the operation of landline telephone or Personal Handyphone System may further comprise the steps again to called number:
(5.1) described calling module is searched for area code in the former bit digital of the number of being dialled, if find to have area code to exist, changes step 5.2; If do not find area code, change step 5.5;
(5.2) described judge module compares the area code and the default local area code of called number, if different, commentaries on classics step 5.3; If identical, change step 5.4;
(5.3) described judge module is judged to be nonlocal long-distance call to called number, and described calling module is added in the called number front with the IP number that sets in advance and carries out the caller dialing, changes step 6;
(5.4) described judge module is judged to be local call to called number, and described calling module is directly called this called number, changes step 6;
(5.5) described judge module is judged to be local call to called number, and described calling module is directly called this called number, changes step 6;
Step (6) end of calling.
2, the method for automatic IP dialing according to claim 1 is characterized in that described correspondence table is stored in described pre-seting in the module with variable format, or is stored in the form of file in the file system in the storage device of mobile phone.
3, the method for automatic IP dialing according to claim 1 is characterized in that in the step 2 by regional area code, i.e. local area code under the keyboard input current phone card.
4, the method for automatic IP dialing according to claim 1, it is characterized in that the another kind of method that module is provided with local area code that pre-sets described in the step 2 is: the mobile phone card number sign indicating number that the keyboard input is current, the described module that pre-sets is searched the area code that obtains area under this mobile phone card by described correspondence table; If can not successful inquiring, the then described module that pre-sets be reminded the directly area code by area under the keyboard input current phone card of user again.
5, according to the method for claim 1 or 3 or 4 described automatic IP dialings, it is characterized in that pre-seting module when local area code is set described in the step 2, this pre-sets module and notes IMSI number of this mobile phone card simultaneously, and is stored in the file system in the storage device of mobile phone.
6, the method for automatic IP dialing according to claim 1, after it is characterized in that changing the mobile phone card, whether there is the IMSI record of this mobile phone card in the described file system that pre-sets in the described storage device of block search, if record is arranged, the IMSI record before then using; If find unwritten IMSI number, then this pre-sets module prompting user local area code and the IP number by keyboard input current I MSI correspondence again, and with old IMSI number the preservation that is provided with.
7, the method for automatic IP dialing according to claim 1 and 2, the storage device that it is characterized in that described mobile phone is Flash.
8, a kind of method of automatic IP dialing, this method is applicable to Personal Handyphone System, it is characterized in that this method adopts the following step:
The described module that pre-sets of step (1) is provided with local area code and IP number, and is stored in the file system in the storage device of Personal Handyphone System;
Step (2) is arranged in the judge module of the storage device of Personal Handyphone System and judges whether the front end of dialling the number has area code, if having, changes step 3; If do not have, change step 4;
The described judge module of step (3) judges whether this area code of the callee is local area code, if change step 3.1; If not, change step 3.2;
(3.1) calling module that is arranged in the storage device of Personal Handyphone System is directly called the called number that this keyboard is imported, and changes step 5;
(3.2) described calling module is added in the called number front with the IP number that sets in advance and carries out caller dialing; Change step 5;
The described calling module of step (4) is directly called this called number, changes step 5;
Step (5) end of calling.
9, the method for automatic IP dialing according to claim 8 is characterized in that described storage device is Flash.
CNA2008100389315A 2008-06-13 2008-06-13 Automatic IP dialing method Pending CN101299846A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2008100389315A CN101299846A (en) 2008-06-13 2008-06-13 Automatic IP dialing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2008100389315A CN101299846A (en) 2008-06-13 2008-06-13 Automatic IP dialing method

Publications (1)

Publication Number Publication Date
CN101299846A true CN101299846A (en) 2008-11-05

Family

ID=40079504

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2008100389315A Pending CN101299846A (en) 2008-06-13 2008-06-13 Automatic IP dialing method

Country Status (1)

Country Link
CN (1) CN101299846A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101340482A (en) * 2008-08-29 2009-01-07 飞图科技(北京)有限公司 Method for recalling China applied in mobile phone
CN101827144A (en) * 2010-05-08 2010-09-08 蒋菊生 Telephone with automatic re-dialing function
CN102316230A (en) * 2011-09-26 2012-01-11 广东欧珀移动通信有限公司 Method for realizing mobile phone intelligent IP (internet protocol) dialing
CN101651923B (en) * 2009-08-26 2012-11-14 广州市动景计算机科技有限公司 IP telephone dialing system for mobile communication equipment terminals and application method thereof
CN103944866A (en) * 2013-01-23 2014-07-23 腾讯科技(深圳)有限公司 IP voice dialing method, device and communication terminal
CN104009988A (en) * 2014-05-22 2014-08-27 中国电子科技集团公司第三十研究所 Call control method based on VoIP service system
CN101953185B (en) * 2009-04-08 2015-05-06 华为技术有限公司 Method, network equipment and system for transmitting cell information
CN105872176A (en) * 2016-05-27 2016-08-17 宇龙计算机通信科技(深圳)有限公司 Method and device for making call as well as terminal

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101340482A (en) * 2008-08-29 2009-01-07 飞图科技(北京)有限公司 Method for recalling China applied in mobile phone
CN101953185B (en) * 2009-04-08 2015-05-06 华为技术有限公司 Method, network equipment and system for transmitting cell information
CN101651923B (en) * 2009-08-26 2012-11-14 广州市动景计算机科技有限公司 IP telephone dialing system for mobile communication equipment terminals and application method thereof
CN101827144A (en) * 2010-05-08 2010-09-08 蒋菊生 Telephone with automatic re-dialing function
CN102316230A (en) * 2011-09-26 2012-01-11 广东欧珀移动通信有限公司 Method for realizing mobile phone intelligent IP (internet protocol) dialing
CN103944866A (en) * 2013-01-23 2014-07-23 腾讯科技(深圳)有限公司 IP voice dialing method, device and communication terminal
CN104009988A (en) * 2014-05-22 2014-08-27 中国电子科技集团公司第三十研究所 Call control method based on VoIP service system
CN104009988B (en) * 2014-05-22 2017-02-15 中国电子科技集团公司第三十研究所 Call control method based on VoIP service system
CN105872176A (en) * 2016-05-27 2016-08-17 宇龙计算机通信科技(深圳)有限公司 Method and device for making call as well as terminal

Similar Documents

Publication Publication Date Title
CN101299846A (en) Automatic IP dialing method
CN1186951C (en) Call re-establishment for dual mode telephone
CN101640727A (en) Method and terminal for intelligent dialing
CN101557624B (en) Dual-mode cell phone and call method thereof
US20050170854A1 (en) Network support for multi-line mobile device
CN101420663A (en) Communication method, terminal and system for preknowing topic of call
CN102014358B (en) Telephone agent device based on voice over internet protocol (VoIP) technology and call making and answering method by telephone agent device
GB2377856A (en) International calling method for mobile phone
CN1688149A (en) Mobile apparatus and method capable of implementing automatic calling IP phone
JP2008523770A (en) Method and apparatus for supporting enhanced international dialing in cellular systems
JP2002345046A (en) Method and device for switching a plurality of sim cards for portable telephone
CN101431739A (en) Method and apparatus for speed dialing in mobile communication system
CN1112069C (en) Handset and method of operation thereof
CN101742640A (en) Method for providing positional information of two mobile communication parts
CN101594585A (en) Seek the system and method for cheapest talking mode
CN101136962B (en) Telephone switching system and switching method thereof
CN101977425A (en) Single SIM multiple number terminal, method for selecting calling number and standby major number and device therefor
CN102780801A (en) Intelligent dialing method and device for supporting various calling modes
EP1613120B1 (en) Network support for number dialed identification with multi-line mobiles
CN101409948A (en) Call switching method and system, call method and multi-mode terminal
CN101150869B (en) A method and device for realizing intelligent communication of mobile terminal
CN101720534A (en) Method for providing roaming service of international call and mobile terminal for the same
CN102014186A (en) Method for automatically adding IP (Internet Protocol) number when mobile phone dials
CN102769688A (en) Display method for telephone numbers and mobile terminal
CN202841283U (en) Fixed-line telephone and communication system between mobile terminal 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

Open date: 20081105