CN101287233A - Method and system for implementing STK application in double-card double-standby terminal - Google Patents

Method and system for implementing STK application in double-card double-standby terminal Download PDF

Info

Publication number
CN101287233A
CN101287233A CNA2008101126478A CN200810112647A CN101287233A CN 101287233 A CN101287233 A CN 101287233A CN A2008101126478 A CNA2008101126478 A CN A2008101126478A CN 200810112647 A CN200810112647 A CN 200810112647A CN 101287233 A CN101287233 A CN 101287233A
Authority
CN
China
Prior art keywords
stk
module
sim card
dual
policy
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.)
Granted
Application number
CNA2008101126478A
Other languages
Chinese (zh)
Other versions
CN101287233B (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.)
China Techfaith Wireless Communication Technology Ltd
Original Assignee
China Techfaith Wireless Communication Technology 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 China Techfaith Wireless Communication Technology Ltd filed Critical China Techfaith Wireless Communication Technology Ltd
Priority to CN2008101126478A priority Critical patent/CN101287233B/en
Publication of CN101287233A publication Critical patent/CN101287233A/en
Application granted granted Critical
Publication of CN101287233B publication Critical patent/CN101287233B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a method for realizing the STK application in a dual-card and dual-standby mobile terminal; the dual-card and dual-standby mobile terminal comprises two STK application programs and two STK tactics modules that respectively correspond to two SIM cards. The method comprises that: the STK application programs are called; the STK application programs are registered in a registry for the SIM card identification corresponding to the called STK application programs; SIM card identifications registered in the registry are acquired, and the corresponding STK tactics modules are defined according to the SIM card identifications; the STK tactics modules exhibit menus, when that options of the menus are ticked is inspected, the STK tactics modules interactively complete the STK applications together with the corresponding SIM cards by wireless interface layers. The invention also discloses a system to realize the STK applications in the dual-card and dual-standby mobile terminal; through the method and the system disclosed by the invention, using two SIM cards supporting the STK applications in the dual-card and dual-standby mobile terminal can correctly complete the STK applications of the corresponding SIM cards.

Description

