CN106791207B - Dialing control method of mobile terminal and mobile terminal - Google Patents

Dialing control method of mobile terminal and mobile terminal Download PDF

Info

Publication number
CN106791207B
CN106791207B CN201710118321.5A CN201710118321A CN106791207B CN 106791207 B CN106791207 B CN 106791207B CN 201710118321 A CN201710118321 A CN 201710118321A CN 106791207 B CN106791207 B CN 106791207B
Authority
CN
China
Prior art keywords
dialing
mobile terminal
command
sim card
bluetooth
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
CN201710118321.5A
Other languages
Chinese (zh)
Other versions
CN106791207A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201710118321.5A priority Critical patent/CN106791207B/en
Publication of CN106791207A publication Critical patent/CN106791207A/en
Application granted granted Critical
Publication of CN106791207B publication Critical patent/CN106791207B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication

Abstract

The embodiment of the invention discloses a dialing control method of a mobile terminal and the mobile terminal. The method comprises the steps that when a Bluetooth module acquires a first dialing command, a state identifier is added to the first dialing command to obtain a second dialing command; the first dialing command is sent by Bluetooth equipment which is successfully paired with the mobile terminal; the Bluetooth module transmits the second dialing command to a telephone application module; and the telephone application module automatically selects the SIM card of the subscriber identity module to execute dialing operation according to the state identifier. The technical scheme of the embodiment of the invention realizes the optimization of the control mode of the mobile terminal for dialing, reduces the resource consumption of the system and improves the running speed and the execution efficiency of the system.

Description

