Expand the method for subscriber identification module phone directory
Technical field
The present invention relates to a kind of application of mobile communication subscriber identification module application toolkit, relate in particular to a kind of method that expands phone directory by the subscriber identification module application toolkit.
Background technology
The basic role of subscriber identification module in mobile communication is to realize user identity identification, the authentication logging in network, and the memory space of phone directory, short message etc. is provided.Subscriber identification module is SIM card in the GSM network or the UIM card in the cdma network, is the smart card that is written into specific Chip Operating System and application program.
Along with the development of mobile communication, SIM card or UIM card only depend on its basic function can not satisfy user's diversified demand; And the development of smart card techniques makes the function that further expands SIM card or UIM card become possibility.Therefore, the GSM network is communicated by letter with cdma network the function of subscriber identification module application toolkit all is provided, be STK (SIM APPLICATION TOOL KIT) or UTK (UIM APPLACATION TOOL KIT), provide means for developing SIM card or the new business function of UIM card.STK or UTK are a kind of small-sized programming languages, be a kind ofly to develop the instrument service software of value-added service, can be understood as the SIM card or the active operating system of UIM card of in the operating system of former SIM card or UIM card passive type, deriving out based on SIM card or UIM card operation system.STK or UTK provide between the mobile phone that allows SIM card or UIM card and support this application and have carried out the initiatively mechanism of dialog interaction.
In recent years at home on the market PDA(Personal Digital Assistant) obtained immense success.PDA was accepted and won the user by the user core is that it can store a large amount of telephone numbers, and can search phone directory neatly, has satisfied the needs that the user gets in touch with whenever and wherever possible.Though the memory space of phone directory is provided respectively in mobile phone and SIM card or UIM card,, often can not have satisfied user's storage needs, so the user has selected PDA owing to store quantitative limitation.This current demand and great market capacity have also been seen by cell phone manufacturers now, have released the mobile phone with PDA function one after another.The mobile phone that has the PDA function also provides the functions such as phone directory of PDA except all functions with regular handset, satisfied the demand of certain customers.
Though above-mentioned PDA and the mobile phone that has a PDA function have satisfied user's needs to a certain extent, but because PDA is independent of outside the moving communicating field, therefore the user uses and still has inconvenience, for example dialling when being phone, must find corresponding number by PDA earlier, this number of input on mobile phone is finished then to dial and is cried.And the mobile phone that has the PDA function belongs to high-end product, and its price height can not spread to domestic consumer.And along with the prosperity of mobile phone market, the user often changes mobile phone because of reasons such as mobile phone pattern, functions.When changing mobile phone, be stored in phone directory in the mobile phone can't copy-once in new cell-phone, bring very burden to the user.According to incompletely statistics, in the Asia, the cellphone subscriber changes mobile phone average half a year No. one time, and the frequency that visible the problems referred to above occur is still very high.
Phone directory when changing mobile phone in SIM card or the UIM card still is stored in SIM card or the UIM card.If phone number is constant, it is less that the user changes the situation of SIM card or UIM card.So it is most convenient and reliable that phone directory is left in SIM card or the UIM card.But according to the regulation of smart card specification ISO-IEC7816, the length of log file can not be above 256.So the phone directory memory capacity in SIM card or the UIM card is limited in 256, do not allow the more telephone number of user storage, limited the performance of SIM card or UIM effect.
A kind of extension telephones basis of mobile phone is disclosed in the PCT of Siemens Company patent application PCT/DE00/02020 (publication number that enters the China national stage is CN 1361971 A), this mobile phone has a plurality of yellow pages, one of them yellow pages is stored on the memory of SIM card, one or more yellow pages in addition are arranged in the nonvolatile memory, promptly expand yellow pages, thereby expand the memory capacity of yellow pages by nonvolatile memory.This method is also underused the memory space of SIM card itself, compares with other memory space in the direct use SIM card, utilizes the nonvolatile memory that links to each other with SIM card must increase operational complexity.
Summary of the invention
The objective of the invention is by utilizing subscriber identification module application toolkit STK or UTK, break through existing GSM standard phone directory is stored quantitative limitation, make full use of the memory capacity of the memory space expansion phone directory of SIM card or UIM card.Promptly based on the STK/UTK technology, a kind of implementation method that expands subscriber identification module storing phone number quantity is proposed, make the stored number of telephone number on the subscriber identification module surpass 256 restriction of telephone number normative document regulation in the international standard, portable terminal is carried out under the situation of any modification not needing, satisfy the demand of user big capacity telephone directory book.
The present invention a kind ofly expands the implementation method of subscriber identification module telephone number stored number based on the STK/UTK technology, may further comprise the steps at least: utilize the subscriber identification module application tool to wrap in the data storage area of subscriber identification module an expansion phone directory memory block that is different from standard electric script for story-telling memory block is set; Telephone number record with storage expansion in above-mentioned expansion phone directory memory block.
The method of expansion subscriber identification module phone directory of the present invention can also be set up in described subscriber identification module with the user and carry out mutual user interface, will store in the expansion phone directory memory block according to fixed length record format by name and the telephone number with the user interactions acquisition.Also can set up in described subscriber identification module with the user and carry out mutual user interface, the user can retrieve expanding phone directory memory block telephone number stored by this user interface.After retrieving the corresponding phone number, the user is by the instruction of user interface incoming call, and subscriber identification module notice mobile phone after receiving instruction is carried out and called out.In the method for the invention, the telephone number record that expands in the phone directory memory block can be formed a self-defined file, according to the instruction of the reading and writing of files of standard the telephone number file is operated.The telephone number record that expands in the phone directory memory block also can be fixed-length record, adopts the mode of direct addressin to conduct interviews to expanding the phone directory memory block by the operating system built-in command.Described telephone number record can also comprise group mark except that name and telephone number, this group mark is represented the group under this telephone number record.
The invention still further relates to a kind of subscriber identification module, it comprises a standard electric script for story-telling memory block, is used for storage standards telephone number file; The expansion phone directory memory block that is different from above-mentioned standard electric script for story-telling memory block that is provided with in the data storage area that is utilized the subscriber identification module application tool to wrap in subscriber identification module is used to store the telephone number record of expansion; With an expansion phone directory manager, be used to carry out to expanding the management of telephone number record in the phone directory memory block; A subscriber identification module application toolkit command interpreter is used to and expands phone directory manager explanation STK order.Described expansion phone directory manager is used to carry out the storage of expanding telephone number in the phone directory memory block, the bookkeeping that reads, duplicates, deletes and send.
The invention still further relates to a kind of mobile phone that above-mentioned subscriber identification module is installed.
According to the above technical scheme,, can open up in any extra-regional data storage area of normative document that removes for territory, described telephone number extended area.The foundation of described telephone number extended area can have dual mode at least:
The one, set up to expand the self-defined file of number, comprise the telephone number extended area, according to the instruction of the reading and writing of files of standard telephone number record is operated then;
The 2nd, do not set up self-defined file, adopt the mode of direct addressin, directly the telephone number extended area is conducted interviews by the operating system built-in command.In described telephone number extended area, the file type that is used to deposit the file of telephone number is a fixed-length record file.Its fixed-length record is sequential storage in territory, telephone number extended area, as shown in Figure 3.
The storage of described telephone number should be adopted fixing coded format, no matter adopts which kind of coded format, name and two contents of telephone number structurally all should should be arranged at least, as shown in Figure 3.The structural similarity of the normative document 6F3A of storing phone number among described structure and the GSM has the byte of regular length to deposit name and telephone number in the record, telephone number adopts the BCD encoding scheme.
If desired telephone number is classified, also should include classified information.In the record with a byte (BYTE) or several (BIT) as the group mark position, in order to indicate the group under this telephone number, its coding form is as shown in Figure 3.
According to the inventive method, under the situation that the SIM/UIM card space allows, hew out the telephone number extended area in order to the telephone number beyond the storage standards telephone number file, just can make described SIM/UIM card realize that storage exceeds the function of a large amount of telephone numbers of quantity that standard is limit.On the mobile phone of any support STK/UTK function, use described SIM/UIM card, just obtained the function close with the PDA phone directory.
Setting up search mechanism in described SIM/UIM card makes man-machine interface friendly, user-friendly more.Wait operation and allow the stored record in described zone called out, make the user carry out writing down the same operation that is convenient to use the stored record in described zone with SIM/UIM card standard telephone number file storage.
In a word, use the inventive method will break through the restriction of prior art, and obtain good market prospects because of meeting consumers' demand.
Brief Description Of Drawings
Fig. 1 illustrates the SIM card memory block schematic block diagram of prior art
Fig. 2 illustrates SIM card of the present invention memory block schematic block diagram;
Fig. 3 illustrates the storage format that expands the phone directory memory block, coded format and coded format that has the telephone number record of class indication of a telephone number record;
Fig. 4 illustrates a kind of menu structure that phone directory is expanded in operation;
Fig. 5 illustrates and comprises the SIM card structure chart that expands the phone directory manager;
Fig. 6 illustrates the structured flowchart that expands the phone directory manager;
Fig. 7 illustrates the flow chart that phone directory is expanded in operation of the present invention; With
Fig. 8 illustrates a storage node composition that expands telephone number memory block embodiment.
Embodiment
At this is example with the implementation method that expands telephone number based on the STK technology on SIM card only, and the technical scheme of the inventive method is described in detail.Realize that on UIM card or other smart cards the inventive method does not break away from inventive concept, is considered as protection scope of the present invention.
It is that the SIM card of 64K EEPROM realizes that present embodiment is based on the data storage area.Certainly, memory capacity and storage medium do not constitute the direct acting factor of inventive concept, realize that on different memory sizes and storage medium the inventive method still belongs to the scope of protection of the invention.
Fig. 1 illustrates the SIM card memory block schematic block diagram of prior art.As shown in Figure 1, in the memory block of prior art, comprise operating system memory block 1, application storage district 2 and data storage area 6.Comprise this memory block 3 of standard telephone number, short message memory block 4 and other data storage area 5 in the data storage area 6.
Fig. 2 illustrates SIM card of the present invention memory block schematic block diagram.Wherein in other data storage area 26, be provided with and expand yellow pages memory block 25.
Fig. 3 illustrates the storage format that expands the phone directory memory block, coded format and coded format that has the telephone number record of class indication of a telephone number record.In the telephone number extended area, stored N bar telephone number record in order.A telephone number record comprises name and corresponding telephone number.Another telephone number record also comprises the classified information of representing this telephone number record specific category except that name and telephone number.
Fig. 4 illustrates a kind of menu structure that phone directory is expanded in operation.Wherein under the name card pad menu, comprise submenus such as checking business card, increase business card and modification business card.For example comprise the submenu of calling out checking to have under the menu of business card.
Fig. 5 illustrates and comprises the SIM card structure chart that expands the phone directory manager.Comprising to expanding expansion phone directory manager 56 that phone directory manages, being used for explaining SIM card STK interpreter 57, SIM card underlying operating system 58, I/O port 51, the internal storage RAM 52 of STK order and being arranged on the standard electric script for story-telling memory block 54 of data storage area 53 and expanding phone directory memory block 55.
Fig. 6 illustrates the structured flowchart that expands the phone directory manager.The memory module 61, read module 62, replication module 63, removing module 64 and the sending module 65 that wherein are respectively applied for storage, read, duplicate, delete and send telephone number receive the output of STK command interpreter, and the order that is generated is sent to the STK command interpreter with output.
Below in conjunction with Fig. 7 and Fig. 8 the flow process of operating expansion phone directory of the present invention is described.
1, behind the constituent instruments of having created the gsm system requirement, the telephone number of expansion is stored in the space that hews out 0 * 2000-0 * 7780.Telephone number record in the territory, telephone number extended area is stored in the data storage area with the form of Fig. 8, utilizes the built-in command of operating system directly telephone number record to be read.When initial, all records all are 0 * FF, when promptly all bytes of a record all are 0 * FF, think that this is recorded as sky.
2, create the user interface that the telephone number that expands is operated, see the menu of Fig. 4.Menu also can be taked different structures and title, and the inventive method is not constituted influence.
3, set up the search mechanism that district's record is got in telephone number expansion storage.Described search mechanism can adopt the mode of checking all records one by one, also can take keyword by name or telephone number to index and find the mode of satisfactory record.Using and organize and using of various retrieval modes do not break away from inventive concept.Present embodiment takes the simple mode of all records of checking one by one to carry out.
4, set to allow the stored record of telephone number extended area such as is called out at function.
5, select " increase business card " in the menu as shown in Figure 4, the user can operating handset by interactive means with information such as name, telephone numbers, these information store the telephone number extended area into the form of fixed-length record.
When 6, selecting " checking business card " in the menu as shown in Figure 4, call search mechanism, retrieve stored is at the record of telephone number extended area.Described record shows one by one and offers handset displays.
7, in the menu as shown in Figure 4, select certain business card wherein, after can operation such as call out to it.
8, also provide " modification business card " function in the menu as shown in Figure 4, this function can by interactive means to stored record make amendment, operation such as deletion.
Shown in the flow chart of Fig. 7, at step S71, the STK command interpreter is judged the command type that is received, and judges respectively at step S721, S722, S723, S724 and S725 whether this order is memory command, reading order, copy command, delete command and sends order.Enter corresponding module respectively at step S731, S732, S733, S734, S735 and S736 then.If order is memory command then judges at step S741 whether input is legal, do not advance to step S771 generation information if conform to rule.If import legal then judge at step S751 whether memory space is full.Produce information if then advance to step S771.If not, then advancing to step S761 stores.If reading order then judges whether to carry out full-text search, name searching, location retrieval and number retrieval respectively at step S742, S752, S762 and S772, if then change corresponding processing module respectively at step S782.If otherwise produce information at step S792.If copy command, then judge respectively standard electric script for story-telling (being abbreviated as ADN among the figure) copied to and expand phone directory (being abbreviated as phone directory among the figure) and still will expand phone directory and copy to the standard electric script for story-telling at step S743 and S753, and carry out corresponding processing module, otherwise produce information at step S773 at step S763.If delete command is then carried out delete command at step S734, and produce information at step S744.If send order, produce information then at step S745 telephone number record of form transmission, and at step S755 according to business card.If at step S726 is not above-mentioned five kinds of orders, then be other STK order that has nothing to do with the present invention.