CN105991831B - Device and method that Subscriber Identity Module in card slot is driven, a kind of terminal - Google Patents

Device and method that Subscriber Identity Module in card slot is driven, a kind of terminal Download PDF

Info

Publication number
CN105991831B
CN105991831B CN201510086476.6A CN201510086476A CN105991831B CN 105991831 B CN105991831 B CN 105991831B CN 201510086476 A CN201510086476 A CN 201510086476A CN 105991831 B CN105991831 B CN 105991831B
Authority
CN
China
Prior art keywords
card slot
subscriber identity
identity module
card
terminal
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
CN201510086476.6A
Other languages
Chinese (zh)
Other versions
CN105991831A (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.)
Spreadtrum Communications Shanghai Co Ltd
Original Assignee
Spreadtrum Communications Shanghai 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 Spreadtrum Communications Shanghai Co Ltd filed Critical Spreadtrum Communications Shanghai Co Ltd
Priority to CN201510086476.6A priority Critical patent/CN105991831B/en
Publication of CN105991831A publication Critical patent/CN105991831A/en
Application granted granted Critical
Publication of CN105991831B publication Critical patent/CN105991831B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention relates to the device and methods driven to Subscriber Identity Module in card slot, a kind of terminal.Described device includes: at least two card slot controllers, first memory and driving interface;The card slot controller is suitable for carrying out information exchange with the Subscriber Identity Module in corresponding card slot when it is driven;The driving interface has the correlation map with the card slot controller, the first memory is suitable for recording the correlation map, the driving interface is suitable for being called when multi-mode protocol stack receives the user information for being directed toward selected Subscriber Identity Module, and the correlation map driving recorded by the first memory and its card slot controller with correlation map;The correlation map that the first memory is recorded is adjusted when the corresponding relationship of the selected Subscriber Identity Module and Subscriber Identity Module in card slot changes.The present invention can realize the self-adapting correction of Subscriber Identity Module title in double-terminal or multi-card terminal card slot silk-screen printing mistake.

Description

