CN105744036B - Make a phone call the method and device of number - Google Patents

Make a phone call the method and device of number Download PDF

Info

Publication number
CN105744036B
CN105744036B CN201510996698.1A CN201510996698A CN105744036B CN 105744036 B CN105744036 B CN 105744036B CN 201510996698 A CN201510996698 A CN 201510996698A CN 105744036 B CN105744036 B CN 105744036B
Authority
CN
China
Prior art keywords
dialed
dialing
sim card
prefix
destination
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.)
Active
Application number
CN201510996698.1A
Other languages
Chinese (zh)
Other versions
CN105744036A (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.)
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

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The disclosure provides a kind of method and device for making a phone call number, a method of making a phone call number, comprising: whether the number to be dialed of detection needs to correct;When the number to be dialed needs timing, the number to be dialed is corrected, destination number is obtained;Whether the ownership place for detecting the ownership place of destination number and the SIM card of dialing is identical;When the ownership place of the ownership place of destination number and the SIM card of dialing is not identical, judge whether to need for destination number to be revised as that the preferential preferred number of rate can be enjoyed, if necessary, then destination number is revised as to enjoy the preferential preferred number of rate, and modified number is dialed.The number to be dialed can be reduced to standard number by disclosed technique scheme, be revised as the standard number can to enjoy the preferential number of rate again later and dial, so as to avoid because mistake addition IP prefix and caused by significant number neutralize number the case where generation.

Description

