CN107306458B - Working SIM card configuration method of communication terminal and communication terminal - Google Patents

Working SIM card configuration method of communication terminal and communication terminal Download PDF

Info

Publication number
CN107306458B
CN107306458B CN201610255941.9A CN201610255941A CN107306458B CN 107306458 B CN107306458 B CN 107306458B CN 201610255941 A CN201610255941 A CN 201610255941A CN 107306458 B CN107306458 B CN 107306458B
Authority
CN
China
Prior art keywords
card slot
communication terminal
identifier
target
card
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
CN201610255941.9A
Other languages
Chinese (zh)
Other versions
CN107306458A (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.)
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Original Assignee
Yulong Computer Telecommunication Scientific Shenzhen 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 Yulong Computer Telecommunication Scientific Shenzhen Co Ltd filed Critical Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority to CN201610255941.9A priority Critical patent/CN107306458B/en
Priority to PCT/CN2016/107812 priority patent/WO2017181679A1/en
Publication of CN107306458A publication Critical patent/CN107306458A/en
Application granted granted Critical
Publication of CN107306458B publication Critical patent/CN107306458B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the invention discloses a working SIM card configuration method of a communication terminal and the communication terminal, wherein the method comprises the following steps: acquiring state description information of a SIM card slot; if the situation that the SIM cards are inserted into the three card slots of the communication terminal is detected based on the state description information, displaying SIM card identification in a preset area of a display screen; when the selection operation aiming at the target SIM card identification in the SIM card identification is detected, determining the target card slot identification corresponding to the target SIM card identification in the state description information; and configuring a corresponding protocol stack for the target card slot corresponding to the target card slot identifier so as to configure the target SIM card corresponding to the target SIM card identifier as a working SIM card of the communication terminal. The embodiment of the invention also discloses a corresponding communication terminal. The technical scheme provided by the embodiment of the invention is beneficial to simplifying the operation steps of SIM card configuration, reducing the hardware cost and improving the flexibility of SIM card configuration of a user.

Description

