CN101986672A - Message processing method and device - Google Patents

Message processing method and device Download PDF

Info

Publication number
CN101986672A
CN101986672A CN2010105360378A CN201010536037A CN101986672A CN 101986672 A CN101986672 A CN 101986672A CN 2010105360378 A CN2010105360378 A CN 2010105360378A CN 201010536037 A CN201010536037 A CN 201010536037A CN 101986672 A CN101986672 A CN 101986672A
Authority
CN
China
Prior art keywords
card information
field
place
fixed telephone
telephone number
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2010105360378A
Other languages
Chinese (zh)
Other versions
CN101986672B (en
Inventor
董军波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN201010536037.8A priority Critical patent/CN101986672B/en
Publication of CN101986672A publication Critical patent/CN101986672A/en
Priority to PCT/CN2011/071994 priority patent/WO2012062079A1/en
Application granted granted Critical
Publication of CN101986672B publication Critical patent/CN101986672B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/26Devices for calling a subscriber
    • H04M1/27Devices whereby a plurality of signals may be stored simultaneously
    • H04M1/274Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc
    • H04M1/2745Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc using static electronic memories, e.g. chips
    • H04M1/27453Directories allowing storage of additional subscriber data, e.g. metadata
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/26Devices for calling a subscriber
    • H04M1/27Devices whereby a plurality of signals may be stored simultaneously
    • H04M1/274Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc
    • H04M1/2745Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc using static electronic memories, e.g. chips
    • H04M1/27453Directories allowing storage of additional subscriber data, e.g. metadata
    • H04M1/27457Management thereof, e.g. manual editing of data

Landscapes

  • Engineering & Computer Science (AREA)
  • Library & Information Science (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention discloses a message processing method and device which are used for identifying an abnormal number message in a business card message and generating a corresponding promote message. The message processing method provided by the invention comprises the following steps: determining a file for saving the business card message; acquiring the business card message from the file and determining the number filed in the business card message; judging whether numbers contained in the number filed in the business card message conforms to a preset condition; and using the business card message to which the numbers not meeting the preset condition belong so as to generate the promote message.

Description

A kind of information processing method and device
Technical field
The present invention relates to communication technical field, relate in particular to a kind of information processing method and device.
Background technology
Progress along with science and technology, the function of mobile phone terminal from strength to strength, and phone directory is as one of most important basic function of mobile phone terminal, be subjected to the attention of each mobile phone terminal manufacturer, storable capacity is increasing in the phone directory, and the card information of the phone directory in the user mobile phone is also more and more, and can there be some abnormal card informations in the card information in the subscriber phone basis, for example card information is imperfect, or incorrect etc.Concrete condition is for example:
One, the user is in order to write down someone name, has only name not have number and be stored in the card information in the phone directory temporarily; Perhaps,
Two, only store number temporarily and do not stored name; Perhaps,
Three, because the user dredges, make that the figure place of stored phone number is incorrect, few defeated or failed one more; Or the figure place of storage fixed telephone number is incorrect, few input or imported or the like more;
Above-mentioned these situations make troubles for the user in periodic traffic, such as for above-mentioned first and second kind situation, after the user has stored these card informations temporarily, use never again later on, but these card informations are seized of valuable system resource, the business card quantity that the one side user can use can reduce, if this category information is too much on the other hand, for non intelligent mobile phone or the less mobile phone of Installed System Memory, can make the execution speed of cellphone directory and related application thereof (such as functions such as conversation, message registration, notes) slack-off, influence user experience.For the third situation, if defeated less or imported one when the user preserves number, this telephone number will be disabled, cause customer contact less than the people who wants to get in touch more.
Summary of the invention
The embodiment of the invention provides a kind of information processing method and device, in order to identifying abnormal number information in the card information, and generates corresponding prompt information.
A kind of information processing method that the embodiment of the invention provides comprises:
Be identified for preserving the file of card information;
From described file, obtain card information, and determine number field wherein;
Judge whether the number that comprises in the number field in the card information meets pre-conditioned;
Utilization does not meet the card information under the pre-conditioned number, generates information.
A kind of information processor that the embodiment of the invention provides comprises:
The file determining unit is used to be identified for preserving the file of card information;
The card information acquiring unit is used for obtaining card information from described file;
The number field determining unit is used for determining the number field of card information;
Judging unit is used for judging whether the number that comprises in the number field of card information meets pre-conditioned;
Processing unit is used to utilize do not meet the affiliated card information of pre-conditioned number, generates information.
The embodiment of the invention is identified for preserving the file of card information; From described file, obtain card information, and determine number field wherein; Judge whether the number that comprises in the number field in the card information meets pre-conditioned; Utilization does not meet the card information under the pre-conditioned number, generates information, thereby can identify abnormal number information in the card information, and generate corresponding prompt information.
Description of drawings
The schematic flow sheet of a kind of information processing method that Fig. 1 provides for the embodiment of the invention;
The schematic flow sheet of a kind of information processing method that Fig. 2 provides for the embodiment of the invention;
The schematic flow sheet of a kind of information processing method that Fig. 3 provides for the embodiment of the invention;
The structural representation of the information processor that Fig. 4 provides for the embodiment of the invention;
The structural representation of the judging unit in the information processor that Fig. 5 provides for the embodiment of the invention.
Embodiment
The embodiment of the invention provides a kind of information processing method and device, imperfect or incorrect information (can be number information in the card information in order to identify, also can be name information), and generate corresponding prompt information, make the user in time to handle to abnormal card information.
Below in conjunction with accompanying drawing the technical scheme part that the embodiment of the invention provides is described.
Referring to Fig. 1, a kind of information processing method that the embodiment of the invention provides comprises step:
S101, be identified for preserving the file of card information.
S102, from described file, obtain card information, and determine number field wherein.
S103, judge whether the number that comprises in the number field in the card information meets pre-conditioned.
S104, utilization do not meet the card information under the pre-conditioned number, generate information.
Preferably, described information comprises the card information that does not meet pre-conditioned number (number is incorrect or imperfect), can be whole card information, also can only comprise the name in the card information and corresponding not meet pre-conditioned number.Select such card information is deleted or operation such as editor for the user.
Preferably, described to judge whether the number that comprises in the number field in the card information meets pre-conditioned, comprising:
Number classification under the number of determining to comprise in the number field in the card information.
Judge the figure place of the number that comprises in the number field in the card information, whether with this number under the corresponding number length of number classification be complementary.
Preferably, the number classification that sets in advance comprises: phone number, local fixed telephone number, strange land fixed telephone number.
Preferably, the number classification under the number that comprises in the number field in described definite card information comprises:
Determine that the number that comprises in the number field in the card information is phone number or fixed telephone number;
When the number that comprises in the number field in determining card information is fixed telephone number, determine that this number is local fixed telephone number or strange land fixed telephone number.
Preferably, the number that comprises in the number field in described definite card information is phone number or fixed telephone number, comprising:
Whether first bit digital of judging the number that comprises in the number field in the card information is 1, if, determine that then the number that comprises in this number field is a phone number, otherwise, determine that the number that comprises in this number field is a fixed telephone number.
Preferably, when the number that comprises in the number field in determining card information is fixed telephone number, determine that this number is local fixed telephone number or strange land fixed telephone number, comprising:
When the number that comprises in the number field in determining card information is fixed telephone number, judge whether first bit digital of this number is 0, if determine that then this number is the strange land fixed telephone number; Otherwise, determine that this number is local fixed telephone number.
Preferably, when the number that comprises in the number field in determining card information is cell-phone telephone number, judge the figure place of this number, whether with this number under the step that is complementary of the corresponding number length of number classification comprise:
Judge the number that comprises in the number field in the card information, whether identical with the corresponding number length of cell-phone telephone number.
Preferably, when the number that comprises in the number field in determining card information is the strange land fixed telephone number, judge the figure place of this number, whether with this number under the step that is complementary of the corresponding number length of number classification comprise:
Front three or preceding four item sign indicating numbers with the number that comprises in the number field in the card information are defined as area code;
By searching the corresponding relation tabulation of default area code and telephone number figure place, determine the telephone number figure place of described area code correspondence;
Judge the telephone number figure place of area code correspondence described in the tabulation of described corresponding relation, whether with card information in number field in the figure place of the number except area code that comprises identical.
Preferably, when the number that comprises in the number field in determining card information is local fixed telephone number, judge the figure place of this number, whether with this number under the step that is complementary of the corresponding number length of number classification comprise:
Be identified for preserving the user ID of the equipment of described file;
Determine the area code corresponding with described user ID;
By searching the corresponding relation tabulation of default area code and telephone number figure place, determine the telephone number figure place of this area code correspondence;
Judge the telephone number figure place of area code correspondence described in the tabulation of described corresponding relation, whether with card information in number field in the figure place of the number that comprises identical.
Preferably, after the file that is used for preserving card information obtains card information, also comprise:
Determine the name field in the card information;
When name field in determining card information and/or number field are empty, utilize this card information, generate information.
Described information comprises the card information of all information imperfect (name field and/or number field for empty), selects these card informations are deleted or operation such as editor for the user.
Being used to described in the embodiment of the invention preserved the file of card information, can be the phone directory file in the mobile phone, also can be the database file in other equipment.
The technical scheme that the embodiment of the invention provides can be applied in the mobile phone terminal, also can be applied in the intercom, can also be applied in the equipment such as computer.
Provide the explanation of the concrete scheme that the embodiment of the invention provides below.
The embodiment of the invention can be divided into two classes to the abnormal business card of information and handle, and specifically is exemplified below:
The first kind: for the processing of the incorrect card information of memory mobile phone number length, for example the phone number or the fixed telephone number figure place of user's preservation are incorrect, lack input or have imported one or more numerals etc. more.
Phone number is different with the fixed telephone number figure place, and therefore how active zone divides cell-phone number sign indicating number and fixed telephone number, is the problem that the embodiment of the invention need solve; Moreover fixed telephone number is different with phone number, and phone number is 11 in China's unification, but fixed telephone number, in different areas, number length may be different, therefore when judging the figure place of fixed telephone number, must know the figure place of the on-site fixed telephone number of number.
Distinguish phone number and fixed telephone number, the method master who adopts in the embodiment of the invention judges according to the characteristics of phone number and fixed telephone number, whether first that promptly judges number be " 1 ", if be " 1 " then think phone number, otherwise thinks fixed telephone number.
During the figure place of fixed telephone number of difference different regions, the solution that the embodiment of the invention provides is to set up a database table in advance, is used to store the corresponding relation of area code and number length, and for example: area code is 029, and then Dui Ying number length is 8.The figure place of promptly representing the fixed telephone number in Xi'an is 8.For other areas, corresponding number length may be 7, also may be 6, or the like.
When the telephone number under the some number field in judging card information was fixed telephone number, it was local fixed telephone number that the embodiment of the invention also will be distinguished, or the strange land fixed telephone number.Because, the user can preserve area code when the fixed telephone number of storage strange land together, therefore the strange land fixed telephone number of preserving for phone directory can have area code (certainly, local fixed telephone number also can be with area code), and for China, area code all starts with " 0 ", so when distinguishing local fixed telephone number and strange land fixed telephone number, what the embodiment of the invention adopted is to judge whether first bit digital of number is " 0 ", being then to think the strange land fixed telephone number, is not then to think local fixed telephone number.Certainly, for the local fixed telephone number of band area code,, also can determine whether its number length is correct by inquiring about the database table that the embodiment of the invention provides even be judged as the strange land fixed telephone number.
For local landline telephone, can be by preceding 7 of subscriber phone number, discern the area code of the on-site telephone number of subscriber phone number, thereby by searching database table, determine the telephone number figure place of local area code correspondence, whether identical with the figure place of this this locality fixed telephone number in the card information.
For the strange land fixed telephone number, at first preceding 3 or 4 (area code of the telephone number in China area is generally 3 or 4 bit digital) of this strange land fixed telephone number are determined the area code in this strange land fixed telephone number, in the figure place of database table by area code coupling fixed telephone number.
Second class: do not have number at the name that has only that is stored in the phone directory temporarily, or have only number not have the processing of the card information of name.
For this situation, main by name (AEE_ADDRFIELD_NAME) field to card information, and the content of number field (AEE_ADDRFIELD_PHONE_WORK|AEE_ADDRFIELD_PHONE_HOME|AE E_ADDRFIELD_PHONE_CELL|AEE_ADDRFIELD_PHONE_GENERIC) is judged.For name field,, then the business card of correspondence is picked out if field information is sky, " no name ", " No name " etc.For number field,, then the business card of correspondence is picked out if field information is empty.
With the CDMA mobile phone is example, and referring to Fig. 2, a kind of information processing method that the embodiment of the invention provides comprises step:
S201, initialization according to the name information under the name field in the card information in the phone directory, according to the order of ASCII character table, are sorted to the business card that is kept in the phone directory.
For example, name is " A ", and then the business card with this name correspondence makes number one.
This step S201 can not carry out yet.
S202, from article one business card of phone directory, judge whether there is card information in the current business card, if having card information then execution in step S203, otherwise, illustrate all business cards of this phone directory are searched to finish loop ends, execution in step S212.
S203, judge whether there is number field in the current business card, if then extract the number in the number field, then execution in step S204; Otherwise, continue to search next bar business card, and execution in step S202.
Particularly, can all fields in the current business card be traveled through,, judge whether current field is number field by the Database field attribute.
The effect of step S203 finds out the number field in each business card exactly, and with the content in the number field, promptly telephone number extracts.
Because in the same business card a plurality of number field can be arranged, the corresponding a plurality of telephone numbers of promptly same name, phone number for example, fixed telephone number etc.
S204, judge whether the number in the current number field is phone number, the standard of judgement is to see whether first of number is " 1 ", if be " 1 ", then think phone number, execution in step S205, otherwise, think fixed telephone number, execution in step S206.
S205, judge whether the figure place of current phone number is 11, if, then continue to search next bar business card, and execution in step S202, investigate next bar card information, otherwise, illustrate that this number is problematic number, execution in step S211, the sign (generally identifying with numeral) with the business card at this number place in step S211 is inserted in the global vector table.
S206, judge whether current fixed telephone number is local fixed telephone number, basis for estimation is whether first of current fixed telephone number is " 0 ", if think that then it is the strange land fixed telephone number, execution in step S209; Otherwise, think that it is local fixed telephone number, execution in step S207.
S207, by subscriber phone number preceding 7 find the on-site area code of this phone number, and the figure place of searching the fixed telephone number of this area code correspondence from database, execution in step S208 then.
The figure place of the fixed telephone number that S208, comparison step S207 find, whether the figure place of the local fixed telephone number of judging with step S206 equates, equal then continue to search next bar business card, and execution in step S202, if it is unequal, then the local fixed telephone number judged of description of step S206 is for there being the problem number, and execution in step S211 then is inserted into the sign of the business card at the local fixed telephone number place of step S206 judgement in the global vector table.
S209, judge that by step S206 current fixed telephone number is the strange land fixed telephone number, then at first pass through preceding 3 or 4 (area codes) of this strange land fixed telephone number, from database table, find the figure place of the fixed telephone number of this area code correspondence, then execution in step S210.
S210, judge the figure place of removing the number after the area code in the fixed telephone number of current strange land, whether equate with the figure place of the telephone number of from database table, finding by step S209, equal then continue to search next bar business card, and execution in step S202, if it is unequal, then the strange land fixed telephone number judged of description of step S206 is problematic number, execution in step S211, and the sign of the business card at the fixed telephone number place, strange land that step S206 is judged is inserted in the global vector table.
The sign of S211, business card that all number informations that search among step S205, step S208, the step S210 are wrong is inserted in the global vector table.
S212, circulation searching finish, and discharge memory headroom, according to all business card signs that write down in the global vector table, find corresponding card information, and generate the card information tabulation, the user is exported in this card information tabulation, and can point out processing such as the user deletes, editor.
User's feelings that obtain can burning behind the infull business card of information are handled, and can delete for the few names of those interim storages or the business card of number, can look into just laggard edlin for the incorrect business card of number length and revise.
Do not have number at having name, or have number not have name, the perhaps incomplete card information that all do not have of number and name, referring to Fig. 3, a kind of information processing method that the embodiment of the invention provides comprises step:
S301, search the card information in the phone directory.
Particularly, first business card from phone directory begins, and searches each card information successively.
S302, judge whether name field in the current business card and/or the content in the number field are empty, if, execution in step S303 then; Otherwise, execution in step S304.
S303, the sign of current business card is added in the default overall vector lists.
S304, judge whether to exist next business card, if, execution in step S301 then; Otherwise, execution in step S305.
S305, utilize the sign of the business card that writes down in the overall vector lists, extract corresponding card information, and generate the card information tabulation, export to the user.
Certainly, the embodiment of the invention also can judge that name field and/or the content in the number field in the current business card are under the situation of sky at step S302, deletes all information in this business card from phone directory automatically, promptly empties this business card.
Referring to Fig. 4, a kind of information processor that the embodiment of the invention provides comprises:
File determining unit 101 is used to be identified for preserving the file of card information.
Card information acquiring unit 102 is used for obtaining card information from described file.
Number field determining unit 103 is used for determining the number field of card information.
Judging unit 104 is used for judging whether the number that comprises in the number field of card information meets pre-conditioned.
Processing unit 105 is used to utilize do not meet the affiliated card information of pre-conditioned number, generates information.
Preferably, referring to Fig. 5, described judging unit 104 comprises:
Number classification recognition unit 201, the number classification under the number that is used for determining to comprise in the number field of card information;
Figure place judging unit 202 is used for judging the figure place of the number that comprises in the number field of card information, whether with this number under the corresponding figure place of number classification identical.
Preferably, described number classification recognition unit 201 comprises:
First recognition unit 301 is used for determining that the number that comprises in the number field of card information is phone number or fixed telephone number;
Second recognition unit 302 is used for determining that this number is local fixed telephone number or strange land fixed telephone number when the number that comprises in the number field of determining card information is fixed telephone number.
Preferably, described first recognition unit 301 judges whether first bit digital of the number that comprises in the number field in the card information is 1, if, determine that then the number that comprises in this number field is a phone number, otherwise, determine that the number that comprises in this number field is a fixed telephone number.
Preferably, described second recognition unit 302 when the number that comprises in the number field in determining card information is fixed telephone number, judges whether first bit digital of this number is 0, if determine that then this number is the strange land fixed telephone number; Otherwise, determine that this number is local fixed telephone number.
Preferably, when the number that comprises in the number field that described second recognition unit 302 is determined in the card information is the strange land fixed telephone number,
Described figure place judging unit 202 according to the front three or the preceding 4-digit number of the number that comprises in the number field in the card information, is determined the area code that this number is affiliated; By searching the corresponding relation tabulation of default area code and telephone number figure place, determine the telephone number figure place of this area code correspondence; Figure place by the number that will comprise in the number field in this telephone number figure place and the card information compares, the figure place of judging the number that comprises in the number field in the card information whether with this number under the corresponding figure place of number classification identical.
Preferably, when the number that comprises in the number field that described second recognition unit 302 is determined in the card information is local fixed telephone number,
Described figure place judging unit 202 is identified for preserving the user ID of the equipment of described file; Determine the area code corresponding with described user ID; By searching the corresponding relation tabulation of default area code and telephone number figure place, determine the telephone number figure place of this area code correspondence; Figure place by the number that will comprise in the number field in this telephone number figure place and the card information compares, the figure place of judging the number that comprises in the number field in the card information whether with this number under the corresponding figure place of number classification identical.
Preferably, this device also comprises:
Name field determining unit 106 is used for determining the name field of card information;
Null field recognition unit 107 is used for determining whether the name field of card information and/or number field are empty;
When name field in determining card information and/or number field were empty, described processing unit 105 utilized this card information, generated information.
In the embodiment of the invention, also can constitute an information processor by file determining unit 101, card information acquiring unit 102, number field determining unit 103, processing unit 105, name field determining unit 106 and null field recognition unit 107, be used for the identification of the name field of card information and/or the number field card information when empty is handled.
In sum, the embodiment of the invention provides a kind of the card information of storing in the equipment such as communication terminal has been carried out the scheme that Intelligent Recognition is handled, can help the user to find the not business card of complete (or incorrect) of information on the Da Cheng very much, this class business card may be to have only name not have number, have only number not have name, number input outlier (few input or many inputs), the existence of these business cards, may influence on the one hand the speed of service of equipment, the opposing party can cause the user can't use this card information carrying out information interaction.And the technical scheme that adopts the embodiment of the invention to provide, the user can in time find abnormal card information, makes handling timely, such as deleting those interim business cards of preserving, those numbers is imported problematic business card in time correct.
Those skilled in the art should understand that embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt complete hardware embodiment, complete software implementation example or in conjunction with the form of the embodiment of software and hardware aspect.And the present invention can adopt the form that goes up the computer program of implementing in one or more computer-usable storage medium (including but not limited to magnetic disc store and optical memory etc.) that wherein include computer usable program code.
The present invention is that reference is described according to the flow chart and/or the block diagram of method, equipment (system) and the computer program of the embodiment of the invention.Should understand can be by the flow process in each flow process in computer program instructions realization flow figure and/or the block diagram and/or square frame and flow chart and/or the block diagram and/or the combination of square frame.Can provide these computer program instructions to the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device to produce a machine, make the instruction of carrying out by the processor of computer or other programmable data processing device produce to be used for the device of the function that is implemented in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame appointments.
These computer program instructions also can be stored in energy vectoring computer or the computer-readable memory of other programmable data processing device with ad hoc fashion work, make the instruction that is stored in this computer-readable memory produce the manufacture that comprises command device, this command device is implemented in the function of appointment in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame.
These computer program instructions also can be loaded on computer or other programmable data processing device, make on computer or other programmable devices and to carry out the sequence of operations step producing computer implemented processing, thereby the instruction of carrying out on computer or other programmable devices is provided for being implemented in the step of the function of appointment in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.

Claims (16)

1. an information processing method is characterized in that, this method comprises:
Be identified for preserving the file of card information;
From described file, obtain card information, and determine number field wherein;
Judge whether the number that comprises in the number field in the card information meets pre-conditioned;
Utilization does not meet the card information under the pre-conditioned number, generates information.
2. method according to claim 1 is characterized in that, described to judge whether the number that comprises in the number field in the card information meets pre-conditioned, comprising:
Number classification under the number of determining to comprise in the number field in the card information;
Judge the figure place of the number that comprises in the number field in the card information, whether with this number under the corresponding number length of number classification be complementary.
3. method according to claim 2 is characterized in that, the number classification under the number that comprises in the number field in described definite card information comprises:
Determine that the number that comprises in the number field in the card information is phone number or fixed telephone number;
When the number that comprises in the number field in determining card information is fixed telephone number, determine that this number is local fixed telephone number or strange land fixed telephone number.
4. method according to claim 3 is characterized in that, the number that comprises in the number field in described definite card information is phone number or fixed telephone number, comprising:
Whether first bit digital of judging the number that comprises in the number field in the card information is 1, if, determine that then the number that comprises in this number field is a phone number, otherwise, determine that the number that comprises in this number field is a fixed telephone number.
5. according to claim 3 or 4 described methods, it is characterized in that, when the number that comprises in the number field in determining card information is fixed telephone number, determine that this number is local fixed telephone number or strange land fixed telephone number, comprising:
When the number that comprises in the number field in determining card information is fixed telephone number, judge whether first bit digital of this number is 0, if determine that then this number is the strange land fixed telephone number; Otherwise, determine that this number is local fixed telephone number.
6. method according to claim 5, it is characterized in that, when the number that comprises in the number field in determining card information is the strange land fixed telephone number, judge the figure place of this number, whether with this number under the step that is complementary of the corresponding number length of number classification comprise:
Front three or preceding four item sign indicating numbers with the number that comprises in the number field in the card information are defined as area code;
By searching the corresponding relation tabulation of default area code and telephone number figure place, determine the telephone number figure place of described area code correspondence;
Judge the telephone number figure place of area code correspondence described in the tabulation of described corresponding relation, whether with card information in number field in the figure place of the number except area code that comprises identical.
7. method according to claim 5, it is characterized in that, when the number that comprises in the number field in determining card information is local fixed telephone number, judge the figure place of this number, whether with this number under the step that is complementary of the corresponding number length of number classification comprise:
Be identified for preserving the user ID of the equipment of described file;
Determine the area code corresponding with described user ID;
By searching the corresponding relation tabulation of default area code and telephone number figure place, determine the telephone number figure place of this area code correspondence;
Judge the telephone number figure place of area code correspondence described in the tabulation of described corresponding relation, whether with card information in number field in the figure place of the number that comprises identical.
8. method according to claim 1 is characterized in that, obtains from described file after the card information, and this method also comprises:
Determine the name field in the card information;
When name field in determining card information and/or number field are empty, utilize this card information, generate information.
9. an information processor is characterized in that, this device comprises:
The file determining unit is used to be identified for preserving the file of card information;
The card information acquiring unit is used for obtaining card information from described file;
The number field determining unit is used for determining the number field of card information;
Judging unit is used for judging whether the number that comprises in the number field of card information meets pre-conditioned;
Processing unit is used to utilize do not meet the affiliated card information of pre-conditioned number, generates information.
10. device according to claim 9 is characterized in that, described judging unit comprises:
Number classification recognition unit, the number classification under the number that is used for determining to comprise in the number field of card information;
The figure place judging unit is used for judging the figure place of the number that comprises in the number field of card information, whether with this number under the corresponding figure place of number classification identical.
11. device according to claim 10 is characterized in that, described number classification recognition unit comprises:
First recognition unit is used for determining that the number that comprises in the number field of card information is phone number or fixed telephone number;
Second recognition unit is used for determining that this number is local fixed telephone number or strange land fixed telephone number when the number that comprises in the number field of determining card information is fixed telephone number.
12. device according to claim 11, it is characterized in that, described first recognition unit, whether first bit digital of judging the number that comprises in the number field in the card information is 1, if, determine that then the number that comprises in this number field is a phone number, otherwise, determine that the number that comprises in this number field is a fixed telephone number.
13. according to claim 11 or 12 described devices, it is characterized in that, described second recognition unit, when the number that comprises in the number field in determining card information is fixed telephone number, whether first bit digital of judging this number is 0, if determine that then this number is the strange land fixed telephone number; Otherwise, determine that this number is local fixed telephone number.
14. device according to claim 13 is characterized in that, when the number that comprises in described second recognition unit is determined number field in the card information is the strange land fixed telephone number,
Described figure place judging unit according to the front three or the preceding 4-digit number of the number that comprises in the number field in the card information, is determined the area code that this number is affiliated; By searching the corresponding relation tabulation of default area code and telephone number figure place, determine the telephone number figure place of this area code correspondence; Figure place by the number that will comprise in the number field in this telephone number figure place and the card information compares, the figure place of judging the number that comprises in the number field in the card information whether with this number under the corresponding figure place of number classification identical.
15. device according to claim 13 is characterized in that, when the number that comprises in described second recognition unit is determined number field in the card information is local fixed telephone number,
Described figure place judging unit is identified for preserving the user ID of the equipment of described file; Determine the area code corresponding with described user ID; By searching the corresponding relation tabulation of default area code and telephone number figure place, determine the telephone number figure place of this area code correspondence; Figure place by the number that will comprise in the number field in this telephone number figure place and the card information compares, the figure place of judging the number that comprises in the number field in the card information whether with this number under the corresponding figure place of number classification identical.
16. device according to claim 9 is characterized in that, this device also comprises:
The name field determining unit is used for determining the name field of card information;
The null field recognition unit is used for determining whether the name field of card information and/or number field are empty;
When name field in determining card information and/or number field were empty, described processing unit utilized this card information, generated information.
CN201010536037.8A 2010-11-08 2010-11-08 Message processing method and device Expired - Fee Related CN101986672B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201010536037.8A CN101986672B (en) 2010-11-08 2010-11-08 Message processing method and device
PCT/CN2011/071994 WO2012062079A1 (en) 2010-11-08 2011-03-21 Method and device for processing information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010536037.8A CN101986672B (en) 2010-11-08 2010-11-08 Message processing method and device

Publications (2)

Publication Number Publication Date
CN101986672A true CN101986672A (en) 2011-03-16
CN101986672B CN101986672B (en) 2014-04-09

Family

ID=43710975

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010536037.8A Expired - Fee Related CN101986672B (en) 2010-11-08 2010-11-08 Message processing method and device

Country Status (2)

Country Link
CN (1) CN101986672B (en)
WO (1) WO2012062079A1 (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012062079A1 (en) * 2010-11-08 2012-05-18 中兴通讯股份有限公司 Method and device for processing information
CN104902056A (en) * 2015-05-28 2015-09-09 广东欧珀移动通信有限公司 Method and device for storing phone number, and mobile communication terminal
CN105589973A (en) * 2016-01-17 2016-05-18 浙江维融电子科技股份有限公司 Efficient blacklist search method
CN106358220A (en) * 2015-07-17 2017-01-25 腾讯科技(深圳)有限公司 Detection method of abnormal contact person information, device and system
CN106791230A (en) * 2015-11-25 2017-05-31 小米科技有限责任公司 Telephone number recognition methods and device
CN107463543A (en) * 2016-06-03 2017-12-12 索闻博识科技(北京)有限公司 A kind of form information input method and equipment
CN108089811A (en) * 2017-12-12 2018-05-29 福建中金在线信息科技有限公司 Characters input method and device
CN112995351A (en) * 2019-12-16 2021-06-18 天翼智慧家庭科技有限公司 Temporary electronic business card service method and system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1241864A (en) * 1998-06-22 2000-01-19 三星电子株式会社 Automatic dialing method in telephone terminal
CN101119367A (en) * 2007-08-22 2008-02-06 中兴通讯股份有限公司 System and method for implementing communication terminal incoming call firewall
CN101207872A (en) * 2006-12-22 2008-06-25 英业达股份有限公司 Method and system for storing mobile telephone book
CN100525336C (en) * 2007-05-22 2009-08-05 华为技术有限公司 Number matching method and terminal
KR100931736B1 (en) * 2008-09-29 2009-12-29 주식회사 케이티 Method for managing the phonebook information storing in smart card using smart card web server and the phonebook information management server thereof
CN101651864A (en) * 2008-08-14 2010-02-17 比亚迪股份有限公司 Method for managing file in mobile terminal and mobile terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101986672B (en) * 2010-11-08 2014-04-09 中兴通讯股份有限公司 Message processing method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1241864A (en) * 1998-06-22 2000-01-19 三星电子株式会社 Automatic dialing method in telephone terminal
CN101207872A (en) * 2006-12-22 2008-06-25 英业达股份有限公司 Method and system for storing mobile telephone book
CN100525336C (en) * 2007-05-22 2009-08-05 华为技术有限公司 Number matching method and terminal
CN101119367A (en) * 2007-08-22 2008-02-06 中兴通讯股份有限公司 System and method for implementing communication terminal incoming call firewall
CN101651864A (en) * 2008-08-14 2010-02-17 比亚迪股份有限公司 Method for managing file in mobile terminal and mobile terminal
KR100931736B1 (en) * 2008-09-29 2009-12-29 주식회사 케이티 Method for managing the phonebook information storing in smart card using smart card web server and the phonebook information management server thereof

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012062079A1 (en) * 2010-11-08 2012-05-18 中兴通讯股份有限公司 Method and device for processing information
CN104902056B (en) * 2015-05-28 2018-01-19 广东欧珀移动通信有限公司 A kind of method, apparatus and mobile communication terminal for storing telephone number
CN104902056A (en) * 2015-05-28 2015-09-09 广东欧珀移动通信有限公司 Method and device for storing phone number, and mobile communication terminal
US10205813B2 (en) 2015-07-17 2019-02-12 Tencent Technology (Shenzhen) Company Limited Method and system for detecting abnormal contact information and server
WO2017012401A1 (en) * 2015-07-17 2017-01-26 腾讯科技(深圳)有限公司 Abnormal contact information detection method, server and system
CN106358220A (en) * 2015-07-17 2017-01-25 腾讯科技(深圳)有限公司 Detection method of abnormal contact person information, device and system
CN106358220B (en) * 2015-07-17 2019-11-22 腾讯科技(深圳)有限公司 The detection method of abnormal contact information, apparatus and system
CN106791230A (en) * 2015-11-25 2017-05-31 小米科技有限责任公司 Telephone number recognition methods and device
CN106791230B (en) * 2015-11-25 2021-08-03 小米科技有限责任公司 Telephone number identification method and device
CN105589973A (en) * 2016-01-17 2016-05-18 浙江维融电子科技股份有限公司 Efficient blacklist search method
CN107463543A (en) * 2016-06-03 2017-12-12 索闻博识科技(北京)有限公司 A kind of form information input method and equipment
CN108089811A (en) * 2017-12-12 2018-05-29 福建中金在线信息科技有限公司 Characters input method and device
CN112995351A (en) * 2019-12-16 2021-06-18 天翼智慧家庭科技有限公司 Temporary electronic business card service method and system

Also Published As

Publication number Publication date
CN101986672B (en) 2014-04-09
WO2012062079A1 (en) 2012-05-18

Similar Documents

Publication Publication Date Title
CN101986672B (en) Message processing method and device
US20170011303A1 (en) Contact-Based Predictive Response
CN101102565B (en) A processing method, device and equipment of user data in communication terminal
CN102968430A (en) Method and apparatus for automatically generating and managing groups in address book
CN104618877A (en) Short message arranging method and device
CN102104673A (en) Address book management system and method
CN107305570B (en) Data retrieval method and system
CN102984391A (en) Mobile terminal and reply processing method for message content in mobile terminal
CN104580448A (en) Information push method and device
CN103354576B (en) The storage of mobile phone and cell-phone number attaching information thereof and lookup method
CN103810204B (en) A kind of method and device of information searching
CN106453062A (en) Application notification management method and terminal
CN101826963A (en) Searching method of stored information and communication terminal
CN105825172A (en) Mobile-terminal-based multi-fingerprint matching method and system
CN103220211A (en) Processing method, processing device and mobile terminal for social network site (SNS) messages
CN110908995A (en) Data processing method, device and equipment
CN109241031A (en) Model generating method, model application method, device, system and storage medium
CN103200294B (en) Method and mobile terminal for intelligent management of speed dialing list
CN109657060B (en) Safety production accident case pushing method and system
WO2017173964A1 (en) Method and device for searching contact in contact list by multi-criteria method
CN105913215A (en) Email processing method and equipment
CN103220389A (en) Intelligent interaction method and intelligent interaction system of communication application and contact list
CN110471793B (en) Data backup method, data recovery method, first terminal and second terminal
CN103425657A (en) Method and device for searching mails
CN102867060A (en) Method, device and system for data fast search

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20140409

Termination date: 20201108

CF01 Termination of patent right due to non-payment of annual fee