Make a phone call the method and device of number
Technical field
This disclosure relates to field of communication technology, in particular to a kind of method and device for making a phone call number.
Background technique
As smart phone, tablet computer etc. can be conversed the universal of intelligent mobile terminal, each common carrier is also proposed The set meal of a variety of rate is selected for user, such as the long-distance set meal of China Mobile, only need to be in the number when dialing toll number Before dial IP prefix " 17951 ", lower cost of the phone call can be enjoyed.It in the related technology, can be automatic when dialing toll number Ground dials an IP prefix before the number dialed, however automatically adds IP prefix that the number may be made to become one for number A invalid telephone number, and can not dial.
Summary of the invention
To solve the above-mentioned problems, the disclosure provides a kind of method and device for making a phone call number.
Specifically, the disclosure is achieved by the following technical solution:
According to the first aspect of the embodiments of the present disclosure, a kind of method for making a phone call number is provided, which comprises
Whether the number to be dialed of detection needs to correct;
When the number to be dialed needs timing, the number to be dialed is corrected, destination number is obtained;
Whether the ownership place for detecting the ownership place of the destination number and the SIM card of dialing is identical;
When the ownership place of the ownership place of the destination number and the SIM card of dialing is not identical, judge whether to need institute It states destination number to be revised as that the preferential preferred number of rate can be enjoyed, if necessary to which the destination number to be revised as to enjoy By the preferential preferred number of rate, then the destination number is revised as capable of enjoying the preferential preferred number of rate, and to repairing Number after changing is dialed.
In one embodiment, whether the number to be dialed of the detection needs to correct, comprising:
Whether the number to be dialed of detection has IP prefix, described if the number to be dialed has IP prefix The number to be dialed needs to correct;
It is described that the number to be dialed is corrected, comprising:
The IP prefix of the number to be dialed described in deletion.
In one embodiment, described to judge whether to need for the destination number to be revised as to enjoy preferential excellent of rate Numerical selection code, comprising:
Judge whether to need to add IP prefix for the destination number.
In one embodiment, the method also includes:
The package information of the SIM card of the dialing is obtained in advance;
According to the package information of the SIM card of the dialing, generates IP dialing rule and save;
It is described to judge whether to need to add IP prefix for the destination number, comprising:
According to the IP dialing rule, judge whether to need to add IP prefix for the destination number.
In one embodiment, the package information of the SIM card for obtaining the dialing in advance, comprising:
Package query short message is sent to the operator of the SIM card in advance;
Information that the operator feeds back, carrying the SIM card set meal situation is received, and is cut in system layer It obtains, so that the information is invisible to user.
In one embodiment, under following any case:
Beginning of the month of every month or when listening to SIM card and changing, it is short that the operator of Xiang Suoshu SIM card sends package query Letter.
In one embodiment, the method also includes:
When detecting that the IP dialing rule is modified, warning message is popped up, wherein the warning message For prompting this modification operation of user to will affect the expense of subsequent dialing.
According to the second aspect of an embodiment of the present disclosure, a kind of device for making a phone call number is provided, described device includes:
First detection module, is configured as whether the number to be dialed of detection needs to correct;
Correction module is configured as dialling in the case where the testing result of the first detection module, which is, is to described The number beaten is corrected, and obtains destination number;
Second detection module, the ownership place for being configured as detecting the SIM card of the ownership place of the destination number and dialing are It is no identical;
Judgment module is configured as judging whether to need in the case where the testing result of second detection module is no The destination number is revised as to enjoy the preferential preferred number of rate;
Dial module is configured as in the case where the judging result of the judgment module, which is, is, by the destination number It is revised as that the preferential preferred number of rate can be enjoyed, and modified number is dialed.
In one embodiment, the first detection module, comprising:
Detection sub-module, is configured as whether the number to be dialed of detection has IP prefix, if number to be dialed Code has IP prefix, then the number to be dialed needs to correct;
The correction module, comprising:
Correction module is configured as the IP prefix of the number to be dialed described in deleting.
In one embodiment, the judgment module, comprising:
First judging submodule is configured as judging whether to need to add IP prefix for the destination number.
In one embodiment, described device further include:
Module is obtained, is configured as obtaining the package information of the SIM card of the dialing in advance;
Generation module is configured as the package information of the SIM card according to the dialing, generates IP dialing rule and saves;
First judging submodule, comprising:
Second judgment submodule is configured as judging whether to need for the destination number according to the IP dialing rule Add IP prefix.
In one embodiment, the acquisition module, comprising:
Sending submodule is configured as sending package query short message to the operator of the SIM card in advance;
Information receiving submodule, be configured as receiving operator's feedback, carry the SIM card set meal situation Information, and intercepted and captured in system layer, so that the information is invisible to user.
In one embodiment, the sending submodule, comprising:
Short message sending submodule is configured as under following any case:
Beginning of the month of every month or when listening to SIM card and changing, it is short that the operator of Xiang Suoshu SIM card sends package query Letter.
In one embodiment, described device further include:
Pop-up module is configured as when detecting that the IP dialing rule is modified, and pops up warning message, In, the warning message is used to that this modification of user to be prompted to operate the expense that will affect subsequent dialing.
According to the third aspect of an embodiment of the present disclosure, a kind of device for making a phone call number is provided, comprising:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
Whether the number to be dialed of detection needs to correct;
When the number to be dialed needs timing, the number to be dialed is corrected, destination number is obtained;
Whether the ownership place for detecting the ownership place of the destination number and the SIM card of dialing is identical;
When the ownership place of the ownership place of the destination number and the SIM card of dialing is not identical, judge whether to need institute It states destination number to be revised as that the preferential preferred number of rate can be enjoyed, if necessary to which the destination number to be revised as to enjoy By the preferential preferred number of rate, then the destination number is revised as capable of enjoying the preferential preferred number of rate, and to repairing Number after changing is dialed.
The technical scheme provided by this disclosed embodiment can include the following benefits:
The number to be dialed can be reduced to standard number by the present embodiment, and being later again revised as the standard number can The preferential number of rate is enjoyed to be dialed, so as to avoid because mistake addition IP prefix and caused by significant number neutralize The generation of the case where number.
The present embodiment is directed to the telephone number with IP prefix, which can be corrected to standard number, thus It avoids generating higher post and telecommunication tariff because not handling due to corresponding set meal directly dials the telephone number with IP prefix.
The present embodiment can be by obtaining the set meal situation of the SIM card of dialing, Lai Shengcheng IP dialing rule in advance, and saves To electronic equipment, directly to judge whether to need for above-mentioned other places number using the IP dialing rule when dialing nonlocal phone Code addition IP prefix, to improve dial speed.
The present embodiment can beginning of the month in every month or when listening to SIM card and changing, automatically to the fortune of above-mentioned SIM card It seeks quotient and sends package query short message, to understand the set meal situation of SIM card in time.
It is usually optimal dialing pattern in view of being stored in IP dialing rule in electronic equipment, therefore is detecting IP groups When number rule is modified, the present embodiment can pop up warning message, subsequent to prompt this modification operation of user will affect The expense of dialing.
It should be understood that the above general description and the following detailed description are merely exemplary, this can not be limited It is open.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows and meets implementation of the invention Example, and be used to explain the principle of the present invention together with specification.
Fig. 1 is a kind of disclosure flow chart for the method for making a phone call number shown according to an exemplary embodiment;
Fig. 2 is the flow chart for the method that disclosure another kind shown according to an exemplary embodiment makes a phone call number;
Fig. 3 is a kind of disclosure block diagram for the device for making a phone call number shown according to an exemplary embodiment;
Fig. 4 is the block diagram for the device that disclosure another kind shown according to an exemplary embodiment makes a phone call number;
Fig. 5 is the block diagram for the device that disclosure another kind shown according to an exemplary embodiment makes a phone call number;
Fig. 6 is the block diagram for the device that disclosure another kind shown according to an exemplary embodiment makes a phone call number;
Fig. 7 is the block diagram for the device that disclosure another kind shown according to an exemplary embodiment makes a phone call number;
Fig. 8 is the block diagram for the device that disclosure another kind shown according to an exemplary embodiment makes a phone call number;
Fig. 9 is the block diagram for the device that disclosure another kind shown according to an exemplary embodiment makes a phone call number;
Figure 10 is the block diagram for the device that disclosure another kind shown according to an exemplary embodiment makes a phone call number;
Figure 11 is that the disclosure is shown according to an exemplary embodiment a kind of for making a phone call a knot of the device of number Structure schematic diagram.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all implementations consistent with this disclosure.On the contrary, they be only with it is such as appended The example of the consistent device and method of some aspects be described in detail in claims, the disclosure.
It is only to be not intended to be limiting the disclosure merely for for the purpose of describing particular embodiments in the term that the disclosure uses. The "an" of the singular used in disclosure and the accompanying claims book, " described " and "the" are also intended to including majority Form, unless the context clearly indicates other meaning.It is also understood that term "and/or" used herein refers to and wraps It may be combined containing one or more associated any or all of project listed.
It will be appreciated that though various information, but this may be described using term first, second, third, etc. in the disclosure A little information should not necessarily be limited by these terms.These terms are only used to for same type of information being distinguished from each other out.For example, not departing from In the case where disclosure range, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as One information.Depending on context, word as used in this " if " can be construed to " ... when " or " when ... When " or " in response to determination ".
As smart phone, tablet computer etc. can be conversed the universal of intelligent mobile terminal, each common carrier is also proposed The set meal of a variety of rate is selected for user, such as the long-distance set meal of China Mobile, only need to be in the number when dialing toll number Before dial IP prefix " 17951 ", lower cost of the phone call can be enjoyed.It in the related technology, can be automatic when dialing toll number Ground dials an IP prefix before the number dialed, however automatically adds IP prefix that the number may be made to become one for number A invalid telephone number, and can not dial.To solve the above-mentioned problems, present disclose provides a kind of sides for making a phone call number Method and device.
A kind of method for making a phone call number provided first below the disclosure is introduced.
It should be noted that the method for making a phone call number that the disclosure provides is adapted to have the electronics of call function to set Standby, in practical applications, which may include: smart phone, tablet computer, smartwatch etc., and the disclosure is to this It is not construed as limiting.
As shown in Figure 1, Fig. 1 is a kind of disclosure method for making a phone call number shown according to an exemplary embodiment Flow chart, the method may include following steps:
In a step 101, whether the number to be dialed of detection needs to correct.
It is understood that some telephone numbers saved in the address list of the electronic equipments such as smart phone, tablet computer, There may come a time when can be with some prefixes, such as " 17951 ", " 17911 " etc..
The increasing of communication cost may result in if directly dialing the telephone number for the telephone number with prefix Add, for example handle the user of Global Link business when dialing the telephone number with " 17951 ", rate are more expensive instead;In addition, For having the telephone number of multiple prefixes, which may become invalid number, and can not dial.
For above situation, when making a phone call number, the present embodiment can be by detecting the telephone number to be dialed It is no to have IP prefix, it, should if the telephone number to be dialed has IP prefix to judge whether the telephone number needs to correct Telephone number needs to correct.
In a step 102, when the number to be dialed needs timing, the number to be dialed is corrected, target is obtained Number.
The IP prefix as defined in each common carrier is usually fixed, for example IP prefix as defined in China Mobile is " 17951 ", IP prefix as defined in China Unicom is " 17911 ", therefore, is directed to the telephone number with IP prefix, this implementation Some common IP prefixes can be stored in advance in the local of electronic equipment in example, by by IP prefix and the telephone number to be dialed Matched mode by turn is carried out, to determine the IP prefix of the telephone number to be dialed, and deletes the IP prefix of the telephone number.
Such as the telephone number to be dialed be " 1795113800000138 ", by by IP prefix " 17951 " with " 1795113800000138 " match by turn, filter out the telephone number " 13800000138 " of standard.
In step 103, whether the ownership place for detecting the ownership place of destination number and the SIM card of dialing is identical.
If the ownership place of destination number is identical as the ownership place of the SIM card of dialing, illustrate that the destination number is local Number;If the ownership place of the SIM card of the ownership place and dialing of destination number is not identical, illustrate that the destination number is other places number Code, dials the telephone number at this time, then belongs to long-distance service.
At step 104, when the ownership place of the ownership place of destination number and the SIM card of dialing is not identical, judge whether It needs for destination number to be revised as that the preferential preferred number of rate can be enjoyed.
It is understood that each common carrier would generally be selected for the preferential set meal of a variety of rate for user at present, such as For providing a variety of long-distance set meals commonly using the user of long-distance service, most commonly set meal is to make a phone call number Before, IP prefix is dialed before the telephone number.
Based on the above situation, user is postprandial in the set for having selected a certain rate preferential, can when dialing some telephone number The telephone number is corrected to standard number first, the standard number is revised as enjoying preferential preferred of above-mentioned rate later After number, dialed.Such as the preferential situation of rate can be enjoyed in dialing IP prefix before telephone number, can sentence Whether disconnected to need to add IP prefix for destination number, if dialing IP prefix before destination number, can to enjoy rate preferential, IP prefix is added for the destination number.
But more in need of consideration to be, whether the SIM card for first checking for dialing has handled corresponding set meal, if the SIM Card does not handle corresponding set meal, and a kind of situation, the purpose for saving rate, another worse feelings will not be played by dialing IP prefix Condition, higher rate may be generated by dialing IP prefix.
Therefore, it is necessary to judge whether that it is necessary to can in a kind of feasible embodiment for telephone number addition IP prefix To obtain the set meal situation of the SIM card currently to dial, if the SIM, which has been handled, can reach saving by dialing IP prefix accordingly The set meal of rate target, then it is assumed that need to add IP prefix for above-mentioned telephone number.
It is understood that user passes through electronic equipment sometimes sends SIM package query short message, operator to operator The set meal of the SIM card electron equipment or operator can be happened automatically to happen the set meal of the SIM card to electricity Sub- equipment, therefore can be by the short message content of the above-mentioned electronic equipment of reading, to obtain the set meal feelings of the SIM card currently to dial Condition, the present embodiment do not limit this.
In step 105, when needing to be revised as destination number to enjoy the preferential preferred number of rate, by target Number is revised as that the preferential preferred number of rate can be enjoyed, and dials to modified number.
As seen from the above-described embodiment, which can be reduced to standard number the number to be dialed, again should later Standard number, which is revised as that the preferential number of rate can be enjoyed, to be dialed, and is made so as to avoid because of mistake addition IP prefix At significant number neutralize number the case where generation.
As shown in Fig. 2, Fig. 2 is the method that disclosure another kind shown according to an exemplary embodiment makes a phone call number Flow chart, the present embodiment can according to default IP dialing rule to determine whether need for telephone number add IP prefix, institute The method of stating may comprise steps of:
In step 201, whether the number to be dialed of detection has IP prefix.
In step 202, when the number to be dialed has IP prefix, the IP prefix of the number to be dialed is deleted, is obtained Destination number.
In step 203, whether the ownership place for detecting the ownership place of destination number and the SIM card of dialing is identical.
201~step 203 of above-mentioned steps, the present embodiment similar with step 101~step 103 in embodiment illustrated in fig. 1 201~step 203 of above-mentioned steps is repeated no more.
In step 204, when the ownership place of the ownership place of destination number and the SIM card of dialing is not identical, according to default IP dialing rule, judge whether to need to add IP prefix for destination number.
In a kind of feasible embodiment, the generation step of the preset IP dialing rule in the present embodiment be can wrap It includes:
S1 obtains the package information of the SIM card of dialing in advance.
Since each common carrier supports message search set meal function, and will not be received to each common carrier transmission short message It takes expense, therefore present embodiment operator can send package query short message belonging to the SIM card to dialing, is obtained with this The set meal situation of the SIM card;In addition, in present embodiment, receiving, operator is anti-in order to avoid said short message influences user When information feedback, carrying SIM card set meal situation, the short message can be intercepted and captured in system layer, so that the information can not to user See.
In a kind of feasible embodiment, can beginning of the month in every month or when listening to SIM card and changing, upwards The operator for stating SIM card sends package query short message, to understand the set meal situation of SIM card in time.
S2 generates IP dialing rule and saves according to the package information of the SIM card of dialing.
For example the set meal that SIM is handled is the long-distance set meal of China Mobile, then the IP dialing rule generated is " to dial other places number When code, IP prefix 17951 " is added for the number automatically;The set meal that SIM is handled is the long-distance set meal of China Unicom, then generates IP dialing rule is " when dialing nonlocal number, to add IP prefix 17911 " automatically for the number.The IP dialing rule of generation is protected It is stored to electronic equipment, the IP dialing rule can be directly used, to improve dial speed when dialing nonlocal phone.
In another feasible embodiment, present embodiment can also provide the set interface of IP dialing rule, with It rebuilds manually according to demand dialing rule for user.
It is usually optimal dialing pattern in view of being stored in IP dialing rule in electronic equipment, therefore is detecting IP groups When number rule is modified, warning message can be popped up, to prompt this modification operation of user to will affect the expense of subsequent dialing With.Such as when user's mandatory modification IP dialing rule, warning prompt frame is popped up, prompts such operation that may will affect dial charge With.
In step 205, when needing to add IP prefix for destination number, IP prefix is added for destination number, and to adding Number after adding IP prefix is dialed.
As seen from the above-described embodiment, which can be by obtaining the set meal situation of the SIM card of dialing, Lai Shengcheng in advance IP dialing rule, and it is saved in electronic equipment, directly to be judged whether using the IP dialing rule when dialing nonlocal phone It needs to add IP prefix for above-mentioned nonlocal number, to improve dial speed.
Corresponding with the embodiment of the aforementioned method for making a phone call number, the disclosure additionally provides the dress for making a phone call number The embodiment set.
As shown in figure 3, Fig. 3 is a kind of disclosure device for making a phone call number shown according to an exemplary embodiment Block diagram, the apparatus may include:
First detection module 310, is configured as whether the number to be dialed of detection needs to correct;
Correction module 320 is configured as in the case where the testing result of the first detection module 310, which is, is, to institute It states the number to be dialed to be corrected, obtains destination number;
Second detection module 330 is configured as detecting the ownership place of the SIM card of the ownership place of the destination number and dialing It is whether identical;
Judgment module 340 is configured as the judgement in the case where the testing result of second detection module 330 is no Whether need for the destination number to be revised as that the preferential preferred number of rate can be enjoyed;
Dial module 350 is configured as in the case where the judging result of the judgment module 340, which is, is, by the mesh Label code is revised as that the preferential preferred number of rate can be enjoyed, and dials to modified number.
As seen from the above-described embodiment, which can be reduced to standard number the number to be dialed, again should later Standard number, which is revised as that the preferential number of rate can be enjoyed, to be dialed, and is made so as to avoid because of mistake addition IP prefix At significant number neutralize number the case where generation.
As shown in figure 4, Fig. 4 is the device that disclosure another kind shown according to an exemplary embodiment makes a phone call number Block diagram, on the basis of which can be with embodiment shown in Fig. 3, the first detection module 310 may include:
Detection sub-module 311, is configured as whether the number to be dialed of detection has an IP prefix, to be dialed if described Number has IP prefix, then the number to be dialed needs to correct.
As shown in figure 5, Fig. 5 is the device that disclosure another kind shown according to an exemplary embodiment makes a phone call number Block diagram, which can on the basis of the embodiment shown in fig. 4, and the correction module 320 may include:
Correction module 321 is configured as the IP prefix of the number to be dialed described in deleting.
As shown in fig. 6, Fig. 6 is the device that disclosure another kind shown according to an exemplary embodiment makes a phone call number Block diagram, on the basis of which can be with embodiment shown in Fig. 3, the judgment module 340 may include:
First judging submodule 341 is configured as judging whether to need to add IP prefix for the destination number.
As shown in fig. 7, Fig. 7 is the device that disclosure another kind shown according to an exemplary embodiment makes a phone call number Block diagram, on the basis of which can be with embodiment shown in Fig. 6, described device can also include:
Module 410 is obtained, is configured as obtaining the package information of the SIM card of the dialing in advance;
Generation module 420 is configured as the package information of the SIM card according to the dialing, generates IP dialing rule and protects It deposits;
First judging submodule 341 may include:
Second judgment submodule 3411 is configured as judging whether to need for the target according to the IP dialing rule Number adds IP prefix.
As shown in figure 8, Fig. 8 is the device that disclosure another kind shown according to an exemplary embodiment makes a phone call number Block diagram, which can on the basis of the embodiment shown in fig. 7, and the acquisition module 410 may include:
Sending submodule 411 is configured as sending package query short message to the operator of the SIM card in advance;
Information receiving submodule 412, be configured as receiving operator's feedback, carry the SIM card set meal feelings The information of condition, and intercepted and captured in system layer, so that the information is invisible to user.
As shown in figure 9, Fig. 9 is the device that disclosure another kind shown according to an exemplary embodiment makes a phone call number Block diagram, on the basis of which can be with embodiment shown in Fig. 8, the sending submodule 411 may include:
Short message sending submodule 4111 is configured as under following any case:
Beginning of the month of every month or when listening to SIM card and changing, it is short that the operator of Xiang Suoshu SIM card sends package query Letter.
As shown in Figure 10, Figure 10 is the dress that disclosure another kind shown according to an exemplary embodiment makes a phone call number The block diagram set, the embodiment can be on the basis of any embodiments shown in Fig. 7~Fig. 9, and described device can also include:
Pop-up module 510 is configured as when detecting that the IP dialing rule is modified, and pops up warning message, Wherein, the expense that the warning message is used to that this modification operation of user to be prompted to will affect subsequent dialing.
The function of modules and the realization process of effect are specifically detailed in the above method and correspond to step in above-mentioned apparatus Realization process, details are not described herein.
For device embodiment, since it corresponds essentially to embodiment of the method, so related place is referring to method reality Apply the part explanation of example.The apparatus embodiments described above are merely exemplary, wherein described be used as separation unit The unit of explanation may or may not be physically separated, and component shown as a unit can be or can also be with It is not physical unit, it can it is in one place, or may be distributed over multiple network units.It can be according to actual The purpose for needing to select some or all of the modules therein to realize disclosure scheme.Those of ordinary skill in the art are not paying Out in the case where creative work, it can understand and implement.
Correspondingly, the disclosure additionally provides a kind of device for making a phone call number, comprising: processor;It is handled for storage The memory of device executable instruction;Wherein, the processor is configured to: detection the number to be dialed whether need to correct;When The number to be dialed needs timing, is corrected to the number to be dialed, obtains destination number;Detect the mesh Whether the ownership place of the SIM card of the ownership place and dialing of label code is identical;As the ownership place of the destination number and the SIM of dialing When the ownership place of card is not identical, judge whether to need for the destination number to be revised as to enjoy preferential preferred number of rate Code then repairs the destination number if necessary to be revised as the destination number to enjoy the preferential preferred number of rate It is instead able to enjoy the preferential preferred number of rate, and modified number is dialed.
As shown in figure 11, Figure 11 is that the disclosure is shown according to an exemplary embodiment a kind of for making a phone call number One structural schematic diagram of device 1100.For example, device 1100 can be mobile phone, computer, digital broadcast terminal, message receipts Send out equipment, game console, tablet device, Medical Devices, body-building equipment, personal digital assistant, aircraft etc..
Referring to Fig.1 1, device 1100 may include following one or more components: processing component 1102, memory 1104, Power supply module 1106, multimedia component 1108, audio component 1110, the interface 1112 of input/output (I/O), sensor module 1114 and communication component 1116.
The integrated operation of the usual control device 1100 of processing component 1102, such as with display, telephone call, data communication, Camera operation and record operate associated operation.Processing element 1102 may include one or more processors 1120 to execute Instruction, to perform all or part of the steps of the methods described above.In addition, processing component 1102 may include one or more moulds Block, convenient for the interaction between processing component 1102 and other assemblies.For example, processing component 1102 may include multi-media module, To facilitate the interaction between multimedia component 1108 and processing component 1102.
Memory 1104 is configured as storing various types of data to support the operation in equipment 1100.These data Example includes the instruction of any application or method for operating on device 1100, contact data, telephone book data, Message, picture, video etc..Memory 1104 can by any kind of volatibility or non-volatile memory device or they Combination is realized, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), it is erasable can Program read-only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash memory Reservoir, disk or CD.
Electric power assembly 1106 provides electric power for the various assemblies of device 1100.Electric power assembly 1106 may include power management System, one or more power supplys and other with for device 1100 generate, manage, and distribute the associated component of electric power.
Multimedia component 1108 includes the screen of one output interface of offer between device 1100 and user.Some In embodiment, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen It may be implemented as touch screen, to receive input signal from the user.Touch panel includes one or more touch sensors To sense the gesture on touch, slide, and touch panel.Touch sensor can not only sense the boundary of a touch or slide action, But also detection duration and pressure relevant to touch or slide.In some embodiments, multimedia component 1108 Including a front camera and/or rear camera.When equipment 1100 is in operation mode, such as screening-mode or video mode When, front camera and/or rear camera can receive external multi-medium data.Each front camera and postposition camera shooting Head can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 1110 is configured as output and/or input audio signal.For example, audio component 1110 includes a wheat Gram wind (MIC), when device 1100 is in operation mode, when such as call mode, recording mode, and voice recognition mode, microphone quilt It is configured to receive external audio signal.The received audio signal can be further stored in memory 1104 or via communication Component 1116 is sent.In some embodiments, audio component 1111 further includes a loudspeaker, is used for output audio signal.
I/O interface 1112 provides interface, above-mentioned peripheral interface module between processing component 1102 and peripheral interface module It can be keyboard, click wheel, button etc..These buttons may include, but are not limited to: home button, volume button, start button and Locking press button.
Sensor module 1114 includes one or more sensors, and the state for providing various aspects for device 1100 is commented Estimate.For example, sensor module 1114 can detecte the state that opens/closes of equipment 1100, the relative positioning of component, such as institute The display and keypad that component is device 1100 are stated, sensor module 1114 can be with detection device 1100 or device 1,100 1 The position change of a component, the existence or non-existence that user contacts with device 600,1100 orientation of device or acceleration/deceleration and dress Set 1100 temperature change.Sensor module 1114 may include proximity sensor, be configured in not any physics It is detected the presence of nearby objects when contact.Sensor module 1114 can also include optical sensor, as CMOS or ccd image are sensed Device, for being used in imaging applications.In some embodiments, which can also include acceleration sensing Device, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 1116 is configured to facilitate the communication of wired or wireless way between device 1100 and other equipment.Dress The wireless network based on communication standard, such as WiFi can be accessed by setting 1100,2G or 3G or their combination.It is exemplary at one In embodiment, communication component 1116 receives broadcast singal or broadcast correlation from external broadcasting management system via broadcast channel Information.In one exemplary embodiment, the communication component 1116 further includes near-field communication (NFC) module, to promote short distance Communication.For example, radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band can be based in NFC module (UWB) technology, bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 1100 can be by one or more application specific integrated circuit (ASIC), number Signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for executing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided It such as include the memory 1104 of instruction, above-metioned instruction can be executed by the processor 1120 of device 1100 to complete the above method.Example Such as, the non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, soft Disk and optical data storage devices etc..
Those skilled in the art will readily occur to its of the disclosure after considering specification and practicing disclosure disclosed herein Its embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or Person's adaptive change follows the general principles of this disclosure and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by following Claim is pointed out.
It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by the accompanying claims.