A kind of method and system of in dual-SIM-card dual-standby mobile terminal, realizing the STK application
Technical field
The present invention relates to the STK application technology, be meant a kind of method and system that STK uses of in dual-SIM-card dual-standby mobile terminal, realizing especially.
Background technology
STK is the english abbreviation of SIM card kit, is command statement mutual between a series of SIM card and the portable terminal.
Figure 1 shows that and in the single deck tape-recorder portable terminal, realize the system construction drawing that STK uses.As shown in Figure 1, this system comprises STK application call module, STK policy module, wave point driver module and wireless module.When the user when calling STK application call module invokes STK application program, STK application call STK policy module, the STK policy module is showed menu to the user.After the option in user's choice menus, the STK policy module will be corresponding with this selected option the STK request command send to wireless module by the wave point driver module, after SIM card in the wireless module is handled this STK request command, by the wave point driver module STK order is sent to the STK policy module, this STK order is carried out in the STK policy module, and the STK response command is sent to wireless module by the wave point driver module, finish STK thus and use.
Dual-SIM-card dual-standby mobile terminal has appearred in the development along with mobile communication technology.In dual-SIM-card dual-standby mobile terminal, because the user can use two SIM card simultaneously, so, need be provided at and realize the method that STK uses in the dual-SIM-card dual-standby mobile terminal.
Summary of the invention
In view of this, the object of the present invention is to provide a kind of method of STK application and system that realization STK uses in dual-SIM-card dual-standby mobile terminal of in dual-SIM-card dual-standby mobile terminal, realizing, make the STK that when in dual-SIM-card dual-standby mobile terminal, using the SIM card of two support STK application, can correctly finish corresponding SIM card use.
In order to achieve the above object, the invention provides a kind of method that STK uses that realizes in dual-SIM-card dual-standby mobile terminal, comprise two STK application programs in dual-SIM-card dual-standby mobile terminal, described two STK application programs are corresponding with two SIM card respectively; Comprise two STK policy modules in dual-SIM-card dual-standby mobile terminal, described two STK policy modules are corresponding with two SIM card respectively; Realize that the method that STK uses comprises the steps:
Call the STK application program;
The STK application program is registered the sign of the SIM card corresponding with invoked STK application program in registration table;
Obtain the sign of the SIM card of in registration table, registering, determine corresponding STK policy module according to the sign of the SIM card of being obtained;
Menu is showed in the STK policy module in double-mode and double-standby terminal, when the option in detecting menu was selected, the STK policy module was finished STK alternately by radio interface layer and corresponding SIM card and used.
Create the shortcut that two STK use in dual-SIM-card dual-standby mobile terminal, the shortcut that described two STK use is corresponding with two STK application programs respectively; The described STK of calling application program is: call corresponding STK application program by the shortcut of calling the STK application.
Comprise two STK service threads in dual-SIM-card dual-standby mobile terminal, described two STK service threads are corresponding with two SIM card respectively; Whether described STK service thread can be used to create or delete the shortcut of the STK application program of the correspondence that is used to call corresponding SIM card according to the STK application program of the SIM card of correspondence.When dual-SIM-card dual-standby mobile terminal was started shooting, the system service process started and described two the STK service threads of initialization successively.
In dual-SIM-card dual-standby mobile terminal, comprise the STK routing module; Described STK application program is finished after the step of registering in registration table, call the STK routing module, obtain the sign of the SIM card of in registration table, registering by the STK routing module, determine corresponding STK policy module according to the sign of the SIM card of being obtained, and call this corresponding STK policy module.
When described dual-SIM-card dual-standby mobile terminal adopted Windows Mobile operating system, described STK application program was finished after the step of registering in registration table, calls the default interface caller, calls the STK routing module by the default interface caller.
When dual-SIM-card dual-standby mobile terminal is started shooting, load and initialization STK routing module, the STK routing module loads and described two the STK policy modules of initialization successively.
The step that described STK policy module is finished the STK application alternately by radio interface layer and corresponding SIM card comprises:
The STK policy module sends to the pairing STK request command of selected option the wireless module that comprises corresponding SIM card by radio interface layer;
After the SIM card treatment S TK request command in the wireless module, send the STK order with broadcast mode by described two the STK policy modules of wave point course;
The STK policy module receives the STK order and judges whether the STK order needs to handle, if, then carry out after this STK order, by radio interface layer the STK response command is sent to the wireless module that comprises corresponding SIM card, finish STK thus and use.
Wherein, described STK policy module comprises the step that the pairing STK request command of selected option sends to the wireless module that comprises corresponding SIM card by radio interface layer: the sign that is used to represent corresponding SIM card is added in the STK policy module in the SFK request command, and this STK request command is sent to the radio interface layer router by the wave point layer proxy of invoke extensions, the radio interface layer router is according to the sign that is used to represent corresponding SIM card of adding in the STK request command, the STK request command is sent to the wave point driver module corresponding with the wireless module that comprises corresponding SIM card, the STK request command is sent to the wireless module that comprises corresponding SIM card by this wave point driver module;
Described SIM card comprises with the step that broadcast mode sends the STK order by two STK policy modules of wave point course: the wireless module of SIM card correspondence sends the STK order to the wave point driver module of correspondence, the wave point driver module is resolved after the STK order, in the STK order, add the sign that is used to represent corresponding SIM card, and sending to the radio interface layer router, the radio interface layer router sends to two STK policy modules with the STK order that receives with broadcast mode by the wave point layer proxy of invoke extensions;
Described STK policy module receives the STK order and judges that the step whether the STK order needs to handle comprises: the STK policy module receives after the STK order, obtain the sign of adding in the STK order, determine according to the sign of adding in the STK order this STK orders whether needs are handled;
Described STK policy module comprises the step that the STK response command sends to the wireless module that comprises corresponding SIM card by radio interface layer: the sign that is used to represent corresponding SIM card is added in the STK policy module in the STK response command, wave point layer proxy by invoke extensions sends to the radio interface layer router with this STK response command, the radio interface layer router is according to the sign of adding in the STK response command, the STK response command is sent to corresponding wave point driver module, the STK response command is sent to the wireless module that comprises corresponding SIM card by this wave point driver module.
In order to achieve the above object, the invention provides a kind of system that STK uses that realizes in dual-SIM-card dual-standby mobile terminal, this system comprises: the wave point layer proxy of two STK application call modules, a STK routing module, two STK policy modules, an expansion, a radio interface layer router, two wave point driver modules and two wireless modules; Described two STK application call modules are corresponding with two SIM card respectively, described two STK policy modules are corresponding with two SIM card respectively, described two wave point driver modules are corresponding with two SIM card respectively, and described two wireless modules are corresponding with two SIM card respectively;
Described STK application call module, be used to call the STK application program, when this invoked STK application program is registered the sign of the SIM card corresponding with invoked STK application program in registration table after, the described STK routing module of described STK application call module invokes;
The STK routing module, be used to preserve the sign of SIM card and the corresponding relation between the STK policy module, be used for obtaining the sign of the SIM card of registering at registration table, search described corresponding relation according to the sign of the SIM card of being obtained and determine corresponding STK policy module, and call this corresponding STK policy module;
The STK policy module is used to show menu, when the option in detecting menu is selected, by the wave point layer proxy of invoke extensions, the pairing STK request command of selected option is sent to the radio interface layer router; Be used to receive STK order and judge whether the STK order needs to handle, if, then to carry out after this STK orders, the wave point layer proxy by invoke extensions sends to the radio interface layer router with the STK response command;
The radio interface layer router is used to receive the STK request command from the STK policy module, and sends to corresponding wave point driver module; Be used to receive STK order, and send to two STK policy modules with broadcast mode from the wave point driver module; Be used to receive STK response command, and send to corresponding wave point driver module from the STK policy module;
The wave point driver module is used to receive from the STK request command of radio interface layer router and resolves, and the STK request command after resolving is sent to corresponding wireless module; Be used to receive the STK order of self-corresponding wireless module and resolve, the STK order after resolving is sent to the radio interface layer router;
Wireless module is used to receive the STK request command that comes self-corresponding wave point driver module, gives corresponding SIM card and handles this STK request command; The STK order that is used for SIM card is sent sends to corresponding wave point driver module.
Described system comprises that further two STK use shortcut establishment/removing module, and it is corresponding with two SIM card respectively that described two STK use shortcut establishment/removing module; Described STK uses shortcut establishments/removing module, is used to create or delete the shortcut of the STK application program of the SIM card correspondence that is used to call correspondence.
Described system further comprises the default interface calling module; When invoked STK application program is registered the sign of the SIM card corresponding with invoked STK application program in registration table after, the described default interface calling module of described STK application call module invokes; Described default interface calling module is used to call the STK routing module.
According to the method and system of in dual-SIM-card dual-standby mobile terminal, realizing the STK application provided by the invention, when the user calls the STK application program of a certain SIM card correspondence, the STK application program is registered the SIM card sign in registration table, in subsequent step, can identify to determine that the user calls is that the STK of that SIM card correspondence uses like this, finish corresponding STK and use thereby call corresponding STK policy module according to the SIM card of registering in the registration table.According to this method and system, the STK that can simply, correctly distinguish different SIM card correspondence uses, and can realize in dual-SIM-card dual-standby mobile terminal that thus STK uses.
In addition, according to the method and system of in dual-SIM-card dual-standby mobile terminal, realizing the STK application provided by the invention, use corresponding shortcut by creating with STK, and can support STK should be used for creating or deleting corresponding shortcut according to SIM card, thereby can be user-friendly to STK uses, and the user can judge that whether a certain SIM card supports STK to use, and has improved user's use experience according to having or not of shortcut.
Description of drawings
Figure 1 shows that and in the single deck tape-recorder portable terminal, realize the system construction drawing that STK uses in the prior art.
Figure 2 shows that and in dual-SIM-card dual-standby mobile terminal, realize the method flow diagram that STK uses in the embodiment of the present invention.
Figure 3 shows that the schematic diagram of initialization STK service thread in the embodiment of the present invention.
Figure 4 shows that and in dual-SIM-card dual-standby mobile terminal, realize the system construction drawing that STK uses in the embodiment of the present invention.
Figure 5 shows that the schematic diagram of initialization STK routing module and STK policy module in the embodiment of the present invention.
Figure 6 shows that and in dual-SIM-card dual-standby mobile terminal, realize the method flow diagram that STK uses in the embodiment of the present invention with system shown in Figure 4 structure.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, lift specific embodiment below, the present invention is further detailed explanation.
In order to realize that in dual-SIM-card dual-standby mobile terminal STK uses, embodiment of the present invention is provided with two STK application programs in dual-SIM-card dual-standby mobile terminal, and described two STK application programs are corresponding with two SIM card respectively; Two STK policy modules are set in dual-SIM-card dual-standby mobile terminal, and described two STK policy modules are corresponding with two SIM card respectively.The STK policy module realizes different strategies at its corresponding SIM card, realizes every function of STK.The method that realization STK uses in dual-SIM-card dual-standby mobile terminal comprises the steps: as shown in Figure 2
Step 201: the user calls the STK application program of one of them SIM card correspondence.
In embodiment of the present invention, the user calls the STK application program for convenience, can create the shortcut that two STK use in dual-SIM-card dual-standby mobile terminal, and the shortcut that described two STK use is corresponding with the STK application program of two SIM card respectively.The title of STK application shortcut can be unified with STK Apply Names in the pairing SIM card, thereby make the user can distinguish very directly that STK uses and the corresponding relation of SIM card.Like this, in this step, the user can call corresponding STK application program by the shortcut of calling the STK application.
In embodiment of the present invention, in order to create and delete the shortcut that STK uses, two STK service threads are set in dual-SIM-card dual-standby mobile terminal, described two STK service threads are corresponding with two SIM card respectively.Whether the STK service thread can be used to create or delete the shortcut of the STK application program that is used to call corresponding SIM card correspondence according to the STK application program of the SIM card of correspondence.
For example, when SIM card supported that STK uses, corresponding STK service thread was created the shortcut of the STK application of this SIM card correspondence; On the contrary, when SIM card did not support that STK uses, corresponding STK service thread can not created the shortcut that STK uses.For another example, when the current state of terminal did not support that from supporting STK to use to change into STK uses (for example under offline mode), the shortcut of the STK application that the STK service thread is corresponding respectively with two SIM card institute was deleted; When the current state of terminal never supported that STK application changing into support STK uses, the STK service thread was created the shortcut that two SIM card are distinguished corresponding STK application.Promptly, the STK service thread can support the situation of STK application and the state of terminal to support the situation of STK application to create or delete STK application shortcut according to the different SIM card, makes whether the existence of shortcut can reflect directly whether available the STK in the SIM card uses.When the current state of SIM card of using or terminal did not support that STK uses, the user can not see the shortcut that corresponding STK uses, and can't finish the situation that corresponding STK uses thereby avoid the user to call when STK uses shortcut.
Use shortcut in order to create or delete STK by the STK service thread, when dual-SIM-card dual-standby mobile terminal was started shooting, in the embodiment of the present invention, the service processes of system started and initialization STK service thread 1 and STK service thread 2 successively, as shown in Figure 3.Wherein, STK service thread 1 is corresponding with SIM card 1, is used for being responsible for the establishment and the deletion of the shortcut of the STK application corresponding with SIM card 1; STK service thread 2 is corresponding with SIM card 2, is used for being responsible for the establishment and the deletion of the shortcut of the STK application corresponding with SIM card 2.
Step 202: invoked STK application program is registered the sign of the SIM card corresponding with invoked STK application program in registration table.
Step 203: obtain the sign of the SIM card of in registration table, registering, determine corresponding STK policy module according to the sign of the SIM card of being obtained, and call this STK policy module.
In embodiment of the present invention, the STK routing module can be set in dual-SIM-card dual-standby mobile terminal.At this moment, after step 202, this STK routing module of invoked STK application call, this step 203 is carried out by this STK routing module.
In embodiment of the present invention,, then comprise the default interface caller in the dual-SIM-card dual-standby mobile terminal if dual-SIM-card dual-standby mobile terminal adopts windows Mobile operating system.In this case, after step 202, this default interface caller of invoked STK application call calls the STK routing module by the default interface caller.
Step 204: menu is showed in invoked STK policy module in double-mode and double-standby terminal, and when the option in detecting menu was selected, the STK policy module was finished STK alternately by RIL layer and corresponding SIM card and used.
Be example with dual-SIM-card dual-standby mobile terminal below, introduce embodiment of the present invention based on windows Mobile operating system.
Fig. 4 shows and realize the system construction drawing that STK uses in the embodiment of the present invention in based on the dual-SIM-card dual-standby mobile terminal of windows Mobile operating system.This system comprises: the wave point layer proxy (RIL Proxy) of two STK application call modules, a default interface calling module, a STK routing module, two STK policy modules, an expansion, a RIL router, two wave point driver modules and two wireless modules comprise a SIM card respectively in each wireless module.In dual-SIM-card dual-standby mobile terminal, if two SIM card are respectively SIM card 1 and SIM card 2, then corresponding with SIM card 1 module comprises STK application call module 1, STK policy module 1, wave point driver module 1 and wireless module 1, and the module corresponding with SIM card 2 comprises STK application call module 2, STK policy module 2, wave point driver module 2 and wireless module 2.
Can also comprise in the system shown in Figure 4 that two STK use shortcut establishment/removing module (not shown), it is corresponding with two SIM card respectively that described two STK use shortcut establishment/removing module.Described STK uses that shortcut establishments/removing module is created or deletion is used to call the shortcut of STK application program of the SIM card correspondence of correspondence.
When dual-SIM-card dual-standby mobile terminal is started shooting, in the embodiment of the present invention STK routing module and STK policy module are carried out initialization, be specially, system shell at first loads and initialization STK routing module, after the STK routing module is initialised, the STK routing module loads and initialization STK policy module 1 and STK policy module 2 successively, as shown in Figure 5.The initialized main action of STK policy module is to the system registry message informing, and like this, when broadcasting the message of STK policy module registration from the RIL layer, two STK policy modules all can be received.
With system architecture shown in Figure 4, be presented in detail below based on realizing the method that STK uses in the dual-SIM-card dual-standby mobile terminal of windows Mobile operating system.As shown in Figure 6, realize that in dual-SIM-card dual-standby mobile terminal the method that STK uses comprises the steps.
Step 601: the user calls corresponding STK application program by the shortcut of calling the STK application.
Step 602: when invoked STK application program is registered the sign of SIM card of invoked STK application program correspondence in registration table after, STK application call module invokes default interface calling module.
Step 603: the default interface calling module calls the STK routing module.
Wherein, the default interface calling module is an existing module in the windows Mobile operating system.
Step 604:STK routing module obtains the sign of the SIM card of registering in registration table, search the sign of SIM card and the corresponding relation between the STK policy module according to the sign of the SIM card of being obtained, determine the STK policy module of the sign correspondence of the SIM card in registration table, registered, and call this corresponding STK policy module.Preserve the sign of SIM card and the corresponding relation between the STK policy module in the STK routing module.
Step 605: menu is showed in invoked STK policy module.
Comprise a plurality of options in this menu, each option represents that a STK uses.
Step 606: the option in user's choice menus, detect option in the menu when selected by the STK policy module, the STK policy module sends to the pairing STK request command of selected option the wireless module that comprises corresponding SIM card by radio interface layer (RIL layer).This STK request command is the order that is used for asking the pairing STK of option of the menu that the user selects to use.
In this step, the STK policy module specifically comprises the step that the pairing STK request command of selected option sends to the wireless module that comprises corresponding SIM card by the RIL layer: the sign that is used to represent corresponding SIM card is added in the STK policy module in the STK request command, and this STK request command is sent to the RIL router by the RIL Proxy of invoke extensions, the RIL router is according to the sign that is used to represent corresponding SIM card of adding in the STK request command, the STK request command is sent to the wave point driver module corresponding with the wireless module that comprises corresponding SIM card, the STK request command is sent to the wireless module that comprises corresponding SIM card by this wave point driver module.
Step 607: after the SIM card treatment S TK request command in the wireless module, send the STK order with broadcast mode by described two the STK policy modules of RIL course.
In this step, SIM card specifically comprises with the step that broadcast mode sends the STK order by RIL course STK policy module: the wireless module of SIM card correspondence sends the STK order to the wave point driver module of correspondence, the wave point driver module is resolved after the STK order, in the STK order, add the sign that is used to represent corresponding SIM card, and sending to the RIL router, the RIL router sends to two STK policy modules with the STK order that receives with broadcast mode by the RIL Proxy of invoke extensions.
Step 608:STK policy module receives the STK order and judges whether the STK order needs to handle, if, then carry out after this STK order, the STK response command is sent to the wireless module that comprises corresponding SIM card by the RIL layer.
In this step, the STK policy module receives the STK order and judges that the step whether the STK order needs to handle specifically comprises: the STK policy module receives after the STK order, obtain the sign of adding in the STK order, determine according to the sign of adding in the STK order this STK orders whether needs are handled.
In addition, in this step, the STK policy module specifically comprises the step that the STK response command sends to the wireless module that comprises corresponding SIM card by the RIL layer: the sign that is used to represent corresponding SIM card is added in the STK policy module in the STK response command, RIL Proxy by invoke extensions sends to the RIL router with this STK response command, the RIL router is according to the sign of adding in the STK response command, the STK response command is sent to corresponding wave point driver module, the STK response command is sent to the wireless module that comprises corresponding SIM card by this wave point driver module.
By above step, finish the pairing STK of selected option and use.
Illustrate and in dual-SIM-card dual-standby mobile terminal, realize the process that STK uses.
Suppose that the user calls the STK corresponding with the STK application program 1 of SIM card 1 and uses shortcut 1, at this moment, STK application program 1 is registered the ID that this STK uses the SIM card 1 of 1 correspondence in registration table, and calls the default interface calling module, and the default interface calling module calls the STK routing module.
The STK routing module obtains the ID of the SIM card of registering 1 in registration table, and ID by searching SIM card and the corresponding relation between the STK policy module, determines that the STK policy module corresponding with the ID of SIM card 1 is STK policy module 1, calls STK policy module 1 then.
Menu is showed in STK policy module 1, so that the option that the user selects a certain STK to use by menu.When the option in user's choice menus, the sign that is used to represent SIM card 1 is added in STK policy module 1 in the STK request command, and by the RIL Proxy of expansion the STK request command is sent to the RIL router; The RIL router is represented the sign of SIM card 1 according to being used in the STK request command, sends the STK request command to wave point driver module 1; Wave point driver module 1 is resolved after the STK request command, by wireless module 1 the STK request command is sent to SIM card 1, handles this STK request command by SIM card 1.
SIM card 1 is handled after the STK request command, sends the STK order by wireless module 1 to wave point driver module 1; Wave point driver module 1 receives the STK order that comes from wireless module 1, and after it is resolved, in the STK order, add be used to represent the sign of SIM card 1 after, send to the RIL router; The RIL router sends the form of STK order with broadcasting by the RIL Proxy of invoke extensions to STK policy module 1 and STK policy module 2.
STK policy module 1 receives after the STK order, obtains the sign that is used to represent SIM card 1 of adding in the STK order, according to being used to represent that the sign of SIM card 1 determines that these STK order needs are by own processing.This STK order is carried out in STK policy module 1, generate the STK response command, and interpolation is used to represent after the sign of SIM card 1 in the STK response command, by the RIL Proxy that expands the STK response command is sent to the RIL router; The RIL router sends to wave point driver module 1 according to the sign of adding in the STK response command with the STK response command; By wireless module 1 this STK response command is sent to SIM card 1 by wave point driver module 1, finish the pairing STK application of option that the user selects thus.
And STK policy module 2 receives after the STK order, obtains the sign that is used to represent SIM card 1 of adding in the STK order, according to being used to represent that the sign of SIM card 1 determines that this STK orders not needs oneself processing.
As mentioned above, when the user calls the STK application program of SIM card 1 correspondence, because the STK application program is registered SIM card 1 sign in registration table, like this, can determine corresponding STK policy module according to SIM card 1 sign of registering in the registration table, can correctly finish STK alternately thus and use with SIM card 1.
The above only is preferred embodiment of the present invention, and is in order to restriction the present invention, within the spirit and principles in the present invention not all, any modification of being done, is equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (12)

1, a kind of method that realizes the STK application in dual-SIM-card dual-standby mobile terminal is characterized in that comprise two STK application programs in dual-SIM-card dual-standby mobile terminal, described two STK application programs are corresponding with two SIM card respectively; Comprise two STK policy modules in dual-SIM-card dual-standby mobile terminal, described two STK policy modules are corresponding with two SIM card respectively; Realize that the method that STK uses comprises the steps:
Call the STK application program;
The STK application program is registered the sign of the SIM card corresponding with invoked STK application program in registration table;
Obtain the sign of the SIM card of in registration table, registering, determine corresponding STK policy module according to the sign of the SIM card of being obtained;
Menu is showed in the STK policy module in double-mode and double-standby terminal, when the option in detecting menu was selected, the STK policy module was finished STK alternately by radio interface layer and corresponding SIM card and used.
2, method according to claim 1 is characterized in that, creates the shortcut that two STK use in dual-SIM-card dual-standby mobile terminal, and the shortcut that described two STK use is corresponding with two STK application programs respectively;
The described STK of calling application program is: call corresponding STK application program by the shortcut of calling the STK application.
3, method according to claim 2 is characterized in that, comprises two STK service threads in dual-SIM-card dual-standby mobile terminal, and described two STK service threads are corresponding with two SIM card respectively;
Whether described STK service thread can be used to create or delete the shortcut of the STK application program of the correspondence that is used to call corresponding SIM card according to the STK application program of the SIM card of correspondence.
4, method according to claim 3 is characterized in that, when dual-SIM-card dual-standby mobile terminal was started shooting, the system service process started and described two the STK service threads of initialization successively.
5, method according to claim 1 is characterized in that, comprises the STK routing module in dual-SIM-card dual-standby mobile terminal;
Described STK application program is finished after the step of registering in registration table, call the STK routing module, obtain the sign of the SIM card of in registration table, registering by the STK routing module, determine corresponding STK policy module according to the sign of the SIM card of being obtained, and call this corresponding STK policy module.
6, method according to claim 5, it is characterized in that, when described dual-SIM-card dual-standby mobile terminal adopts Windows Mobile operating system, described STK application program is finished after the step of registering in registration table, call the default interface caller, call the STK routing module by the default interface caller.
7, method according to claim 5 is characterized in that, when dual-SIM-card dual-standby mobile terminal is started shooting, loads and initialization STK routing module, and the STK routing module loads and described two the STK policy modules of initialization successively.
According to each described method in the claim 1 to 7, it is characterized in that 8, the step that described STK policy module is finished the STK application alternately by radio interface layer and corresponding SIM card comprises:
The STK policy module sends to the pairing STK request command of selected option the wireless module that comprises corresponding SIM card by radio interface layer;
After the SIM card treatment S TK request command in the wireless module, send the STK order with broadcast mode by described two the STK policy modules of wave point course;
The STK policy module receives the STK order and judges whether the STK order needs to handle, if, then carry out after this STK order, by radio interface layer the STK response command is sent to the wireless module that comprises corresponding SIM card, finish STK thus and use.
9, method according to claim 8 is characterized in that,
Described STK policy module comprises the step that the pairing STK request command of selected option sends to the wireless module that comprises corresponding SIM card by radio interface layer: the sign that is used to represent corresponding SIM card is added in the STK policy module in the STK request command, and this STK request command is sent to the radio interface layer router by the wave point layer proxy of invoke extensions, the radio interface layer router is according to the sign that is used to represent corresponding SIM card of adding in the STK request command, the STK request command is sent to the wave point driver module corresponding with the wireless module that comprises corresponding SIM card, the STK request command is sent to the wireless module that comprises corresponding SIM card by this wave point driver module;
Described SIM card comprises with the step that broadcast mode sends the STK order by two STK policy modules of wave point course: the wireless module of SIM card correspondence sends the STK order to the wave point driver module of correspondence, the wave point driver module is resolved after the STK order, in the STK order, add the sign that is used to represent corresponding SIM card, and sending to the radio interface layer router, the radio interface layer router sends to two STK policy modules with the STK order that receives with broadcast mode by the wave point layer proxy of invoke extensions;
Described STK policy module receives the STK order and judges that the step whether the STK order needs to handle comprises: the STK policy module receives after the STK order, obtain the sign of adding in the STK order, determine according to the sign of adding in the STK order this STK orders whether needs are handled;
Described STK policy module comprises the step that the STK response command sends to the wireless module that comprises corresponding SIM card by radio interface layer: the sign that is used to represent corresponding SIM card is added in the STK policy module in the STK response command, wave point layer proxy by invoke extensions sends to the radio interface layer router with this STK response command, the radio interface layer router is according to the sign of adding in the STK response command, the STK response command is sent to corresponding wave point driver module, the STK response command is sent to the wireless module that comprises corresponding SIM card by this wave point driver module.
10, a kind of system that in dual-SIM-card dual-standby mobile terminal, realizes the STK application, it is characterized in that this system comprises: the wave point layer proxy of two STK application call modules, a STK routing module, two STK policy modules, an expansion, a radio interface layer router, two wave point driver modules and two wireless modules; Described two STK application call modules are corresponding with two SIM card respectively, described two STK policy modules are corresponding with two SIM card respectively, described two wave point driver modules are corresponding with two SIM card respectively, and described two wireless modules are corresponding with two SIM card respectively;
Described STK application call module, be used to call the STK application program, when this invoked STK application program is registered the sign of the SIM card corresponding with invoked STK application program in registration table after, the described STK routing module of described STK application call module invokes;
The STK routing module, be used to preserve the sign of SIM card and the corresponding relation between the STK policy module, be used for obtaining the sign of the SIM card of registering at registration table, search described corresponding relation according to the sign of the SIM card of being obtained and determine corresponding STK policy module, and call this corresponding STK policy module;
The STK policy module is used to show menu, when the option in detecting menu is selected, by the wave point layer proxy of invoke extensions, the pairing STK request command of selected option is sent to the radio interface layer router; Be used to receive STK order and judge whether the STK order needs to handle, if, then to carry out after this STK orders, the wave point layer proxy by invoke extensions sends to the radio interface layer router with the STK response command;
The radio interface layer router is used to receive the STK request command from the STK policy module, and sends to corresponding wave point driver module; Be used to receive STK order, and send to two STK policy modules with broadcast mode from the wave point driver module; Be used to receive STK response command, and send to corresponding wave point driver module from the STK policy module;
The wave point driver module is used to receive from the STK request command of radio interface layer router and resolves, and the STK request command after resolving is sent to corresponding wireless module; Be used to receive the STK order of self-corresponding wireless module and resolve, the STK order after resolving is sent to the radio interface layer router;
Wireless module is used to receive the STK request command that comes self-corresponding wave point driver module, gives corresponding SIM card and handles this STK request command; The STK order that is used for SIM card is sent sends to corresponding wave point driver module.
11, system according to claim 10 is characterized in that, described system comprises that further two STK use shortcut establishment/removing module, and it is corresponding with two SIM card respectively that described two STK use shortcut establishment/removing module;
Described STK uses shortcut establishments/removing module, is used to create or delete the shortcut of the STK application program of the SIM card correspondence that is used to call correspondence.
12, according to claim 10 or 11 described systems, it is characterized in that described system further comprises the default interface calling module;
When invoked STK application program is registered the sign of the SIM card corresponding with invoked STK application program in registration table after, the described default interface calling module of described STK application call module invokes;
Described default interface calling module is used to call the STK routing module.
CN2008101126478A 2008-05-23 2008-05-23 Method and system for implementing STK application in double-card double-standby terminal Expired - Fee Related CN101287233B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008101126478A CN101287233B (en) 2008-05-23 2008-05-23 Method and system for implementing STK application in double-card double-standby terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008101126478A CN101287233B (en) 2008-05-23 2008-05-23 Method and system for implementing STK application in double-card double-standby terminal