Device and method that Subscriber Identity Module in card slot is driven, a kind of terminal
Technical field
The present invention relates to wireless communication technology field, in particular to Subscriber Identity Module is driven in a kind of pair of card slot dress It sets and method, a kind of terminal.
Background technique
Many specification protocols have been developed in current wireless communication technique, wherein commonly using in the terminal of mobile device Include following system:
GSM(Global System for Mobil Communication);
CDMA(Code Division Multiple Access);
UMTS(Universal Mobile Telecommunications System);And
LTE (Long Term Evolution), it includes following system that LTE system is classified again:
TDD-LTE(Time Division Duplexing-LTE);And
FDD-LTE(Frequency Division Duplexing-LTE)。
Diversity and complexity based on wireless communication technique modular system, terminal in the prior art can be whole for double card End or multi-card terminal.Double-terminal and multi-card terminal can satisfy the need that user uses different mobile systems in same terminal It asks, user is made to carry out more communication services, communication service needed for user can also be allowed to be based on double card or more card flexible choices, from And improve the service performance of terminal.
Above-mentioned double card or more cards refer to can having the configuration of multiple Subscriber Identity Modules (in the following contents in a terminal In, it is related to card/subscriber card/identification card meaning and each means Subscriber Identity Module), Subscriber Identity Module configuration can be according to institute in terminal Depending on the not homologous ray used, such as:
For existing simultaneously the system function of GSM and CDMA in terminal, GSM user can be existed simultaneously in terminal at this time Identification module (SIM, Subscriber Identity Module) and CDMA subscriber identification module (UIM, User Identity Module), the configuring condition of terminal user's identification card can then correspond to configuration SIM card and UIM card;
It, at this time can be same in terminal for existing simultaneously the system function of GSM, CDMA and UMTS (or LTE) in terminal When there are GSM subscriber identification module, CDMA subscriber identification module and UMTS (or LTE) subscriber identification module (USIM, Universal Subscriber Identity Module), the configuring condition of terminal user's identification card can then correspond to configuration SIM card, UIM card and usim card;
The double card or more card configurations of other communication systems and corresponding Subscriber Identity Module are then similar.
For double-terminal or multi-card terminal, in order to distinguish two cards or multiple cards, terminal is needed in configuration to slotting The Subscriber Identity Module entered in card slot distinguishes.A kind of common method is that similar " SIM1 " is printed on different card slots, The silk-screen of " SIM2 ", such as card slot 1 is printed into " SIM1 ", card slot 2 is printed into " SIM2 ", is respectively intended to mark in different card slots Card, and it is corresponding with the card title shown in terminal display screen.
But in some cases, above-mentioned silk-screen may print instead, such as card slot 1 is printed to " SIM2 ", and card slot 2 is printed At " SIM1 ".It is aobvious in terminal when card slot 1 is inserted into Subscriber Identity Module in the case where above-mentioned silk-screen printing mistake occurs The entitled SIM1 of the card that display screen is shown, but user is really to be inserted into card in the card slot 1 that silk-screen is " SIM2 ", leads to terminal usability It can reduce, cause the interaction problems such as communication service operating error.The prior art can not be in double-terminal or multi-card terminal card slot silk Adaptive correction is given when print printing mistake.
Summary of the invention
The technical issues of technical solution of the present invention is solved is how to print in double-terminal or multi-card terminal card slot silk-screen The self-adapting correction of Subscriber Identity Module title is realized when mistake.
In order to solve the above-mentioned technical problem, technical solution of the present invention provides Subscriber Identity Module in a kind of pair of card slot and drives Dynamic device is based on terminal multi-mode protocol stack, comprising: at least two card slot controllers, first memory and driving interface;
The card slot controller is suitable for carrying out information exchange with the Subscriber Identity Module in corresponding card slot when it is driven;Institute Driving interface is stated with the correlation map with the card slot controller, the first memory is suitable for recording the correlation map, The driving interface is suitable for being called when multi-mode protocol stack receives the user information for being directed toward selected Subscriber Identity Module, and borrows The correlation map driving for helping the first memory to be recorded and its card slot controller with correlation map;First storage The quilt when corresponding relationship of the correlation map that device is recorded Subscriber Identity Module in the selected Subscriber Identity Module and card slot changes Adjustment.
Optionally, the card slot controller includes: the first buffer, the second buffer and card slot port, the card slot end Mouth is suitable for transmitting Subscriber Identity Module of the information into corresponding card slot;The card slot controller be suitable for by information preservation to be sent in First buffer, and convert this information into and meet the signal form of interface standard and be transferred to the card slot port, simultaneously The information preservation that Subscriber Identity Module in corresponding card slot is returned is in second buffer;
The multi-mode protocol stack is suitable for operating mode based on the terminal and executes the first general information, and according to described the One general information forms the information for calling driving interface, and first general information and described be directed toward selected Subscriber Identity Module User information is related.
Optionally, the driving interface is further adapted for reading the information in second buffer when called and by the letter Breath is converted to the second general information that can be executed by the multi-mode protocol stack.
Optionally, first general information is also related to the information to be sent, and the driving interface is further adapted for Being converted to first general information when called can be by the received information to be sent of the card slot controller.
Optionally, the driving interface is further adapted for initializing the card slot controller when called.
Optionally, the operating mode of the terminal is UMTS mode, GSM mode, CDMA mode or LTE mode.
Optionally, the Subscriber Identity Module in the card slot controller and card slot has unique corresponding relation.
Optionally, the driving interface and the selected Subscriber Identity Module have unique call relation.
Optionally, described device further include: second memory, the second memory are suitable for storing matching for Subscriber Identity Module Confidence breath, the configuration information includes: the corresponding relationship of Subscriber Identity Module and the card slot controller and the tune with driving interface With relationship.
Optionally, the second memory is integrated in the card slot controller.
Optionally, the second memory is register.
Optionally, the first memory is nonvolatile memory.
Optionally, when the selected Subscriber Identity Module in the groove position and card slot that user terminal is shown Subscriber Identity Module Groove position then the corresponding relationship of Subscriber Identity Module changes in the selected Subscriber Identity Module and card slot when mismatching.
Optionally, when the knowledge that the selected Subscriber Identity Module identifies in the identification card title and card slot that user terminal is shown Then the corresponding relationship of the selected Subscriber Identity Module and Subscriber Identity Module in card slot changes when card title does not mismatch.
Optionally, the Subscriber Identity Module is SIM card or usim card.
Optionally, described device further include:
Human-computer interaction module, suitable for the human-computer interaction interface between display terminal and user terminal, according to user terminal described The input of human-computer interaction interface, sending can be by the received user informations of the multi-mode protocol stack.
In order to solve the above-mentioned technical problem, technical solution of the present invention additionally provides Subscriber Identity Module in a kind of pair of card slot and carries out The method of driving is based on device as described above, comprising:
When multi-mode protocol stack receives the user information for being directed toward selected Subscriber Identity Module, call and the selected use Family identification card has the driving interface of call relation, and the driving interface then drives and its card slot with correlation map controls Device;
Card slot controller carries out information exchange with the Subscriber Identity Module in corresponding card slot when being driven;
The driving is adjusted when the corresponding relationship of Subscriber Identity Module changes in the selected Subscriber Identity Module and card slot The correlation map of interface and card slot controller.
Optionally, the Subscriber Identity Module in the card slot controller and card slot has unique corresponding relation, and the driving connects Mouth has unique call relation with the selected Subscriber Identity Module;
When the identification card name that the selected Subscriber Identity Module identifies in the identification card title and card slot that user terminal is shown Then the corresponding relationship of the selected Subscriber Identity Module and Subscriber Identity Module in card slot changes when claiming to mismatch.
In order to solve the above-mentioned technical problem, technical solution of the present invention additionally provides a kind of terminal, comprising: display screen and as above The device.
The technical effect of technical solution of the present invention includes at least:
Technical solution of the present invention is by increasing storage card to the device driven to Subscriber Identity Module configured in terminal The first memory of correlation map between greeve controller and driving interface, in double-terminal or the printing of multi-card terminal card slot silk-screen Above-mentioned correlation map is adjusted into (rewriting) in time when mistake, so as to adaptively realize that user shown by terminal upper layer knows The Subscriber Identity Module not being inserted into card title and practical card slot is corresponding consistent, can correct card brought by card slot silk-screen misprint Title shows wrong problem.
Technical solution of the present invention is added by the device that above-mentioned first memory drives terminal to Subscriber Identity Module Correlation map between new configuration information namely card slot controller and driving interface in relation to card slot, and can be printed in card slot silk-screen Brush mistake carries out time update to above-mentioned new configuration, realizes that the subscriber card of terminal protocol stack is shown and prints situation with card slot silk-screen Between flexible configuration, total energy keeps terminal to show the corresponding of the Subscriber Identity Module being inserted into subscriber card title and practical card slot Consistency.
In the optinal plan of technical solution of the present invention, match confidence using second memory storage Subscriber Identity Module Breath, the configuration information of identification card include that the corresponding relationship of Subscriber Identity Module and the card slot controller and terminal are shown under identification card Call driving interface relationship, using second memory store above-mentioned corresponding relationship and call relation, can automatic identification it is current Card slot Subscriber Identity Module shows whether identification card is consistent with terminal, and thus judges whether to need to adjust in first memory to store New configuration information (correlation map between card slot controller and driving interface).
Technical solution of the present invention is without additional addition hardware device, and the realization size of code of software section is small, to terminal hardware And the modification amount of software is limited, is suitble to the terminal silk-screen for solving the problems, such as to occur under scale of mass production printing mistake, can save Maintenance cost and production time brought by error correction.
Detailed description of the invention
Fig. 1 is a kind of the case where silk-screen is correctly printed in double-card mobile terminal card slot schematic diagram;
The case where Fig. 2 is silk-screen mistake printing in a kind of double-card mobile terminal card slot schematic diagram;
The apparatus structure signal that Subscriber Identity Module is driven in a kind of pair of card slot that Fig. 3 provides for technical solution of the present invention Figure;
Fig. 4 is based on Fig. 3, and the structural schematic diagram of device under error situation is printed for a kind of card slot silk-screen;
Fig. 5 is that the apparatus structure that the another kind that technical solution of the present invention provides drives Subscriber Identity Module in card slot shows It is intended to;
Fig. 6 is based on Fig. 5, and the structural schematic diagram of device under error situation is printed for a kind of card slot silk-screen;
Fig. 7 is based on Fig. 5, and the structural schematic diagram of device under error situation is printed for another card slot silk-screen;
Interaction between a kind of card slot controller, driving interface and the multi-mode protocol stack that Fig. 8 provides for technical solution of the present invention Software and hardware structure schematic diagram;
Fig. 9 is that another apparatus structure driven to Subscriber Identity Module in card slot that technical solution of the present invention provides shows It is intended to;
Figure 10 is another apparatus structure driven to Subscriber Identity Module in card slot that technical solution of the present invention provides Schematic diagram;
The apparatus structure that Subscriber Identity Module is driven in the multiple a kind of pair of card slot that Figure 11 provides for technical solution of the present invention Schematic diagram;
The method flow that Subscriber Identity Module is driven in a kind of pair of card slot that Figure 12 provides for technical solution of the present invention shows It is intended to.
Specific embodiment
Subscriber Identity Module is terminal a part indispensable with telecommunication network and Data processing, is related to terminal Several component parts such as hardware, driving, software are inserted into Subscriber Identity Module in terminal groove, and it is right in terminal that Subscriber Identity Module passes through Card slot controller, driving and protocol stack and communication network and terminal is answered to carry out data interaction, wherein it is main to block corresponding protocol stack It is responsible for 3GPP, 7816 wait Subscriber Identity Module related protocol in consensus standards to realize that driving is mainly responsible for the initial of card slot controller Change, control and the functions such as data interaction, card slot controller realize finally to the control of Subscriber Identity Module and and Subscriber Identity Module into The final data interaction etc. of row.
With the continuous development of wireless communication technology, 3G/4G network is universal, in order to meet the needs of people are different, mesh It is preceding to have many double-terminals even multi-card terminal on the market.Different cards can be used to use different business, such as a card It is mainly used to execute 3G/4G data service based on UMTS/LTE communication system, another card is mainly used to based on GSM/CDMA Communication system executes the business such as phone, short message.In order to distinguish this two different cards, a kind of way common at present is at end End physical card groove location stamps similar " SIM1 ", the silk-screen of " SIM2 ", then shown in terminal display screen card title " SIM1 " and " SIM2 ", with corresponding with two cards in card slot respectively.It is current free or that above-mentioned Normal practice can facilitate user to distinguish Select identification card, convenient for identify be carrying out business with card or for use block.
The case where silk-screen is correctly printed in a kind of double-card mobile terminal card slot that Fig. 1 is shown, double-card mobile terminal include card Slot one, card slot two and display screen, card slot one print silk-screen " SIM1 ", and card slot two prints silk-screen " SIM2 ", and user can pass through silk-screen Know its double card title, and the double card title on silk-screen is consistent corresponding, Ye Jixian with the card title that terminal display screen is shown Display screen shows that card title " SIM1 " is the corresponding card SIM1 into card slot one, and display screen shows that card title " SIM2 " is to correspond to extremely Card SIM2 in card slot two.
It continues to refer to figure 1, when " SIM1 " card that active user is free or terminal selects display screen to show is executed as current Corresponding service when with card or stand-by card, be that card and communication network in card slot one is established and communicated to connect.
The case where silk-screen mistake is printed in a kind of double-card mobile terminal card slot that Fig. 2 is shown, double-card mobile terminal also includes Card slot one, card slot two and display screen, card slot one are printed wrong silk-screen " SIM2 ", and card slot two prints wrong silk-screen " SIM1 ", user The double card title of terminal is still known according to the silk-screen that originally configured and display card title, still, double card title on silk-screen with The card title that terminal display screen is shown but be not it is consistent corresponding, i.e., display screen shows that card title " SIM1 " is corresponding to card slot Card SIM2 in one, and display screen shows that card title " SIM2 " is the corresponding card SIM1 into card slot two.
With continued reference to Fig. 2, when " SIM1 " card that active user is free or terminal selects display screen to show is executed as current Corresponding service when with card or stand-by card, desirably the card SIM1 in card slot two and communication network establish communication link originally It connects, but reality is then card SIM2 and the communication network foundation communication connection in card slot one.
It will be apparent that terminal capabilities may significantly reduce, for example, wanting to make in user in the case where the printing of silk-screen mistake When executing corresponding service with the card SIM1 in card slot two, " SIM1 " that free terminal show as the subscriber card that selected, but Actual selection is card SIM2 connection communication network in card slot one, since the subscriber card of card slot one and card slot two may execute Be different communication protocol, even if the two can fulfil one needed for communication service, but probably because carry out communication The difference of agreement and be unable to reach expection in execution efficiency and implementation effect.
Technical solution of the present invention provides following embodiment then to solve the above problems.
In order to keep the purpose of the present invention, feature and effect more obvious and easy to understand, with reference to the accompanying drawing to of the invention Specific embodiment elaborates.
In the following description, numerous specific details are set forth in order to facilitate a full understanding of the present invention, but the present invention can be with Implemented using other than the one described here mode, therefore the present invention is not limited by the specific embodiments disclosed below.
Embodiment one
The device that Subscriber Identity Module is driven in a kind of pair of card slot is present embodiments provided, terminal multimode agreement is based on Stack, is able to solve driving card brought by card slot silk-screen misprint and terminal display blocks inconsistent problem.
By taking terminal 1 shown in Fig. 3 as an example, terminal 1 is double-terminal, which includes: card slot controller 10, card slot control Device 11, card slot 1, card slot 2 13, first memory 14, driving interface 15 and driving interface 16.Terminal has multimode agreement Stack, multi-mode protocol stack include that can be responsible in the consensus standards such as 3GPP, 7816 realizing with Subscriber Identity Module SIM1 related protocol SIM1 protocol stack part and the SIM2 protocol stack part realized with Subscriber Identity Module SIM2 related protocol.
With continued reference to Fig. 3, in terminal 1, the protocol stack part of SIM card, driving interface, card slot control in multi-mode protocol stack The Subscriber Identity Module being inserted into device, card slot and card slot have following interactive relation, with SIM1 protocol stack part, driving interface 15, For card slot controller 10, card slot 1 and Subscriber Identity Module SIM1:
If upper-layer user is free or system has selected Subscriber Identity Module for SIM1, the SIM1 protocol stack part of multi-mode protocol stack Driving interface 15 can be called, with driving card greeve controller 10, and card slot controller 10 is then driven and with the use in card slot 1 Family identification card SIM1 is interacted.
Above-mentioned interactive process is for SIM2 protocol stack part, driving interface 16, card slot controller 11, card slot 2 13 and user Identification card SIM2 is also similar.
From the point of view of above-mentioned interactive process, it is known that: pass through the Subscriber Identity Module of upper layer selected (it has been determined that using), multimode association View stack then will start the corresponding protocol stack part of the Subscriber Identity Module, and the protocol stack part started then calls corresponding driving to connect Mouthful, called driving interface then drives corresponding card slot controller, and driven card slot controller is then and in corresponding card slot Subscriber Identity Module interacts.
Foundation above content, available following interactive relation:
Selected Subscriber Identity Module and driving interface has call relation;
Driving interface and card slot controller have driving relationship;
Subscriber Identity Module in card slot controller and card slot has corresponding relationship.
In the present embodiment, the interactive relation of above-mentioned device configures in the following way in terminal 1:
Above-mentioned call relation is unique;
Above-mentioned driving relationship is configurable using the correlation map between driving interface and card slot controller;
Above-mentioned corresponding relationship is unique.
With continued reference to Fig. 3, first memory 14 is suitable for recording the correlation map.
The implementation mechanism of the present embodiment are as follows:
There is the correlation map with the card slot controller to 1 configuration driven interface of terminal, and will be in the correlation map It stores and is stored in first memory 14.When driving interface is called, stored in driving interface meeting foundation first memory 14 The configuration of the correlation map, driving and its card slot controller with correlation map.
When Subscriber Identity Module has been selected on upper layer, multi-mode protocol stack can receive the user's letter for being directed toward selected Subscriber Identity Module Breath, then selected the protocol stack part of Subscriber Identity Module to start, and calls and selected Subscriber Identity Module to have unique call relation Driving interface;Called driving interface then drives respective card slot controller according to its correlation map;Card slot controller and card Subscriber Identity Module in slot has unique corresponding relation, and card slot controller can be identified when being driven with the user in corresponding card slot Stick into row information interaction.
The terminal 1 of the present embodiment has used additional memory (first memory 14) to record the configurable correlation Mapping illustrates the mode for configuring the correlation map in combination with two situations of Fig. 3 and Fig. 4:
The structure lower bayonet slot silk-screen that Fig. 3 illustrates terminal 1 prints correct situation, wherein card slot 1 prints silk-screen SIM1, and Subscriber Identity Module SIM1 is inserted, card slot 2 13 prints silk-screen SIM2, and inserts Subscriber Identity Module SIM2.In card Slot silk-screen is printed in correct situation, the configured correlation map stored in first memory 14 are as follows: driving interface 15 is directed toward card Greeve controller 10, and driving interface 16 is directed toward card slot controller 11.
When it is SIM1 that Subscriber Identity Module has been selected on upper layer, multi-mode protocol stack starts the protocol stack part of SIM1:
In initial phase, multi-mode protocol stack can initialize the protocol stack part of SIM1, and the protocol stack part of SIM1 is called Driving interface 15;According to the configuration for the correlation map that first memory 14 is stored, the correlation map of driving interface 15 is directed toward card Greeve controller 10, thus the driving that driving interface 15 initializes card slot controller 10;Card slot controller 10 is initialised Initial work is carried out to the Subscriber Identity Module SIM1 in card slot 1 afterwards.
In the data interaction stage, driving interface 15 is then called in the protocol stack part of SIM1, with the user into card slot 1 Identification card SIM1 sends upper layer data, wherein according to the configuration for the correlation map that first memory 14 is stored, driving interface 15 Correlation map be directed toward card slot controller 10, thus driving interface 15 drives with to card slot controller card slot controller 10 10 transmitting upper layer datas;Card slot controller 10 receives upper layer data and the data is transferred to the Subscriber Identity Module in card slot 1 SIM1.In the data interaction stage, the SIM number of the also Subscriber Identity Module SIM1 transmitting in receiving card slot 1 of card slot controller 10 According to, and (correlation map of driving interface 15 is directed toward card slot control for the configuration of the correlation map stored according to first memory 14 Device 10) it SIM data is transferred to driving interface 15 after driving interface 15 receives SIM data then sends the data to The protocol stack part of SIM1, to realize the data interaction between Subscriber Identity Module SIM1 and terminal upper layer.
When it is SIM2 that Subscriber Identity Module has been selected on upper layer, multi-mode protocol stack starts the protocol stack part of SIM2, upper-layer protocol The process in initial phase and data interaction stage is also similar, this reality between stack and Subscriber Identity Module SIM2 in card slot 2 13 Example is applied to repeat no more.
Fig. 4 illustrates the case where structure lower bayonet slot silk-screen misprint of terminal 1, wherein card slot 1 prints silk-screen SIM2, and Subscriber Identity Module SIM2 is inserted, card slot 2 13 prints silk-screen SIM1, and inserts Subscriber Identity Module SIM1.In card In the case where slot silk-screen printing mistake, the configure correlation map that is stored in first memory 14 are as follows: the direction of driving interface 15 is blocked Greeve controller 11, and driving interface 16 is directed toward card slot controller 10.
When it is SIM1 that Subscriber Identity Module has been selected on upper layer, multi-mode protocol stack starts the protocol stack part of SIM1:
In initial phase, multi-mode protocol stack can initialize the protocol stack part of SIM1, and the protocol stack part of SIM1 is called Driving interface 15;According to the configuration for the correlation map that first memory 14 is stored, the correlation map of driving interface 15 is directed toward card Greeve controller 11, thus the driving that driving interface 15 initializes card slot controller 11;Card slot controller 11 is initialised Initial work is carried out to the Subscriber Identity Module SIM1 in card slot 2 13 afterwards.
In the data interaction stage, driving interface 15 is then called in the protocol stack part of SIM1, with the user into card slot 2 13 Identification card SIM1 sends upper layer data, wherein according to the configuration for the correlation map that first memory 14 is stored, driving interface 15 Correlation map be directed toward card slot controller 11, thus driving interface 15 drives with to card slot controller card slot controller 11 11 transmitting upper layer datas;Card slot controller 11 receives upper layer data and the data is transferred to the Subscriber Identity Module in card slot 2 13 SIM1.In the data interaction stage, the SIM number of the also Subscriber Identity Module SIM1 transmitting in receiving card slot 2 13 of card slot controller 11 According to, and (correlation map of driving interface 15 is directed toward card slot control for the configuration of the correlation map stored according to first memory 14 Device 11) it SIM data is transferred to driving interface 15 after driving interface 15 receives SIM data then sends the data to The protocol stack part of SIM1, to realize the data interaction between Subscriber Identity Module SIM1 and terminal upper layer.
When it is SIM2 that Subscriber Identity Module has been selected on upper layer, multi-mode protocol stack starts the protocol stack part of SIM2, upper-layer protocol The process in initial phase and data interaction stage is also similar, this reality between stack and Subscriber Identity Module SIM2 in card slot 1 Example is applied to repeat no more.
Configuration mode based on the present embodiment driving interface Yu card slot controller, it is known that, the present embodiment is printed in card slot silk-screen System mistake under, can be realized upper layer selected user identification card in card slot Subscriber Identity Module it is corresponding consistent.
It should be understood that
No matter wrong or correct in the printing of card slot silk-screen, the driving that upper layer has selected Subscriber Identity Module protocol stack to be called connects Unique call relation between mouthful is constant, and the unique corresponding relation of the Subscriber Identity Module in card slot controller and card slot Be it is constant, configurable is the driving relationship between driving interface and card slot controller, and the present embodiment is based on first memory The correlation map for establishing driving interface Yu card slot controller realizes the driving relationship between driving interface and card slot controller It is adjustable.
Subscriber Identity Module in Subscriber Identity Module and card slot has been selected on upper layer when card slot silk-screen printing mistake will lead to terminal operating It is inconsistent (namely system know enabling identification card and physical end card slot go out enable identification card be not be same knowledge Not Ka), the inconsistent situation of above-mentioned identification card changes in the corresponding relationship that the present embodiment is known as terminal user's identification card.
When the corresponding relationship of Subscriber Identity Module changes, then need to adjust the correlation map that first memory is recorded, specifically Adjustment process then can refer to the configuration of correlation map described in the present embodiment.
The present embodiment, which gives two, can trigger the condition for judging that the corresponding relationship of Subscriber Identity Module changes, but above-mentioned use Whether the change of the corresponding relationship of family identification card, other trigger conditions can also be used:
When the card slot of selected Subscriber Identity Module Subscriber Identity Module in the groove position and card slot that user terminal is shown Then the corresponding relationship of the selected Subscriber Identity Module and Subscriber Identity Module in card slot changes when position mismatches.
When the identification card name that the selected Subscriber Identity Module identifies in the identification card title and card slot that user terminal is shown Then the corresponding relationship of the selected Subscriber Identity Module and Subscriber Identity Module in card slot changes when claiming to mismatch.
It should also be noted that, the type of Subscriber Identity Module is not limited to SIM card, it is also possible to USIM in other embodiments Card or other Card Types, the present embodiment do not limit the type of Subscriber Identity Module, are only known with SIM card as the present embodiment is logical Subscriber Identity Module mark.
Embodiment two
The device that Subscriber Identity Module is driven in a kind of pair of card slot is present embodiments provided, it is similar with embodiment one, Based on multi-card terminal.
By taking terminal 2 shown in fig. 5 as an example, terminal 2 is three card terminals, which includes: card slot controller 20 to card slot control Device 22, card slot 1 to card slot 3 25, first memory 26 and driving interface 27 processed are to driving interface 29.Terminal is assisted with multimode Discuss stack, multi-mode protocol stack include be responsible for such as 3GPP, in 7816 respective protocol standards with Subscriber Identity Module SIM1, SIM2 and SIM3 SIM1 protocol stack part, SIM2 protocol stack part and the SIM3 protocol stack part that related protocol is realized.
In terminal 2, protocol stack part, driving interface, card slot controller, card slot and the card of the corresponding SIM card of multi-mode protocol stack The interactive relation that the Subscriber Identity Module being inserted into slot has can refer to embodiment one, wherein selected Subscriber Identity Module and drive There is mobile interface unique call relation, driving interface and card slot controller based on the correlation map there is configurable driving to close Subscriber Identity Module in system, card slot controller and card slot has unique corresponding relation.
The implementation mechanism of the present embodiment is also similar with embodiment one, and first memory 26 is used to record the configurable phase Mapping is closed, illustrates the mode for configuring the correlation map in combination with three situations of Fig. 5 to Fig. 7:
The structure lower bayonet slot silk-screen that Fig. 5 illustrates terminal 2 prints correct situation, wherein card slot 1 prints silk-screen SIM1, and Subscriber Identity Module SIM1 is inserted, card slot 2 24 prints silk-screen SIM2, and inserts Subscriber Identity Module SIM2, card slot 3 25 printing silk-screen SIM3, and Subscriber Identity Module SIM3 is inserted, in the case where card slot silk-screen prints correct situation, first memory The configured correlation map stored in 26 are as follows: driving interface 27 is directed toward card slot controller 20, and driving interface 28 is directed toward card slot control Device 21, driving interface 29 are directed toward card slot controller 22.
When it is SIM1 that Subscriber Identity Module has been selected on upper layer, multi-mode protocol stack starts the protocol stack part of SIM1, upper-layer protocol Initial phase or the process in data interaction stage, the above process are carried out in stack and card slot 1 between Subscriber Identity Module SIM1 It can refer to embodiment one, details are not described herein again.
Fig. 6 illustrates a kind of the case where card slot silk-screen misprint under the structure of terminal 2, wherein card slot 1 prints silk SIM2 is printed, and inserts Subscriber Identity Module SIM2, card slot 2 24 prints silk-screen SIM3, and inserts Subscriber Identity Module SIM3, blocks Slot 3 25 prints silk-screen SIM1, and inserts Subscriber Identity Module SIM1, in the case where this card slot silk-screen prints mistake, first The configured correlation map stored in memory 26 are as follows: driving interface 27 is directed toward card slot controller 22, and driving interface 28 is directed toward card Greeve controller 20, driving interface 29 are directed toward card slot controller 21.
When it is SIM1 that Subscriber Identity Module has been selected on upper layer, multi-mode protocol stack starts the protocol stack part of SIM1, upper-layer protocol Initial phase or the process in data interaction stage, the above process are carried out in stack and card slot 3 25 between Subscriber Identity Module SIM1 See also embodiment one, details are not described herein again.
Fig. 7 illustrates the case where another card slot silk-screen misprint under the structure of terminal 2, wherein card slot 1 is printed Silk-screen SIM3, and Subscriber Identity Module SIM3 is inserted, card slot 2 24 prints silk-screen SIM1, and inserts Subscriber Identity Module SIM1, Card slot 3 25 prints silk-screen SIM2, and inserts Subscriber Identity Module SIM2, in the case where this card slot silk-screen prints mistake, the The configured correlation map stored in one memory 26 are as follows: driving interface 27 is directed toward card slot controller 21, and driving interface 28 is directed toward Card slot controller 22, driving interface 29 are directed toward card slot controller 20.
When it is SIM1 that Subscriber Identity Module has been selected on upper layer, multi-mode protocol stack starts the protocol stack part of SIM1, upper-layer protocol Initial phase or the process in data interaction stage, the above process are carried out in stack and card slot 2 24 between Subscriber Identity Module SIM1 See also embodiment one, details are not described herein again.
Embodiment three
The present embodiment is based on embodiment one or embodiment two, provides a kind of more specifically to Subscriber Identity Module in card slot The device driven further provides the software and hardware of interaction between card slot controller, driving interface and multi-mode protocol stack Structure.
In conjunction with Fig. 8, card slot controller shown in the present embodiment includes: the first buffer, the second buffer and card slot port, The card slot port is suitable for transmitting Subscriber Identity Module of the information into corresponding card slot;The card slot controller is suitable for will be to be sent Information preservation converts this information into first buffer and meets the signal form of interface standard and be transferred to the card slot Port, while the information preservation that the Subscriber Identity Module in corresponding card slot is returned is in second buffer.
Wherein, the information to be sent refers to that the data information of upper layer transfers, card slot controller are conveying upper layer letter When breath, by information preservation to be sent in the first buffer, then the information in the first buffer is converted to and meets interface standard Signal form be transferred to the card slot port, the information on card slot port can be transmitted to Subscriber Identity Module and can be known by user It Ka not obtain.
Second buffer saves the information of Subscriber Identity Module return, which is suitable for being transferred to terminal upper layer, for real The data communication of existing Subscriber Identity Module and terminal upper layer.
Multi-mode protocol stack is selected according to user or system enables the relevant information that can receive relevant user identification card, namely The data information for being directed toward specific or selected Subscriber Identity Module is received, due to the communication industry based on different Subscriber Identity Module execution Business is different, and the operating mode of terminal is different, and the communication protocol standard executed is also different.It is executed in user or system When specific communication service, multi-mode protocol stack is suitable for operating mode based on the terminal and executes the first general information, and described first General information refers to the executable information formed according to special communication protocol standard, wherein being attached to, direction upper layer is selected to be used The data information of family identification card, first general information be capable of forming call driving interface information, the driving interface with it is described Selected Subscriber Identity Module has unique call relation.
At it under special communication protocol canonical form, the execution content being directed toward can be first general information It is diversified:
First general information can be related to the data interaction stage described in embodiment one and embodiment two: described first General information, which may point to information namely the first general information to be sent described in the present embodiment, can carry the information to be sent, When calling driving interface based on first general information, driving interface is further adapted for being converted to first general information can quilt The received information to be sent of card slot controller, to realize upper layer data assigning to card slot controller;It is described First general information may point to upper-layer protocol stack and call to the reading of driving interface transmission data, also when driving interface is called Lead to suitable for reading the information in second buffer and converting this information into can be executed by the multi-mode protocol stack second With information, to realize that Subscriber Identity Module data to upper layer uploads.
First general information can be related to initial phase described in embodiment one and embodiment two namely first is logical The initialization of card slot controller is directed toward with information, when calling driving interface based on first general information, driving interface is also suitable In initializing the card slot controller, to realize the initialization of Subscriber Identity Module in card slot.
The operating mode of the terminal can be UMTS mode, GSM mode, CDMA mode or LTE mode.
Example IV
The device that Subscriber Identity Module is driven in a kind of pair of card slot is present embodiments provided, it can be based on embodiment one to reality Any embodiment of example three is applied, is different from place, the device further include: second memory, the second memory are suitable for The configuration information of Subscriber Identity Module is stored, the configuration information, which includes: that Subscriber Identity Module is corresponding with the card slot controller, to close System and the call relation with driving interface.
Such as:
A kind of terminal 3 as shown in Figure 9 is based on embodiment one, wherein the dress driven to Subscriber Identity Module in card slot Setting further includes second memory 17.
A kind of terminal 4 as shown in Figure 10 is based on embodiment two, wherein the dress driven to Subscriber Identity Module in card slot Setting further includes second memory 30.
In other embodiments, a kind of terminal 5 as shown in figure 11 is based on embodiment two, wherein knowing to user in card slot The device that Ka do not driven include number can second memory identical with card slot number, each second memory integrates respectively In the card slot controller (being integrated with second memory in card slot controller 20 ', 21 ', 22 ') of corresponding card slot, each second storage Device is used to store the configuration information of Subscriber Identity Module in corresponding card slot.
In other embodiments, the second memory can be register, and the first memory can be deposited to be non-volatile Reservoir.
Embodiment five
The device that Subscriber Identity Module is driven in a kind of pair of card slot is present embodiments provided, based on embodiment one to implementation Any embodiment of example four, is, the device further include: human-computer interaction module is suitable for display terminal and user different from place Human-computer interaction interface between end can be specified selected by upper layer according to user terminal in the input of the human-computer interaction interface as user The Subscriber Identity Module selected, sending can be by the received user informations of the multi-mode protocol stack.
Embodiment six
The method that Subscriber Identity Module is driven in a kind of pair of card slot is present embodiments provided, embodiment one can be used to reality It applies the device that Subscriber Identity Module is driven in a kind of pair of card slot that example five arbitrarily provides to implement, as shown in figure 12, comprising:
Step S100, when multi-mode protocol stack receives the user information for being directed toward selected Subscriber Identity Module, calling and institute The driving interface that selected Subscriber Identity Module has call relation is stated, the driving interface then drives and it is with correlation map Card slot controller;
Step S101, card slot controller carry out information exchange with the Subscriber Identity Module in corresponding card slot when being driven;
Step S102 is adjusted when the corresponding relationship of the selected Subscriber Identity Module and Subscriber Identity Module in card slot changes The correlation map of the driving interface and card slot controller.
Other related contents of the present embodiment can refer to embodiment one to embodiment five, and details are not described herein again.
Embodiment seven
Present embodiments provide a kind of terminal, comprising: display screen and the device that Subscriber Identity Module in card slot is driven, The specific embodiment of the device can refer to embodiment one to embodiment five.
Although the invention has been described by way of example and in terms of the preferred embodiments, but it is not for limiting the present invention, any this field Technical staff without departing from the spirit and scope of the present invention, may be by the methods and technical content of the disclosure above to this hair Bright technical solution makes possible variation and modification, therefore, anything that does not depart from the technical scheme of the invention, and according to the present invention Technical spirit any simple modifications, equivalents, and modifications to the above embodiments, belong to technical solution of the present invention Protection scope.

Claims (16)

1. the device that Subscriber Identity Module is driven in a kind of pair of card slot is based on terminal multi-mode protocol stack, which is characterized in that packet It includes: the Subscriber Identity Module at least two card slot controllers, first memory and driving interface, the card slot controller and card slot With unique corresponding relation;
The card slot controller is suitable for carrying out information exchange with the Subscriber Identity Module in corresponding card slot when it is driven;
The driving interface has the correlation map with the card slot controller, and the first memory is suitable for recording the correlation Mapping, the driving interface are suitable for being adjusted when multi-mode protocol stack receives the user information for being directed toward selected Subscriber Identity Module With, and the correlation map driving recorded by the first memory and its card slot controller with correlation map, it is described Driving interface and the selected Subscriber Identity Module have unique call relation;
The correlation map that the first memory is recorded Subscriber Identity Module in the selected Subscriber Identity Module and card slot Corresponding relationship is adjusted when changing;
When the groove position of selected Subscriber Identity Module Subscriber Identity Module in the groove position and card slot that user terminal is shown Then the corresponding relationship of the selected Subscriber Identity Module and Subscriber Identity Module in card slot changes when mismatch.
2. device as described in claim 1, which is characterized in that the card slot controller includes: the first buffer, the second caching Device and card slot port, the card slot port are suitable for transmitting Subscriber Identity Module of the information into corresponding card slot;The card slot controller Suitable for information preservation to be sent in first buffer, and is converted this information into the signal form for meeting interface standard It is transferred to the card slot port, while the information preservation that the Subscriber Identity Module in corresponding card slot is returned is in second caching Device;
The multi-mode protocol stack is suitable for the operating mode based on the terminal and executes the first general information, and logical according to described first The information for calling driving interface, first general information and the user for being directed toward selected Subscriber Identity Module are formed with information Information is related.
3. device as claimed in claim 2, which is characterized in that the driving interface is further adapted for reading described when called Information in two buffers simultaneously converts this information into the second general information that can be executed by the multi-mode protocol stack.
4. device as claimed in claim 2, which is characterized in that first general information also with the information phase to be sent It closes, the driving interface is further adapted for that first general information is converted to and can be received by the card slot controller when called The information to be sent.
5. device as claimed in claim 2, which is characterized in that the driving interface is further adapted for initializing when called described Card slot controller.
6. device as claimed in claim 2, which is characterized in that the operating mode of the terminal be UMTS mode, GSM mode, CDMA mode or LTE mode.
7. device as described in claim 1, which is characterized in that further include: second memory, the second memory are suitable for depositing The configuration information of Subscriber Identity Module is stored up, the configuration information includes: the corresponding relationship of Subscriber Identity Module Yu the card slot controller And the call relation with driving interface.
8. device as claimed in claim 7, which is characterized in that the second memory is integrated in the card slot controller.
9. device as claimed in claim 7, which is characterized in that the second memory is register.
10. device as described in claim 1, which is characterized in that the first memory is nonvolatile memory.
11. device as described in claim 1, which is characterized in that the Subscriber Identity Module is SIM card or usim card.
12. device as described in claim 1, which is characterized in that further include:
Human-computer interaction module, suitable for the human-computer interaction interface between display terminal and user terminal, according to user terminal described man-machine The input of interactive interface, sending can be by the received user informations of the multi-mode protocol stack.
13. the device that Subscriber Identity Module is driven in a kind of pair of card slot is based on terminal multi-mode protocol stack, which is characterized in that packet It includes: the Subscriber Identity Module at least two card slot controllers, first memory and driving interface, the card slot controller and card slot With unique corresponding relation;
The card slot controller is suitable for carrying out information exchange with the Subscriber Identity Module in corresponding card slot when it is driven;
The driving interface has the correlation map with the card slot controller, and the first memory is suitable for recording the correlation Mapping, the driving interface are suitable for being adjusted when multi-mode protocol stack receives the user information for being directed toward selected Subscriber Identity Module With, and the correlation map driving recorded by the first memory and its card slot controller with correlation map, it is described Driving interface and the selected Subscriber Identity Module have unique call relation;
The correlation map that the first memory is recorded Subscriber Identity Module in the selected Subscriber Identity Module and card slot Corresponding relationship is adjusted when changing;
When the identification card title that the selected Subscriber Identity Module identifies in identification card title that user terminal is shown and card slot not Then the corresponding relationship of the selected Subscriber Identity Module and Subscriber Identity Module in card slot changes when matching.
14. the method that Subscriber Identity Module is driven in a kind of pair of card slot, based on such as the described in any item dresses of claim 1 to 13 It sets characterized by comprising
When multi-mode protocol stack receives the user information for being directed toward selected Subscriber Identity Module, calls and know with the selected user Ka not be with the driving interface of call relation, the driving interface then drives and its card slot controller with correlation map;
Card slot controller carries out information exchange with the Subscriber Identity Module in corresponding card slot when being driven;
The driving interface is adjusted when the corresponding relationship of Subscriber Identity Module changes in the selected Subscriber Identity Module and card slot With the correlation map of card slot controller.
15. method as claimed in claim 14, which is characterized in that the Subscriber Identity Module in the card slot controller and card slot has There is unique corresponding relation, the driving interface and the selected Subscriber Identity Module have unique call relation;
When the identification card title that the selected Subscriber Identity Module identifies in identification card title that user terminal is shown and card slot not Then the corresponding relationship of the selected Subscriber Identity Module and Subscriber Identity Module in card slot changes when matching.
16. a kind of terminal characterized by comprising display screen and such as described in any item devices of claim 1 to 13.
CN201510086476.6A 2015-02-16 2015-02-16 Device and method that Subscriber Identity Module in card slot is driven, a kind of terminal Active CN105991831B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510086476.6A CN105991831B (en) 2015-02-16 2015-02-16 Device and method that Subscriber Identity Module in card slot is driven, a kind of terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510086476.6A CN105991831B (en) 2015-02-16 2015-02-16 Device and method that Subscriber Identity Module in card slot is driven, a kind of terminal

Publications (2)

Publication Number Publication Date
CN105991831A CN105991831A (en) 2016-10-05
CN105991831B true CN105991831B (en) 2019-04-30

Family

ID=57038429

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510086476.6A Active CN105991831B (en) 2015-02-16 2015-02-16 Device and method that Subscriber Identity Module in card slot is driven, a kind of terminal

Country Status (1)

Country Link
CN (1) CN105991831B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101287236A (en) * 2008-05-27 2008-10-15 德信无线通讯科技(北京)有限公司 Connecting method for mobile phone with double channels and mobile phone with double channels
CN102982363A (en) * 2008-02-27 2013-03-20 联发科技股份有限公司 System and method for initiating subscriber identity card and subscriber identity module controller

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20110037487A (en) * 2009-10-07 2011-04-13 삼성전자주식회사 Apparatus and method for setting main sim card in dual sim cards terminal

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102982363A (en) * 2008-02-27 2013-03-20 联发科技股份有限公司 System and method for initiating subscriber identity card and subscriber identity module controller
CN101287236A (en) * 2008-05-27 2008-10-15 德信无线通讯科技(北京)有限公司 Connecting method for mobile phone with double channels and mobile phone with double channels

Also Published As

Publication number Publication date
CN105991831A (en) 2016-10-05

Similar Documents

Publication Publication Date Title
US7603107B2 (en) Radio telephone system allowing exchange of call setup parameters between associated or commonly owned mobile devices
AU666092B2 (en) Programmable universal modem system and method for using the same
EP1718087A1 (en) Device and method for automatically selecting one of a set of SIM card readers comprised by a communications device for setting up an outgoing call
CN1848720B (en) Method and system for detecting an erroneous sequence number in a status report unit
CN108347724B (en) Service processing method and system
US9092157B2 (en) Wireless internet-accessing module, host, communication method thereof, and data card
CN101977412B (en) Application processor, modem and communication method therebetween
CN105357659A (en) Network processing method and apparatus of user equipment, and user equipment
CN102238701A (en) Apparatus and method for automatic SIM card selection according to network environment in dual mode terminal
CN114222282B (en) Method and terminal for reporting capability information
AU738714B2 (en) Adapter of subscriber identity module to a mobile radiocommunications terminal
CN103281797A (en) Mobile terminal and method of transmitting business data by same
CN109005532A (en) A kind of Bluetooth connecting method, bluetooth master and Bluetooth slave devices
EP2480027A1 (en) Data access method for customer premises equipment and customer premises equipment (cpe) thereof
CN109309943B (en) Multi-card multi-standby terminal, data card switching control method and device thereof, and storage medium
CN108184256A (en) A kind of ESIM cards automatic switching control equipment
KR101673833B1 (en) Double-mode and double-standby mobile terminal and communication method thereof
CN105991831B (en) Device and method that Subscriber Identity Module in card slot is driven, a kind of terminal
CN105813125B (en) Method, user equipment and the device of voice service for user equipment
US20140105259A1 (en) Method of handling proactive software toolkit commands and 3gpp modem equipment incorporating the same
US20220022028A1 (en) Profile and subscription management for wireless devices
CN102957788B (en) Method for reading and writing card of mobile terminal with double base-band chips
CN106332319A (en) Communication method and equipment thereof
GB2372675A (en) Downloading software for a wireless communications device which is controlled by a host computer
EP3138360B1 (en) Method of managing profiles in a token

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant