CN107172287B - Multi-card communication method and mobile terminal - Google Patents

Multi-card communication method and mobile terminal Download PDF

Info

Publication number
CN107172287B
CN107172287B CN201710383486.5A CN201710383486A CN107172287B CN 107172287 B CN107172287 B CN 107172287B CN 201710383486 A CN201710383486 A CN 201710383486A CN 107172287 B CN107172287 B CN 107172287B
Authority
CN
China
Prior art keywords
application
communication
sim card
communication request
determining
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
CN201710383486.5A
Other languages
Chinese (zh)
Other versions
CN107172287A (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201710383486.5A priority Critical patent/CN107172287B/en
Publication of CN107172287A publication Critical patent/CN107172287A/en
Application granted granted Critical
Publication of CN107172287B publication Critical patent/CN107172287B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • H04W8/20Transfer of user or subscriber data
    • H04W8/205Transfer to or from user equipment or user record carrier
    • 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/72484User interfaces specially adapted for cordless or mobile telephones wherein functions are triggered by incoming communication events
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • H04W88/06Terminal devices adapted for operation in multiple networks or having at least two operational modes, e.g. multi-mode terminals

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Telephone Function (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention provides a multi-card communication method and a mobile terminal, wherein the multi-card communication method is applied to the mobile terminal provided with a plurality of SIM cards and comprises the following steps: detecting whether a communication request for communication through the SIM card is received; when a communication request is received, determining a first application associated with the communication request; acquiring a first SIM card corresponding to the first application according to a preset corresponding relation between the application and the SIM card; and carrying out communication corresponding to the communication request through the first SIM card. The embodiment of the invention solves the problem that in the prior art, the SIM cards corresponding to different service communication are easy to be confused by a user so as to cause the communication by using wrong SIM cards.

Description

Multi-card communication method and mobile terminal
Technical Field
The invention relates to the field of mobile terminals, in particular to a multi-card communication method and a mobile terminal.
Background
At present, many mobile terminals are equipped with dual-Subscriber Identity Module (SIM) cards, and a user can use the dual SIM cards to meet different requirements, for example, the user can communicate with a colleague through one of the SIM cards and communicate with a parent person through the other SIM card, or make a call through one of the SIM cards and perform internet access operation through the other SIM card, so that the user can communicate with the user through different SIM cards respectively in work and life, or perform different business operations through different SIM cards, and great communication convenience can be provided for the user.
However, because a plurality of SIM cards are installed on the mobile terminal, and each SIM card is not clearly distinguished, when the user uses the plurality of SIM cards for business communication, the SIM cards corresponding to different business communications are easily confused, so that the user can easily use the wrong SIM card for business communication, that is, the user anticipates to use the first SIM card for a business communication, but mistakenly uses the second SIM card for a business communication, thereby bringing a certain trouble to the user to use the plurality of cards for communication.
In summary, when a user uses multiple SIM cards to communicate, there is a problem in the prior art that the user is likely to confuse SIM cards corresponding to different service communications, which results in communication using wrong SIM cards.
Disclosure of Invention
The invention aims to provide a multi-card communication method and a mobile terminal, which aim to solve the problem that in the prior art, when a user uses a plurality of SIM cards for communication, the SIM cards corresponding to different service communication are easily confused by the user so as to cause wrong SIM card communication.
In a first aspect, an embodiment of the present invention provides a multi-card communication method, which is applied to a mobile terminal equipped with multiple SIM cards, and the multi-card communication method includes:
detecting whether a communication request for communication through the SIM card is received;
determining a first application associated with the communication request upon receipt of the communication request;
acquiring a first SIM card corresponding to the first application according to a preset corresponding relation between the application and the SIM card;
and carrying out communication corresponding to the communication request through the first SIM card.
In a second aspect, an embodiment of the present invention provides a mobile terminal, where a plurality of SIM cards are installed on the mobile terminal, and the mobile terminal further includes:
the detection module is used for detecting whether a communication request for communication through the SIM card is received or not;
the determining module is used for determining a first application related to the communication request when the communication request is received;
the acquisition module is used for acquiring a first SIM card corresponding to the first application according to a preset corresponding relation between the application and the SIM card;
and the communication module is used for carrying out communication corresponding to the communication request through the first SIM card.
In a third aspect, an embodiment of the present invention further provides a mobile terminal, where the mobile terminal includes a memory, a processor, and a multi-card communication program that is stored on the memory and is executable on the processor, and when the processor executes the multi-card communication program, the steps in the multi-card communication method in the first aspect are implemented.
Thus, when receiving a communication request communicated through the SIM card, the embodiment of the invention determines the first application associated with the communication request, then, according to the preset corresponding relation between the application and the SIM card, a first SIM card corresponding to the first application is obtained, and finally, communication corresponding to the communication request is carried out through the first SIM card, the mobile terminal can directly determine the first SIM card corresponding to the first application according to the preset corresponding relation between the application and the SIM card, thereby avoiding the process that a user memorizes different applications and selects different SIM cards for communication, and avoids the process that the user selects the SIM card when the user communicates through the SIM card, thereby avoiding the problem that the user confuses the SIM cards corresponding to different applications, and then the problem that the SIM cards corresponding to different service communication are easily confused by a user to cause the communication by using wrong SIM cards in the prior art is solved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required to be used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive labor.
FIG. 1 is a flow chart illustrating the steps of a multi-card communication method in an embodiment of the present invention;
fig. 2 shows one of the structural block diagrams of the mobile terminal in the embodiment of the present invention;
fig. 3 shows a second block diagram of the mobile terminal according to the embodiment of the invention;
fig. 4 is a block diagram showing a third structure of a mobile terminal according to an embodiment of the present invention;
fig. 5 is a block diagram of a mobile terminal according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
As shown in fig. 1, which is a flowchart illustrating steps of a multi-card communication method according to an embodiment of the present invention, the multi-card communication method is applied to a mobile terminal with multiple SIM cards, and the multi-card communication method includes the following steps:
step 101, detecting whether a communication request for communication through a SIM card is received;
in this step, specifically, when detecting whether a communication request for communication through the SIM card is received, the mobile terminal detects whether a communication request for communication through the SIM card initiated from inside the mobile terminal is received. For example, it may be detected whether a communication request initiated by an application on the mobile terminal for communication via the SIM card is received.
Step 102, when a communication request is received, determining a first application associated with the communication request;
in this step, specifically, when the mobile terminal detects that a communication request for communication through the SIM card is received, the first application associated with the communication request may be determined.
Preferably, when determining the first application associated with the communication request, the first application associated with the communication request may be determined according to the application triggering the communication request. For example, if the application triggering the communication request is an application "WeChat," it may be determined that the first application associated with the communication request is an application "WeChat. In this way, the first application associated with the communication request is determined according to the application triggering the communication request, and the correctness of the determined first application is ensured.
In addition, when the first application associated with the communication request is determined, the target contact person of the communication request can be determined, and then the first application associated with the communication request can be determined according to the application associated with the target contact person. For example, assuming that the target contact of the communication request is a and the target contact exists in the contact list of application B, it may be determined that the first application associated with the communication request is B. In this way, the first application associated with the communication request is determined according to the application associated with the target contact of the communication request, so that not only the application name of the first application associated with the communication request but also the application account of the first application associated with the communication request can be determined, and the fineness of the determined first application is ensured.
103, acquiring a first SIM card corresponding to the first application according to a preset corresponding relation between the application and the SIM card;
in this step, specifically, the corresponding relationship between the application and the SIM card may be preset. In this way, after the first application associated with the communication request is determined, the first SIM card corresponding to the first application may be acquired according to the preset correspondence between the application and the SIM card.
And 104, performing communication corresponding to the communication request through the first SIM card.
In this step, specifically, after the first SIM card corresponding to the first application is acquired, communication corresponding to the communication request may be performed through the first SIM card. Therefore, the correctness of the SIM card used by the first application in the communication through the SIM card is ensured by the acquired communication corresponding to the communication request of the first SIM card corresponding to the first application, so that a user does not need to memorize the SIM cards used by different applications in the communication, the communication with the wrong SIM card is avoided, and the convenience is provided for the user to use multiple cards for communication.
Therefore, the first SIM card corresponding to the first application is determined according to the preset corresponding relation between the application and the SIM card, the process that different applications are memorized by a user and used for communication is avoided, the process that the user selects the SIM card when the communication is carried out through the SIM card is avoided, the problem that the user easily confuses the SIM cards corresponding to different applications is avoided, and the problem that the communication is carried out by using wrong SIM cards due to the fact that the user easily confuses the SIM cards corresponding to different service communication in the prior art is solved.
Furthermore, when the first SIM card corresponding to the first application is obtained according to the preset corresponding relationship between the application and the SIM card in step 103, the first SIM card corresponding to the first application may be obtained according to the preset corresponding relationship between the application name of the application and the SIM card.
Specifically, the corresponding relationship between different application names and the SIM card may be preset. For example, the correspondence between the application name "Facebook" and the SIM1 card is set in advance, and the correspondence between the application name "QQ" and the SIM2 card is set. In this way, when the first application associated with the communication request is determined to be the application "Facebook", the first SIM card corresponding to the application "Facebook", that is, the SIM1 card, may be acquired according to the correspondence between the application name "Facebook" and the SIM1 card. In addition, after the SIM1 card is acquired, a corresponding communication request, such as making a call or sending a short message, may be performed through the SIM1 card. Like this, according to the application name of using and the predetermined corresponding relation between the SIM card, obtain the first SIM card that corresponds with first application, it has a SIM card to make the application name of each application bind, thereby when making communication through the application, can communicate through the SIM card that binds, the process of having avoided the user to choose for use the SIM card to communicate through memory, thereby avoided because memory confusion appears selecting for use the emergence of the phenomenon that wrong SIM card carries out communication, independence and privacy between the last different SIM cards of mobile terminal have been guaranteed, user communication is provided convenience.
Furthermore, further, when the first application corresponds to a plurality of application accounts, after the first application associated with the communication request is determined in step 102, the first application account of the first application associated with the communication request may be further determined, and then, when the first SIM card corresponding to the first application is acquired according to the preset corresponding relationship between the application and the SIM card in step 103, the first SIM card corresponding to the first application account of the first application may be acquired according to the preset corresponding relationship between the application account of the application and the SIM card.
Specifically, the corresponding relationship between different application accounts in the same application and the SIM card may be preset. For example, assuming that the user has two application accounts, namely an application account a and an application account b, in the application "WeChat", the correspondence between the application account a and the SIM1 card may be preset, and the correspondence between the application account b and the SIM2 card may be preset. In this way, when the first application associated with the communication request is determined to be the application "WeChat" and the first application account of the first application associated with the communication request is determined to be the application account b, the first SIM card corresponding to the application account b to which the "WeChat" is applied, that is, the SIM2 card, may be acquired according to the preset correspondence between the application account b and the SIM2 card. In addition, after the SIM2 card is acquired, a corresponding communication request, such as making a call or sending a short message, may be performed through the SIM2 card. Like this, according to the application account of using and the predetermined corresponding relation between the SIM card, obtain the first SIM card that corresponds with the first application account of first application, it has a SIM card to make each application account bind, thereby when making and communicating through the application account of difference in an application, can communicate through the SIM card that binds, the process of the user chooses for use the SIM card to communicate through memory has been avoided, thereby avoided because the memory confuses thereby the emergence of selecting for use wrong SIM card to communicate appears, independence and privacy between the different SIM cards on the mobile terminal have been guaranteed, provide convenience for user communication.
In addition, further, after the step of determining the first application associated with the communication request in step 102, it may also be detected whether a correspondence relationship is preset between the first application and the SIM card. Specifically, when it is detected that the first application does not have a preset correspondence with the SIM card, communication corresponding to the communication request may be performed through a SIM card corresponding to a SIM card selection instruction input by the user, or communication corresponding to the communication request may be performed through a default SIM card. Therefore, communication can be carried out according to the requirements of a user or according to the default SIM card of the first application on the premise that the SIM card is not bound to the first application, and smooth communication is guaranteed.
Therefore, the embodiment of the invention can acquire the first SIM card corresponding to the first application account of the first application according to the preset corresponding relation between the application account of the application and the SIM card, so that different application accounts can communicate through the corresponding SIM card, the process that a user memorizes different application accounts and selects different SIM cards for communication is avoided, the process that the user selects the SIM card when the user communicates through the SIM card is avoided, the problem that the user easily confuses the SIM cards corresponding to different application accounts is avoided, and the problem that the communication is carried out by using wrong SIM cards due to the fact that the user easily confuses the SIM cards corresponding to different business communication in the prior art is solved.
In addition, as shown in fig. 2, which is a block diagram of a mobile terminal according to an embodiment of the present invention, the mobile terminal is installed with a plurality of SIM cards, and the mobile terminal includes:
a detection module 201, configured to detect whether a communication request for communication through a SIM card is received;
a determining module 202, configured to determine, when the communication request is received, a first application associated with the communication request;
an obtaining module 203, configured to obtain a first SIM card corresponding to the first application according to a preset correspondence between the application and the SIM card;
the first communication module 204 is configured to perform communication corresponding to the communication request through the first SIM card.
Thus, the mobile terminal in this embodiment detects whether a communication request for communication via the SIM card is received via the detection module, and determining, by a determination module, a first application associated with the communication request upon receipt of the communication request, then, the acquisition module acquires a first SIM card corresponding to the first application according to the preset corresponding relation between the application and the SIM card, and finally, the communication module carries out communication corresponding to the communication request through the first SIM card, thereby avoiding the process that a user memorizes different applications and selects different SIM cards for communication, and avoids the process that the user selects the SIM card when the user communicates through the SIM card, thereby avoiding the problem that the user confuses the SIM cards corresponding to different applications, and then the problem that the SIM cards corresponding to different service communication are easily confused by a user to cause the communication by using wrong SIM cards in the prior art is solved.
Specifically, as shown in fig. 3, it is a second block diagram of the mobile terminal according to the embodiment of the present invention.
Optionally, the determining module 202 includes: a first determining unit 2021, configured to determine, according to the application triggering the communication request, a first application associated with the communication request.
Optionally, the determining module 202 includes: a second determining unit 2022, configured to determine a target contact of the communication request; a third determining unit 2023, configured to determine, according to the application associated with the target contact, the first application associated with the communication request.
Optionally, the determining module 202 is further configured to determine a first application account of a first application associated with the communication request; the obtaining module 203 is configured to obtain a first SIM card corresponding to a first application account of the first application according to a preset corresponding relationship between the application account of the application and the SIM card.
Optionally, the mobile terminal further includes a second communication module 205, configured to perform, when it is detected that the first application does not have a preset correspondence with the SIM card, communication corresponding to the communication request through an SIM card corresponding to an SIM card selection instruction input by the user, or perform, through an application default SIM card, communication corresponding to the communication request.
In this way, the mobile terminal in this embodiment obtains the first SIM card corresponding to the first application account of the first application according to the preset corresponding relationship between the application account of the application and the SIM card, so that different application accounts can communicate through the corresponding SIM card, a process that a user memorizes different application accounts and selects different SIM cards for communication is avoided, and a process that the user selects the SIM card when communicating through the SIM card is avoided, thereby avoiding a problem that the user easily confuses different applications and SIM cards corresponding to the application accounts, and further solving a problem that the communication is performed by using wrong SIM cards due to the fact that the user easily confuses SIM cards corresponding to different service communications in the prior art.
In addition, an embodiment of the present invention further provides a program, which is executed by a processor to perform the multi-card communication method in the above-described embodiment.
In addition, an embodiment of the present invention further provides a computer-readable storage medium, which includes instructions, and when the instructions are executed on a computer, the instructions cause the computer to execute the multi-card communication method in the foregoing embodiment.
In addition, the embodiment of the present invention further provides a mobile terminal, where the mobile terminal includes a memory, a processor, and a multi-card communication program stored on the memory and capable of running on the processor, and the processor implements the steps in the multi-card communication method in the above embodiment when executing the multi-card communication program.
In addition, as shown in fig. 4, it is a third structural block diagram of the mobile terminal in the embodiment of the present invention. The mobile terminal 400 shown in fig. 4 includes: at least one processor 401, memory 402, at least one network interface 404, a user interface 403. The various components in the mobile terminal 400 are coupled together by a bus system 405. It is understood that the bus system 405 is used to enable connection communication between these components. The bus system 405 includes a power bus, a control bus, and a status signal bus in addition to a data bus. For clarity of illustration, however, the various buses are labeled as bus system 405 in fig. 4. In addition, the mobile terminal 400 is mounted with a plurality of SIM cards.
Where the user interface 403 may include a display, keyboard, or pointing device (e.g., a mouse, trackball, touch pad, or touch screen, etc., it is understood that the Memory 402 in embodiments of the present invention may be either volatile Memory or non-volatile Memory, or may include both volatile and non-volatile Memory, where the non-volatile Memory may be Read-Only Memory (ROM), Programmable Read-Only Memory (PROM), Erasable Programmable Read-Only Memory (erase PROM, EPROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), or flash Memory. SRAM), Dynamic random access memory (Dynamic RAM, DRAM), Synchronous Dynamic random access memory (Synchronous DRAM, SDRAM), Double Data Rate Synchronous Dynamic random access memory (Double Data Rate SDRAM, DDRSDRAM), Enhanced Synchronous DRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), and Direct memory bus RAM (DRRAM). The memory 402 of the systems and methods described in this embodiment of the invention is intended to comprise, without being limited to, these and any other suitable types of memory.
In some embodiments, memory 402 stores the following elements, executable modules or data structures, or a subset thereof, or an expanded set thereof: an operating system 4021 and application programs 4022. Specifically, the memory 402 stores a setting module and a configuration file.
The operating system 4021 includes various system programs, such as a framework layer, a core library layer, a driver layer, and the like, and is configured to implement various basic services and process hardware-based tasks. The application programs 4022 include various application programs, such as a Media Player (Media Player), a Browser (Browser), and the like, for implementing various application services. A program for implementing the method according to the embodiment of the present invention may be included in the application 4022.
In the embodiment of the present invention, by calling a program or an instruction stored in the memory 402, specifically, a program or an instruction stored in the application 4022 may be used. Wherein the processor 401 is configured to: detecting whether a communication request for communication through the SIM card is received; determining a first application associated with the communication request upon receipt of the communication request; acquiring a first SIM card corresponding to the first application according to a preset corresponding relation between the application and the SIM card; and carrying out communication corresponding to the communication request through the first SIM card.
The method disclosed in the above embodiments of the present invention may be applied to the processor 401, or implemented by the processor 401. The processor 401 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 401. The Processor 401 may be a general-purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, or discrete hardware components. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in the memory 402, and the processor 401 reads the information in the memory 402 and completes the steps of the method in combination with the hardware. The memory 402 stores therein the correspondence relationships and the like used in the above-described method.
It is to be understood that the embodiments described herein may be implemented in hardware, software, firmware, middleware, microcode, or any combination thereof. For a hardware implementation, the processing units may be implemented within one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), general purpose processors, controllers, micro-controllers, microprocessors, other electronic units configured to perform the functions of the present Application, or a combination thereof.
For a software implementation, the techniques of an embodiment of the invention may be implemented with modules (e.g., procedures, functions, and so on) that perform the functions of the embodiments of the invention. The software codes may be stored in a memory and executed by a processor. The memory may be implemented within the processor or external to the processor.
Optionally, as another embodiment, the processor 401 is further configured to: and determining a first application associated with the communication request according to the application triggering the communication request.
Optionally, as another embodiment, the processor 401 is further configured to: determining a target contact of the communication request; and determining a first application associated with the communication request according to the application associated with the target contact.
Optionally, as another embodiment, the processor 401 is further configured to: determining a first application account of a first application associated with the communication request; and acquiring a first SIM card corresponding to a first application account of the first application according to a preset corresponding relation between the application account of the application and the SIM card.
Optionally, as another embodiment, the processor 401 is further configured to: and when detecting that the first application does not have a preset corresponding relation with the SIM card, carrying out communication corresponding to the communication request through the SIM card corresponding to the SIM card selection instruction input by the user, or carrying out communication corresponding to the communication request through applying a default SIM card.
The mobile terminal 400 can implement the processes implemented by the mobile terminal in the foregoing embodiments, and in order to avoid repetition, the detailed description is omitted here.
The mobile terminal provided in the above embodiment of the present invention obtains the first SIM card corresponding to the first application account of the first application according to the preset corresponding relationship between the application account of the application and the SIM card, so that different application accounts can communicate through the corresponding SIM card, a process that a user memorizes different application accounts and selects different SIM cards for communication is avoided, and a process that the user selects the SIM card when communicating through the SIM card is avoided, thereby avoiding a problem that the user easily confuses different applications and SIM cards corresponding to the application accounts, and further solving a problem that the user uses a wrong SIM card for communication due to the fact that the user easily confuses SIM cards corresponding to different service communications in the prior art.
On the other hand, as shown in fig. 5, it is a fourth structural block diagram of the mobile terminal in the embodiment of the present invention. Specifically, the mobile terminal 500 in fig. 5 may be a mobile phone, a tablet computer, a Personal Digital Assistant (PDA), or a vehicle-mounted computer.
The mobile terminal 500 in fig. 5 includes a Radio Frequency (RF) circuit 510, a memory 520, an input unit 530, a display unit 540, a processor 560, an audio circuit 570, a wifi (wireless fidelity) module 580, and a power supply 590. In addition, the mobile terminal 500 is mounted with a plurality of SIM cards.
The input unit 530 may be used to receive numeric or character information input by a user and generate signal inputs related to user settings and function control of the mobile terminal 500, among other things. Specifically, in the embodiment of the present invention, the input unit 530 may include a touch panel 531. The touch panel 531, also called a touch screen, can collect touch operations of a user (for example, operations of the user on the touch panel 531 by using a finger, a stylus pen, or any other suitable object or accessory) thereon or nearby, and drive the corresponding connection device according to a preset program. Alternatively, the touch panel 531 may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts it to touch point coordinates, sends it to the processor 560, and can receive and execute commands from the processor 560. In addition, the touch panel 531 may be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 531, the input unit 530 may further include other input devices 532, and the other input devices 532 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
Among other things, the display unit 540 may be used to display information input by the user or information provided to the user and various menu interfaces of the mobile terminal 500. The display unit 540 may include a display panel 541, and optionally, the display panel 541 may be configured in the form of an LCD or an Organic Light-Emitting Diode (OLED), or the like.
It should be noted that the touch panel 531 may cover the display panel 541 to form a touch display screen, and when the touch display screen detects a touch operation thereon or nearby, the touch display screen is transmitted to the processor 560 to determine the type of the touch event, and then the processor 560 provides a corresponding visual output on the touch display screen according to the type of the touch event.
The touch display screen comprises an application program interface display area and a common control display area. The arrangement modes of the application program interface display area and the common control display area are not limited, and can be an arrangement mode which can distinguish two display areas, such as vertical arrangement, left-right arrangement and the like. The application interface display area may be used to display an interface of an application. Each interface may contain at least one interface element such as an icon and/or widget desktop control for an application. The application interface display area may also be an empty interface that does not contain any content. The common control display area is used for displaying controls with high utilization rate, such as application icons like setting buttons, interface numbers, scroll bars, phone book icons and the like.
The processor 560 is a control center of the mobile terminal 500, connects various parts of the entire mobile phone using various interfaces and lines, and performs various functions of the mobile terminal 500 and processes data by operating or executing software programs and/or modules stored in the first memory 521 and calling data stored in the second memory 522, thereby integrally monitoring the mobile terminal 500. Optionally, processor 560 may include one or more processing units.
In the embodiment of the present invention, the software program and/or the module stored in the first memory 521 and/or the data stored in the second memory 522 are called, wherein the first memory 521 includes a setting module and a configuration file. The processor 560 is configured to: detecting whether a communication request for communication through the SIM card is received; determining a first application associated with the communication request upon receipt of the communication request; acquiring a first SIM card corresponding to the first application according to a preset corresponding relation between the application and the SIM card; and carrying out communication corresponding to the communication request through the first SIM card.
Optionally, as another embodiment, the processor 560 is further configured to: and determining a first application associated with the communication request according to the application triggering the communication request.
Optionally, as another embodiment, the processor 560 is further configured to: determining a target contact of the communication request; and determining a first application associated with the communication request according to the application associated with the target contact.
Optionally, as another embodiment, the processor 560 is further configured to: determining a first application account of a first application associated with the communication request; and acquiring a first SIM card corresponding to a first application account of the first application according to a preset corresponding relation between the application account of the application and the SIM card.
Optionally, as another embodiment, the processor 560 is further configured to: and when detecting that the first application does not have a preset corresponding relation with the SIM card, carrying out communication corresponding to the communication request through the SIM card corresponding to the SIM card selection instruction input by the user, or carrying out communication corresponding to the communication request through applying a default SIM card.
The mobile terminal provided in the above embodiment of the present invention obtains the first SIM card corresponding to the first application account of the first application according to the preset corresponding relationship between the application account of the application and the SIM card, so that different application accounts can communicate through the corresponding SIM card, a process that a user memorizes different application accounts and selects different SIM cards for communication is avoided, and a process that the user selects the SIM card when communicating through the SIM card is avoided, thereby avoiding a problem that the user easily confuses the SIM cards corresponding to different application accounts, and further solving a problem that the communication is performed using wrong SIM cards due to the fact that the user easily confuses the SIM cards corresponding to different service communications in the prior art.
The mobile terminal 500 can implement the processes implemented by the mobile terminal in the foregoing embodiments, and in order to avoid repetition, the detailed description is omitted here.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, a division of a unit is merely a logical division, and an actual implementation may have another division, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
Units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment of the present invention.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (7)

