CN105744036A - Telephone number dialing method and device - Google Patents

Telephone number dialing method and device Download PDF

Info

Publication number
CN105744036A
CN105744036A CN201510996698.1A CN201510996698A CN105744036A CN 105744036 A CN105744036 A CN 105744036A CN 201510996698 A CN201510996698 A CN 201510996698A CN 105744036 A CN105744036 A CN 105744036A
Authority
CN
China
Prior art keywords
dialing
sim
prefix
dial
module
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.)
Granted
Application number
CN201510996698.1A
Other languages
Chinese (zh)
Other versions
CN105744036B (en
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.)
Beijing Xiaomi Technology Co Ltd
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201510996698.1A priority Critical patent/CN105744036B/en
Publication of CN105744036A publication Critical patent/CN105744036A/en
Application granted granted Critical
Publication of CN105744036B publication Critical patent/CN105744036B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/26Devices for calling a subscriber
    • H04M1/27Devices whereby a plurality of signals may be stored simultaneously
    • H04M1/274Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc
    • H04M1/2745Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc using static electronic memories, e.g. chips
    • H04M1/27485Appending a prefix to or inserting a pause into a dialling sequence
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/16Communication-related supplementary services, e.g. call-transfer or call-hold

Abstract

The present invention provides a telephone number dialing method and device. The telephone number dialing method includes the following steps that: whether a number to be dialed requires correction is detected; when the number to be dialed requires correction, the number to be dialed is corrected, so that a target number is obtained; whether the home location of the target number is identical with the home location of the SIM card of a calling phone is detected; if the home location of the target number is different from the home location of the SIM card of the calling phone, whether the target number is required to be modified to a preferential number which is entitled to enjoy expense privileges is judged, if the target number is required to be modified to the preferential number which is entitled to enjoy expense privileges, the target number is modified to the preferential number which is entitled to enjoy expense privileges, and the modified number is dialed. According to the method provided by the technical schemes of the invention, the number to be dialed is reduced to the standard number, and then, the standard number is modified to the number which is entitled to enjoy expense privileges, and therefore, a situation that a valid number becomes an invalid number which is caused by wrongly adding an IP prefix to the valid number can be avoided.

Description