Claims (9)

1. a kind of method for making a phone call number, which is characterized in that the described method includes:
Whether the number to be dialed of detection needs to correct;
When the number to be dialed needs timing, the number to be dialed is corrected, destination number is obtained;
Whether the ownership place for detecting the ownership place of the destination number and the SIM card of dialing is identical;
When the ownership place of the ownership place of the destination number and the SIM card of dialing is not identical, judge whether to need the mesh Label code is revised as that the preferential preferred number of rate can be enjoyed, if necessary to be revised as the destination number to enjoy money Take preferential preferred number, be then revised as the destination number that the preferential preferred number of rate can be enjoyed, and to modification after Number dialed;
Whether the number to be dialed of the detection needs to correct, comprising:
Whether the number to be dialed of detection has IP prefix, described to dial if the number to be dialed has IP prefix The number beaten needs to correct;
It is described that the number to be dialed is corrected, comprising:
The IP prefix of the number to be dialed described in deletion;
It is described to judge whether to need for the destination number to be revised as that the preferential preferred number of rate is enjoyed, comprising:
The package information of the SIM card of the dialing is obtained in advance;
According to the package information of the SIM card of the dialing, generates IP dialing rule and save;
According to the IP dialing rule, judge whether to need to add IP prefix for the destination number.
2. the method according to claim 1, wherein the set meal of the SIM card for obtaining the dialing in advance is believed Breath, comprising:
Package query short message is sent to the operator of the SIM card in advance;
Information that the operator feeds back, carrying the SIM card set meal situation is received, and is intercepted and captured in system layer, with Just the information is invisible to user.
3. according to the method described in claim 2, it is characterized in that, under following any case:
Beginning of the month of every month or when listening to SIM card and changing, the operator of Xiang Suoshu SIM card sends package query short message.
4. the method according to claim 1, wherein the method also includes:
When detecting that the IP dialing rule is modified, warning message is popped up, wherein the warning message is used for This modification operation of prompt user will affect the expense of subsequent dialing.
5. a kind of device for making a phone call number, which is characterized in that described device includes:
First detection module, is configured as whether the number to be dialed of detection needs to correct;
Correction module is configured as being dialed in the case where the testing result of the first detection module, which is, is to described Number is corrected, and obtains destination number;
Second detection module, be configured as detecting the ownership place of the destination number and the SIM card of dialing ownership place whether phase Together;
Judgment module is configured as in the case where the testing result of second detection module is no, judge whether to need by The destination number is revised as that the preferential preferred number of rate can be enjoyed;
Dial module is configured as modifying the destination number in the case where the judging result of the judgment module, which is, is For the preferential preferred number of rate can be enjoyed, and modified number is dialed;
The first detection module, comprising:
Detection sub-module, is configured as whether the number to be dialed of detection has IP prefix, if the number band to be dialed There is IP prefix, then the number to be dialed needs to correct;
The correction module, comprising:
Correction module is configured as the IP prefix of the number to be dialed described in deleting;
The judgment module, comprising:
Module is obtained, is configured as obtaining the package information of the SIM card of the dialing in advance;
Generation module is configured as the package information of the SIM card according to the dialing, generates IP dialing rule and saves;
Second judgment submodule is configured as judging whether to need for destination number addition according to the IP dialing rule IP prefix.
6. device according to claim 5, which is characterized in that the acquisition module, comprising:
Sending submodule is configured as sending package query short message to the operator of the SIM card in advance;
Information receiving submodule is configured as receiving letter that the operator feeds back, carrying the SIM card set meal situation Breath, and intercepted and captured in system layer, so that the information is invisible to user.
7. device according to claim 6, which is characterized in that the sending submodule, comprising:
Short message sending submodule is configured as under following any case:
Beginning of the month of every month or when listening to SIM card and changing, the operator of Xiang Suoshu SIM card sends package query short message.
8. device according to claim 5, which is characterized in that described device further include:
Pop-up module is configured as when detecting that the IP dialing rule is modified, and pops up warning message, wherein institute Warning message is stated for prompting this modification operation of user to will affect the expense of subsequent dialing.
9. a kind of device for making a phone call number characterized by comprising
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
Whether the number to be dialed of detection needs to correct;
When the number to be dialed needs timing, the number to be dialed is corrected, destination number is obtained;
Whether the ownership place for detecting the ownership place of the destination number and the SIM card of dialing is identical;
When the ownership place of the ownership place of the destination number and the SIM card of dialing is not identical, judge whether to need the mesh Label code is revised as that the preferential preferred number of rate can be enjoyed, if necessary to be revised as the destination number to enjoy money Take preferential preferred number, be then revised as the destination number that the preferential preferred number of rate can be enjoyed, and to modification after Number dialed;
Whether the number to be dialed of the detection needs to correct, comprising:
Whether the number to be dialed of detection has IP prefix, described to dial if the number to be dialed has IP prefix The number beaten needs to correct;
It is described that the number to be dialed is corrected, comprising:
The IP prefix of the number to be dialed described in deletion;
It is described to judge whether to need for the destination number to be revised as that the preferential preferred number of rate is enjoyed, comprising:
The package information of the SIM card of the dialing is obtained in advance;
According to the package information of the SIM card of the dialing, generates IP dialing rule and save;
According to the IP dialing rule, judge whether to need to add IP prefix for the destination number.
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 CN105744036A (en) 2016-07-06
CN105744036B true 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)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106603798B (en) * 2017-02-24 2020-03-17 珠海市魅族科技有限公司 Dynamic display method of mobile phone number in address list and mobile terminal