Publications (2)

Publication Number Publication Date
CN101287233A true CN101287233A (en) 2008-10-15
CN101287233B CN101287233B (en) 2012-07-04

Family

ID=40059151

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008101126478A Expired - Fee Related CN101287233B (en) 2008-05-23 2008-05-23 Method and system for implementing STK application in double-card double-standby terminal

Country Status (1)

Country Link
CN (1) CN101287233B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101790153A (en) * 2010-01-28 2010-07-28 中兴通讯股份有限公司 Method and device for obtaining network state information
CN101835142A (en) * 2010-04-23 2010-09-15 中兴通讯股份有限公司 Realizing method and device of user identification STK (SIM Card Tool Kit)
GB2499927A (en) * 2013-05-01 2013-09-04 Samsung Electronics Co Ltd Mobile device with faster reading/start-up from multiple Identity Module slots, Module/Modem association switching and SIM Toolkit command management
GB2499926A (en) * 2013-05-01 2013-09-04 Samsung Electronics Co Ltd Mobile device with faster reading/start-up from multiple Identity Module slots, Module/Modem association switching and SIM Toolkit command management
WO2015007183A1 (en) * 2013-07-18 2015-01-22 Tencent Technology (Shenzhen) Company Limited Methods for adapting a dual-sim terminal, dual-sim terminal, and server
CN107613486A (en) * 2017-07-14 2018-01-19 捷开通讯(深圳)有限公司 STK modules naming method, communication terminal and the device with store function
CN110035385A (en) * 2019-05-16 2019-07-19 深圳市沃特沃德股份有限公司 SIM card selection method and device, storage medium and computer equipment
CN111010692A (en) * 2019-12-11 2020-04-14 惠州Tcl移动通信有限公司 Method, device, storage medium and terminal for customizing STK (SIM tool kit) identification

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2878685B1 (en) * 2004-11-30 2007-02-02 Gemplus Sa PRO-ACTIVE SESSION TRIGGER FROM AN APPLET IN A CHIP CARD
CN101150816A (en) * 2007-10-29 2008-03-26 中兴通讯股份有限公司 Method and device for realizing SIM card application packet function on data card
CN101184341A (en) * 2007-12-07 2008-05-21 深圳华为通信技术有限公司 Method, system and device for remote control terminal

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101790153A (en) * 2010-01-28 2010-07-28 中兴通讯股份有限公司 Method and device for obtaining network state information
CN101790153B (en) * 2010-01-28 2014-12-10 中兴通讯股份有限公司 Method and device for obtaining network state information
CN101835142A (en) * 2010-04-23 2010-09-15 中兴通讯股份有限公司 Realizing method and device of user identification STK (SIM Card Tool Kit)
CN101835142B (en) * 2010-04-23 2014-01-01 中兴通讯股份有限公司 Realizing method and device of user identification STK (SIM Card Tool Kit)
GB2499927A (en) * 2013-05-01 2013-09-04 Samsung Electronics Co Ltd Mobile device with faster reading/start-up from multiple Identity Module slots, Module/Modem association switching and SIM Toolkit command management
GB2499926A (en) * 2013-05-01 2013-09-04 Samsung Electronics Co Ltd Mobile device with faster reading/start-up from multiple Identity Module slots, Module/Modem association switching and SIM Toolkit command management
WO2015007183A1 (en) * 2013-07-18 2015-01-22 Tencent Technology (Shenzhen) Company Limited Methods for adapting a dual-sim terminal, dual-sim terminal, and server
CN107613486A (en) * 2017-07-14 2018-01-19 捷开通讯(深圳)有限公司 STK modules naming method, communication terminal and the device with store function
US11134373B2 (en) 2017-07-14 2021-09-28 Huizhou Tcl Mobile Communication Co., Ltd. Method for naming STK module, communication terminal and device having storage function
CN110035385A (en) * 2019-05-16 2019-07-19 深圳市沃特沃德股份有限公司 SIM card selection method and device, storage medium and computer equipment
CN110035385B (en) * 2019-05-16 2020-12-22 深圳市沃特沃德股份有限公司 SIM card selection method and device, storage medium and computer equipment
CN111010692A (en) * 2019-12-11 2020-04-14 惠州Tcl移动通信有限公司 Method, device, storage medium and terminal for customizing STK (SIM tool kit) identification