Call method and the device of number
Technical field
It relates to communication technical field, particularly to a kind of method calling number and device.
Background technology
Along with smart mobile phone, panel computer etc. can be conversed the universal of intelligent mobile terminal, each common carrier is also proposed the set meal of multiple rate and selects for user, the long-distance set meal of such as China Mobile, only need to dial IP prefix " 17951 " when dialing toll number before this number, relatively low cost of the phone call can be enjoyed.In correlation technique, when dialing toll number, automatically can dial an IP prefix before the number dialed, but automatically add IP prefix for number and this number may be made to become an invalid telephone number, and cannot dial.
Summary of the invention
In order to solve the problems referred to above, the disclosure provides a kind of method calling number and device.
Specifically, the disclosure is achieved by the following technical solution:
First aspect according to disclosure embodiment, it is provided that a kind of method calling number, described method includes:
The number that detection to be dialed is the need of correction;
When the described number to dial needs timing, the described number to dial is corrected, obtains destination number;
Detect the ownership place of described destination number whether identical with the ownership place of the SIM of dialing;
When the ownership place of described destination number differs with the ownership place of the SIM of dialing, judge whether to need to be revised as described destination number to enjoy the preferred number that rate are preferential, if needing to be revised as described destination number to enjoy the preferred number that rate are preferential, then described destination number is revised as and can enjoy the preferred number that rate are preferential, and amended number is dialed.
In one embodiment, the number that described detection to be dialed the need of correction, including:
Whether the number that detection to be dialed is with IP prefix, if the described number to dial is with IP prefix, then the described number to dial needs correction;
Described the described number to dial is corrected, including:
The IP prefix of the number dialed described in deleting.
In one embodiment, described in judge whether to need to be revised as described destination number to enjoy the preferred number that rate are preferential, including:
Judge whether to need to add IP prefix for described destination number.
In one embodiment, described method also includes:
Obtain the package information of the SIM of described dialing in advance;
The package information of the SIM according to described dialing, generates IP dialing rule and preserves;
Described judging whether needs to add IP prefix for described destination number, including:
According to described IP dialing rule, it may be judged whether need to add IP prefix for described destination number.
In one embodiment, the package information of the described SIM obtaining described dialing in advance, including:
Package query note is sent in advance to the operator of described SIM;
Information that receive described operator feedback, that carry described SIM set meal situation, and intercept and capture in system layer, in order to this information is invisible to user.
In one embodiment, in any one situation following:
Beginning of the month of every month or listen to SIM when changing, send package query note to the operator of described SIM.
In one embodiment, described method also includes:
When detecting that described IP dialing rule is modified, ejecting warning prompt information, wherein, described warning prompt information can affect the expense of follow-up dialing for pointing out this amendment operation of user.
Second aspect according to disclosure embodiment, it is provided that a kind of device calling number, described device includes:
First detection module, is configured to detect the number to dial the need of correction;
Correction module, is configured to, when the testing result of described first detection module is for being, the described number to dial is corrected, obtains destination number;
Second detection module, is configured to the ownership place detecting described destination number whether identical with the ownership place of the SIM of dialing;
Judge module, is configured to when the testing result of described second detection module is no, it may be judged whether need to be revised as described destination number to enjoy the preferred number that rate are preferential;
Dial module, is configured to, when the judged result of described judge module is for being, be revised as by described destination number and can enjoy the preferred number that rate are preferential, and amended number is dialed.
In one embodiment, described first detection module, including:
Detection sub-module, is configured to whether detect the number to dial with IP prefix, if the described number to dial is with IP prefix, then the described number to dial needs correction;
Described correction module, including:
Syndrome module, is configured to the IP prefix of the number dialed described in deleting.
In one embodiment, described judge module, including:
First judges submodule, is configured to judge whether to need to add IP prefix for described destination number.
In one embodiment, described device also includes:
Acquisition module, is configured to obtain in advance the package information of the SIM of described dialing;
Generation module, is configured to the package information of SIM according to described dialing, generates IP dialing rule and also preserves;
Described first judges submodule, including:
Second judges submodule, is configured to according to described IP dialing rule, it may be judged whether need to add IP prefix for described destination number.
In one embodiment, described acquisition module, including:
Send submodule, be configured to send package query note to the operator of described SIM in advance;
Information receives submodule, is configured to information that receive described operator feedback, that carry described SIM set meal situation, and intercepts and captures in system layer, in order to this information is invisible to user.
In one embodiment, described transmission submodule, including:
Short message sending submodule, is configured in any one situation following:
Beginning of the month of every month or listen to SIM when changing, send package query note to the operator of described SIM.
In one embodiment, described device also includes:
Pop-up module, is configured to when detecting that described IP dialing rule is modified, and ejects warning prompt information, and wherein, described warning prompt information can affect the expense of follow-up dialing for pointing out this amendment operation of user.
The third aspect according to disclosure embodiment, it is provided that a kind of device calling number, including:
Processor;
For storing the memorizer of processor executable;
Wherein, described processor is configured to:
The number that detection to be dialed is the need of correction;
When the described number to dial needs timing, the described number to dial is corrected, obtains destination number;
Detect the ownership place of described destination number whether identical with the ownership place of the SIM of dialing;
When the ownership place of described destination number differs with the ownership place of the SIM of dialing, judge whether to need to be revised as described destination number to enjoy the preferred number that rate are preferential, if needing to be revised as described destination number to enjoy the preferred number that rate are preferential, then described destination number is revised as and can enjoy the preferred number that rate are preferential, and amended number is dialed.
Embodiment of the disclosure that the technical scheme of offer can include following beneficial effect:
The present embodiment can be reduced to standard number the number to dial, again this standard number is revised as the number that can enjoy rate preferential afterwards to dial, thus avoiding the generation of the situation of number because the wrong significant number adding IP prefix and cause neutralizes.
The present embodiment is for the telephone number with IP prefix, it is possible to this telephone number is corrected to standard number, thus avoiding producing higher post and telecommunication tariff because not handling corresponding set meal directly to dial the telephone number with IP prefix.
The present embodiment can pass through to obtain in advance the set meal situation of the SIM of dialing, generate IP dialing rule, and be saved in electronic equipment, in order to when dialing other places phone, this IP dialing rule is directly used to judge whether to need to add IP prefix for above-mentioned other places number, thus improving dial speed.
The present embodiment can beginning of the month in every month or listen to SIM when changing, automatically send package query note to the operator of above-mentioned SIM, in order to understand the set meal situation of SIM in time.
Considering to be saved in the dialing pattern that IP dialing rule is generally best in electronic equipment, therefore when detecting that IP dialing rule is modified, the present embodiment can eject warning prompt information, to point out this amendment operation of user can affect the expense of follow-up dialing.
It should be appreciated that above general description and details hereinafter describe and be merely illustrative of, the disclosure can not be limited.
Accompanying drawing explanation
Accompanying drawing herein is merged in description and constitutes the part of this specification, it is shown that meets embodiments of the invention, and is used for explaining principles of the invention together with description.
Fig. 1 is the flow chart of the disclosure a kind of method calling number according to an exemplary embodiment;
Fig. 2 is the flow chart that disclosure another kind according to an exemplary embodiment calls the method for number;
Fig. 3 is the block diagram of the disclosure a kind of device calling number according to an exemplary embodiment;
Fig. 4 is the block diagram that disclosure another kind according to an exemplary embodiment calls the device of number;
Fig. 5 is the block diagram that disclosure another kind according to an exemplary embodiment calls the device of number;
Fig. 6 is the block diagram that disclosure another kind according to an exemplary embodiment calls the device of number;
Fig. 7 is the block diagram that disclosure another kind according to an exemplary embodiment calls the device of number;
Fig. 8 is the block diagram that disclosure another kind according to an exemplary embodiment calls the device of number;
Fig. 9 is the block diagram that disclosure another kind according to an exemplary embodiment calls the device of number;
Figure 10 is the block diagram that disclosure another kind according to an exemplary embodiment calls the device of number;
Figure 11 is a structural representation of the disclosure a kind of device for calling number according to an exemplary embodiment.
Detailed description of the invention
Here in detail exemplary embodiment being illustrated, its example representation is in the accompanying drawings.When as explained below relates to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represents same or analogous key element.Embodiment described in following exemplary embodiment does not represent all embodiments consistent with the disclosure.On the contrary, they only with in appended claims describe in detail, the disclosure some in the example of consistent apparatus and method.
The term used in the disclosure is only merely for the purpose describing specific embodiment, and is not intended to be limiting the disclosure." one ", " described " and " being somebody's turn to do " of the singulative used in disclosure and the accompanying claims book is also intended to include most form, unless context clearly shows that other implications.It is also understood that term "and/or" used herein refers to and comprises any or all of one or more project of listing being associated and be likely to combination.
Although should be appreciated that and be likely to adopt term first, second, third, etc. to describe various information in the disclosure, but these information should not necessarily be limited by these terms.These terms are only used for being distinguished from each other out same type of information.Such as, without departing from the scope of this disclosure, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as the first information.Depend on linguistic context, word as used in this " if " can be construed to " ... time " or " when ... " or " in response to determining ".
Along with smart mobile phone, panel computer etc. can be conversed the universal of intelligent mobile terminal, each common carrier is also proposed the set meal of multiple rate and selects for user, the long-distance set meal of such as China Mobile, only need to dial IP prefix " 17951 " when dialing toll number before this number, relatively low cost of the phone call can be enjoyed.In correlation technique, when dialing toll number, automatically can dial an IP prefix before the number dialed, but automatically add IP prefix for number and this number may be made to become an invalid telephone number, and cannot dial.In order to solve the problems referred to above, present disclose provides a kind of method calling number and device.
A kind of method calling the number first below disclosure provided is introduced.
It should be noted that the method calling number that the disclosure provides is adapted to the electronic equipment with call function, in actual applications, this electronic equipment may include that smart mobile phone, panel computer, intelligent watch etc., and this is not construed as limiting by the disclosure.
As it is shown in figure 1, Fig. 1 is the flow chart of the disclosure a kind of method calling number according to an exemplary embodiment, described method may comprise steps of:
In a step 101, the number to dial is detected the need of correction.
It is understood that some telephone numbers preserved in the address list of the electronic equipment such as smart mobile phone, panel computer, there may come a time when can with some prefixes, such as " 17951 ", " 17911 " etc..
For the telephone number with prefix, if directly dialing this telephone number, it is possible to can cause the increase of communication cost, such as handling the user of Global Link business when dialing the telephone number with " 17951 ", rate are more expensive on the contrary;Additionally, for the telephone number with multiple prefixes, this telephone number may become invalid number, and cannot dial.
For above-mentioned situation, when calling number, the present embodiment can pass through whether to detect the telephone number to dial with IP prefix, judges that this telephone number is the need of correction, if the telephone number dialed is with IP prefix, then this telephone number needs correction.
In a step 102, when the number to dial needs timing, the number that dial is corrected, obtains destination number.
The IP prefix specified due to each common carrier is usually fixed, the IP prefix that such as China Mobile specifies is " 17951 ", the IP prefix that CHINAUNICOM specifies is " 17911 ", therefore, being directed to the telephone number with IP prefix, the present embodiment can prestore the IP prefix that some are conventional in this locality of electronic equipment, by mode IP prefix mated by turn with the telephone number to dial, determine the IP prefix of the telephone number to dial, and delete the IP prefix of this telephone number.
The telephone number such as dialed is " 1795113800000138 ", by IP prefix " 17951 " being mated by turn with " 1795113800000138 ", filters out the telephone number " 13800000138 " of standard.
In step 103, the ownership place of destination number is detected whether identical with the ownership place of the SIM of dialing.
If the ownership place of destination number is identical with the ownership place of the SIM of dialing, then illustrate that this destination number is local number;If the ownership place of the SIM of the ownership place of destination number and dialing differs, then illustrate that this destination number is other places number, now dial this telephone number, then belong to long-distance service.
At step 104, when the ownership place of the ownership place of destination number Yu the SIM of dialing differs, it may be judged whether need to be revised as destination number to enjoy the preferred number that rate are preferential.
It is understandable that; the set meal that current each common carrier would generally supply multiple rate preferential selects for user, and as provided multiple long-distance set meal for the user of commonly used long-distance service, being most commonly that set meal is; before calling number, before this telephone number, dial IP prefix.
Based on above-mentioned situation, user have selected the preferential set of a certain rate after the meal, first this telephone number can be corrected to standard number when dialing certain telephone number, afterwards this standard number is revised as after enjoying the preferred number that above-mentioned rate are preferential, dial.Such as enjoying the situation that rate are preferential in dialing IP prefix before telephone number, it can be determined that add IP prefix the need of for destination number, if dialing IP prefix before destination number, can to enjoy rate preferential, then for this destination number interpolation IP prefix.
But need consider a bit, first check for dialing SIM whether handled corresponding set meal, if corresponding set meal do not handled by this SIM, a kind of situation, dial IP prefix and will not play the purpose saving rate, another kind of worse situation, dial IP prefix and may produce higher rate.
Therefore, needs judge whether to be necessary to add IP prefix for telephone number, in a kind of feasible embodiment, the set meal situation of the SIM of current dialing can be obtained, if this SIM has handled the set meal that can reach to save by dialing IP prefix rate target accordingly, then it is assumed that need to add IP prefix for above-mentioned telephone number.
It is understandable that, user sends SIM package query note by electronic equipment to operator sometimes, the set meal situation of this SIM can be occurred to electronic equipment by operator, or the set meal situation of this SIM is occurred to electronic equipment by operator automatically, therefore can pass through to read the short message content of above-mentioned electronic equipment, obtaining the set meal situation of the SIM of current dialing, this is not limited by the present embodiment.
In step 105, when need to be revised as destination number can enjoy rate preferential preferred number time, destination number is revised as and can enjoy the preferred number that rate are preferential, and amended number is dialed.
As seen from the above-described embodiment, this embodiment can be reduced to standard number the number to dial, again this standard number is revised as the number that can enjoy rate preferential afterwards to dial, thus avoiding the generation of the situation of number because the wrong significant number adding IP prefix and cause neutralizes.
As shown in Figure 2, Fig. 2 is the flow chart that disclosure another kind according to an exemplary embodiment calls the method for number, the present embodiment can judge whether to need to add IP prefix for telephone number according to default IP dialing rule, and described method may comprise steps of:
In step 201, whether the number to dial is detected with IP prefix.
In step 202., when the number to dial is with IP prefix, deletes the IP prefix of the number to dial, obtain destination number.
In step 203, the ownership place of destination number is detected whether identical with the ownership place of the SIM of dialing.
Above-mentioned steps 201~step 203, similar with the step 101 in embodiment illustrated in fig. 1~step 103, above-mentioned steps 201~step 203 is repeated no more by the present embodiment.
In step 204, when the ownership place of destination number differs with the ownership place of the SIM of dialing, according to default IP dialing rule, it may be judged whether need to add IP prefix for destination number.
In a kind of feasible embodiment, the generation step of the IP dialing rule preset in the present embodiment, it is possible to including:
S1, obtains the package information of the SIM of dialing in advance.
Owing to each common carrier all supports message search set meal function, and will not collect the charges to each common carrier transmission note, therefore present embodiment can send package query note to the operator belonging to the SIM of dialing, obtains the set meal situation of this SIM with this;Additionally, in order to avoid said short message has influence on user, in present embodiment, when that receive operator's feedback, to carry SIM set meal situation information, it is possible to intercept and capture this note in system layer, in order to this information is invisible to user.
In a kind of feasible embodiment, it is possible to beginning of the month in every month or listen to SIM when changing, send package query note to the operator of above-mentioned SIM, in order to understand the set meal situation of SIM in time.
S2, the package information according to the SIM of dialing, generate IP dialing rule and preserve.
The set meal that such as SIM handles is the long-distance set meal of China Mobile, then the IP dialing rule generated is " when dialing other places number, automatically add IP prefix 17951 for this number ";The set meal that SIM handles is the long-distance set meal of CHINAUNICOM, then the IP dialing rule generated is " when dialing other places number, automatically add IP prefix 17911 for this number ".The IP dialing rule of generation being saved in electronic equipment, it is possible to when dialing other places phone, directly using this IP dialing rule, thus improving dial speed.
In the feasible embodiment of another kind, what present embodiment may be provided for IP dialing rule arranges interface, dialing rule of manually rebuilding according to demand for user.
Consider electronic equipment is saved in the dialing pattern that IP dialing rule is generally best, therefore when detecting that IP dialing rule is modified, it is possible to eject warning prompt information, to point out this amendment operation of user can affect the expense of follow-up dialing.Such as during user's mandatory modification IP dialing rule, eject warning prompt frame, point out this kind of operation may affect dial charge and use.
In step 205, when needs add IP prefix for destination number, add IP prefix for destination number, and the number after adding IP prefix is dialed.
As seen from the above-described embodiment, this embodiment can pass through to obtain in advance the set meal situation of the SIM of dialing, generate IP dialing rule, and it is saved in electronic equipment, so that when dialing other places phone, this IP dialing rule is directly used to judge whether to need to add IP prefix for above-mentioned other places number, thus improving dial speed.
Corresponding with the embodiment of the aforementioned method calling number, the disclosure additionally provides the embodiment of the device calling number.
As it is shown on figure 3, Fig. 3 is the block diagram of the disclosure a kind of device calling number according to an exemplary embodiment, described device may include that
First detection module 310, is configured to detect the number to dial the need of correction;
Correction module 320, is configured to, when the testing result of described first detection module 310 is for being, the described number to dial is corrected, obtains destination number;
Second detection module 330, is configured to the ownership place detecting described destination number whether identical with the ownership place of the SIM of dialing;
Judge module 340, is configured to when the testing result of described second detection module 330 is no, it may be judged whether need to be revised as described destination number to enjoy the preferred number that rate are preferential;
Dial module 350, is configured to, when the judged result of described judge module 340 is for being, be revised as by described destination number and can enjoy the preferred number that rate are preferential, and amended number is dialed.
As seen from the above-described embodiment, this embodiment can be reduced to standard number the number to dial, again this standard number is revised as the number that can enjoy rate preferential afterwards to dial, thus avoiding the generation of the situation of number because the wrong significant number adding IP prefix and cause neutralizes.
As shown in Figure 4, Fig. 4 is the block diagram that disclosure another kind according to an exemplary embodiment calls the device of number, and this embodiment can on the basis of embodiment illustrated in fig. 3, described first detection module 310, it is possible to including:
Detection sub-module 311, is configured to whether detect the number to dial with IP prefix, if the described number to dial is with IP prefix, then the described number to dial needs correction.
As it is shown in figure 5, Fig. 5 is the block diagram that disclosure another kind according to an exemplary embodiment calls the device of number, this embodiment can on the basis of embodiment illustrated in fig. 4, described correction module 320, it is possible to including:
Syndrome module 321, is configured to the IP prefix of the number dialed described in deleting.
As shown in Figure 6, Fig. 6 is the block diagram that disclosure another kind according to an exemplary embodiment calls the device of number, and this embodiment can on the basis of embodiment illustrated in fig. 3, described judge module 340, it is possible to including:
First judges submodule 341, is configured to judge whether to need to add IP prefix for described destination number.
As it is shown in fig. 7, Fig. 7 is the block diagram that disclosure another kind according to an exemplary embodiment calls the device of number, this embodiment can on the basis of embodiment illustrated in fig. 6, and described device can also include:
Acquisition module 410, is configured to obtain in advance the package information of the SIM of described dialing;
Generation module 420, is configured to the package information of SIM according to described dialing, generates IP dialing rule and also preserves;
Described first judges submodule 341, it is possible to including:
Second judges submodule 3411, is configured to according to described IP dialing rule, it may be judged whether need to add IP prefix for described destination number.
As shown in Figure 8, Fig. 8 is the block diagram that disclosure another kind according to an exemplary embodiment calls the device of number, and this embodiment can on the basis of embodiment illustrated in fig. 7, described acquisition module 410, it is possible to including:
Send submodule 411, be configured to send package query note to the operator of described SIM in advance;
Information receives submodule 412, is configured to information that receive described operator feedback, that carry described SIM set meal situation, and intercepts and captures in system layer, in order to this information is invisible to user.
As it is shown in figure 9, Fig. 9 is the block diagram that disclosure another kind according to an exemplary embodiment calls the device of number, this embodiment can on the basis of embodiment illustrated in fig. 8, described transmission submodule 411, it is possible to including:
Short message sending submodule 4111, is configured in any one situation following:
Beginning of the month of every month or listen to SIM when changing, send package query note to the operator of described SIM.
As shown in Figure 10, Figure 10 is the block diagram that disclosure another kind according to an exemplary embodiment calls the device of number, and this embodiment can on the basis of any embodiment shown in Fig. 7~Fig. 9, and described device can also include:
Pop-up module 510, is configured to when detecting that described IP dialing rule is modified, and ejects warning prompt information, and wherein, described warning prompt information can affect the expense of follow-up dialing for pointing out this amendment operation of user.
What in said apparatus, the function of modules and the process that realizes of effect specifically referred in said method corresponding step realizes process, does not repeat them here.
For device embodiment, owing to it corresponds essentially to embodiment of the method, so relevant part illustrates referring to the part of embodiment of the method.Device embodiment described above is merely schematic, the wherein said unit illustrated as separating component can be or may not be physically separate, the parts shown as unit can be or may not be physical location, namely may be located at a place, or can also be distributed on multiple NE.Some or all of module therein can be selected according to the actual needs to realize the purpose of disclosure scheme.Those of ordinary skill in the art, when not paying creative work, are namely appreciated that and implement.
Accordingly, the disclosure additionally provides a kind of device calling number, including: processor;For storing the memorizer of processor executable;Wherein, described processor is configured to: the number that detection to be dialed is the need of correction;When the described number to dial needs timing, the described number to dial is corrected, obtains destination number;Detect the ownership place of described destination number whether identical with the ownership place of the SIM of dialing;When the ownership place of described destination number differs with the ownership place of the SIM of dialing, judge whether to need to be revised as described destination number to enjoy the preferred number that rate are preferential, if needing to be revised as described destination number to enjoy the preferred number that rate are preferential, then described destination number is revised as and can enjoy the preferred number that rate are preferential, and amended number is dialed.
As shown in figure 11, Figure 11 is a structural representation of the disclosure a kind of device 1100 for calling number according to an exemplary embodiment.Such as, device 1100 can be mobile phone, computer, digital broadcast terminal, messaging devices, game console, tablet device, armarium, body-building equipment, personal digital assistant, aircraft etc..
With reference to Figure 11, device 1100 can include following one or more assembly: processes assembly 1102, memorizer 1104, power supply module 1106, multimedia groupware 1108, audio-frequency assembly 1110, the interface 1112 of input/output (I/O), sensor cluster 1114, and communications component 1116.
Process assembly 1102 and generally control the integrated operation of device 1100, such as with display, call, data communication, the operation that camera operation and record operation are associated.Treatment element 1102 can include one or more processor 1120 to perform instruction, to complete all or part of step of above-mentioned method.Additionally, process assembly 1102 can include one or more module, it is simple to what process between assembly 1102 and other assemblies is mutual.Such as, processing component 1102 can include multi-media module, with facilitate multimedia groupware 1108 and process between assembly 1102 mutual.
Memorizer 1104 is configured to store various types of data to support the operation at equipment 1100.The example of these data includes any application program for operation on device 1100 or the instruction of method, contact data, telephone book data, message, picture, video etc..Memorizer 1104 can be realized by any kind of volatibility or non-volatile memory device or their combination, such as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM), read only memory (ROM), magnetic memory, flash memory, disk or CD.
The various assemblies that electric power assembly 1106 is device 1100 provide electric power.Electric power assembly 1106 can include power-supply management system, one or more power supplys, and other generate, manage and distribute, with for device 1100, the assembly that electric power is associated.
Multimedia groupware 1108 includes the screen providing an output interface between device 1100 and user.In certain embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen may be implemented as touch screen, to receive the input signal from user.Touch panel includes one or more touch sensor to sense the gesture on touch, slip and touch panel.Touch sensor can not only sense the border of touch or sliding action, but also detects the persistent period relevant to touch or slide and pressure.In certain embodiments, multimedia groupware 1108 includes a front-facing camera and/or post-positioned pick-up head.When equipment 1100 is in operator scheme, during such as screening-mode or video mode, front-facing camera and/or post-positioned pick-up head can receive the multi-medium data of outside.Each front-facing camera and post-positioned pick-up head can be a fixing optical lens system or have focal length and optical zoom ability.
Audio-frequency assembly 1110 is configured to output and/or input audio signal.Such as, audio-frequency assembly 1110 includes a mike (MIC), and when device 1100 is in operator scheme, during such as call model, logging mode and speech recognition mode, mike is configured to receive external audio signal.The audio signal received can be further stored at memorizer 1104 or send via communications component 1116.In certain embodiments, audio-frequency assembly 1111 also includes a speaker, is used for exporting audio signal.
I/O interface 1112 provides interface for processing between assembly 1102 and peripheral interface module, above-mentioned peripheral interface module can be keyboard, puts striking wheel, button etc..These buttons may include but be not limited to: home button, volume button, startup button and locking press button.
Sensor cluster 1114 includes one or more sensor, for providing the state estimation of various aspects for device 1100.Such as, what sensor cluster 1114 can detect equipment 1100 opens/closed mode, the relative localization of assembly, such as described assembly is display and the keypad of device 1100, the position change of all right detecting device 1100 of sensor cluster 1114 or 1,100 1 assemblies of device, the presence or absence that user contacts with device 600, the variations in temperature of device 1100 orientation or acceleration/deceleration and device 1100.Sensor cluster 1114 can include proximity transducer, is configured to when not having any physical contact object near detection.Sensor cluster 1114 can also include optical sensor, such as CMOS or ccd image sensor, for using in imaging applications.In certain embodiments, this sensor cluster 1114 can also include acceleration transducer, gyro sensor, Magnetic Sensor, pressure transducer or temperature sensor.
Communications component 1116 is configured to facilitate between device 1100 and other equipment the communication of wired or wireless mode.Device 1100 can access the wireless network based on communication standard, such as WiFi, 2G or 3G, or their combination.In one exemplary embodiment, communication component 1116 receives the broadcast singal or the broadcast related information that manage system from external broadcasting via broadcast channel.In one exemplary embodiment, described communication component 1116 also includes near-field communication (NFC) module, to promote junction service.Such as, can based on RF identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, bluetooth (BT) technology and other technologies realize.
In the exemplary embodiment, device 1100 can be realized by one or more application specific integrated circuits (ASIC), digital signal processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components, is used for performing said method.
In the exemplary embodiment, additionally providing a kind of non-transitory computer-readable recording medium including instruction, for instance include the memorizer 1104 of instruction, above-mentioned instruction can have been performed said method by the processor 1120 of device 1100.Such as, described non-transitory computer-readable recording medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc..
Those skilled in the art, after considering description and putting into practice disclosed herein disclosing, will readily occur to other embodiment of the disclosure.The application is intended to any modification of the disclosure, purposes or adaptations, and these modification, purposes or adaptations are followed the general principle of the disclosure and include the undocumented known general knowledge in the art of the disclosure or conventional techniques means.Description and embodiments is considered only as exemplary, and the true scope of the disclosure and spirit are pointed out by claim below.
It should be appreciated that the disclosure is not limited to precision architecture described above and illustrated in the accompanying drawings, and various amendment and change can carried out without departing from the scope.The scope of the present disclosure is only limited by appended claim.

