Summary of the invention
The method and the device thereof of function such as two SIM/UIM cards switching when the purpose of this invention is to provide a kind of STK/UTK of employing and realizing cell phone standby, mobile phone STK function is applied on two SIM/UIM cards, by using the program of STK/UTK technology and MCU microprocessor, realize the IC communication of STK/UTK agreement and two SIM/UIM cards, two SIM/UIM cards switch the defective that needs machine open/closes and do not have man-machine interface before having overcome, thus function such as the manual switching of two SIM/UIM cards and automatic switchover when realizing cell phone standby.
Realize that method of the present invention comprises application STK function, select, realize the IC communication of STK/UTK agreement and two SIM/UIM cards, wherein by the menu of man-machine interface
A. manual switching
Enter the STK/UTK function menu with mobile phone shortcut or menu;
The request of two SIM/UIM card response mobile phones shows the STK/UTK main menu on mobile phone;
Rolling STK/UTK main menu, selection is specifically applied to the menu of manual switching;
Do you judge in the microprocessor at the MCU that connects two SIM/UIM cards whether selected card the same with the card of current use?
As, return function menu;
As different, mobile phone is by two SIM/UIM cards of STK/UTK notice of settlement, and the MCU that connects two SIM/UIM cards sticks into row to two SIM/UIM and selects;
The MCU recording-related information that connects two SIM/UIM cards;
Mobile phone upgrades the SIM/UIM card information automatically and lands network again, or restarts mobile phone and upgrade SIM/UIM information and land network again to reach;
Mobile phone normally uses another card.
B. automatically switch
Enter the STK/UTK function menu with mobile phone shortcut or menu;
Select automatic switching function;
Set switching time;
The benchmark of switching time is determined by MCU that connects two SIM/UIM cards or extraction cell phone clock;
Mobile phone has been set automatic switching function and automatic switchover time by the MCU that the STK/UTK notice of settlement connects two SIM/UIM cards;
Set information is kept at EEROM or external storage SIM/UIM card in the MCU;
The automatic switchover time of setting one arrives, and the MCU that connects two SIM/UIM cards is by STK/UTK notice of settlement mobile phone;
Mobile phone upgrades the SIM/UIM card information automatically and lands network again, or restarts mobile phone and upgrade SIM/UIM information and land network again to reach; The MCU that connects two SIM/UIM cards simultaneously carries out switch card, and set information is kept at EEROM or external storage SIM/UIM card in the MCU;
Two SIM/UIM cards automatically switch to set and finish, and wait card to be changed;
Arrive the automatic switchover time, the MCU that connects two SIM/UIM cards automaticallyes switch;
Switching is finished, and mobile phone normally uses another card;
Wherein, setting can realize by cell phone keyboard switching time.
C. show two SIM/UIM cards setting number informations
Mobile phone power-on reads the EEROM of the MCU that connects two SIM/UIM cards or the default number information of external storage SIM/UIM card by the STK/UTK agreement, and is showing in the STK/UTK menu or on the mobile phone;
By the mobile phone shortcut or turn over menu and enter the STK/UTK function menu;
Select editor SIM1/UIM1 or SIM2/UIM2 number and press acknowledgement key;
Mobile phone connects amended number information notice by the STK/UTK agreement MCU of two SIM/UIM cards;
MCU number modification information storage that receives of two SIM/UIM cards of connection is to EEROM or external storage SIM/UIM card and inform that this message pick-up of mobile phone finishes;
Mobile phone restarts just to be got back in the STK/UTK menu or the new digit behind the demonstration editor in the main menu of mobile telephone.
D. show two SIM/UIM cards of mobile phone temperature information
Enter STK/UTK function main menu with mobile phone shortcut or menu;
The request of two SIM/UIM card response mobile phones shows the STK/UTK main menu on mobile phone;
Rolling STK/UTK main menu is selected the temperature display menu;
Mobile phone provides the information of temperature demonstration by the MCU of two SIM/UIM cards of STK/UTK agreement request connection;
The MCU of two SIM/UIM cards of connection responds and by the temperature sensor sampling signal of telecommunication, it is tabled look-up be converted to temperature information again;
The MCU that connects two SIM/UIM cards is converted to temperature information the information that can show and submits to mobile phone by the STK/UTK agreement;
Mobile phone shows temperature in the temperature display menu after receiving this display message.
E. the transfer of setting and show Calls and two SIM/UIM cards are simultaneously online
Enter STK/UTK function main menu with mobile phone shortcut or menu;
The request of two SIM/UIM card response mobile phones shows the STK/UTK main menu on mobile phone;
Rolling STK/UTK main menu, the selective call jump menu;
If set calling transfer originally, then mobile phone by the STK/UTK agreement in the MCU that connects two SIM/UIM cards EEROM or external storage SIM/UIM card in extract number information, and in menu, show;
If do not set calling transfer, then can confirm then by the number of cell phone keyboard input transfer;
Automatically be written into the SIM1/UIM1 of original setting or the number information of SIM2/UIM2, promptly the SIMI/UIM1 number is transferred to SIM2/UIM2 automatically, or the SIM2/UIM2 number is transferred to SIM1/UIM1 automatically;
The server of operator submitted to the number information that will shift by the network of itself by mobile phone;
After mobile phone is submitted the server success to,, the number information that shift is stored in EEROM or the external storage SIM/UIM card of the MCU that connects two SIM/UIM cards by STK/UTK agreement and two SIM/UIM cartoon news;
The calling transfer of two SIM/UIM cards is provided with success, and has realized that two SIM/UIM cards are simultaneously online.
The agreement that said method supports the SIM card of STK to follow is: GSM11.11; GSM11.14; GSM03.08.
The technical scheme that realizes device of the present invention is: this device comprises mobile phone, two SIM/UIM card decks, MCU microprocessor or external storages (the SIM/UIM card can be made external storage), its major technique be SIM1/UIM1 in described two SIM/UIM cards and SIM2/UIM2 pin VCC power supply, GND ground connection, RST resets and pin VCC power supply, GND ground connection, the RESET of handset port card ME are reset to shared; The pin CLK clock of the pin CLK clock of SIM1UIM1 and SIM2/UIM2 and handset port card ME is shared; The pin I/O of the pin I/O of SIM1/UIM1 and SIM2/UIM2 and handset port card ME is shared.
This technical scheme also comprises: the connected mode between above-mentioned MCU microprocessor, two SIM/UIM cards, the handset port card ME is: MCU pin 1 meets the pin GND of ME, SIM1, SIM2 respectively; MCU pin 2 meets the pin VCC of ME, SIM1, SIM2 respectively; MCU pin 3 meets the pin RESET of ME, SIM1, SIM2 respectively; MCU pin 5 meets SIM2 pin I/O; MCU pin 6 meets ME pin I/O; MCU pin 7 meets the pin CLK of ME, SIM1, SIM2 respectively; MCU pin 8 meets SIM1 pin I/O.
Wherein, described pin CLK and pin I/O can only select two SIM/UIM cards with a common pin; The agreement that described hardware time order connects and the opering characteristic of electric apparatus is followed is ISO7816.
The connected mode that two SIM/UIM cards of the present invention adopt has 3 kinds:
1. adopt flexible circuit board (FPC) by the come out mode of two normal size SIM/UIM decks of the former SIM/UIM card connection of mobile phone.
2. adopt flexible circuit board (FPC) according to the former SIM/UIM deck of mobile phone size, cutting little mode by the processing of SIM/UIM card becomes a standard SIM/UIM card size to two SIM/UIM engagings.
3. in mobile phones design, on the main PCB plate, two standard SIMs/UIM card is directly distributed (design) on mobile phone on the hardware, switch and other function by two SIM/UIM cards of STK/UTK menu control.
The deck that the SIM/UIM card is installed is an elasticity steel thin slice, form draw-in groove by the back-shaped limit of its side setting and the flanging of bottom surface setting, insert two SIM/UIM card wiring boards in this draw-in groove, wherein back-shaped limit is provided with salient point, and this salient point correspondence is pressed in (this card is applicable to the 2nd kind of connected mode) on two contacts on the SIM/UIM card wiring board.
The beneficial effect that the present invention had: 1, the number of changing is selected by mobile phone menu, need not to shut down and start shooting, and is easy to operate; 2, the call-information record of the interior original storage of SIM/UIM card can not lost after the number of changing; 3, select to make two SIM/UIM card numbers standby simultaneously (implementation method takes turns to operate with certain time that replaces for make two SIM/UIM cards by software control) behind the even numbers idle function; 4, can show that two SIM/UIM cards set number informations and show mobile phone two SIM/UIM cards temperature information and setting and function such as show Calls shifts and two SIM/UIM cards are simultaneously online.
Key of the present invention is mobile phone STK function is applied on two SIM/UIM cards.
Embodiment
The present invention will be further described below in conjunction with accompanying drawing:
As shown in the figure, key of the present invention is mobile phone STK technology is applied on two SIM/UIM cards, is to carry out two standbies between the card by the STK/UTK menu on the mobile phone to switch.And the STK/UTK menu on the application mobile phone increases at the more useful auxiliary function of the switching of two SIM/UIM cards.As: set between two SIM/UIM card artificial selection conversions or automatic two SIM/UIM cards and change; Specify the card number function of two cards of editor; Specify function cycle time of automatic two SIM/UIM cards conversion; Set two SIM/UIM and be stuck in line or call forwarding function; Temperature display function; And all are based on other application function that develops at STK/UTK etc.More traditional machine open/close changing method more has hommization, and is convenient, and the close friend understands.
1. two SIM/UIM cards are manually changed
At first, enter the STK/UTK function menu by the shortcut on the mobile phone or by stirring menu, at this moment the request of two SIM/UIM card response mobile phones also shows the STK/UTK main menu on mobile phone, the STK/UTK main menu that rolls then, and selection is specifically applied to the menu of manual switching; After choosing card, judge with the MCU that connects two SIM/UIM cards whether selected card is the same with the card of current use, if the same (Y), then the explanation choosing is wrong, at this moment just turns back to the STK/UTK function menu, again the choosing card; If different (N) then carries out next step.Next step is that mobile phone passes through STK/UTK agreement (hardware connect be ISO7816) and notifies two SIM/UIM cards, and the MCU that connects two SIM/UIM cards sticks into row selection physically to two SIM/UIM.And the MCU recording-related information that connects two SIM/UIM cards; At this moment mobile phone upgrades the SIM/UIM card information automatically and lays equal stress on and newly land network or restart mobile phone to reach the purpose of upgrading the SIM/UIM card information and landing network again.After said procedure is finished, can use an other SIM card.
2. two SIM/UIM cards are changed automatically
At first, enter the STK/UTK function menu by the shortcut on the mobile phone or by stirring menu, select automatic switching function then, and set switching time (also can be the self-defined time) by cell phone keyboard (function key or numerical key), be stand-by time this switching time, select to finish by acknowledgement key; The benchmark of time is to be realized by the MCU that connects two SIM/UIM cards or the clock of mobile phone itself.After determining switching time, mobile phone is notified two SIM/UIM cards by STK/UTK agreement (it is ISO7816 that hardware connects), the MCU that connects two SIM/UIM cards is apprised of the time of having set automatic switching function and automatic switchover, and set information is kept at EEROM or external memory storage (the SIM/UIM card can be made external memory storage) lining among the MCU of mobile phone.Arrive when the automatic switchover time of setting one, the MCU that connects two SIM/UIM cards is just by STK/UTK notice of settlement mobile phone, at this moment mobile phone upgrades the SIM/UIM card information automatically and lays equal stress on and newly land network, or restarts mobile phone and upgrade SIM/UIM information and land network again to reach; The MCU that connects two SIM/UIM cards simultaneously carries out switch card physically, and set information is kept at EEROM or external memory storage (the SIM/UIM card can the be made external memory storage) lining of MCU on the mobile phone.After above-mentioned automatic switchover setting was finished, the MCU that connects two SIM/UIM cards just was in the automatic switchover state that waits, and arrive switching time one, and the MCU that connects two SIM/UIM cards automaticallyes switch, and mobile phone is brought into use another card.
3. the number of display setting
Mobile phone power-on reads the EEROM among the MCU that connects two SIM/UIIM cards or the default number information of external memory storage (the SIM/UIM card can be made external memory storage) lining by the STK/UTK agreement, and be kept at this information in the STK/UTK menu or be presented on the mobile phone screen, as blocked one: 11111111111 or blocked two: 22222222222; Press the mobile phone shortcut again or turn over menu and enter the STK/UTK function menu, select editor SIM1/UIM1 or SIM2/UIM2 number and press acknowledgement key; This moment, mobile phone connected amended number information notice by the STK/UTK agreement MCU of two SIM/UIM cards, the MCU that connects two SIM/UIM writes corresponding EEROM or external memory storage (the SIM/UIM card can be made external memory storage) lining to the number modification information that receives, store, and inform that cellphone information receives.Mobile phone restart just get back in the STK/UTK menu or show editor in the main menu of mobile telephone after new digit, as blocked one: 11111111111 or blocked two: 22222222222.
4. show two SIM/UIM cards of mobile phone temperature information
At first, enter the STK/UTK function menu by the shortcut on the mobile phone or by stirring menu, the request of the mobile phones of two SIM/UIM cards response at this moment also shows the STK/UTK main menu on mobile phone, and STK/UTK main menu and select the temperature display menu then rolls; This moment, mobile phone provided the information of temperature demonstration by the MCU of two SIM/UIM cards of STK/UTK agreement request connection, at this moment the MCU that connects two SIM/UIM cards responds and gets by temperature sensor the temperature signal of two SIM/UIM cards of mobile phone, and then the signal of telecommunication is converted to temperature information through check table, the MCU that then connects two SIM/UIM cards is converted to this temperature information the information that can show and submits to mobile phone by the STK/UTK agreement; Mobile phone shows temperature in the temperature display menu after receiving this display message.
5. the transfer of setting and show Calls and two SIM/UIM cards are simultaneously online
At first, enter the STK/UTK function menu by the shortcut on the mobile phone or by stirring menu, the request of the mobile phones of two SIM/UIM cards response at this moment also shows the STK/UTK main menu on mobile phone, and STK/UTK main menu and select the temperature display menu then rolls; At this moment watch and whether be provided with calling transfer, if be provided with calling transfer, then mobile phone by the STK/UTK agreement from the MCU that connects two SIM/UIM cards EEROM or external storage SIM/UIM card in (in the network) extract number information, and in menu, show; If calling transfer is not set, then number information is proposed in the number information from being provided with, as SIM1/UIM1:11111111111, SIM2/UIM2:22222222222 is written into automatically in the object that will shift mutually and shows, be that the SIM1/UIM1 number is transferred to SIM2/UIM2 automatically, or the SIM2/UIM2 number is transferred to SIM1/UIM1 automatically, saves input; In addition, the number that mobile phone also can shift by cell phone keyboard input is confirmed then, or is revised number for call forwarding by cell phone keyboard, or directly selects the number that is written into automatically for use and by acknowledgement key; Show then whether mobile phone submission server is successful, if it is unsuccessful, then mobile phone shows old number (calling transfer is provided with unsuccessful) in the calling transfer menu, if success, then mobile phone is by STK/UTK agreement and two SIM/UIM cartoon news, the number information that will shift is stored in EEROM or the external storage (the SIM/UIM card can be made external storage) of the MCU that connects two SIM/UIM cards, the server of operator submitted to the number information that will shift by the network of itself by mobile phone then, after mobile phone is submitted the server success to, calling transfer by two SIM/UIM cards is provided with success, thereby has realized two SIM/UIM cards online function simultaneously.
6. circuit part operation principle explanation
It is IC (MCU or logic IC) that two SIM/UIM cards of indication of the present invention are divided from circuit theory, and SIM1/UIM1, SIM2/UIM2, the connector of ME.
Its operation principle physically is as follows: two SIM/UIM cards are given tacit consent to PIN (pin) VCC that is chosen as SIM1/UIM1 and SIM2/UIM2 when two SIM/UIM cards power on, GND, RST is shared (promptly directly connecting), SIM1/UIM1, SIM2/UIM2 and pin CLK also are shared, SIM1/UIM, SIM2/UIM2 and pin I/O are shared also to be same principle.But pin CLK, I/O can only be shared to reach the purpose of selecting two SIM/UIM cards by one.With reference to Fig. 4, when two SIM/UIM cards are chosen as SIM1/UIM1, since SIM1/UIM1 pin VCC, GND, RST, CLK and mobile phone ME are shared, as long as select one of them pin just to reach the effect of switch card by IC as switch.Manual or the automatic selection card of menu that maximum characteristics of the present invention are exactly mobile phone by man-machine interface again by the STK/UTK agreement with the IC that is connected two SIM/UIM cards (MCU) communication.Two SIM/UIM cards reach the purpose of selection card and card switching again by above-mentioned principle.
The connected mode of mentioning in this article involved in the present invention (comprising other connected mode); and adopt the STK/UTK technology to realize that two SIM/UIM cards of mobile phone switch and the method for other function all belongs to protection range of the present invention; in addition; promptly when design, directly directly be distributed on the mobile phone two SIM/UIM cards; adopting two SIM/UIM cards of STK/UTK menu control to switch and other function again, also all is protection scope of the present invention.
Involved in the present invention to and the technology of not doing explanation is known technology.