Working SIM card configuration method of communication terminal and communication terminal
Technical Field
The invention relates to the technical field of mobile communication, in particular to a working SIM card configuration method of a communication terminal and the communication terminal.
Background
In daily life, for various reasons, many users need to own multiple mobile phone cards at the same time, such as office mobile phone cards and life mobile phone cards, in such a case, in order to carry conveniently and avoid carrying multiple phones at the same time, the users will prefer a mobile phone with multiple cards and multiple standby as their own communication tool, and there are many operators in regions such as china, india and africa, there may be many ten operators in a city in some regions, and multiple cards and multiple standby may allow more choices for the users.
The existing mobile phone communication methods mainly comprise three methods: single card single standby, double card single standby and double card double standby. The single card single standby is the most common mobile phone communication method, and the mobile phone only has one SIM card seat and only has one SIM card standby. The dual-card single-standby mobile phone is provided with two SIM card seats, two SIM cards can be inserted into the dual-card single-standby mobile phone, and a user selects which SIM card is specifically used for standby by shifting a switch between a first card slot and a second card slot. The dual-card dual-standby mobile phone has two SIM card seats, and the two SIM cards can be in standby state at the same time. The existing technical schemes can only realize dual-card dual-standby at most, namely, hardware can only support two SIM cards at the same time, and if a user has three SIM cards at the same time, the user can not use the SIM cards at the same time. Generally, if a user wants to use a third SIM card, the user needs to open the back cover of the mobile phone for replacement, or a switch is configured between the second card slot and the third card slot, and the user selects which SIM card in the second card slot and the third card slot is specifically used to be combined with the SIM card in the first card slot for standby by toggling the switch.
Disclosure of Invention
The embodiment of the invention provides a working SIM card configuration method of a communication terminal and the communication terminal, aiming at solving the problems of complex operation, high hardware cost and inflexible selection mode in the existing SIM card configuration technology.
A first aspect of an embodiment of the present invention provides a method for configuring a working SIM card of a communication terminal, including:
acquiring state description information of a subscriber identity module SIM card slot of a communication terminal, wherein the communication terminal comprises three card slots, two protocol stacks and mapping relations between three card slot identifications corresponding to the three card slots and the two protocol stacks are prestored in the communication terminal, and the state description information comprises card slot identifications of the SIM cards inserted into the three card slots and corresponding SIM card identifications;
if the situation that SIM cards are inserted into the three card slots of the communication terminal is detected based on the state description information, displaying SIM card identification in a preset area of a display screen of the communication terminal;
when the selection operation aiming at a target SIM card identifier in the SIM card identifiers is detected, determining a target card slot identifier corresponding to the target SIM card identifier in the state description information;
and configuring a corresponding protocol stack for a target card slot corresponding to the target card slot identifier according to the mapping relation between the three pre-stored card slot identifiers and two protocol stacks and the determined target card slot identifier, so as to configure the target SIM card corresponding to the target SIM card identifier as a working SIM card of the communication terminal.
Further optionally, the obtaining of the state description information of the SIM card slot of the subscriber identity module of the communication terminal includes:
when the SIM card slot of the communication terminal is detected to be powered on, detecting whether an SIM card is inserted into the SIM card slot corresponding to each prestored SIM card slot identification;
when the SIM card is detected to be inserted into any SIM card slot, acquiring a card slot identifier of the inserted SIM card and a corresponding SIM card identifier;
and generating the state description information based on the card slot identification of the inserted SIM card and the corresponding SIM card identification.
Further optionally, after obtaining the state description information of the SIM card slot of the subscriber identity module of the communication terminal, before configuring a corresponding protocol stack for a target card slot corresponding to the target card slot identifier according to the pre-stored mapping relationship between the three card slot identifiers and the two protocol stacks and the determined target card slot identifier, the method further includes:
and if any one or two of the three card slots of the communication terminal are detected to be inserted with the SIM card based on the state description information, determining the card slot identification of the inserted SIM card in the state description information, and taking the card slot identification of the inserted SIM card as a target card slot identification.
Further optionally, the configuring, according to the mapping relationship between the pre-stored three card slot identifiers and two protocol stacks and the determined target card slot identifier, a corresponding protocol stack for a target card slot corresponding to the target card slot identifier includes:
if the target card slot identifier is any one of the first card slot identifier, the second card slot identifier and the third card slot identifier, configuring a first protocol stack of the communication terminal as a protocol stack of the target card slot corresponding to the target card slot identifier; alternatively, the first and second electrodes may be,
if the target card slot identifier is a first card slot identifier and a second card slot identifier, configuring a first protocol stack of the communication terminal as a protocol stack of the first card slot corresponding to the first card slot identifier, and configuring a second protocol stack of the communication terminal as a protocol stack of the second card slot corresponding to the second card slot identifier; alternatively, the first and second electrodes may be,
if the target card slot identifier is the first card slot identifier and the third card slot identifier, configuring a first protocol stack of the communication terminal as a protocol stack of the first card slot corresponding to the first card slot identifier, and configuring a second protocol stack of the communication terminal as a protocol stack of the third card slot corresponding to the third card slot identifier; alternatively, the first and second electrodes may be,
and if the target card slot identifier is the second card slot identifier and the third card slot identifier, configuring the first protocol stack of the communication terminal as a protocol stack of the second card slot corresponding to the second card slot identifier, and configuring the second protocol stack of the communication terminal as a protocol stack of the third card slot corresponding to the third card slot identifier.
Further optionally, the pre-storing, by the communication terminal, three communication instances corresponding to three card slots, and configuring, according to the pre-stored mapping relationship between the three card slot identifiers and two protocol stacks and the determined target card slot identifier, a corresponding protocol stack for a target card slot corresponding to the target card slot identifier includes:
and according to the mapping relation between the three pre-stored card slot identifications and two protocol stacks and the determined target card slot identification, binding a communication instance of the target card slot corresponding to the target card slot identification with the protocol stacks, wherein the communication instance comprises a phone instance and an RILD instance.
A second aspect of an embodiment of the present invention provides a communication terminal, including:
the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring state description information of a Subscriber Identity Module (SIM) card slot of a communication terminal, the communication terminal comprises three card slots, two protocol stacks and mapping relations between three card slot identifications corresponding to the three card slots and the two protocol stacks are prestored in the communication terminal, and the state description information comprises card slot identifications of SIM cards inserted into the three card slots and corresponding SIM card identifications;
the display module is used for displaying an SIM card identifier in a preset area of a display screen of the communication terminal if the SIM cards are inserted into the three card slots of the communication terminal based on the state description information;
a first determining module, configured to determine, when a selection operation for a target SIM card identifier in the SIM card identifiers is detected, a target card slot identifier corresponding to the target SIM card identifier in the state description information;
and the configuration module is used for configuring a corresponding protocol stack for the target card slot corresponding to the target card slot identifier according to the mapping relation between the three pre-stored card slot identifiers and the two protocol stacks and the determined target card slot identifier, so as to configure the target SIM card corresponding to the target SIM card identifier as a working SIM card of the communication terminal.
Further optionally, the obtaining module includes:
the detection unit is used for detecting whether an SIM card is inserted into the SIM card slot corresponding to each prestored SIM card slot identifier when the SIM card slot of the communication terminal is detected to be powered on;
the SIM card slot identification acquisition unit is used for acquiring the SIM card slot identification and the corresponding SIM card identification of the inserted SIM card when detecting that the SIM card is inserted into any SIM card slot;
and the generating unit is used for generating the state description information based on the card slot identification of the inserted SIM card and the corresponding SIM card identification.
Further optionally, the communication terminal further includes:
and a second determining module, configured to, after the obtaining module obtains the state description information of the SIM card slot of the subscriber identity module of the communication terminal, before the configuring module configures a corresponding protocol stack for a target card slot corresponding to the target card slot identifier according to a mapping relationship between the three pre-stored card slot identifiers and two protocol stacks and the determined target card slot identifier, determine, if it is detected that any one or any two SIM cards are inserted in any one or any two of the three card slots of the communication terminal based on the state description information, a card slot identifier in which the SIM card is inserted in the state description information, and use the card slot identifier in which the SIM card is inserted as the target card slot identifier.
Further optionally, the configuration module is specifically configured to configure the first protocol stack of the communication terminal as the protocol stack of the target card slot corresponding to the target card slot identifier, if the target card slot identifier is any one of the first card slot identifier, the second card slot identifier and the third card slot identifier; alternatively, the first and second electrodes may be,
if the target card slot identifier is a first card slot identifier and a second card slot identifier, configuring a first protocol stack of the communication terminal as a protocol stack of the first card slot corresponding to the first card slot identifier, and configuring a second protocol stack of the communication terminal as a protocol stack of the second card slot corresponding to the second card slot identifier; alternatively, the first and second electrodes may be,
if the target card slot identifier is the first card slot identifier and the third card slot identifier, configuring a first protocol stack of the communication terminal as a protocol stack of the first card slot corresponding to the first card slot identifier, and configuring a second protocol stack of the communication terminal as a protocol stack of the third card slot corresponding to the third card slot identifier; alternatively, the first and second electrodes may be,
and if the target card slot identifier is the second card slot identifier and the third card slot identifier, configuring the first protocol stack of the communication terminal as a protocol stack of the second card slot corresponding to the second card slot identifier, and configuring the second protocol stack of the communication terminal as a protocol stack of the third card slot corresponding to the third card slot identifier.
Further optionally, the communication terminal stores three communication instances corresponding to three card slots in advance, and the configuration module is specifically configured to bind the communication instance of the target card slot corresponding to the target card slot identifier with the protocol stack according to a mapping relationship between the three pre-stored card slot identifiers and the two protocol stacks and the determined target card slot identifier, where the communication instance includes a phone instance and an RILD instance.
It can be seen that, in the technical solution of the embodiment of the present invention, firstly, the communication terminal displays all detected SIM card identifiers inserted into the SIM card on the display screen of the communication terminal, so that the user can freely select and combine the SIM cards, then, determines the corresponding target card slot identifier according to the selected target SIM card identifier, and finally, configures the corresponding protocol stack for the target card slot corresponding to the target card slot identifier according to the mapping relationship between the prestored three card slot identifiers and two protocol stacks based on the determined target card slot identifier, so as to configure the target SIM card corresponding to the target SIM card identifier as the working SIM card of the communication terminal, which avoids configuring the SIM card by opening the back cover of the mobile phone to replace the SIM card or switching switch in the prior art, which is beneficial to simplifying the operation steps of configuring the SIM card, reducing the hardware cost, and improving the flexibility of configuring the SIM card of the user.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a flowchart illustrating a working SIM card configuration method of a communication terminal according to a first embodiment of the present invention;
FIG. 1-1 is a schematic diagram illustrating an effect of a human-computer interaction interface according to a first embodiment of the invention;
fig. 2 is a flowchart illustrating a working SIM card configuration method of a communication terminal according to a second embodiment of the present invention;
fig. 3 is a schematic structural diagram of a communication terminal according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of a communication terminal according to a fourth embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, 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 only a part of the embodiments of the present invention, and not all of the embodiments. 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.
The terms "first," "second," and the like in the description and claims of the present invention and in the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the invention. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
Referring to fig. 1, fig. 1 is a schematic flow chart of a working SIM card configuration method of a communication terminal according to a first embodiment of the present invention, as shown in fig. 1, the working SIM card configuration method of the communication terminal according to the embodiment of the present invention includes the following steps:
s101, a communication terminal acquires state description information of a SIM card slot of a customer identification module of the communication terminal, wherein the communication terminal comprises three card slots, two protocol stacks and mapping relations between three card slot identifications corresponding to the three card slots and the two protocol stacks are prestored in the communication terminal, and the state description information comprises card slot identifications of SIM cards inserted into the three card slots and corresponding SIM card identifications.
The specific implementation manner of the communication terminal acquiring the state description information of the SIM card slot of the subscriber identity module of the communication terminal may be as follows: when the communication terminal detects that the SIM card slot of the communication terminal is electrified, whether an SIM card is inserted into the SIM card slot corresponding to each prestored SIM card slot identification is detected; when the SIM card is detected to be inserted into any SIM card slot, acquiring a card slot identifier of the inserted SIM card and a corresponding SIM card identifier; and generating state description information based on the card slot identification of the inserted SIM card and the corresponding SIM card identification.
The above state description information may refer to tables 1 to 7, among others.
When detecting that the SIM card slot of the communication terminal is powered on, the communication terminal detects whether a SIM card is inserted into the SIM card slot corresponding to each pre-stored SIM card slot identifier, and when detecting that only one SIM card is inserted into a SIM card, the state description information of the communication terminal can refer to tables 1 to 3; when two card slots are detected to be inserted into the SIM card, the state description information can refer to tables 4 to 6; when it is detected that the SIM card is inserted into all three card slots, the status description information may refer to table 7.
Card slot identification SIM card identification
First card slot identification First SIM card identification
Second card slot identification Card-free
Third card slot mark Card-free
TABLE 1
Card slot identification SIM card identification
First card slot identification Card-free
Second card slot identification Second SIM card identification
Third card slot mark Card-free
TABLE 2
Card slot identification SIM card identification
First card slot identification Card-free
Second card slot identification Card-free
Third card slot mark Third SIM card identification
TABLE 3
Card slot identification SIM card identification
First card slot identification First SIM card identification
Second card slot identification Second SIM card identification
Third card slot mark Card-free
TABLE 4
Card slot identification SIM card identification
First card slot identification First SIM card identification
Second card slot identification Card-free
Third card slot mark Third SIM card identification
TABLE 5
Card slot identification SIM card identification
First card slot identification Card-free
Second card slot identification Second SIM card identification
Third card slot mark Third SIM card identification
TABLE 6
Card slot identification SIM card identification
First card slot identification First SIM card identification
Second card slot identification Second SIM card identification
Third card slot mark Third SIM card identification
TABLE 7
S102, if the communication terminal detects that SIM cards are inserted into the three card slots of the communication terminal based on the state description information, displaying the SIM card identification in a preset area of a display screen of the communication terminal.
S103, when the communication terminal detects the selection operation aiming at the target SIM card identification in the SIM card identifications, determining the target card slot identification corresponding to the target SIM card identification in the state description information.
The method comprises the steps that if the communication terminal detects that SIM cards are inserted into three card slots of the communication terminal based on state description information, a first SIM card identification, a second SIM card identification and a third SIM card identification are displayed in a preset area of a display screen of the communication terminal, then touch selection operation of a user for the display screen is detected, and when the selection operation for a target SIM card identification in the SIM card identifications is detected, a target card slot identification corresponding to the target SIM card identification in the state description information is determined. The communication terminal is pre-stored with two protocol stacks, so that the target SIM card identifier may be one or two, when a user selection operation for all the three SIM card identifiers is detected, the communication terminal displays a prompt message in a preset area of a display screen to remind the user that three cards cannot be simultaneously activated and that the user wants to select any two cards for activation, and a specific human-computer interaction interface thereof can refer to fig. 1-1, where fig. 1-1 is an effect schematic diagram of a human-computer interaction interface provided by the first embodiment of the present invention.
And S104, the communication terminal configures a corresponding protocol stack for a target card slot corresponding to the target card slot identifier according to the pre-stored mapping relation between the three card slot identifiers and the two protocol stacks and the determined target card slot identifier, so as to configure the target SIM card corresponding to the target SIM card identifier as a working SIM card of the communication terminal.
Optionally, after state description information of a SIM card slot of a subscriber identity module of the communication terminal is obtained, before configuring a corresponding protocol stack for a target card slot corresponding to a target card slot identifier according to a mapping relationship between three pre-stored card slot identifiers and two protocol stacks and the determined target card slot identifier, the communication terminal may further perform the following operations:
and if any one or two of the three card slots of the communication terminal are obtained based on the state description information, determining the card slot identifier of the inserted SIM card in the state description information, and taking the card slot identifier of the inserted SIM card as the target card slot identifier.
The communication terminal configures a corresponding protocol stack for a target card slot corresponding to a target card slot identifier according to a mapping relationship between three pre-stored card slot identifiers and two protocol stacks and the determined target card slot identifier, and the specific implementation manner may be:
if the target card slot identifier is any one of the first card slot identifier, the second card slot identifier and the third card slot identifier, configuring the first protocol stack of the communication terminal as the protocol stack of the target card slot corresponding to the target card slot identifier, and referring to tables 8 to 10 for the specific mapping relationship.
Target card slot identification SIM card identification Protocol stack
First card slot identification First SIM card identification First protocol stack
TABLE 8
Target card slot identification SIM card identification Protocol stack
Second card slot identification Second SIM card identification First protocol stack
TABLE 9
Target card slot identification SIM card identification Protocol stack
Third card slot mark Third SIM card identification First protocol stack
Watch 10
If the target card slot identifier is the first card slot identifier and the second card slot identifier, the first protocol stack of the communication terminal is configured as the protocol stack of the first card slot corresponding to the first card slot identifier, and the second protocol stack of the communication terminal is configured as the protocol stack of the second card slot corresponding to the second card slot identifier, and the specific mapping relationship can refer to table 11.
Target card slot identification SIM card identification Protocol stack
First card slot identification First SIM card identification First protocol stack
Second card slot identification Second SIM card identification Second protocol stack
TABLE 11
If the target card slot identifier is the first card slot identifier and the third card slot identifier, the first protocol stack of the communication terminal is configured as the protocol stack of the first card slot corresponding to the first card slot identifier, the second protocol stack of the communication terminal is configured as the protocol stack of the third card slot corresponding to the third card slot identifier, and the specific mapping relationship may refer to table 12.
Card slot identification SIM card identification Protocol stack
First card slot identification First SIM card identification First protocol stack
Third card slot mark Third SIM card identification Second protocol stack
TABLE 12
Or, if the target card slot identifier is the second card slot identifier and the third card slot identifier, configuring the first protocol stack of the communication terminal as the protocol stack of the second card slot corresponding to the second card slot identifier, configuring the second protocol stack of the communication terminal as the protocol stack of the third card slot corresponding to the third card slot identifier, where the specific mapping relationship may refer to table 13.
Card slot identification SIM card identification Protocol stack
Second card slot identification Second SIM card identification First protocol stack
Third card slot mark Third SIM card identification Second protocol stack
Watch 13
The communication terminal prestores three communication instances corresponding to three card slots, and according to the mapping relationship between the prestored three card slot identifiers and two protocol stacks and the determined target card slot identifier, the specific implementation manner of configuring the corresponding protocol stack for the target card slot corresponding to the target card slot identifier may be:
and according to the mapping relation between the three pre-stored card slot identifications and the two protocol stacks and the determined target card slot identification, binding the communication instance of the target card slot corresponding to the target card slot identification with the protocol stacks, wherein the communication instance comprises a phone instance and an RILD instance.
It can be seen that, in the technical solution of the embodiment of the present invention, firstly, the communication terminal displays all detected SIM card identifiers inserted into the SIM card on the display screen of the communication terminal, so that the user can freely select and combine the SIM cards, then, determines the corresponding target card slot identifier according to the selected target SIM card identifier, and finally, configures the corresponding protocol stack for the target card slot corresponding to the target card slot identifier according to the mapping relationship between the prestored three card slot identifiers and two protocol stacks based on the determined target card slot identifier, so as to configure the target SIM card corresponding to the target SIM card identifier as the working SIM card of the communication terminal, which avoids configuring the SIM card by opening the back cover of the mobile phone to replace the SIM card or switching switch in the prior art, which is beneficial to simplifying the operation steps of configuring the SIM card, reducing the hardware cost, and improving the flexibility of configuring the SIM card of the user.
Referring to fig. 2, fig. 2 is a flowchart illustrating a working SIM card configuration method of a communication terminal according to a second embodiment of the present invention, as shown in fig. 2, the working SIM card configuration method of the communication terminal according to the embodiment of the present invention includes the following steps:
s201, when the communication terminal detects that the SIM card slot of the communication terminal is electrified, whether an SIM card is inserted into the SIM card slot corresponding to each prestored SIM card slot identification is detected.
S202, when detecting that the SIM card is inserted into any SIM card slot, the communication terminal acquires the card slot identification of the inserted SIM card and the corresponding SIM card identification.
S203, the communication terminal generates state description information based on the card slot identification inserted with the SIM card and the corresponding SIM card identification.
The communication terminal comprises three card slots, two protocol stacks and mapping relations between three card slot identifications corresponding to the three card slots and the two protocol stacks are prestored in the communication terminal, and the state description information comprises card slot identifications of SIM cards inserted into the three card slots and corresponding SIM card identifications;
s204, the communication terminal detects whether the SIM card is inserted into the three card slots of the communication terminal or not based on the state description information.
If the communication terminal detects that the SIM cards are inserted into all three card slots of the communication terminal based on the state description information, step S208 is executed after step S205 to step S206 are executed, and if the communication terminal detects that any one or two of the three card slots of the communication terminal are inserted into the SIM cards based on the state description information, step S207 is executed and then step S208 is continuously executed.
S205, if the communication terminal detects that the SIM cards are inserted into the three card slots of the communication terminal based on the state description information, displaying the SIM card identification in a preset area of a display screen of the communication terminal.
S206, when the communication terminal detects the selection operation aiming at the target SIM card identification in the SIM card identifications, the communication terminal determines the target card slot identification corresponding to the target SIM card identification in the state description information.
S207, if any one or two of the three card slots of the communication terminal are detected to be inserted with the SIM card based on the state description information, determining the card slot identification of the inserted SIM card in the state description information, and taking the card slot identification of the inserted SIM card as a target card slot identification.
And S208, the communication terminal configures a corresponding protocol stack for the target card slot corresponding to the target card slot identifier according to the mapping relation between the pre-stored three card slot identifiers and the two protocol stacks and the determined target card slot identifier, so as to configure the target SIM card corresponding to the target SIM card identifier as a working SIM card of the communication terminal.
According to the mapping relationship between the pre-stored three card slot identifiers and two protocol stacks and the determined target card slot identifier, the specific implementation manner of configuring the corresponding protocol stack for the target card slot corresponding to the target card slot identifier may be:
if the target card slot identifier is any one of the first card slot identifier, the second card slot identifier and the third card slot identifier, configuring a first protocol stack of the communication terminal as a protocol stack of the target card slot corresponding to the target card slot identifier; alternatively, the first and second electrodes may be,
if the target card slot identifier is the first card slot identifier and the second card slot identifier, configuring a first protocol stack of the communication terminal as a protocol stack of the first card slot corresponding to the first card slot identifier, and configuring a second protocol stack of the communication terminal as a protocol stack of the second card slot corresponding to the second card slot identifier; alternatively, the first and second electrodes may be,
if the target card slot identifier is the first card slot identifier and the third card slot identifier, configuring a first protocol stack of the communication terminal as a protocol stack of the first card slot corresponding to the first card slot identifier, and configuring a second protocol stack of the communication terminal as a protocol stack of the third card slot corresponding to the third card slot identifier; alternatively, the first and second electrodes may be,
and if the target card slot identifier is the second card slot identifier and the third card slot identifier, configuring the first protocol stack of the communication terminal as the protocol stack of the second card slot corresponding to the second card slot identifier, and configuring the second protocol stack of the communication terminal as the protocol stack of the third card slot corresponding to the third card slot identifier.
The communication terminal prestores three communication instances corresponding to three card slots, and according to the mapping relationship between the prestored three card slot identifiers and two protocol stacks and the determined target card slot identifier, the specific implementation manner of configuring the corresponding protocol stack for the target card slot corresponding to the target card slot identifier may be:
and according to the mapping relation between the three pre-stored card slot identifications and the two protocol stacks and the determined target card slot identification, binding the communication instance of the target card slot corresponding to the target card slot identification with the protocol stacks, wherein the communication instance comprises a phone instance and an RILD instance.
It can be seen that, in the technical solution of the embodiment of the present invention, firstly, the communication terminal displays all detected SIM card identifiers inserted into the SIM card on the display screen of the communication terminal, so that the user can freely select and combine the SIM cards, then, determines the corresponding target card slot identifier according to the selected target SIM card identifier, and finally, configures the corresponding protocol stack for the target card slot corresponding to the target card slot identifier according to the mapping relationship between the prestored three card slot identifiers and two protocol stacks based on the determined target card slot identifier, so as to configure the target SIM card corresponding to the target SIM card identifier as the working SIM card of the communication terminal, which avoids configuring the SIM card by opening the back cover of the mobile phone to replace the SIM card or switching switch in the prior art, which is beneficial to simplifying the operation steps of configuring the SIM card, reducing the hardware cost, and improving the flexibility of configuring the SIM card of the user.
For convenience of description, only the relevant parts of the embodiments of the present invention are shown, and details of the specific technology are not disclosed.
Referring to fig. 3, fig. 3 is a schematic structural diagram of a communication terminal according to a third embodiment of the present invention, and as shown in fig. 3, the communication terminal according to the embodiment of the present invention includes the following modules:
an obtaining module 301, configured to obtain state description information of a SIM card slot of a subscriber identity module of a communication terminal, where the communication terminal includes three card slots, the communication terminal pre-stores two protocol stacks and mapping relationships between three card slot identifiers corresponding to the three card slots and the two protocol stacks, and the state description information includes a card slot identifier in which an SIM card has been inserted and a corresponding SIM card identifier;
a display module 302, configured to display an SIM card identifier in a preset area of a display screen of the communication terminal if it is detected that an SIM card is inserted into all three card slots of the communication terminal based on the state description information;
a first determining module 303, configured to determine, when a selection operation for a target SIM card identifier in the SIM card identifiers is detected, a target card slot identifier corresponding to the target SIM card identifier in the state description information;
a configuration module 304, configured to configure a corresponding protocol stack for a target card slot corresponding to the target card slot identifier according to a mapping relationship between the three pre-stored card slot identifiers and two protocol stacks and the determined target card slot identifier, so as to configure a target SIM card corresponding to the target SIM card identifier as a working SIM card of the communication terminal.
Wherein the obtaining module 301 may further include:
the detecting unit 3011 is configured to detect whether an SIM card is inserted into an SIM card slot corresponding to each pre-stored SIM card slot identifier when it is detected that the SIM card slot of the communication terminal is powered on;
an obtaining unit 3012, configured to obtain, when detecting that a SIM card is inserted into any SIM card slot, a card slot identifier of the inserted SIM card and a corresponding SIM card identifier;
a generating unit 3013, configured to generate the state description information based on the card slot identifier of the inserted SIM card and the corresponding SIM card identifier.
Further optionally, the communication terminal may further include:
after the obtaining module 301 obtains the state description information of the SIM card slot of the subscriber identity module of the communication terminal, the configuration module 304 configures a corresponding protocol stack for a target card slot corresponding to the target card slot identifier according to a mapping relationship between three pre-stored card slot identifiers and two protocol stacks and the determined target card slot identifier, and is configured to determine the card slot identifier of the SIM card inserted in the state description information when detecting that any one card slot or any two card slots of the three card slots of the communication terminal are inserted with the SIM card, and use the card slot identifier of the inserted SIM card as the target card slot identifier.
The configuration module 304 is specifically configured to configure a first protocol stack of the communication terminal as a protocol stack of the target card slot corresponding to the target card slot identifier if the target card slot identifier is any one of the first card slot identifier, the second card slot identifier and the third card slot identifier; alternatively, the first and second electrodes may be,
if the target card slot identifier is the first card slot identifier and the second card slot identifier, configuring a first protocol stack of the communication terminal as a protocol stack of the first card slot corresponding to the first card slot identifier, and configuring a second protocol stack of the communication terminal as a protocol stack of the second card slot corresponding to the second card slot identifier; alternatively, the first and second electrodes may be,
if the target card slot identifier is the first card slot identifier and the third card slot identifier, configuring a first protocol stack of the communication terminal as a protocol stack of the first card slot corresponding to the first card slot identifier, and configuring a second protocol stack of the communication terminal as a protocol stack of the third card slot corresponding to the third card slot identifier; alternatively, the first and second electrodes may be,
and if the target card slot identifier is the second card slot identifier and the third card slot identifier, configuring the first protocol stack of the communication terminal as the protocol stack of the second card slot corresponding to the second card slot identifier, and configuring the second protocol stack of the communication terminal as the protocol stack of the third card slot corresponding to the third card slot identifier.
Further optionally, the method is characterized in that the communication terminal stores three communication instances corresponding to three card slots in advance, and the configuration module 304 is specifically configured to bind the communication instance of the target card slot corresponding to the target card slot identifier with the protocol stack according to a mapping relationship between the three pre-stored card slot identifiers and the two protocol stacks and the determined target card slot identifier, where the communication instance includes a phone instance and an RILD instance.
Specifically, the detailed implementation of each module may refer to the description of the relevant steps in the corresponding embodiments of fig. 1 to fig. 2, which is not repeated herein.
It can be seen that, in the technical solution of the embodiment of the present invention, firstly, the communication terminal displays all detected SIM card identifiers inserted into the SIM card on the display screen of the communication terminal, so that the user can freely select and combine the SIM cards, then, determines the corresponding target card slot identifier according to the selected target SIM card identifier, and finally, configures the corresponding protocol stack for the target card slot corresponding to the target card slot identifier according to the mapping relationship between the prestored three card slot identifiers and two protocol stacks based on the determined target card slot identifier, so as to configure the target SIM card corresponding to the target SIM card identifier as the working SIM card of the communication terminal, which avoids configuring the SIM card by opening the back cover of the mobile phone to replace the SIM card or switching switch in the prior art, which is beneficial to simplifying the operation steps of configuring the SIM card, reducing the hardware cost, and improving the flexibility of configuring the SIM card of the user.
Referring to fig. 4, fig. 4 is a schematic structural diagram of a communication terminal according to a fourth embodiment of the present invention. As shown in fig. 4, the communication terminal in the embodiment of the present invention includes: at least one processor 401, e.g., a CPU, at least one receiver 403, at least one memory 404, at least one transmitter 405, at least one communication bus 402. Wherein a communication bus 402 is used to enable connective communication between these components. The receiver 403 and the transmitter 405 of the apparatus in the embodiment of the present invention may be wired transmission ports, or may also be wireless devices, for example, including an antenna apparatus, which is used for performing signaling or data communication with other node devices. The memory 404 may be a high-speed RAM memory or a non-volatile memory (e.g., at least one disk memory). The memory 404 may optionally be at least one memory device located remotely from the processor 401. A set of program codes is stored in the memory 404 and the processor 401 can call the codes stored in the memory 404 to execute the relevant functions through the communication bus 402.
The processor 401 is configured to obtain status description information of a SIM card slot of a subscriber identity module of a communication terminal, where the communication terminal includes three card slots, the communication terminal pre-stores two protocol stacks and mapping relationships between three card slot identifiers corresponding to the three card slots and the two protocol stacks, and the status description information includes a card slot identifier into which an SIM card has been inserted in the three card slots and a corresponding SIM card identifier; if the situation that SIM cards are inserted into the three card slots of the communication terminal is detected based on the state description information, displaying SIM card identification in a preset area of a display screen of the communication terminal; when the selection operation aiming at a target SIM card identifier in the SIM card identifiers is detected, determining a target card slot identifier corresponding to the target SIM card identifier in the state description information; and configuring a corresponding protocol stack for a target card slot corresponding to the target card slot identifier according to the mapping relation between the three pre-stored card slot identifiers and two protocol stacks and the determined target card slot identifier, so as to configure the target SIM card corresponding to the target SIM card identifier as a working SIM card of the communication terminal.
Further optionally, the processor 401, when configured to obtain state description information of a SIM card slot of a subscriber identity module of a communication terminal, is specifically configured to detect whether a SIM card is inserted into a SIM card slot corresponding to each pre-stored SIM card slot identifier when detecting that the SIM card slot of the communication terminal is powered on; when the SIM card is detected to be inserted into any SIM card slot, acquiring a card slot identifier of the inserted SIM card and a corresponding SIM card identifier; and generating the state description information based on the card slot identification of the inserted SIM card and the corresponding SIM card identification.
Further optionally, after the processor 401 is configured to obtain state description information of a SIM card slot of a subscriber identity module of a communication terminal, before being configured to configure a corresponding protocol stack for a target card slot corresponding to the target card slot identifier according to a mapping relationship between pre-stored three card slot identifiers and two protocol stacks and the determined target card slot identifier, the processor 401 may be further configured to determine a card slot identifier into which the SIM card has been inserted in the state description information and use the card slot identifier into which the SIM card has been inserted as the target card slot identifier if it is detected that any one or two of three card slots of the communication terminal are inserted into the SIM card based on the state description information.
Further optionally, the processor 401, when configured to configure a corresponding protocol stack for a target card slot corresponding to the target card slot identifier according to a mapping relationship between the pre-stored three card slot identifiers and two protocol stacks and the determined target card slot identifier, is specifically configured to configure a first protocol stack of the communication terminal as the protocol stack of the target card slot corresponding to the target card slot identifier if the target card slot identifier is any one of a first card slot identifier, a second card slot identifier, and a third card slot identifier; or if the target card slot identifier is the first card slot identifier and the second card slot identifier, configuring a first protocol stack of the communication terminal as a protocol stack of the first card slot corresponding to the first card slot identifier, and configuring a second protocol stack of the communication terminal as a protocol stack of the second card slot corresponding to the second card slot identifier; or if the target card slot identifier is the first card slot identifier and the third card slot identifier, configuring the first protocol stack of the communication terminal as the protocol stack of the first card slot corresponding to the first card slot identifier, and configuring the second protocol stack of the communication terminal as the protocol stack of the third card slot corresponding to the third card slot identifier; or, if the target card slot identifier is the second card slot identifier and the third card slot identifier, configuring the first protocol stack of the communication terminal as the protocol stack of the second card slot corresponding to the second card slot identifier, and configuring the second protocol stack of the communication terminal as the protocol stack of the third card slot corresponding to the third card slot identifier.
Further optionally, the communication terminal stores three communication instances corresponding to three card slots in advance, and the processor 401, when configured to configure a corresponding protocol stack for a target card slot corresponding to the target card slot identifier according to a pre-stored mapping relationship between the three card slot identifiers and two protocol stacks and the determined target card slot identifier, is specifically configured to bind the communication instance of the target card slot corresponding to the target card slot identifier with the protocol stack according to the pre-stored mapping relationship between the three card slot identifiers and two protocol stacks and the determined target card slot identifier, where the communication instance includes a phone instance and an RILD instance.
Specifically, the detailed implementation of each module may refer to the description of the relevant steps in the corresponding embodiments of fig. 1 to fig. 2, which is not repeated herein.
It can be seen that, in the technical solution of the embodiment of the present invention, firstly, the communication terminal displays all detected SIM card identifiers inserted into the SIM card on the display screen of the communication terminal, so that the user can freely select and combine the SIM cards, then, determines the corresponding target card slot identifier according to the selected target SIM card identifier, and finally, configures the corresponding protocol stack for the target card slot corresponding to the target card slot identifier according to the mapping relationship between the prestored three card slot identifiers and two protocol stacks based on the determined target card slot identifier, so as to configure the target SIM card corresponding to the target SIM card identifier as the working SIM card of the communication terminal, which avoids configuring the SIM card by opening the back cover of the mobile phone to replace the SIM card or switching switch in the prior art, which is beneficial to simplifying the operation steps of configuring the SIM card, reducing the hardware cost, and improving the flexibility of configuring the SIM card of the user.
An embodiment of the present invention further provides a computer storage medium, where the computer storage medium may store a program, and when the program is executed, the program includes some or all of the steps of any one of the service process monitoring methods described in the above method embodiments.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the invention. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required by the invention.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described embodiments of the apparatus 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 of some interfaces, devices or units, and may be an electric 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.
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 integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit 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: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable storage medium, and the storage medium may include: flash Memory disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
The above detailed description is provided for the working SIM card configuration method of the communication terminal and the communication terminal according to the embodiments of the present invention, and a specific example is applied in this document to explain the principle and the implementation of the present invention, and the description of the above embodiments is only used to help understanding the method and the core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (8)

