CN103218363B - Information processing method and device - Google Patents
Information processing method and device Download PDFInfo
- Publication number
- CN103218363B CN103218363B CN201210018134.7A CN201210018134A CN103218363B CN 103218363 B CN103218363 B CN 103218363B CN 201210018134 A CN201210018134 A CN 201210018134A CN 103218363 B CN103218363 B CN 103218363B
- Authority
- CN
- China
- Prior art keywords
- character string
- specific character
- semantic
- type
- semantic type
- 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.)
- Active
Links
Landscapes
- Telephone Function (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The embodiment of the invention discloses a kind of information processing method and device, belong to mobile communication technology field.The described method includes:Detect the specific character string in text message;The semantic type of the specific character string is determined according to the semantic feature of the specific character string;According to default semantic type and the correspondence of action type, the corresponding action type of the specific character string is determined.The information processing method and device to the specific character string extracted by carrying out determining for semantic type, then according to the semantic type after determining come to each specific character string differentiation, optionally provide can selection operation, so that mobile terminal provide can selection operation it is more accurate, improve the usage experience of user and avoid the appearance of some Problem-Errors.
Description
Technical field
The present invention relates to mobile communication technology field, more particularly to a kind of information processing method and device.
Background technology
Text message is one of information carrier most-often used in the daily communication of people, for example received by mobile terminal
Short message, the text information received by instant communication software client terminal and e-mail messages by Mail Clients reception etc.
Deng.
Often include containing important information or useful information when using text message as information carrier, in text message
Character string, such as include in the text message received fixed telephone number, Mobile Directory Number and email address it
The character string of class.User often has the demand for obtaining these character strings and being used.
In order to make user easily obtain these character strings and be used, there is a kind of information in the prior art
Processing method meets this demand, and this method is substantially:Detect the character string in text message;The character string detected is adopted
User is shown to the mode that distinctly displays of " underscore+blue font " etc, and the other information in text message can use
Normal black font is shown;User can select the character string, and mobile terminal, can after the selected signal is received
To provide corresponding operation in pop-up window.Such as in the example shown in Fig. 1, text message can be that a mobile terminal connects
Received short message, it contains Mobile Directory Number, for user after this Mobile Directory Number is selected, mobile terminal can be with
Using the modes such as pop-up window come provide such as call, photos and sending messages, newly-built contact person, storage is to existing contact person's etc
Can selection operation.
In the implementation of the present invention, inventor has found that the prior art has at least the following problems:It is of the prior art
Information processing method is providing according to character string and during selection operation indifference can used to handle, i.e., is provided which phase for various character strings
With can selection operation, this may influence user to it is various can selection operation use, such as:If the character occurred in text information
Go here and there as fixed telephone number, and what is provided can include " sending short messages " this action type in selection operation, user is according to the behaviour
The fixed telephone number of opposing have issued short message.However, fixed-line telephone usually cannot all receive short message, so as to cause user
Short message send failure, influence use of the user to the operation.
The content of the invention
In order to more precisely provide can selection operation, facilitate application of the user to operation, the embodiment of the present invention provides
A kind of information processing method and device.The technical solution is as follows:
According to an aspect of the present invention, an embodiment of the present invention provides a kind of information processing method, described information processing
Method includes:
Detect the specific character string in text message;
The semantic type of the specific character string is determined according to the semantic feature of the specific character string;
According to default semantic type and the correspondence of action type, the corresponding operation class of the specific character string is determined
Type.
Further, the specific character string includes any of following character string or a variety of:Digit strings, letter
Character string, numeral and character string, the character string comprising spcial character of monogram;Wherein, the spcial character includes following
Any of character is a variety of:@、www、http、https、com、cn、org、net;
The semantic type is included with any of Types Below or a variety of:Mobile Directory Number, fixed telephone number, postal
Case address, instant messaging number, web page address, date, Bank Account Number, carrier service provide number, emergency number,
It is related people's telephone number, postcode.
Further, the semantic feature according to the specific character string determines the semantic category of the specific character string
Type, specifically includes:
Identify the semantic feature of the specific character string, the semantic feature of the specific character string includes:The specific word
Character types that symbol string includes, the character arrangements mode of the specific character string, any in the length of the specific character string
Kind is a variety of;
According to default semantic feature and the correspondence of semantic type, the corresponding semantic category of the specific character string is determined
Type;
Wherein, the correspondence of the default semantic feature and semantic type is:A kind of semantic feature corresponds at least
A kind of semantic type.
Further, the semantic feature according to the specific character string determines the semantic category of the specific character string
Type, specifically includes:
Identify the semantic feature of the specific character string, the semantic feature of the specific character string includes:The specific word
Character types that symbol string includes, the character arrangements mode of the specific character string, any in the length of the specific character string
Kind is a variety of;
Keyword is extracted in the text message;
According to default semantic feature and the correspondence of crucial combinatorics on words and semantic type, the specific character is determined
Go here and there corresponding semantic type;
Wherein, the default semantic feature and the correspondence of crucial combinatorics on words and semantic type are:Semantic feature
Any combination with keyword corresponds at least one semantic type.
Further, the semantic feature according to the specific character string determines the semantic category of the specific character string
Type, specifically includes:
By the specific character string compared with preset character string;
If the specific character string is identical with the preset character string, the semantic type of the preset character string is determined
For the semantic type of the specific character string;
Wherein, the semantic type of the preset character string includes:Carrier service provides number, emergency number,
It is related any of people's telephone number, postcode or a variety of.
Further, the default semantic type and the correspondence of action type are:A kind of semantic type corresponds to
At least one action type;
The action type includes:Replicate, call, send short message, send mail, preserve to local, be saved in
The one or more being related in people and newly-built contact person.
Further, it is described according to default semantic type and the correspondence of action type, determine the specific character
Go here and there after corresponding action type, further include:
The specific character string is shown according to default display mode, and the default display mode includes:Underscore side
Any of formula, suspended pattern, color matching mode are a variety of;
It is right according to selected action type when receiving the operation selection signal for acting on any specific character string
The specific character string performs operation.
Another aspect according to embodiments of the present invention, the embodiment of the present invention also provide a kind of information processor, the letter
Breath processing unit includes:
Character string detection module, for detecting the specific character string in text message;
Semantic type determining module, for determining the specific character string according to the semantic feature of the specific character string
Semantic type;
Action type determining module, for the correspondence according to default semantic type and action type, determines described
The corresponding action type of specific character string.
Further, the specific character string includes any of following character string or a variety of:Digit strings, letter
Character string, numeral and character string, the character string comprising spcial character of monogram;Wherein, the spcial character includes following
Any of character is a variety of:@、www、http、https、com、cn、org、net;
The semantic type is included with any of Types Below or a variety of:Mobile Directory Number, fixed telephone number, postal
Case address, instant messaging number, web page address, date, Bank Account Number, carrier service provide number, emergency number,
It is related people's telephone number, postcode.
Further, the semantic type determining module includes:First semantic feature recognition unit and the first semantic type
Determination unit;
The first semantic feature recognition unit, for identifying the semantic feature of the specific character string, the specific word
The semantic feature of symbol string includes:Character types that the specific character string includes, the character arrangements mode of the specific character string,
Any of length of the specific character string is a variety of;
The first semantic type determination unit, for the correspondence according to default semantic feature and semantic type,
Determine the corresponding semantic type of the specific character string;
Wherein, the correspondence of the default semantic feature and semantic type is:A kind of semantic feature corresponds at least
A kind of semantic type.
Further, the semantic type determining module includes:Second semantic feature recognition unit, keyword extraction unit
With the second semantic type determination unit;
The second semantic feature recognition unit, for identifying the semantic feature of the specific character string, the specific word
The semantic feature of symbol string includes:Character types that the specific character string includes, the character arrangements mode of the specific character string,
Any of length of the specific character string is a variety of;
The keyword extraction unit, for extracting keyword in the text message;
The second semantic type determination unit, for according to default semantic feature and crucial combinatorics on words and semantic category
The correspondence of type, determines the corresponding semantic type of the specific character string;
Wherein, the default semantic feature and the correspondence of crucial combinatorics on words and semantic type are:Semantic feature
Any combination with keyword corresponds at least one semantic type.
Further, the semantic type determining module includes:Character string comparison unit and the 3rd semantic type determine list
Member;
The character string comparison unit, for by the specific character string compared with preset character string;
The 3rd semantic type determination unit, if identical with the preset character string for the specific character string,
The semantic type of the preset character string is determined as to the semantic type of the specific character string;
Wherein, the semantic type of the preset character string includes:Carrier service provides number, emergency number,
It is related any of people's telephone number, postcode or a variety of.
Further, the default semantic type and the correspondence of action type are:A kind of semantic type corresponds to
At least one action type;
The action type includes:Replicate, call, send short message, send mail, preserve to local, be saved in
The one or more being related in people and newly-built contact person.
Further, described information processing unit further includes:Character string display module and operation executing module;
The character string display module, it is described default for showing the specific character string according to default display mode
Display mode include:Any of underscore mode, suspended pattern, color matching mode are a variety of;
The operation executing module, for when receiving the operation selection signal for acting on any specific character string, pressing
According to selected action type, operation is performed to the specific character string.
The beneficial effect that technical solution provided in an embodiment of the present invention is brought is:
Specific character string in detection text message of the embodiment of the present invention, and based on the semanteme of the specific character string detected
Feature determines its semantic type, and corresponding action type is provided according to semantic type, by specific character string differentiation, selection
Property provide can selection operation so that mobile terminal provide can selection operation it is more accurate, facilitate user more effectively to specific
Character string is operated, and improves the usage experience of user.
Brief description of the drawings
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment
Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for
For those of ordinary skill in the art, without creative efforts, other can also be obtained according to these attached drawings
Attached drawing.
Fig. 1 is the application effect figure of information processing method of the prior art;
Fig. 2 is the method flow diagram for the information processing method that the embodiment of the present invention one provides;
Fig. 3 is the method flow diagram of information processing method provided by Embodiment 2 of the present invention;
Fig. 4 is the block diagram for the information processor that the embodiment of the present invention three provides;
Fig. 5 is the partial block diagram for the semantic type determining module that the embodiment of the present invention three provides;
Fig. 6 is the partial block diagram for the semantic type determining module that the embodiment of the present invention three provides;
Fig. 7 is the partial block diagram for the semantic type determining module that the embodiment of the present invention three provides.
Embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached drawing to embodiment party of the present invention
Formula is described in further detail.
Embodiment one
Please refer to Fig.2, the method flow diagram of the information processing method provided it illustrates the embodiment of the present invention one.The information
Processing method can be used for being stored with text message or the mobile terminal that can receive and dispatch text message, in the embodiment of the present invention,
Mobile terminal can be the mobile terminal devices such as mobile terminal, instant communication software client terminal or Mail Clients.At the information
Reason method includes:
Step 202, the specific character string in text message is detected;
Mobile terminal can be detected the text message of its memory storage or the text message received, to identify text
Specific character string in this information.Specific character string can include but is not limited to any of following character string or a variety of:Number
Word character string, alphabetic character string, numeral and character string, the character string comprising spcial character of monogram.Wherein, spcial character
It can include but is not limited to any of following character or a variety of:@、www、http、https、com、cn、org、net.Than
Such as, when text message is Chinese information, specific character string is primarily referred to as digit strings, alphabetic character string and numeral and letter
The character string of combination.In the specific implementation, mobile terminal can be read out analysis successively to all characters in text message,
Then detect whether text message includes digit strings, alphabetic character string and/or numeral and the character string of character combination etc
Specific character string.
In some cases, mobile terminal can also detect specific character string according to specific character, and spcial character can be with
Including any of following character or a variety of:@、www、http、https、com、cn、org、net.Such as can be in text envelope
Cease for english information when, the specific character string of email address is represented to detect according to specific character "@";Or according to specific character
" www's " and " com " represents the specific character string of internet address to detect.It is such, no longer repeat one by one.
Step 204, the semantic type of specific character string is determined according to the semantic feature of specific character string;
After detecting specific character string in text message, it can come according further to the semantic feature of specific character string
Determine the semantic type of the specific character string.The semantic feature of specific character string can include the character type that specific character string includes
Any of type, the character arrangements mode of specific character string, length of specific character string are a variety of.A such as specific word
The character types of symbol string are all numerals, character arrangements order is consistent with the coding rule of phone number and character length is 11;
Again for example, the character types of a specific character string are all digital, character length is 6 etc..
According to the semantic feature of a specific character string, it may be determined that the possible semantic type of the specific character string.Such as
All it is numeral for character types, character arrangements order is consistent with the coding rule of phone number and character length is 11
Specific character string, it may be determined that its semantic type is Mobile Directory Number.Obviously, semantic type referred to herein can include
But it is not limited to Mobile Directory Number, fixed telephone number, email address, instant messaging number, web page address, date, bank's account
Number, carrier service number, emergency number, existing contact phone number, postcode are provided.
Step 206, according to default semantic type and the correspondence of action type, the corresponding behaviour of specific character string is determined
Make type.
After the semantic type of the specific character string is determined, can according to each semantic type and various action types it
Between correspondence, determine action type corresponding with the specific character string, so as to each specific character string optionally
Offer can selection operation.The action type can include but is not limited to:Replicate, call, send short message, send mail, preserve
To local, the one or more being saved in existing contact person and newly-built contact person.
In conclusion the present embodiment one provide information processing method by detecting the specific character string in text message,
And the semantic feature based on the specific character string detected determines its semantic type, corresponding operation class is provided according to semantic type
Type, by specific character string differentiation, optionally provide can selection operation so that mobile terminal provide can selection operation more
Accurately, facilitate user more effectively to be operated to specific character string, improve the usage experience of user.
Embodiment two
Please refer to Fig.3, it illustrates the method flow diagram of information processing method provided by Embodiment 2 of the present invention.The information
Processing method can be used for being stored with text message or the mobile terminal that can receive and dispatch text message, in the embodiment of the present invention,
Mobile terminal can be the mobile terminal devices such as mobile phone, PDA, tablet computer.The information processing method includes:
Step 301, the specific character string in text message is detected;
Mobile terminal can be detected the text message of its memory storage or the text message received, to identify text
Specific character string in this information.Specific character string can include but is not limited to any of following character string or a variety of:Number
Word character string, alphabetic character string, numeral and character string, the character string comprising spcial character of monogram.Wherein, spcial character
It can include but is not limited to any of following character or a variety of:@、www、http、https、com、cn、org、net.Detection
Specific character string in text message can be by arbitrarily using in a manner of following two and combinations thereof;
First way, reads all characters in text message first, and whether then detect in text message includes number
Word character string, alphabetic character string and the specific character string such as numeral and the character string of monogram.
This mode can be used for when text message is Chinese information, digit strings, word in extraction text message
Alphabetic character string and the non-Chinese specific character string such as numeral and the character string of monogram.Especially, Mobile Directory Number, fixation
The character strings such as telephone number, instant messaging number, date and Bank Account Number are usually all digit strings.In the specific implementation also
This mode can slightly be optimized, for example can only extract the digit strings that character digit is more than 3;Again for example, exist
When punctuation character digit between two digit strings is less than 3, by the two digit strings and the punctuate word between them
Symbol is uniformly considered specific character string etc..
The second way, reads all characters in text message;It whether there is specific character in detection text message;
Detect in text message there are during specific character, the character string comprising specific character is considered specific character string.
This mode can be used for when text message is english information, extract text message in characterize email address or
The specific character string of internet address etc., can be according to specific character "@" in text message for example specific character is "@"
Extraction includes the specific character string of numeral, letter and " " symbol;Again for example, specific character is " www " and " com ", can basis
The specific character extracts the specific character string for including numeral, letter and " " symbol in text message.It should be noted that
Specific character herein can be preset, and specific character can be that a character can also be that multiple characters form
Character group, as long as certain features can be characterized.It is understood that for specific character in text message in the present embodiment
The detection of string is not limited to above two mode, and the present invention is defined not to this herein.
Step 302, the semantic type of specific character string is determined according to the semantic feature of specific character string;
After detecting specific character string in text message, it can come according further to the semantic feature of specific character string
Determine the semantic type of the specific character string.Semantic type referred to herein can include but is not limited to Mobile Directory Number,
Fixed telephone number, email address, instant messaging number, web page address, the date, Bank Account Number, carrier service provide number,
Emergency number, existing contact phone number, postcode.Determine specific character string semantic type can use it is following
The combination of any one mode or various ways:
First way:Identify the semantic feature of specific character string, the semantic feature of specific character string includes:Specific character
Go here and there any of the character types included, the character arrangements mode of specific character string, length of specific character string or a variety of;So
Afterwards according to default semantic feature and the correspondence of semantic type, the corresponding semantic type of specific character string is determined.Wherein, in advance
If semantic feature and the correspondence of semantic type be:A kind of semantic feature corresponds at least one semantic type.
It is determined for whether specific character string is " Mobile Directory Number ", " fixed-line telephone number in this way
The semantic type such as code ", " postcode " and " date ".The specific character string of these semantic types is usually constructed with stronger rule
Property.For example a specific character string " 18688888888 " is detected in text message, recognize the language of the specific character string
Adopted feature includes:Character types are numeral, character digit is arrangement regulation that 11 and character arrangements rule meet mobile phone,
So it can determine that the semantic type of the specific character string is " Mobile Directory Number " according to these semantic features.Again for example,
A specific character string " 214122 " is detected in text message, recognizing the semantic feature of the specific character string includes:Word
Symbol type is numeral, character digit is arrangement regulation that 6 and character arrangements rule meet postcode, it is possible to according to this
A little semantic features determine that the semantic type of the specific character string is " postcode ".
It should be understood that the correspondence between semantic feature and semantic type can pre-define, and one
Kind semantic feature generally corresponds at least one semantic type.For example " character digit is 6 " this semantic feature both can be right
Ying Yu " postcode " semantic type, may correspond to " instant messaging number " semantic type.
The second way:Identify the semantic feature of specific character string, the semantic feature of specific character string includes:Specific character
Go here and there any of the character types included, the character arrangements mode of specific character string, length of specific character string or a variety of;So
Keyword is extracted in text message afterwards,;Finally, according to default semantic feature and pair of crucial combinatorics on words and semantic type
It should be related to, determine the corresponding semantic type of specific character string;
Wherein, default semantic feature and the correspondence of crucial combinatorics on words and semantic type are:Semantic feature and pass
Any combination of key word corresponds at least one semantic type.
Can mainly determine in this way whether specific character string is " instant messaging number ", " Bank Account Number " and
The semantic type of " fixed telephone number " etc.Under normal conditions, the semantic feature of the specific character string of this type is not enough to only
One ground determines its semantic type, thus need combine text message in context environmental keyword could be preferably true in other words
Its fixed semantic type.For example the semantic feature of a specific character string is that character digit is 7;And in the specific character string institute
The keywords such as " MSN ", " msn " are also extracted in text message;It can then determine the semantic type of the specific character string for " i.e.
When communication number ".Again for example, the character digit of a specific character string is 19;And the text where the specific character string
Keywords such as " banks ", " middle row ", " industrial and commercial bank ", " agricultural bank " or " Construction Bank " is extracted in information;It can then determine the specific character
The semantic type of string is " Bank Account Number ".For another example, the character digit for the specific character string extracted is 8;And in the spy
The keyword such as "-" or " phone " is extracted in other characters in text message where determining character string;It can then determine that this is specific
The semantic type of character string is " fixed-line telephone ".
It should be noted that the position where keyword can be in specific character string or text message removes
In other characters beyond specific character string, it can be slightly different herein according to different embodiments.Keyword can also with it is preceding
The spcial character stated is identical.Correspondence between semantic feature and crucial combinatorics on words and semantic type can pre-define,
And any combination of semantic feature and keyword generally corresponds at least one semantic type.Such as semantic feature " character
Digit be 6 " and keyword " MSN " this combination can correspond to " instant messaging number " semantic type;Again for example, it is semantic special
Sign " character types for English " and keyword " com " this combination can correspond to " internet address " and " email address " two
Semantic type.
The third mode, by specific character string compared with preset character string;If specific character string and preset character
The comparative result of string is identical, and the semantic type of preset character string is determined as to the semantic type of specific character string;
Wherein, the semantic type of preset character string includes:Carrier service provides number, emergency number, has joined
It is the one or more in people's telephone number, postcode.
Since some specific character strings are fixed, for example the service of China Unicom provides number 10010, China Mobile
Service provides the number of number 10086 etc;The telephone number of existing contact person also such as in mobile terminal.It is semantic for these
Character string known to type, can be prestored in character string storehouse.When extracting specific character string from text message
, can be by the specific character string " 10010 " compared with preset character string, since preset character string includes after " 10010 "
" 10010 ", thus comparative result between the two would is that it is identical.So it is considered that the specific character string " 10010 "
Semantic feature and semantic type and the semantic feature and semantic type of " 10010 " of preset character string it is also identical.
Step 303, according to default semantic type and the correspondence of action type, the corresponding behaviour of specific character string is determined
Make type.
After the semantic type of the specific character string is determined, according between each semantic type and various service types
Correspondence, determines action type corresponding with the specific character string, optionally to provide each specific character string
Can selection operation.
It should be noted that default semantic type and the correspondence of action type are usually:A kind of semantic type pair
Should at least one action type, such as the corresponding action type of " Mobile Directory Number " this semantic type can be replicate,
Call, send short message etc. action type.Action type herein includes but not limited to:Replicate, call, send
Short message, send mail, preserve to local, the one or more being saved in existing contact person and newly-built contact person.
Step 304, specific character string is shown according to default display mode, default display mode includes but not limited to:
Any of underscore mode, suspended pattern, color matching mode are a variety of;
Mobile terminal determine specific character string semantic type after, can by text presentation of information to user
When, the character string of the different semantic types in text information and other characters are discriminatively shown according to default display mode
Show.For example other characters in text message show that specific character string underlines display with the blue Song typeface with grey regular script.
Also for example, the other information in text message is shown with black imitation Song-Dynasty-Style typeface, and the specific character string of a certain semantic type is with the red back of the body
Scenery adds the suspension display of grey imitation Song-Dynasty-Style typeface, and the specific character string of another semantic type adds grey imitation Song-Dynasty-Style typeface to hang with green background colour
Floating display etc..
Step 305, when receiving the operation selection signal for acting on any specific character string, according to selected operation
Type, operation is performed to specific character string.
User checks after text information on mobile terminals, one of specific character string can be selected to send selected
Signal, for example when mobile terminal is touch-screen mobile phone, a specific character string is clicked on using touch manner and sends selected signal.It is mobile
Terminal can receive this and act on selected signal in selected specific character string.
, can be according to operation class corresponding with chosen specific character string after mobile terminal receives the selected signal
Type optionally provides can selection operation.Action type includes but not limited to:Replicate, call, send short message, send mail,
Preserve to local, the one or more being saved in existing contact person and newly-built contact person.For example it is shifting for semantic type
The specific character string of mobile phone number, can provide and call, send short message, be saved in existing contact person and newly-built contact person
Four kinds can selection operation;For the specific character string that semantic type is fixed-line telephone, it can provide and call, be saved in and joined
It is that three kinds of people and newly-built contact person can selection operations;For the specific character string that semantic type is bank number, duplication can be provided
Can selection operation with existing two kinds of contact person is saved in.
User can send one in the multiple action types of operation selection signal selection, and then mobile terminal is connecing
After receiving the operation selection signal, the operation is performed to specific character string.
In conclusion the present embodiment two provide information processing method by detecting the specific character string in text message,
And the semantic feature based on the specific character string detected determines its semantic type, corresponding operation class is provided according to semantic type
Type, by specific character string differentiation, optionally provide can selection operation so that mobile terminal provide can selection operation more
Accurately, facilitate user more effectively to be operated to specific character string, improve the usage experience of user.
Embodiment three
Please refer to Fig.4, the block diagram of the information processor provided it illustrates the present embodiment three.The information processing
Device can be used for being stored with text message or the mobile terminal that can receive and dispatch text message, mobile in the embodiment of the present invention
Terminal can be the mobile terminal devices such as mobile terminal, instant communication software client terminal or Mail Clients.The information processing apparatus
Put including character string detection module 410, semantic type determining module 420, action type determining module 430, character string display mould
Block 440 and operation executing module 450.
Character string detection module 410 is used to detect the specific character string in text message.The specific character string includes following
Any of character string is a variety of:Digit strings, alphabetic character string, numeral with the character string of monogram, comprising special
The character string of character;Wherein, spcial character includes any of following character or a variety of:@、www、http、https、com、
cn、 org、net。
Semantic type determining module 420 is used for the semantic category that specific character string is determined according to the semantic feature of specific character string
Type.The semantic type is included with any of Types Below or a variety of:Mobile Directory Number, fixed telephone number, mailbox
Location, instant messaging number, web page address, date, Bank Account Number, carrier service provide number, emergency number, have joined
It is people's telephone number, postcode.
On the one hand, semantic type determining module 420 can include the first semantic feature recognition unit 421 and the first semantic category
Type determination unit 422, as shown in Figure 5.Wherein, the first semantic feature recognition unit 421 is used for the semanteme for identifying specific character string
Feature, the semantic feature of specific character string include:Character types that specific character string includes, the character arrangements side of specific character string
Any of formula, length of specific character string are a variety of;First semantic type determination unit 422 is used for according to default semanteme
The correspondence of feature and semantic type, determines the corresponding semantic type of specific character string.
Wherein, the correspondence of default semantic feature and semantic type can be:A kind of semantic feature corresponds at least
A kind of semantic type.
On the other hand, semantic type determining module 420 can also include the second semantic feature recognition unit 423, keyword
424 and second semantic type determination unit 425 of extraction unit, as shown in Figure 6.Wherein, the second semantic feature recognition unit 423 is used
In the semantic feature of identification specific character string, the semantic feature of specific character string includes:The character that the specific character string includes
Any of type, the character arrangements mode of the specific character string, length of the specific character string are a variety of;Keyword
Extraction unit 424 is used to extract keyword in text message, and keyword includes:Qq, msn, skype, bank, middle row, Construction Bank,
Any of China Merchants Bank, industrial and commercial bank, agricultural bank, postal saving and wechat are a variety of;Second semantic type determination unit 425 is used for basis
Default semantic feature and the correspondence of crucial combinatorics on words and semantic type, determine the corresponding semantic category of specific character string
Type.
Wherein, default semantic feature and the correspondence of crucial combinatorics on words and semantic type can be:Semantic feature
Any combination with keyword corresponds at least one semantic type.
Another further aspect, semantic type determining module 420 can also include 426 and the 3rd semantic type of character string comparison unit
Determination unit 427, as shown in Figure 7.Wherein, character string comparison unit 426 is used to carry out specific character string and preset character string
Compare;It is identical with preset character string that if the 3rd semantic type determination unit 427 is used for specific character string, by preset character string
Semantic type is determined as the semantic type of specific character string.
Wherein, the semantic type of preset character string includes:Carrier service provides number, emergency number, has joined
It is the one or more in people's telephone number, postcode.
Action type determining module 430 is used for the correspondence according to default semantic type and action type, determines spy
Determine the corresponding action type of character string.
Default semantic type and the correspondence of action type are:A kind of semantic type corresponds at least one operation class
Type;
Action type can include:Replicate, call, send short message, send mail, preserve to local, be saved in
The one or more being related in people and newly-built contact person.
Character string display module 440 is used to show specific character string, default display mode according to default display mode
Including:Any of underscore mode, suspended pattern, color matching mode are a variety of;
Operation executing module 450 is used for when receiving the operation selection signal for acting on any specific character string, according to
Selected action type, operation is performed to specific character string.
In conclusion the present embodiment three provide information processor by detecting the specific character string in text message,
And the semantic feature based on the specific character string detected determines its semantic type, corresponding operation class is provided according to semantic type
Type, by specific character string differentiation, optionally provide can selection operation so that mobile terminal provide can selection operation more
Accurately, facilitate user more effectively to be operated to specific character string, improve the usage experience of user.It is of course, it is possible to pre-
See, information processing method and device provided in an embodiment of the present invention are also not limited to mobile terminal in application, can also
For other terminals, such as the Integral desktop computer comprising touch-screen.
It should be noted that:The information processor that above-described embodiment provides is when being described herein, only with above-mentioned each function
The division progress of module, can be as needed and by above-mentioned function distribution by different function moulds for example, in practical application
Block is completed, i.e., the internal structure of device is divided into different function modules, to complete all or part of work(described above
Energy.In addition, the information processor that above-described embodiment provides belongs to same design with information processing method embodiment, it is specific real
Existing process refers to embodiment of the method, and which is not described herein again.
One of ordinary skill in the art will appreciate that hardware can be passed through by realizing all or part of step of above-described embodiment
To complete, relevant hardware can also be instructed to complete by program, the program can be stored in a kind of computer-readable
In storage medium, storage medium mentioned above can be read-only storage, disk or CD etc..
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all the present invention spirit and
Within principle, any modification, equivalent replacement, improvement and so on, should all be included in the protection scope of the present invention.
Claims (14)
1. a kind of information processing method, it is characterised in that it includes:
The specific character string in text message is detected, the specific character string includes any of following character string or a variety of:
Alphabetic character string, numeral and character string, the character string comprising spcial character of monogram;Wherein, the spcial character includes
Any of following character is a variety of:@、www、http、https、com、cn、org、net;
The semantic type of the specific character string is determined according to the semantic feature of the specific character string, the semantic type includes
With any of Types Below or a variety of:Email address, web page address, the date, Bank Account Number, carrier service provide number,
Emergency number, existing contact phone number, postcode;
According to default semantic type and the correspondence of action type, the corresponding action type of the specific character string is determined;
Wherein, the semantic feature according to the specific character string determines the semantic type of the specific character string, including:Root
The specific character string is determined according to the combination of the semantic feature of the keyword in the text message and the specific character string
Semantic type, the keyword is located in the specific character string or its in addition to the specific character string of the text message
In its character string.
2. information processing method according to claim 1, it is characterised in that the specific character string further includes:Numeric word
Symbol string;
The semantic type is further included with any of Types Below or a variety of:Mobile Directory Number, fixed telephone number, immediately
Communication number.
3. information processing method according to claim 2, it is characterised in that the semanteme according to the specific character string
Feature determines the semantic type of the specific character string, further includes:
Identify the semantic feature of the specific character string, the semantic feature of the specific character string includes:The specific character string
Comprising character types, the character arrangements mode of the specific character string, any of the length of the specific character string or
It is a variety of;
According to default semantic feature and the correspondence of semantic type, the corresponding semantic type of the specific character string is determined;
Wherein, the correspondence of the default semantic feature and semantic type is:A kind of semantic feature corresponds at least one
Semantic type.
4. information processing method according to claim 2, it is characterised in that the key in the text message
The combination of the semantic feature of word and the specific character string determines the semantic type of the specific character string, specifically includes:
Identify the semantic feature of the specific character string, the semantic feature of the specific character string includes:The specific character string
Comprising character types, the character arrangements mode of the specific character string, any of the length of the specific character string or
It is a variety of;
Keyword is extracted in the text message;
According to default semantic feature and the correspondence of crucial combinatorics on words and semantic type, the specific character string pair is determined
The semantic type answered;
Wherein, the default semantic feature and the correspondence of crucial combinatorics on words and semantic type are:Semantic feature and pass
Any combination of key word corresponds at least one semantic type.
5. information processing method according to claim 2, it is characterised in that the semanteme according to the specific character string
Feature determines the semantic type of the specific character string, further includes:
By the specific character string compared with preset character string;
If the specific character string is identical with the preset character string, the semantic type of the preset character string is determined as institute
State the semantic type of specific character string;
Wherein, the semantic type of the preset character string includes:Carrier service provides number, emergency number, has joined
It is any of people's telephone number, postcode or a variety of.
6. according to any information processing method of claim 3 to 5, it is characterised in that the default semantic type with
The correspondence of action type is:A kind of semantic type corresponds at least one action type;
The action type includes:Replicate, call, send short message, send mail, preserve to local, be saved in and joined
It is the one or more in people and newly-built contact person.
7. information processing method according to claim 6, it is characterised in that described according to default semantic type and operation
The correspondence of type, after determining the corresponding action type of the specific character string, further includes:
The specific character string is shown according to default display mode, and the default display mode includes:Underscore mode, hang
Any of floating mode, color matching mode are a variety of;
When receiving the operation selection signal for acting on any specific character string, according to selected action type, to described
Specific character string performs operation.
8. a kind of information processor, it is characterised in that it includes:
Character string detection module, for detecting the specific character string in text message, the specific character string includes following character
Any of string is a variety of:Alphabetic character string, numeral and character string, the character string comprising spcial character of monogram;Its
In, the spcial character includes any of following character or a variety of:@、www、http、https、com、cn、org、net;
Semantic type determining module, for determining the semanteme of the specific character string according to the semantic feature of the specific character string
Type, the semantic type are included with any of Types Below or a variety of:Email address, web page address, date, bank's account
Number, carrier service number, emergency number, existing contact phone number, postcode are provided;
Action type determining module, for the correspondence according to default semantic type and action type, determines described specific
The corresponding action type of character string;
The semantic type determining module, is additionally operable to:Keyword and the specific character string in the text message
The combination of semantic feature determines the semantic type of the specific character string, and the keyword is located in the specific character string or institute
State in other character strings of the text message in addition to the specific character string.
9. information processor according to claim 8, it is characterised in that the specific character string further includes:Numeric word
Symbol string;
The semantic type is further included with any of Types Below or a variety of:Mobile Directory Number, fixed telephone number.
10. information processor according to claim 9, it is characterised in that the semantic type determining module includes:The
One semantic feature recognition unit and the first semantic type determination unit;
The first semantic feature recognition unit, for identifying the semantic feature of the specific character string, the specific character string
Semantic feature include:It is character types that the specific character string includes, the character arrangements mode of the specific character string, described
Any of length of specific character string is a variety of;
The first semantic type determination unit, for the correspondence according to default semantic feature and semantic type, determines
The corresponding semantic type of the specific character string;
Wherein, the correspondence of the default semantic feature and semantic type is:A kind of semantic feature corresponds at least one
Semantic type.
11. information processor according to claim 9, it is characterised in that the semantic type determining module includes:The
Two semantic feature recognition units, keyword extraction unit and the second semantic type determination unit;
The second semantic feature recognition unit, for identifying the semantic feature of the specific character string, the specific character string
Semantic feature include:It is character types that the specific character string includes, the character arrangements mode of the specific character string, described
Any of length of specific character string is a variety of;
The keyword extraction unit, for extracting keyword in the text message;
The second semantic type determination unit, for according to default semantic feature and crucial combinatorics on words and semantic type
Correspondence, determines the corresponding semantic type of the specific character string;
Wherein, the default semantic feature and the correspondence of crucial combinatorics on words and semantic type are:Semantic feature and pass
Any combination of key word corresponds at least one semantic type.
12. information processor according to claim 9, it is characterised in that the semantic type determining module includes:Word
Symbol string comparing unit and the 3rd semantic type determination unit;
The character string comparison unit, for by the specific character string compared with preset character string;
The 3rd semantic type determination unit, if identical with the preset character string for the specific character string, by institute
The semantic type for stating preset character string is determined as the semantic type of the specific character string;
Wherein, the semantic type of the preset character string includes:Carrier service provides number, emergency number, has joined
It is any of people's telephone number, postcode or a variety of.
13. according to any information processor of claim 10 to 11, it is characterised in that the default semantic type
Correspondence with action type is:A kind of semantic type corresponds at least one action type;
The action type includes:Replicate, call, send short message, send mail, preserve to local, be saved in and joined
It is the one or more in people and newly-built contact person.
14. information processor according to claim 13, it is characterised in that described information processing unit further includes:Word
Symbol string display module and operation executing module;
The character string display module, it is described default aobvious for showing the specific character string according to default display mode
The mode of showing includes:Any of underscore mode, suspended pattern, color matching mode are a variety of;
The operation executing module, for when receiving the operation selection signal for acting on any specific character string, according to institute
The action type of selection, operation is performed to the specific character string.
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 CN103218363A (en) | 2013-07-24 |
CN103218363B true 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) |
Families Citing this family (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104125321B (en) * | 2013-04-24 | 2018-02-16 | 腾讯科技(深圳)有限公司 | A kind of contact details update method, device and system |
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 |
CN104182479B (en) * | 2014-08-04 | 2018-11-30 | 宇龙计算机通信科技(深圳)有限公司 | A kind of method and device handling information |
CN106919540B (en) * | 2016-08-02 | 2021-07-13 | 创新先进技术有限公司 | Text display method, system 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 |
Citations (4)
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 |
-
2012
- 2012-01-19 CN CN201210018134.7A patent/CN103218363B/en active Active
Patent Citations (4)
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 |
Also Published As
Publication number | Publication date |
---|---|
CN103218363A (en) | 2013-07-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103218363B (en) | Information processing method and device | |
US8688690B2 (en) | Method for calculating semantic similarities between messages and conversations based on enhanced entity extraction | |
US9589200B2 (en) | Handwriting input conversion apparatus, computer-readable medium, and conversion method | |
US20170344224A1 (en) | Suggesting emojis to users for insertion into text-based messages | |
US8762375B2 (en) | Method for calculating entity similarities | |
CN107193476B (en) | Information input method and device, computer equipment and readable medium | |
CN103546877A (en) | Method and system for obtaining and inputting content code and mobile terminal | |
CN104714938B (en) | The method and electronic equipment of a kind of information processing | |
CN109388713B (en) | Intelligent processing method and device for unread short messages | |
CN103547980A (en) | Context aware input engine | |
US20160370959A1 (en) | Method and device for updating input method system, computer storage medium, and device | |
CN104184653A (en) | Message filtering method and device | |
CN105718072A (en) | Character output method and mobile terminal | |
US20160283582A1 (en) | Device and method for detecting similar text, and application | |
US8856044B1 (en) | Segmented access of remotely stored biographical data to a client device | |
CN112487817A (en) | Named entity recognition model training method, sample labeling method, device and equipment | |
KR20190134100A (en) | Method and apparatus for providing chatting service | |
CN107729306A (en) | A kind of text handling method, terminal and computer-readable medium | |
US20130289974A1 (en) | Chinese character information processing method and chinese character information processing device | |
WO2017096844A1 (en) | Email processing method and device | |
CN113420549B (en) | Abnormal character string identification method and device | |
CN113746814B (en) | Mail processing method, mail processing device, electronic equipment and storage medium | |
CN106790907A (en) | Method and mobile terminal that a kind of associated person information based on mobile terminal is imported | |
CN110555431B (en) | Image recognition method and device | |
CN109145284A (en) | Information processing method and device |
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 |