Claims (15)

1. the method calling number, it is characterised in that described method includes:
The number that detection to be dialed is the need of correction;
When the described number to dial needs timing, the described number to dial is corrected, obtains destination number;
Detect the ownership place of described destination number whether identical with the ownership place of the SIM of dialing;
When the ownership place of described destination number differs with the ownership place of the SIM of dialing, judge whether to need to be revised as described destination number to enjoy the preferred number that rate are preferential, if needing to be revised as described destination number to enjoy the preferred number that rate are preferential, then described destination number is revised as and can enjoy the preferred number that rate are preferential, and amended number is dialed.
2. method according to claim 1, it is characterised in that the number that described detection to be dialed the need of correction, including:
Whether the number that detection to be dialed is with IP prefix, if the described number to dial is with IP prefix, then the described number to dial needs correction;
Described the described number to dial is corrected, including:
The IP prefix of the number dialed described in deleting.
3. method according to claim 1, it is characterised in that described in judge whether to need to be revised as described destination number to enjoy the preferred number that rate are preferential, including:
Judge whether to need to add IP prefix for described destination number.
4. method according to claim 3, it is characterised in that described method also includes:
Obtain the package information of the SIM of described dialing in advance;
The package information of the SIM according to described dialing, generates IP dialing rule and preserves;
Described judging whether needs to add IP prefix for described destination number, including:
According to described IP dialing rule, it may be judged whether need to add IP prefix for described destination number.
5. method according to claim 4, it is characterised in that the package information of the described SIM obtaining described dialing in advance, including:
Package query note is sent in advance to the operator of described SIM;
Information that receive described operator feedback, that carry described SIM set meal situation, and intercept and capture in system layer, in order to this information is invisible to user.
6. method according to claim 5, it is characterised in that in any one situation following:
Beginning of the month of every month or listen to SIM when changing, send package query note to the operator of described SIM.
7. method according to claim 4, it is characterised in that described method also includes:
When detecting that described IP dialing rule is modified, ejecting warning prompt information, wherein, described warning prompt information can affect the expense of follow-up dialing for pointing out this amendment operation of user.
8. the device calling number, it is characterised in that described device includes:
First detection module, is configured to detect the number to dial the need of correction;
Correction module, is configured to, when the testing result of described first detection module is for being, the described number to dial is corrected, obtains destination number;
Second detection module, is configured to the ownership place detecting described destination number whether identical with the ownership place of the SIM of dialing;
Judge module, is configured to when the testing result of described second detection module is no, it may be judged whether need to be revised as described destination number to enjoy the preferred number that rate are preferential;
Dial module, is configured to, when the judged result of described judge module is for being, be revised as by described destination number and can enjoy the preferred number that rate are preferential, and amended number is dialed.
9. device according to claim 8, it is characterised in that described first detection module, including:
Detection sub-module, is configured to whether detect the number to dial with IP prefix, if the described number to dial is with IP prefix, then the described number to dial needs correction;
Described correction module, including:
Syndrome module, is configured to the IP prefix of the number dialed described in deleting.
10. device according to claim 8, it is characterised in that described judge module, including:
First judges submodule, is configured to judge whether to need to add IP prefix for described destination number.
11. device according to claim 10, it is characterised in that described device also includes:
Acquisition module, is configured to obtain in advance the package information of the SIM of described dialing;
Generation module, is configured to the package information of SIM according to described dialing, generates IP dialing rule and also preserves;
Described first judges submodule, including:
Second judges submodule, is configured to according to described IP dialing rule, it may be judged whether need to add IP prefix for described destination number.
12. device according to claim 11, it is characterised in that described acquisition module, including:
Send submodule, be configured to send package query note to the operator of described SIM in advance;
Information receives submodule, is configured to information that receive described operator feedback, that carry described SIM set meal situation, and intercepts and captures in system layer, in order to this information is invisible to user.
13. device according to claim 12, it is characterised in that described transmission submodule, including:
Short message sending submodule, is configured in any one situation following:
Beginning of the month of every month or listen to SIM when changing, send package query note to the operator of described SIM.
14. device according to claim 11, it is characterised in that described device also includes:
Pop-up module, is configured to when detecting that described IP dialing rule is modified, and ejects warning prompt information, and wherein, described warning prompt information can affect the expense of follow-up dialing for pointing out this amendment operation of user.
15. the device calling number, it is characterised in that including:
Processor;
For storing the memorizer of processor executable;
Wherein, described processor is configured to:
The number that detection to be dialed is the need of correction;
When the described number to dial needs timing, the described number to dial is corrected, obtains destination number;
Detect the ownership place of described destination number whether identical with the ownership place of the SIM of dialing;
When the ownership place of described destination number differs with the ownership place of the SIM of dialing, judge whether to need to be revised as described destination number to enjoy the preferred number that rate are preferential, if needing to be revised as described destination number to enjoy the preferred number that rate are preferential, then described destination number is revised as and can enjoy the preferred number that rate are preferential, and amended number is dialed.
CN201510996698.1A 2015-12-25 2015-12-25 Make a phone call the method and device of number Active CN105744036B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510996698.1A CN105744036B (en) 2015-12-25 2015-12-25 Make a phone call the method and device of number

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510996698.1A CN105744036B (en) 2015-12-25 2015-12-25 Make a phone call the method and device of number