Family Cites Families (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
US8483716B1 (en) * 2011-04-01 2013-07-09 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
CN103516916B (en) * 2012-06-28 2018-03-27 中兴通讯股份有限公司 Dialing method and device

Also Published As

Publication number Publication date
CN105744036A (en) 2016-07-06

Similar Documents

Publication Publication Date Title
EP3065428B1 (en) Method and device for displaying wifi list
CN104318741B (en) Bluetooth equipment control method and device
US8886260B2 (en) Terminal and call providing method thereof
KR101789783B1 (en) Method, apparatus, program, and recording medium for prompting call
CN105306752B (en) The method and device that generation event is reminded
CN105246068B (en) SIM card selection method and device
CN105354017B (en) Information processing method and device
CN105549960B (en) Control the method and device of camera
CN105228201B (en) The switching method and device of relay router
CN110249655B (en) Method and device for reporting error reasons
CN105049763B (en) Trigger the method and device of projection
EP3291508A1 (en) Message pushing method and device, and terminal equipment
CN105488829B (en) Generate the method and device of head portrait
KR101688176B1 (en) Method, apparatus, terminal, program, and recording medium for call transfer
CN105630447B (en) Adjust the method and device of text importing
CN106027361B (en) Information display method and device
CN106506775A (en) Show method and device, the terminal device of contacts list
CN104298576B (en) terminal test method and device
CN105744036B (en) Make a phone call the method and device of number
CN105119984B (en) Send the method and device of file
CN105100410B (en) It polymerize the method and device of third party's phone application
CN104615743B (en) Image display method and device
CN106453264B (en) A kind of method and apparatus of login application program
CN106657573B (en) Reminding method and device
CN105430260B (en) Obtain the method and device of video image

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