Summary of the invention
In view of this, main purpose of the present invention is to provide a kind of and realizes the method for professional intelligent telephone book function of classifying making the user when carrying out business operation at portable terminal, can utilize the phone book lookup telephone number of corresponding service classification.
Another object of the present invention is to provide a kind of and realize the device of professional intelligent telephone book function of classifying making the user when carrying out business operation, can utilize the phone book lookup telephone number of corresponding service classification at portable terminal.
In order to realize the first aspect of above-mentioned main purpose, the invention provides and a kind ofly realize the method for professional intelligent telephone book function of classifying at portable terminal, this method may further comprise the steps:
A, according to business classification, determine the statistical of the usage frequency parameter value of corresponding each the class business of each phone list item in the telephone directory;
B, according to realizing in the telephone directory that professional phone list item realizes that professional number of times is or/and temporal information, utilize the usage frequency parameter value statistical of the corresponding service classification of the corresponding phone list item of determining in the steps A, calculate the usage frequency parameter value of the corresponding service classification of corresponding phone list item;
C, corresponding different business classification show telephone directory according to the usage frequency parameter value size of the corresponding service classification of each phone list item.
Steps A is described according to the business classification, determines further to comprise before the usage frequency parameter value statistical of each phone list item: according to user's needs, the statistics priority of each class of service operation parameter is set; And setting the frequency attenuation coefficient is positive number;
The usage frequency parameter value statistical of described each the phone list item of steps A is:
Wherein, q
nThe usage frequency parameter value of representing a corresponding a certain class of service of a certain moment of phone list item; q
N+1Represent this phone list item after the elapsed time interval T, to usage frequency parameter value that should class of service; T represents the operation parameter of the business of this class of service; k
iThe weight coefficient of representing the operation parameter correspondence of this class of service; k
N+1Expression frequency attenuation coefficient;
The weight coefficient of described business is a nonnegative number, is determined by the statistics priority of the operation parameter of each class of service.
Before the usage frequency parameter value statistical of described definite each the phone list item of steps A, further comprise: upgrade described frequency attenuation coefficient, when all phone list items are not realized any when professional in the time in preset threshold value, setting the frequency attenuation coefficient is 0, when having the phone list item successfully to realize business again, resetting the frequency attenuation coefficient is positive number.
The operation parameter of described business is: talk times corresponding with talk business and/or air time; Or the short-message sending number of times corresponding with short message service; Or the transmission Multimedia Message number of times corresponding with multimedia service.
In the described definite telephone directory of steps A after the usage frequency parameter value statistical of corresponding each the class business of each phone list item, further comprise:, generate the usage frequency parameter list of corresponding each class business according to the usage frequency parameter value statistical of business classification and corresponding each the class business of determined each phone list item;
After the usage frequency parameter value of the corresponding service classification of the corresponding phone list item of the described calculating of step B, further comprise: the usage frequency parameter value of corresponding phone list item in the usage frequency parameter list of renewal corresponding service classification.
Described business is categorized as: according to talk business, note and multimedia messaging service, MMS classification; Or according to visual telephone service, common talk business, note and multimedia messaging service, MMS classification.
This method further comprises: the usage frequency parameter value of all phone list items of regular update;
Perhaps, after the usage frequency parameter value size of the described corresponding service classification according to each phone list item of step C shows telephone directory, further comprise: the usage frequency parameter value of adjusting the phone list item according to user's needs.
In order to realize above-mentioned main purpose on the other hand, the invention provides and a kind ofly realize the device of professional intelligent telephone book function of classifying at portable terminal, this device comprises:
Customer service operation statistics and timing module, usage frequency parameter computing module and telephone directory display module,
Wherein, customer service operation statistics and timing module are used to add up business operation number of times and the time information that the user carries out, and the information of being added up are sent to usage frequency parameter computing module;
The professional weight coefficient of customer service number of operations that the utilization of usage frequency parameter computing module receives and temporal information and user input calculates the usage frequency parameter value of corresponding different business, and result of calculation is sent to the telephone directory display module;
The telephone directory display module, the usage frequency parameter value of each the phone list item that is used for relatively receiving shows telephone directory according to the size of the usage frequency parameter value of each phone list item.
This device further comprises: frequency attenuation coefficient processing module, and be used for storage and update frequency attenuation coefficient, and the frequency attenuation coefficient of determining is sent to usage frequency parameter computing module,
Business operation number of times that it provides according to described customer service operation statistics and timing module and time information determine that all phone list items do not realize any when professional in the preset time threshold value, setting the frequency attenuation coefficient is 0, again realize successfully that up to defining the phone list item when professional, resetting the frequency attenuation coefficient is positive number.
This device further comprises: usage frequency parameter value memory module is used to store the usage frequency parameter value of each phone list item;
Described usage frequency parameter memory module is the nonvolatile memory of mobile terminal user identification card or portable terminal.
From technical scheme of the present invention as seen, this method and the device of realizing professional intelligent telephone book function of classifying at portable terminal provided by the invention, use phone list item in the telephone directory to carry out the number of times and the temporal information of different business according to the user, each phone list item is added up according to different business classification carrying out usage frequency parameter value, and according to the big or small telephone directory that shows of the usage frequency parameter value of phone list item, make the user when doing the different business operation, the phone list item of normal use always comes the foremost, can save time and the number of operations that the user searches the phone list item greatly like this, user-friendly.
The present invention adopts adaptive frequency adjustment technology, when the usage frequency parameter value of statistics phone list item, introduces the frequency attenuation coefficient, has really realized the flexible adjustment of the usage frequency parameter of phone list item.And, because the introducing of frequency attenuation coefficient, make the statistics of usage frequency parameter value of phone list item in the long arbitrarily time, to continue to carry out, need not add up again according to the time interval.
In addition, the intelligent telephone book function that shows according to usage frequency of the present invention can be used with the method for manual ordering and other existing inquiry phone list item, makes this intelligent telephone book provided by the invention than general dynamic telephone book better practicality and effect be arranged.Simultaneously, the present invention has guaranteed also can make full use of this intelligent telephone book function behind the replacing portable terminal by increase the memory function of usage frequency parameter in SIM card, has realized the separation between machine and card memory function of intelligent telephone book.
Embodiment
For making purpose of the present invention, technical scheme and beneficial effect clearer, the invention will be further described below in conjunction with drawings and Examples.
Of the present inventionly realize the method and the device of professional intelligent telephone book function of classifying,, determine the usage frequency parameter value statistical of corresponding each the class business of each phone list item in the telephone directory by according to the business classification at portable terminal; Realize professional number of times or/and temporal information according to each phone list item in the telephone directory, utilize the usage frequency parameter value statistical of the different business of this phone list item of determining, calculate the usage frequency parameter value of the corresponding different business of this phone list item; Corresponding different business, usage frequency parameter value size according to the corresponding service of each phone list item shows telephone directory, realized that when the user uses portable terminal to realize that certain class is professional the phone list item that intelligent telephone book always will usage frequency be the highest in such business comes top purpose.
Referring to Fig. 1, Fig. 1 realizes the flow chart of the method for professional intelligent telephone book function of classifying for of the present invention at portable terminal, and this flow process comprises the steps:
Step 101 will realize intelligent telephone book function in portable terminal, at first will classify according to business, determines the usage frequency parameter value statistical of corresponding each the class business of each phone list item in the telephone directory.
The common end to end services of portable terminal comprises: make a phone call, send short messages (SMS) and Multimedia Message (MMS).Regard all end to end services as a class business, corresponding such the professional usage frequency parameter value statistical of certain phone list item can be represented with the stepping type in the formula (1).
q
n+1=q
n+k
1t+k
2c+k
3s+k
4m-k
5T (1)
Wherein, q
nRepresent the usage frequency parameter value that certain phone list item is carved at a time; q
N+1Represent the usage frequency parameter value after this phone list item elapsed time interval T; k
1, k
2, k
3, k
4The weight coefficient of representing air time, talk times, short message service, multimedia service respectively is a nonnegative number; k
5It is the frequency attenuation coefficient; After t represents the elapsed time interval T, the air time of portable terminal; C represents talk times; S represents the number of times that sends SMS message; M represents to send the number of times of Multimedia Message.Wherein talk times is only added up access or the Outgoing Call that actual success is connected, and does not add up the call conversation of failure.Time interval T only comprises the actual effectively available machine time of user, does not comprise user's unused time.
Set the initial usage frequency parameter value q of any one phone list item
0=0, and can not overflow for the assurance system, regulation usage frequency parameter value has upper and lower limit, and lower limit is defined as 0, higher limit Q
MaxCan determine according to the actual disposition situation, such as, may be prescribed as Q
Max=4096.
In statistical, introduce frequency attenuation coefficient k
5, be used to represent the usage frequency parameter value attenuation degree in time of phone list item.By introducing the frequency attenuation coefficient, realized the flexible adjustment of the usage frequency parameter of phone list item, make the statistics of phone list item frequency parameter in the long arbitrarily time, to continue to carry out, need not add up again according to the time interval.
A kind of mode of typical weight coefficient setting is exemplified below: suppose that 1 conversation and the 15 minute air time frequency effect of generation is identical, the frequency that once successful conversation produces is equivalent to 2 note operations and 1 multimedia message operation, and the frequency that a note operation produces was decayed in three days and finished.Based on above-mentioned supposition, k can be set so
1=3, k
2=3, k
3=3, k
4=6, k
5=1.Here the base of supposing the time t in the above-mentioned formula is 15 minutes, and the calculating according to a base of less than 15 minutes, and be a day fiducial time of T is if less than one day was calculated according to one day.
By increasing intelligent telephone book business statistics priority option is set at portable terminal, comprise that talk times preferentially adds up, the duration of call is preferentially added up, the short message number of times is preferentially added up, the Multimedia Message number of times such as preferentially adds up at four kinds of patterns, makes the user can adjust the weight coefficient of miscellaneous service: k according to the personal like
1, k
2, k
3, k
4
Referring to Fig. 2, Fig. 2 provides the operating process that the user realizes that priority is provided with for the user realizes the various function operations process schematic diagrames of intelligent telephone book of the present invention at portable terminal in Fig. 2 (a).The user at first enters the interface that intelligent telephone book is provided with, and selects statistics setting, can occur talk times on the interface and preferentially add up, the duration of call is preferentially added up, the short message number of times is preferentially added up, four kinds of patterns of the preferential statistics of Multimedia Message number of times, and the user can select the mode of preferential statistics as required.
When carrying out the priority setting, if determined the mode of preferential statistics, the weight coefficient of this operation parameter correspondence will enlarge integral multiple, is typically to enlarge 2 times.As, when described in front weight coefficient is provided with, if the user selects preferentially to add up according to talk times, the weight coefficient of talk times correspondence will become k so
1=6.
In fact be equivalent to not consider professional classification in the formula (1), when reality is determined the usage frequency parameter value statistical of each phone list item, can determine according to the business classification as required, generate the usage frequency parameter value of a plurality of corresponding different business classifications.For example, if talk business is called first kind business, note and Multimedia Message are called the second class business, and so according to formula (1), the corresponding every class business of each phone list item can define a usage frequency parameter value, is expressed as follows:
In the above-mentioned formula, the usage frequency parameter value statistical of formula (2) expression first kind business, the usage frequency parameter value statistical of formula (3) the expression second class business.
Professional classification can also determine that for example in the 3G epoch, can also adopt following professional mode classification: visual telephone service is considered as first kind business according to the situation of practical application, and common conversation is the second class business, and note and Multimedia Message are the third window.Therefore, in order to satisfy the needs of different business classification, in can being provided with in the intelligent telephone book pattern of portable terminal, increase the setting that the user is provided with different professional classification modes.The user realizes the operating process of different business classification setting, shown in Fig. 2 (b).The user at first enters the interface that intelligent telephone book is provided with, and selects grouping setting, multiple group mode can occur on the interface, and the user can select corresponding group mode as required.
Though according to the business that present portable terminal is supported, the parameter of several frequently seen business above only having enumerated, above-mentioned recursion method can expand in the more business.As shown in Equation (4), k
iBe the weight coefficient of the operation parameter correspondence of certain class of service, k
N+1It is attenuation coefficient.
Step 102, according to the number of times of the realization business that realizes professional phone list item in the telephone directory or/and temporal information, utilize the usage frequency parameter value statistical of the corresponding service classification of the corresponding phone list item of determining in the step 101, calculate the usage frequency parameter value of the corresponding service classification of corresponding phone list item.
In actual applications, the usage frequency parameter value of all phone list items that can each class business is corresponding is deposited with the mode of tabulation, generates a usage frequency parameter list.Referring to table 1, table 1 is a preferred embodiment of intelligent telephone book parameter list of the present invention.This table has been represented one according to the sorted tabulation of business, and it is consistent that the professional mode classification here and formula (2), (3) provide, and business is divided into two classes, and a kind of is conversational class, and a kind of is classes of messages.In this table, write down the time of upgrading last time, so portable terminal can carry out the timing renewal of usage frequency parameter list or the renewal that business operation causes according to the time of the actual passage of calculating.
The telephone directory index |
The telephone directory source |
Update time last time |
Usage frequency parameter value 1 (conversational class) |
Usage frequency parameter value 2 (classes of messages) |
1 |
1 (portable terminal) |
12:00 |
25 |
0 |
2 |
0 (line module) |
11:00 |
11 |
22 |
|
|
|
|
|
N-1 |
1 (portable terminal) |
0:00 |
0 |
0 |
N |
1 (portable terminal) |
0:00 |
0 |
0 |
Table 1
In fact the described step of step 102 is exactly to upgrade, safeguard the process of usage frequency parameter list, promptly, realize that according to realizing professional phone list item in the telephone directory professional number of times is or/and temporal information, utilize the usage frequency parameter value statistical of the corresponding service classification of the corresponding phone list item of determining in the step 101, calculate the usage frequency parameter value of the corresponding service classification of corresponding phone list item, the usage frequency parameter value of corresponding phone list item in the usage frequency parameter list of renewal corresponding service classification.
In order to realize intelligent telephone book function, most important is exactly to upgrade and safeguard the usage frequency parameter list.At any one constantly, the telephone directory of portable terminal can be to should there being an intelligent telephone book usage frequency parameter list,
When using portable terminal, the user successfully realizes business operation one time, such as having realized that once conversation or message send, portable terminal just upgrades according to the usage frequency parameter value of the described usage frequency parameter value of step 101 statistical to the corresponding phone list item so.At this time only upgrade by usage frequency parameter value with the classification of phone list item corresponding service.
Can upgrade once every the set time for the long-time phone list item that upgrades that do not produce,, generally can select upgrade once every day to guarantee the fail safe of each usage frequency parameter value.When the timer of portable terminal arrives the time, can once upgrade each list item in the usage frequency parameter list automatically.
There is exception to need to handle in the time of this external renewal,,, means that so this user seldom uses phone such as a week if portable terminal detects the user for a long time without any operation.Usage frequency for fear of all phone list items all decays to 0, and this moment, portable terminal was considered to enter idle state, and k is set automatically
5=0, the attenuation operations of expression usage frequency parameter stops since then, behind the once actual business operation of portable terminal, just reenters normal condition.
Step 103, corresponding different business classification shows telephone directory according to the usage frequency parameter value size of the corresponding service classification of each phone list item.
Portable terminal is according to the usage frequency parameter value of each phone list item real-time update in the usage frequency parameter list, according to the renewal of sorting in real time of each phone list item usage frequency parameter value size.Like this, when the user when carrying out business operation, search telephone number if desired, portable terminal just can offer the user according to the telephone directory after the ordering of the usage frequency parameter value of corresponding service size, thereby reaches the purpose that makes things convenient for the user to search.
If portable terminal when according to usage frequency parameter value size the phone list item being sorted, has the identical situation of usage frequency parameter value of several phone list items, regulation sorts to these list items according to telephone directory index value size.
When portable terminal carries out frequency statistics respectively according to class of service, correspondingly can generate a plurality of usage frequency parameter lists, when the user prepared to realize certain business operation, portable terminal can carry out according to the usage frequency parameter value of this class of service showing after the size ordering again so.As in formula (2), (3) described classification mode, talk business is divided into a class, and short message and multimedia messaging service, MMS are divided into a class.If the user is ready for sending short message, when sending, need select telephone directory, just need sort when telephone directory shows so according to the usage frequency parameter value that formula (3) calculate.
If during indeterminate current business operation type, portable terminal can use the usage frequency parameter value of an acquiescence to sort, the usage frequency parameter that produces such as basic talk business.When being simple browser phone book as the user, portable terminal can select usage frequency parameter value that formula (2) calculates to carry out the telephone directory ordering as the usage frequency parameter value of acquiescence.
After starting intelligent telephone book, when showing telephone directory always the usage frequency numerical values recited according to the phone list item sort.But the user may wish that sometimes the certain user is presented at the front, such as some VIP, in order to adapt to this demand, the function that the method for realization intelligent telephone book function of the present invention provides the usage frequency parameter value to adjust.When adjusting at first is to enter adjustment modes, allow the user to come the DISPLAY ORDER of mobile phone list item with key up and down then, such as the user DISPLAY ORDER of certain phone list item is moved between i phone list item and i+1 the phone list item, the usage frequency parameter value of this controlled phone list item is just adjusted according to formula (5) so:
q
*=(q
i+q
i+1)/2 (5)
If wish certain phone list item is directly adjusted to phone list foremost, then the usage frequency parameter value of this list item be adjusted into the upper limit of the usage frequency parameter value of regulation; The usage frequency parameter value of this list item is adjusted into the lower limit of the usage frequency parameter value of regulation if hope is directly adjusted to the phone list rearmost end with certain phone list item.
In addition, the manual adjustment of the order of phone list item also can divide into groups to carry out according to class of service, and shown in Fig. 2 (c), Fig. 2 (c) has provided the user and realized carrying out the operating process of manual adjustment by the business classification.The user at first enters the interface that intelligent telephone book is provided with, select manually ordering, different classs of service can occur on the interface, as conversational class, classes of messages, the user can select the corresponding business classification as required, and the phone list item of corresponding service classification is manually sorted.
Intelligent telephone book function provided by the invention also can be used with other query manipulations, simplifies query script.General portable terminal is all supported to carry out the search operaqtion of phone list item according to phonetic or stroke etc., and w represents preferentially to search the phone list that the w letter is taken the lead such as input.But the Telephone Assembly that checks out so still may be a lot.This moment, portable terminal was when showing the retrieval set, can carry out two minor sorts according to the frequency information of table 1, that is to say that the phone list item that guarantees in the phone that the w letter takes the lead the most frequent use comes the foremost of phone list, so just can significantly reduce the touch potential of query manipulation, user-friendly.Referring to Fig. 3, Fig. 3 has provided the DISPLAY ORDER schematic diagram before and after intelligent telephone book two minor sorts, and wherein Fig. 3 (a) is the DISPLAY ORDER of regular phone book according to letter sequence; Fig. 3 (b) carries out DISPLAY ORDER two minor sorts after according to usage frequency parameter value size to the letter sequence result for intelligent telephone book.
Nonvolatile memory stores usage frequency parameter list is used in intelligent telephone book function support provided by the invention.For the telephone directory of portable terminal, some telephone directory is stored in the portable terminal, and some is stored in the Subscriber Identity Module.Therefore when portable terminal is in off-mode, after shutdown, still exist, need deposit the usage frequency parameter value in the nonvolatile memory in order to guarantee the usage frequency parameter value.When telephone directory derives from portable terminal, when perhaps Subscriber Identity Module is not supported intelligent telephone book, the usage frequency parameter value is stored in the nonvolatile memory that portable terminal carries.When telephone directory derives from Subscriber Identity Module, and Subscriber Identity Module is when supporting intelligent telephone book, the usage frequency parameter value deposited in the Subscriber Identity Module go.
Frequency loss of data in order to prevent that accident power-off from causing in addition, also need to carry out the timing storage, this time can regularly be upgraded the usage frequency parameter with the front and be combined, the time of upgrading can be set arbitrarily, generally proper once a day, after having upgraded the usage frequency parameter value, just store.
Behind mobile communication terminal when startup, when reading telephone directory, the usage frequency parameter value of each phone list item of corresponding different business classification also can be read in the portable terminal, if changed the Subscriber Identity Module of not supporting intelligent telephone book after the user shuts down, the usage frequency parameter value that reads each phone list item of the corresponding different business classification in the portable terminal so will be initialized to 0.
The method of realization intelligent telephone book function provided by the invention is supported the opening and closing of intelligent telephone book function, allow the user to set whether open intelligent telephone book function by config option, this function is closed the data of back usage frequency parameter list and will no longer be upgraded according to foregoing formula, and no longer sorts by frequency when telephone directory shows.This opening and closing function operations process is shown in Fig. 2 (d).The user at first enters the interface that intelligent telephone book is provided with, and selects to open to be provided with, and can occur two selections of opening and closing on the interface, and the user can select to open or close intelligent telephone book function.
Referring to Fig. 4, Fig. 4 realizes the structural representation of a preferred embodiment of the device of professional intelligent telephone book function of classifying at portable terminal for the present invention.As shown in Figure 4, this device comprises following a few part:
Customer service operation statistics and timing module 401, frequency attenuation coefficient processing module 402, usage frequency parameter computing module 403, telephone directory display module 404 and usage frequency parameter value memory module 405.
Wherein customer service operation statistics and timing module 401 are used to add up business operation number of times and the time information that the user carries out, such as talk times, air time, note number of times etc., and these information are sent to usage frequency parameter computing module 403 and frequency attenuation coefficient processing module 402.
Its business operation number of times that provides according to described customer service operation statistics and timing module of frequency attenuation coefficient module 402 and time information is determined and storage frequency attenuation coefficient, and the frequency attenuation coefficient of determining is sent to usage frequency parameter computing module 403.When initial, this coefficient is set at a positive number by user or manufacturer, the information that sends according to customer service operation statistics and timing module 401 when frequency attenuation coefficient processing module 402 judges that all phone list items are in preset threshold value in the time during without any operation, as week age, it is 0 that frequency attenuation coefficient processing module 402 will be provided with the frequency attenuation coefficient, when having the phone list item successfully to realize professional behaviour again, the frequency attenuation coefficient is set to positive number again.
Usage frequency parameter computing module 403 utilizes customer service number of operations and temporal information, the frequency attenuation coefficient of frequency attenuation coefficient processing module 402 inputs and the professional weight coefficient of user's input of customer service operation statistics and timing module 501 inputs, calculate the usage frequency parameter value of corresponding different business by usage frequency parameter value recurrence formula, and result of calculation is sent to telephone directory display module 404.
The usage frequency parameter value of each phone list item that telephone directory display module 404 is used for relatively receiving shows telephone directory according to the size of the usage frequency parameter value of each phone list item.
This module also was used in fixed interval after the time, as 1 day, the usage frequency parameter value that does not produce the phone list item that upgrades is upgraded, and the usage frequency parameter value of each the phone list item after will upgrading sent to usage frequency parameter value memory module 405.
Usage frequency parameter value memory module 405 is used to store the usage frequency parameter value of each phone list item.This module can be the mobile terminal user identification card, also can be the nonvolatile memory of portable terminal.
Frequency attenuation coefficient module 402 in the present embodiment also can be omitted in actual applications, here, the purpose that adds this module is: can adjust the usage frequency parameter value of each phone list item neatly, make the usage frequency parameter value statistics of each phone list item to carry out in long-time arbitrarily.
Usage frequency parameter value memory module 405 in the present embodiment also can be omitted in actual applications, here, the purpose that adds this module is: even guarantee to have changed portable terminal, still can make full use of intelligent telephone book function provided by the invention, realize the separation between machine and card memory function of intelligent telephone book.
In a word, the above is preferred embodiment of the present invention only, is not to be used to limit protection scope of the present invention.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.