Summary of the invention
Embodiments provide a kind of method, device and the terminal that realize STK/UTK business, special SIM/UIM card can not relied on and realize STK/UTK business.
The embodiment of the present invention adopts following technical scheme:
Realize a method for STK/UTK business, comprising:
Obtain the proactive command stream of STK/UTK business;
Described proactive command stream is recorded in file system;
When realizing STK/UTK business, the proactive command stream recorded in described file system being reported STK/UTK module, performing described proactive command stream by described STK/UTK module and realizing corresponding STK/UTK business.
Realize a device for STK/UTK business, comprising:
Acquiring unit, for obtaining the proactive command stream of STK/UTK business;
Record cell, is recorded in file system for the proactive command stream obtained by described acquiring unit;
Reporting unit, for when realizing STK/UTK business, the proactive command stream recorded in described file system being reported STK/UTK module, perform described proactive command stream by described STK/UTK module and realize corresponding STK/UTK business.
And a kind of terminal, comprises STK/UTK module, file system, also comprise STK/UTK administration module and detect user operation module, wherein,
Described STK/UTK administration module, for obtaining the proactive command stream of STK/UTK business, described proactive command stream is recorded in the file system of terminal, and when realizing STK/UTK business, the proactive command stream recorded in described file system is reported described STK/UTK module, performs described proactive command stream by described STK/UTK module and realize corresponding STK/UTK business;
Described detection user operation module, for detecting the operation of user, and the operation of user is corresponding with the proactive command stream of the STK/UTK business recorded in described file system.
As shown from the above technical solution, the embodiment of the present invention is by obtaining the proactive command stream of STK/UTK business in advance, and described proactive command stream is recorded in file system, thus when needs realize STK/UTK business, the proactive command stream recorded in described file system is reported STK/UTK module, described proactive command stream is performed to realize corresponding STK/UTK business by described STK/UTK module, even if therefore user's generic card of using one not support STK/UTK business or without under mode card, can not rely on special SIM/UIM card and realize the interested STK/UTK business of user yet.
Embodiment
Below in conjunction with drawings and Examples, technical scheme of the present invention is clearly and completely described.
See Fig. 1, a kind of method realizing STK/UTK business that the embodiment of the present invention provides, comprising:
S11, obtains the proactive command stream of STK/UTK business.
For obtaining the proactive command stream of STK/UTK business, a kind of mode is, by inserting the SIM/UIM card that is supported STK/UTK business, performing the proactive command of the described STK/UTK business in described SIM/UIM card, obtaining proactive command stream when described proactive command performs.The manner, when STK/UTK function do not supported by this card or do not have the interested STK/UTK business of user on other cards, gets the proactive command stream of STK/UTK business by the STK/UTK function copied on other cards.Certainly, user can also copy certain proactive command of oneself card the inside, makes a shortcut, and need not enter into inside special STK/UTK menu and perform, greatly facilitate user to carry out a certain conventional STK/UTK command operation.
A kind of mode is, copy or the proactive command stream acquisition proactive command stream of STK/UTK business of editor operator by supplier when dispatching from the factory.The manner can customize some characteristic services of each operator quickly, such as some operator wishes to customize UTK/STK application, such supplier, when dispatching from the factory, can copy operator's neocaine or proactive command stream corresponding to editing feature business, realize carrier customization business.
A kind of mode is also had to be, by performing the STK/UTK business proactive command of user oneself editor, obtain proactive command stream when described proactive command performs.Such as user can the proactive command of oneself edicard, such as can edit the proactive command of a frequent note sent or the phone often dialed, be preset in mobile phone file system, during practical operation, as long as perform action-item corresponding to this proactive command can realize a certain distinctive STK/UTK order.
S12, is recorded to described proactive command stream in file system.
S13, when realizing STK/UTK business, reports STK/UTK module by the proactive command stream recorded in described file system, performs described proactive command stream realize corresponding STK/UTK business by described STK/UTK module.
It should be noted that, described STK/UTK module is a kind of user's application module, and the proactive command for specifically performing STK/UTK business realizes corresponding STK/UTK business.
The method realizing STK/UTK business of the embodiment of the present invention, by obtaining the proactive command stream of STK/UTK business in advance, and described proactive command stream is recorded in file system, thus when needs realize STK/UTK business, the proactive command stream recorded in described file system is reported STK/UTK module, described proactive command stream is performed to realize corresponding STK/UTK business by described STK/UTK module, even if therefore user's generic card of using one not support STK/UTK business or without under mode card, can not rely on special SIM/UIM card and realize the interested STK/UTK business of user yet.
Further, when getting multiple proactive command stream of a STK/UTK business, the corresponding relation of the logical relation between the method for the embodiment of the present invention also needs described multiple proactive command stream and the sequence of operation of user interface is recorded in described file system, thus when needs realize this STK/UTK business, the corresponding relation of the sequence of operation of the logical relation between the multiple proactive command streams recorded in file system and user interface is reported STK/UTK module simultaneously, perform described multiple proactive command stream successively by STK/UTK module.
In addition, when needs realize multinomial STK/UTK business, there is a need to corresponding with the menu on user interface or button for the proactive command stream of every the STK/UTK business recorded in described file system.
See Fig. 2, mobile phone terminal realizes STK/UTK business, can comprise the steps:
S21, inserts one and supports the A card of STK/UTK business and start shooting in mobile phone;
S22, the STK/UTK module of mobile phone performs the proactive command of certain STK/UTK business in A card;
S23, the proactive command stream this proactive command performed is recorded in the file system of mobile phone;
S24, inserts one and does not support the B card of this STK/UTK business on A card and start shooting in mobile phone;
S25, user is by the custom menu on mobile phone or button, and the STK/UTK proactive command stream recorded in trigger file system from mobile phone reports the STK/UTK module of mobile phone;
S26, the STK/UTK module of mobile phone performs the STK/UTK business that this proactive command stream realizes A card.
It can thus be appreciated that by the method for the invention described above embodiment, user does not support the card of STK/UTK business, what use a common card or CDMA mobile phone also can realize STK/UTK business without mode card.
See Fig. 3, a kind of device realizing STK/UTK business that the embodiment of the present invention provides, comprising:
Acquiring unit 31, for obtaining the proactive command stream of STK/UTK business;
Record cell 32, is recorded in file system for the proactive command stream obtained by described acquiring unit 31;
Reporting unit 33, for when realizing STK/UTK business, the proactive command stream recorded in described file system being reported STK/UTK module, perform described proactive command stream by described STK/UTK module and realize corresponding STK/UTK business.
Particularly, described acquiring unit 31 comprises at least one subelement following:
First obtains subelement, for the proactive command by performing the described STK/UTK business in the SIM/UIM card supporting STK/UTK business, obtains the proactive command stream of STK/UTK business;
Second obtains subelement, for the proactive command stream by the STK/UTK business of copy or editor operator when dispatching from the factory, obtains the proactive command stream of STK/UTK business;
3rd obtains subelement, for the STK/UTK business proactive command by performing user oneself editor, obtains the proactive command stream of STK/UTK business.
Wherein, when described acquiring unit 31 gets multiple proactive command stream of a STK/UTK business, described record cell 32 is also recorded in described file system for the corresponding relation of the sequence of operation by the logical relation between described multiple proactive command stream and user interface.
Further, the device realizing STK/UTK business of the embodiment of the present invention can also comprise:
Corresponding unit, the proactive command stream for the STK/UTK business will recorded at described record cell 32 is corresponding with the menu on user interface or button.Thus, when needs realize multinomial STK/UTK business, can by described corresponding unit by corresponding with the menu on user interface or button for the proactive command stream of every the STK/UTK business recorded in file system.
The device realizing STK/UTK business of the embodiment of the present invention, the proactive command stream of STK/UTK business is obtained by acquiring unit 31, and by record cell 32, the proactive command stream of acquisition is recorded in file system, thus when needs realize STK/UTK business, STK/UTK module is reported by reporting the proactive command stream recorded in file system described in unit 33, described proactive command stream is performed to realize corresponding STK/UTK business by described STK/UTK module, thus when realizing STK/UTK business, without the need to depending on special SIM/UIM card.
See Fig. 4, a kind of terminal that the embodiment of the present invention provides, comprises STK/UTK module 41, file system 43, also comprises STK/UTK administration module 42 and detects user operation module 40, wherein,
Described STK/UTK administration module 42, for obtaining the proactive command stream of STK/UTK business, described proactive command stream is recorded in described file system 43, and when realizing STK/UTK business, the proactive command stream of record in described file system 43 is reported described STK/UTK module 41, performs described proactive command stream by STK/UTK module 41 and realize corresponding STK/UTK business;
Described detection user operation module 40, for detecting the operation of user, and the operation of user is corresponding with the proactive command stream of the STK/UTK business recorded in described file system 43.
Further, when described STK/UTK administration module 42 gets multiple proactive command stream of a STK/UTK business, the corresponding relation also for the sequence of operation by the logical relation between described multiple proactive command stream and user interface is recorded in described file system.
Wherein, during for obtaining the proactive command stream of STK/UTK business, described STK/UTK administration module 42, maybe can by performing the proactive command of the described STK/UTK business in the SIM/UIM card supporting STK/UTK business, the proactive command stream of acquisition STK/UTK business; Maybe can be copied when dispatching from the factory by supplier or the proactive command stream of STK/UTK business of editor operator obtains proactive command stream; Maybe by performing the STK/UTK business proactive command of user oneself editor, proactive command stream when described proactive command performs can be obtained.
For mobile phone terminal, when obtaining the proactive command stream of STK/UTK business, can by the shortcut at the associative operation interface of the STK/UTK business of mobile phone or menu, whether indicating user starts to copy the STK/UTK proactive command that next will perform.Say by arranging one " beginning " button with " end " in STK/UTK service menu.Press " beginning " key, then the STK/UTK proactive command that the STK/UTK module that STK/UTK administration module starts to copy mobile phone will perform thereafter, press " end " key, then STK/UTK administration module is saved in the proactive command stream that will copy in the file system of mobile phone.
Particularly, when user inserts the SIM/UIM card (this card is labeled as A card) that is supported STK/UTK business on mobile phone, and instruction will copy the STK/UTK proactive command that will perform thereafter on the associative operation interface of the STK/UTK business of mobile phone, now A card reports proactive command to mobile phone side, the STK/UTK module 41 of mobile phone is resolved and is performed the proactive command that A card reports, and copy instruction according to user, proactive command stream when transmission proactive command performs is to the STK/UTK administration module 42 of mobile phone, then by STK/UTK administration module 42, described proactive command stream is saved in the file system 43 of mobile phone, record the command stream of the relevant proactive command of A card.
Next time, user inserted an other SIM/UIM card (this card is labeled as B card) on mobile phone, and B card is not supported STK/UTK function or do not had the interested STK/UTK business of user on A card.For realizing STK/UTK business relevant on A card, user is on the associative operation interface of STK/UTK business, the operation of user is detected by detecting user operation module 42, and the operation of user is corresponding with the proactive command stream of the STK/UTK business recorded in described file system, thus the STK/UTK proactive command stream of record in mobile phone file system 43 is reported the STK/UTK module 41 on mobile phone by triggering STK/UTK administration module 42, performs described proactive command stream thus realize STK/UTK business relevant on A card by described STK/UTK module 41.
It can thus be appreciated that, terminal gets the proactive command stream of STK/UTK business by STK/UTK administration module 42, and proactive command stream is recorded in the file system 43 of terminal, when needs realize STK/UTK business, the operation of user is detected by detecting user operation module 40, and the operation of user is corresponding with the proactive command stream of the STK/UTK business recorded in described file system 43, thus the proactive command stream of record in described file system 43 is reported the STK/UTK module 41 of terminal by this STK/UTK administration module 42 by terminal again, perform described proactive command stream by described STK/UTK module 41 and realize corresponding STK/UTK business, and finally do not rely on special SIM/UIM card and realize concrete STK/UTK business.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; change can be expected easily or replace, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of claim.