CN105847506B - Communication means, device and the mobile terminal of mobile terminal - Google Patents
Communication means, device and the mobile terminal of mobile terminal Download PDFInfo
- Publication number
- CN105847506B CN105847506B CN201610153966.8A CN201610153966A CN105847506B CN 105847506 B CN105847506 B CN 105847506B CN 201610153966 A CN201610153966 A CN 201610153966A CN 105847506 B CN105847506 B CN 105847506B
- Authority
- CN
- China
- Prior art keywords
- telephone number
- sim card
- preset
- length
- length information
- 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.)
- Expired - Fee Related
Links
- 238000004891 communication Methods 0.000 title claims abstract description 30
- 238000013507 mapping Methods 0.000 claims abstract description 40
- 238000000034 method Methods 0.000 claims abstract description 16
- 239000000284 extract Substances 0.000 claims description 7
- 230000005611 electricity Effects 0.000 claims description 6
- 238000000605 extraction Methods 0.000 claims description 3
- 230000006870 function Effects 0.000 description 10
- 238000010586 diagram Methods 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 230000008901 benefit Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 239000000463 material Substances 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 235000013399 edible fruits Nutrition 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 210000003733 optic disk Anatomy 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/26—Devices for calling a subscriber
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/18—Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W88/00—Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
- H04W88/02—Terminal devices
- H04W88/06—Terminal devices adapted for operation in multiple networks or having at least two operational modes, e.g. multi-mode terminals
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Computer Networks & Wireless Communication (AREA)
- Telephone Function (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The present invention proposes the communication means, device and mobile terminal of a kind of mobile terminal, wherein the mobile terminal includes multiple client identification module SIM cards, be the described method comprises the following steps: receiving the telephone number of user's input;Obtain the length information of the telephone number;Judge whether the telephone number belongs to preset kind according to the length information;If the telephone number belongs to preset kind, the corresponding SIM card of the preset kind is determined according to the mapping relations pre-established, and dial to the telephone number using the SIM card.The communication means of mobile terminal of the invention can directly select corresponding SIM card according to the type that user inputs number and dial, dial more convenient, quick.
Description
Technical field
The present invention relates to technical field of mobile terminals, in particular to a kind of communication means of mobile terminal, device and movement
Terminal.
Background technique
With the continuous development of mobile terminal technology, more and more mobile terminals can be filled there are two SIM (Subscriber
Identity Module client identification module) card.This just needs user to select from two or more SIM cards when making a phone call
One is selected to dial.Currently, mobile terminal, which can prompt user to preset, dials SIM card used in each number, thus
When user makes a phone call, can directly be dialled according to the SIM set to the number of input.Or mobile terminal is in user
When making a phone call, prompts user to select one from multiple SIM cards and dial.
However, above two mode, either user are set in advance, or prompt user selects when making a phone call
It selects, requires user and manually set or select the SIM card used when dialing, mode of operation is cumbersome, to the use of user
It makes troubles.
Summary of the invention
The present invention is directed to solve above-mentioned technical problem at least to a certain extent.
For this purpose, the first purpose of this invention is to propose a kind of communication means of mobile terminal, it can be defeated according to user
The type for entering number directly selects corresponding SIM card and dials, and dials more convenient, quick.
Second object of the present invention is to propose a kind of communication device of mobile terminal.
Third object of the present invention is to propose a kind of mobile terminal.
Fourth object of the present invention is to propose a kind of mobile terminal.
In order to achieve the above object, embodiment proposes a kind of communication means of mobile terminal, institute according to a first aspect of the present invention
Stating mobile terminal includes multiple client identification module SIM cards, be the described method comprises the following steps: receiving the phone number of user's input
Code;Obtain the length information of the telephone number;Judge whether the telephone number belongs to default class according to the length information
Type;If the telephone number belongs to preset kind, determine that the preset kind is corresponding according to the mapping relations pre-established
SIM card, and dialled using the SIM card to the telephone number.
The communication means of the mobile terminal of the embodiment of the present invention can obtain the length information of the telephone number of user's input,
And judge whether the telephone number belongs to preset kind according to length information, and determine according to the preset kind that telephone number belongs to
Corresponding SIM card, and dial.Corresponding SIM card is directly selected thereby, it is possible to the type for inputting number according to user to carry out
Dialing, is not required to user and binds or select manually, dials more convenient, quick.
Second aspect of the present invention embodiment provides a kind of communication device of mobile terminal, and the mobile terminal includes multiple
Client identification module SIM card, described device include: receiving module, for receiving the telephone number of user's input;First obtains mould
Block, for obtaining the length information of the telephone number;Judgment module, for judging the phone number according to the length information
Whether code belongs to preset kind;Determining module, if belonging to preset kind for the telephone number, according to what is pre-established
Mapping relations determine the corresponding SIM card of the preset kind;Dial module, for using the SIM card to the telephone number
It dials.
The communication device of the mobile terminal of the embodiment of the present invention can obtain the length information of the telephone number of user's input,
And judge whether the telephone number belongs to preset kind according to length information, and determine according to the preset kind that telephone number belongs to
Corresponding SIM card, and dial.Corresponding SIM card is directly selected thereby, it is possible to the type for inputting number according to user to carry out
Dialing, is not required to user and binds or select manually, dials more convenient, quick.
Third aspect present invention embodiment provides a kind of mobile terminal, including second aspect of the present invention any embodiment
The communication device of mobile terminal.
The mobile terminal of the embodiment of the present invention can obtain the length information of the telephone number of user's input, and according to length
Information judges whether the telephone number belongs to preset kind, and determines corresponding SIM according to the preset kind that telephone number belongs to
Card, and dial.Corresponding SIM card is directly selected thereby, it is possible to the type for inputting number according to user to dial, and is not required to
User binds or selects manually, dials more convenient, quick.
Fourth aspect present invention embodiment provides a kind of mobile terminal, comprising: processor;It can be held for storage processor
The memory of row instruction;Wherein, the processor is configured to: receive user input telephone number;Obtain the phone number
The length information of code;Judge whether the telephone number belongs to preset kind according to the length information;If the phone number
Code belongs to preset kind, then determines the corresponding SIM card of the preset kind according to the mapping relations pre-established, and described in use
SIM card dials to the telephone number.
The mobile terminal of the embodiment of the present invention can obtain the length information of the telephone number of user's input, and according to length
Information judges whether the telephone number belongs to preset kind, and determines corresponding SIM according to the preset kind that telephone number belongs to
Card, and dial.Corresponding SIM card is directly selected thereby, it is possible to the type for inputting number according to user to dial, and is not required to
User binds or selects manually, dials more convenient, quick.
Additional aspect and advantage of the invention will be set forth in part in the description, and will partially become from the following description
Obviously, or practice through the invention is recognized.
Detailed description of the invention
Above-mentioned and/or additional aspect of the invention and advantage will become from the description of the embodiment in conjunction with the following figures
Obviously and it is readily appreciated that, in which:
Fig. 1 is the flow chart according to the communication means of the mobile terminal of one embodiment of the invention;
Fig. 2 is the schematic diagram according to the message registration of the mobile terminal of one embodiment of the invention;
Fig. 3 is the flow chart according to the communication means of the mobile terminal of another embodiment of the present invention;
Fig. 4 is the structural schematic diagram according to the communication device of the mobile terminal of one embodiment of the invention;
Fig. 5 is the structural schematic diagram according to the communication device of the mobile terminal of another embodiment of the present invention.
Specific embodiment
The embodiment of the present invention is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning to end
Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attached
The embodiment of figure description is exemplary, and for explaining only the invention, and is not considered as limiting the invention.
Below with reference to the accompanying drawings the communication means, device and mobile terminal of mobile terminal according to an embodiment of the present invention are described.
Fig. 1 is the flow chart according to the communication means of the mobile terminal of one embodiment of the invention.
As shown in Figure 1, the communication means of mobile terminal according to an embodiment of the present invention, comprising the following steps:
S101 receives the telephone number of user's input.
In embodiments of the present invention, the mode of the telephone number of user's input may include but be not limited to key-press input, voice
The modes such as input, handwriting input, touch operation.
S102 obtains the length information of the telephone number.
In an embodiment of the present invention, the length information of telephone number can be obtained in the following manner:
Mode one
During user inputs telephone number, the length of telephone number is recorded in real time according to the input operation of user.
That is, the length of telephone number is then added 1 accordingly with the every input one-bit digital of user.
Mode two
When user inputs number completion and process dial-up operation, the telephone number that user has inputted is obtained, and count electricity
Number digital in number is talked about, to obtain the length information of telephone number.
S103 judges whether the telephone number belongs to preset kind according to length information.
It makes a phone call and the use habit of telephone number according to user is daily, for some special telephone numbers, uses
Family would generally use fixed SIM card to dial.For example, in general, phone number or fixed telephone number+area
Number length be 11.However, some user groups can establish a group, such as campus group, group, enterprise, group, family
Deng.Corresponding short codes can be respectively set in each user in group.When user needs to dial short codes, in general, use
The corresponding SIM card of short codes that family will use oneself dials.As shown in Fig. 2, the telephone number that frame is selected generally all uses
SIM card A dials.Either for some toll numbers or international telephone number, it can add before phone number
Enter the telephone number of IP number or country code or area code is added, when dialing this kind of telephone number, user wishes to make
It is dialled with the SIM card with preferential policy or support corresponding function.
That is, user can generally select the SIM fixed accordingly to carry out for the telephone number of some specific lengths
Dialing.It therefore, in one embodiment of the invention, can be using the length information of telephone number as a feature, by phone number
Code is divided into different preset kinds.
Wherein, preset kind may include the first kind and Second Type.Wherein, the first kind corresponds to length information and is less than in advance
If the telephone number of length, Second Type corresponds to the telephone number that length information is greater than preset length.Wherein, preset length can be set
It is set to 11.It should be appreciated that preset length under other application scenarios, can also be set as other length according to actual needs.It lifts
For example, in some countries, telephone number length is generally shorter, then can accordingly turn down preset length.
After obtaining the length information of telephone number of user's input, the telephone number can be judged according to length information whether
Belong to preset kind.Specifically, it can determine whether the length information of the telephone number is less than preset length, if length information is small
It in preset length, then can determine whether that the telephone number belongs to the first kind, if length information is less than preset length, can determine whether electricity
Words number belongs to Second Type.
It should be noted that if the length information of telephone number be equal to preset length, the telephone number do not have pair
Common SIM card is answered, the SIM card information in the mobile terminal can be supplied to user, to select to dial as needed by user
The SIM card of the telephone number.
S104 determines default class according to the mapping relations pre-established if the telephone number belongs to preset kind
The corresponding SIM card of type, and dialled using the SIM card to the telephone number.
Wherein, include multiple SIM cards in mobile terminal, the telephone number and SIM card of different preset kinds can be pre-established
Corresponding mapping relations.And then corresponding SIM card can be determined according to the preset kind that the telephone number that user inputs belongs to, it goes forward side by side
Row dialing.
Specifically, if the telephone number of user's input belongs to the first kind, such as short codes, then it can inquire and pre-establish
Type and SIM card mapping relations, to determine the corresponding SIM card of the first kind, and dialled using the SIM card inquired
Number.
If the telephone number of user's input belongs to Second Type, Second Type pair can be inquired in above-mentioned mapping relations
The SIM card answered, and dialled using the SIM card inquired.
Further, for the telephone number of Second Type, length is greater than preset length therefore can be according to phone number
Telephone number further division of the number for the number position being had more in code to Second Type.
Specifically, in one embodiment of the invention, if the telephone number belongs to the second preset kind, basis
The mapping relations pre-established determine the corresponding SIM card of preset kind, comprising: extract the number of predeterminated position in the telephone number
Word;Corresponding SIM card is determined according to the number of predeterminated position.
Wherein, the number of predeterminated position is the number in the telephone number of user's input in addition to regular numbers.Due to
The telephone number of two types mainly increases IP number (such as 17951,17950,17969), national generation before regular numbers
Code (if the code of China is 86) or area code (code of such as Hong Kong Special Administrative Region is 852), and regular numbers are general
For preset length.Therefore, the number position that preset length can be taken since the telephone number tail position that user inputs, is left remaining number
Code bit is the number in addition to regular numbers.
After number in the telephone number for extracting user's input in addition to regular numbers, can further it judge except conventional
The corresponding classification of number except number then can be according to the mapping relations pre-established if it is IP number class, the determining and IP
The corresponding SIM card of number, and dial.It, then can be according to determining and respective country if it is country code or area code
Or the corresponding SIM card in region, and dial.
In one embodiment of the invention, can be made for user in the telephone number dialed in each preset kind
SIM card is learnt, to establish the mapping relations of different preset kinds and SIM card.Specifically, preset kind and SIM card
Mapping relations can be established according to the message registration of mobile terminal.
In the embodiment of the present invention, above-mentioned mapping relations can carry out self study simultaneously previously according to the message registration of mobile terminal
It establishes.As shown in figure 3, in one embodiment of the invention, the step of may also include following set-up above-mentioned mapping relations.
S301 obtains the message registration of mobile terminal.
Due to situations such as during being dialled using mobile terminal, there are number inputting errors, therefore, in order to mention
The accuracy of high above-mentioned mapping relations can obtain the permissible call record of mobile terminal, i.e., user successfully transfers to, and is successfully established
The message registration of call.
S302 extracts the multiple telephone numbers transferred to from message registration and dials multiple telephone numbers respectively
SIM card.
S303 extracts the length information of multiple telephone numbers.
S304 classifies to multiple telephone numbers according to length information, to preset belonging to each telephone number of determination
Type.
Specifically, can according to the length information of each telephone number compared with preset length to the multiple phones transferred to
Number is classified.For example, the telephone number that will be greater than preset length is divided into Second Type, the phone of preset length will be less than
Number is divided into the first kind.
S305 establishes preset kind according to the corresponding SIM card of telephone number in classification results and each preset kind
With the mapping relations of SIM card.
For example, it dials if the telephone number of the first kind mainly passes through SIM card 1, and Second Type
Telephone number mainly passes through SIM card 2 and dials, then can establish first kind corresponding SIM card 1, Second Type corresponding SIM card
2 mapping relations.
It further, can also be for country code included in the telephone number of Second Type, area code, IP number
Corresponding SIM card is determined respectively etc. different classes of, and establishes mapping relations.
To be learnt by the message registration to mobile terminal, the different type and SIM of Intelligent Establishment telephone number
The mapping relations of card, so that the type of the subsequent telephone number according to user's input determines that corresponding SIM card dials.
The communication means of the mobile terminal of the embodiment of the present invention can obtain the length information of the telephone number of user's input,
And judge whether the telephone number belongs to preset kind according to length information, and determine according to the preset kind that telephone number belongs to
Corresponding SIM card, and dial.Corresponding SIM card is directly selected thereby, it is possible to the type for inputting number according to user to carry out
Dialing, is not required to user and binds or select manually, dials more convenient, quick.
Corresponding with the communication means of above-mentioned mobile terminal, the present invention also proposes a kind of communication device of mobile terminal.
Fig. 4 is the structural schematic diagram according to the communication device of the mobile terminal of one embodiment of the invention.
As shown in figure 4, the communication device of mobile terminal according to an embodiment of the present invention, comprising: receiving module 1, first are obtained
Modulus block 2, judgment module 3, determining module 4 and dial module 5.
Specifically, receiving module 1 is used to receive the telephone number of user's input.
In embodiments of the present invention, the mode of the telephone number of user's input may include but be not limited to key-press input, voice
The modes such as input, handwriting input, touch operation.
First acquisition module 2 is used to obtain the length information of the telephone number.
In an embodiment of the present invention, the first acquisition module 2 can obtain the length information of telephone number in the following manner:
Mode one
During user inputs telephone number, the length of telephone number is recorded in real time according to the input operation of user.
That is, the length of telephone number is then added 1 accordingly with the every input one-bit digital of user.
Mode two
When user inputs number completion and process dial-up operation, the telephone number that user has inputted is obtained, and count electricity
Number digital in number is talked about, to obtain the length information of telephone number.
Judgment module 3 is used to judge whether the telephone number belongs to preset kind according to length information.
It makes a phone call and the use habit of telephone number according to user is daily, for some special telephone numbers, uses
Family would generally use fixed SIM card to dial.For example, in general, phone number or fixed telephone number+area
Number length be 11.However, some user groups can establish a group, such as campus group, group, enterprise, group, family
Deng.Corresponding short codes can be respectively set in each user in group.When user needs to dial short codes, in general, use
The corresponding SIM card of short codes that family will use oneself dials.As shown in Fig. 2, the telephone number that frame is selected generally all uses
SIM card A dials.Either for some toll numbers or international telephone number, it can add before phone number
Enter the telephone number of IP number or country code or area code is added, when dialing this kind of telephone number, user wishes to make
It is dialled with the SIM card with preferential policy or support corresponding function.
That is, user can generally select the SIM fixed accordingly to carry out for the telephone number of some specific lengths
Dialing.It therefore, in one embodiment of the invention, can be using the length information of telephone number as a feature, by phone number
Code is divided into different preset kinds.
Wherein, preset kind may include the first kind and Second Type.Wherein, the first kind corresponds to length information and is less than in advance
If the telephone number of length, Second Type corresponds to the telephone number that length information is greater than preset length.Wherein, preset length can be set
It is set to 11.It should be appreciated that preset length under other application scenarios, can also be set as other length according to actual needs.It lifts
For example, in some countries, telephone number length is generally shorter, then can accordingly turn down preset length.
After obtaining the length information of telephone number of user's input, the telephone number can be judged according to length information whether
Belong to preset kind.Specifically, judgment module 3 can determine whether the length information of the telephone number is less than preset length, if
Length information is less than preset length, then can determine whether that the telephone number belongs to the first kind, if length information is less than preset length,
It then can determine whether that telephone number belongs to Second Type.
It should be noted that if the length information of telephone number be equal to preset length, the telephone number do not have pair
Common SIM card is answered, the SIM card information in the mobile terminal can be supplied to user, to select to dial as needed by user
The SIM card of the telephone number.
It is true according to the mapping relations pre-established if determining module 4 belongs to preset kind for the telephone number
Determine the corresponding SIM card of preset kind.
Wherein, include multiple SIM cards in mobile terminal, the telephone number and SIM card of different preset kinds can be pre-established
Corresponding mapping relations.And then corresponding SIM card can be determined according to the preset kind that the telephone number that user inputs belongs to, it carries out
Dialing.
Specifically, if the telephone number of user's input belongs to the first kind, such as short codes, it is determined that module 4 can be looked into
The mapping relations of the type and SIM card that pre-establish are ask, to determine the corresponding SIM card of the first kind.
If the telephone number of user's input belongs to Second Type, it is determined that module 4 can inquire in above-mentioned mapping relations
The corresponding SIM card of Second Type.
Further, for the telephone number of Second Type, length is greater than preset length therefore can be according to phone number
Telephone number further division of the number for the number position being had more in code to Second Type.
Specifically, in one embodiment of the invention, if the telephone number belongs to the second preset kind, it is determined that
Module 4 can be used for: extract the number of predeterminated position in the telephone number;Corresponding SIM is determined according to the number of predeterminated position
Card.
Wherein, the number of predeterminated position is the number in the telephone number of user's input in addition to regular numbers.Due to
The telephone number of two types mainly increases IP number (such as 17951,17950,17969), national generation before regular numbers
Code (if the code of China is 86) or area code (code of such as Hong Kong Special Administrative Region is 852), and regular numbers are general
For preset length.Therefore, the number position that preset length can be taken since the telephone number tail position that user inputs, is left remaining number
Code bit is the number in addition to regular numbers.
After number in the telephone number for extracting user's input in addition to regular numbers, can further it judge except conventional
The corresponding classification of number except number then can be according to the mapping relations pre-established if it is IP number class, the determining and IP
The corresponding SIM card of number, and dial.It, then can be according to determining and respective country if it is country code or area code
Or the corresponding SIM card in region.
Dial module 5 is for dialling to the telephone number using the SIM card.
The communication device of the mobile terminal of the embodiment of the present invention can obtain the length information of the telephone number of user's input,
And judge whether the telephone number belongs to preset kind according to length information, and determine according to the preset kind that telephone number belongs to
Corresponding SIM card, and dial.Corresponding SIM card is directly selected thereby, it is possible to the type for inputting number according to user to carry out
Dialing, is not required to user and binds or select manually, dials more convenient, quick.
In one embodiment of the invention, can be made for user in the telephone number dialed in each preset kind
SIM card is learnt, to establish the mapping relations of different preset kinds and SIM card.Specifically, preset kind and SIM card
Mapping relations can be established according to the message registration of mobile terminal.
In the embodiment of the present invention, above-mentioned mapping relations can carry out self study simultaneously previously according to the message registration of mobile terminal
It establishes.As shown in figure 5, the communication device of the mobile terminal of the embodiment of the present invention, may also include that on the basis of shown in Fig. 4
Two acquisition modules 6, extraction module 7, third obtain module 8, categorization module 9 and establish module 10.
Second acquisition module 6 is used to obtain the message registration of mobile terminal.
Due to situations such as during being dialled using mobile terminal, there are number inputting errors, therefore, in order to mention
The accuracy of high above-mentioned mapping relations, the second acquisition module 6 can obtain the permissible call record of mobile terminal, i.e., user successfully dials
Out, and it is successfully established the message registration of call.
Extraction module 7 from message registration for extracting the multiple telephone numbers transferred to and dialing multiple electricity respectively
Talk about the SIM card of number.
Third obtains the length information that module 8 is used to obtain multiple telephone numbers.
Categorization module 9 is for classifying to multiple telephone numbers according to length information, with each telephone number institute of determination
The preset kind of category.
Specifically, categorization module 9 can according to the length information of each telephone number compared with preset length to having transferred to
Multiple telephone numbers classify.For example, the telephone number that will be greater than preset length is divided into Second Type, will be less than default
The telephone number of length is divided into the first kind.
Module 10 is established for establishing according to the corresponding SIM card of telephone number in classification results and each preset kind
The mapping relations of preset kind and SIM card.
For example, it dials if the telephone number of the first kind mainly passes through SIM card 1, and Second Type
Telephone number mainly passes through SIM card 2 and dials, then first kind corresponding SIM card 1, the second class can be established by establishing module 10
The mapping relations of type corresponding SIM card 2.
Further, establishing module 10 can also be for country code included in the telephone number of Second Type, region
Code, IP number etc. are different classes of to determine corresponding SIM card respectively, and establishes mapping relations.
To be learnt by the message registration to mobile terminal, the different type and SIM of Intelligent Establishment telephone number
The mapping relations of card, so that the type of the subsequent telephone number according to user's input determines that corresponding SIM card dials.
Corresponding with above-described embodiment, the present invention also proposes a kind of mobile terminal.
The mobile terminal of the embodiment of the present invention, the communication device of the mobile terminal including any embodiment of the present invention.
Mobile terminal according to an embodiment of the present invention, can obtain user input telephone number length information, and according to
Length information judges whether the telephone number belongs to preset kind, and is determined according to the preset kind that telephone number belongs to corresponding
SIM card, and dial.Corresponding SIM card is directly selected thereby, it is possible to the type for inputting number according to user to dial,
It is not required to user to bind or select manually, dial more convenient, quick.
Mobile terminal in accordance with another embodiment of the present invention, comprising: processor;For storage processor executable instruction
Memory;Wherein, processor is configured as: receiving the telephone number of user's input;Obtain the length letter of the telephone number
Breath;Judge whether the telephone number belongs to preset kind according to length information;If the telephone number belongs to preset kind,
The corresponding SIM card of preset kind then is determined according to the mapping relations pre-established, and using the SIM card to the telephone number
It dials.
Mobile terminal according to an embodiment of the present invention, can obtain user input telephone number length information, and according to
Length information judges whether the telephone number belongs to preset kind, and is determined according to the preset kind that telephone number belongs to corresponding
SIM card, and dial.Corresponding SIM card is directly selected thereby, it is possible to the type for inputting number according to user to dial,
It is not required to user to bind or select manually, dial more convenient, quick.
Any process described otherwise above or method description are construed as in flow chart or herein, and expression includes
It is one or more for realizing specific logical function or process the step of executable instruction code module, segment or portion
Point, and the range of the preferred embodiment of the present invention includes other realization, wherein can not press shown or discussed suitable
Sequence, including according to related function by it is basic simultaneously in the way of or in the opposite order, Lai Zhihang function, this should be of the invention
Embodiment person of ordinary skill in the field understood.
Expression or logic and/or step described otherwise above herein in flow charts, for example, being considered use
In the order list for the executable instruction for realizing logic function, may be embodied in any computer-readable medium, for
Instruction execution system, device or equipment (such as computer based system, including the system of processor or other can be held from instruction
The instruction fetch of row system, device or equipment and the system executed instruction) it uses, or combine these instruction execution systems, device or set
It is standby and use.For the purpose of this specification, " computer-readable medium ", which can be, any may include, stores, communicates, propagates or pass
Defeated program is for instruction execution system, device or equipment or the dress used in conjunction with these instruction execution systems, device or equipment
It sets.The more specific example (non-exhaustive list) of computer-readable medium include the following: there is the electricity of one or more wirings
Interconnecting piece (electronic device), portable computer diskette box (magnetic device), random access memory (RAM), read-only memory
(ROM), erasable edit read-only storage (EPROM or flash memory), fiber device and portable optic disk is read-only deposits
Reservoir (CDROM).In addition, computer-readable medium can even is that the paper that can print described program on it or other are suitable
Medium, because can then be edited, be interpreted or when necessary with it for example by carrying out optical scanner to paper or other media
His suitable method is handled electronically to obtain described program, is then stored in computer storage.
It should be appreciated that each section of the invention can be realized with hardware, software, firmware or their combination.Above-mentioned
In embodiment, software that multiple steps or method can be executed in memory and by suitable instruction execution system with storage
Or firmware is realized.It, and in another embodiment, can be under well known in the art for example, if realized with hardware
Any one of column technology or their combination are realized: having a logic gates for realizing logic function to data-signal
Discrete logic, with suitable combinational logic gate circuit specific integrated circuit, programmable gate array (PGA), scene
Programmable gate array (FPGA) etc..
Those skilled in the art are understood that realize all or part of step that above-described embodiment method carries
It suddenly is that relevant hardware can be instructed to complete by program, the program can store in a kind of computer-readable storage medium
In matter, which when being executed, includes the steps that one or a combination set of embodiment of the method.
It, can also be in addition, each functional unit in each embodiment of the present invention can integrate in a processing module
It is that each unit physically exists alone, can also be integrated in two or more units in a module.Above-mentioned integrated mould
Block both can take the form of hardware realization, can also be realized in the form of software function module.The integrated module is such as
Fruit is realized and when sold or used as an independent product in the form of software function module, also can store in a computer
In read/write memory medium.
Storage medium mentioned above can be read-only memory, disk or CD etc..
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show
The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example
Point is included at least one embodiment or example of the invention.In the present specification, schematic expression of the above terms are not
Centainly refer to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be any
One or more embodiment or examples in can be combined in any suitable manner.
Although an embodiment of the present invention has been shown and described, it will be understood by those skilled in the art that: not
A variety of change, modification, replacement and modification can be carried out to these embodiments in the case where being detached from the principle of the present invention and objective, this
The range of invention is by claim and its equivalent limits.
Claims (10)
1. a kind of communication means of mobile terminal, which is characterized in that the mobile terminal includes multiple client identification module SIM
Card, the described method comprises the following steps:
Receive the telephone number of user's input;
Obtain the length information of the telephone number;
Judge whether the telephone number belongs to preset kind according to the length information;
If the telephone number belongs to preset kind, determine that the preset kind is corresponding according to the mapping relations pre-established
SIM card, and dialled using the SIM card to the telephone number;
Wherein, the preset kind includes Second Type, if the length information is greater than preset length, judges the phone
Number belongs to the Second Type, if the telephone number belongs to the Second Type, extracts pre- in the telephone number
If the number of position, and corresponding SIM card is determined according to the number of the predeterminated position, wherein the length of regular numbers is described
Preset length, the number of the predeterminated position are preset length described in the telephone number tail position beginning that inputs from the user
Remaining number position except number position, the number according to the predeterminated position determine that corresponding SIM card includes:
Judge the corresponding classification of number of the predeterminated position, the classification includes IP number, country code or area code;
Corresponding SIM card is determined according to the corresponding classification of number of the predeterminated position, wherein the different classes of predeterminated position
The corresponding SIM card of number is different.
2. the method as described in claim 1, which is characterized in that the preset kind further includes the first kind, described according to institute
It states length information and judges whether the telephone number belongs to preset kind, further includes:
Judge whether the length information is less than preset length;
If the length information is less than preset length, judge that the telephone number belongs to the first kind.
3. the method according to claim 1, which is characterized in that wherein, the mapping relations are according to the movement
The message registration of terminal is established.
4. the method according to claim 1, which is characterized in that further include:
Obtain the message registration of the mobile terminal;
The multiple telephone numbers transferred to are extracted from the message registration and dial the multiple telephone number respectively
SIM card;
Extract the length information of the multiple telephone number;
Classified according to the length information to the multiple telephone number, with default class belonging to each telephone number of determination
Type;
Preset kind and SIM card are established according to the corresponding SIM card of telephone number in classification results and each preset kind
Mapping relations.
5. a kind of communication device of mobile terminal, which is characterized in that the mobile terminal includes multiple client identification module SIM
Card, described device include:
Receiving module, for receiving the telephone number of user's input;
First obtains module, for obtaining the length information of the telephone number;
Judgment module, for judging whether the telephone number belongs to preset kind according to the length information;
Determining module determines institute according to the mapping relations pre-established if belonging to preset kind for the telephone number
State the corresponding SIM card of preset kind;
Dial module, for being dialled using the SIM card to the telephone number;
Wherein, the preset kind includes the first kind, and the judgment module is also used to be greater than default length in the length information
When spending, judge that the telephone number belongs to Second Type, the determining module is also used to belong to described in the telephone number
When two types, the number of predeterminated position in the telephone number is extracted, and is determined according to the number of the predeterminated position corresponding
SIM card, wherein the length of regular numbers is the preset length, and the number of the predeterminated position is the electricity inputted from the user
Talk about remaining number position except the number position of preset length described in the beginning of number tail position;
The determining module is also used to judge the corresponding classification of number of the predeterminated position, and the classification includes IP number, state
Family's code or area code;Corresponding SIM card is determined according to the corresponding classification of number of the predeterminated position, wherein inhomogeneity
The corresponding SIM card of number of other predeterminated position is different.
6. device as claimed in claim 5, which is characterized in that the preset kind further includes the first kind, the judgement mould
Block is also used to:
Judge whether the length information is less than preset length;
When the length information is less than preset length, judge that the telephone number belongs to the first kind.
7. such as the described in any item devices of claim 5-6, which is characterized in that wherein, the mapping relations are according to the movement
The message registration of terminal is established.
8. such as the described in any item devices of claim 5-6, which is characterized in that further include:
Second obtains module, for obtaining the message registration of the mobile terminal;
Extraction module, for the multiple telephone numbers transferred to are extracted from the message registration and respectively dial it is described more
The SIM card of a telephone number;
Third obtains module, for obtaining the length information of the multiple telephone number;
Categorization module, for being classified according to the length information to the multiple telephone number, with each phone number of determination
Preset kind belonging to code;
Module is established, it is default for being established according to the corresponding SIM card of telephone number in classification results and each preset kind
The mapping relations of type and SIM card.
9. a kind of mobile terminal, which is characterized in that the communication dress including such as described in any item mobile terminals of claim 5-8
It sets.
10. a kind of mobile terminal characterized by comprising
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
Receive the telephone number of user's input;
Obtain the length information of the telephone number;
Judge whether the telephone number belongs to preset kind according to the length information;
If the telephone number belongs to preset kind, determine that the preset kind is corresponding according to the mapping relations pre-established
SIM card, and dialled using the SIM card to the telephone number;
Wherein, the preset kind includes Second Type, if the length information is greater than preset length, judges the phone
Number belongs to the Second Type, if the telephone number belongs to the Second Type, extracts pre- in the telephone number
If the number of position, and corresponding SIM card is determined according to the number of the predeterminated position, wherein the length of regular numbers is described
Preset length, the number of the predeterminated position are preset length described in the telephone number tail position beginning that inputs from the user
Remaining number position except number position, the number according to the predeterminated position determine that corresponding SIM card includes:
Judge the corresponding classification of number of the predeterminated position, the classification includes IP number, country code or area code;
Corresponding SIM card is determined according to the corresponding classification of number of the predeterminated position, wherein the different classes of predeterminated position
The corresponding SIM card of number is different.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610153966.8A CN105847506B (en) | 2016-03-17 | 2016-03-17 | Communication means, device and the mobile terminal of mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610153966.8A CN105847506B (en) | 2016-03-17 | 2016-03-17 | Communication means, device and the mobile terminal of mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105847506A CN105847506A (en) | 2016-08-10 |
CN105847506B true CN105847506B (en) | 2019-05-17 |
Family
ID=56587260
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610153966.8A Expired - Fee Related CN105847506B (en) | 2016-03-17 | 2016-03-17 | Communication means, device and the mobile terminal of mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105847506B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107846497A (en) * | 2016-09-19 | 2018-03-27 | 大唐终端设备有限公司 | A kind of method and apparatus called |
CN106535161B (en) * | 2016-12-13 | 2019-06-11 | 珠海格力电器股份有限公司 | The method, apparatus and intelligent terminal of intelligent terminal progress intelligent dialing |
CN108667996A (en) * | 2017-03-30 | 2018-10-16 | 展讯通信(天津)有限公司 | Dialing Method and device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101001464A (en) * | 2006-12-26 | 2007-07-18 | 宇龙计算机通信科技(深圳)有限公司 | Mobile communication terminal and its calling method |
CN101801067A (en) * | 2010-01-19 | 2010-08-11 | 深圳市同洲电子股份有限公司 | Call method and device thereof |
CN103501373A (en) * | 2013-09-12 | 2014-01-08 | 小米科技有限责任公司 | Method, device and terminal for making call |
CN103607790A (en) * | 2013-11-26 | 2014-02-26 | 广东欧珀移动通信有限公司 | Intelligent dialing method and device of dual-card mobile phone |
CN104683971A (en) * | 2015-03-03 | 2015-06-03 | 魅族科技(中国)有限公司 | Communication method and terminal |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9913211B2 (en) * | 2011-05-23 | 2018-03-06 | Gigsky, Inc. | Global e-marketplace for mobile services |
-
2016
- 2016-03-17 CN CN201610153966.8A patent/CN105847506B/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101001464A (en) * | 2006-12-26 | 2007-07-18 | 宇龙计算机通信科技(深圳)有限公司 | Mobile communication terminal and its calling method |
CN101801067A (en) * | 2010-01-19 | 2010-08-11 | 深圳市同洲电子股份有限公司 | Call method and device thereof |
CN103501373A (en) * | 2013-09-12 | 2014-01-08 | 小米科技有限责任公司 | Method, device and terminal for making call |
CN103607790A (en) * | 2013-11-26 | 2014-02-26 | 广东欧珀移动通信有限公司 | Intelligent dialing method and device of dual-card mobile phone |
CN104683971A (en) * | 2015-03-03 | 2015-06-03 | 魅族科技(中国)有限公司 | Communication method and terminal |
Also Published As
Publication number | Publication date |
---|---|
CN105847506A (en) | 2016-08-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102291497A (en) | Displaying method for prompting messages and mobile terminal | |
CN105847506B (en) | Communication means, device and the mobile terminal of mobile terminal | |
CN102137389A (en) | Multi-card mobile terminal and method for transferring data of SIM card | |
CN102546989B (en) | The quick forwarding method of complex telephone traffic and system | |
CN101729639A (en) | Method and device for recording call of mobile terminal | |
CN103259820A (en) | Method of selecting communication modes and communication terminal of same | |
CN105657130A (en) | Crank call intercepting method and system | |
CN108682421A (en) | A kind of audio recognition method, terminal device and computer readable storage medium | |
CN106230999A (en) | A kind of contact person information processing method, terminal and server | |
CN103546613A (en) | Contact person recording method, contact person recording device and mobile terminal | |
CN113396570A (en) | Network service system, computer storage medium for communication and network service method | |
CN103369506A (en) | Card selection prompting method of multi-card terminal and multi-card mobile terminal | |
CN107197074A (en) | Book management method, device, storage medium and electronic equipment | |
CN109474755B (en) | Abnormal telephone active prediction method, system and computer readable storage medium based on sequencing learning and ensemble learning | |
CN106162586A (en) | Method for limiting incoming call, device and system | |
CN103220390A (en) | Method and terminal for marking newest contact ways of contacts | |
CN109168138A (en) | The recognition methods for the number of changing, device and equipment in net | |
CN101552838A (en) | Acceptance mode of mobile phone short message | |
CN102256255A (en) | Detection method for parallel-used-card proof based on time and geographic location collisions | |
CN102238292A (en) | Seat login management method | |
CN112203220A (en) | IMEI (International Mobile Equipment identity) belonging terminal identification method and device | |
CN104506743A (en) | Method and device for dynamically intercepting call | |
CN202841291U (en) | Multi-number communication terminal | |
CN110312047A (en) | The method and device of automatic shield harassing call | |
CN105898047A (en) | Contact dialing management method, dialing method and related devices |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: 523859 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20190517 |