Background technology
In order to make SIM (Subscriber Identity Module; Client identification module) integrated multiple special service on the card; Like weather forecast, stock exchange etc.; (Service Provider, service provider adopt STK (Sim application Toolkit, STK) on SIM, to develop to SP.Because the display screen indication range of portable terminal is limited, the menu option of multilayer supplies the user to select service wherein in numerous special services.
For example, the one Chinese patent application publication number is the management method that CN101778157A discloses a kind of SP menus of mobile phones, and the process of its realization is may further comprise the steps, and S1, user select to get into the SP menu; S2, establishment menu window and menu control; The second-level menu of S3, initialization SP menu is searched all second-level menus in the menu information administration queue, be loaded into menu control and be shown to the user; S4, user operation, if select of second-level menu, execution in step S5 then; If select to return Previous Menu, then execution in step S7; S5, select in the second-level menu; The second-level menu item that S6, judges are selected is father's menu or function menu; If father's menu; Then get into its submenu, and father's menu of in the menu information administration queue, searching all menus is designated menu sign that the active user selects all, is re-loaded to menu control; If the second-level menu item that the user selects is a function menu, then gets into function window and handle; S7, user select to turn back to Previous Menu; S8, in the menu information administration queue, search the father's menu sign menu item of the current set of menu item; After finding father's menu sign menu item; Search in the menu formation all menu items identical and be re-loaded in the menu control, be Previous Menu with father's menu sign menu item; Whether S9, arbitration functions menu are operated is accomplished or turns back to Previous Menu, if, then finish, if not, then turn back to step S4.
In the STK menu that adopts the multi-menu option, as shown in Figure 1, the user can get into menu item successively, menu 3-menu 35-menu 351.As shown in Figure 2, when user's backtrack menu option is, the scheme according to above-mentioned patented claim open file is adopted is re-loaded to menu control with his father's menu, has also promptly realized menu return path shown in Figure 2, menu 351--menu 31--menu 1.Yet, because the indication range of terminal screen is limited, when returning previous menu each time; The menu option of each grade more for a long time, reloading of menu each time, the menu of initially choosing all is first of each grade; When the user visits the menu of originally being visited if desired; Need seek former menu again, therefore not meet user's operating habit, also be unfavorable for the popularization that SP is professional.
Summary of the invention
For solving the technical matters that exists in the prior art, it is better to the invention provides user's operating experience, more helps the STK menu track recording method of the SIM of the professional popularization of SP.
The present invention solves the problems of the technologies described above the technical scheme that is provided: a kind of STK menu track recording method of SIM is provided, may further comprise the steps, step 100 presets N level STK menu in the SIM at terminal; Step 200 is called the STK menu and is opened up the stacking-type storage space; Step 300 gets into the STK menu and selects one of them menu information of first order menu; Step 400, at the menu information that the current memory space record is selected, the top-of-stack pointer of storehouse moves backward; Step 500, whether the user selects to get into the next stage menu, in this way, then gets into step 600; Otherwise get into step 700; Step 600, at the menu information that the current memory space record is selected, the top-of-stack pointer of storehouse moves backward, returns step 500; Step 700, whether the user selects to return previous menu, in this way, then gets into step 800; Otherwise finish; Step 800, the menu information in the deletion current memory space, and the top-of-stack pointer of storehouse is toward moved back; Return step 500.
As preferred version of the present invention, said each storage space recording menu information comprises the total number of this menu place other menu of level, first pad name of this rank and selected menu item.
The present invention solves the problems of the technologies described above, and another kind of technical scheme is provided: a kind of STK menu track recording method of SIM is provided, may further comprise the steps, step 100 presets N level STK menu in the SIM at terminal; Step 200 is called the STK menu and is opened up the stacking-type storage space; Step 300 gets into the STK menu and selects one of them menu information of first order menu; Step 400, at the menu information that the current memory space record is selected, the top-of-stack pointer of storehouse moves backward; Step 500, whether the user selects to get into the next stage menu, in this way, then gets into step 600; Otherwise get into step 700; Step 600, at the menu information that the current memory space record is selected, the top-of-stack pointer of storehouse moves backward, returns step 500; Step 700, whether the user selects to return previous menu, in this way, then gets into step 800; Otherwise get into step 900; Step 800, the menu information in the deletion current memory space, and the top-of-stack pointer of storehouse is toward moved back; Return step 500; Step 900, the user selects to get into same other other menus of level, in this way, then gets into step 1000, otherwise finishes; Step 1000, the menu information that record is selected in current memory space, the top-of-stack pointer of storehouse move backward, return step 500.
Technical scheme of the present invention is with respect to prior art; The beneficial effect of obtaining is: the STK menu track recording method of SIM of the present invention; Mode through storehouse is carried out record one by one with the multi-menu of user capture, when the user returns, according to the top-of-stack pointer of storehouse toward the moved back value; Mode so that the menu information of current top-of-stack pointer indication storage space is selected with acquiescence is presented on the display screen at terminal; Thereby when having avoided returning the last layer menu in the prior art, what acquiescence was selected all is first menu of each grade menu, inconvenient user's operation at every turn.
Embodiment
In order to make technical matters to be solved by this invention, technical scheme and beneficial effect clearer, clear,, the present invention is further elaborated below in conjunction with accompanying drawing and embodiment.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
Embodiment one
Like Fig. 1, Fig. 3, shown in Figure 4, SIM STK menu track recording method of the present invention may further comprise the steps,
Step 100 presets N level STK menu in the SIM at terminal.
Each content that SP provides is represented that by a menu each menu can be made up of multistage menu item, and conducts interviews through mode successively.Thus, this N level STK menu is arranged in the SIM at terminal in advance, selects for use in order to the user.
Step 200 is called the STK menu and is opened up the stacking-type storage space.
When needs were selected for use the STK contents of menus, then the STK menu was called at the terminal, can in RAM (Random Access Memory, random access memory), open up a stacking-type storage space simultaneously, in order to the menu track of storage user capture.
Step 300 gets into the STK menu and selects one of them menu information of first order menu.
Getting in the first order menu of STK menu, is the various special service contents that provided by different SP at this moment, and like weather forecast, stock exchange etc., the user can choose the menu information of one of them.As shown in Figure 1, select the menu 3 in the first order menu.
Step 400, at the menu information that the current memory space record is selected, the top-of-stack pointer of storehouse moves backward.
As shown in Figure 6; Top-of-stack pointer TOP and bottom of stack pointer BOM point to same storage space; And in this storage space, store other menu information of the first order, the data division of this menu information comprises the total number of this menu place other menu of level, first pad name of this rank and selected menu item at least.As shown in Figure 1, the data division of menu information that is to say first pad name menu 1, and the selected menu item menu 3 of the total quantity N that comprises first order menu, first order menu.In addition, the top-of-stack pointer TOP of storehouse moves backward.
Step 500, whether the user selects to get into the next stage menu, in this way, then gets into step 600; Otherwise get into step 700;
Step 600, at the menu information that the current memory space record is selected, the top-of-stack pointer of storehouse moves backward, returns step 500;
After the user selects to get into the next stage menu; Menu information in the selection of current memory space record; That is to say the stored selected menu information in space pointed at current top-of-stack pointer TOP, the top-of-stack pointer TOP of storehouse moves backward simultaneously, and returns step 500 and do further to judge.
Step 700, whether the user selects to return previous menu, in this way, then gets into step 800; Otherwise finish.
Step 800, the menu information in the deletion current memory space, and the top-of-stack pointer of storehouse is toward moved back; Return step 500.
After the user selected to return previous menu, storage space then that current top-of-stack pointer TOP is pointed got into deletion, and discharging storage space, and the top-of-stack pointer TOP of storehouse is toward moved back, and returns step 500.
As shown in Figure 3, the preferred version as present embodiment further comprises in step 600 or step 800, and the indicated menu information of the top-of-stack pointer TOP of said current stack is shown as selected state on terminal display screen.
Embodiment two
The difference of present embodiment and embodiment is, is returning as the user in the process of previous menu, can also select other other menu options of level at the current menu place of choosing, to strengthen user's embodiment.Step 100-800 in the present embodiment is identical with step 100-800 among the embodiment one, and following same section repeats no more.
Another SIM STK menu track recording method provided by the present invention may further comprise the steps,
Step 100 presets N level STK menu in the SIM at terminal; Step 200 is called the STK menu and is opened up the stacking-type storage space; Step 300 gets into the STK menu and selects one of them menu information of first order menu; Step 400, at the menu information that the current memory space record is selected, the top-of-stack pointer of storehouse moves backward; Step 500, whether the user selects to get into the next stage menu, in this way, then gets into step 600; Otherwise get into step 700; Step 600, at the menu information that the current memory space record is selected, the top-of-stack pointer of storehouse moves backward, returns step 500; Step 700, whether the user selects to return previous menu, in this way, then gets into step 800; Otherwise get into step 900; Step 800, the menu information in the deletion current memory space, and the top-of-stack pointer of storehouse is toward moved back; Return step 500; Step 900, the user selects to get into same other other menus of level, in this way, then gets into step 1000, otherwise finishes; Step 1000, the menu information that record is selected in current memory space, the top-of-stack pointer of storehouse move backward, return step 500.
As shown in Figure 3, when the user is back to second layer menu 35, can select other menu items with second layer menu, as 32,34 etc., therefore give user's operating experience better.In addition, step 600, step 800 or step 1000 comprise that further the indicated menu information of the top-of-stack pointer of current stack is shown as selected state on the display screen at terminal.
Above-mentioned explanation illustrates and has described the preferred embodiments of the present invention; As previously mentioned; Be to be understood that the present invention is not limited to the form that this paper discloses, should do not regard eliminating as, and can be used for various other combinations, modification and environment other embodiment; And can in invention contemplated scope described herein, change through the technology or the knowledge of above-mentioned instruction or association area.And change that those skilled in the art carried out and variation do not break away from the spirit and scope of the present invention, then all should be in the protection domain of accompanying claims of the present invention.