Dialing control method of mobile terminal and mobile terminal
Technical Field
The embodiment of the invention relates to a mobile terminal technology, in particular to a dialing control method of a mobile terminal and the mobile terminal.
Background
With the development of mobile communication technology, the functions of a mobile phone are continuously expanded, for example, two phone cards (i.e., SIM, Subscriber identity Module) can be placed in the mobile phone, and the function of making a call or sending a short message through different phone cards is realized by switching the phone cards.
In the prior art, for a mobile terminal with two phone cards, when a user makes a call, the user is required to select which phone card to use to perform a dialing operation. For the scenario that the user needs to select which SIM card to use to dial the phone when dialing, currently, there are 3 dialing modes available for the user to select and set, which are the default SIM1, the default SIM2, and the unspecified SIM card (the user is asked to use the SIM1 or the SIM2 when dialing the phone each time). Most dual card mobile terminals set an unspecified SIM card mode in a factory default as an initial setting for a user to make a call. For the unspecified SIM card mode, the interface of the mobile phone is usually required to be switched to the specified interface, and which SIM card to use for dialing is determined according to the selection of the user. For this mode, the mobile terminal needs to wait for the user to input the selection indication, and the execution efficiency of the mobile terminal is not high.
Disclosure of Invention
The embodiment of the invention provides a dialing control method of a mobile terminal and the mobile terminal, which can optimize the control mode of dialing a call of the mobile terminal.
In a first aspect, an embodiment of the present invention provides a dialing control method for a mobile terminal, including:
when the Bluetooth module acquires a first dialing command, adding a state identifier to the first dialing command to acquire a second dialing command; the first dialing command is sent by Bluetooth equipment which is successfully paired with the mobile terminal;
the Bluetooth module transmits the second dialing command to a telephone application module;
and the telephone application module automatically selects the SIM card of the subscriber identity module to execute dialing operation according to the state identifier.
In a second aspect, an embodiment of the present invention further provides a mobile terminal, where the mobile terminal includes a bluetooth module and a processor;
the Bluetooth module is used for adding a state identifier to a first dialing command to obtain a second dialing command when the first dialing command is obtained; the first dialing command is sent by Bluetooth equipment which is successfully paired with the mobile terminal;
and, passing the second dialing command to a processor;
and the processor comprises a telephone application module, and the telephone application module is used for automatically selecting the SIM card of the subscriber identity module to execute dialing operation according to the state identification.
According to the embodiment of the invention, when a first dialing command is acquired through a Bluetooth module, a state identifier is added to the first dialing command to acquire a second dialing command, and the second dialing command is transmitted to a telephone application module; the phone application module automatically selects the SIM card of the subscriber identity module to execute the dialing operation according to the state identification, so that the problem of low execution efficiency caused by the fact that the mobile terminal needs to wait for the subscriber to select the SIM card for executing the dialing operation in the prior art is solved, the control mode of optimizing the dialing of the mobile terminal is realized, the resource consumption of a system is reduced, and the running speed and the execution efficiency of the system are improved.
Drawings
FIG. 1a is a schematic diagram of a manner in which a call may be placed according to an embodiment of the present invention;
fig. 1b is a flowchart of a dialing control method of a mobile terminal according to an embodiment of the present invention;
fig. 2 is a flowchart of another dialing control method for a mobile terminal according to an embodiment of the present invention;
fig. 3 is a flowchart of a dialing control method of a mobile terminal according to another embodiment of the present invention;
fig. 4 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the steps as a sequential process, many of the steps can be performed in parallel, concurrently or simultaneously. In addition, the order of the steps may be rearranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like.
With the development of the bluetooth technology, a user can answer or make a call through a bluetooth device connected with a mobile terminal in a matched mode. Fig. 1a is a schematic diagram of a telephone dialing method according to an embodiment of the present invention. As shown in fig. 1a, taking a dual-card mobile phone as an example, after the bluetooth headset 103 (which may also be other electronic devices with a second bluetooth module such as vehicle bluetooth) establishes a bluetooth connection with the dual-card mobile phone, a call can be made through the bluetooth headset 103. For example, a user dials a telephone number "95555" through the bluetooth headset 103, the bluetooth headset 103 generates a dial command containing the telephone number, and the dial command is sent to the dual card handset via the bluetooth communication protocol. If the dialing mode set by the user is the SIM card mode which is not designated, the dual-card mobile phone displays a dialing interface 101 with to-be-dialed telephone information after receiving a dialing command, and displays a SIM card selection dialog box 102 in the dialing interface 101, so that the user can select to adopt the SIM1 or the SIM2 to execute the dialing operation corresponding to the telephone number. After acquiring the selection instruction of the user, the dual-card mobile phone sends the data packet containing the phone number to the base station 104 through the selected SIM card.
Fig. 1b is a flowchart of a dialing control method of a mobile terminal according to an embodiment of the present invention, which may be applicable to a situation where a call is made through a bluetooth device successfully paired with a multi-SIM mobile terminal. As shown in fig. 1b, the method may comprise the steps of:
step 110, when the bluetooth module acquires the first dialing command, adding a state identifier to the first dialing command to obtain a second dialing command.
The Bluetooth module is configured in the mobile terminal with a plurality of SIM cards. The mobile terminal can be a terminal which is provided with an SIM card slot and can make a call through the SIM card, such as a smart phone, a tablet computer, a smart watch and the like.
The first dial command may be sent by a bluetooth device that successfully pairs with the mobile terminal. Wherein, the successful pairing may mean that the electronic device establishes a communication connection with the mobile terminal. The bluetooth device may be an electronic device having a second bluetooth module that establishes a communication connection with the mobile terminal. For example, the bluetooth device may be a bluetooth headset, a bluetooth car, a smart watch, a smart bracelet, or the like.
Optionally, a bluetooth communication link is established between the bluetooth device and the mobile terminal. The Bluetooth device can obtain a dialing instruction of a user, generate a first dialing command containing a telephone number to be dialed, and send the first dialing command to the mobile terminal through the Bluetooth communication link.
The status identifier represents that the dialing command is sent by the Bluetooth device successfully paired with the mobile terminal.
The Bluetooth module updates the value of the state identification according to the difference of the current dialing command initiating main body. And then, adding the updated state identifier to the current dialing command to obtain a new dialing command.
It is understood that the generation manner of the second dialing command is not limited to the manner listed in the above example, and the bluetooth module may acquire the phone number in the first dialing command and generate the second dialing command according to the phone number and the updated status identifier, or the bluetooth module extracts other information besides the phone number from the first dialing command, and the bluetooth module generates the second dialing command according to the extracted information and the updated status identifier.
And step 120, the bluetooth module transmits the second dialing command to a telephone application module.
The phone application module can be a call module providing functions of answering a call, making a call, receiving and sending a short message, monitoring a phone book, monitoring a network event, reading user information and the like.
The Bluetooth module transmits the second dialing command to the telephone application module by adopting a set transmission mode. For example, in an android system, the bluetooth module may pass a second dialing command through the Intent component to the phone application module.
And step 130, the telephone application module automatically selects a Subscriber Identity Module (SIM) card to execute dialing operation according to the state identification.
And after the telephone application module acquires a second dialing command, reading the value of the state identifier in the second dialing command. And then, determining whether to automatically select the SIM card to execute the dialing operation corresponding to the second dialing command according to the value of the state identifier.
Illustratively, the phone application module analyzes the second dialing command after obtaining the second dialing command. When the second dialing command contains a state identifier, and the value of the state identifier indicates that the telephone number to be dialed is sent by the Bluetooth device, the SIM card (which can be arbitrarily assigned or preset) is automatically selected to execute the dialing operation. If the second dialing command does not contain the state identifier or the value of the state identifier indicates that the telephone number to be dialed is not sent by the Bluetooth equipment, a selection dialog box of the dialing mode is popped up for the user to select the SIM card for executing the dialing operation under the condition that the dialing mode preset by the user is the SIM card mode which is not specified.
According to the technical scheme, when a first dialing command is obtained through a Bluetooth module, a state identifier is added to the first dialing command to obtain a second dialing command, and the second dialing command is transmitted to a telephone application module; the telephone application module automatically selects the SIM card of the subscriber identity module to execute the dialing operation according to the state identification, solves the problem of low execution efficiency caused by the fact that a mobile terminal needs to wait for a user to select the SIM card for executing the dialing operation in the prior art, realizes the control mode of optimizing the dialing of the mobile terminal, reduces the steps of obtaining the SIM card selection indication of the user, executes the SIM card selection according to the selection indication, and improves the system operation speed and the execution efficiency.
Fig. 2 is a flowchart of another dialing control method for a mobile terminal according to an embodiment of the present invention. As shown in fig. 2, the method may include the steps of:
step 210, when acquiring a first dialing command sent by a bluetooth device successfully paired with a mobile terminal, a bluetooth module updates a value of a state identifier, and binds the updated state identifier with a telephone number included in the first dialing command to obtain a second dialing command.
And when the Bluetooth module acquires a first dialing command sent by the Bluetooth equipment successfully matched with the mobile terminal, acquiring a telephone number to be dialed according to the dialing command. And updating the value of the state identifier to a value indicating that the first dialing command is sent by the Bluetooth equipment successfully paired with the mobile terminal. And the Bluetooth module binds the updated state identifier (the value of the state identifier is the updated value) and the telephone number to be dialed to obtain a second dialing command.
Illustratively, when acquiring the first dialing command, the bluetooth module reads a to-be-dialed telephone number included in the first dialing command. And updating the value of the state identifier to true when the first dialing command is sent by the Bluetooth equipment. And then, the Bluetooth module binds the updated state identifier and the telephone number to be dialed to obtain a second dialing command.
Step 220, the bluetooth module transmits the second dialing command to the phone application module.
And step 230, the telephone application module cancels the operation of popping up a selection dialog box of the dialing mode according to the state identifier, and automatically selects the SIM card of the subscriber identity module to execute the dialing operation.
And after the telephone application module acquires a second dialing command, reading the value of the state identifier in the second dialing command. If the value of the state identifier indicates that the telephone number to be dialed is sent by the Bluetooth equipment and the dialing mode is preset by the user to be the unspecified SIM card mode, the telephone application module does not execute the operation of popping up the selection dialog box of the dialing mode. The phone application module may automatically select the SIM card to perform the dialing operation as follows.
For example, a SIM card is pre-assigned to dial a telephone number from a bluetooth device. Taking a dual card handset as an example, it may be preset by means of program code to dial a telephone number sent by the bluetooth device through the SIM 1. And when the phone application module determines that the phone number to be dialed is sent to the dual-card mobile phone by the Bluetooth device, the phone application module dials the phone number to be dialed by adopting the SIM 1.
As another example, a bluetooth dial setting sub-function is added in the dial mode setting function. The user can configure the bluetooth dialing white list through the bluetooth dialing setup sub-function. And storing the corresponding relation between different telephone numbers and the SIM card in the Bluetooth dialing white list. Taking a dual-card mobile phone as an example, the phone number "95555" is stored in the bluetooth dialing white list corresponding to the SIM1 card, that is, when the phone number "95555" is the bluetooth device sent to the dual-card mobile phone, the phone application module dials the phone number using the SIM 1. In addition, the SIM2 corresponding to the phone number "135 xxxxxxxx" is stored in the bluetooth dialing white list, that is, when the phone number "135 xxxxxxxx" is the bluetooth device sent to the dual-card mobile phone, the phone application module dials the phone number using the SIM 2.
For another example, for a current phone number to be dialed, a SIM card with the highest historical dialing frequency is determined, and the phone application module dials the phone number to be dialed using the SIM card. Taking a dual-card mobile phone as an example, for a phone number "135 xxxxxx", if it is determined that the frequency of dialing the phone number by using the SIM2 in the history dialing operation is higher than the frequency of dialing the phone number by using the SIM1, the phone application module selects the SIM2 to dial the phone number.
For another example, for a current phone number to be dialed, a SIM card used for dialing the phone number last time is determined, and the SIM card is used to perform a dialing operation. Taking a dual-card mobile phone as an example, for a phone number "95555", if it is determined that the number was previously dialed using the SIM1, the SIM1 is still used in the dialing operation.
It will be appreciated that the manner in which the telephone application module automatically selects SIM card dialing is not limited to that exemplified above. Also, the number of SIM cards in the mobile terminal is not limited to the case of two cards listed in the above example, and may be three or more SIM cards.
In the technical scheme of this embodiment, when the bluetooth module acquires the first dialing command and the first dialing command is sent by the bluetooth device, the value of the set state identifier is updated. And after the Bluetooth module reads the telephone number to be dialed out in the first dialing command, the Bluetooth module binds the telephone number and the updated state identifier to obtain a second dialing command, and transmits the second dialing command to the telephone application module, so that the data volume sent by the Bluetooth module to the telephone application module can be reduced. The phone application module cancels the operation of popping up a selection dialog box of the dialing mode according to the value of the state identifier in the second dialing command, and automatically selects the SIM card to execute the dialing operation, so that the steps of drawing and displaying the selection dialog box by the mobile terminal can be omitted, the resource consumption of the system is reduced, and the running speed and the execution efficiency of the system are improved.
Fig. 3 is a flowchart of a dialing control method of a mobile terminal according to another embodiment of the present invention. As shown in fig. 3, the method may include the steps of:
and step 310, the phone application module calls a setting interface to read the SIM card data of the mobile terminal.
Taking a mobile terminal carrying an android system as an example, a TelephonyManager class can be adopted to read the state and information of an SIM card of the mobile terminal, the state of a telecommunication network, the information of a mobile terminal user and the like. For example, the phone application module reads each SIM card twice by calling the method provided by the TelephonyManager class. The pass parameter of SIM1 is predefined to be 0, and if the two read operations on SIM1 both return true, it indicates that SIM1 is present and working properly. The passing parameter of the SIM2 is predefined to be 1, and if the returned result of two read operations on the SIM2 is true, it indicates that the SIM2 is present and working normally.
It is to be understood that the mobile terminal related to the present embodiment is not limited to the mobile terminal equipped with the android system, and the setting interface for reading SIM card data is also not limited to the TelephonyManager class listed in the above example. For example, for a Mobile terminal with Windows Mobile system, the method of BOOL gchecksimcardexit () may be used to determine whether a SIM card is inserted or not.
Step 320, determining whether two SIM cards in working status exist, if yes, executing step 330, and if not, executing step 380.
Taking a dual-card mobile phone as an example, the phone application module may determine whether the mobile phone is inserted with two SIM cards according to the read SIM card data, and the two SIM cards both work normally. If the current dual-card mobile phone has two SIM cards in working status, step 330 is executed, otherwise step 380 is executed.
Step 330, the phone application module obtains the dialing mode of the mobile terminal.
The dialing mode is a mode which is preset by a user and adopts which SIM card to execute dialing operation. For example, the mobile terminal may provide a dial mode setting function, and when the user selects the dial mode setting function, a dial mode setting interface is displayed for the user to set a SIM card used for making a call. Taking a dual-card mobile phone as an example, if the user selects the dial mode setting function, three modes of dialing by using the SIM1, dialing by using the SIM2 or not designating the SIM card are displayed in the dial mode setting interface. Each dialing mode has a corresponding flag bit. For example, the unspecified SIM card mode corresponds to a flag bit of 0, the SIM1 dials a mode corresponding to a flag bit of 1, and the SIM2 dials a mode corresponding to a flag bit of 2. The telephone application module can determine the dialing mode of the mobile terminal by reading the zone bit.
Step 340, determining whether the dialing mode is the unspecified SIM card mode, if yes, executing step 350, and if not, executing step 390.
And 350, the Bluetooth module acquires a first dialing command sent by the Bluetooth device successfully matched with the mobile terminal, updates the value of the state identifier, and binds the updated state identifier with the telephone number included in the first dialing command to obtain a second dialing command.
And step 360, the Bluetooth module transmits the second dialing command to a telephone application module.
Step 370, the phone application module cancels the operation of popping up the selection dialog box of the dialing mode according to the state identifier, and automatically selects the SIM card to execute the dialing operation.
The phone application module determines the phone number contained in the second dialing command according to the state identification and sends the phone number by the Bluetooth device. If the current dialing mode is the SIM card mode which is not designated, the operation of popping up a selection dialog box of the dialing mode is not executed. The telephone application module can automatically select the SIM card to execute the dialing operation, namely the operation of dialing the telephone can be finished, and the control mode of dialing the telephone of the mobile terminal is optimized.
And 380, executing the dialing operation by adopting the SIM card in the working state.
If only one SIM card is in a normal working state, the SIM card in the working state is adopted to execute dialing operation, and then the operation of dialing the phone can be finished.
And step 390, executing the dialing operation by using the appointed SIM card.
Taking a dual-card mobile phone as an example, if there are two SIM cards in working status, but the current dialing mode is the SIM1 dialing mode, the specified SIM1 card is used to execute the dialing operation, and the dialing operation can be completed. Or, if there are two SIM cards in working status, but the current dialing mode is SIM2 dialing mode, then the dialing operation is executed by using the assigned SIM2 card, and the operation of dialing can be completed.
According to the technical scheme of the embodiment, whether two SIM cards in working states exist in the mobile terminal is judged in advance, and the current dialing mode is a condition that the SIM card mode is not specified. When the condition is met, if the phone application module determines that the phone number to be dialed is sent by the Bluetooth device according to the state identifier in the dialing command, the operation of popping out a selection dialog box of the dialing mode is cancelled, and the SIM card is automatically selected to execute the dialing operation, so that the control mode of dialing the phone number by the mobile terminal is optimized, the resource consumption of the system is reduced, and the operation speed and the execution efficiency of the system are improved.
Fig. 4 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention. As shown in fig. 4, the mobile terminal includes a bluetooth module 410 and a processor 420.
The bluetooth module 410 is configured to, when a first dialing command is obtained, add a state identifier to the first dialing command to obtain a second dialing command; the first dialing command is sent by Bluetooth equipment which is successfully paired with the mobile terminal; and passing the second dial command to the processor 420.
And the processor 420 comprises a phone application module 421, and the phone application module 421 is configured to automatically select the SIM card as the SIM card to perform a dialing operation according to the status identifier.
The technical scheme of the embodiment provides the mobile terminal, which can automatically select the SIM card of the subscriber identity module to execute the dialing operation, solves the problem of low execution efficiency caused by the fact that the mobile terminal needs to wait for the subscriber to select the SIM card for executing the dialing operation in the prior art, realizes the control mode of optimizing the dialing of the mobile terminal, reduces the steps of obtaining the selection indication of the subscriber SIM card, executes the selection of the SIM card according to the selection indication, and improves the running speed and the execution efficiency of the system.
It is understood that the phone application module 421 may also exist independently of the processor 420, and the processor 420 may, upon receiving the second dialing command, invoke the phone application module 421 to perform the step of automatically selecting the SIM card as the SIM card to perform the dialing operation according to the status identifier. For example, the function of the phone application module 421 is implemented by a computer program stored in a memory, and the processor 420 executes the computer program stored in the memory to implement the function of automatically selecting the SIM card as the SIM card to perform the dialing operation according to the status identifier when receiving the second dialing command.
Optionally, the phone application module 421 is further configured to:
before the step of automatically selecting the SIM card to execute the dialing operation according to the state identifier is executed, whether at least two SIM cards in a working state exist in the mobile terminal is detected;
if yes, detecting whether the dialing mode of the mobile terminal is an unspecified SIM card mode;
if yes, automatically selecting the SIM card to execute dialing operation according to the state identification.
The design can realize that the mobile terminal executes the operation of automatically selecting the SIM card for dialing when meeting the condition, otherwise, executes the dialing operation according to the preset dialing mode, and avoids the occurrence of misoperation and the waste of system resources.
Optionally, the bluetooth module 410 is specifically configured to:
when a first dialing command sent by the Bluetooth device successfully matched with the mobile terminal is acquired, updating the value of the state identifier, and binding the updated state identifier with the telephone number included in the first dialing command to acquire a second dialing command.
This arrangement reduces the amount of data transmitted by bluetooth module 410 to phone application module 421.
Optionally, the phone application module 421 is specifically configured to:
reading the value of the state identifier in the second dialing command;
and determining whether the SIM card is automatically selected to execute the dialing operation corresponding to the second dialing command according to the value of the state identifier.
Optionally, the phone application module 421 is further configured to:
and canceling the operation of popping up a selection dialog box of the dialing mode according to the state identifier before automatically selecting the SIM card to execute the dialing operation.
The design can omit the steps of drawing and displaying the selection dialog box by the mobile terminal, and the resource consumption of the system is reduced.
The mobile terminal can execute the dialing control method provided by the embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (10)

