Summary of the invention
In view of above-mentioned deficiencies of the prior art, the purpose of the present invention is to provide a kind of update voice mail icon card file
Method and system, it is intended to it is chaotic to solve the problems, such as that existing voice mail icon is easy display.
Technical scheme is as follows:
A method of updating voice mail icon card file, wherein include:
Step A, after mobile terminal-opening, the instruction of show or hide voice mail icon is detected;
Step B, the type for judging identification card enters step C when identification card is SIM card;
Step C, 7F20/6FCA file is judged whether there is, D is then entered step if it exists, then enters step if it does not exist
E;
Step D, 7F20/6F11 file is judged whether there is, then updates 7F20/6FCA and 7F20/6F11 file if it exists,
7F20/6FCA file is then only updated if it does not exist;
Step E, 7F20/6F11 file is judged whether there is, then updates 7F20/6F11 file if it exists, if it does not exist then
Do not update card file.
The method of the update voice mail icon card file, wherein further include:
Step F, when the identification card is usim card, then 7FFF/6FCA file is judged whether there is, is then entered if it exists
Step G, otherwise enters step H;
Step G, 7FFF/6F11 file is judged whether there is, then updates 7FFF/6FCA and 7FFF/6F11 file if it exists,
Then the case where the case where judging SIM card then only updates 7FFF/6FCA file if it does not exist, then judges SIM card;
Step H, 7FFF/6F11 file is judged whether there is, 7FFF/6F11 file is then updated if it exists, then judges SIM
The case where card, then directly executes the case where judging SIM card if it does not exist.
The method of the update voice mail icon card file, wherein in the step H, execute the feelings for judging SIM card
Condition is as follows: executing according to step C to step E.
The method of the update voice mail icon card file, wherein in the step B, according to whether there are 3F00/
7FFF file judges the type of identification card.
A kind of system updating voice mail icon card file, wherein include:
Detection module, for detecting the instruction of show or hide voice mail icon after mobile terminal-opening;
First judgment module, for judging the type of identification card, when identification card is SIM card, into the second judgment module;
Second judgment module then enters third judgment module for judging whether there is 7F20/6FCA file if it exists,
Then enter the 4th judgment module if it does not exist;
Third judgment module, for judging whether there is 7F20/6F11 file, then update if it exists 7F20/6FCA and
7F20/6F11 file then only updates 7F20/6FCA file if it does not exist;
4th judgment module then updates 7F20/6F11 file for judging whether there is 7F20/6F11 file if it exists,
Do not update card file then if it does not exist.
The system of the update voice mail icon card file, wherein further include:
5th judgment module, for when the identification card is usim card, then judging whether there is 7FFF/6FCA file,
Then enter the 6th judgment module if it exists, otherwise enters the 7th judgment module;
6th judgment module, for judging whether there is 7FFF/6F11 file, then update if it exists 7FFF/6FCA and
7FFF/6F11 file, the case where then judging SIM card, then only update 7FFF/6FCA file if it does not exist, then judge SIM card
The case where;
7th judgment module then updates 7FFF/6F11 file for judging whether there is 7FFF/6F11 file if it exists,
Then the case where judging SIM card then directly executes the case where judging SIM card if it does not exist.
The system of the update voice mail icon card file, wherein the case where execution judges SIM card is as follows: according to
Second judgment module to the 4th judgment module executes.
The system of the update voice mail icon card file, wherein in the first judgment module, according to whether depositing
The type of identification card is judged in 3F00/7FFF file.
The utility model has the advantages that difference of the present invention for each card file in identification card, selection updates corresponding card file, to make
Voice mail icon normally can show and hide between different mobile terminal, avoid display chaotic.
Specific embodiment
The present invention provides a kind of method and system for updating voice mail icon card file, to make the purpose of the present invention, skill
Art scheme and effect are clearer, clear, and the present invention is described in more detail below.It should be appreciated that tool described herein
Body embodiment is only used to explain the present invention, is not intended to limit the present invention.
Referring to Fig. 1, Fig. 1 is a kind of process for the method preferred embodiment for updating voice mail icon card file of the present invention
Figure, as shown in Figure 1, comprising:
Step S1, after mobile terminal-opening, the instruction of show or hide voice mail icon is detected;
Step S2, the type for judging identification card enters step S3 when identification card is SIM card;
Step S3,7F20/6FCA file is judged whether there is, then enters step S4 if it exists, then enters step if it does not exist
Rapid S5;
Step S4,7F20/6F11 file is judged whether there is, then updates 7F20/6FCA and 7F20/6F11 text if it exists
Part then only updates 7F20/6FCA file if it does not exist;
Step S5,7F20/6F11 file is judged whether there is, then updates 7F20/6F11 file if it exists, if it does not exist then
Do not update card file.
In the present invention, when mobile terminal receives Voicemail information, then can show Voicemail icon, and if with
The Voicemail information is not read at family, then can show Voicemail icon always, that is to say, that user can read this
Voicemail information then represents and hides voice mail icon, if receiving Voicemail information without reading, represents display language
Message case icon.
In the instruction for detecting show or hide voice mail icon, first judge the type of identification card, if SIM card then into
Enter to step S3;
In step s3,7F20/6FCA file is judged whether there is, then according to whether in the presence of subsequent step is determined
Suddenly.
In the step S4,7F20/6F11 file is judged whether there is, then updates 7F20/6FCA and 7F20/ if it exists
6F11 file then only updates 7F20/6FCA file if it does not exist.
In this step, 7F20/6FCA file if it exists, but there are 7F20/6F11 files, then update 7F20/ simultaneously
6FCA and 7F20/6F11 file, updates all card file for saving voice mail icon simultaneously in this way, and the SIM card is whether new
It is inserted into any mobile terminal, can only be determined whether to show voice mail icon, such as step S1 according to nearest operation
In detect display voice mail icon, then voice mail icon will can also be shown in new mobile terminal, or
Hiding voice mail icon is detected in step S1, then voice mail icon will can also be hidden in new mobile terminal.
7F20/6F11 file may be not present in 7F20/6FCA file if it exists, then only updating 7F20/6FCA file, that is, right
In no 7F20/6F11 file the case where, another card file (under the conditions of 7F20/6FCA file is existing) need to be only updated i.e.
It can.
In step s 5,7F20/6F11 file is judged whether there is, then updates 7F20/6F11 file if it exists, if not depositing
Card file is not being updated then.
In this step, 7F20/6FCA file if it does not exist, and there are 7F20/6F11 file, then only update 7F20/
6F11 file, i.e., in the case where no 7F20/6FCA file, it is only necessary to which (7F20/6F11 file exists another card file
Under conditions of), 7F20/6FCA file if it does not exist, while there is 7F20/6F11 file again, then two card file are all
It is not present, at this time without updating card file.
Further, method further include:
Step S6, when the identification card is usim card, then judge whether there is 7FFF/6FCA file, if it exists then into
Enter step S7, otherwise enters step S8;
Step S7,7FFF/6F11 file is judged whether there is, then updates 7FFF/6FCA and 7FFF/6F11 text if it exists
The case where part, the case where then judging SIM card then only updates 7FFF/6FCA file if it does not exist, then judges SIM card;
Step S8,7FFF/6F11 file is judged whether there is, 7FFF/6F11 file is then updated if it exists, then judges
The case where SIM card, then directly executes the case where judging SIM card if it does not exist.
It is usim card that above scheme, which is for identification card, with this condition, first judges that 7FFF/6FCA file whether there is,
Different steps is carried out for the presence or absence of 7FFF/6FCA file.
In the step s 7,7FFF/6FCA file if it exists, while there is also 7FFF/6F11 file, then it updates simultaneously
7FFF/6FCA and 7FFF/6F11 file updates all card file for saving voice mail icon simultaneously in this way, and the usim card is not
By being newly inserted into any mobile terminal, can only be determined whether to show voice mail icon according to nearest operation, such as
Display voice mail icon is detected in step S1, then voice mail icon will can be also shown in new mobile terminal,
Or hiding voice mail icon is detected in step S1, then voice mail will can also be hidden in new mobile terminal
Icon.7FFF/6F11 file may be not present in 7FFF/6FCA file if it exists, then 7FFF/6FCA file is only updated,
The case where being exactly for no 7FFF/6F11 file, need to only update another card file (item existing for 7FFF/6FCA file
Under part).
7FFF/6FCA file exists simultaneously 7FFF/6F11 file if it does not exist, it is only necessary to 7FFF/6F11 file is updated, if
If the two is all not present, then the case where judging SIM card is also needed.Because not only there may be above-mentioned for usim card
7FFF/6FCA file, 7FFF/6F11 file, while it being also likely to be present 7F20/6FCA file, 7F20/6F11 file, so needing
To judge again.For usim card, no matter in step S6~step S8, if update 7FFF/6FCA and 7FFF/
6F11 file, all continues to execute the case where judging SIM card.
The case where judging SIM card for execution is as follows: executing according to step S3 to step S5.Repeat step S3 extremely
Step S5.
Further, in the step S2, according to whether there are the types that 3F00/7FFF file judges identification card.If it exists
3F00/7FFF file, then be determined as usim card, 3F00/7FFF file if it does not exist, then being determined as SIM card.In addition for
4G card can be then updated by usim card same way.
It should be noted that being usually elder generation's 7F20/6FCA file in the present invention, then judge 7F20/6F11 file, it is clear that
Can be according to first judging 7F20/6F11 file, then judge that the sequence of 7F20/6FCA file executes.Or it is usually in the present invention
First 7FFF/6FCA file, then judge 7FFF/6F11 file, can also be according to first judging 7FFF/6F11 file, then judges 7FFF/
6FCA file.
It should be noted that 7F20/6FCA refers to that the 6FCA file under 7F20 catalogue, 7F20 file then refer in the present invention
The entire catalogue file of 7F20 similarly explains alternative document.
Based on the above method, the present invention also provides a kind of system preferred embodiment for updating voice mail icon card file,
As shown in Fig. 2, comprising:
Detection module 100, for detecting the instruction of show or hide voice mail icon after mobile terminal-opening;
First judgment module 200, when identification card is SIM card, judges mould into second for judging the type of identification card
Block;
Second judgment module 300 then enters third if it exists and judges mould for judging whether there is 7F20/6FCA file
Block then enters the 4th judgment module if it does not exist;
Third judgment module 400, for judging whether there is 7F20/6F11 file, then update if it exists 7F20/6FCA and
7F20/6F11 file then only updates 7F20/6FCA file if it does not exist;
4th judgment module 500 then updates 7F20/6F11 text for judging whether there is 7F20/6F11 file if it exists
Part does not update card file then if it does not exist.
Further, system further include:
5th judgment module, for when the identification card is usim card, then judging whether there is 7FFF/6FCA file,
Then enter the 6th judgment module if it exists, otherwise enters the 7th judgment module;
6th judgment module, for judging whether there is 7FFF/6F11 file, then update if it exists 7FFF/6FCA and
7FFF/6F11 file, the case where then judging SIM card, then only update 7FFF/6FCA file if it does not exist, then judge SIM card
The case where;
7th judgment module then updates 7FFF/6F11 file for judging whether there is 7FFF/6F11 file if it exists,
Then the case where judging SIM card then directly executes the case where judging SIM card if it does not exist.
Further, it is as follows to execute the case where judging SIM card: being executed according to the second judgment module to the 4th judgment module.
Further, in the first judgment module 200, according to whether there are the classes that 3F00/7FFF file judges identification card
Type.
It has been described in detail in the method for technical detail in front about above-mentioned modular unit, so it will not be repeated.
Those of ordinary skill in the art will appreciate that all or part of the process in above-described embodiment method, is that can pass through
Computer program instructs relevant hardware to complete, and the computer program can be stored in a computer-readable storage medium
In, program is when being executed, it may include the process of the embodiment of above-mentioned each method.Storage medium therein can for magnetic disk, CD,
Read-only memory (ROM) or random access memory (RAM) etc..
In conclusion difference of the present invention for each card file in identification card, selection updates corresponding card file, to make
Voice mail icon normally can show and hide between different mobile terminal, avoid display chaotic.
It should be understood that the application of the present invention is not limited to the above for those of ordinary skills can
With improvement or transformation based on the above description, all these modifications and variations all should belong to the guarantor of appended claims of the present invention
Protect range.