1. A multi-card communication method is applied to a mobile terminal provided with a plurality of SIM cards, and is characterized by comprising the following steps:
detecting whether a communication request for communication through the SIM card is received;
determining a first application associated with the communication request upon receipt of the communication request;
acquiring a first SIM card corresponding to the first application according to a preset corresponding relation between the application and the SIM card;
performing communication corresponding to the communication request through the first SIM card;
the step of determining the first application associated with the communication request comprises:
determining a target contact of the communication request;
determining a first application associated with the communication request according to the application associated with the target contact; determining an application name and an application account of a first application associated with the communication request;
after the step of determining the first application associated with the communication request, the method further includes:
determining a first application account of a first application associated with the communication request;
the step of obtaining a first SIM card corresponding to the first application according to the preset corresponding relation between the application and the SIM card comprises the following steps:
and acquiring a first SIM card corresponding to a first application account of the first application according to a preset corresponding relation between the application account of the application and the SIM card.
2. The multi-card communication method according to claim 1, wherein the step of determining the first application associated with the communication request comprises:
and determining a first application associated with the communication request according to the application triggering the communication request.
3. The communication method according to claim 1, wherein the step of determining the first application associated with the communication request is followed by further comprising:
and when detecting that the first application does not have a preset corresponding relation with the SIM card, carrying out communication corresponding to the communication request through the SIM card corresponding to the SIM card selection instruction input by the user, or carrying out communication corresponding to the communication request through applying a default SIM card.
4. The utility model provides a mobile terminal, install many SIM cards on the mobile terminal, its characterized in that, mobile terminal still includes:
the detection module is used for detecting whether a communication request for communication through the SIM card is received or not;
the determining module is used for determining a first application related to the communication request when the communication request is received;
the acquisition module is used for acquiring a first SIM card corresponding to the first application according to a preset corresponding relation between the application and the SIM card;
the first communication module is used for carrying out communication corresponding to the communication request through the first SIM card;
the determining module comprises:
the second determination unit is used for determining a target contact of the communication request;
a third determining unit, configured to determine, according to the application associated with the target contact, a first application associated with the communication request; determining an application name and an application account of a first application associated with the communication request;
the determination module is further configured to determine a first application account of a first application associated with the communication request;
the acquisition module is used for acquiring a first SIM card corresponding to a first application account of the first application according to a preset corresponding relation between the application account of the application and the SIM card.
5. The mobile terminal of claim 4, wherein the determining module comprises:
and the first determining unit is used for determining a first application related to the communication request according to the application triggering the communication request.
6. The mobile terminal according to claim 4, wherein the mobile terminal further comprises a second communication module, configured to perform communication corresponding to the communication request through a SIM card corresponding to a SIM card selection instruction input by a user or perform communication corresponding to the communication request through a default SIM card when it is detected that the first application does not have a preset correspondence with the SIM card.
7. A mobile terminal comprising a memory, a processor and a multi-card communication program stored on the memory and executable on the processor, the processor implementing the steps of the multi-card communication method according to any one of claims 1 to 3 when executing the multi-card communication program.
CN201710383486.5A 2017-05-26 2017-05-26 Multi-card communication method and mobile terminal Active CN107172287B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710383486.5A CN107172287B (en) 2017-05-26 2017-05-26 Multi-card communication method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710383486.5A CN107172287B (en) 2017-05-26 2017-05-26 Multi-card communication method and mobile terminal

