CN103218363A - Information processing method and device - Google Patents

Information processing method and device Download PDF

Info

Publication number
CN103218363A
CN103218363A CN2012100181347A CN201210018134A CN103218363A CN 103218363 A CN103218363 A CN 103218363A CN 2012100181347 A CN2012100181347 A CN 2012100181347A CN 201210018134 A CN201210018134 A CN 201210018134A CN 103218363 A CN103218363 A CN 103218363A
Authority
CN
China
Prior art keywords
character string
specific character
semantic
type
described specific
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
CN2012100181347A
Other languages
Chinese (zh)
Other versions
CN103218363B (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201210018134.7A priority Critical patent/CN103218363B/en
Publication of CN103218363A publication Critical patent/CN103218363A/en
Application granted granted Critical
Publication of CN103218363B publication Critical patent/CN103218363B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephone Function (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention discloses an information processing method and an information processing device and belongs to the technical field of mobile communication. The method comprises the following steps of detecting a specific character string in text information; determining the semantic type of the specific character string according to the semantic feature of the specific character string; and according to the corresponding relation between the preset semantic type and an operation type, determining the operation type corresponding to the specific character string. By the device and the method, the semantic type of the extracted specific character string is determined, and selectable operation is differentially and selectively provided to each specific character string according to the determined semantic type, so that the selectable operation provided by a mobile terminal is more accurate, the using experience of a user is improved, and some error problems are prevented.

Description

Information processing method and device
Technical field
The present invention relates to the mobile communication technology field, particularly a kind of information processing method and device.
Background technology
Text message is one of information carrier of the most normal use in the daily communication of people, the Word message that receives such as the short message that receives by portable terminal, by instant communication software client terminal and e-mail messages of receiving by Mail Clients or the like.
When using text message, often comprise the character string that contains important information or useful information in the text message, such as the character string that in the text message that receives, includes fixed telephone number, Mobile Directory Number and email address and so on as information carrier.The user often has the demand of obtaining these character strings and being used.
In order to make the user obtain these character strings easily and to be used, there has been a kind of information processing method to satisfy this demand in the prior art, this method is roughly: detect the character string in the text message; Adopt the difference display mode of " underscore+blue font " and so on to be shown to the user detected character string, the out of Memory in the text message can adopt normal black font to show; The user can select this character string, and portable terminal can provide corresponding operation in pop-up window after receiving this selected signal.In the example for example shown in Figure 1, text message can be a short message that portable terminal receives, include Mobile Directory Number in it, the user is behind selected this Mobile Directory Number, but portable terminal can adopt mode such as pop-up window to provide such as calling, photos and sending messages, newly-built contact person, store the selection operation the existing contact person into.
In realizing process of the present invention, the inventor finds that there is following problem at least in prior art: but information processing method of the prior art adopts indifference to handle when providing selection operation according to character string, but promptly all provide identical selection operation at various character strings, but this may influence the use of user to various selection operations, for example: if the character string that occurs in the Word message is a fixed telephone number, and but " sending short messages " this action type is provided in the selection operation that provides, the user has sent short message according to this operation to this fixed telephone number.Yet landline telephone all can not receive short message usually, thereby causes user's short message to send failure, influences the use of user to this operation.
Summary of the invention
But in order to provide selection operation more exactly, make things convenient for the application of user to operation, the embodiment of the invention provides a kind of information processing method and device.Described technical scheme is as follows:
According to an aspect of the present invention, the embodiment of the invention provides a kind of information processing method, and described information processing method comprises:
Detect the specific character string in the text message;
Determine the semantic type of described specific character string according to the semantic feature of described specific character string;
According to the default semantic type and the corresponding relation of action type, determine the action type of described specific character string correspondence.
Further, described specific character string comprises any one or more in the following character string: the character string of digit strings, alphabetic character string, numeral and monogram, comprise the character string of special character; Wherein, described special character comprises any one or more in the following character:, www, http, https, com, cn, org, net;
Described semantic type comprises any one or more in the following type: Mobile Directory Number, fixed telephone number, email address, instant messaging number, web page address, date, Bank Account Number, operator's service provide number, emergency number, existing contact phone number, postcode.
Further, described semantic feature according to described specific character string is determined the semantic type of described specific character string, specifically comprises:
Discern the semantic feature of described specific character string, the semantic feature of described specific character string comprises: any one or more in the length of the character arrangement mode of the character types that described specific character string comprises, described specific character string, described specific character string;
According to the default semantic feature and the corresponding relation of semantic type, determine the semantic type of described specific character string correspondence;
Wherein, the described default semantic feature and the corresponding relation of semantic type are: a kind of semantic feature is corresponding at least a semantic type.
Further, described semantic feature according to described specific character string is determined the semantic type of described specific character string, specifically comprises:
Discern the semantic feature of described specific character string, the semantic feature of described specific character string comprises: any one or more in the length of the character arrangement mode of the character types that described specific character string comprises, described specific character string, described specific character string;
In described text message, extract key word;
According to default semantic feature and the combination of key word and the corresponding relation of semantic type, determine the semantic type of described specific character string correspondence;
Wherein, the described default semantic feature and the combination of key word and the corresponding relation of semantic type are: any combination of semantic feature and key word is corresponding at least a semantic type.
Further, described semantic feature according to described specific character string is determined the semantic type of described specific character string, specifically comprises:
With described specific character string with preset character string and compare;
If described specific character string is defined as the described semantic type that presets character string the semantic type of described specific character string with described to preset character string identical;
Wherein, the described semantic type that presets character string comprises: operator's service provides any one or more in number, emergency number, existing contact phone number, the postcode.
Further, the described default semantic type and the corresponding relation of action type are: a kind of semantic type is corresponding at least a action type;
Described action type comprises: duplicate, call, send note, send mail, be saved to this locality, be saved among existing contact person and the newly-built contact person one or more.
Further, the semantic type that described basis is default and the corresponding relation of action type, determine also to comprise after the action type of described specific character string correspondence:
Show described specific character string according to default display mode, described default display mode comprises: any one or more in underscore mode, suspended pattern, the color matching mode;
When receiving the operation selection signal that acts on arbitrary specific character string, according to selected action type, to described specific character string executable operations.
According to the embodiment of the invention on the other hand, the embodiment of the invention also provides a kind of signal conditioning package, and described signal conditioning package comprises:
The character string detection module is used for detecting the specific character string of text message;
The semantic type determination module is used for determining according to the semantic feature of described specific character string the semantic type of described specific character string;
The action type determination module is used for determining the action type of described specific character string correspondence according to the default semantic type and the corresponding relation of action type.
Further, described specific character string comprises any one or more in the following character string: the character string of digit strings, alphabetic character string, numeral and monogram, comprise the character string of special character; Wherein, described special character comprises any one or more in the following character:, www, http, https, com, cn, org, net;
Described semantic type comprises any one or more in the following type: Mobile Directory Number, fixed telephone number, email address, instant messaging number, web page address, date, Bank Account Number, operator's service provide number, emergency number, existing contact phone number, postcode.
Further, described semantic type determination module comprises: the first semantic feature recognition unit and the first semantic type determining unit;
The described first semantic feature recognition unit, be used to discern the semantic feature of described specific character string, the semantic feature of described specific character string comprises: any one or more in the length of the character arrangement mode of the character types that described specific character string comprises, described specific character string, described specific character string;
The described first semantic type determining unit is used for determining the semantic type of described specific character string correspondence according to the default semantic feature and the corresponding relation of semantic type;
Wherein, the described default semantic feature and the corresponding relation of semantic type are: a kind of semantic feature is corresponding at least a semantic type.
Further, described semantic type determination module comprises: the second semantic feature recognition unit, keyword extraction unit and the second semantic type determining unit;
The described second semantic feature recognition unit, be used to discern the semantic feature of described specific character string, the semantic feature of described specific character string comprises: any one or more in the length of the character arrangement mode of the character types that described specific character string comprises, described specific character string, described specific character string;
Described keyword extraction unit is used for extracting key word at described text message;
The described second semantic type determining unit is used for determining the semantic type of described specific character string correspondence according to default semantic feature and the combination of key word and the corresponding relation of semantic type;
Wherein, the described default semantic feature and the combination of key word and the corresponding relation of semantic type are: any combination of semantic feature and key word is corresponding at least a semantic type.
Further, described semantic type determination module comprises: character string comparing unit and the 3rd semantic type determining unit;
Described character string comparing unit is used for described specific character string and presets character string comparing;
Described the 3rd semantic type determining unit if be used for described specific character string and described to preset character string identical, is defined as the described semantic type that presets character string the semantic type of described specific character string;
Wherein, the described semantic type that presets character string comprises: operator's service provides any one or more in number, emergency number, existing contact phone number, the postcode.
Further, the described default semantic type and the corresponding relation of action type are: a kind of semantic type is corresponding at least a action type;
Described action type comprises: duplicate, call, send note, send mail, be saved to this locality, be saved among existing contact person and the newly-built contact person one or more.
Further, described signal conditioning package also comprises: character string display module and operation executing module;
Described character string display module is used for showing described specific character string according to default display mode that described default display mode comprises: any one or more in underscore mode, suspended pattern, the color matching mode;
Described operation executing module is used for when receiving the operation selection signal that acts on arbitrary specific character string, according to selected action type, to described specific character string executable operations.
The beneficial effect that the technical scheme that the embodiment of the invention provides is brought is:
The embodiment of the invention detects the specific character string in the text message, and determine its semantic type based on the semantic feature of detected specific character string, provide corresponding action type according to semantic type, but by to the specific character string differentiation, optionally provide selection operation, but the selection operation that makes portable terminal provide is more accurate, make things convenient for the user more effectively specific character string to be operated, improved user's experience.
Description of drawings
In order to be illustrated more clearly in the technical scheme in the embodiment of the invention, the accompanying drawing of required use is done to introduce simply in will describing embodiment below, apparently, accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the effect figure of information processing method of the prior art;
Fig. 2 is the method flow diagram of the information processing method that provides of the embodiment of the invention one;
Fig. 3 is the method flow diagram of the information processing method that provides of the embodiment of the invention two;
Fig. 4 is the block diagram of the signal conditioning package that provides of the embodiment of the invention three;
Fig. 5 is the part block scheme of the semantic type determination module that provides of the embodiment of the invention three;
Fig. 6 is the part block scheme of the semantic type determination module that provides of the embodiment of the invention three;
Fig. 7 is the part block scheme of the semantic type determination module that provides of the embodiment of the invention three.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, embodiment of the present invention is described further in detail below in conjunction with accompanying drawing.
Embodiment one
Please refer to Fig. 2, it shows the method flow diagram of the information processing method that the embodiment of the invention one provides.The portable terminal that this information processing method can be used for storing text message or can receive and dispatch text message, in the embodiment of the invention, portable terminal can be mobile terminal devices such as portable terminal, instant communication software client terminal or Mail Clients.This information processing method comprises:
Step 202 detects the specific character string in the text message;
Portable terminal can detect the text message of its stored or the text message that receives, with the specific character string in the identification text message.Specific character string can include but not limited to any one or more in the following character string: the character string of digit strings, alphabetic character string, numeral and monogram, comprise the character string of special character.Wherein, special character can include but not limited to any one or more in the following character:, www, http, https, com, cn, org, net.Such as, when text message was Chinese information, specific character string mainly was meant the character string of digit strings, alphabetic character string and numeral and monogram.In the specific implementation, portable terminal can read analysis successively to all characters in the text message, detects the specific character string whether text message comprises the character string and so on of digit strings, alphabetic character string and/or numeral and character combination then.
In some cases, portable terminal also can detect specific character string according to specific character, and special character can comprise any one or more in the following character:, www, http, https, com, cn, org, net.Such as can when text message is english information, detecting the specific character string of representing email address according to specific character " "; Or according to the specific character string of representing internet address that detects of specific character " www " and " com ".Like that, give unnecessary details no longer one by one.
Step 204 is determined the semantic type of specific character string according to the semantic feature of specific character string;
After in text message, detecting specific character string, can determine the semantic type of this specific character string further according to the semantic feature of specific character string.The semantic feature of specific character string can comprise any one or more in the length of character arrangement mode, specific character string of character types that specific character string comprises, specific character string.Such as, the character types of a specific character string all be numeral, character puts in order conforms to the coding rule of phone number and character length is 11; All be that numeral, character length are 6 or the like such as, the character types of a specific character string again.
According to the semantic feature of a specific character string, can determine the semantic type that this specific character string is possible.Such as, for character types all be numeral, character puts in order with the coding rule of phone number conforms to and character length is 11 a specific character string, can determine that its semantic type is a Mobile Directory Number.Obviously, alleged herein semantic type can include but not limited to that Mobile Directory Number, fixed telephone number, email address, instant messaging number, web page address, date, Bank Account Number, operator's service provide number, emergency number, existing contact phone number, postcode.
Step 206 according to the default semantic type and the corresponding relation of action type, is determined the action type of specific character string correspondence.
After the semantic type of determining this specific character string, can determine the action type corresponding, but so that optionally provide selection operation according to the corresponding relation between each semantic type and the various action type to each specific character string with this specific character string.This action type can include but not limited to: duplicate, call, send note, send mail, be saved to this locality, be saved among existing contact person and the newly-built contact person one or more.
In sum, the information processing method that present embodiment one provides is by detecting the specific character string in the text message, and determine its semantic type based on the semantic feature of detected specific character string, provide corresponding action type according to semantic type, but by to the specific character string differentiation, optionally provide selection operation, but the selection operation that makes portable terminal provide is more accurate, makes things convenient for the user more effectively specific character string to be operated, and has improved user's experience.
Embodiment two
Please refer to Fig. 3, it shows the method flow diagram of the information processing method that the embodiment of the invention two provides.The portable terminal that this information processing method can be used for storing text message or can receive and dispatch text message, in the embodiment of the invention, portable terminal can be mobile terminal devices such as mobile phone, PDA, panel computer.This information processing method comprises:
Step 301 detects the specific character string in the text message;
Portable terminal can detect the text message of its stored or the text message that receives, with the specific character string in the identification text message.Specific character string can include but not limited to any one or more in the following character string: the character string of digit strings, alphabetic character string, numeral and monogram, comprise the character string of special character.Wherein, special character can include but not limited to any one or more in the following character:, www, http, https, com, cn, org, net.The specific character string that detects in the text message can adopt following dual mode and combination thereof arbitrarily;
First kind of mode at first reads all characters in the text message, detects the specific character string such as character string that whether comprise digit strings, alphabetic character string and numeral and monogram in the text message then.
This mode can be used for when text message is Chinese information, extracts the specific character string of the non-Chinese such as character string of digit strings, alphabetic character string and numeral and monogram in the text message.Especially, character strings such as Mobile Directory Number, fixed telephone number, instant messaging number, date and Bank Account Number all are digit strings usually.Can also optimize slightly this mode in the specific implementation, such as can only extracting the digit strings of character figure place greater than 3; Again such as, the punctuation character figure place between two digit strings was thought specific character string or the like less than 3 o'clock with these two digit strings and the punctuation character unification between them.
The second way reads all characters in the text message; Detect in the text message and whether have specific character; When having specific character in detecting text message, the character string that will comprise specific character is thought specific character string.
This mode can be used for when text message is english information, extracts the specific character string that characterizes email address or internet address and so in the text message.Such as specific character is " ", can extract the specific character string that comprises numeral, letter and ". " symbol in text message according to specific character " "; Again such as, specific character is " www " and " com ", can extract the specific character string that comprises numeral, letter and ". " symbol in text message according to this specific character.Need to prove that specific character herein can preestablish, and specific character can be that a character also can be the character group that a plurality of characters are formed, as long as can characterize certain features.Be understandable that the detection for specific character string in the text message in the present embodiment is not limited to above-mentioned dual mode, this is not limited in this present invention.
Step 302 is determined the semantic type of specific character string according to the semantic feature of specific character string;
After in text message, detecting specific character string, can determine the semantic type of this specific character string further according to the semantic feature of specific character string.Alleged herein semantic type can include but not limited to that Mobile Directory Number, fixed telephone number, email address, instant messaging number, web page address, date, Bank Account Number, operator's service provide number, emergency number, existing contact phone number, postcode.The semantic type of determining specific character string can adopt the combination of following any one mode or multiple mode:
First kind of mode: the semantic feature of identification specific character string, the semantic feature of specific character string comprises: any one or more in the character arrangement mode of the character types that specific character string comprises, specific character string, the length of specific character string; According to the default semantic feature and the corresponding relation of semantic type, determine the semantic type of specific character string correspondence then.Wherein, the corresponding relation of Yu She semantic feature and semantic type is: a kind of semantic feature is corresponding at least a semantic type.
Adopt this mode can be used for determining whether specific character string is " Mobile Directory Number ", " fixed telephone number ", " postcode " and semantic types such as " dates ".The specific character string of these semantic types all has stronger regularity usually.Such as, in text message, detect a specific character string " 18688888888 ", the semantic feature that recognizes this specific character string comprises: character types are the arrangement regulation that 11 and character arrangement regulation meet mobile phone for numeral, character figure place, so can determine that the semantic type of this specific character string is " Mobile Directory Number " according to these semantic features.Again such as, in text message, detect a specific character string " 214122 ", the semantic feature that recognizes this specific character string comprises: character types are the arrangement regulation that 6 and character arrangement regulation meet postcode for numeral, character figure place, so can determine that the semantic type of this specific character string is " postcode " according to these semantic features.
But need to prove that the corresponding relation between semantic feature and the semantic type can be pre-defined, and a kind of semantic feature is usually corresponding at least a semantic type.Both can be such as, " the character figure place is 6 " this semantic feature corresponding to " postcode " semantic type, also can be corresponding to " instant messaging number " semantic type.
The second way: the semantic feature of identification specific character string, the semantic feature of specific character string comprises: any one or more in the character arrangement mode of the character types that specific character string comprises, specific character string, the length of specific character string; In text message, extract key word then; At last, according to default semantic feature and the combination of key word and the corresponding relation of semantic type, determine the semantic type of specific character string correspondence;
Wherein, the corresponding relation of the combination of Yu She semantic feature and key word and semantic type is: any combination of semantic feature and key word is corresponding at least a semantic type.
Adopt this mode can determine mainly whether specific character string is the semantic type of " instant messaging number ", " Bank Account Number " and " fixed telephone number " and so on.Generally, the semantic feature of the specific character string of this type is not enough to uniquely to determine its semantic type, thus need in conjunction with the context environmental in the text message in other words key word could determine its semantic type better.Semantic feature such as a specific character string is that the character figure place is 7; And in this specific character string place text message, also extract key words such as " MSN ", " msn "; The semantic type that then can determine this specific character string is " instant messaging number ".Again such as, the character figure place of a specific character string is 19; And in this specific character string place text message, extract " bank ", " middle row ", " industrial and commercial bank ", " agricultural bank " or key words such as " Construction Banks "; The semantic type that then can determine this specific character string is " Bank Account Number ".The character figure place of the specific character string of extracting for another example, is 8; And extract "-" or key words such as " phones " in other character in this specific character string place text message; The semantic type that then can determine this specific character string is " landline telephone ".
Need to prove that the position at key word place can be in specific character string, also can be in text message other character except that specific character string, herein can be slightly different according to different embodiment.Key word also can be identical with aforesaid special character.The combination and the corresponding relation between the semantic type of semantic feature and key word can be pre-defined, and any combination of semantic feature and key word is usually corresponding at least a semantic type.Such as, semantic feature " the character figure place is 6 " and this combination of key word " MSN " can be corresponding to " instant messaging number " semantic types; Again can be corresponding to " internet address " and " email address " two semantic types such as, semantic feature " character types are English " and this combination of key word " com ".
The third mode, with specific character string with preset character string and compare; If specific character string is identical with the comparative result that presets character string, the semantic type that presets character string is defined as the semantic type of specific character string;
Wherein, the semantic type that presets character string comprises: operator's service provides one or more in number, emergency number, existing contact phone number, the postcode.
Because some specific character string fix, provide the service of number 10010, China Mobile that the number of number 10086 and so on is provided such as the service of CHINAUNICOM; Also such as the telephone number that has the contact person in the portable terminal.For the known character string of these semantic types, can store in advance in the character string storehouse.After from text message, extracting specific character string " 10010 ", can and preset character string with this specific character string " 10010 " and compare, comprise " 10010 " owing to preset in the character string, so comparative result between the two will be identical.Can think so this specific character string " 10010 " semantic feature and semantic type and to preset the semantic feature and the semantic type of " 10010 " of character string also identical.
Step 303 according to the default semantic type and the corresponding relation of action type, is determined the action type of specific character string correspondence.
After the semantic type of determining this specific character string,, determine the action type corresponding, but so that optionally provide selection operation each specific character string with this specific character string according to the corresponding relation between each semantic type and the various COS.
Need to prove, the default semantic type and the corresponding relation of action type are generally: a kind of semantic type is corresponding at least a action type, can be to duplicate, call, send note or the like action type such as the action type of " Mobile Directory Number " this semantic type correspondence.Action type herein includes but not limited to: duplicate, call, send note, send mail, be saved to this locality, be saved among existing contact person and the newly-built contact person one or more.
Step 304 shows specific character string according to default display mode, and default display mode includes but not limited to: any one or more in underscore mode, suspended pattern, the color matching mode;
Portable terminal can be when being shown to the user with text information after determining the semantic type of specific character string, and character string and other character of the different semantic types in the text information shown according to default display mode distinctiveness ground.Such as, other character in the text message shows that with the grey regular script specific character string underlines demonstration with the blue Song typeface.Also such as, out of Memory in the text message shows with the black imitation Song-Dynasty-Style typeface, the specific character string of a certain semantic type adds the suspension of grey imitation Song-Dynasty-Style typeface with red background colour and shows, the specific character string of another semantic type adds the suspension of grey imitation Song-Dynasty-Style typeface with green background colour and shows or the like.
Step 305 is when receiving the operation selection signal that acts on arbitrary specific character string, according to selected action type, to the specific character string executable operations.
The user checks on portable terminal after the text information, can select one of them specific character string to send selected signal, when being touch-screen mobile phone such as portable terminal, adopting touch manner to click a specific character string and sends selected signal.Portable terminal can receive this and act on selected signal on the selecteed specific character string.
Portable terminal receives after this selected signal, but can optionally provide selection operation according to the action type corresponding with chosen specific character string.Action type includes but not limited to: duplicate, call, send note, send mail, be saved to this locality, be saved among existing contact person and the newly-built contact person one or more.Such as, be the specific character string of Mobile Directory Number for semantic type, call, send note, be saved in existing contact person and four kinds of selection operations of newly-built contact person but can provide; For semantic type is the specific character string of landline telephone, calls, is saved in existing contact person and three kinds of selection operations of newly-built contact person but can provide; For semantic type is the specific character string of bank number, duplicates and be saved in existing two kinds of selection operations of contact person but can provide.
The user can send an operation selection signal and select in a plurality of action types one, and portable terminal is carried out this operation to specific character string after receiving this operation selection signal then.
In sum, the information processing method that present embodiment two provides is by detecting the specific character string in the text message, and determine its semantic type based on the semantic feature of detected specific character string, provide corresponding action type according to semantic type, but by to the specific character string differentiation, optionally provide selection operation, but the selection operation that makes portable terminal provide is more accurate, makes things convenient for the user more effectively specific character string to be operated, and has improved user's experience.
Embodiment three
Please refer to Fig. 4, it shows the block diagram of the signal conditioning package that present embodiment three provides.The portable terminal that this signal conditioning package can be used for storing text message or can receive and dispatch text message, in the embodiment of the invention, portable terminal can be mobile terminal devices such as portable terminal, instant communication software client terminal or Mail Clients.This signal conditioning package comprises character string detection module 410, semantic type determination module 420, action type determination module 430, character string display module 440 and operation executing module 450.
Character string detection module 410 is used for detecting the specific character string of text message.This specific character string comprises any one or more in the following character string: the character string of digit strings, alphabetic character string, numeral and monogram, comprise the character string of special character; Wherein, special character comprises any one or more in the following character:, www, http, https, com, cn, org, net.
Semantic type determination module 420 is used for determining according to the semantic feature of specific character string the semantic type of specific character string.Described semantic type comprises any one or more in the following type: Mobile Directory Number, fixed telephone number, email address, instant messaging number, web page address, date, Bank Account Number, operator's service provide number, emergency number, existing contact phone number, postcode.
On the one hand, semantic type determination module 420 can comprise the first semantic feature recognition unit 421 and the first semantic type determining unit 422, as shown in Figure 5.Wherein, the first semantic feature recognition unit 421 is used to discern the semantic feature of specific character string, and the semantic feature of specific character string comprises: any one or more in the character arrangement mode of the character types that specific character string comprises, specific character string, the length of specific character string; The first semantic type determining unit 422 is used for determining the semantic type of specific character string correspondence according to the default semantic feature and the corresponding relation of semantic type.
Wherein, the corresponding relation of Yu She semantic feature and semantic type can for: a kind of semantic feature is corresponding at least a semantic type.
On the other hand, semantic type determination module 420 also can comprise the second semantic feature recognition unit 423, keyword extraction unit 424 and the second semantic type determining unit 425, as shown in Figure 6.Wherein, the second semantic feature recognition unit 423 is used to discern the semantic feature of specific character string, and the semantic feature of specific character string comprises: any one or more in the length of the character arrangement mode of the character types that described specific character string comprises, described specific character string, described specific character string; Keyword extraction unit 424 is used for extracting key word at text message, and key word comprises: any one or more in qq, msn, skype, bank, middle row, Construction Bank, China Merchants Bank, industrial and commercial bank, agricultural bank, postal saving and the little letter; The second semantic type determining unit 425 is used for determining the semantic type of specific character string correspondence according to default semantic feature and the combination of key word and the corresponding relation of semantic type.
Wherein, the corresponding relation of the combination of Yu She semantic feature and key word and semantic type can for: semantic feature and key word any the combination corresponding at least a semantic type.
On the one hand, semantic type determination module 420 also can comprise character string comparing unit 426 and the 3rd semantic type determining unit 427, as shown in Figure 7 again.Wherein, character string comparing unit 426 is used for specific character string and presets character string comparing; If the 3rd semantic type determining unit 427 is used for specific character string and to preset character string identical, the semantic type that presets character string is defined as the semantic type of specific character string.
Wherein, the semantic type that presets character string comprises: operator's service provides one or more in number, emergency number, existing contact phone number, the postcode.
Action type determination module 430 is used for determining the action type of specific character string correspondence according to the default semantic type and the corresponding relation of action type.
The default semantic type and the corresponding relation of action type are: a kind of semantic type is corresponding at least a action type;
Action type can comprise: duplicate, call, send note, send mail, be saved to this locality, be saved among existing contact person and the newly-built contact person one or more.
Character string display module 440 is used for showing specific character string according to default display mode that default display mode comprises: any one or more in underscore mode, suspended pattern, the color matching mode;
Operation executing module 450 is used for when receiving the operation selection signal that acts on arbitrary specific character string, according to selected action type, to the specific character string executable operations.
In sum, the signal conditioning package that present embodiment three provides is by detecting the specific character string in the text message, and determine its semantic type based on the semantic feature of detected specific character string, provide corresponding action type according to semantic type, but by to the specific character string differentiation, optionally provide selection operation, but the selection operation that makes portable terminal provide is more accurate, makes things convenient for the user more effectively specific character string to be operated, and has improved user's experience.Certainly, predictably, information processing method that the embodiment of the invention provides and device also are not limited to portable terminal when using, also can be used for other terminal, such as the integral type desktop computer that comprises touch-screen.
Need to prove: the signal conditioning package that the foregoing description provides is when this paper describes, only the division with above-mentioned each functional module is illustrated, in the practical application, can as required the above-mentioned functions distribution be finished by different functional modules, the inner structure that is about to device is divided into different functional modules, to finish all or part of function described above.In addition, signal conditioning package that the foregoing description provides and information processing method embodiment belong to same design, and its specific implementation process sees method embodiment for details, repeats no more here.
The all or part of step that one of ordinary skill in the art will appreciate that realization the foregoing description can be finished by hardware, also can instruct relevant hardware to finish by program, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium of mentioning can be a ROM (read-only memory), disk or CD etc.
The above only is preferred embodiment of the present invention, and is in order to restriction the present invention, within the spirit and principles in the present invention not all, any modification of being done, is equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (14)

1. information processing method is characterized in that it comprises:
Detect the specific character string in the text message;
Determine the semantic type of described specific character string according to the semantic feature of described specific character string;
According to the default semantic type and the corresponding relation of action type, determine the action type of described specific character string correspondence.
2. information processing method according to claim 1, it is characterized in that described specific character string comprises any one or more in the following character string: the character string of digit strings, alphabetic character string, numeral and monogram, comprise the character string of special character; Wherein, described special character comprises any one or more in the following character:, www, http, https, com, cn, org, net;
Described semantic type comprises any one or more in the following type: Mobile Directory Number, fixed telephone number, email address, instant messaging number, web page address, date, Bank Account Number, operator's service provide number, emergency number, existing contact phone number, postcode.
3. information processing method according to claim 2 is characterized in that, described semantic feature according to described specific character string is determined the semantic type of described specific character string, specifically comprises:
Discern the semantic feature of described specific character string, the semantic feature of described specific character string comprises: any one or more in the length of the character arrangement mode of the character types that described specific character string comprises, described specific character string, described specific character string;
According to the default semantic feature and the corresponding relation of semantic type, determine the semantic type of described specific character string correspondence;
Wherein, the described default semantic feature and the corresponding relation of semantic type are: a kind of semantic feature is corresponding at least a semantic type.
4. information processing method according to claim 2 is characterized in that, described semantic feature according to described specific character string is determined the semantic type of described specific character string, specifically comprises:
Discern the semantic feature of described specific character string, the semantic feature of described specific character string comprises: any one or more in the length of the character arrangement mode of the character types that described specific character string comprises, described specific character string, described specific character string;
In described text message, extract key word;
According to default semantic feature and the combination of key word and the corresponding relation of semantic type, determine the semantic type of described specific character string correspondence;
Wherein, the described default semantic feature and the combination of key word and the corresponding relation of semantic type are: any combination of semantic feature and key word is corresponding at least a semantic type.
5. information processing method according to claim 2 is characterized in that, described semantic feature according to described specific character string is determined the semantic type of described specific character string, specifically comprises:
With described specific character string with preset character string and compare;
If described specific character string is defined as the described semantic type that presets character string the semantic type of described specific character string with described to preset character string identical;
Wherein, the described semantic type that presets character string comprises: operator's service provides any one or more in number, emergency number, existing contact phone number, the postcode.
6. according to the arbitrary described information processing method of claim 3 to 5, it is characterized in that the described default semantic type and the corresponding relation of action type are: a kind of semantic type is corresponding at least a action type;
Described action type comprises: duplicate, call, send note, send mail, be saved to this locality, be saved among existing contact person and the newly-built contact person one or more.
7. information processing method according to claim 6 is characterized in that, the semantic type that described basis is default and the corresponding relation of action type are determined also to comprise after the action type of described specific character string correspondence:
Show described specific character string according to default display mode, described default display mode comprises: any one or more in underscore mode, suspended pattern, the color matching mode;
When receiving the operation selection signal that acts on arbitrary specific character string, according to selected action type, to described specific character string executable operations.
8. signal conditioning package is characterized in that it comprises:
The character string detection module is used for detecting the specific character string of text message;
The semantic type determination module is used for determining according to the semantic feature of described specific character string the semantic type of described specific character string;
The action type determination module is used for determining the action type of described specific character string correspondence according to the default semantic type and the corresponding relation of action type.
9. signal conditioning package according to claim 8, it is characterized in that described specific character string comprises any one or more in the following character string: the character string of digit strings, alphabetic character string, numeral and monogram, comprise the character string of special character; Wherein, described special character comprises any one or more in the following character:, www, http, https, com, cn, org, net;
Described semantic type comprises any one or more in the following type: Mobile Directory Number, fixed telephone number, email address, instant messaging number, web page address, date, Bank Account Number, operator's service provide number, emergency number, existing contact phone number, postcode.
10. signal conditioning package according to claim 9 is characterized in that, described semantic type determination module comprises: the first semantic feature recognition unit and the first semantic type determining unit;
The described first semantic feature recognition unit, be used to discern the semantic feature of described specific character string, the semantic feature of described specific character string comprises: any one or more in the length of the character arrangement mode of the character types that described specific character string comprises, described specific character string, described specific character string;
The described first semantic type determining unit is used for determining the semantic type of described specific character string correspondence according to the default semantic feature and the corresponding relation of semantic type;
Wherein, the described default semantic feature and the corresponding relation of semantic type are: a kind of semantic feature is corresponding at least a semantic type.
11. signal conditioning package according to claim 9 is characterized in that, described semantic type determination module comprises: the second semantic feature recognition unit, keyword extraction unit and the second semantic type determining unit;
The described second semantic feature recognition unit, be used to discern the semantic feature of described specific character string, the semantic feature of described specific character string comprises: any one or more in the length of the character arrangement mode of the character types that described specific character string comprises, described specific character string, described specific character string;
Described keyword extraction unit is used for extracting key word at described text message;
The described second semantic type determining unit is used for determining the semantic type of described specific character string correspondence according to default semantic feature and the combination of key word and the corresponding relation of semantic type;
Wherein, the described default semantic feature and the combination of key word and the corresponding relation of semantic type are: any combination of semantic feature and key word is corresponding at least a semantic type.
12. signal conditioning package according to claim 9 is characterized in that, described semantic type determination module comprises: character string comparing unit and the 3rd semantic type determining unit;
Described character string comparing unit is used for described specific character string and presets character string comparing;
Described the 3rd semantic type determining unit if be used for described specific character string and described to preset character string identical, is defined as the described semantic type that presets character string the semantic type of described specific character string;
Wherein, the described semantic type that presets character string comprises: operator's service provides any one or more in number, emergency number, existing contact phone number, the postcode.
13., it is characterized in that the described default semantic type and the corresponding relation of action type are: a kind of semantic type is corresponding at least a action type according to the arbitrary described signal conditioning package of claim 10 to 11;
Described action type comprises: duplicate, call, send note, send mail, be saved to this locality, be saved among existing contact person and the newly-built contact person one or more.
14. signal conditioning package according to claim 13 is characterized in that, described signal conditioning package also comprises: character string display module and operation executing module;
Described character string display module is used for showing described specific character string according to default display mode that described default display mode comprises: any one or more in underscore mode, suspended pattern, the color matching mode;
Described operation executing module is used for when receiving the operation selection signal that acts on arbitrary specific character string, according to selected action type, to described specific character string executable operations.
CN201210018134.7A 2012-01-19 2012-01-19 Information processing method and device Active CN103218363B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210018134.7A CN103218363B (en) 2012-01-19 2012-01-19 Information processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210018134.7A CN103218363B (en) 2012-01-19 2012-01-19 Information processing method and device

Publications (2)

Publication Number Publication Date
CN103218363A true CN103218363A (en) 2013-07-24
CN103218363B CN103218363B (en) 2018-05-04

Family

ID=48816166

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210018134.7A Active CN103218363B (en) 2012-01-19 2012-01-19 Information processing method and device

Country Status (1)

Country Link
CN (1) CN103218363B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103605724A (en) * 2013-11-15 2014-02-26 清华大学 Webpage-text semantic feature based on-line retail sales computation method
CN104035919A (en) * 2014-06-25 2014-09-10 深圳市中兴移动通信有限公司 Number associating method and number associating device
WO2014173242A1 (en) * 2013-04-24 2014-10-30 Tencent Technology (Shenzhen) Company Limited A method, apparatus, and system for updating contact information
CN104182479A (en) * 2014-08-04 2014-12-03 宇龙计算机通信科技(深圳)有限公司 Method and device for processing information
CN104516893A (en) * 2013-09-27 2015-04-15 腾讯科技(深圳)有限公司 Information storage method, information storage device and communication terminal
CN106919540A (en) * 2016-08-02 2017-07-04 阿里巴巴集团控股有限公司 The display methods of text, system and device
CN107331396A (en) * 2017-07-05 2017-11-07 北京云知声信息技术有限公司 Export the method and device of numeral
CN107679034A (en) * 2017-09-21 2018-02-09 北京金山安全软件有限公司 Information processing method and device
CN107786416A (en) * 2016-08-25 2018-03-09 腾讯科技(深圳)有限公司 Information processing method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101741756A (en) * 2008-11-19 2010-06-16 中兴通讯股份有限公司 Method and system for converting special character strings in instant communication text message
CN101867636A (en) * 2010-06-02 2010-10-20 华为终端有限公司 Method for executing user command and terminal equipment
CN101951424A (en) * 2010-09-26 2011-01-19 宇龙计算机通信科技(深圳)有限公司 Contact information prompt method, system and mobile terminal
CN101969507A (en) * 2010-10-29 2011-02-09 宇龙计算机通信科技(深圳)有限公司 Method, system and mobile terminal for rapidly communicating with contact person

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101741756A (en) * 2008-11-19 2010-06-16 中兴通讯股份有限公司 Method and system for converting special character strings in instant communication text message
CN101867636A (en) * 2010-06-02 2010-10-20 华为终端有限公司 Method for executing user command and terminal equipment
CN101951424A (en) * 2010-09-26 2011-01-19 宇龙计算机通信科技(深圳)有限公司 Contact information prompt method, system and mobile terminal
CN101969507A (en) * 2010-10-29 2011-02-09 宇龙计算机通信科技(深圳)有限公司 Method, system and mobile terminal for rapidly communicating with contact person

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014173242A1 (en) * 2013-04-24 2014-10-30 Tencent Technology (Shenzhen) Company Limited A method, apparatus, and system for updating contact information
US9332406B2 (en) 2013-04-24 2016-05-03 Tencent Technology (Shenzhen) Company Limited Method, apparatus, and system for updating contact information
CN104516893A (en) * 2013-09-27 2015-04-15 腾讯科技(深圳)有限公司 Information storage method, information storage device and communication terminal
CN104516893B (en) * 2013-09-27 2017-11-14 腾讯科技(深圳)有限公司 Information storage means, device and communicating terminal
CN103605724A (en) * 2013-11-15 2014-02-26 清华大学 Webpage-text semantic feature based on-line retail sales computation method
CN104035919A (en) * 2014-06-25 2014-09-10 深圳市中兴移动通信有限公司 Number associating method and number associating device
CN104182479A (en) * 2014-08-04 2014-12-03 宇龙计算机通信科技(深圳)有限公司 Method and device for processing information
CN106919540A (en) * 2016-08-02 2017-07-04 阿里巴巴集团控股有限公司 The display methods of text, system and device
CN107786416A (en) * 2016-08-25 2018-03-09 腾讯科技(深圳)有限公司 Information processing method and device
CN107786416B (en) * 2016-08-25 2021-08-10 腾讯科技(深圳)有限公司 Information processing method and device
CN107331396A (en) * 2017-07-05 2017-11-07 北京云知声信息技术有限公司 Export the method and device of numeral
CN107679034A (en) * 2017-09-21 2018-02-09 北京金山安全软件有限公司 Information processing method and device

Also Published As

Publication number Publication date
CN103218363B (en) 2018-05-04

Similar Documents

Publication Publication Date Title
CN103218363A (en) Information processing method and device
US7003725B2 (en) Method and system for normalizing dirty text in a document
US8554544B2 (en) Method for generating text that meets specified characteristics in a handheld electronic device and a handheld electronic device incorporating the same
CN107193476B (en) Information input method and device, computer equipment and readable medium
US8423908B2 (en) Method for identifying language of text in a handheld electronic device and a handheld electronic device incorporating the same
CA2911850C (en) Portable electronic device and method of controlling display of selectable elements
CN103546877A (en) Method and system for obtaining and inputting content code and mobile terminal
CN103543903A (en) Quick operation method and device and mobile terminal
CN108255555B (en) A kind of system language switching method and terminal device
CN109388713B (en) Intelligent processing method and device for unread short messages
US9843670B2 (en) Method and apparatus for setting color ring back tone and determining color ring back tone music
CN103473218A (en) Email classification method and email classification device
CN103020807A (en) Information display method and system
JP2014160252A (en) Electronic equipment, character string display method and character string display program
CN104184653A (en) Message filtering method and device
CN105227431A (en) The method and apparatus of good friend or group is fast added in instant messaging
CN111314540B (en) Address book searching method, device, equipment and readable storage medium
CN102567406A (en) Pinyin searching method
CN105260034A (en) Character outputting method and apparatus
US8856044B1 (en) Segmented access of remotely stored biographical data to a client device
WO2017096844A1 (en) Email processing method and device
US20130289974A1 (en) Chinese character information processing method and chinese character information processing device
CN112445346A (en) Information input method, device, equipment and storage medium
CN113746814B (en) Mail processing method, mail processing device, electronic equipment and storage medium
US20130227436A1 (en) Page-turning and operating method for reading multimedia messaging service message of a mobile phone

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant