Summary of the invention
In view of above-mentioned the deficiencies in the prior art, it is an object of the invention to provide a kind of renewal voice mail icon card file
Method and system, it is intended to solve existing voice mail icon easily show confusion problem.
Technical scheme is as follows:
A kind of method updating voice mail icon card file, wherein, including:
After step A, mobile terminal-opening, the instruction of show or hide voice mail icon detected;
Step B, judge the type of identification card, when identification card is SIM, enter step C;
Step C, judging whether 7F20/6FCA file, if existing, entering step D, if not existing, entering step E;
Step D, judging whether 7F20/6F11 file, if existing, updating 7F20/6FCA and 7F20/6F11 file, if not
Exist and the most only update 7F20/6FCA file;
Step E, judging whether 7F20/6F11 file, if existing, updating 7F20/6F11 file, if not existing, the most more
New card file.
The described method updating voice mail icon card file, wherein, also includes:
Step F, when described identification card is usim card, then judge whether 7FFF/6FCA file, if existed; would enter step
G, otherwise enters step H;
Step G, judging whether 7FFF/6F11 file, if existing, updating 7FFF/6FCA and 7FFF/6F11 file, then
Judge the situation of SIM, if not existing, only updating 7FFF/6FCA file, then judging the situation of SIM;
Step H, judge whether 7FFF/6F11 file, if existing, updating 7FFF/6F11 file, then judging SIM
Situation, if not existing, directly performs to judge the situation of SIM.
The described method updating voice mail icon card file, wherein, in described step H, performs to judge the feelings of SIM
Condition is as follows: perform according to step C to step E.
, wherein, in described step B, according to whether there is 3F00/ in the described method updating voice mail icon card file
7FFF file judges the type of identification card.
A kind of system updating voice mail icon card file, wherein, including:
Detection module, after mobile terminal-opening, detects the instruction of show or hide voice mail icon;
First judge module, for judging the type of identification card, when identification card is SIM, enters the second judge module;
Second judge module, is used for judging whether 7F20/6FCA file, if existing, enters the 3rd judge module, if not
Exist and then enter the 4th judge module;
3rd judge module, is used for judging whether 7F20/6F11 file, if existing, updates 7F20/6FCA and 7F20/
6F11 file, if not existing, only updates 7F20/6FCA file;
4th judge module, is used for judging whether 7F20/6F11 file, if existing, updates 7F20/6F11 file, if not
Exist and the most do not update card file.
The described system updating voice mail icon card file, wherein, also includes:
5th judge module, for when described identification card is usim card, then judges whether 7FFF/6FCA file, if depositing
Then enter the 6th judge module, otherwise enter the 7th judge module;
6th judge module, is used for judging whether 7FFF/6F11 file, if existing, updates 7FFF/6FCA and 7FFF/
6F11 file, then judges the situation of SIM, if not existing, only updating 7FFF/6FCA file, then judging the feelings of SIM
Condition;
7th judge module, is used for judging whether 7FFF/6F11 file, if existing, updates 7FFF/6F11 file, then
Judging the situation of SIM, if not existing, directly performing to judge the situation of SIM.
The described system updating voice mail icon card file, wherein, performs to judge that the situation of SIM is as follows: according to
Second judge module performs to the 4th judge module.
The described system updating voice mail icon card file, wherein, in described first judge module, according to whether deposit
The type of identification card is judged at 3F00/7FFF file.
Beneficial effect: the present invention is directed to the difference of each card file in identification card, selects to update corresponding card file, so that
Calling transfer icon can normally show and hiding voice mail icon between different mobile terminal, it is to avoid display confusion.
Detailed description of the invention
The present invention provides a kind of method and system updating voice mail icon card file, for making the purpose of the present invention, skill
Art scheme and effect are clearer, clear and definite, and the present invention is described in more detail below.Should be appreciated that tool described herein
Body embodiment only in order to explain the present invention, is not intended to limit the present invention.
Refer to the flow process that Fig. 1, Fig. 1 are a kind of method preferred embodiment updating voice mail icon card file of the present invention
Figure, as it is shown in figure 1, comprising:
After step S1, mobile terminal-opening, the instruction of show or hide voice mail icon detected;
Step S2, judge the type of identification card, when identification card is SIM, enter step C;
Step S3, judging whether 7F20/6FCA file, if existing, entering step D, if not existing, entering step E;
Step S4, judging whether 7F20/6F11 file, if existing, updating 7F20/6FCA and 7F20/6F11 file, if
There is not the most only renewal 7F20/6FCA file;
Step S5, judging whether 7F20/6F11 file, if existing, updating 7F20/6F11 file, if not existing, the most more
New card file.
In the present invention, when mobile terminal receives Voicemail information, then can show Voicemail icon, and if using
This Voicemail information is not read at family, then can show Voicemail icon, say, that user can read this always
Voicemail information, then represent and hide voice messaging icon, if receiving Voicemail information and not reading, represents display language
Sound communication icon.
The instruction of show or hide voice mail icon detected, first judge the type of identification card, if SIM then enters
Enter to step S3;
In step s3, it may be judged whether there is 7F20/6FCA file, then according to whether exist and determine follow-up step.
In described step S4, it may be judged whether there is 7F20/6F11 file, if existing, update 7F20/6FCA and 7F20/
6F11 file, if not existing, only updates 7F20/6FCA file.
In this step, if there is 7F20/6FCA file, there is again 7F20/6F11 file, updating 7F20/ the most simultaneously
6FCA and 7F20/6F11 file, updates the card file of all preservation voice messaging icons the most simultaneously, and this SIM is the newest
It is inserted in any mobile terminal, only can determine whether to show voice messaging icon, such as step S1 according to nearest operation
In detect display voice messaging icon, then in new mobile terminal, also will can show voice messaging icon, or
Step S1 detects hiding voice messaging icon, then in new mobile terminal, also will can hide voice messaging icon.
If there is 7F20/6FCA file and there is not 7F20/6F11 file, then only update 7F20/6FCA file, the most right
In there is no the situation of 7F20/6F11 file, another one card file (under conditions of 7F20/6FCA file exists) only need to be updated i.e.
Can.
In step s 5, it may be judged whether there is 7F20/6F11 file, if existing, 7F20/6F11 file is updated, if not depositing
Do not updating card file.
In this step, if there is not 7F20/6FCA file, and there is 7F20/6F11 file, the most only updating 7F20/
6F11 file, i.e. in the case of not having 7F20/6FCA file, it is only necessary to (7F20/6F11 file exists another one card file
Under conditions of), if there is not 7F20/6FCA file, there is again 7F20/6F11 file, then two card file are all simultaneously
Do not exist, now without updating card file.
Further, method also includes:
Step S6, when described identification card is usim card, then judge whether 7FFF/6FCA file, if existed; would enter step
Rapid S7, otherwise enters step S8;
Step S7, judging whether 7FFF/6F11 file, if existing, updating 7FFF/6FCA and 7FFF/6F11 file, so
The situation of rear judgement SIM, if not existing, only updating 7FFF/6FCA file, then judging the situation of SIM;
Step S8, judge whether 7FFF/6F11 file, if existing, updating 7FFF/6F11 file, then judging SIM
Situation, if not existing, directly perform to judge the situation of SIM.
Such scheme is to be usim card for identification card, with this understanding, first judges whether 7FFF/6FCA file exists,
Different steps is carried out for whether there is 7FFF/6FCA file.
In the step s 7, if there is 7FFF/6FCA file, there is also 7FFF/6F11 file simultaneously, updating the most simultaneously
7FFF/6FCA and 7FFF/6F11 file, updates the card file of all preservation voice messaging icons the most simultaneously, and this usim card is not
Opinion is newly inserted in any mobile terminal, only can determine whether to show voice messaging icon according to nearest operation, such as
Step S1 detects display voice messaging icon, then in new mobile terminal, also will can show voice messaging icon,
Or step S1 detects hiding voice messaging icon, then in new mobile terminal, also will can hide voice messaging
Icon.If there is 7FFF/6FCA file and there is not 7FFF/6F11 file, then only update 7FFF/6FCA file, also
When being exactly for there is no 7FFF/6F11 file, only need to update the another one card file (bar that 7FFF/6FCA file exists
Under part).
If there is not 7FFF/6FCA file to there is 7FFF/6F11 file simultaneously, it is only necessary to update 7FFF/6F11 file, if
If neither of which exists, then also need to judge the situation of SIM.Because for usim card, it not only there may be above-mentioned
7FFF/6FCA file, 7FFF/6F11 file, also likely to be present 7F20/6FCA file, 7F20/6F11 file simultaneously, so needing
Again to judge.For usim card, no matter in step S6 ~ step S8, if update 7FFF/6FCA and 7FFF/
6F11 file, all continues executing with the situation judging SIM.
When performing to judge SIM as follows: according to the execution of step S3 to step S5.I.e. repeated execution of steps S3 is extremely
Step S5.
Further, in described step S2, according to whether there is 3F00/7FFF file to judge the type of identification card.If existing
, if there is not 3F00/7FFF file, then be judged to SIM in 3F00/7FFF file, then be judged to usim card.Additionally for
4G card, then can be updated by usim card same way.
It should be noted that, the present invention is usually first 7F20/6FCA file, then judges 7F20/6F11 file, it is clear that also
According to first judging 7F20/6F11 file, then can judge that the order of 7F20/6FCA file performs.Or the present invention is usually
First 7FFF/6FCA file, then judge 7FFF/6F11 file, it is possible to according to first judging 7FFF/6F11 file, then judge 7FFF/
6FCA file.
It should be noted that, the 6FCA file under 7F20/6FCA refers to 7F20 catalogue in the present invention, 7F20 file then refers to
The whole catalogue file of 7F20, in like manner explains for alternative document.
Based on said method, the present invention also provides for a kind of system preferred embodiment updating voice mail icon card file,
As in figure 2 it is shown, comprising:
Detection module 100, after mobile terminal-opening, detects the instruction of show or hide voice mail icon;
First judge module 200, for judging the type of identification card, when identification card is SIM, enters the second judge module;
Second judge module 300, is used for judging whether 7F20/6FCA file, if existing, enters the 3rd judge module, if
There is not then entrance the 4th judge module;
3rd judge module 400, is used for judging whether 7F20/6F11 file, and if existed; would update 7F20/6FCA and
7F20/6F11 file, if not existing, only updates 7F20/6FCA file;
4th judge module 500, is used for judging whether 7F20/6F11 file, if existing, updates 7F20/6F11 file,
If not existing, do not update card file.
Further, system also includes:
5th judge module, for when described identification card is usim card, then judges whether 7FFF/6FCA file, if depositing
Then enter the 6th judge module, otherwise enter the 7th judge module;
6th judge module, is used for judging whether 7FFF/6F11 file, if existing, updates 7FFF/6FCA and 7FFF/
6F11 file, then judges the situation of SIM, if not existing, only updating 7FFF/6FCA file, then judging the feelings of SIM
Condition;
7th judge module, is used for judging whether 7FFF/6F11 file, if existing, updates 7FFF/6F11 file, then
Judging the situation of SIM, if not existing, directly performing to judge the situation of SIM.
Further, perform to judge that the situation of SIM is as follows: perform to the 4th judge module according to the second judge module.
Further, in described first judge module 200, according to whether there is 3F00/7FFF file to judge the class of identification card
Type.
Ins and outs about above-mentioned modular unit are described in detail in method above, therefore repeat no more.
One of ordinary skill in the art will appreciate that all or part of flow process in above-described embodiment method, can be by
Computer program instructs relevant hardware and completes, and described computer program can be stored in a computer read/write memory medium
In, program is upon execution, it may include the flow process of the embodiment of above-mentioned each method.Storage medium therein can be magnetic disc, CD,
Read-only store-memory body (ROM) or random store-memory body (RAM) etc..
In sum, the present invention is directed to the difference of each card file in identification card, select to update corresponding card file, so that
Calling transfer icon can normally show and hiding voice mail icon between different mobile terminal, it is to avoid display confusion.
It should be appreciated that the application of the present invention is not limited to above-mentioned citing, for those of ordinary skills, can
To be improved according to the above description or to convert, all these modifications and variations all should belong to the guarantor of claims of the present invention
Protect scope.