1. A working SIM card configuration method of a communication terminal is characterized by comprising the following steps:
acquiring state description information of a subscriber identity module SIM card slot of a communication terminal, wherein the communication terminal comprises three card slots, two protocol stacks and mapping relations between three card slot identifications corresponding to the three card slots and the two protocol stacks are prestored in the communication terminal, and the state description information comprises card slot identifications of the SIM cards inserted into the three card slots and corresponding SIM card identifications;
if an SIM card is inserted into all three card slots of the communication terminal based on the state description information, displaying the SIM card identification in a preset area of a display screen of the communication terminal;
when the selection operation aiming at a target SIM card identifier in the SIM card identifiers is detected, determining a target card slot identifier corresponding to the target SIM card identifier in the state description information;
according to the mapping relation between the three pre-stored card slot identifications and the two protocol stacks and the determined target card slot identification, configuring a corresponding protocol stack for a target card slot corresponding to the target card slot identification so as to configure a target SIM card corresponding to the target SIM card identification as a working SIM card of the communication terminal;
the configuring, according to the mapping relationship between the pre-stored three card slot identifiers and the two protocol stacks and the determined target card slot identifier, a corresponding protocol stack for a target card slot corresponding to the target card slot identifier includes:
if the target card slot identifier is any one of the first card slot identifier, the second card slot identifier and the third card slot identifier, configuring a first protocol stack of the communication terminal as a protocol stack of the target card slot corresponding to the target card slot identifier; alternatively, the first and second electrodes may be,
if the target card slot identifier is a first card slot identifier and a second card slot identifier, configuring a first protocol stack of the communication terminal as a protocol stack of a first card slot corresponding to the first card slot identifier, and configuring a second protocol stack of the communication terminal as a protocol stack of a second card slot corresponding to the second card slot identifier; alternatively, the first and second electrodes may be,
if the target card slot identifier is the first card slot identifier and the third card slot identifier, configuring a first protocol stack of the communication terminal as a protocol stack of the first card slot corresponding to the first card slot identifier, and configuring a second protocol stack of the communication terminal as a protocol stack of the third card slot corresponding to the third card slot identifier; alternatively, the first and second electrodes may be,
and if the target card slot identifier is the second card slot identifier and the third card slot identifier, configuring the first protocol stack of the communication terminal as a protocol stack of the second card slot corresponding to the second card slot identifier, and configuring the second protocol stack of the communication terminal as a protocol stack of the third card slot corresponding to the third card slot identifier.
2. The method of claim 1, wherein the obtaining of the state description information of the SIM card slot of the subscriber identity module of the communication terminal comprises:
when the SIM card slot of the communication terminal is detected to be powered on, detecting whether an SIM card is inserted into the SIM card slot corresponding to each prestored SIM card slot identification;
when the SIM card is detected to be inserted into any SIM card slot, acquiring a card slot identifier of the inserted SIM card and a corresponding SIM card identifier;
and generating the state description information based on the card slot identification of the inserted SIM card and the corresponding SIM card identification.
3. The method according to claim 2, wherein after the obtaining of the state description information of the SIM card slot of the subscriber identity module of the communication terminal, before configuring a corresponding protocol stack for a target card slot corresponding to the target card slot identifier according to the pre-stored mapping relationship between the three card slot identifiers and the two protocol stacks and the determined target card slot identifier, the method further includes:
and if any one or two of the three card slots of the communication terminal are detected to be inserted with the SIM card based on the state description information, determining the card slot identification of the inserted SIM card in the state description information, and taking the card slot identification of the inserted SIM card as a target card slot identification.
4. The method according to any one of claims 1 to 3, wherein the communication terminal stores three communication instances corresponding to three card slots in advance, and the configuring a corresponding protocol stack for a target card slot corresponding to the target card slot identifier according to a mapping relationship between the three card slot identifiers and the two protocol stacks stored in advance and the determined target card slot identifier includes:
and according to the mapping relation between the three pre-stored card slot identifications and the two protocol stacks and the determined target card slot identification, binding a communication instance of the target card slot corresponding to the target card slot identification with the protocol stacks, wherein the communication instance comprises a phone instance and an RILD instance.
5. A communication terminal, comprising:
the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring state description information of a Subscriber Identity Module (SIM) card slot of a communication terminal, the communication terminal comprises three card slots, two protocol stacks and mapping relations between three card slot identifications corresponding to the three card slots and the two protocol stacks are prestored in the communication terminal, and the state description information comprises card slot identifications of SIM cards inserted into the three card slots and corresponding SIM card identifications;
the display module is used for displaying the SIM card identification in a preset area of a display screen of the communication terminal if the SIM cards are inserted into the three card slots of the communication terminal based on the state description information;
a first determining module, configured to determine, when a selection operation for a target SIM card identifier in the SIM card identifiers is detected, a target card slot identifier corresponding to the target SIM card identifier in the state description information;
a configuration module, configured to configure, according to a mapping relationship between the pre-stored three card slot identifiers and the two protocol stacks and the determined target card slot identifier, a corresponding protocol stack for a target card slot corresponding to the target card slot identifier, so as to configure a target SIM card corresponding to the target SIM card identifier as a working SIM card of the communication terminal;
the configuration module is specifically configured to configure a first protocol stack of the communication terminal as a protocol stack of a target card slot corresponding to the target card slot identifier if the target card slot identifier is any one of a first card slot identifier, a second card slot identifier and a third card slot identifier; alternatively, the first and second electrodes may be,
if the target card slot identifier is a first card slot identifier and a second card slot identifier, configuring a first protocol stack of the communication terminal as a protocol stack of a first card slot corresponding to the first card slot identifier, and configuring a second protocol stack of the communication terminal as a protocol stack of a second card slot corresponding to the second card slot identifier; alternatively, the first and second electrodes may be,
if the target card slot identifier is the first card slot identifier and the third card slot identifier, configuring a first protocol stack of the communication terminal as a protocol stack of the first card slot corresponding to the first card slot identifier, and configuring a second protocol stack of the communication terminal as a protocol stack of the third card slot corresponding to the third card slot identifier; alternatively, the first and second electrodes may be,
and if the target card slot identifier is the second card slot identifier and the third card slot identifier, configuring the first protocol stack of the communication terminal as a protocol stack of the second card slot corresponding to the second card slot identifier, and configuring the second protocol stack of the communication terminal as a protocol stack of the third card slot corresponding to the third card slot identifier.
6. The communication terminal of claim 5, wherein the acquisition module comprises:
the detection unit is used for detecting whether an SIM card is inserted into the SIM card slot corresponding to each prestored SIM card slot identifier when the SIM card slot of the communication terminal is detected to be powered on;
the SIM card slot identification acquisition unit is used for acquiring the SIM card slot identification and the corresponding SIM card identification of the inserted SIM card when detecting that the SIM card is inserted into any SIM card slot;
and the generating unit is used for generating the state description information based on the card slot identification of the inserted SIM card and the corresponding SIM card identification.
7. The communication terminal of claim 6, wherein the communication terminal further comprises:
and a second determining module, configured to, after the obtaining module obtains the state description information of the SIM card slot of the subscriber identity module of the communication terminal, before the configuring module configures a corresponding protocol stack for a target card slot corresponding to the target card slot identifier according to a mapping relationship between the three pre-stored card slot identifiers and two protocol stacks and the determined target card slot identifier, determine, if it is detected that any one or any two SIM cards are inserted in any one or any two of the three card slots of the communication terminal based on the state description information, a card slot identifier in which the SIM card is inserted in the state description information, and use the card slot identifier in which the SIM card is inserted as the target card slot identifier.
8. The communication terminal according to any one of claims 5 to 7, wherein the communication terminal stores in advance three communication instances corresponding to three card slots, and the configuration module is specifically configured to bind, according to a mapping relationship between the three card slot identifiers and the two protocol stacks that are stored in advance and the determined target card slot identifier, the communication instance of the target card slot corresponding to the target card slot identifier with a protocol stack, where the communication instance includes a phone instance and an RILD instance.
CN201610255941.9A 2016-04-22 2016-04-22 Working SIM card configuration method of communication terminal and communication terminal Active CN107306458B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610255941.9A CN107306458B (en) 2016-04-22 2016-04-22 Working SIM card configuration method of communication terminal and communication terminal
PCT/CN2016/107812 WO2017181679A1 (en) 2016-04-22 2016-11-30 Method for configuring working sim card of communication terminal, and communication terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610255941.9A CN107306458B (en) 2016-04-22 2016-04-22 Working SIM card configuration method of communication terminal and communication terminal

Publications (2)

Publication Number Publication Date
CN107306458A CN107306458A (en) 2017-10-31
CN107306458B true CN107306458B (en) 2021-06-18

Family

ID=60115563

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610255941.9A Active CN107306458B (en) 2016-04-22 2016-04-22 Working SIM card configuration method of communication terminal and communication terminal

Country Status (2)

Country Link
CN (1) CN107306458B (en)
WO (1) WO2017181679A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108494943A (en) * 2018-01-22 2018-09-04 努比亚技术有限公司 Message sink sends processing method, terminal and computer readable storage medium
CN110856161A (en) * 2019-10-28 2020-02-28 深圳传音控股股份有限公司 SIM card setting method, terminal and computer storage medium
CN111050310A (en) * 2019-11-22 2020-04-21 深圳市宏电技术股份有限公司 Network switching method, device, terminal equipment and medium
CN111556542B (en) * 2020-06-19 2022-10-11 展讯通信(上海)有限公司 SIM card switching circuit, SIM card switching method and terminal equipment
CN111741150A (en) * 2020-06-19 2020-10-02 展讯通信(上海)有限公司 SIM card switching circuit, SIM card switching method and terminal equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102196095A (en) * 2011-05-16 2011-09-21 深圳市隆宇世纪科技有限公司 Random dual-SIM standby system in triple-SIM mobile phone and implementation method thereof
CN102548046A (en) * 2010-12-24 2012-07-04 深圳市经纬科技有限公司 Three-card dual-standby mobile phone and method of realizing three-card dual-standby function in same

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1098543A1 (en) * 1999-11-03 2001-05-09 Guala Dispensing S.P.A. Multi-card cellular telphone apparatus
CN201904819U (en) * 2010-12-24 2011-07-20 深圳市经纬科技有限公司 Three-card double-standby mobile phone
CN102137389B (en) * 2011-03-18 2014-07-30 惠州Tcl移动通信有限公司 Multi-card mobile terminal and method for transferring data of SIM card
CN202094990U (en) * 2011-05-27 2011-12-28 上海戎讯通信技术有限公司 Automatic four-card double-standby identification system
EP2822353B1 (en) * 2012-03-01 2017-08-30 Yulong Computer Telecommunication Technologies (Shenzhen) Co., Ltd. Multi-card mobile phone and display method
CN205017595U (en) * 2015-10-12 2016-02-03 惠州Tcl移动通信有限公司 Mobile terminal and four calories of two devices of treating thereof
CN106100687B (en) * 2016-05-31 2019-11-12 宇龙计算机通信科技(深圳)有限公司 A kind of terminal communicating method and system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102548046A (en) * 2010-12-24 2012-07-04 深圳市经纬科技有限公司 Three-card dual-standby mobile phone and method of realizing three-card dual-standby function in same
CN102196095A (en) * 2011-05-16 2011-09-21 深圳市隆宇世纪科技有限公司 Random dual-SIM standby system in triple-SIM mobile phone and implementation method thereof