1. A dialing control method of a mobile terminal is characterized by comprising the following steps:
when the Bluetooth module acquires a first dialing command, according to values of different updated state identifiers of Bluetooth equipment, adding the updated state identifiers to the first dialing command to obtain a second dialing command; the first dialing command is sent by Bluetooth equipment which is successfully paired with the mobile terminal;
the Bluetooth module transmits the second dialing command to a telephone application module;
and when the value of the state identifier indicates that the telephone number to be dialed is sent by the Bluetooth equipment, the telephone application module automatically selects the SIM card of the subscriber identity module to execute dialing operation according to the state identifier.
2. The method of claim 1, before the phone application module automatically selects a SIM card to perform a dialing operation according to the status identifier, further comprising:
the phone application module detects whether the mobile terminal has at least two SIM cards in working states;
if yes, detecting whether the dialing mode of the mobile terminal is an unspecified SIM card mode;
if yes, automatically selecting the SIM card to execute the dialing operation according to the state identification.
3. The method of claim 1, wherein when the bluetooth module obtains a first dialing command, adding a status identifier to the first dialing command to obtain a second dialing command, and the method comprises:
when the Bluetooth module acquires a first dialing command sent by Bluetooth equipment successfully paired with the mobile terminal, updating the value of the state identifier, and binding the updated state identifier with a telephone number included in the first dialing command to obtain a second dialing command.
4. The method of claim 1, wherein the phone application module automatically selects a SIM card to perform a dialing operation according to the status identifier, comprising:
the telephone application module reads the value of the state identifier in the second dialing command;
and determining whether the SIM card is automatically selected to execute the dialing operation corresponding to the second dialing command according to the value of the state identifier.
5. The method of claim 1, further comprising, prior to automatically selecting the SIM card to perform the dialing operation:
and the telephone application module cancels the operation of popping up a selection dialog box of the dialing mode according to the state identification.
6. A mobile terminal comprises a Bluetooth module and a processor, which is characterized in that,
the Bluetooth module is used for updating the values of the state identifiers according to different Bluetooth equipment when the first dialing command is obtained, and adding the updated state identifiers to the first dialing command to obtain a second dialing command; the first dialing command is sent by Bluetooth equipment which is successfully paired with the mobile terminal;
and, passing the second dialing command to a processor;
and the processor comprises a telephone application module, and when the value of the state identifier indicates that the telephone number to be dialed is sent by the Bluetooth equipment, the telephone application module is used for automatically selecting the SIM card of the subscriber identity module to execute dialing operation according to the state identifier.
7. The mobile terminal of claim 6, wherein the phone application module is further configured to:
before the step of automatically selecting the SIM card to execute the dialing operation according to the state identifier is executed, whether at least two SIM cards in a working state exist in the mobile terminal is detected;
if yes, detecting whether the dialing mode of the mobile terminal is an unspecified SIM card mode;
if yes, automatically selecting the SIM card to execute dialing operation according to the state identification.
8. The mobile terminal of claim 6, wherein the Bluetooth module is specifically configured to:
when a first dialing command sent by the Bluetooth device successfully matched with the mobile terminal is acquired, updating the value of the state identifier, and binding the updated state identifier with the telephone number included in the first dialing command to acquire a second dialing command.
9. The mobile terminal of claim 6, wherein the phone application module is specifically configured to:
reading the value of the state identifier in the second dialing command;
and determining whether the SIM card is automatically selected to execute the dialing operation corresponding to the second dialing command according to the value of the state identifier.
10. The mobile terminal of claim 6, wherein the phone application module is further configured to:
and canceling the operation of popping up a selection dialog box of the dialing mode according to the state identifier before automatically selecting the SIM card to execute the dialing operation.
CN201710118321.5A 2017-03-01 2017-03-01 Dialing control method of mobile terminal and mobile terminal Active CN106791207B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710118321.5A CN106791207B (en) 2017-03-01 2017-03-01 Dialing control method of mobile terminal and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710118321.5A CN106791207B (en) 2017-03-01 2017-03-01 Dialing control method of mobile terminal and mobile terminal

