CN102833381A - Method and device for matching stored contact persons in short message contents - Google Patents

Method and device for matching stored contact persons in short message contents Download PDF

Info

Publication number
CN102833381A
CN102833381A CN2012102928970A CN201210292897A CN102833381A CN 102833381 A CN102833381 A CN 102833381A CN 2012102928970 A CN2012102928970 A CN 2012102928970A CN 201210292897 A CN201210292897 A CN 201210292897A CN 102833381 A CN102833381 A CN 102833381A
Authority
CN
China
Prior art keywords
new key
contact person
chinese character
name
short message
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
CN2012102928970A
Other languages
Chinese (zh)
Other versions
CN102833381B (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201210292897.0A priority Critical patent/CN102833381B/en
Publication of CN102833381A publication Critical patent/CN102833381A/en
Application granted granted Critical
Publication of CN102833381B publication Critical patent/CN102833381B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a method for matching stored contact persons short message contents. The method comprises the following steps of: (1) forming a new keyword by combining; (2) matching the new keyword with stored contact person names to obtain the stored contact person names with same character number; (3) splitting into complete spellings; (5) matching an initial word of each Chinese character with initial words of stored contact person names, and repeating the process to continuously increase the number of words included in each Chinese character and the stored contact person names till the stored contact person names are matched; and (6) marking by using hyperlink. Compared with the prior art, the method for matching stored contact persons in the short message contents has the advantages that the keywords composed of a plurality of Chinese characters in the short message content are matched with the stored contact person names when a short message is received and are marked and displayed to carry out corresponding operation, and therefore convenience is provided for operation of users; and in addition, in the processing of implementing the method, the operation efficiency of a terminal (such as a mobilephone) for implementing the method cannot be influenced.

Description

Coupling has been deposited the method and the device thereof of name of contact person in short message content
Technical field
The present invention relates to technical field of information processing, relate more specifically to a kind of method that coupling has been deposited name of contact person in short message content.
Background technology
At present, in the received short message content of user, system can become continuous numeral or monogram the keyword of specific format, with as telephone number, addresses of items of mail or network address etc., and it is carried out hyperlink setting and mark.Therefore, make the user directly to operate accordingly to the telephone number, addresses of items of mail or the network address that are marked out in the short message content.
But in the such scheme, said keyword is constituting by numeral or letter or number and letter only.When a plurality of Chinese characters (contact person's who is stored in like phone directory name) when being combined as a said keyword; System just can not discern; Promptly; Such scheme can not be complementary the name of contact person of being stored in keyword of being made up of a plurality of Chinese characters in the short message content and the said phone directory, thereby has brought inconvenience for user's operation.
Therefore, be necessary to provide a kind of method of having deposited name of contact person of in short message content, mating to overcome above-mentioned defective.
Summary of the invention
The purpose of this invention is to provide a kind of method that coupling has been deposited name of contact person in short message content; So that the name of contact person of having deposited in keyword of being made up of a plurality of Chinese characters in the short message content and the phone directory is complementary; And with its mark, show to carry out corresponding operating; Bring convenience to user's operation, and the implementation procedure of this method does not influence the operational efficiency at the terminal (like mobile phone) of this method of realization.
Another object of the present invention provides a kind of device of having deposited name of contact person that in short message content, matees; So that the name of contact person of having deposited in keyword of being made up of a plurality of Chinese characters in the short message content and the phone directory is complementary; And with its mark, show to carry out corresponding operating; Bring convenience to user's operation, and the implementation procedure of this method does not influence the operational efficiency at the terminal (like mobile phone) of this method of realization.
For realizing above-mentioned purpose, the invention provides a kind of method that coupling has been deposited name of contact person in short message content, be applicable to the name of contact person of being stored with Chinese character, may further comprise the steps:
(1) judges whether first character in the short message content that is received is Chinese character;
(2) if said first character is a Chinese character, then said Chinese character and previous groups of keywords are combined into new key, the Chinese character combination that said previous keyword is single Chinese character or a plurality of Chinese characters, otherwise, carry out other processing;
Whether the number of words of (3) judging said new key is greater than 4;
(4) if number of words greater than 4, then with said first character in the said step (2) as the said previous keyword in the said step (2);
(5) if number of words less than 4, is then mated having deposited name of contact person on said new key and the phone directory, filtration draws identical with the said new key number of words name of contact person of depositing;
(6) the several Chinese characters in the said new key in the said step (5) are carried out combination in any to obtain the combination of many group Chinese characters;
(7) each is organized said Chinese character combination and be split as spelling;
(8) initial of having deposited name of contact person on the initial of each Chinese character in the combination of said Chinese character and the phone directory is mated, filtration draws identical with the initial of each Chinese character in the said new key name of contact person of depositing;
(9) initial and second letter of having deposited name of contact person on the initial of each Chinese character in the combination of said Chinese character and second letter and the phone directory are mated; Filtration draw with said new key in the initial of each Chinese character all identical with second letter deposit name of contact person; By that analogy; Constantly increase the alphabetical number of having deposited name of contact person on each Chinese character comprised in the combination of said Chinese character alphabetical number and the phone directory and being comprised, and mate until draw with said Chinese character combination fully coupling deposit name of contact person;
(10) use hyperlink in said short message content, to mark out new key described in the said step (9);
(11) repeating said steps (1) is to (10), last character in short message content.
Compared with prior art; The method that coupling has been deposited name of contact person in short message content of the present invention; When receiving note; Can the name of contact person of having deposited in keyword of being made up of a plurality of Chinese characters in the short message content and the phone directory be complementary, and with its mark, show to carry out corresponding operating, brought convenience to user's operation; And in the process of this method of realization, can not influence the operational efficiency at the terminal (like mobile phone) of this method of realization.
Particularly, also comprise before carrying out said step (2):
Initial said previous keyword is initialized as sky.
Particularly, " otherwise the carrying out other processing " in the said step (2) specifically comprises:
(21) judge whether said first character is numeral or alphabetical;
(22) if said first character is a numeral or alphabetical; Then with said numeral or the letter and previous groups of keywords be combined into new key; Said previous keyword is the combination of single letter or individual digit or numeral and letter, otherwise, then do not handle;
(23) discern the type format of the said new key in the said step (22) and adopt regular expression to express the type format of said new key;
(23) polytype regular expression of the regular expression and the internal system of said new key being stored compares, and whether the regular expression of judging said new key meets a kind of of multiple regular expression that said internal system stores;
(24) if meet, then said new key is handled as the combination of numeral or letter or number and letter, otherwise, judge that said new key is invalid;
(25) judge whether the said new key in the said step (24) only is made up of letter;
(26) if said new key only is made up of letter, then the numeral of said new key or letter or number and alphabetical combination are reconfigured forming up-to-date keyword arbitrarily, otherwise, carry out step (27);
(27) the said formed up-to-date keyword or said new key and internal system institute canned data of reconfiguring in the said step (26) mated, filter to draw and reconfigure the internal system institute canned data that formed up-to-date keyword or said new key mate fully with said;
(28) use hyperlink in said short message content, to mark out and reconfigure formed up-to-date keyword or said new key described in the said step (27);
(29) repeating said steps (21) is to (28), last character in short message content.
Internal system institute canned data in the said step (26) specifically comprises: telephone number, addresses of items of mail, IP address, server domain name or network address.
Correspondingly, the present invention provides a kind of device of having deposited name of contact person that in short message content, matees simultaneously, is applicable to the name of contact person of being stored with Chinese character, comprising:
First judge module is used for judging whether first character of the short message content that is received is Chinese character;
The first new key generation module, the result who is used for judging when said first judge module is combined into new key with said Chinese character and previous groups of keywords when being, wherein, the Chinese character combination that said previous keyword is single Chinese character or a plurality of Chinese characters;
Second judge module, whether the number of words of the new key that is used to judge that the said first new key generation module is generated is greater than 4;
First processing module; The result who is used for judging when said second judge module is when being; With said first character in the said first new key generation module as the said previous keyword in the said first new key generation module; The result who judges when said second judge module is mated having deposited name of contact person on said new key and the phone directory for not the time, and filtration draws identical with the said new key number of words name of contact person of depositing;
Chinese character combination generation module is used for the several Chinese characters in the said new key of said first processing module are carried out combination in any to obtain the combination of many group Chinese characters;
Split module, be used for that each of said Chinese character combination generation module is organized said Chinese character combination and be split as spelling;
First matching module; The initial of having deposited name of contact person on the initial that is used for each Chinese character of said Chinese character combination that said fractionation module is split and the phone directory is mated, and filtration draws identical with the initial of each Chinese character in the said new key name of contact person of depositing;
Second matching module; The initial and second letter that are used for having deposited on initial and second letter and the phone directory of each Chinese character of the said Chinese character combination that said fractionation module is split name of contact person mate; Filtration draw with said new key in the initial of each Chinese character all identical with second letter deposit name of contact person; By that analogy; Constantly increase the alphabetical number of having deposited name of contact person on each Chinese character comprised in the combination of said Chinese character alphabetical number and the phone directory and being comprised, and mate until draw with said Chinese character combination fully coupling deposit name of contact person;
The hyperlink module is used for using hyperlink to mark out new key described in said second matching module at said short message content.
Preferably, in a preferred embodiment of the present invention, the said device of having deposited name of contact person that in short message content, matees also comprises:
Second processing module, the result who is used for judging when said second judge module are carried out other processing to said first character for not the time.
Particularly, said second processing module comprises:
The 3rd judging unit is used to judge whether said first character is numeral or alphabetical;
The second new key generation unit; Be used for when said the 3rd result that judging unit is judged when being; With said numeral or the letter and previous groups of keywords be combined into new key; Said previous keyword is the combination of single letter or individual digit or numeral and letter, otherwise, then do not handle;
Recognition unit, be used for discerning the said second new key generation unit said new key type format and adopt regular expression to express the type format of said new key;
The contrast judging unit; The regular expression of the said new key that is used for said recognition unit is identified and polytype regular expression that internal system is stored compare; Whether the regular expression of judging said new key meets a kind of of multiple regular expression that said internal system stores, if meet, then said new key is handled with alphabetical combination as numeral or letter or number; Otherwise, judge that said new key is invalid;
The 4th judging unit; Be used for judging whether the said new key of said contrast judging unit only is made up of letter; If said new key only is made up of letter, then a plurality of letters of said new key reconfigured forming up-to-date keyword arbitrarily, and reconfigure formed up-to-date keyword and be sent to the 3rd matching unit said; Otherwise, then said new key is sent to the 3rd matching unit;
The 3rd matching unit; Be used for the said formed up-to-date keyword or said new key and internal system institute canned data of reconfiguring of said the 4th judging unit mated, filter and draw the internal system institute canned data that matees fully with said combination in any;
The mark display unit is used for using hyperlink to mark out at said short message content and reconfigures formed up-to-date keyword or said new key described in said the 3rd matching unit.
Particularly, the internal system institute canned data in said the 3rd matching unit specifically comprises: telephone number, addresses of items of mail, IP address, server domain name or network address.
Particularly, preferably, the said device of having deposited name of contact person that in short message content, matees also comprises:
Memory module is used to store said previous keyword, new key and polytype regular expression.
Particularly, said polytype regular expression comprises alphabetical regular expression and digital regular expression.
Through following description and combine accompanying drawing, it is more clear that the present invention will become, and these accompanying drawings are used to explain embodiments of the invention.
Description of drawings
Fig. 1 matees the flow chart of method one embodiment that has deposited name of contact person in short message content for the present invention.
Fig. 2 is the particular flow sheet of step S104 shown in Figure 1.
Fig. 3 matees the structured flowchart of device one embodiment that has deposited name of contact person in short message content for the present invention.
Fig. 4 is the structured flowchart of second processing module shown in Figure 3.
Embodiment
With reference now to accompanying drawing, describe embodiments of the invention, the similar elements label is represented similar elements in the accompanying drawing.
Please refer to Fig. 1, described the present invention and in short message content, mated a preferred embodiment of the method for having deposited name of contact person, be applicable to the name of contact person of being stored with Chinese character, it may further comprise the steps:
S101 receives short message content;
S102 judges whether first character in the short message content that is received is Chinese character, if, then carry out step S103, otherwise, then carry out step S104;
S103 is combined into new key with said Chinese character and previous groups of keywords, wherein, and the Chinese character combination that said previous keyword is single Chinese character or a plurality of Chinese characters, and initial said previous keyword is initialized to sky; As, said first character is " lining ", because initial said previous keyword is initialized to sky, therefore, the said new key of this moment is " lining "; When receiving note for the second time, as, said first character is " Wu ", owing to being " lining " at previous keyword described in the short message content of last time, therefore, the new key of this moment becomes " lining Wu ";
S104 carries out other processing;
S105, whether the number of words of judging said new key greater than 4, if, then carry out step S106, otherwise, then carry out step S107;
S106, with said first character among the said step S103 as the said previous keyword among the said step S103; As, this moment keyword be " lining Wu Taotao Wu ", then with " Wu " as the said previous keyword among the said step S103;
S107 matees having deposited name of contact person on said new key and the phone directory, filters to draw identical with the said new key number of words name of contact person of depositing; As, the keyword of this moment is " lining Wu Taotao ", then matees having deposited name of contact person on " lining Wu Taotao " and the phone directory, filters the name of contact person that draws with four Chinese characters storages;
S108 carries out combination in any to obtain the combination of many group Chinese characters with the several Chinese characters in the said new key among the said step S107; All continuous combinations like " lining Wu Tao " have " lining ", " lining Wu ", " lining Wu Tao ", " Wu ", " Wu Tao ", " great waves ";
S109 organizes said Chinese character combination with each and is split as spelling; As, said Chinese character is combined as " lining Wu Tao ", then splits into " liwutao ";
S110 matees the initial of having deposited name of contact person on the initial of each Chinese character in the combination of said Chinese character and the phone directory, and filtration draws identical with the initial of each Chinese character in the said new key name of contact person of depositing;
S111; The initial and second letter of having deposited name of contact person on the initial of each Chinese character in the combination of said Chinese character and second letter and the phone directory are mated; Filtration draw with said new key in the initial of each Chinese character all identical with second letter deposit name of contact person; By that analogy; Constantly increase the alphabetical number of having deposited name of contact person on each Chinese character comprised in the combination of said Chinese character alphabetical number and the phone directory and being comprised, and mate until draw with said Chinese character combination fully coupling deposit name of contact person; As; Said Chinese character is combined as " lining Wu Tao "; Its spelling is " liwutao ", then matees having deposited name of contact person on " lwt " and the phone directory earlier, matees having deposited name of contact person on " liwuta " and the phone directory again; Mate having deposited name of contact person on " liwutao " and the phone directory at last, drawn with " lining Wu Tao " matees fully and deposited name of contact person;
S112 uses hyperlink in said short message content, to mark out new key described in the said step S111, so that operate accordingly (as make a phone call, send short messages etc.);
S113 changes character late;
S114 judges whether to be last character, if not, repeating said steps S102 to S113 then, otherwise, finish.
Particularly, as shown in Figure 2, " carrying out other processing " among the said step S104 specifically comprises:
S1041 judges whether said first character is numeral or alphabetical, if, then carry out step S1042, otherwise, then carry out S1043;
S1042 is combined into new key with said numeral or letter with previous groups of keywords, and said previous keyword is single letter or individual digit or numeral and alphabetical combination;
S1043 does not handle;
S1044 discerns the type format of the said new key among the said step S1042 and adopts regular expression to express the type format of said new key; So-called regular expression, popular is exactly a kind of form, in life, just is equivalent to " XXXX XX month XX day (X represents numeral) "; This " XXXX XX month XX day (X represent numeral) " just is equivalent to the regular expression that we say, matees all dates, but the regular expression here more complicacy is a bit; But function is the same, be exactly a kind of form, and the regular expression of letter or number belongs to the common practise of this area; So, repeat no more at this;
S1045, polytype regular expression that the regular expression and the internal system of said new key are stored compares;
Whether S1046, the regular expression of judging said new key meet a kind of of multiple regular expression that said internal system stores, if, then carry out step S1047, otherwise, then carry out step S1048;
S1047 handles said new key as the combination of numeral or letter or number and letter;
S1048 judges that said new key is invalid;
S1049 judges whether the said new key among the said step S1045 only is made up of letter, if, then carry out step S1050, otherwise, then carry out S1051;
S1050 reconfigures a plurality of letters of said new key to form up-to-date keyword arbitrarily; The combination of the similar above-mentioned Chinese character of its compound mode is repeated no more at this;
S1051; With reconfiguring formed up-to-date keyword described in said new key among the said step S1049 or the said step S1050 and internal system institute canned data matees, filter to draw and reconfigure the internal system institute canned data that formed up-to-date keyword or said new key mate fully with said; Draw telephone number, email address etc. like coupling, as long as click said telephone number or email address, just can converse or send mail;
S1052 uses hyperlink in said short message content, to mark out new key described in the said step S1051 or said and reconfigures formed up-to-date keyword;
S1053 changes character late;
S1054 judges whether to be last character, if not, repeating said steps S1041 to S1053 then, otherwise, finish.
Particularly, the internal system institute canned data among the said step S1050 specifically comprises: telephone number, addresses of items of mail, IP address, server domain name or network address.
Correspondingly, as shown in Figure 3, the present invention provides a kind of device 100 of having deposited name of contact person that in short message content, matees simultaneously, is applicable to the name of contact person of being stored with Chinese character, comprising:
Memory module 10 is used to store previous keyword, new key and polytype regular expression;
First judge module 11 is used for judging whether first character of the short message content that is received is Chinese character;
The first new key generation module 12; The result who is used for being judged when said first judge module 11 is when being; Said Chinese character and previous groups of keywords are combined into new key, wherein, the Chinese character combination that said previous keyword is single Chinese character or a plurality of Chinese characters;
Second judge module 13, whether the number of words of the new key that is used to judge that the said first new key generation module 12 is generated is greater than 4;
First processing module 14; The result who is used for being judged when said second judge module 13 is when being; With said first character in the said first new key generation module 12 as the said previous keyword in the said first new key generation module 12; The result who judges when said second judge module 13 is mated having deposited name of contact person on said new key and the phone directory for not the time, and filtration draws identical with the said new key number of words name of contact person of depositing;
Second processing module 15, the result who is used for judging when said second judge module 13 are carried out other processing to said first character for not the time;
Chinese character combination generation module 16 is used for the several Chinese characters in the said new key of said first processing module 14 are carried out combination in any to obtain the combination of many group Chinese characters;
Split module 17, be used for that each of said Chinese character combination generation module 16 is organized said Chinese character combination and be split as spelling;
First matching module 18; The initial of having deposited name of contact person on the initial that is used for said each Chinese character of Chinese characters combination that said fractionation module 17 is split and the phone directory is mated, and filtration draws identical with the initial of each Chinese character in the said new key name of contact person of depositing;
Second matching module 19; The initial and second letter that are used for having deposited on initial and second letter and the phone directory of each Chinese character of the said Chinese characters combination that said fractionation module 17 is split name of contact person mate; Filtration draw with said new key in the initial of each Chinese character all identical with second letter deposit name of contact person; By that analogy; Constantly increase the alphabetical number of having deposited name of contact person on each Chinese character comprised in the combination of said Chinese character alphabetical number and the phone directory and being comprised, and mate until draw with said Chinese character combination fully coupling deposit name of contact person;
Hyperlink module 20 is used for using hyperlink to mark out new key described in said second matching module 19 at said short message content.
Particularly, as shown in Figure 4, said second processing module 15 comprises:
The 3rd judging unit 151 is used to judge whether said first character is numeral or alphabetical;
The second new key generation unit 152; Be used for judging the result when being when 151 of said the 3rd judging units; With said numeral or the letter and previous groups of keywords be combined into new key; Said previous keyword is the combination of single letter or individual digit or numeral and letter, otherwise, then do not handle;
Recognition unit 153, be used for discerning the said second new key generation unit 152 said new key type format and adopt regular expression to express the type format of said new key;
Contrast judging unit 154; The regular expression of the said new key that is used for said recognition unit 153 is identified and polytype regular expression that said memory module 10 is stored compare; Whether the regular expression of judging said new key meets a kind of of multiple regular expression that said memory module 10 stored, if meet, then said new key is handled with alphabetical combination as numeral or letter or number; Otherwise, judge that said new key is invalid;
The 4th judging unit 155; Be used for judging whether the said new key of said contrast judging unit 154 only is made up of letter; If said new key only is made up of letter, then a plurality of letters of said new key reconfigured forming up-to-date keyword arbitrarily, and reconfigure formed up-to-date keyword and be sent to the 3rd matching unit 156 said; Otherwise, then said new key is sent to the 3rd matching unit 156;
The 3rd matching unit 156; Be used for the said formed up-to-date keyword or said new key and internal system institute canned data of reconfiguring of said the 4th judging unit 155 mated, filter and draw the internal system institute canned data that matees fully with said combination in any;
Mark display unit 157 is used for using hyperlink to mark out described in said the 3rd matching unit 156 at said short message content and reconfigures formed up-to-date keyword or said new key.
Particularly, the internal system institute canned data in said the 3rd matching unit 156 specifically comprises: telephone number, addresses of items of mail, IP address, server domain name or network address.
Particularly, said polytype regular expression comprises alphabetical regular expression and digital regular expression.
As stated; The method that coupling has been deposited name of contact person in short message content of the present invention; When receiving note; Can the name of contact person of having deposited in keyword of being made up of a plurality of Chinese characters in the short message content and the phone directory be complementary, and with its mark, show to carry out corresponding operating, brought convenience to user's operation; And in the process of this method of realization, can not influence the operational efficiency at the terminal (like mobile phone) of this method of realization.
Invention has been described more than to combine most preferred embodiment, but the present invention is not limited to the embodiment of above announcement, and should contain various modification, equivalent combinations of carrying out according to essence of the present invention.

Claims (10)

1. the method that coupling has been deposited name of contact person in short message content is applicable to the name of contact person of being stored with Chinese character, it is characterized in that, may further comprise the steps:
(1) judges whether first character in the short message content that is received is Chinese character;
(2) if said first character is a Chinese character, then said Chinese character and previous groups of keywords are combined into new key, the Chinese character combination that said previous keyword is single Chinese character or a plurality of Chinese characters, otherwise, carry out other processing;
Whether the number of words of (3) judging said new key is greater than 4;
(4) if number of words greater than 4, then with said first character in the said step (2) as the said previous keyword in the said step (2);
(5) if number of words less than 4, is then mated having deposited name of contact person on said new key and the phone directory, filtration draws identical with the said new key number of words name of contact person of depositing;
(6) the several Chinese characters in the said new key in the said step (5) are carried out combination in any to obtain the combination of many group Chinese characters;
(7) each is organized said Chinese character combination and be split as spelling;
(8) initial of having deposited name of contact person on the initial of each Chinese character in the combination of said Chinese character and the phone directory is mated, filtration draws identical with the initial of each Chinese character in the said new key name of contact person of depositing;
(9) initial and second letter of having deposited name of contact person on the initial of each Chinese character in the combination of said Chinese character and second letter and the phone directory are mated; Filtration draw with said new key in the initial of each Chinese character all identical with second letter deposit name of contact person; By that analogy; Constantly increase the alphabetical number of having deposited name of contact person on each Chinese character comprised in the combination of said Chinese character alphabetical number and the phone directory and being comprised, and mate until draw with said Chinese character combination fully coupling deposit name of contact person;
(10) use hyperlink in said short message content, to mark out new key described in the said step (9);
(11) repeating said steps (1) is to (10), last character in short message content.
2. the method that coupling has been deposited name of contact person in short message content as claimed in claim 1 is characterized in that, also comprises before carrying out said step (2):
Initial said previous keyword is initialized as sky.
According to claim 1 or claim 2 in short message content the coupling deposited name of contact person method, it is characterized in that " otherwise carrying out other processing " in the said step (2) specifically comprises:
(21) judge whether said first character is numeral or alphabetical;
(22) if said first character is a numeral or alphabetical; Then with said numeral or the letter and previous groups of keywords be combined into new key; Said previous keyword is the combination of single letter or individual digit or numeral and letter, otherwise, then do not handle;
(23) discern the type format of the said new key in the said step (22) and adopt regular expression to express the type format of said new key;
(23) polytype regular expression of the regular expression and the internal system of said new key being stored compares, and whether the regular expression of judging said new key meets a kind of of multiple regular expression that said internal system stores;
(24) if meet, then said new key is handled as the combination of numeral or letter or number and letter, otherwise, judge that said new key is invalid;
(25) judge whether the said new key in the said step (24) only is made up of letter;
(26) if said new key only is made up of letter, then the numeral of said new key or letter or number and alphabetical combination are reconfigured forming up-to-date keyword arbitrarily, otherwise, carry out step (27);
(27) the said formed up-to-date keyword or said new key and internal system institute canned data of reconfiguring in the said step (26) mated, filter to draw and reconfigure the internal system institute canned data that formed up-to-date keyword or said new key mate fully with said;
(28) use hyperlink in said short message content, to mark out and reconfigure formed up-to-date keyword or said new key described in the said step (27);
(29) repeating said steps (21) is to (28), last character in short message content.
4. the method that coupling has been deposited name of contact person in short message content as claimed in claim 3; It is characterized in that the internal system institute canned data in said step (26), (27) specifically comprises: telephone number, addresses of items of mail, IP address, server domain name or network address.
5. one kind matees the device of having deposited name of contact person in short message content, is applicable to the name of contact person of being stored with Chinese character, it is characterized in that, comprising:
First judge module is used for judging whether first character of the short message content that is received is Chinese character;
The first new key generation module, the result who is used for judging when said first judge module is combined into new key with said Chinese character and previous groups of keywords when being, wherein, the Chinese character combination that said previous keyword is single Chinese character or a plurality of Chinese characters;
Second judge module, whether the number of words of the new key that is used to judge that the said first new key generation module is generated is greater than 4;
First processing module; The result who is used for judging when said second judge module is when being; With said first character in the said first new key generation module as the said previous keyword in the said first new key generation module; The result who judges when said second judge module is mated having deposited name of contact person on said new key and the phone directory for not the time, and filtration draws identical with the said new key number of words name of contact person of depositing;
Chinese character combination generation module is used for the several Chinese characters in the said new key of said first processing module are carried out combination in any to obtain the combination of many group Chinese characters;
Split module, be used for that each of said Chinese character combination generation module is organized said Chinese character combination and be split as spelling;
First matching module; The initial of having deposited name of contact person on the initial that is used for each Chinese character of said Chinese character combination that said fractionation module is split and the phone directory is mated, and filtration draws identical with the initial of each Chinese character in the said new key name of contact person of depositing;
Second matching module; The initial and second letter that are used for having deposited on initial and second letter and the phone directory of each Chinese character of the said Chinese character combination that said fractionation module is split name of contact person mate; Filtration draw with said new key in the initial of each Chinese character all identical with second letter deposit name of contact person; By that analogy; Constantly increase the alphabetical number of having deposited name of contact person on each Chinese character comprised in the combination of said Chinese character alphabetical number and the phone directory and being comprised, and mate until draw with said Chinese character combination fully coupling deposit name of contact person;
The hyperlink module is used for using hyperlink to mark out new key described in said second matching module at said short message content.
6. the device of having deposited name of contact person that in short message content, matees as claimed in claim 5 is characterized in that, also comprises:
Second processing module, the result who is used for judging when said second judge module are carried out other processing to said first character for not the time.
7. the device of having deposited name of contact person that in short message content, matees as claimed in claim 6 is characterized in that said second processing module comprises:
The 3rd judging unit is used to judge whether said first character is numeral or alphabetical;
The second new key generation unit; Be used for when said the 3rd result that judging unit is judged when being; With said numeral or the letter and previous groups of keywords be combined into new key; Said previous keyword is the combination of single letter or individual digit or numeral and letter, otherwise, then do not handle;
Recognition unit, be used for discerning the said second new key generation unit said new key type format and adopt regular expression to express the type format of said new key;
The contrast judging unit; The regular expression of the said new key that is used for said recognition unit is identified and polytype regular expression that internal system is stored compare; Whether the regular expression of judging said new key meets a kind of of multiple regular expression that said internal system stores, if meet, then said new key is handled with alphabetical combination as numeral or letter or number; Otherwise, judge that said new key is invalid;
The 4th judging unit; Be used for judging whether the said new key of said contrast judging unit only is made up of letter; If said new key only is made up of letter, then a plurality of letters of said new key reconfigured forming up-to-date keyword arbitrarily, and reconfigure formed up-to-date keyword and be sent to the 3rd matching unit said; Otherwise, then said new key is sent to the 3rd matching unit;
The 3rd matching unit; Be used for the said formed up-to-date keyword or said new key and internal system institute canned data of reconfiguring of said the 4th judging unit mated, filter and draw the internal system institute canned data that matees fully with said combination in any;
The mark display unit is used for using hyperlink to mark out at said short message content and reconfigures formed up-to-date keyword or said new key described in said the 3rd matching unit.
8. the device of having deposited name of contact person that in short message content, matees as claimed in claim 7; It is characterized in that the internal system institute canned data in said the 3rd matching unit specifically comprises: telephone number, addresses of items of mail, IP address, server domain name or network address.
9. the device of having deposited name of contact person that in short message content, matees as claimed in claim 7 is characterized in that, also comprises:
Memory module is used to store said previous keyword, new key and polytype regular expression.
10. the device of having deposited name of contact person that in short message content, matees as claimed in claim 9 is characterized in that said polytype regular expression comprises alphabetical regular expression and digital regular expression.
CN201210292897.0A 2012-08-16 2012-08-16 Method and device for matching stored contact persons in short message contents Active CN102833381B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210292897.0A CN102833381B (en) 2012-08-16 2012-08-16 Method and device for matching stored contact persons in short message contents

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210292897.0A CN102833381B (en) 2012-08-16 2012-08-16 Method and device for matching stored contact persons in short message contents

Publications (2)

Publication Number Publication Date
CN102833381A true CN102833381A (en) 2012-12-19
CN102833381B CN102833381B (en) 2015-05-20

Family

ID=47336346

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210292897.0A Active CN102833381B (en) 2012-08-16 2012-08-16 Method and device for matching stored contact persons in short message contents

Country Status (1)

Country Link
CN (1) CN102833381B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105100382A (en) * 2014-05-22 2015-11-25 中兴通讯股份有限公司 Method and terminal for presenting information
CN105554296A (en) * 2015-12-28 2016-05-04 魅族科技(中国)有限公司 Information sending method and terminal
CN116010562A (en) * 2023-03-28 2023-04-25 之江实验室 Name matching method, device, equipment and medium based on multiple data sources

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101715017A (en) * 2009-11-12 2010-05-26 中兴通讯股份有限公司 Method and device for processing Chinese character sequence in message content
CN101753327A (en) * 2008-12-17 2010-06-23 中兴通讯股份有限公司 Method for rapidly positioning contact in instant communication
CN101969507A (en) * 2010-10-29 2011-02-09 宇龙计算机通信科技(深圳)有限公司 Method, system and mobile terminal for rapidly communicating with contact person
CA2742747A1 (en) * 2010-07-09 2012-01-09 Research In Motion Limited Automatic linking of contacts in message content
CN102572113A (en) * 2012-02-17 2012-07-11 深圳市金立通信设备有限公司 System and method for extracting contact person information from texts to operate mobile phone

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101753327A (en) * 2008-12-17 2010-06-23 中兴通讯股份有限公司 Method for rapidly positioning contact in instant communication
CN101715017A (en) * 2009-11-12 2010-05-26 中兴通讯股份有限公司 Method and device for processing Chinese character sequence in message content
CA2742747A1 (en) * 2010-07-09 2012-01-09 Research In Motion Limited Automatic linking of contacts in message content
CN101969507A (en) * 2010-10-29 2011-02-09 宇龙计算机通信科技(深圳)有限公司 Method, system and mobile terminal for rapidly communicating with contact person
CN102572113A (en) * 2012-02-17 2012-07-11 深圳市金立通信设备有限公司 System and method for extracting contact person information from texts to operate mobile phone

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105100382A (en) * 2014-05-22 2015-11-25 中兴通讯股份有限公司 Method and terminal for presenting information
WO2015176354A1 (en) * 2014-05-22 2015-11-26 中兴通讯股份有限公司 Method for presenting information, mobile terminal and computer storage medium
CN105554296A (en) * 2015-12-28 2016-05-04 魅族科技(中国)有限公司 Information sending method and terminal
CN116010562A (en) * 2023-03-28 2023-04-25 之江实验室 Name matching method, device, equipment and medium based on multiple data sources

Also Published As

Publication number Publication date
CN102833381B (en) 2015-05-20

Similar Documents

Publication Publication Date Title
CN102143256B (en) Shortcut operation method of contacts and mobile terminal
CN1855954B (en) Method and apparatus for searching for a directory entry in a mobile communication terminal phone book
CN101247427A (en) Mobile terminal and its linkman searching method and system
CN101562789B (en) Method and device for integrating address list and instant messaging software
CN102883059B (en) The display method and apparatus of note, the method and apparatus of answer short message
CN102752729A (en) Reminding method, terminal, cloud server and system
WO2013127359A1 (en) Method and device for processing contact persons, and mobile terminal
CN103024175A (en) Address book based automatic sorting method and device and mobile terminal
CN102394960A (en) Dialing system and method and mobile communication terminal
CN103533169A (en) Method for positioning and linking field of electronic business card based on mobile terminal
CN101945157A (en) Telephone directory sequencing and searching method of telephone terminal
CN1976515A (en) Portable mobile termianl and intelligent dialing method thereof
CN102833381B (en) Method and device for matching stored contact persons in short message contents
CN102156757A (en) Android system-based method for intelligently retrieving mobile phone contact
CN102611777A (en) Method for checking and updating address book of handheld communication device
CN103685742A (en) Method and system for automatically setting schedule through short message by mobile terminal
CN101119545B (en) Encoding label based information processing system and information processing method
CN102572113A (en) System and method for extracting contact person information from texts to operate mobile phone
EP2822258A1 (en) Method and terminal for speed dialing
CN102779168A (en) Searching method of contact person information and terminal
CN103249016A (en) Method and device for displaying short message and mobile terminal
CN102957777A (en) Method for sequencing linkmen in phonebook according to contact frequency
CN105913215A (en) Email processing method and equipment
CN102117159B (en) Hunan-machine interface interaction system and method
CN107613086A (en) A kind of contact person information processing method, device and mobile terminal

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
CP01 Change in the name or title of a patent holder

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CP01 Change in the name or title of a patent holder