CN101741756B - Method and system for converting special character strings in instant communication text message - Google Patents

Method and system for converting special character strings in instant communication text message Download PDF

Info

Publication number
CN101741756B
CN101741756B CN200810176563A CN200810176563A CN101741756B CN 101741756 B CN101741756 B CN 101741756B CN 200810176563 A CN200810176563 A CN 200810176563A CN 200810176563 A CN200810176563 A CN 200810176563A CN 101741756 B CN101741756 B CN 101741756B
Authority
CN
China
Prior art keywords
special string
string
special
text message
contact person
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.)
Expired - Fee Related
Application number
CN200810176563A
Other languages
Chinese (zh)
Other versions
CN101741756A (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 CN200810176563A priority Critical patent/CN101741756B/en
Publication of CN101741756A publication Critical patent/CN101741756A/en
Application granted granted Critical
Publication of CN101741756B publication Critical patent/CN101741756B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention discloses a method and a system for converting special character strings in instant communication text message. The method comprises: establishing a rule base containing all the matching rules of the special character strings needing to be converted; after receiving the conversion command from a user to the text message, calling the matching rules in the rule base, matching the text message, and finding out all the special character strings conforming to the matching rules; converting all the found special character strings according to the corresponding matching types to generate tags, and adding the tags onto the positions of the special character strings in the text message; identifying the tags on the positions of the special character strings in the text message and interpreting into quick operations, and creating corresponding press-buttons or menu items in a window. By using the invention, the user can quickly utilize the contact information contained in the instant communication text message to perform corresponding operations.

Description

Method and system to special string conversion in the instant communication text message
Technical field
The present invention relates to communication technical field, more particularly, relate to a kind of method and system special string conversion in the instant communication text message.
Background technology
At present, instant messaging has become the important communication tool of exchange of information, collaborative work in people's life, the work.And in instant communication client; Text chat is one of the most frequently used function of user; In the text chat content, usually comprise some contact details, and these contact details are the embodied with special string in instant communication text message; Said special string mainly is meant the character string that comprises certain contact details of contact person, like telephone number, name of contact person, contact person's character strings such as instant messaging number of the account.
For the recipient when receiving these text messages; Usually need extract the character string of contact details wherein; Open corresponding communication tool or window, the character string of the contact details that comprise the contact person that extract in the input of text messages could be accomplished current communication process then.
For example, the user need open the dialing window after receiving the text message of the contact phone number that comprises the needs contact, and input is included in the contact person's in the text message telephone number then, dials this contact phone; Again for example, the user receives the text message that comprises the another one name of contact person, if need chat with this contact person, then must from the contacts list of immediate communication tool, find this contact person earlier, opens chat window then, just can chat.
In such as above-mentioned this type of use scene, above-mentioned operation has increased burden for users greatly, has reduced system's ease for use, influences user experience.
Summary of the invention
The technical problem that the present invention solved is the method and system to special string conversion in the instant communication text message are provided, and makes the user can use the contact details that comprise in the instant communication text message to operate accordingly efficiently.
In order to realize the problems referred to above, the invention provides a kind of method that special string in the instant communication text message is changed, may further comprise the steps:
Establishment one comprises the rule base of the matched rule of all special strings that need change;
After receiving the conversion instruction of user, call the matched rule in this rule base, text message is mated, find out the special string that all meet matched rule said text message;
The said special string of finding out is changed the generation label and added special string position in the text message according to its corresponding match-type respectively;
Prompt operation is discerned and be construed to the locational label of special string in the text message, in window, create corresponding button or menu item.
Method of the present invention, wherein, said special string is the number of the account of phone number, fixed telephone number or fax number, name of contact person or instant communicating system;
Matched rule in the said rule base for the matching condition of said phone number is:
The front character is 13 or 013; It is 15 or 015 that 9 numerical character: 13XXXXXXXXX or 013XXXXXXXXX or front character are followed continuously in the back; The back is followed 9 numerical character: 15XXXXXXXXX or 015XXXXXXXXX continuously, and wherein X represents one 0~9 numerical character;
Matched rule in the said rule base for the matching condition of fixed telephone number or fax number is:
Form is that digit strings or the form of XXX-XXXXXXX or XXX-XXXXXXXX or XXXX-XXXXXXX or XXXX-XXXXXXXX is the digit strings of XXX-XXX-XXXX, and wherein X represents one 0~9 numerical character;
Matched rule in the said rule base for the matching condition of name of contact person is:
The character string of arbitrary name of contact person in the character string of arbitrary good friend's name or the match contacts list in the coupling buddy list;
Matched rule in the said rule base for the matching condition of the number of the account of instant communicating system is:
The character string that meets arbitrary contact person's instant messaging number of the account in the character string of instant communicating system number of the account rule, the character string of mating arbitrary good friend's instant messaging number of the account in the buddy list or the match contacts list.
Further, wherein, the matched rule in the said rule base on-the-fly modifies wherein matched rule in running as required or increases.
Further, wherein,
(11) receive the conversion instruction of user to said text message after, from rule base, take out a matched rule, according to this matched rule, in text message, search the special string that meets this matched rule;
(12) judge whether to find the character string that meets matched rule,, then get into next step (13) if find, otherwise direct execution in step (14);
Special string that meets matched rule that (13) will find and position thereof, length, match-type information are recorded in the special string tabulation;
(14) judge whether to have mated all matched rules in the rule base, if, then get into step (15), otherwise, execution in step (11) continued to (13);
(15) the special string tabulation that output coupling back is write down;
(16) from the special string tabulation of said record, take out a special string;
(17) obtain the pairing match-type of this special string, comprise the account type of phone number type, fixed telephone number or fax number type, name of contact person type or instant communicating system;
(18), in address list, search the contact person related with this special string according to this match-type;
(19) if find the contact person of said association, then get into next step (20), otherwise, direct execution in step (21);
(20) obtain contact person's information, comprise contact person's contact details and contact person's presence;
(21) contact person's who is associated according to this special string information or the pairing match-type of this special string are changed the generation label, and this label is added special string position in text message;
(22) judge in the special string tabulation of said record special string whether fully conversion generate label, if, then finish, otherwise, continue execution in step (16) to (21).
Further, wherein, prompt operation is discerned and be construed to one or more and this special string associated content that comprises in the locational label of special string in the said text message, in window, create corresponding button or menu item; The contact person's that said this special string associated content is associated for this special string information or the pairing match-type of this special string.
Further, wherein, said text message is chat messages, the text message in the chat history or the short message of receiving good friend's chat messages, sending to the good friend.
In order to realize the problems referred to above, the present invention also provides a kind of system that special string in the instant communication text message is changed, and this system comprises: rule base, matching module, label model and message display module; Wherein,
Said rule base is used to preserve the matched rule of all special strings that need change;
Said matching module is used for after receiving the conversion instruction of user to certain text message, calling the matched rule in the rule base, and text message is mated, and finds out all special strings that meet matched rule and sends to label model;
Said label model is used for the special string of finding out that meets matched rule is changed this label of generation and it is added text message special string position according to its corresponding match-type respectively;
Said message display module is used for prompt operation is discerned and be construed to the locational label of text message special string, in window, creates corresponding button or menu item.
System of the present invention, wherein, said special string is the number of the account of phone number, fixed telephone number or fax number, name of contact person or instant communicating system;
Matched rule in the said rule base for the matching condition of said phone number is:
The front character is 13 or 013; It is 15 or 015 that 9 numerical character: 13XXXXXXXXX or 013XXXXXXXXX or front character are followed continuously in the back; The back is followed 9 numerical character: 15XXXXXXXXX or 015XXXXXXXXX continuously, and wherein X represents one 0~9 numerical character;
Matched rule in the said rule base for the matching condition of fixed telephone number or fax number is:
Form is that digit strings or the form of XXX-XXXXXXX or XXX-XXXXXXXX or XXXX-XXXXXXX or XXXX-XXXXXXXX is the digit strings of XXX-XXX-XXXX, and wherein X represents one 0~9 numerical character;
Matched rule in the said rule base for the matching condition of name of contact person is:
The character string of arbitrary name of contact person in the character string of arbitrary good friend's name or the match contacts list in the coupling buddy list;
Matched rule in the said rule base for the matching condition of the number of the account of instant communicating system is:
The character string that meets arbitrary contact person's instant messaging number of the account in the character string of instant communicating system number of the account rule, the character string of mating arbitrary good friend's instant messaging number of the account in the buddy list or the match contacts list.
Further, wherein, the matched rule in the said rule base on-the-fly modifies wherein matched rule in running as required or increases.
Further, wherein, said matching module further comprises: receiver module, search and judge module and special string list block; Wherein,
Said receiver module; Be used for after receiving the conversion instruction of user, from said rule base, take out a matched rule and send to and search module certain text message, and all matched rules that are used for judging whether to have mated rule base; If; Then the special string tabulation of being write down in the said special string list block is sent to said label model, otherwise, continue from said rule base, to take out matched rule and send to said searching and judge module;
Said searching and judge module; Be used for according to the matched rule that receives; In text message, search the special string that meets this matched rule; Judge whether to find the character string that meets matched rule, if find, special string that meets matched rule that then will find and position thereof, length, match-type information are recorded in the said special string tabulation;
Said special string list block is used to preserve the special string that meets matched rule that finds and position thereof, length, match-type information;
Said label model further comprises: extraction module, acquisition module and establishment label model; Wherein,
Said extraction module; Be used for receiving the special string of special string tabulation taking-up that sends from said matching module and send to said acquisition module; And be used for judging whether the special string of this special string tabulation has changed the generation label fully, if then finish operation to this special string tabulation; Otherwise, continue from this special string tabulation, to take out special string and send to said acquisition module;
Said acquisition module; Be used to receive the special string that sends from said extraction module, obtain the pairing match-type of this special string, comprise the account type of phone number type, fixed telephone number or fax number type, name of contact person type or instant communicating system; According to match-type; In address list, search the contact person related,, then obtain contact person's information if find the contact person of said association with this special string; Comprise contact person's contact details and contact person's presence, the contact person's that this special string is associated information or the pairing match-type of this special string send to said establishment label model;
Said establishment label model; The contact person's that this special string that sends according to the said acquisition module of reception is associated information or the pairing match-type of this special string are changed the generation label, and this label is added special string position in text message.
Further; Wherein, Said message display module; Be further used for prompt operation is discerned and be construed to one or more and this special string associated content that comprises in the locational label of special string in the said text message, in window, create corresponding button or menu item; The contact person's that said this special string associated content is associated for this special string information or the pairing match-type of this special string.
Further, wherein, said text message is chat messages, the text message in the chat history or the short message of receiving good friend's chat messages, sending to the good friend.
Compared with prior art, the present invention can make the user use the contact details that comprise in the instant communication text message to operate accordingly efficiently, has reduced operation steps of user and operating time, has improved the user friendly of instant communication client.
Description of drawings
Fig. 1 is the method flow diagram to the conversion of the special string in the instant communication text message according to the invention;
Fig. 2 is to special string matched and searched flow chart in the instant communication text message in the method for the invention;
Fig. 3 is the flow chart that in the method for the invention special string conversion in the instant communication text message is generated switch labels;
Fig. 4 is the system construction drawing to the conversion of the special string in the instant communication text message according to the invention;
Fig. 5 is matching module and the concrete structure figure of label model in the system according to the invention.
Embodiment
Below embodiment is described in detail, but not as to qualification of the present invention.
As shown in Figure 1, for the described method flow diagram of the embodiment of the invention, be applied in the FTP client FTP special string conversion in the instant communication text message, these method concrete steps are following:
Step 101 is created a rule base in FTP client FTP; Rule base comprises the matched rule of all special strings that need change, and each matched rule can comprise one type of special string that one or multinomial condition coupling has same characteristic features according to it;
Step 102 after receiving the conversion instruction of user to certain text message in the FTP client FTP, is called the matched rule in the rule base, and text message is mated, and finds out the special string that all meet matched rule;
Step 103 is changed the generation switch labels according to its corresponding match-type respectively to the special string of finding out that meets matched rule, and this switch labels is added special string position in the text message;
Step 104, prompt operation is discerned and be construed to the message display module in the FTP client FTP to the locational switch labels of special string in the text message, in window, creates corresponding button or menu item.
In addition, said text message can be chat messages, the text message in the chat history or the short message text messages such as (SMS) of receiving good friend's chat messages, sending to the good friend.
In addition; Concerning the matched rule that the rule base of creating in the step 101 comprises; Can this rule base be kept in the configuration file edited of FTP client FTP, this rule base can be as required on-the-fly modifies wherein matched rule in running or increases.
Said special string generally can be divided into: 1, phone number; 2, fixed telephone number or fax number; 3, name of contact person; 4, the number of the account of instant communicating system.
Therefore, matched rule for the matching condition of this type of phone number special string is:
A. the front character is 13 or 013, and the back is followed 9 numerical character: 13XXXXXXXXX or 013XXXXXXXXX (wherein X represents one 0~9 numerical character) continuously;
B. the front character is 15 or 015, and the back is followed 9 numerical character: 15XXXXXXXXX or 015XXXXXXXXX (wherein X represents one 0~9 numerical character) continuously.
Matched rule for the matching condition of fixed telephone number or this type of fax number special string is:
A. form is the digit strings of XXX-XXXXXXX or XXX-XXXXXXXX or XXXX-XXXXXXX or XXXX-XXXXXXXX, and wherein X represents one 0~9 numerical character;
B. form is the digit strings of XXX-XXX-XXXX, and wherein X represents one 0~9 numerical character.
Matched rule for the matching condition of this type of name of contact person special string is:
The character string of a. mating arbitrary good friend's name in the buddy list;
B. the character string of arbitrary name of contact person in the match contacts list.
Matched rule for the matching condition of this type of number of the account special string of instant communicating system is:
A. the character string that meets instant communicating system number of the account rule;
The character string of b. mating arbitrary good friend's in the buddy list instant messaging number of the account;
C. the character string of arbitrary contact person's instant messaging number of the account in the match contacts list.
In addition; Step 104 is specifically: the message display module in the FTP client FTP to comprise in the locational label of special string in the text message with this special string associated content identification and be construed to prompt operation, and then in window, create corresponding button or menu item and respond user's input.Wherein, Said label comprises one or more and this special string associated content (with information or this special string pairing match-type of this special string associated content for the contact person that is associated with this special string); This content is through identification and explain that the back forms prompt operation, creates button or menu item according to this prompt operation again in window.
For example; If special string is phone number and name with contact person's association; Then this special string is changed in the switch labels of generation and is comprised phone number related with this contact person and name; Then according to comprising the prompt operation that phone number related with this contact person and name are discerned and be construed in this label, the menu item of establishment " sending SMS message, call out, send Email " etc. in window;
Further; If get access to this contact person in presence in the associated person information that is associated according to this special string; Then this special string is changed in the label of generation and is also comprised a content that shows this contact person in presence; Then this label is discerned and is construed to and also need comprise a prompt operation that shows this contact person in presence in the prompt operation, at the menu item of in window, creating " transferring immediate news " according to this prompt operation.
As shown in Figure 2, in the said method of the embodiment of the invention special string in the instant communication text message being carried out the matched and searched flow chart; Be corresponding to the specifying of the step 102 of top said embodiment, comprise the steps:
Step 201, after receiving the conversion instruction of user to certain text message in the FTP client FTP, FTP client FTP takes out a matched rule from rule base;
Step 202, FTP client FTP are searched the special string that meets this matched rule according to this matched rule in text message;
The search procedure here can adopt the matching condition of character string mode in the matched rule earlier; Filter out candidate's special string; And then according to other matching condition in this matched rule, candidate's special string is accurately mated, find out the special string that all meet this matched rule;
Step 203, FTP client FTP judge whether to find the character string that meets matched rule, if find, then get into next step 204, otherwise direct execution in step 205;
Step 204, the special string that meets matched rule that FTP client FTP will find are recorded in the special string tabulation, write down the information such as position, length, match-type of this special string simultaneously;
Step 205, FTP client FTP judge whether to have mated all matched rules in the rule base, if, then get into step 206, otherwise, execution in step 201 to 204 continued;
Step 206, the special string tabulation that output coupling back is write down.
As shown in Figure 3, in the said method of the embodiment of the invention special string in the instant communication text message being changed the flow chart that generates label; Be corresponding to the specifying of the step 103 of top said embodiment, comprise the steps:
Step 301, FTP client FTP takes out a special string from the special string tabulation of record;
Step 302 is obtained the pairing match-type of this special string, comprises the account type of phone number type, fixed telephone number or fax number type, name of contact person type or instant communicating system;
Step 303 according to match-type, is searched the contact person related with special string in address list;
Step 304 if find related contact person, then gets into next step 305, otherwise, direct execution in step 307;
Step 305 is obtained contact person's information, comprises contact person's contact details and contact person's presence;
Step 306 is changed the generation label according to the related contact person's of this special string information or the pairing match-type of this special string, and this label is added special string position in the text message;
Step 307, judge in the special string tabulation of said record special string whether fully conversion generate label, if, then finish, otherwise, continue execution in step 301 to 306.
As shown in Figure 4; Be the said system construction drawing that special string in the instant communication text message is changed of the embodiment of the invention; Be applied in the client, this system comprises: rule base 401, matching module 402, label model 403 and message display module 404; Wherein,
Rule base 401 is used to preserve the matched rule of all special strings that need change;
Matching module 402 is used for after receiving the conversion instruction of user to certain text message, calling the matched rule in the rule base, and text message is mated, and finds out all special strings that meet matched rule and sends to label model 403;
Label model 403 is used for the special string of finding out that meets matched rule is changed this label of generation and it is added text message special string position according to its corresponding match-type respectively;
Message display module 404 is used for prompt operation is discerned and be construed to the locational label of text message special string, in window, creates corresponding button or menu item.
In addition, the rule base in the system 401 can be as required on-the-fly modifies wherein matched rule in running or increases;
Further; Message display module 404 in the system be used for to comprise in the locational label of text message special string with the identification of this special string associated content and be construed to prompt operation, and then in window, create corresponding button or menu item and respond user's input.Wherein, said label comprises one or more and this special string associated content, and this content is also explained back formation prompt operation through identification, in window, creates button or menu item according to this prompt operation again.
In addition, text message described in the system can be chat messages, the text message in the chat history or the short message text messages such as (SMS) of receiving good friend's chat messages, sending to the good friend.
As shown in Figure 5, said matching module 402 further comprises: receiver module 501, search and judge module 502 and special string list block 503; Wherein,
Receiver module 501; Be used for after receiving the conversion instruction of user, from rule base, take out a matched rule and send to and search module certain text message, and all matched rules that are used for judging whether to have mated rule base; If; Then the special string tabulation of being write down in the special string list block is sent to label model 403, otherwise continuation taking-up matched rule from rule base sends to be searched and judge module 502;
Search and judge module 502; Be used for according to the matched rule that receives; In text message, search the special string that meets this matched rule; Judge whether to find the character string that meets matched rule, if find, special string that meets matched rule that then will find and position thereof, length, match-type information are recorded in the special string tabulation;
Special string list block 503 is used to preserve the special string that meets matched rule that finds and position thereof, length, match-type information.
As shown in Figure 5, said label model 403 further comprises: extraction module 504, acquisition module 505 and establishment label model 506; Wherein,
Extraction module 504; Be used for receiving the special string of special string tabulation taking-up that sends from matching module 402 and send to acquisition module; And be used for judging whether the special string of this special string tabulation has changed the generation label fully, if then finish operation to this special string tabulation; Otherwise, continue from this special string tabulation, to take out special string and send to acquisition module 505;
Acquisition module 505; Be used to receive the special string that sends from extraction module, obtain the pairing match-type of this special string, comprise the account type of phone number type, fixed telephone number or fax number type, name of contact person type or instant communicating system; According to match-type; In address list, search the contact person related,, then obtain contact person's information if find the contact person of said association with this special string; Comprise contact person's contact details and contact person's presence, the contact person's that this special string is associated information or the pairing match-type of this special string send to creates label model 506;
Create label model 506; The contact person's that this special string that sends according to reception acquisition module 505 is associated information or the pairing match-type of this special string are changed the generation label, and this label is added special string position in text message.
Compared with prior art; The described method and system beneficial effect of the embodiment of the invention is: can make the user use the contact details that comprise in the instant communication text message to operate accordingly efficiently; Reduce operation steps of user and operating time, improved the user friendly of instant communication client.
Certainly; The present invention also can have other various embodiments; Under the situation that does not deviate from spirit of the present invention and essence thereof; Those of ordinary skill in the art can make various corresponding changes and distortion according to the present invention, but these corresponding changes and distortion all should belong to the protection range of the appended claim of the present invention.

Claims (8)

1. the method that special string in the instant communication text message is changed is characterized in that, may further comprise the steps:
Establishment one comprises the rule base of the matched rule of all special strings that need change;
After receiving the conversion instruction of user to said text message; Call the matched rule in this rule base; Text message is mated; Find out the special string that all meet matched rule, the matched rule in the said rule base on-the-fly modifies wherein matched rule in running as required or increases;
The said special string of finding out is changed the generation label and added special string position in the text message according to its corresponding match-type respectively;
Prompt operation is discerned and be construed to one or more and this special string associated content to comprising in the locational label of special string in the text message, in window, creates corresponding button or menu item; The contact person's that said this special string associated content is associated for this special string information or the pairing match-type of this special string.
2. the method for claim 1 is characterized in that:
Said special string is the number of the account of phone number, fixed telephone number or fax number, name of contact person or instant communicating system;
Matched rule in the said rule base for the matching condition of said phone number is:
The front character is 13 or 013; It is 15 or 015 that 9 numerical character: 13XXXXXXXXX or 013XXXXXXXXX or front character are followed continuously in the back; The back is followed 9 numerical character: 15XXXXXXXXX or 015XXXXXXXXX continuously, and wherein X represents one 0~9 numerical character;
Matched rule in the said rule base for the matching condition of fixed telephone number or fax number is:
Form is that digit strings or the form of XXX-XXXXXXX or XXX-XXXXXXXX or XXXX-XXXXXXX or XXXX-XXXXXXXX is the digit strings of XXX-XXX-XXXX, and wherein X represents one 0~9 numerical character;
Matched rule in the said rule base for the matching condition of name of contact person is:
The character string of arbitrary name of contact person in the character string of arbitrary good friend's name or the match contacts list in the coupling buddy list;
Matched rule in the said rule base for the matching condition of the number of the account of instant communicating system is:
The character string that meets arbitrary contact person's instant messaging number of the account in the character string of instant communicating system number of the account rule, the character string of mating arbitrary good friend's instant messaging number of the account in the buddy list or the match contacts list.
3. method as claimed in claim 2 is characterized in that:
(11) receive the conversion instruction of user to said text message after, from rule base, take out a matched rule, according to this matched rule, in text message, search the special string that meets this matched rule;
(12) judge whether to find the character string that meets matched rule,, then get into next step (13) if find, otherwise direct execution in step (14);
Special string that meets matched rule that (13) will find and position thereof, length and match-type information are recorded in the special string tabulation;
(14) judge whether to have mated all matched rules in the rule base, if, then get into step (15), otherwise, execution in step (11) continued to (13);
(15) the special string tabulation that output coupling back is write down;
(16) from the special string tabulation of said record, take out a special string;
(17) obtain the pairing match-type of this special string, comprise the account type of phone number type, fixed telephone number or fax number type, name of contact person type or instant communicating system;
(18), in address list, search the contact person related with this special string according to this match-type;
(19) if find the contact person of said association, then get into next step (20), otherwise, direct execution in step (21);
(20) obtain contact person's information, comprise contact person's contact details and contact person's presence;
(21) contact person's who is associated according to this special string information or the pairing match-type of this special string are changed the generation label, and this label is added special string position in text message;
(22) judge in the special string tabulation of said record special string whether fully conversion generate label, if, then finish, otherwise, continue execution in step (16) to (21).
4. like claim 1,2 or 3 described methods, it is characterized in that:
Said text message is chat messages, the text message in the chat history or the short message of receiving good friend's chat messages, sending to the good friend.
5. the system that special string in the instant communication text message is changed is characterized in that, this system comprises: rule base, matching module, label model and message display module; Wherein,
Said rule base is used to preserve the matched rule of all special strings that need change, and the matched rule in the said rule base on-the-fly modifies wherein matched rule in running as required or increases;
Said matching module is used for after receiving the conversion instruction of user to certain text message, calling the matched rule in the rule base, and text message is mated, and finds out all special strings that meet matched rule and sends to label model;
Said label model is used for the special string of finding out that meets matched rule is changed this label of generation and it is added text message special string position according to its corresponding match-type respectively;
Said message display module is used for prompt operation is discerned and be construed to one or more and this special string associated content that comprises in the locational label of text message special string, in window, creates corresponding button or menu item; The contact person's that said this special string associated content is associated for this special string information or the pairing match-type of this special string.
6. system as claimed in claim 5 is characterized in that:
Said special string is the number of the account of phone number, fixed telephone number or fax number, name of contact person or instant communicating system;
Matched rule in the said rule base for the matching condition of said phone number is:
The front character is 13 or 013; It is 15 or 015 that 9 numerical character: 13XXXXXXXXX or 013XXXXXXXXX or front character are followed continuously in the back; The back is followed 9 numerical character: 15XXXXXXXXX or 015XXXXXXXXX continuously, and wherein X represents one 0~9 numerical character;
Matched rule in the said rule base for the matching condition of fixed telephone number or fax number is:
Form is that digit strings or the form of XXX-XXXXXXX or XXX-XXXXXXXX or XXXX-XXXXXXX or XXXX-XXXXXXXX is the digit strings of XXX-XXX-XXXX, and wherein X represents one 0~9 numerical character;
Matched rule in the said rule base for the matching condition of name of contact person is:
The character string of arbitrary name of contact person in the character string of arbitrary good friend's name or the match contacts list in the coupling buddy list;
Matched rule in the said rule base for the matching condition of the number of the account of instant communicating system is:
The character string that meets arbitrary contact person's instant messaging number of the account in the character string of instant communicating system number of the account rule, the character string of mating arbitrary good friend's instant messaging number of the account in the buddy list or the match contacts list.
7. system as claimed in claim 6 is characterized in that:
Said matching module further comprises: receiver module, search and judge module and special string list block; Wherein,
Said receiver module; Be used for after receiving the conversion instruction of user, from said rule base, take out a matched rule and send to said searching and judge module certain text message, and all matched rules that are used for judging whether to have mated rule base; If; Then the special string tabulation of being write down in the said special string list block is sent to said label model, otherwise, continue from said rule base, to take out matched rule and send to said searching and judge module;
Said searching and judge module; Be used for according to the matched rule that receives; In text message, search the special string that meets this matched rule; Judge whether to find the character string that meets matched rule, if find, special string that meets matched rule that then will find and position thereof, length and match-type information are recorded in the said special string tabulation;
Said special string list block is used to preserve the special string that meets matched rule that finds and position thereof, length, match-type information;
Said label model further comprises: extraction module, acquisition module and establishment label model; Wherein,
Said extraction module; Be used for receiving the special string of special string tabulation taking-up that sends from said matching module and send to said acquisition module; And be used for judging whether the special string of this special string tabulation has changed the generation label fully, if then finish operation to this special string tabulation; Otherwise, continue from this special string tabulation, to take out special string and send to said acquisition module;
Said acquisition module; Be used to receive the special string that sends from said extraction module, obtain the pairing match-type of this special string, comprise the account type of phone number type, fixed telephone number or fax number type, name of contact person type or instant communicating system; According to match-type; In address list, search the contact person related,, then obtain contact person's information if find the contact person of said association with this special string; Comprise contact person's contact details and contact person's presence, the contact person's that this special string is associated information or the pairing match-type of this special string send to said establishment label model;
Said establishment label model; The contact person's that this special string that sends according to the said acquisition module of reception is associated information or the pairing match-type of this special string are changed the generation label, and this label is added special string position in text message.
8. like claim 5,6 or 7 described systems, it is characterized in that:
Said text message is chat messages, the text message in the chat history or the short message of receiving good friend's chat messages, sending to the good friend.
CN200810176563A 2008-11-19 2008-11-19 Method and system for converting special character strings in instant communication text message Expired - Fee Related CN101741756B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200810176563A CN101741756B (en) 2008-11-19 2008-11-19 Method and system for converting special character strings in instant communication text message

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200810176563A CN101741756B (en) 2008-11-19 2008-11-19 Method and system for converting special character strings in instant communication text message

Publications (2)

Publication Number Publication Date
CN101741756A CN101741756A (en) 2010-06-16
CN101741756B true CN101741756B (en) 2012-09-26

Family

ID=42464660

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200810176563A Expired - Fee Related CN101741756B (en) 2008-11-19 2008-11-19 Method and system for converting special character strings in instant communication text message

Country Status (1)

Country Link
CN (1) CN101741756B (en)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101969507A (en) * 2010-10-29 2011-02-09 宇龙计算机通信科技(深圳)有限公司 Method, system and mobile terminal for rapidly communicating with contact person
CN101968719A (en) * 2010-11-18 2011-02-09 北京数码大方科技有限公司 Method and device for creating special characters and computer thereof
CN102546472B (en) * 2012-01-08 2015-11-04 上海量明科技发展有限公司 The based reminding method of end type instant communication message, client and system
CN103218363B (en) * 2012-01-19 2018-05-04 腾讯科技(深圳)有限公司 Information processing method and device
CN103218379A (en) * 2012-01-19 2013-07-24 北京千橡网景科技发展有限公司 Method and device for analyzing graph interpretations
EP2867800A4 (en) * 2012-06-29 2016-01-27 Nokia Technologies Oy Method and apparatus for providing task-based service recommendations
CN102945243B (en) * 2012-09-20 2018-05-04 百度在线网络技术(北京)有限公司 A kind of contact details recognition methods based on browsing content
CN103249016A (en) * 2013-04-28 2013-08-14 北京小米科技有限责任公司 Method and device for displaying short message and mobile terminal
CN103402008A (en) * 2013-07-26 2013-11-20 宇龙计算机通信科技(深圳)有限公司 Method and device for rapidly mass texting message
CN107679034A (en) * 2017-09-21 2018-02-09 北京金山安全软件有限公司 Information processing method and device
CN108062290B (en) * 2017-12-14 2021-12-21 北京三快在线科技有限公司 Message text processing method and device, electronic equipment and storage medium
CN108804487A (en) * 2017-12-28 2018-11-13 ***通信集团公司 A kind of method and device of extraction target character
CN108563381A (en) * 2018-04-16 2018-09-21 腾讯科技(深圳)有限公司 User data processing method, device, storage medium and computer equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1932809A (en) * 2005-09-14 2007-03-21 腾讯科技(深圳)有限公司 Method and apparatus for matching associated person information
CN1941767A (en) * 2005-09-27 2007-04-04 腾讯科技(深圳)有限公司 Method and system for processing instant telecommunication information
CN101247603A (en) * 2008-03-26 2008-08-20 中兴通讯股份有限公司 Multi-layer anchor point extraction method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1932809A (en) * 2005-09-14 2007-03-21 腾讯科技(深圳)有限公司 Method and apparatus for matching associated person information
CN1941767A (en) * 2005-09-27 2007-04-04 腾讯科技(深圳)有限公司 Method and system for processing instant telecommunication information
CN101247603A (en) * 2008-03-26 2008-08-20 中兴通讯股份有限公司 Multi-layer anchor point extraction method and device

Also Published As

Publication number Publication date
CN101741756A (en) 2010-06-16

Similar Documents

Publication Publication Date Title
CN101741756B (en) Method and system for converting special character strings in instant communication text message
US11258737B2 (en) Instant messaging method, apparatus and system based on email system
CN1524387B (en) Improvements in message display
CN101129059B (en) Terminal and computer program product for replying to an email message using one of a plurality of communication methods
CN102474540B (en) Systems and methods for disambiguating entries in a contacts list database implemented on a mobile device
US8169409B2 (en) Method of managing a language information for a text input and method of inputting a text and a mobile terminal
US9398395B2 (en) Grouping and displaying messages exchanged between a sender and multiple recipients
CN102307056B (en) Method for processing mobile terminal contact information and mobile terminal
CN104915086A (en) Reminder generating method and a mobile electronic device
CN101702840A (en) Method and device for automatically processing message content
CN105515951A (en) Wearable device based instant messaging method and device
CN104135565A (en) Barcode-based express terminal communication method
CN105072238A (en) Method and apparatus for creating contact list according to note information of newly-added number
CN102316223A (en) Processing method for mobile phone unread information and mobile phone
CN101834943A (en) Method and device for switching working mode of mobile terminal
WO2006065108A1 (en) System and method for filtering message
CN101453509A (en) Processing method for mobile phone information timed sending
EP1941709B1 (en) Improved mobile communication method and terminal
CN103067554B (en) A kind of terminal for supporting prompt operation
CN101335780A (en) Multi-channel fast intelligent prompt method and device of portable apparatus
JP2002330234A (en) System and method for linking telephone and electronic mail
CN101795325A (en) Number inputting method and terminal
CN102006554A (en) Method and system for generating short message
CN105704003A (en) Instant communication interaction method and terminal
CN100518231C (en) Method for receiving fax by multimedia short message

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: 20120926

Termination date: 20161119

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