Publications (2)

Publication Number Publication Date
CN106791207A CN106791207A (en) 2017-05-31
CN106791207B true CN106791207B (en) 2020-04-17

Family

ID=58960355

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710118321.5A Active CN106791207B (en) 2017-03-01 2017-03-01 Dialing control method of mobile terminal and mobile terminal

Country Status (1)

Country Link
CN (1) CN106791207B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108717364A (en) * 2018-04-08 2018-10-30 努比亚技术有限公司 Application acceleration open method, terminal and computer readable storage medium
FR3102635B1 (en) * 2019-10-28 2022-06-24 Orange Process for processing an outgoing call sent by a communication terminal and terminal implementing this process.
CN115396542A (en) * 2021-05-21 2022-11-25 Oppo广东移动通信有限公司 Method and device for controlling dialing, terminal equipment and computer readable storage medium
CN115396870A (en) * 2021-05-25 2022-11-25 Oppo广东移动通信有限公司 Call control method and device, call system, wearable device and readable medium
CN114567856A (en) * 2022-02-09 2022-05-31 维沃移动通信有限公司 Dialing method and device and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1893466A (en) * 2005-07-08 2007-01-10 杨柯 Method for conducting calling of telephone through hand-set using earphone
CN103475770A (en) * 2012-06-06 2013-12-25 深圳市经纬科技有限公司 Multiple number communication terminal and its number selection method
CN103561400A (en) * 2013-08-22 2014-02-05 小米科技有限责任公司 Method for initiating communication, device thereof and mobile terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9131061B2 (en) * 2014-01-06 2015-09-08 Qualcomm Incorporated Call handling across subscriptions in dual SIM dual active (DSDA) devices via short range wireless

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1893466A (en) * 2005-07-08 2007-01-10 杨柯 Method for conducting calling of telephone through hand-set using earphone
CN103475770A (en) * 2012-06-06 2013-12-25 深圳市经纬科技有限公司 Multiple number communication terminal and its number selection method
CN103561400A (en) * 2013-08-22 2014-02-05 小米科技有限责任公司 Method for initiating communication, device thereof and mobile terminal