Publications (2)

Publication Number Publication Date
CN105744036A true CN105744036A (en) 2016-07-06
CN105744036B CN105744036B (en) 2019-03-12

Family

ID=56296381

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510996698.1A Active CN105744036B (en) 2015-12-25 2015-12-25 Make a phone call the method and device of number

Country Status (1)

Country Link
CN (1) CN105744036B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
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 (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020122550A1 (en) * 2000-12-27 2002-09-05 Noplock Norman F. Automatic telephone dialer
JP2003333165A (en) * 2002-05-10 2003-11-21 Ntt Docomo Inc Mobile terminal with international dial operating function, international dial program, and international dial system
CN101977258A (en) * 2010-10-28 2011-02-16 深圳市五巨科技有限公司 Method for storing mobile phone numbers and system thereof
CN101998306A (en) * 2009-08-21 2011-03-30 鸿富锦精密工业(深圳)有限公司 Mobile communication device and communication method thereof
CN102316230A (en) * 2011-09-26 2012-01-11 广东欧珀移动通信有限公司 Method for realizing mobile phone intelligent IP (internet protocol) dialing
US8243915B1 (en) * 2011-04-01 2012-08-14 Google Inc. Network and location based phone number format identification
CN103428324A (en) * 2012-05-17 2013-12-04 上海闻泰电子科技有限公司 Intelligent IP dialing method for mobile phone
CN103516916A (en) * 2012-06-28 2014-01-15 中兴通讯股份有限公司 Dialing method and device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020122550A1 (en) * 2000-12-27 2002-09-05 Noplock Norman F. Automatic telephone dialer
JP2003333165A (en) * 2002-05-10 2003-11-21 Ntt Docomo Inc Mobile terminal with international dial operating function, international dial program, and international dial system
CN101998306A (en) * 2009-08-21 2011-03-30 鸿富锦精密工业(深圳)有限公司 Mobile communication device and communication method thereof
CN101977258A (en) * 2010-10-28 2011-02-16 深圳市五巨科技有限公司 Method for storing mobile phone numbers and system thereof
US8243915B1 (en) * 2011-04-01 2012-08-14 Google Inc. Network and location based phone number format identification
CN102316230A (en) * 2011-09-26 2012-01-11 广东欧珀移动通信有限公司 Method for realizing mobile phone intelligent IP (internet protocol) dialing
CN103428324A (en) * 2012-05-17 2013-12-04 上海闻泰电子科技有限公司 Intelligent IP dialing method for mobile phone
CN103516916A (en) * 2012-06-28 2014-01-15 中兴通讯股份有限公司 Dialing method and device

Cited By (1)

* Cited by examiner, † Cited by third party
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

Also Published As

Publication number Publication date
CN105744036B (en) 2019-03-12

Similar Documents

Publication Publication Date Title
CN105183513A (en) Application recommendation method and apparatus
CN105722064A (en) Method and device for acquiring terminal information
CN104954371A (en) Equipment information display method and device
CN105763601A (en) File sharing method and device
CN104113646A (en) Method and apparatus for calling forwarding
CN104581667A (en) Call forwarding method and device
CN105354017A (en) Information processing method and apparatus
CN105227739A (en) On-vehicle Bluetooth broadcasting method and device
CN104837181A (en) Network access method and device
CN105208089A (en) Information display method, apparatus and system
CN104796875A (en) Call mode selection method and device
CN106792892A (en) The access control method and device of application program
CN105515923A (en) Equipment control method and device
CN105245705A (en) Telephone prompting method and device
CN104881342A (en) Terminal testing method and device
CN104639739A (en) Call intercepting method and device
CN105704322A (en) Weather information obtaining method and apparatus
CN106357504A (en) User list cleaning method and device thereof
CN104994211A (en) Incoming call prompting method, device and system
CN105682187A (en) Icon displaying method and device
CN105530332A (en) Method and device for processing position information
CN105100410A (en) Method and device for aggregating third-party telephone application
CN105744036A (en) Telephone number dialing method and device
CN105101352A (en) Frequency band searching method and frequency band searching device
CN104765646A (en) Assembly transferring method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant