WO2017181679A1 - 一种通信终端的工作sim卡配置方法及通信终端 - Google Patents

一种通信终端的工作sim卡配置方法及通信终端 Download PDF

Info

Publication number
WO2017181679A1
WO2017181679A1 PCT/CN2016/107812 CN2016107812W WO2017181679A1 WO 2017181679 A1 WO2017181679 A1 WO 2017181679A1 CN 2016107812 W CN2016107812 W CN 2016107812W WO 2017181679 A1 WO2017181679 A1 WO 2017181679A1
Authority
WO
WIPO (PCT)
Prior art keywords
card slot
identifier
target
communication terminal
card
Prior art date
Application number
PCT/CN2016/107812
Other languages
English (en)
French (fr)
Inventor
朱峰结
李胡送
Original Assignee
宇龙计算机通信科技(深圳)有限公司
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 宇龙计算机通信科技(深圳)有限公司 filed Critical 宇龙计算机通信科技(深圳)有限公司
Publication of WO2017181679A1 publication Critical patent/WO2017181679A1/zh

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

Definitions

  • the present invention relates to the field of mobile communication technologies, and in particular, to a working SIM card configuration method for a communication terminal and a communication terminal.
  • Single card single standby is the most common mobile communication method.
  • the mobile phone has only one SIM card holder, and only one SIM card stands by.
  • the dual card single standby mobile phone has two SIM card holders, and two SIM cards can be inserted, but the user selects which SIM card to use by using a switch between the first card slot and the second card slot.
  • the dual-card dual standby mobile phone has two SIM card holders, and two SIM cards can stand by at the same time.
  • the existing technical solutions can only achieve dual SIM dual standby, that is, only two SIM cards can be supported on the hardware at the same time. If the user has three SIM cards at the same time, it cannot be used at the same time.
  • the user wants to use the third SIM card it is necessary to open the back cover of the mobile phone for replacement, or configure a switch between the second card slot and the third card slot, and the user selects the specific by switching the start end.
  • the SIM card configuration method is not only inconvenient to operate, but also increases hardware cost, and the selection method is not flexible, using which one of the second card slot and the third card slot is combined with the SIM card in the first card slot.
  • the embodiment of the invention provides a working SIM card configuration method and a communication terminal of a communication terminal, so as to solve the problem that the existing SIM card configuration technology is cumbersome in operation, high in hardware cost, and inflexible in selection mode.
  • a first aspect of the embodiments of the present invention provides a working SIM card configuration method for a communications terminal, including:
  • Obtaining state description information of a SIM card slot of a customer identification module of the communication terminal wherein the communication terminal includes three card slots, the communication terminal prestores two protocol stacks, and three cards corresponding to the three card slots a mapping relationship between the slot identifier and the two protocol stacks, where the state description information includes a card slot identifier of the inserted SIM card in the three card slots and a corresponding SIM card identifier;
  • the SIM card identifier is displayed in a preset area of the display screen of the communication terminal;
  • the target SIM card corresponding to the target SIM card identifier is configured as a working SIM card of the communication terminal.
  • the state description information of the SIM card slot of the customer identification module of the communication terminal is obtained, including:
  • the card slot identifier of the inserted SIM card and the corresponding SIM card identifier are obtained;
  • the state description information is generated based on the card slot identifier of the inserted SIM card and the corresponding SIM card identifier.
  • the mapping relationship between the three card slot identifiers and the two protocol stacks according to the pre-storage further includes: before the configuration of the target card slot corresponding to the target card slot identifier, the method further includes:
  • any one of the three card slots of the communication terminal or any two of the SIM cards are inserted based on the state description information, determining a card slot identifier of the SIM card inserted in the state description information, and The card slot identifier of the inserted SIM card is used as the target card slot identifier.
  • mapping relationship between the three card slot identifiers and the two protocol stacks, and the determined target card slot identifier is a target card slot corresponding to the target card slot identifier.
  • Configure the corresponding protocol stack including:
  • 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 target card The protocol stack of the target card slot corresponding to the slot identifier; or
  • the first protocol stack of the communication terminal is configured as a protocol stack of the first card slot corresponding to the first card slot identifier, and the communication is to be performed.
  • the second protocol stack of the terminal is configured as a protocol stack of the second card slot corresponding to the second card slot identifier; or
  • the first protocol stack of the communication terminal is configured as a 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 a protocol stack of the third card slot corresponding to the third card slot identifier
  • the first protocol stack of the communication terminal is configured as a protocol stack of the second card slot corresponding to the second card slot identifier, and the communication is to be performed.
  • the second protocol stack of the terminal is configured as a protocol stack of the third card slot corresponding to the third card slot identifier.
  • the communication terminal pre-stores three communication instances corresponding to the three card slots, and the mapping relationship between the three card slot identifiers and the two protocol stacks, and the determined
  • the target card slot identifier is a protocol stack corresponding to the target card slot corresponding to the target card slot identifier, and includes:
  • the communication instance of the target card slot corresponding to the target card slot identifier and the protocol stack Binding wherein the communication instance includes a phone instance and an RILD instance.
  • a second aspect of the embodiments of the present invention provides a communications terminal, including:
  • the obtaining module is configured to obtain status description information of the SIM card slot of the customer identification module of the communication terminal, where the communication terminal includes three card slots, the communication terminal prestores two protocol stacks, and the three card slots a mapping relationship between the three card slots and the two protocol stacks, where the state description information includes a card slot identifier of the inserted SIM card in the three card slots and a corresponding SIM card identifier;
  • a display module configured to display a SIM card identifier in a preset area of a display screen of the communication terminal if a SIM card is inserted into the three card slots of the communication terminal based on the state description information;
  • the first determining module is configured to: when detecting a selection operation for the target SIM card identifier in the SIM card identifier, determine a target card slot identifier corresponding to the target SIM card identifier in the state description information;
  • the configuration module is configured to: 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, corresponding to the target card slot configuration corresponding to the target card slot identifier
  • the protocol stack is configured to configure the target SIM card corresponding to the target SIM card identifier as a working SIM card of the communication terminal.
  • the obtaining module includes:
  • a detecting unit configured to detect whether a SIM card is inserted in a SIM card slot corresponding to each of the pre-stored SIM card slot identifiers when detecting that the SIM card slot of the communication terminal is powered on;
  • the generating unit generates the state description information based on the card slot identifier of the inserted SIM card and the corresponding SIM card identifier.
  • the communication terminal further includes:
  • the configuration module is configured according to the pre-stored mapping between the three card slot identifiers and the two protocol stacks The relationship, and the determined target card slot identifier, before configuring the corresponding protocol stack corresponding to the target card slot corresponding to the target card slot identifier, is configured to detect three cards of the communication terminal based on the state description information
  • the card slot identifier of the SIM card inserted in the state description information is determined, and the card slot identifier of the inserted SIM card is used as the target card slot identifier.
  • the configuration module is specifically configured to: 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,
  • the first protocol stack of the communication terminal is configured as a protocol stack of the target card slot corresponding to the target card slot identifier; or
  • the first protocol stack of the communication terminal is configured as a protocol stack of the first card slot corresponding to the first card slot identifier, and the communication is to be performed.
  • the second protocol stack of the terminal is configured as a protocol stack of the second card slot corresponding to the second card slot identifier; or
  • the first protocol stack of the communication terminal is configured as a protocol stack of the first card slot corresponding to the first card slot identifier
  • Communication terminal is configured as a protocol stack of the third card slot corresponding to the third card slot identifier
  • the first protocol stack of the communication terminal is configured as a protocol stack of the second card slot corresponding to the second card slot identifier, and the communication is to be performed.
  • the second protocol stack of the terminal is configured as a protocol stack of the third card slot corresponding to the third card slot identifier.
  • the communication terminal pre-stores three communication instances corresponding to the three card slots
  • the configuration module is specifically configured to map according to the pre-stored three card slot identifiers and the two protocol stacks. And determining the target card slot identifier, binding the communication instance of the target card slot corresponding to the target card slot identifier to the protocol stack, where the communication instance includes a phone instance and an RILD instance.
  • the communication terminal displays the detected SIM card identifiers of the inserted SIM cards on the display screen of the communication terminal for the user to perform free selection and combination of the SIM cards, and then, according to The selected target SIM card identifier determines the corresponding target card slot identifier.
  • the target card slot identifier is determined according to the determined target card slot identifier.
  • the target card slot is configured with the corresponding protocol stack, so that the target SIM card corresponding to the target SIM card identifier is configured as the working SIM card of the communication terminal.
  • the SIM card is configured by replacing the SIM card or the switch by opening the back cover of the mobile phone. It is beneficial to simplify the operation steps of the SIM card configuration, reduce the hardware cost, and improve the flexibility of the user SIM card configuration.
  • FIG. 1 is a schematic flowchart of a working SIM card configuration method of a communication terminal according to a first embodiment of the present invention
  • 1-1 is a schematic diagram showing the effect of a human-computer interaction interface according to the first embodiment of the present invention
  • FIG. 2 is a schematic flowchart of 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.
  • references to "an embodiment” herein mean that a particular feature, structure, or characteristic described in connection with the embodiments can be included in at least one embodiment of the invention.
  • the appearances of the phrases in various places in the specification are not necessarily referring to the same embodiments, and are not exclusive or alternative embodiments that are mutually exclusive. Those skilled in the art will understand and implicitly understand that the embodiments described herein can be combined with other embodiments.
  • FIG. 1 is a schematic flowchart of a working SIM card configuration method for a communication terminal according to a first embodiment of the present invention. As shown in FIG. 1 , a working SIM card configuration method for a communication terminal in an embodiment of the present invention is shown. Includes the following steps:
  • the communication terminal acquires state description information of a SIM card slot of a client identification module of the communication terminal, where the communication terminal includes three card slots, the communication terminal prestores two protocol stacks, and three corresponding three card slots.
  • the specific implementation manner of the status description information of the SIM card slot of the client identification module of the communication terminal may be: the communication terminal detects each pre-stored SIM card when detecting that the SIM card slot of the communication terminal is powered on. Whether the SIM card is inserted in the SIM card slot corresponding to the card slot identifier; when the SIM card is inserted into any SIM card slot, the card slot identifier of the inserted SIM card and the corresponding SIM card identifier are obtained; Card slot identifier and corresponding SIM card identifier, generate status description Information.
  • the foregoing state description information may refer to Table 1 to Table 7.
  • the communication terminal detects that the SIM card slot of the communication terminal is powered on, it detects whether a SIM card is inserted in the SIM card slot corresponding to each of the pre-stored SIM card slot identifiers, and detects that only one card slot is inserted into the SIM.
  • the status description information can refer to Table 1 to Table 3.
  • the status description information can refer to Table 4 to Table 6; when three card slots are detected, the SIM card is inserted.
  • the status description information refer to Table 7.
  • Card slot identifier SIM card identification First card slot identifier No card Second card slot identifier Second SIM card identifier Third card slot identifier No card
  • SIM card slot identifier SIM card identification First card slot identifier No card Second card slot identifier Second SIM card identifier Third card slot identifier Third SIM card identifier
  • SIM card slot identifier SIM card identification First card slot identifier First SIM card identifier Second card slot identifier Second SIM card identifier Third card slot identifier Third SIM card identifier
  • the communication terminal displays the SIM card identifier in a preset area of a display screen of the communication terminal if the SIM card is inserted into the three card slots of the communication terminal based on the state description information.
  • the communication terminal determines a target card slot identifier corresponding to the target SIM card identifier in the state description information when detecting a selection operation for the target SIM card identifier in the SIM card identifier.
  • the communication terminal detects that the SIM card is inserted into the three card slots of the communication terminal based on the state description information, the first SIM card identifier, the second SIM card identifier, and the first SIM card identifier are displayed in the preset area of the display screen of the communication terminal.
  • the three SIM card identifiers are then detected by the user for the touch selection operation of the display screen.
  • the selection operation for the target SIM card identifier in the SIM card identifier is detected, the target card slot corresponding to the target SIM card identifier in the state description information is determined.
  • the target SIM card identifier may be one or two, and when the user selects a selection operation for all SIM card identifiers among the three SIM card identifiers, The communication terminal displays a prompt message in the preset area of the display screen to remind the user that three cards cannot be activated at the same time. Please select any two cards to activate.
  • Figure 1-1 For the specific human-computer interaction interface, refer to Figure 1-1.
  • the communication terminal configures 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.
  • Corresponding protocol stack configured to configure a target SIM card corresponding to the target SIM card identifier as a working SIM card of the communication terminal.
  • the communication terminal can also perform the following operations:
  • the card slot identifier of the SIM card has been inserted in the state description information, and the card inserted into the SIM card is inserted.
  • the slot ID is used as the target card slot identifier.
  • the communication terminal configures a corresponding protocol stack corresponding to the target card slot corresponding to the target card slot identifier 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.
  • the implementation can be:
  • 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, configure the first protocol stack of the communication terminal as the target card corresponding to the target card slot identifier.
  • the protocol stack of the slot refer to Table 8 to Table 10 for the specific mapping relationship.
  • Target card slot identifier SIM card identification Protocol stack First card slot identifier First SIM card identifier First protocol stack
  • Target card slot identifier SIM card identification Protocol stack Second card slot identifier Second SIM card identifier First protocol stack
  • Target card slot identifier SIM card identification Protocol stack
  • Third card slot identifier Third SIM card identifier First protocol stack
  • the first protocol stack of the communication terminal is configured as a protocol stack of the first card slot corresponding to the first card slot identifier, and the second communication terminal is configured.
  • the protocol stack is configured as a protocol stack of the second card slot corresponding to the second card slot identifier, and the specific mapping relationship can refer to the table. 11.
  • Target card slot identifier SIM card identification Protocol stack First card slot identifier First SIM card identifier First protocol stack Second card slot identifier Second SIM card identifier Second protocol stack
  • the first protocol stack of the communication terminal is configured as a protocol stack of the first card slot corresponding to the first card slot identifier, and the second communication terminal is configured.
  • the protocol stack is configured as a protocol stack of the third card slot corresponding to the third card slot identifier. For the specific mapping relationship, refer to Table 12.
  • SIM card slot identifier SIM card identification Protocol stack First card slot identifier First SIM card identifier First protocol stack Third card slot identifier Third SIM card identifier Second protocol stack
  • the target card slot identifier is the second card slot identifier and the third card slot identifier
  • the communication terminal The second protocol stack is configured as a protocol stack of the third card slot corresponding to the third card slot identifier.
  • Table 13 For the specific mapping relationship, refer to Table 13.
  • SIM card slot identifier SIM card identification Protocol stack Second card slot identifier Second SIM card identifier First protocol stack Third card slot identifier Third SIM card identifier Second protocol stack
  • the communication terminal pre-stores three communication instances corresponding to the three card slots, and 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, the target card slot identifier corresponds to the target card slot identifier.
  • the specific implementation manner of the protocol stack corresponding to the target card slot configuration may be:
  • Examples include phone instances and RILD instances.
  • the communication terminal displays the detected SIM card identifiers of the inserted SIM cards on the display screen of the communication terminal for the user to perform free selection and combination of the SIM cards, and then, according to The selected target SIM card identifier determines the corresponding target card slot identifier.
  • the target card slot identifier is determined according to the determined target card slot identifier.
  • the target card slot is configured with the corresponding protocol stack, so that the target SIM card corresponding to the target SIM card identifier is configured as the working SIM card of the communication terminal.
  • the SIM card is configured by replacing the SIM card or the switch by opening the back cover of the mobile phone. It is beneficial to simplify the operation steps of the SIM card configuration, reduce the hardware cost, and improve the flexibility of the user SIM card configuration.
  • FIG. 2 is a schematic flowchart of a working SIM card configuration method for a communication terminal according to a second embodiment of the present invention. As shown in FIG. 2, a working SIM card configuration method for a communication terminal in an embodiment of the present invention is shown. Includes the following steps:
  • the communication terminal When detecting the SIM card inserted in any SIM card slot, the communication terminal acquires the card slot identifier of the inserted SIM card and the corresponding SIM card identifier.
  • the communication terminal generates state description information based on the card slot identifier of the inserted SIM card and the corresponding SIM card identifier.
  • the communication terminal includes three card slots, the communication terminal prestores two protocol stacks, and three card slot identifiers corresponding to the three card slots and the mapping relationship between the two protocol stacks, and the state description information includes three card slots.
  • the card slot identifier of the SIM card and the corresponding SIM card identifier have been inserted;
  • the communication terminal detects whether the SIM card is inserted into the three card slots of the communication terminal based on the state description information.
  • step S205 to step S206 is performed, and then the step S208 is performed, if the communication terminal detects the communication terminal based on the state description information.
  • step S207 is performed and then step S208 is continued.
  • the communication terminal displays the SIM card identifier in a preset area of the display screen of the communication terminal if the SIM card is inserted into the three card slots of the communication terminal based on the state description information.
  • the communication terminal detects a selection operation for the target SIM card identifier in the SIM card identifier. And determining a target card slot identifier corresponding to the target SIM card identifier in the state description information.
  • the communication terminal configures a corresponding protocol stack for the target card slot corresponding to the target card slot identifier 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.
  • the target SIM card corresponding to the SIM card identifier is configured as a working SIM card of the communication terminal.
  • the implementation manner of the protocol stack corresponding to the target card slot corresponding to the target card slot identifier may be implemented 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. Yes:
  • 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, configure the first protocol stack of the communication terminal as the target card corresponding to the target card slot identifier.
  • the protocol stack of the slot or,
  • the first protocol stack of the communication terminal is configured as a protocol stack of the first card slot corresponding to the first card slot identifier, and the second communication terminal is configured.
  • the protocol stack is configured as a protocol stack of the second card slot corresponding to the second card slot identifier;
  • the first protocol stack of the communication terminal is configured as a protocol stack of the first card slot corresponding to the first card slot identifier, and the second communication terminal is configured.
  • the protocol stack is configured as a protocol stack of the third card slot corresponding to the third card slot identifier; or
  • the first protocol stack of the communication terminal is configured as a protocol stack of the second card slot corresponding to the second card slot identifier, and the second communication terminal is configured.
  • the protocol stack is configured as a protocol stack of the third card slot corresponding to the third card slot identifier.
  • the communication terminal pre-stores three communication instances corresponding to the three card slots, and 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, the target card slot identifier corresponds to the target card slot identifier.
  • the specific implementation manner of the protocol stack corresponding to the target card slot configuration may be:
  • Examples include phone instances and RILD instances.
  • the communication terminal displays the detected SIM card identifiers of the inserted SIM cards on the display screen of the communication terminal for the user to perform the SIM card self-control. Selecting and combining, and then determining a corresponding target card slot identifier according to the selected target SIM card identifier, and finally, based on the mapping relationship between the pre-stored three card slot identifiers and the two protocol stacks, based on the determined target card slot identifier, Configuring a corresponding protocol stack for the target card slot corresponding to the target card slot identifier, and configuring the target SIM card corresponding to the target SIM card identifier as the working SIM card of the communication terminal avoids replacing the SIM card by opening the back cover of the mobile phone in the prior art or Switching the switch to configure the SIM card is beneficial to simplify the operation steps of the SIM card configuration, reduce the hardware cost, and improve the flexibility of the user SIM card configuration.
  • the device embodiment of the present invention is used to perform the method for implementing the first to second embodiments of the present invention.
  • the device embodiment of the present invention is used to perform the method for implementing the first to second embodiments of the present invention.
  • Only parts related to the embodiment of the present invention are shown, and the specific technical details are not disclosed. Please refer to Embodiment 1 and Embodiment 2 of the present invention.
  • FIG. 3 is a schematic structural diagram of a communication terminal according to a third embodiment of the present invention.
  • the communication terminal in the embodiment of the present invention includes the following modules:
  • the obtaining module 301 is configured to obtain state description information of the SIM card slot of the client identification module of the communication terminal, where the communication terminal includes three card slots, the communication terminal prestores two protocol stacks, and three card slots correspond to a mapping relationship between the three card slots and the two protocol stacks, where the state description information includes a card slot identifier of the inserted SIM card in the three card slots and a corresponding SIM card identifier;
  • the display module 302 is configured to: if the SIM card is inserted into the three card slots of the communication terminal based on the state description information, display the SIM card identifier in a preset area of the display screen of the communication terminal;
  • the first determining module 303 is configured to: when detecting a selection operation for the target SIM card identifier in the SIM card identifier, determine a target card slot identifier corresponding to the target SIM card identifier in the state description information;
  • the configuration module 304 is configured to: 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 target card slot configuration corresponding to the target card slot identifier Corresponding protocol stack, configured to configure a target SIM card corresponding to the target SIM card identifier as a working SIM card of the communication terminal.
  • the obtaining module 301 may further include:
  • the detecting unit 3011 is configured to detect whether a SIM card is inserted in the SIM card slot corresponding to each of the pre-stored SIM card slot identifiers when detecting that the SIM card slot of the communication terminal is powered on;
  • the obtaining unit 3012 is configured to acquire the card slot identifier of the inserted SIM card and the corresponding SIM card identifier when the SIM card is inserted into any SIM card slot.
  • the generating unit 3013 is configured to generate the state description information based on the card slot identifier of the inserted SIM card and the corresponding SIM card identifier.
  • the communication terminal may further include:
  • the second determining module 305 after the obtaining module 301 acquires the state description information of the SIM card slot of the client identification module of the communication terminal, the configuration module 304 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 is set to be any one of the three card slots of the communication terminal or any two inserted SIM cards before the protocol stack corresponding to the target card slot corresponding to the target card slot identifier is configured. And determining the card slot identifier of the SIM card inserted in the state description information, and using the card slot identifier of the inserted SIM card as the target card slot identifier.
  • the configuration module 304 is specifically configured to: 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, the first protocol of the communication terminal
  • the stack is configured as a protocol stack of the target card slot corresponding to the target card slot identifier; or
  • the first protocol stack of the communication terminal is configured as a protocol stack of the first card slot corresponding to the first card slot identifier, and the second communication terminal is configured.
  • the protocol stack is configured as a protocol stack of the second card slot corresponding to the second card slot identifier;
  • the first protocol stack of the communication terminal is configured as a protocol stack of the first card slot corresponding to the first card slot identifier, and the second communication terminal is configured.
  • the protocol stack is configured as a protocol stack of the third card slot corresponding to the third card slot identifier; or
  • the first protocol stack of the communication terminal is configured as a protocol stack of the second card slot corresponding to the second card slot identifier, and the second communication terminal is configured.
  • the protocol stack is configured as a protocol stack of the third card slot corresponding to the third card slot identifier.
  • the communication terminal pre-stores three communication instances corresponding to the three card slots
  • the configuration module 304 is specifically configured to map according to the pre-stored three card slot identifiers and the two protocol stacks. The relationship, and the determined target card slot identifier, bind the communication instance of the target card slot corresponding to the target card slot identifier to the protocol stack, where the communication instance includes a phone instance and an RILD instance.
  • the communication terminal displays the detected SIM card identifiers of the inserted SIM cards on the display screen of the communication terminal for the user to perform free selection and combination of the SIM cards, and then, according to The selected target SIM card identifier determines the corresponding target card slot identifier, the most Then, according to the mapping relationship between the pre-stored three card slot identifiers and the two protocol stacks, the corresponding protocol stack is configured for the target card slot corresponding to the target card slot identifier based on the determined target card slot identifier, so as to target the SIM card.
  • the working SIM card with the corresponding target SIM card configured as the communication terminal avoids the configuration of the SIM card by replacing the SIM card or the switch by opening the back cover of the mobile phone in the prior art, which is beneficial to simplifying the operation steps of the SIM card configuration and reducing the hardware cost. Improve the flexibility of user SIM card configuration.
  • FIG. 4 is a schematic structural diagram of a communication terminal according to a fourth embodiment of the present invention.
  • the communication terminal in the embodiment of the present invention includes at least one processor 401, such as a CPU, at least one receiver 403, at least one memory 404, at least one transmitter 405, and at least one communication bus 402.
  • the communication bus 402 is used to implement connection communication between these components.
  • the receiver 403 and the transmitter 405 of the device in the embodiment of the present invention may be a wired transmission port, or may be a wireless device, for example, including an antenna device, 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 such as at least one disk memory.
  • the memory 404 can optionally also be at least one storage device located remotely from the aforementioned processor 401.
  • a set of program code is stored in memory 404, and processor 401 can invoke the code stored in memory 404 via communication bus 402 to perform the associated functions.
  • the processor 401 is configured to acquire state description information of a SIM card slot of a client identification module of the communication terminal, where the communication terminal includes three card slots, the communication terminal prestores two protocol stacks, and the third The mapping relationship between the three card slots corresponding to the card slot and the two protocol stacks, the state description information includes the card slot identifier of the inserted SIM card in the three card slots and the corresponding SIM card identifier; And detecting, according to the state description information, that a SIM card is inserted into three card slots of the communication terminal, and displaying a SIM card identifier in a preset area of a display screen of the communication terminal; and detecting that the SIM card identifier is Determining, in the selecting operation of the target SIM card identifier, the target card slot identifier corresponding to the target SIM card identifier in the state description information; and mapping according to the pre-stored three card slot identifiers and the two protocol stacks a relationship, and the determined target card slot identifier, configured with a corresponding protocol stack for the
  • the processor 401 is specifically configured to: when detecting the status description information of the SIM card slot of the client identification module of the communication terminal, when the SIM card slot of the communication terminal is detected to be powered on, Detect whether a SIM card is inserted in the SIM card slot corresponding to each of the pre-stored SIM card slot identifiers; When the SIM card is inserted into any SIM card slot, the card slot identifier of the inserted SIM card and the corresponding SIM card identifier are obtained; the state is generated based on the card slot identifier of the inserted SIM card and the corresponding SIM card identifier. Description.
  • the processor 401 is configured to acquire the three card slots and the two protocol stacks according to the pre-storage after the state description information of the SIM card slot of the client identification module of the communication terminal is acquired.
  • the mapping relationship between the mapping and the determined target card slot identifier may be further used to detect the foregoing based on the state description information before configuring the corresponding protocol stack for the target card slot corresponding to the target card slot identifier.
  • the processor 401 is configured to use the mapping relationship between the three card slot identifiers and the two protocol stacks according to the pre-storage, and the determined target card slot identifier.
  • 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.
  • the first protocol stack of the communication terminal is configured as a protocol stack of the target card slot corresponding to the target card slot identifier; or, if the target card slot identifier is the first card slot identifier and the second card slot
  • the first protocol stack of the communication terminal is configured as a 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 a second card corresponding to the second card slot identifier.
  • the protocol stack of the slot 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 first card corresponding to the first card slot identifier a protocol stack of the slot, the second protocol of the communication terminal
  • the stack is configured as a 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, the first protocol of the communication terminal is The stack is configured as a protocol stack of the second card slot corresponding to the second card slot identifier, and the second protocol stack of the communication terminal is configured as a protocol stack of the third card slot corresponding to the third card slot identifier.
  • the communication terminal pre-stores three communication instances corresponding to three card slots
  • the processor 401 is configured to map according to the pre-stored three card slot identifiers and two protocol stacks.
  • the relationship, and the determined target card slot identifier, when the corresponding protocol stack is configured for the target card slot corresponding to the target card slot identifier, is specifically used according to the pre-stored three card slot identifiers and the two protocol stacks.
  • the communication instance of the target card slot corresponding to the target card slot identifier is bound to the protocol stack, where the communication instance includes a phone instance and an RILD instance.
  • the communication terminal displays the detected SIM card identifiers of the inserted SIM cards on the display screen of the communication terminal for the user to perform free selection and combination of the SIM cards, and then, according to The selected target SIM card identifier determines the corresponding target card slot identifier.
  • the target card slot identifier is determined according to the determined target card slot identifier.
  • the target card slot is configured with the corresponding protocol stack, so that the target SIM card corresponding to the target SIM card identifier is configured as the working SIM card of the communication terminal.
  • the SIM card is configured by replacing the SIM card or the switch by opening the back cover of the mobile phone. It is beneficial to simplify the operation steps of the SIM card configuration, reduce the hardware cost, and improve the flexibility of the user SIM card configuration.
  • the embodiment of the present invention further provides a computer storage medium, wherein the computer storage medium may store a program, and the program includes some or all of the steps of the monitoring method of any one of the service processes described in the foregoing method embodiments.
  • the disclosed apparatus may be implemented in other ways.
  • the device embodiments described above are merely illustrative.
  • the division of cells is only a logical function division. In actual implementation, there may be another division manner.
  • multiple units or components may be combined or may be integrated into Another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be electrical or otherwise.
  • the units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units can be selected according to actual needs. The purpose of the solution of the embodiment is achieved.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • An integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, can be stored in a computer readable storage medium.
  • the technical solution of the present invention which is essential or contributes to the prior art, or all or part of the technical solution, may be embodied in the form of a software product stored in a storage medium.
  • a number of instructions are included to cause a computer device (which may be a personal computer, server or network device, etc.) to perform all or part of the steps of the various embodiments of the present invention.
  • the foregoing storage medium includes: a U disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk, and the like. .
  • the program may be stored in a computer readable storage medium, and the storage medium may include: Flash disk, read-only memory (English: Read-Only Memory, referred to as: ROM), random accessor (English: Random Access Memory, referred to as: RAM), disk or optical disk.
  • ROM Read-Only Memory
  • RAM Random Access Memory

Abstract

本发明实施例公开了一种通信终端的工作SIM卡配置方法及通信终端,其中的方法包括:获取SIM卡卡槽的状态描述信息;若基于状态描述信息检测到通信终端的三个卡槽中都插入SIM卡,在显示屏的预设区域显示SIM卡标识;在检测到针对SIM卡标识中的目标SIM卡标识的选择操作时,确定状态描述信息中与目标SIM卡标识对应的目标卡槽标识;为目标卡槽标识对应的目标卡槽配置对应的协议栈,以将目标SIM卡标识对应的目标SIM卡配置为通信终端的工作SIM卡。本发明实施例还公开了相应的通信终端。本发明实施例提供的技术方案有利于简化SIM卡配置的操作步骤、降低硬件成本、提升用户SIM卡配置的灵活性。

Description

一种通信终端的工作SIM卡配置方法及通信终端
本申请要求于2016年4月22日提交中国专利局,申请号为201610255941.9、发明名称为“一种通信终端的工作SIM卡配置方法及通信终端”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本发明涉及移动通信技术领域,具体涉及一种通信终端的工作SIM卡配置方法及通信终端。
背景技术
在日常生活中,由于种种原因,很多用户会需要同时拥有多张移动电话卡,例如办公用移动电话卡和生活用移动电话卡等,在此种情况下,为了携带方便和避免同时携带多部电话,用户会优先选择多卡多待的手机作为自身的通信工具,而且在例如中国、印度、非洲这些地区的运营商非常多,有些区域一个城市可能有十个运营商之多,多卡多待可以让用户有更多的选择。
现有的手机通信方法主要有三种:单卡单待、双卡单待及双卡双待。单卡单待是最普通的手机通信方法,手机仅有一个SIM卡座,只有一个SIM卡待机。双卡单待指手机有两个SIM卡座,可以插入两张SIM卡,但用户通过拨动第一卡槽和第二卡槽之间的一个切换开关来选择具体使用哪一张SIM卡待机。双卡双待指手机有两个SIM卡座,而且两张SIM卡能同时待机。现有的这些技术方案最多只能实现双卡双待,也就是在硬件上同时只能支持两个SIM卡,如果用户同时有三个SIM卡,就不能同时使用。通常,如果用户要使用第三个SIM卡,就需要打开手机后盖进行更换,或者在第二卡槽和第三卡槽之间配置一个切换开关,由用户通过拨动切换开端,来选择具体使用第二卡槽和第三卡槽中哪一张SIM卡与第一卡槽中的SIM卡组合待机,上述SIM卡配置方法不仅操作起来不方便、增加了硬件成本,而且选择方式不灵活。
发明内容
本发明实施例提供了一种通信终端的工作SIM卡配置方法及通信终端,以期解决现有的SIM卡配置技术中操作繁琐、硬件成本高,选择方式不灵活的问题。
本发明实施例第一方面提供一种通信终端的工作SIM卡配置方法,包括:
获取通信终端的客户识别模块SIM卡卡槽的状态描述信息,其中,所述通信终端包括三个卡槽、所述通信终端预存有两个协议栈及所述三个卡槽对应的三个卡槽标识与所述两个协议栈之间的映射关系,所述状态描述信息包括三个卡槽中已插入SIM卡的卡槽标识和对应的SIM卡标识;
若基于所述状态描述信息检测到所述通信终端的三个卡槽中都插入SIM卡,在所述通信终端的显示屏的预设区域显示SIM卡标识;
在检测到针对所述SIM卡标识中的目标SIM卡标识的选择操作时,确定所述状态描述信息中与所述目标SIM卡标识对应的目标卡槽标识;
根据预存的所述三个卡槽标识与两个协议栈之间的映射关系,以及所述确定的目标卡槽标识,为所述目标卡槽标识对应的目标卡槽配置对应的协议栈,以将所述目标SIM卡标识对应的目标SIM卡配置为通信终端的工作SIM卡。
进一步可选的,所述获取通信终端的客户识别模块SIM卡卡槽的状态描述信息,包括:
在检测到所述通信终端的SIM卡卡槽上电时,检测预存的每个SIM卡卡槽标识对应的SIM卡卡槽中是否插入SIM卡;
在检测到任一SIM卡卡槽中插入SIM卡时,获取已插入SIM卡的卡槽标识和对应的SIM卡标识;
基于已插入SIM卡的卡槽标识和对应的SIM卡标识,生成所述状态描述信息。
进一步可选的,所述获取通信终端的客户识别模块SIM卡卡槽的状态描述信息之后,所述根据预存的所述三个卡槽标识与两个协议栈之间的映射关系,以及所述确定的目标卡槽标识,为所述目标卡槽标识对应的目标卡槽配置对应的协议栈之前,所述方法还包括:
若基于所述状态描述信息检测到所述通信终端的三个卡槽中的任意一个卡槽或者任意两个插入SIM卡时,确定所述状态描述信息中已插入SIM卡的卡槽标识,并将所述已插入SIM卡的卡槽标识作为目标卡槽标识。
进一步可选的,所述根据预存的所述三个卡槽标识与两个协议栈之间的映射关系,以及所述确定的目标卡槽标识,为所述目标卡槽标识对应的目标卡槽配置对应的协议栈,包括:
若所述目标卡槽标识为第一卡槽标识、第二卡槽标识和第三卡槽标识中的任一卡槽标识时,将所述通信终端的第一协议栈配置为所述目标卡槽标识对应的目标卡槽的协议栈;或者,
若所述目标卡槽标识为第一卡槽标识和第二卡槽标识时,将所述通信终端的第一协议栈配置为第一卡槽标识对应的第一卡槽的协议栈,将通信终端的第二协议栈配置为第二卡槽标识对应的第二卡槽的协议栈;或者,
若所述目标卡槽标识为第一卡槽标识和第三卡槽标识时,将所述通信终端的第一协议栈配置为第一卡槽标识对应的第一卡槽的协议栈,将所述通信终端的第二协议栈配置为第三卡槽标识对应的第三卡槽的协议栈;或者,
若所述目标卡槽标识为第二卡槽标识和第三卡槽标识时,将所述通信终端的第一协议栈配置为第二卡槽标识对应的第二卡槽的协议栈,将通信终端的第二协议栈配置为第三卡槽标识对应的第三卡槽的协议栈。
进一步可选的,所述通信终端预先存储三个卡槽对应的三个通信实例,所述根据预存的所述三个卡槽标识与两个协议栈之间的映射关系,以及所述确定的目标卡槽标识,为所述目标卡槽标识对应的目标卡槽配置对应的协议栈,包括:
根据预存的所述三个卡槽标识与两个协议栈之间的映射关系,以及确定的所述目标卡槽标识,将所述目标卡槽标识对应的目标卡槽的通信实例与协议栈进行绑定,其中,通信实例包括phone实例和RILD实例。
本发明实施例第二方面提供一种通信终端,包括:
获取模块,设置为获取通信终端的客户识别模块SIM卡卡槽的状态描述信息,其中,所述通信终端包括三个卡槽、所述通信终端预存有两个协议栈及所述三个卡槽对应的三个卡槽标识与所述两个协议栈之间的映射关系,所述状态描述信息包括三个卡槽中已插入SIM卡的卡槽标识和对应的SIM卡标识;
显示模块,设置为若基于所述状态描述信息检测到所述通信终端的三个卡槽中都插入SIM卡,在所述通信终端的显示屏的预设区域显示SIM卡标识;
第一确定模块,设置为在检测到针对所述SIM卡标识中的目标SIM卡标识的选择操作时,确定所述状态描述信息中与所述目标SIM卡标识对应的目标卡槽标识;
配置模块,设置为根据预存的所述三个卡槽标识与两个协议栈之间的映射关系,以及所述确定的目标卡槽标识,为所述目标卡槽标识对应的目标卡槽配置对应的协议栈,以将所述目标SIM卡标识对应的目标SIM卡配置为通信终端的工作SIM卡。
进一步可选的,所述获取模块包括:
检测单元,设置为在检测到所述通信终端的SIM卡卡槽上电时,检测预存的每个SIM卡卡槽标识对应的SIM卡卡槽中是否插入SIM卡;
获取单元,在检测到任一SIM卡卡槽中插入SIM卡时,获取已插入SIM卡的卡槽标识和对应的SIM卡标识;
生成单元,基于已插入SIM卡的卡槽标识和对应的SIM卡标识,生成所述状态描述信息。
进一步可选的,所述通信终端还包括:
第二确定模块,在所述获取模块获取通信终端的客户识别模块SIM卡卡槽的状态描述信息之后,所述配置模块根据预存的所述三个卡槽标识与两个协议栈之间的映射关系,以及所述确定的目标卡槽标识,为所述目标卡槽标识对应的目标卡槽配置对应的协议栈之前,设置为若基于所述状态描述信息检测到所述通信终端的三个卡槽中的任意一个卡槽或者任意两个插入SIM卡时,确定所述状态描述信息中已插入SIM卡的卡槽标识,并将所述已插入SIM卡的卡槽标识作为目标卡槽标识。
进一步可选的,所述配置模块,具体设置为若所述目标卡槽标识为第一卡槽标识、第二卡槽标识和第三卡槽标识中的任一卡槽标识时,将所述通信终端的第一协议栈配置为所述目标卡槽标识对应的目标卡槽的协议栈;或者,
若所述目标卡槽标识为第一卡槽标识和第二卡槽标识时,将所述通信终端的第一协议栈配置为第一卡槽标识对应的第一卡槽的协议栈,将通信终端的第二协议栈配置为第二卡槽标识对应的第二卡槽的协议栈;或者,
若所述目标卡槽标识为第一卡槽标识和第三卡槽标识时,将所述通信终端的第一协议栈配置为第一卡槽标识对应的第一卡槽的协议栈,将所述通信终端 的第二协议栈配置为第三卡槽标识对应的第三卡槽的协议栈;或者,
若所述目标卡槽标识为第二卡槽标识和第三卡槽标识时,将所述通信终端的第一协议栈配置为第二卡槽标识对应的第二卡槽的协议栈,将通信终端的第二协议栈配置为第三卡槽标识对应的第三卡槽的协议栈。
进一步可选的,所述通信终端预先存储三个卡槽对应的三个通信实例,所述配置模块,具体设置为根据预存的所述三个卡槽标识与两个协议栈之间的映射关系,以及确定的所述目标卡槽标识,将所述目标卡槽标识对应的目标卡槽的通信实例与协议栈进行绑定,其中,通信实例包括phone实例和RILD实例。
可以看出,本发明实施例技术方案中,首先通信终端将检测得到的已插入SIM卡的SIM卡标识全部显示在通信终端的显示屏上,供用户进行SIM卡的自由选择组合,然后,根据选择的目标SIM卡标识确定对应的目标卡槽标识,最后,根据预存的三个卡槽标识与两个协议栈之间的映射关系,基于确定的目标卡槽标识,为目标卡槽标识对应的目标卡槽配置对应的协议栈,以将目标SIM卡标识对应的目标SIM卡配置为通信终端的工作SIM卡避免了现有技术中通过打开手机后盖更换SIM卡或者切换开关来配置SIM卡,有利于简化SIM卡配置的操作步骤、降低硬件成本,提升用户SIM卡配置的灵活性。
附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是本发明第一实施例提供的一种通信终端的工作SIM卡配置方法的流程示意图;
图1-1是本发明第一实施例提供的一种人机交互界面的的效果示意图;
图2是本发明第二实施例提供的一种通信终端的工作SIM卡配置方法的流程示意图;
图3是本发明第三实施例提供的一种通信终端的结构示意图;
图4是本发明第四实施例提供的一种通信终端的结构示意图。
具体实施方式
为了使本技术领域的人员更好地理解本发明方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别不同对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其他步骤或单元。
在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本发明的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其它实施例相结合。
请参阅图1,图1是本发明第一实施例提供的一种通信终端的工作SIM卡配置方法的流程示意图,如图1所示,本发明实施例中的通信终端的工作SIM卡配置方法包括以下步骤:
S101、通信终端获取通信终端的客户识别模块SIM卡卡槽的状态描述信息,其中,该通信终端包括三个卡槽、所述通信终端预存有两个协议栈及三个卡槽对应的三个卡槽标识与两个协议栈之间的映射关系,所述状态描述信息包括三个卡槽中已插入SIM卡的卡槽标识和对应的SIM卡标识。
其中,上述通信终端获取通信终端的客户识别模块SIM卡卡槽的状态描述信息的具体实现方式可以是:通信终端在检测到通信终端的SIM卡卡槽上电时,检测预存的每个SIM卡卡槽标识对应的SIM卡卡槽中是否插入SIM卡;在检测到任一SIM卡卡槽中插入SIM卡时,获取已插入SIM卡的卡槽标识和对应的SIM卡标识;基于已插入SIM卡的卡槽标识和对应的SIM卡标识,生成状态描 述信息。
其中,上述状态描述信息可以参考表1至表7。
其中,所述通信终端在检测到通信终端的SIM卡卡槽上电时,检测预存的每个SIM卡卡槽标识对应的SIM卡卡槽中是否插入SIM卡,在检测只有一个卡槽插入SIM卡时,其状态描述信息可以参考表1至表3;在检测有两个卡槽插入SIM卡时,其状态描述信息可以参考表4至表6;在检测到三个卡槽均插入SIM卡时,其状态描述信息可以参考表7。
卡槽标识 SIM卡标识
第一卡槽标识 第一SIM卡标识
第二卡槽标识 无卡
第三卡槽标识 无卡
表1
卡槽标识 SIM卡标识
第一卡槽标识 无卡
第二卡槽标识 第二SIM卡标识
第三卡槽标识 无卡
表2
卡槽标识 SIM卡标识
第一卡槽标识 无卡
第二卡槽标识 无卡
第三卡槽标识 第三SIM卡标识
表3
卡槽标识 SIM卡标识
第一卡槽标识 第一SIM卡标识
第二卡槽标识 第二SIM卡标识
第三卡槽标识 无卡
表4
卡槽标识 SIM卡标识
第一卡槽标识 第一SIM卡标识
第二卡槽标识 无卡
第三卡槽标识 第三SIM卡标识
表5
卡槽标识 SIM卡标识
第一卡槽标识 无卡
第二卡槽标识 第二SIM卡标识
第三卡槽标识 第三SIM卡标识
表6
卡槽标识 SIM卡标识
第一卡槽标识 第一SIM卡标识
第二卡槽标识 第二SIM卡标识
第三卡槽标识 第三SIM卡标识
表7
S102、所述通信终端若基于所述状态描述信息检测到所述通信终端的三个卡槽中都插入SIM卡,在所述通信终端的显示屏的预设区域显示所述SIM卡标识。
S103、所述通信终端在检测到针对所述SIM卡标识中的目标SIM卡标识的选择操作时,确定所述状态描述信息中与所述目标SIM卡标识对应的目标卡槽标识。
其中,通信终端若基于状态描述信息检测到所述通信终端的三个卡槽中都插入SIM卡,在通信终端的显示屏的预设区域显示第一SIM卡标识、第二SIM卡标识和第三SIM卡标识,然后检测用户针对显示屏的触控选择操作,当检测到针对SIM卡标识中的目标SIM卡标识的选择操作时,确定状态描述信息中与目标SIM卡标识对应的目标卡槽标识。其中,因为所述通信终端预存有两个协议栈,因此上述目标SIM卡标识可以是一个或两个,当检测到用户针对三个SIM卡标识中的全部SIM卡标识的选择操作时,所述通信终端在显示屏的预设区域显示提示信息,提醒用户不可以同时激活三张卡、请选择任意两张卡进行激活,其具体的人机交互界面可以参考图1-1。
S104、所述通信终端根据预存的所述三个卡槽标识与两个协议栈之间的映射关系,以及确定的所述目标卡槽标识,为所述目标卡槽标识对应的目标卡槽配置对应的协议栈,以将所述目标SIM卡标识对应的目标SIM卡配置为所述通信终端的工作SIM卡。
可选的,获取通信终端的客户识别模块SIM卡卡槽的状态描述信息之后,根据预存的三个卡槽标识与两个协议栈之间的映射关系,以及确定的目标卡槽标识,为目标卡槽标识对应的目标卡槽配置对应的协议栈之前,所述通信终端还可以执行以下操作:
若基于状态描述信息得到通信终端的三个卡槽中的任意一个卡槽或者任意两个插入SIM卡时,确定状态描述信息中已插入SIM卡的卡槽标识,并将已插入SIM卡的卡槽标识作为目标卡槽标识。
其中,所述通信终端根据预存的三个卡槽标识与两个协议栈之间的映射关系,以及确定的目标卡槽标识,为目标卡槽标识对应的目标卡槽配置对应的协议栈的具体实现方式可以是:
若目标卡槽标识为第一卡槽标识、第二卡槽标识和第三卡槽标识中的任一卡槽标识时,将通信终端的第一协议栈配置为目标卡槽标识对应的目标卡槽的协议栈,其具体的映射关系可以参考表8至表10。
目标卡槽标识 SIM卡标识 协议栈
第一卡槽标识 第一SIM卡标识 第一协议栈
表8
目标卡槽标识 SIM卡标识 协议栈
第二卡槽标识 第二SIM卡标识 第一协议栈
表9
目标卡槽标识 SIM卡标识 协议栈
第三卡槽标识 第三SIM卡标识 第一协议栈
表10
若目标卡槽标识为第一卡槽标识和第二卡槽标识时,将通信终端的第一协议栈配置为第一卡槽标识对应的第一卡槽的协议栈,将通信终端的第二协议栈配置为第二卡槽标识对应的第二卡槽的协议栈,其具体的映射关系可以参考表 11。
目标卡槽标识 SIM卡标识 协议栈
第一卡槽标识 第一SIM卡标识 第一协议栈
第二卡槽标识 第二SIM卡标识 第二协议栈
表11
若目标卡槽标识为第一卡槽标识和第三卡槽标识时,将通信终端的第一协议栈配置为第一卡槽标识对应的第一卡槽的协议栈,将通信终端的第二协议栈配置为第三卡槽标识对应的第三卡槽的协议栈,具体的映射关系可以参考表12。
卡槽标识 SIM卡标识 协议栈
第一卡槽标识 第一SIM卡标识 第一协议栈
第三卡槽标识 第三SIM卡标识 第二协议栈
表12
或者,若目标卡槽标识为第二卡槽标识和第三卡槽标识时,将通信终端的第一协议栈配置为第二卡槽标识对应的第二卡槽的协议栈,将通信终端的第二协议栈配置为第三卡槽标识对应的第三卡槽的协议栈,其具体的映射关系可以参考表13。
卡槽标识 SIM卡标识 协议栈
第二卡槽标识 第二SIM卡标识 第一协议栈
第三卡槽标识 第三SIM卡标识 第二协议栈
表13
其中,通信终端预先存储三个卡槽对应的三个通信实例,根据预存的三个卡槽标识与两个协议栈之间的映射关系,以及确定的目标卡槽标识,为目标卡槽标识对应的目标卡槽配置对应的协议栈的具体实现方式可以是:
根据预存的三个卡槽标识与两个协议栈之间的映射关系,以及确定的目标卡槽标识,将目标卡槽标识对应的目标卡槽的通信实例与协议栈进行绑定,其中,通信实例包括phone实例和RILD实例。
可以看出,本发明实施例技术方案中,首先通信终端将检测得到的已插入SIM卡的SIM卡标识全部显示在通信终端的显示屏上,供用户进行SIM卡的自由选择组合,然后,根据选择的目标SIM卡标识确定对应的目标卡槽标识,最后,根据预存的三个卡槽标识与两个协议栈之间的映射关系,基于确定的目标卡槽标识,为目标卡槽标识对应的目标卡槽配置对应的协议栈,以将目标SIM卡标识对应的目标SIM卡配置为通信终端的工作SIM卡避免了现有技术中通过打开手机后盖更换SIM卡或者切换开关来配置SIM卡,有利于简化SIM卡配置的操作步骤、降低硬件成本,提升用户SIM卡配置的灵活性。
请参阅图2,图2是本发明第二实施例提供的一种通信终端的工作SIM卡配置方法的流程示意图,如图2所示,本发明实施例中的通信终端的工作SIM卡配置方法包括以下步骤:
S201、通信终端在检测到通信终端的SIM卡卡槽上电时,检测预存的每个SIM卡卡槽标识对应的SIM卡卡槽中是否插入SIM卡。
S202、通信终端在检测到任一SIM卡卡槽中插入SIM卡时,获取已插入SIM卡的卡槽标识和对应的SIM卡标识。
S203、通信终端基于已插入SIM卡的卡槽标识和对应的SIM卡标识,生成状态描述信息。
其中,通信终端包括三个卡槽、通信终端预存有两个协议栈及三个卡槽对应的三个卡槽标识与两个协议栈之间的映射关系,状态描述信息包括三个卡槽中已插入SIM卡的卡槽标识和对应的SIM卡标识;
S204、通信终端基于状态描述信息检测通信终端的三个卡槽中是否都插入SIM卡。
其中,通信终端若基于状态描述信息检测到所述通信终端的三个卡槽中都插入SIM卡,则执行步骤S205至步骤S206后执行步骤S208,若通信终端基于状态描述信息检测到通信终端的三个卡槽中的任意一个卡槽或者任意两个插入SIM卡时,执行步骤S207后继续执行步骤S208。
S205、通信终端若基于状态描述信息检测到所述通信终端的三个卡槽中都插入SIM卡,在通信终端的显示屏的预设区域显示SIM卡标识。
S206、通信终端在检测到针对SIM卡标识中的目标SIM卡标识的选择操作 时,确定状态描述信息中与目标SIM卡标识对应的目标卡槽标识。
S207、若基于状态描述信息检测到通信终端的三个卡槽中的任意一个卡槽或者任意两个插入SIM卡时,确定状态描述信息中已插入SIM卡的卡槽标识,并将已插入SIM卡的卡槽标识作为目标卡槽标识。
S208、通信终端根据预存的三个卡槽标识与两个协议栈之间的映射关系,以及确定的目标卡槽标识,为目标卡槽标识对应的目标卡槽配置对应的协议栈,以将目标SIM卡标识对应的目标SIM卡配置为通信终端的工作SIM卡。
其中,根据预存的三个卡槽标识与两个协议栈之间的映射关系,以及确定的目标卡槽标识,为目标卡槽标识对应的目标卡槽配置对应的协议栈的具体是实现方式可以是:
若目标卡槽标识为第一卡槽标识、第二卡槽标识和第三卡槽标识中的任一卡槽标识时,将通信终端的第一协议栈配置为目标卡槽标识对应的目标卡槽的协议栈;或者,
若目标卡槽标识为第一卡槽标识和第二卡槽标识时,将通信终端的第一协议栈配置为第一卡槽标识对应的第一卡槽的协议栈,将通信终端的第二协议栈配置为第二卡槽标识对应的第二卡槽的协议栈;或者,
若目标卡槽标识为第一卡槽标识和第三卡槽标识时,将通信终端的第一协议栈配置为第一卡槽标识对应的第一卡槽的协议栈,将通信终端的第二协议栈配置为第三卡槽标识对应的第三卡槽的协议栈;或者,
若目标卡槽标识为第二卡槽标识和第三卡槽标识时,将通信终端的第一协议栈配置为第二卡槽标识对应的第二卡槽的协议栈,将通信终端的第二协议栈配置为第三卡槽标识对应的第三卡槽的协议栈。
其中,通信终端预先存储三个卡槽对应的三个通信实例,根据预存的三个卡槽标识与两个协议栈之间的映射关系,以及确定的目标卡槽标识,为目标卡槽标识对应的目标卡槽配置对应的协议栈的具体实现方式可以是:
根据预存的三个卡槽标识与两个协议栈之间的映射关系,以及确定的目标卡槽标识,将目标卡槽标识对应的目标卡槽的通信实例与协议栈进行绑定,其中,通信实例包括phone实例和RILD实例。
可以看出,本发明实施例技术方案中,首先通信终端将检测得到的已插入SIM卡的SIM卡标识全部显示在通信终端的显示屏上,供用户进行SIM卡的自 由选择组合,然后,根据选择的目标SIM卡标识确定对应的目标卡槽标识,最后,根据预存的三个卡槽标识与两个协议栈之间的映射关系,基于确定的目标卡槽标识,为目标卡槽标识对应的目标卡槽配置对应的协议栈,以将目标SIM卡标识对应的目标SIM卡配置为通信终端的工作SIM卡避免了现有技术中通过打开手机后盖更换SIM卡或者切换开关来配置SIM卡,有利于简化SIM卡配置的操作步骤、降低硬件成本,提升用户SIM卡配置的灵活性。
下面为本发明装置实施例,本发明装置实施例用于执行本发明方法实施例一至二实现的方法,为了便于说明,仅示出了与本发明实施例相关的部分,具体技术细节未揭示的,请参照本发明实施例一和实施例二。
请参阅图3,图3是本发明第三实施例提供的一种通信终端的结构示意图,如图3所示,本发明实施例中的通信终端包括以下模块:
获取模块301,设置为获取通信终端的客户识别模块SIM卡卡槽的状态描述信息,其中,所述通信终端包括三个卡槽、所述通信终端预存有两个协议栈及三个卡槽对应的三个卡槽标识与两个协议栈之间的映射关系,所述状态描述信息包括三个卡槽中已插入SIM卡的卡槽标识和对应的SIM卡标识;
显示模块302,设置为若基于所述状态描述信息检测到所述通信终端的三个卡槽中都插入SIM卡,在所述通信终端的显示屏的预设区域显示SIM卡标识;
第一确定模块303,设置为在检测到针对所述SIM卡标识中的目标SIM卡标识的选择操作时,确定所述状态描述信息中与目标SIM卡标识对应的目标卡槽标识;
配置模块304,设置为根据预存的所述三个卡槽标识与两个协议栈之间的映射关系,以及确定的所述目标卡槽标识,为所述目标卡槽标识对应的目标卡槽配置对应的协议栈,以将所述目标SIM卡标识对应的目标SIM卡配置为所述通信终端的工作SIM卡。
其中,所述获取模块301可以进一步包括:
检测单元3011,设置为在检测到所述通信终端的SIM卡卡槽上电时,检测预存的每个SIM卡卡槽标识对应的SIM卡卡槽中是否插入SIM卡;
获取单元3012,设置为在检测到任一SIM卡卡槽中插入SIM卡时,获取已插入SIM卡的卡槽标识和对应的SIM卡标识;
生成单元3013,设置为基于已插入SIM卡的卡槽标识和对应的SIM卡标识,生成所述状态描述信息。
进一步可选的,所述通信终端还可以进一步包括:
第二确定模块305,在获取模块301获取通信终端的客户识别模块SIM卡卡槽的状态描述信息之后,配置模块304根据预存的三个卡槽标识与两个协议栈之间的映射关系,以及确定的目标卡槽标识,为目标卡槽标识对应的目标卡槽配置对应的协议栈之前,设置为在检测到通信终端的三个卡槽中的任意一个卡槽或者任意两个插入SIM卡时,确定状态描述信息中已插入SIM卡的卡槽标识,并将已插入SIM卡的卡槽标识作为目标卡槽标识。
其中,所述配置模块304,具体设置为若目标卡槽标识为第一卡槽标识、第二卡槽标识和第三卡槽标识中的任一卡槽标识时,将通信终端的第一协议栈配置为目标卡槽标识对应的目标卡槽的协议栈;或者,
若目标卡槽标识为第一卡槽标识和第二卡槽标识时,将通信终端的第一协议栈配置为第一卡槽标识对应的第一卡槽的协议栈,将通信终端的第二协议栈配置为第二卡槽标识对应的第二卡槽的协议栈;或者,
若目标卡槽标识为第一卡槽标识和第三卡槽标识时,将通信终端的第一协议栈配置为第一卡槽标识对应的第一卡槽的协议栈,将通信终端的第二协议栈配置为第三卡槽标识对应的第三卡槽的协议栈;或者,
若目标卡槽标识为第二卡槽标识和第三卡槽标识时,将通信终端的第一协议栈配置为第二卡槽标识对应的第二卡槽的协议栈,将通信终端的第二协议栈配置为第三卡槽标识对应的第三卡槽的协议栈。
进一步可选的,其特征在于,通信终端预先存储三个卡槽对应的三个通信实例,所述配置模块304,具体设置为根据预存的三个卡槽标识与两个协议栈之间的映射关系,以及确定的目标卡槽标识,将目标卡槽标识对应的目标卡槽的通信实例与协议栈进行绑定,其中,通信实例包括phone实例和RILD实例。
具体的,上述各个模块的具体实现可参考图1至图2对应实施例中相关步骤的描述,在此不赘述。
可以看出,本发明实施例技术方案中,首先通信终端将检测得到的已插入SIM卡的SIM卡标识全部显示在通信终端的显示屏上,供用户进行SIM卡的自由选择组合,然后,根据选择的目标SIM卡标识确定对应的目标卡槽标识,最 后,根据预存的三个卡槽标识与两个协议栈之间的映射关系,基于确定的目标卡槽标识,为目标卡槽标识对应的目标卡槽配置对应的协议栈,以将目标SIM卡标识对应的目标SIM卡配置为通信终端的工作SIM卡避免了现有技术中通过打开手机后盖更换SIM卡或者切换开关来配置SIM卡,有利于简化SIM卡配置的操作步骤、降低硬件成本,提升用户SIM卡配置的灵活性。
请参考图4,图4是本发明第四实施例公开的一种通信终端的结构示意图。如图5所示,本发明实施例中的通信终端包括:至少一个处理器401,例如CPU,至少一个接收器403,至少一个存储器404,至少一个发送器405,至少一个通信总线402。其中,通信总线402用于实现这些组件之间的连接通信。其中,本发明实施例中装置的接收器403和发送器405可以是有线发送端口,也可以为无线设备,例如包括天线装置,用于与其他节点设备进行信令或数据的通信。存储器404可以是高速RAM存储器,也可以是非不稳定的存储器(non-volatile memory),例如至少一个磁盘存储器。存储器404可选的还可以是至少一个位于远离前述处理器401的存储装置。存储器404中存储一组程序代码,且处理器401可通过通信总线402,调用存储器404中存储的代码以执行相关的功能。
所述处理器401,用于获取通信终端的客户识别模块SIM卡卡槽的状态描述信息,其中,所述通信终端包括三个卡槽、所述通信终端预存有两个协议栈及所述三个卡槽对应的三个卡槽标识与所述两个协议栈之间的映射关系,所述状态描述信息包括三个卡槽中已插入SIM卡的卡槽标识和对应的SIM卡标识;若基于所述状态描述信息检测到所述通信终端的三个卡槽中都插入SIM卡,在所述通信终端的显示屏的预设区域显示SIM卡标识;在检测到针对所述SIM卡标识中的目标SIM卡标识的选择操作时,确定所述状态描述信息中与所述目标SIM卡标识对应的目标卡槽标识;根据预存的所述三个卡槽标识与两个协议栈之间的映射关系,以及所述确定的目标卡槽标识,为所述目标卡槽标识对应的目标卡槽配置对应的协议栈,以将所述目标SIM卡标识对应的目标SIM卡配置为通信终端的工作SIM卡。
进一步可选的,所述处理器401,在用于获取通信终端的客户识别模块SIM卡卡槽的状态描述信息时,具体用于在检测到所述通信终端的SIM卡卡槽上电时,检测预存的每个SIM卡卡槽标识对应的SIM卡卡槽中是否插入SIM卡;在 检测到任一SIM卡卡槽中插入SIM卡时,获取已插入SIM卡的卡槽标识和对应的SIM卡标识;基于已插入SIM卡的卡槽标识和对应的SIM卡标识,生成所述状态描述信息。
进一步可选的,所述处理器401,在用于获取通信终端的客户识别模块SIM卡卡槽的状态描述信息之后,在用于根据预存的所述三个卡槽标识与两个协议栈之间的映射关系,以及所述确定的目标卡槽标识,为所述目标卡槽标识对应的目标卡槽配置对应的协议栈之前,还可以进一步用于若基于所述状态描述信息检测到所述通信终端的三个卡槽中的任意一个卡槽或者任意两个插入SIM卡时,确定所述状态描述信息中已插入SIM卡的卡槽标识,并将所述已插入SIM卡的卡槽标识作为目标卡槽标识。
进一步可选的,所述处理器401,在用于所述根据预存的所述三个卡槽标识与两个协议栈之间的映射关系,以及所述确定的目标卡槽标识,为所述目标卡槽标识对应的目标卡槽配置对应的协议栈时,具体用于若所述目标卡槽标识为第一卡槽标识、第二卡槽标识和第三卡槽标识中的任一卡槽标识时,将所述通信终端的第一协议栈配置为所述目标卡槽标识对应的目标卡槽的协议栈;或者,若所述目标卡槽标识为第一卡槽标识和第二卡槽标识时,将所述通信终端的第一协议栈配置为第一卡槽标识对应的第一卡槽的协议栈,将通信终端的第二协议栈配置为第二卡槽标识对应的第二卡槽的协议栈;或者,若所述目标卡槽标识为第一卡槽标识和第三卡槽标识时,将所述通信终端的第一协议栈配置为第一卡槽标识对应的第一卡槽的协议栈,将所述通信终端的第二协议栈配置为第三卡槽标识对应的第三卡槽的协议栈;或者,若所述目标卡槽标识为第二卡槽标识和第三卡槽标识时,将所述通信终端的第一协议栈配置为第二卡槽标识对应的第二卡槽的协议栈,将所述通信终端的第二协议栈配置为第三卡槽标识对应的第三卡槽的协议栈。
进一步可选的,所述通信终端预先存储三个卡槽对应的三个通信实例,所述处理器401,在用于根据预存的所述三个卡槽标识与两个协议栈之间的映射关系,以及确定的所述目标卡槽标识,为所述目标卡槽标识对应的目标卡槽配置对应的协议栈时,具体用于根据预存的所述三个卡槽标识与两个协议栈之间的映射关系,以及确定的所述目标卡槽标识,将所述目标卡槽标识对应的目标卡槽的通信实例与协议栈进行绑定,其中,通信实例包括phone实例和RILD实例。
具体的,上述各个模块的具体实现可参考图1至图2对应实施例中相关步骤的描述,在此不赘述。
可以看出,本发明实施例技术方案中,首先通信终端将检测得到的已插入SIM卡的SIM卡标识全部显示在通信终端的显示屏上,供用户进行SIM卡的自由选择组合,然后,根据选择的目标SIM卡标识确定对应的目标卡槽标识,最后,根据预存的三个卡槽标识与两个协议栈之间的映射关系,基于确定的目标卡槽标识,为目标卡槽标识对应的目标卡槽配置对应的协议栈,以将目标SIM卡标识对应的目标SIM卡配置为通信终端的工作SIM卡避免了现有技术中通过打开手机后盖更换SIM卡或者切换开关来配置SIM卡,有利于简化SIM卡配置的操作步骤、降低硬件成本,提升用户SIM卡配置的灵活性。
本发明实施例还提供一种计算机存储介质,其中,该计算机存储介质可存储有程序,该程序执行时包括上述方法实施例中记载的任何一种服务进程的监控方法的部分或全部步骤。
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,因为依据本发明,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本发明所必须的。
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。
在本申请所提供的几个实施例中,应该理解到,所揭露的装置,可通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性或其它的形式。
作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元 来实现本实施例方案的目的。
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可为个人计算机、服务器或者网络设备等)执行本发明各个实施例方法的全部或部分步骤。而前述的存储介质包括:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存储介质可以包括:闪存盘、只读存储器(英文:Read-Only Memory,简称:ROM)、随机存取器(英文:Random Access Memory,简称:RAM)、磁盘或光盘等。
以上对本发明实施例所提供的一种通信终端的工作SIM卡配置方法及通信终端进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上,本说明书内容不应理解为对本发明的限制。

Claims (10)

  1. 一种通信终端的工作SIM卡配置方法,其特征在于,包括:
    获取通信终端的客户识别模块SIM卡卡槽的状态描述信息,其中,所述通信终端包括三个卡槽、所述通信终端预存有两个协议栈及所述三个卡槽对应的三个卡槽标识与所述两个协议栈之间的映射关系,所述状态描述信息包括三个卡槽中已插入SIM卡的卡槽标识和对应的SIM卡标识;
    若基于所述状态描述信息检测到所述通信终端的三个卡槽中都插入SIM卡,在所述通信终端的显示屏的预设区域显示所述SIM卡标识;
    在检测到针对所述SIM卡标识中的目标SIM卡标识的选择操作时,确定所述状态描述信息中与所述目标SIM卡标识对应的目标卡槽标识;
    根据预存的所述三个卡槽标识与所述两个协议栈之间的映射关系,以及所述确定的目标卡槽标识,为所述目标卡槽标识对应的目标卡槽配置对应的协议栈,以将所述目标SIM卡标识对应的目标SIM卡配置为所述通信终端的工作SIM卡。
  2. 如权利要求1的方法,其特征在于,所述获取通信终端的客户识别模块SIM卡卡槽的状态描述信息,包括:
    在检测到所述通信终端的SIM卡卡槽上电时,检测预存的每个SIM卡卡槽标识对应的SIM卡卡槽中是否插入SIM卡;
    在检测到任一SIM卡卡槽中插入SIM卡时,获取已插入SIM卡的卡槽标识和对应的SIM卡标识;
    基于所述已插入SIM卡的卡槽标识和对应的SIM卡标识,生成所述状态描述信息。
  3. 如权利要求2的方法,其特征在于,所述获取通信终端的客户识别模块SIM卡卡槽的状态描述信息之后,所述根据预存的所述三个卡槽标识与所述两个协议栈之间的映射关系,以及所述确定的目标卡槽标识,为所述目标卡槽标识对应的目标卡槽配置对应的协议栈之前,所述方法还包括:
    若基于所述状态描述信息检测到所述通信终端的三个卡槽中的任意一个卡槽或者任意两个插入SIM卡时,确定所述状态描述信息中已插入SIM卡的卡槽标识,并将所述已插入SIM卡的卡槽标识作为目标卡槽标识。
  4. 如权利要求1至3任一项的方法,其特征在于,所述根据预存的所述三个卡槽标识与所述两个协议栈之间的映射关系,以及所述确定的目标卡槽标识,为所述目标卡槽标识对应的目标卡槽配置对应的协议栈,包括:
    若所述目标卡槽标识为第一卡槽标识、第二卡槽标识和第三卡槽标识中的任一卡槽标识时,将所述通信终端的第一协议栈配置为所述目标卡槽标识对应的目标卡槽的协议栈;或者,
    若所述目标卡槽标识为第一卡槽标识和第二卡槽标识时,将所述通信终端的第一协议栈配置为第一卡槽标识对应的第一卡槽的协议栈,将所述通信终端的第二协议栈配置为第二卡槽标识对应的第二卡槽的协议栈;或者,
    若所述目标卡槽标识为第一卡槽标识和第三卡槽标识时,将所述通信终端的第一协议栈配置为第一卡槽标识对应的第一卡槽的协议栈,将所述通信终端的第二协议栈配置为第三卡槽标识对应的第三卡槽的协议栈;或者,
    若所述目标卡槽标识为第二卡槽标识和第三卡槽标识时,将所述通信终端的第一协议栈配置为第二卡槽标识对应的第二卡槽的协议栈,将所述通信终端的第二协议栈配置为第三卡槽标识对应的第三卡槽的协议栈。
  5. 如权利要求4的方法,其特征在于,所述通信终端预先存储三个卡槽对应的三个通信实例,所述根据预存的所述三个卡槽标识与所述两个协议栈之间的映射关系,以及所述确定的目标卡槽标识,为所述目标卡槽标识对应的目标卡槽配置对应的协议栈,包括:
    根据预存的所述三个卡槽标识与所述两个协议栈之间的映射关系,以及确定的所述目标卡槽标识,将所述目标卡槽标识对应的目标卡槽的通信实例与协议栈进行绑定,其中,所述通信实例包括phone实例和RILD实例。
  6. 一种通信终端,其特征在于,包括:
    获取模块,设置为获取通信终端的客户识别模块SIM卡卡槽的状态描述信息,其中,所述通信终端包括三个卡槽、所述通信终端预存有两个协议栈及所述三个卡槽对应的三个卡槽标识与所述两个协议栈之间的映射关系,所述状态描述信息包括三个卡槽中已插入SIM卡的卡槽标识和对应的SIM卡标识;
    显示模块,设置为若基于所述状态描述信息检测到所述通信终端的三个卡槽中都插入SIM卡,在所述通信终端的显示屏的预设区域显示所述SIM卡标识;
    第一确定模块,设置为在检测到针对所述SIM卡标识中的目标SIM卡标识的选择操作时,确定所述状态描述信息中与所述目标SIM卡标识对应的目标卡槽标识;
    配置模块,设置为根据预存的所述三个卡槽标识与所述两个协议栈之间的映射关系,以及所述确定的目标卡槽标识,为所述目标卡槽标识对应的目标卡槽配置对应的协议栈,以将所述目标SIM卡标识对应的目标SIM卡配置为所述通信终端的工作SIM卡。
  7. 如权利要求6的通信终端,其特征在于,所述获取模块包括:
    检测单元,设置为在检测到所述通信终端的SIM卡卡槽上电时,检测预存的每个SIM卡卡槽标识对应的SIM卡卡槽中是否插入SIM卡;
    获取单元,在检测到任一SIM卡卡槽中插入SIM卡时,获取已插入SIM卡的卡槽标识和对应的SIM卡标识;
    生成单元,基于已插入SIM卡的卡槽标识和对应的SIM卡标识,生成所述状态描述信息。
  8. 如权利要求7的通信终端,其特征在于,所述通信终端还包括:
    第二确定模块,在所述获取模块获取通信终端的客户识别模块SIM卡卡槽的状态描述信息之后,所述配置模块根据预存的所述三个卡槽标识与两个协议栈之间的映射关系,以及所述确定的目标卡槽标识,为所述目标卡槽标识对应的目标卡槽配置对应的协议栈之前,设置为若基于所述状态描述信息检测到所述通信终端的三个卡槽中的任意一个卡槽或者任意两个插入SIM卡时,确定所述状态描述信息中已插入SIM卡的卡槽标识,并将所述已插入SIM卡的卡槽标 识作为目标卡槽标识。
  9. 如权利要求6至8任一项的通信终端,其特征在于,
    所述配置模块,具体设置为若所述目标卡槽标识为第一卡槽标识、第二卡槽标识和第三卡槽标识中的任一卡槽标识时,将所述通信终端的第一协议栈配置为所述目标卡槽标识对应的目标卡槽的协议栈;或者,
    若所述目标卡槽标识为第一卡槽标识和第二卡槽标识时,将所述通信终端的第一协议栈配置为第一卡槽标识对应的第一卡槽的协议栈,将所述通信终端的第二协议栈配置为第二卡槽标识对应的第二卡槽的协议栈;或者,
    若所述目标卡槽标识为第一卡槽标识和第三卡槽标识时,将所述通信终端的第一协议栈配置为第一卡槽标识对应的第一卡槽的协议栈,将所述通信终端的第二协议栈配置为第三卡槽标识对应的第三卡槽的协议栈;或者,
    若所述目标卡槽标识为第二卡槽标识和第三卡槽标识时,将所述通信终端的第一协议栈配置为第二卡槽标识对应的第二卡槽的协议栈,将通信终端的第二协议栈配置为第三卡槽标识对应的第三卡槽的协议栈。
  10. 如权利要求9的通信终端,其特征在于,所述通信终端预先存储三个卡槽对应的三个通信实例,所述配置模块,具体设置为根据预存的所述三个卡槽标识与所述两个协议栈之间的映射关系,以及确定的所述目标卡槽标识,将所述目标卡槽标识对应的目标卡槽的通信实例与协议栈进行绑定,其中,所述通信实例包括phone实例和RILD实例。
PCT/CN2016/107812 2016-04-22 2016-11-30 一种通信终端的工作sim卡配置方法及通信终端 WO2017181679A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610255941.9 2016-04-22
CN201610255941.9A CN107306458B (zh) 2016-04-22 2016-04-22 一种通信终端的工作sim卡配置方法及通信终端

Publications (1)

Publication Number Publication Date
WO2017181679A1 true WO2017181679A1 (zh) 2017-10-26

Family

ID=60115563

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/107812 WO2017181679A1 (zh) 2016-04-22 2016-11-30 一种通信终端的工作sim卡配置方法及通信终端

Country Status (2)

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

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108494943A (zh) * 2018-01-22 2018-09-04 努比亚技术有限公司 消息接收、发送处理方法、终端及计算机可读存储介质

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110856161A (zh) * 2019-10-28 2020-02-28 深圳传音控股股份有限公司 一种sim卡设置方法、终端及计算机存储介质
CN111050310A (zh) * 2019-11-22 2020-04-21 深圳市宏电技术股份有限公司 一种网络切换方法、装置、终端设备及介质
CN111556542B (zh) * 2020-06-19 2022-10-11 展讯通信(上海)有限公司 Sim卡切换电路、sim卡切换方法及终端设备
CN111741150A (zh) * 2020-06-19 2020-10-02 展讯通信(上海)有限公司 Sim卡切换电路、sim卡切换方法及终端设备