Also Published As

Publication number Publication date
WO2017181679A1 (en) 2017-10-26
CN107306458A (en) 2017-10-31

Similar Documents

Publication Publication Date Title
CN107306458B (en) Working SIM card configuration method of communication terminal and communication terminal
CN103747132B (en) The method of display message and terminal
JP4909701B2 (en) Mobile communication terminal for recognizing a plurality of cards and method for recognizing the plurality of cards
CN104767858A (en) Information display method and device
CN104219399A (en) Number selecting method, terminal, strategy server and system for card with multiple numbers
CN103856324A (en) Identity confirmation method, communication request method, and electronic device
CN104184898A (en) Incoming call information display processing method and device
CN102833699A (en) Method and system for simulating two-way functions and mobile communication terminal
CN108112010A (en) Access method, apparatus, terminal and the computer readable storage medium of network
JP2016519878A (en) Method, apparatus and terminal for exchanging user information of mobile terminal
CN102710837A (en) Terminal and address book managing method
CN105657868A (en) Mobile terminal and interface control method thereof
CN102413230B (en) Terminal and data display method
WO2013127082A1 (en) Multi-card mobile phone and display method
CN105426032A (en) Terminal and terminal interface display method
CN103347124B (en) A kind of method, device and terminal equipment preventing by mistake hanging up
CN102970405A (en) Method and device for distinguishing short messages of different contact persons
CN104104781A (en) Method and device for displaying handset SIM card contact people
CN103369119A (en) Method and terminal for rapidly inputting user information
CN103249016A (en) Method and device for displaying short message and mobile terminal
CN108769376B (en) Status bar display method, device, terminal and computer-readable storage medium
CN106161108A (en) The parameter processing method of a kind of smart machine, device and smart machine
CN102938804B (en) A kind of method and apparatus of managing liaison information
CN108282783B (en) Public wifi authentication method, device, user terminal and storage medium
CN106022162B (en) A kind of private information guard method and system suitable for communication terminal

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