Background technology
At present; Because the user identification application development instrument (SIM Tool Kit, hereinafter to be referred as: STK) technology is mainly used in fields such as Mobile banking, stock exchange, foreign exchange trading, financing secretary, and this business model just is being tending towards ripe at present simultaneously; Therefore; Each company all user identification module (Subscriber Identity Module, hereinafter to be referred as: SIM) place the STK application program in the card, to make things convenient for cellphone subscriber's use.The STK application program comprise one group of special Application Protocol Data Unit (Application Protocol Data Unit, hereinafter to be referred as APDU) instruction, be used for mobile phone and SIM alternately; Can make built-in STK application program in the SIM operation SIM like this, realize the purpose of value-added service, concrete; Through software activation; On mobile phone, offer text menu interface of user, the user can click menu wherein, realizes special application.More concrete, the authentication communication session between mobile phone and the SIM is that (Global System for Mobile Communications instructs hereinafter to be referred as: the APDU of related protocol prescribed form GSM) and to realize through global system for mobile communications.
In realizing process of the present invention, the inventor finds to exist at least in the prior art following problem:
(1), for different companies, the built-in STK function of the SIM of different batches production has nothing in common with each other, and for early stage SIM even there is not built-in STK application program;
(2), because useful life of SIM is very long, and big multi-user is also using the early stage SIM of producing, but the early stage SIM of producing does not have up-to-date STK application program or can only not be provided with a small amount of early stage STK application program.
Therefore,, just need the user to change SIM again, thereby brought inconvenience for user's use, also increased the Financial cost that the user changes SIM simultaneously because the problem that above-mentioned SIM exists makes the user when wanting to use certain STK professional.
Summary of the invention
The present invention provides a kind of method and portable terminal of STK Business Processing, in order to solving user in the prior art needs to change SIM for required STK is professional defective, thus convenient for users to use, also reduced the Financial cost that the user changes SIM.
The present invention provides a kind of method of STK Business Processing, comprising:
Information to portable terminal sends to subscriber identification module is discerned; Be the order of STK service request if identify said information; Then when the corresponding STK business of said STK service request order is professional in the mobile terminal service transaction card, according to the STK application program in the said mobile terminal service transaction card said STK service request order is responded and to obtain replying message;
Said answer message is sent to said portable terminal;
Wherein, comprise the sign that STK is professional in the said STK service request order; Store sign professional in sign professional in the said subscriber identification module and the mobile terminal service transaction card in the mobile terminal service transaction card;
When the corresponding STK business of said STK service request order is professional in the mobile terminal service transaction card; Order responds and obtains replying message and comprise to said STK service request according to the STK application program in the said mobile terminal service transaction card: when sign professional in the professional sign of said STK and the said mobile terminal service transaction card is consistent, according to the STK application program in the said mobile terminal service transaction card order of said STK service request is responded and to obtain replying message;
When the corresponding STK business of said STK service request order is professional in the subscriber identification module, said subscriber identification module is issued in said STK service request order; And order responds and the answer message of sending to said STK service request to receive said subscriber identification module.
The present invention also provides a kind of portable terminal, comprises mobile terminal main body and subscriber identification module, wherein, between said mobile terminal main body and subscriber identification module, is provided with the mobile terminal service transaction card, and said mobile terminal service transaction card comprises:
Identification module is used for the information that portable terminal sends to subscriber identification module is discerned;
Respond module; Be used for being the order of STK service request if identify said information; Then when the corresponding STK business of said STK service request order is professional in the mobile terminal service transaction card, according to the STK application program in the said mobile terminal service transaction card said STK service request order is responded and to obtain replying message;
Sending module is used for said answer message is sent to said portable terminal;
Wherein, comprise the sign that STK is professional in the said STK service request order; Store sign professional in sign professional in the said subscriber identification module and the mobile terminal service transaction card in the mobile terminal service transaction card;
Said respond module specifically is used for when the professional sign of professional sign of said STK and said mobile terminal service transaction card is consistent, according to the STK application program in the said mobile terminal service transaction card order of said STK service request is responded and obtains replying message;
First forwarding module when the corresponding STK business of said STK service request order is professional in the subscriber identification module, is issued said subscriber identification module with said STK service request order; And order responds and the answer message of sending to said STK service request to receive said subscriber identification module.
The present invention is through being provided with the professional mobile terminal service transaction card of treatment S TK; Can respond the order of the STK service request in the information of portable terminal transmission; Avoided the user in order to use certain STK business the frequent change SIM; Thereby convenient for users to use, also reduced the Financial cost that the user changes SIM.
Embodiment
For the purpose, technical scheme and the advantage that make the embodiment of the invention clearer; To combine the accompanying drawing in the embodiment of the invention below; Technical scheme in the embodiment of the invention is carried out clear, intactly description; Obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills are not making the every other embodiment that is obtained under the creative work prerequisite, all belong to the scope of the present invention's protection.
Fig. 1 is embodiment one flow chart of the method for STK Business Processing of the present invention, and as shown in Figure 1, the method for this STK Business Processing comprises:
Step 101, portable terminal is discerned to the information that SIM sends; Be the order of STK service request if identify said information; Then when the corresponding STK business of STK service request order is professional in the mobile terminal service transaction card, order responds and obtains replying message to the STK service request according to the STK application program in the mobile terminal service transaction card;
Among the embodiment provided by the invention; The shape of mobile terminal service transaction card is identical with common SIM, also can be inequality, and the coupling part that only needs to guarantee the mobile terminal service transaction card can correctly be connected with sim card slot; For example; The shape of mobile terminal service transaction card can for external non-contact radio-frequency identification (Radio Frequency Identification, hereinafter to be referred as RFID) antenna, during use and SIM (this SIM is common SIM; Or be built-in with the SIM of STK application program) stick together closely, and be inserted into jointly in the sim card slot of mobile phone.Particularly; The mobile terminal service transaction card is discerned information mutual between mobile phone and the SIM; If identifying information, the mobile terminal service transaction card is the order of STK service request; Simultaneously, when the corresponding STK business of STK service request order was professional in the mobile terminal service transaction card, then order responded and obtains replying message to the STK service request according to the STK application program in the mobile terminal service transaction card.
Step 102, will reply message and send to portable terminal.
Method provided by the invention; Be built-in with the mobile terminal service transaction card of STK application program through setting; Can respond the order of the STK service request in the information of portable terminal transmission; Avoided the user in order to use certain STK business the frequent change SIM, thereby convenient for users to use, also reduced the Financial cost that the user changes SIM.
On the basis of the foregoing description, Fig. 2 is another flow chart of the embodiment one of the method for STK Business Processing of the present invention, and as shown in Figure 2, the STK method for processing business also comprises:
Step 103, when the corresponding STK business of STK service request order is professional in the SIM, this STK service request order is sent to this SIM;
Step 104, receive that SIM responds to this STK service request order and the answer message of sending.
On the basis of the foregoing description, comprise the sign that STK is professional in this STK service request order, store sign professional in sign professional in the SIM and the mobile terminal service transaction card in the mobile terminal service transaction card, so step 101 can be specially:
When service identification is consistent in the professional sign of STK and the mobile terminal service transaction card, according to the STK application program in the mobile terminal service transaction card order of STK service request is responded and to obtain replying message.
Step 103 can be specially:
When the professional sign of STK is consistent with the sign of business in the SIM, the order of STK service request is sent to SIM.
In embodiments of the present invention, Fig. 3 is the another flow chart of the embodiment one of the method for STK Business Processing of the present invention, and as shown in Figure 3, the STK method for processing business also comprises:
Step 105, if the information that identifies is not STK service request order, pass through SIM;
Step 106 also receives the return information that this SIM sends this information response.
Concrete; The mobile terminal service transaction card can play the function of information terminal between mobile phone and SIM; Promptly this mobile terminal service transaction card will receive mobile phone and send to the information of SIM and be transmitted to SIM; Can receive SIM simultaneously and send to the information of mobile phone and be transmitted to mobile phone, can not influence the for example professional normal use such as voice communication of other functions of mobile phone.More particularly, the mobile terminal service transaction card is discerned information mutual between mobile phone and the SIM, is not the order of STK service request if identify this information; The information that this information possibly belong to mobile phone when carrying out the proper communication function; Then only transmit, information is not carried out any modification, realize the function of similar transparent transmission; Receive simultaneously that SIM responds to this information and the return information that sends is sending to mobile phone with this return information.
On the basis of the foregoing description, this STK method for processing business also comprises: the update command that mobile terminal receive sends, according to this update command, the STK application program in the mobile service transaction card is carried out update processing.Concrete, gateway server can also send update command to portable terminal, in order to upgrade the built-in STK application program of mobile terminal service transaction card.In embodiments of the present invention; Portable terminal can be through air download technology (Over-the-Air Technology; Hereinafter to be referred as: OTA); Realization is upgraded the built-in STK application program of mobile terminal service transaction card, and the OTA technology not only can provide the voice-and-data service through mobile communication, and new STK service downloading can also be provided.Concrete; Through using OTA air download technology; As long as the cellphone subscriber carries out simple operations; Just can utilize the various STK business that network provided OTA air download technology to download in the mobile phone according to the personal like, more concrete, the OTA note of arranging form is sent to the mobile terminal service transaction card; The mobile terminal service transaction card is handled according to the OTA handling procedure that is arranged in this mobile terminal service transaction card, thereby realizes the renewal of STK application program in the mobile terminal service transaction card.The mobile terminal service transaction card can be instant the STK application program to built-in upgrade.
Fig. 4 is the structural representation of portable terminal embodiment two of the present invention.As shown in Figure 4; Present embodiment specifically comprises mobile terminal main body 41, SIM 42 and mobile terminal service transaction card 43, and wherein mobile terminal main body 41 can be mobile phone, also can and have software to show any equipment of STK menu for embedded SIM; In the present embodiment; With mobile terminal main body 41 is that mobile phone is an example, and technical scheme of the present invention is described in detail, and mobile terminal main body 41 comprises the repertoire module of installing the mobile phone that can normally use behind the SIM 42; For example processor, antenna, display screen and battery or the like also possess the draw-in groove that is used to insert SIM 42 on the mobile terminal main body 41 certainly.SIM 42 can be common SIM, also can be for being built-in with the SIM of STK application program.Mobile terminal service transaction card 43 is arranged between mobile terminal main body 41 and the SIM 42; It is designed to frivolous paster; Part card during use that mobile terminal service transaction card 43 upper contacts are outer is attached on the SIM 42; And insert simultaneously in the draw-in groove on the mobile terminal main body 41 with SIM 42, the another side groove of mobile terminal service transaction card 43 contacts with the contact of draw-in groove.The tow sides of mobile terminal service transaction card 43 are respectively arranged with and are used for the contact area that carries out data communication with mobile terminal main body 41 and SIM 42; The interior connecting terminal of draw-in groove that is specially mobile phone is electrically connected with mobile terminal service transaction card 43, and mobile terminal service transaction card 43 is electrically connected with SIM 42 again.Mobile terminal service transaction card 43 can specifically comprise: identification module 431, respond module 432 and sending module 433, and wherein, identification module 431 is used for mobile terminal main body 41 is discerned to the information that SIM 42 sends; Respond module 432 is used for being the order of STK service request if identification module 431 identifies this information; Be the business in the mobile terminal service transaction card 43 then, according to the STK application program in the mobile terminal service transaction card 43 this STK service request order responded and obtain replying message according to the corresponding STK business of this STK service request order; Sending module 433 is used for answer message is sent to said mobile terminal main body 41.
Further; If when being built-in with the STK application program in the SIM 42; Mobile terminal service transaction card 43 can also comprise: first forwarding module 434; Be used for when the corresponding STK business of STK service request order is SIM 42 professional, the order of STK service request is issued SIM 42 and received that 42 pairs of STK service request orders of SIM respond and the answer message of sending.This answer message can send to mobile terminal main body 41 by sending module 433.
Further; When not being the order of STK service request as if the information that identifies mobile terminal main body 41 transmissions; Mobile terminal service transaction card 43 can also comprise: second forwarding module 435 is used for if the information that identifies is not the order of STK service request; Pass through said SIM 42, and receive that 42 pairs of information of SIM respond and the return information that sends.This answer message can send to mobile terminal main body 41 by sending module 433.
It should be noted that in this STK service request order and comprise the sign that STK is professional; Professional sign in the sign of business and the mobile terminal service transaction card 43 in the mobile terminal service transaction card 43 storage SIMs 42; When respond module 432 specifically is used for preserving when professional sign of STK and said mobile terminal service transaction card 43 the service identification of self is consistent, according to the STK application program in the mobile terminal service transaction card 43 order of STK service request is responded and to obtain replying message.
Particularly; Mobile terminal main body 41 is mobile phone; 431 pairs of mobile phones of identification module in the mobile terminal service transaction card 43 are discerned to the information that SIM 42 sends, and are not the orders of STK service request if identify this information, the information when promptly belonging to mobile phone and carrying out the proper communication function; Then only transmit, information is not carried out any modification; Be the order of STK service request if identify this information; Then when the corresponding STK business of STK service request order is professional in the mobile terminal service transaction card 43; Respond module 432 responds the order of STK service request according to the STK application program in the mobile terminal service transaction card 43 and obtains replying message, and through sending module 433 this return information is sent to mobile phone; When the corresponding STK business of STK service request order is professional in the SIM 42; Then the order of STK service request is sent to SIM 42 through first forwarding module 434; By the STK application program in the SIM 42 STK service request order is responded and to obtain replying message; And send to mobile terminal service transaction card 43, promptly receive this return information, and this return information is sent to mobile phone through sending module 433 by this first forwarding module 434.
The mobile terminal service transaction card 43 of present embodiment can also comprise: update module 436, the update command that mobile terminal receive sends according to this update command, is carried out update processing to the STK application program in the mobile service transaction card 43.
In the present embodiment, the quantity of the pin of the IC chip on the mobile terminal service transaction card is at least 6 pins, and is concrete, and the quantity of the pin of the IC chip on the mobile terminal service transaction card can be 8 pins, 10 pins and 24 pins etc.
Concrete, the mobile terminal service transaction card that is provided with in the portable terminal that present embodiment provides is made patch form and is attached on the SIM, and together is inserted in the SIM slot of mobile phone with SIM.Fig. 5 is connected sketch map for mobile terminal service transaction card among the present invention with circuit between the portable terminal; Fig. 6 is connected sketch map for mobile terminal service transaction card among the present invention with circuit between the SIM; Like Fig. 5 and shown in Figure 6; C1, C2, C3, C5, C6 and C7 pin are standard definition on mobile phone and the SIM; Be expressed as " directly or indirectly contacting power Vcc ", " replacement RESET ", " CLK ", " ground connection GND ", " programmable voltage Vpp " and " I/O I/O " respectively; Be connected in series the mobile terminal service transaction card before SIM and the handset switch information, 10 pin IC built-in chip types of the standard on the mobile terminal service transaction card boot, circuit is except control that the I/O data wire communication between SIM and the mobile phone is connected; Other pins all are to outreach parallelly connected power supply and the clock synchronization of having obtained of pin with SIM and mobile phone, and I/O is connected in series when controlling and can transmits data based on " 7816 agreement ".
Portable terminal provided by the invention; Be built-in with the mobile terminal service transaction card of STK application program through setting; Can respond the order of the STK service request in the information of portable terminal transmission; Avoided the user in order to use certain STK business the frequent change SIM, thereby convenient for users to use, also reduced the Financial cost that the user changes SIM.Owing to used the mobile terminal service transaction card, when providing new STK professional, the user need not change SIM, just can use the business of renewal, has improved user's Experience Degree.
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment can be accomplished through the relevant hardware of program command; Aforesaid program can be stored in the computer read/write memory medium; This program the step that comprises said method embodiment when carrying out; And aforesaid storage medium comprises: various media that can be program code stored such as ROM, RAM, magnetic disc or CD.
What should explain at last is: above embodiment is only in order to explaining technical scheme of the present invention, but not to its restriction; Although with reference to previous embodiment the present invention has been carried out detailed explanation, those of ordinary skill in the art is to be understood that: it still can be made amendment to the technical scheme that aforementioned each embodiment put down in writing, and perhaps part technical characterictic wherein is equal to replacement; And these are revised or replacement, do not make the spirit and the scope of the essence disengaging various embodiments of the present invention technical scheme of relevant art scheme.