Also Published As

Publication number Publication date
CN106791207A (en) 2017-05-31

Similar Documents

Publication Publication Date Title
CN106791207B (en) Dialing control method of mobile terminal and mobile terminal
EP2981113B1 (en) Mobile communication service between mobile devices sharing same phone number
JP5153893B2 (en) Communication device, communication system, and inter-device connection method
CN102883048B (en) In-car Bluetooth communication method and in-car Bluetooth communication device based on Android operating system
CN102857999A (en) Multimode terminal and service implementation method for multimode terminal
CN104683971A (en) Communication method and terminal
CN102769937A (en) Multi-standby terminal with android system and method for realizing multi-standby of terminal
CN104168387B (en) Mobile phone users identification card changing method and system
CN103052175A (en) Mobile terminal and application display method of mobile terminal
EP2224708A2 (en) Wireless communication terminal and wireless communication method
CN104301544A (en) Communication processing method and device
CN104954589A (en) Call transferring method and system thereof
CN103974216A (en) Information processing method and electronic equipment
EP2602972B1 (en) Mobile communication terminal and terminal control method
CN103986824A (en) Data display method and system of electronic equipment
CN104717378A (en) Call forwarding method and device
CN113395690B (en) Bluetooth equipment automatic connection method, device, equipment and storage medium
CN107741803A (en) Display methods, device, terminal and the readable storage medium storing program for executing of desktop icons
EP2988539B1 (en) Information acquisition method, device and terminal
CN105188040A (en) Communication terminal and method thereof for acquiring voice mail number
EP1773079A1 (en) Device and method for providing a multiple access to a SIM card in a mobile terminal
CN108710519B (en) Vehicle-mounted resource management system and method based on telephone processing
CN103699864A (en) Selection method and system for intelligent card non-contact communication technology
CN115396870A (en) Call control method and device, call system, wearable device and readable medium
CN115396804A (en) Interaction method, interaction device, wearable equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd.

GR01 Patent grant
GR01 Patent grant