Also Published As

Publication number Publication date
CN101287233B (en) 2012-07-04

Similar Documents

Publication Publication Date Title
CN101287233B (en) Method and system for implementing STK application in double-card double-standby terminal
KR101863314B1 (en) Apparatas and method of having a dual sim card in a portable terminal
US8411127B2 (en) Method and apparatus for connecting video call in dual standby mobile communication terminal
CN102883048B (en) In-car Bluetooth communication method and in-car Bluetooth communication device based on Android operating system
US20090029736A1 (en) Mobile terminal and sim indicative information display method thereof
CN105722059B (en) Mobile terminal and communication method of dual-modem system
TWI398179B (en) Method for performing plmn list generation or plmn search on user equipment having two radio frequency transceivers and user equipment
CN102281612A (en) Method and device for realizing automatic dialing by access point
EP2701410B1 (en) Incoming call processing method for dual mode terminal and dual mode terminal thereof
CN103281797A (en) Mobile terminal and method of transmitting business data by same
CN109639829A (en) Communication means, communication unit, service support unit and system based on service
CN102625001A (en) System and method for acquiring weather situation of home location of calling/called party based on cell phone communication
JP4918721B2 (en) Wireless communication system, wireless LAN access point, mobile communication terminal, and program
CN108601018B (en) Processing method for network communication function abnormity, application processor and mobile terminal
US20150056944A1 (en) Method and system for providing emergency number list to user in case of failed registration
CN103796196A (en) Method and device for access point autodial
CN104539799A (en) Communication control method and system based on multiple devices
CN108738054B (en) Processing method for network communication function abnormity, modem, mobile terminal and storage medium
JP2010515386A (en) Calling transfer related methods
JP2005244463A (en) Call connection controller, management server, call connection control system and call connection control method
US20110077012A1 (en) Method and system of power saving and portable device using the same
CN105915836A (en) Video conversation method and device
EP2242244A2 (en) Extended hot desking features for multi-device users
CN110012057B (en) Call connection system and method for dynamically assigning network switch
CN103929836A (en) Tablet personal computer wireless communication method based on Bluetooth protocol

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20120704

Termination date: 20200523

CF01 Termination of patent right due to non-payment of annual fee