Publications (2)

Publication Number Publication Date
CN107172287A CN107172287A (en) 2017-09-15
CN107172287B true CN107172287B (en) 2021-01-15

Family

ID=59822378

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710383486.5A Active CN107172287B (en) 2017-05-26 2017-05-26 Multi-card communication method and mobile terminal

Country Status (1)

Country Link
CN (1) CN107172287B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108601097B (en) * 2018-04-27 2022-01-25 中国联合网络通信集团有限公司 Networking control method, device and equipment for dual-card terminal and computer storage medium
WO2019218124A1 (en) * 2018-05-14 2019-11-21 华为技术有限公司 Method for automatically switching sim cards, and electronic apparatus
CN110913063A (en) * 2018-09-18 2020-03-24 奇酷互联网络科技(深圳)有限公司 Method for automatically switching mobile phone card through AI learning, mobile terminal and storage medium
CN110035385B (en) * 2019-05-16 2020-12-22 深圳市沃特沃德股份有限公司 SIM card selection method and device, storage medium and computer equipment
WO2021081840A1 (en) * 2019-10-30 2021-05-06 华为技术有限公司 Sim card selection method, device and system
CN112150733B (en) * 2020-09-27 2022-02-18 中国银行股份有限公司 Bank card misoperation processing method, device and equipment

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8989806B2 (en) * 2011-09-16 2015-03-24 Alcatel Lucent Network operator-neutral provisioning of mobile devices
CN103298161A (en) * 2012-02-23 2013-09-11 联发科技(新加坡)私人有限公司 Communication device and human-computer interface display method thereof
CN103052175B (en) * 2012-12-26 2017-03-15 东莞宇龙通信科技有限公司 Mobile terminal and the application display method of mobile terminal
CN105450828A (en) * 2014-06-30 2016-03-30 展讯通信(深圳)有限公司 Business execution method for multi-card mobile terminal
CN106376043A (en) * 2016-08-19 2017-02-01 北京小米移动软件有限公司 Automatic switching method and device for SIM (Subscriber Identification Module) card
CN106648729B (en) * 2016-09-22 2020-09-11 宇龙计算机通信科技(深圳)有限公司 Application freezing method and system
CN106657582B (en) * 2016-09-29 2021-01-15 宇龙计算机通信科技(深圳)有限公司 Method and device for starting personal identification function of application program and terminal

Also Published As

Publication number Publication date
CN107172287A (en) 2017-09-15

Similar Documents

Publication Publication Date Title
CN107172287B (en) Multi-card communication method and mobile terminal
CN106126077B (en) Display control method of application program icons and mobile terminal
CN107466077B (en) Network switching method and mobile terminal
CN107171874B (en) Voice engine switching method, mobile terminal and server
US10869358B2 (en) Configuration method of discountinuous reception parameter, mobile terminal, and base station
CN107526492B (en) Interface display method of application program and mobile terminal
CN107219988B (en) Interface operation guiding method and mobile terminal
CN106528160B (en) A kind of application program image target adding method and terminal
CN107562345B (en) Information storage method and mobile terminal
CN106445116B (en) Method for calling out message notification bar and mobile terminal
CN106453925B (en) Information transmission method and mobile terminal
CN107333325B (en) Network searching method and mobile terminal
CN106874046B (en) Application program operation method and mobile terminal
CN107643847B (en) Message display method and mobile terminal
CN106453953B (en) Wireless access point connection method and mobile terminal
CN107665434B (en) Payment method and mobile terminal
CN106354373B (en) Icon moving method and mobile terminal
CN107450799B (en) Message display method and mobile terminal
CN105868617B (en) Application program encryption method and mobile terminal
CN108366169B (en) Notification message processing method and mobile terminal
US20150248213A1 (en) Method to enable hard keys of a device from the screen
CN106599246B (en) Display content interception method, mobile terminal and control server
CN106341530B (en) Payment page switching method and mobile terminal
CN107632761B (en) Display content viewing method, mobile terminal and computer readable storage medium
CN107562262B (en) Method for responding touch operation, terminal and computer readable 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
GR01 Patent grant
GR01 Patent grant