Citations (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 (zh) * 2010-12-24 2011-07-20 深圳市经纬科技有限公司 三卡双待手机
CN102196095A (zh) * 2011-05-16 2011-09-21 深圳市隆宇世纪科技有限公司 一种三卡手机中任意双卡待机系统及实现方法
CN202094990U (zh) * 2011-05-27 2011-12-28 上海戎讯通信技术有限公司 四卡双待的自动识别系统
CN102548046A (zh) * 2010-12-24 2012-07-04 深圳市经纬科技有限公司 三卡双待手机及在手机中实现三卡双待功能的方法
CN205017595U (zh) * 2015-10-12 2016-02-03 惠州Tcl移动通信有限公司 一种移动终端及其四卡双待装置
CN106100687A (zh) * 2016-05-31 2016-11-09 宇龙计算机通信科技(深圳)有限公司 一种终端通信方法及系统

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102137389B (zh) * 2011-03-18 2014-07-30 惠州Tcl移动通信有限公司 一种多卡移动终端及其sim卡数据转存方法
EP2822353B1 (en) * 2012-03-01 2017-08-30 Yulong Computer Telecommunication Technologies (Shenzhen) Co., Ltd. Multi-card mobile phone and display method

Patent Citations (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 (zh) * 2010-12-24 2011-07-20 深圳市经纬科技有限公司 三卡双待手机
CN102548046A (zh) * 2010-12-24 2012-07-04 深圳市经纬科技有限公司 三卡双待手机及在手机中实现三卡双待功能的方法
CN102196095A (zh) * 2011-05-16 2011-09-21 深圳市隆宇世纪科技有限公司 一种三卡手机中任意双卡待机系统及实现方法
CN202094990U (zh) * 2011-05-27 2011-12-28 上海戎讯通信技术有限公司 四卡双待的自动识别系统
CN205017595U (zh) * 2015-10-12 2016-02-03 惠州Tcl移动通信有限公司 一种移动终端及其四卡双待装置
CN106100687A (zh) * 2016-05-31 2016-11-09 宇龙计算机通信科技(深圳)有限公司 一种终端通信方法及系统

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108494943A (zh) * 2018-01-22 2018-09-04 努比亚技术有限公司 消息接收、发送处理方法、终端及计算机可读存储介质

Also Published As

Publication number Publication date
CN107306458B (zh) 2021-06-18
CN107306458A (zh) 2017-10-31

Similar Documents

Publication Publication Date Title
WO2017181679A1 (zh) 一种通信终端的工作sim卡配置方法及通信终端
EP2804393B1 (en) Remote control method, intelligent terminal and intelligent remote control system
CN105900466B (zh) 消息处理方法及装置
AU2017219385A1 (en) Electronic device and method of application data display therefor
CN105376107B (zh) 终端测试方法和代理服务器
EP3585038A1 (en) Wireless local area communication method and terminal supporting the same
CN106502840B (zh) 一种数据备份方法、装置及系统
US20210352059A1 (en) Message Display Method, Apparatus, and Device
WO2015000397A1 (en) User login methods,devices,and systems
US20140125464A1 (en) Smart remote control
US20160249321A1 (en) Method of synchronizing notification messages for electronic devices and electronic devices
CN104184899A (zh) 双卡通讯的方法和移动终端
CN108605373B (zh) 用于提供网络共享服务的方法和电子装置
TW201306551A (zh) 通信系統、附件設備及擴展使用sim卡的方法
WO2014067258A1 (zh) 一种云业务触发的方法、云服务器和瘦客户机
CN103347124B (zh) 一种防止误挂电话的方法、装置及终端设备
CN114415530A (zh) 控制方法、装置、电子设备及存储介质
CN107295412B (zh) 数据处理方法、装置及系统
CN103024121A (zh) 一种移动终端区分联系人号码的方法及系统
WO2016058385A1 (zh) 信息存储方法、装置及终端
CN103812537A (zh) 基于安卓系统的fmp支持装置及方法
CN102938804B (zh) 一种管理联系人信息的方法和装置
US20150280933A1 (en) Electronic device and connection method thereof
US20160021234A1 (en) Call answering method integrating social software application and telephone answering interface
WO2014183711A1 (zh) 一种多媒体数据备份方法、用户终端及同步装置

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16899261

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 16899261

Country of ref document: EP

Kind code of ref document: A1