CN102916980A - Method for automatically adding off-net prefixes - Google Patents
Method for automatically adding off-net prefixes Download PDFInfo
- Publication number
- CN102916980A CN102916980A CN2012104699139A CN201210469913A CN102916980A CN 102916980 A CN102916980 A CN 102916980A CN 2012104699139 A CN2012104699139 A CN 2012104699139A CN 201210469913 A CN201210469913 A CN 201210469913A CN 102916980 A CN102916980 A CN 102916980A
- Authority
- CN
- China
- Prior art keywords
- prefix
- client
- net
- described client
- segment table
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 21
- 238000004891 communication Methods 0.000 claims description 9
- 238000005516 engineering process Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000008676 import Effects 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
Images
Landscapes
- Telephonic Communication Services (AREA)
Abstract
The invention provides a method for automatically adding off-net prefixes. The method comprises the following steps that: a client acquires an address book of a user, and the user dials the numbers in the address book via the client; the client judges whether the numbers dialled by the user are in-net numbers, if not, the client determines the prefixes corresponding to the numbers according to a number segment table stored in the client; and the client adds the corresponding prefixes in front of the numbers and calls the numbers with the prefixes.
Description
Technical field
The invention belongs to communication technical field, relate in particular to a kind of automatic method that the net prefix of adding.
Background technology
Growing along with informationized society, people's communication modes is also more and more diversified.In some enterprises or group, convenient for internal connection, often open cornet in the intelligent fixed-line phone network.In routine use, when the phone dialed beyond the Intranet, need to before original number, add the fixed prefix of reversal means.Yet this mode that manually again Enters Number greatly reduces the convenience that intelligent fixed line uses.At present, have the technology that frequent contact in the mobile phone and intelligent fixed line is synchronous, when dial net in during number, can save the manual trouble that Enters Number, but when dialing the outer net number with intelligent fixed line, still need manually add prefix, bring inconvenience to the user.
Summary of the invention
The invention provides a kind of automatic add the net prefix method to address the above problem.
The invention provides a kind of automatic method that the net prefix of adding, may further comprise the steps.Client is obtained the user communication record, and described user dials number in the described address list by described client.Described client judges whether the number that described user dials is number in the net, and if not, described client is determined the corresponding prefix of described number according to the number segment table of self storing.Described client is added into described number front with described corresponding prefix, and calls out the number of described interpolation prefix.
Compared to prior art, according to the automatic method that the net prefix of adding provided by the invention, client is obtained the user communication record, and described user dials number in the described address list by described client.Reduced and manually searched the step that number is inputted again.Client judges whether the number that described user dials is number in the net, and if not, described client is determined the corresponding prefix of described number according to the number segment table of self storing.Described client is added into described number front with described corresponding prefix, and calls out the number of described interpolation prefix.So, need not to have increased the convenience of dialing the outer net phone by artificial interpolation prefix dialing numbers.
Description of drawings
Accompanying drawing described herein is used to provide a further understanding of the present invention, consists of the application's a part, and illustrative examples of the present invention and explanation thereof are used for explaining the present invention, do not consist of improper restriction of the present invention.In the accompanying drawings:
Figure 1 shows that the automatic flow chart that adds the method that the net prefix that preferred embodiment according to the present invention provides.
Embodiment
Hereinafter also describe in conjunction with the embodiments the present invention in detail with reference to accompanying drawing.Need to prove, in the situation that do not conflict, embodiment and the feature among the embodiment among the application can make up mutually.
Figure 1 shows that the automatic flow chart that adds the method that the net prefix that preferred embodiment according to the present invention provides.As shown in Figure 1, the automatic method that the net prefix of adding that provides of preferred embodiment of the present invention comprises step 101~103.
Step 101: client is obtained the user communication record, and described user dials number in the described address list by described client.
Particularly, the described client mode of obtaining user communication record can be obtained for timing acquisition or not timing.In this, described client is intelligent fixed line.The user can import to intelligent fixed line with address list by mobile phone, also the address list of having edited directly can be imported to described intelligent fixed line, yet to this present invention and be not construed as limiting.
Step 102: described client judges whether the number that described user dials is number in the net, and if not, described client is determined the corresponding prefix of described number according to the number segment table of self storing.
Particularly, number in all nets of local area network (LAN) under the described intelligent fixed line storage, in the user dials address list during number, whether described intelligent fixed line is searched the number that described user dials and is existed in the number in the net that has stored this locality.If described intelligent fixed line is searched number that described user dials in this locality storage, then intelligent fixed line judges that described number is number in the net, and described intelligent fixed line is directly called described number.
If it is not number in the net that intelligent fixed line is judged described number, then according to the number segment table of self storing, determine the corresponding prefix of described number.Described intelligent fixed line determines that according to described number segment table the process of the corresponding prefix of described number is: described intelligent fixed line is determined the ownership place of described number according to described number segment table, and determines the corresponding prefix of described number according to described ownership place.In this, described number segment table comprises number classification, number segment or area code and number attribution.
Described number segment table form example is as shown in table 1.
Table 1
In the present embodiment, the number classification in the table 1 can comprise phone number, fixed line number and special number, and wherein, described special number is defaulted as local number.In other embodiment, can add according to actual needs number classification and corresponding number segment or area code, yet to this present invention and be not construed as limiting.
The intelligence fixed line is determined the number classification according to described number first, and behind the ownership place of definite number, determines described prefix according to described ownership place.Described prefix comprises dissimilar, is local prefix, national distance prefix and international long-distance prefix.In the present embodiment, local prefix is 0, and the national distance prefix is 9, and the international long-distance prefix is 00.In other embodiment, can redefine as required described prefix, yet the present invention is to this and be not construed as limiting.
Step 103: described client is added into described number front with described corresponding prefix, and calls out the number of described interpolation prefix.
Particularly, described client, after namely intelligent fixed line obtains prefix corresponding to described number, described prefix is added into number before, directly call the number of described interpolation prefix.
For example, if the user dials the directory number 4008823823 that has imported in the intelligent fixed line in a certain moment, the intelligence fixed line does not find this number after receiving this dialing request in the number in the net that has stored this locality, then judge number in the number 4008823823 non-nets.The intelligence fixed line finds the corresponding classification of described number in the number segment table of self storing be special number, and determine that in described special number classification number section of described number is 400.The intelligence fixed line obtains the ownership place of described No. 400 sections for local according to number segment table.It is 0 that the intelligence fixed line obtains corresponding prefix, then at number 4008823823 front interpolation 9 and automatic call numbers 04008823823.
On the other hand, if the directory number 6036 that the user has imported in another dials intelligent fixed line constantly, intelligent fixed line finds number 6036 in the number after receiving this dialing request in the net of this locality storage, judges that then this number is number in the net.Described intelligent fixed line is directly called number in the described net.
In sum, the automatic method that the net prefix of adding that preferred embodiment provides according to the present invention, client are obtained the user communication record, and described user dials number in the described address list by described intelligent fixed line.Reduced and manually searched the step that number is inputted again.Described client judges whether the number that described user dials is number in the net, and if not, described client is determined the corresponding prefix of described number according to the number segment table of self storing.Described client is added into described number front with described corresponding prefix, and calls out the number of described interpolation prefix.So, need not to have increased intelligent fixed line property easy to use by artificial interpolation prefix dialing numbers.
The above is the preferred embodiments of the present invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any modification of doing, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.
Claims (7)
1. one kind is added the method that the net prefix automatically, it is characterized in that, may further comprise the steps:
Client is obtained the user communication record, and described user dials number in the described address list by described client;
Described client judges whether the number that described user dials is number in the net, and if not, described client is determined the corresponding prefix of described number according to the number segment table of self storing;
Described client is added into described number front with described corresponding prefix, and calls out the number of described interpolation prefix.
2. method according to claim 1 is characterized in that, is number in the net if described client is judged described number, and described client is directly called described number.
3. method according to claim 1 is characterized in that, described client determines that according to the number segment table of self storing the process of the corresponding prefix of described number is:
Described client is determined the ownership place of described number according to described number segment table, and determines the corresponding prefix of described number according to described ownership place.
4. method according to claim 1 is characterized in that, described number segment table comprises number classification, number segment or area code, number attribution and prefix.
5. method according to claim 1 is characterized in that, described prefix comprises dissimilar, is local prefix, national distance prefix and international long-distance prefix.
6. method according to claim 1 is characterized in that, described client is obtained the mode of user communication record and can be obtained for timing acquisition or not timing.
7. method according to claim 1 is characterized in that, described client comprises intelligent fixed line.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN2012104699139A CN102916980A (en) | 2012-11-20 | 2012-11-20 | Method for automatically adding off-net prefixes |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN2012104699139A CN102916980A (en) | 2012-11-20 | 2012-11-20 | Method for automatically adding off-net prefixes |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN102916980A true CN102916980A (en) | 2013-02-06 |
Family
ID=47615214
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN2012104699139A Pending CN102916980A (en) | 2012-11-20 | 2012-11-20 | Method for automatically adding off-net prefixes |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN102916980A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106603798A (en) * | 2017-02-24 | 2017-04-26 | 珠海市魅族科技有限公司 | Dynamic display method of mobile telephone number in address list, and mobile terminal |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1652553A (en) * | 2005-02-24 | 2005-08-10 | 杭州斯达康通讯有限公司 | Telephone with intelligent dialling function and method for implementing intelligent dialling |
| CN101035051A (en) * | 2007-02-12 | 2007-09-12 | 华为技术有限公司 | Service control method and corresponding intelligent network device and system |
| CN101640727A (en) * | 2009-08-18 | 2010-02-03 | 中兴通讯股份有限公司 | Method and terminal for intelligent dialing |
| US20120147418A1 (en) * | 2010-12-10 | 2012-06-14 | Canon Kabushiki Kaisha | Data communication apparatus and method of controlling the same |
| CN102546984A (en) * | 2010-12-29 | 2012-07-04 | 中国移动通信集团公司 | Method, device and system for realizing customer service telephone real names |
| CN102710871A (en) * | 2012-05-15 | 2012-10-03 | 上海交通大学无锡研究院 | Mobile terminal circuit switched domain voice communication intelligent management method |
-
2012
- 2012-11-20 CN CN2012104699139A patent/CN102916980A/en active Pending
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1652553A (en) * | 2005-02-24 | 2005-08-10 | 杭州斯达康通讯有限公司 | Telephone with intelligent dialling function and method for implementing intelligent dialling |
| CN101035051A (en) * | 2007-02-12 | 2007-09-12 | 华为技术有限公司 | Service control method and corresponding intelligent network device and system |
| CN101640727A (en) * | 2009-08-18 | 2010-02-03 | 中兴通讯股份有限公司 | Method and terminal for intelligent dialing |
| US20120147418A1 (en) * | 2010-12-10 | 2012-06-14 | Canon Kabushiki Kaisha | Data communication apparatus and method of controlling the same |
| CN102546984A (en) * | 2010-12-29 | 2012-07-04 | 中国移动通信集团公司 | Method, device and system for realizing customer service telephone real names |
| CN102710871A (en) * | 2012-05-15 | 2012-10-03 | 上海交通大学无锡研究院 | Mobile terminal circuit switched domain voice communication intelligent management method |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106603798A (en) * | 2017-02-24 | 2017-04-26 | 珠海市魅族科技有限公司 | Dynamic display method of mobile telephone number in address list, and mobile terminal |
| CN106603798B (en) * | 2017-02-24 | 2020-03-17 | 珠海市魅族科技有限公司 | Dynamic display method of mobile phone number in address list and mobile terminal |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN101304575B (en) | Method and communication terminal capable of automatically matching incoming call number or note number | |
| CN101917518A (en) | Method for setting incoming call prompt aiming at contacts | |
| CN104066065B (en) | The mobile terminal of a kind of preventing disturbance incoming call/information and method | |
| CN101577761B (en) | Mobile terminal and method for inquiring and adding information of telephone number in short message thereof | |
| NO20043813D0 (en) | Place name picture annotation on camera phones | |
| CN103945034A (en) | Fixed-line telephone extended communication system based on intelligent mobile telephones | |
| CN101631165A (en) | Method and device for searching contact person information in mobile communication terminal | |
| CN101491065B (en) | Mobile telephone device and incoming call register making method used for same | |
| CN102932771A (en) | Roaming user access method and system, user terminal and network-side equipment | |
| CN103369102B (en) | Incoming-call ringtone control method and mobile terminal | |
| CN101937271A (en) | Method and device for inputting contact information and mobile terminal | |
| CN102149068B (en) | Roaming access method and terminal | |
| US20070189499A1 (en) | System and method for obtaining telecommunication access numbers | |
| CN102438081B (en) | A kind of method and mobile terminal device automatically dialing IP toll number | |
| CN102014335A (en) | Method, system and mobile terminal for sharing resources in communication process | |
| CN102905251A (en) | Number information acquisition method, relative device and relative system | |
| CN104469686A (en) | Call terminal and missed call diverting method thereof | |
| CN102916980A (en) | Method for automatically adding off-net prefixes | |
| CN100551124C (en) | Portable terminal and the method that makes a call to ascription area fixed network telephone thereof | |
| CN102932514A (en) | Method and system for automatically dialing external network prefix | |
| CN101854420A (en) | Method for matching incoming call numbers of mobile phone | |
| CN101827330A (en) | Short message pushing and optimizing method of mobile terminal and device thereof | |
| CN102916979A (en) | Method and system for adding off-net prefixes | |
| CN104780250B (en) | A method for selecting a calling number and a mobile terminal | |
| CN102685297B (en) | Method and system for shielding crank calls |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C05 | Deemed withdrawal (patent law before 1993) | ||
| WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20130206 |