CN102843659A - Method and device for extracting contact information from short message - Google Patents

Method and device for extracting contact information from short message Download PDF

Info

Publication number
CN102843659A
CN102843659A CN2012103313649A CN201210331364A CN102843659A CN 102843659 A CN102843659 A CN 102843659A CN 2012103313649 A CN2012103313649 A CN 2012103313649A CN 201210331364 A CN201210331364 A CN 201210331364A CN 102843659 A CN102843659 A CN 102843659A
Authority
CN
China
Prior art keywords
associated person
person information
note
extracts
information
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
CN2012103313649A
Other languages
Chinese (zh)
Other versions
CN102843659B (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.)
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Dongguan Yulong Telecommunication Technology Co Ltd
Original Assignee
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Dongguan Yulong Telecommunication Technology 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 Yulong Computer Telecommunication Scientific Shenzhen Co Ltd, Dongguan Yulong Telecommunication Technology Co Ltd filed Critical Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority to CN201210331364.9A priority Critical patent/CN102843659B/en
Publication of CN102843659A publication Critical patent/CN102843659A/en
Application granted granted Critical
Publication of CN102843659B publication Critical patent/CN102843659B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Abstract

The invention relates to a method for extracting contact information from a short message. The method comprises the following steps of: monitoring an event of stopping checking the short message; acquiring the short message corresponding to the event of stopping checking the short message; and extracting the contact information from the short message. In addition, the invention also provides a device for extracting the contact information from the short message. By the method and the device for extracting the contact information from the short message, the operation convenience can be improved.

Description

Extract the method and the device of the associated person information in the note
Technical field
The present invention relates to technical field of mobile terminals, particularly relate to a kind of method and device that extracts the associated person information in the note.
Background technology
In the conventional art, the user can manually add the contact person in portable terminal.The user can be in address list manual newly-built contact person, import name of contact person, telephone number and contact associated information and storage then.After the contact person adds completion, when receiving this contact person's incoming call, can show this name of contact person to the user, rather than the telephone number of incoming call, thereby whom the caller who makes the user know incoming call easily is.
In the conventional art, the user also can extract telephone number and newly-built contact person in note.The user also can manually import the instruction of extracting number in operation interface after receiving note, in the text message of note, extract continuous numeral then as telephone number.
Yet the method for the associated person information in the conventional art in the extraction note needs the user manually to import the instruction of extracting number, makes that the convenience of operation is not enough.And the user browses in the process of note, forgets preservation as if the telephone number in the content of text of having ignored note because of carelessness, can omit some important telephone number, thereby cause damage.
Summary of the invention
Based on this, the method for the associated person information in the extraction note that is necessary to provide a kind of ability to improve the convenience of operating.
A kind of method of extracting the associated person information in the note comprises:
Monitor note and stop the incident of checking;
Obtain said note and stop the corresponding note of the incident of checking, from said note, extract associated person information.
Therein among embodiment, said associated person information comprises at least a in telephone number, E-mail address, the personal website address.
Among embodiment, the said associated person information that extracts has a plurality of therein;
The said step of from said note, extracting associated person information also comprises afterwards:
The said associated person information that extracts of prompting user storage;
Obtain the associated person information selection instruction of input;
In the said associated person information that extracts, obtain the contact person of selection according to said associated person information selection instruction;
Store the contact person of said selection.
Therein among embodiment, also comprise after the said step of from said note, extracting associated person information:
Judge that whether deposited the contact person comprises the said associated person information that extracts, if do not comprise, then carries out the step of the said associated person information that extracts of said prompting user storage.
Therein among embodiment, also comprise after the said step of from note, extracting associated person information:
The said associated person information that extracts is stored in the preset buffer area;
Said method also comprises:
Obtain the associated person information in the said preset buffer area;
The said associated person information that from preset buffer area, obtains of prompting user storage.
The device of the associated person information in the extraction note that in addition, also is necessary to provide a kind of ability to improve the convenience of operating.
A kind of device that extracts the associated person information in the note comprises:
The action listener module is used to monitor note and stops the incident of checking;
Information extraction modules is used to obtain said note and stops the corresponding note of the incident of checking, from said note, extracts associated person information.
Therein among embodiment, said associated person information comprises at least a in telephone number, E-mail address, the personal website address.
Among embodiment, the said associated person information that extracts has a plurality of therein;
Said device also comprises the contact store module; Be used to point out user storage the said associated person information that extracts; Obtain the associated person information selection instruction of input; In the said associated person information that extracts, obtain the contact person of selection according to said associated person information selection instruction, store the contact person of said selection.
Among embodiment, said device also comprises the information sifting module therein, is used for filtering out at the said associated person information that extracts not being included in the associated person information of depositing among the contact person.
Among embodiment, said device also comprises the associated person information cache module, is used for storing the said associated person information that extracts into preset buffer area therein;
Said device also comprises the storage and uniform module, is used for obtaining the associated person information of said preset buffer area, the said associated person information that from preset buffer area, obtains of prompting user storage.
The method and apparatus of the associated person information in the said extracted note can be monitored note and stop the incident of checking, and automatically extracts and the note corresponding contact information after note stops the incident of checking listening to.User manually input instruction extracts associated person information, but stops the triggering of incident and extract associated person information automatically along with note through the mode of monitoring, and the number of operations that makes the user import reduces, thereby has improved the convenience of operation.
Description of drawings
Fig. 1 is the flow chart that extracts the method for the associated person information in the note among the embodiment;
Fig. 2 is the structural representation that extracts the device of the associated person information in the note among the embodiment;
Fig. 3 is the structural representation that extracts the device of the associated person information in the note among another embodiment.
Embodiment
In one embodiment, as shown in Figure 1, a kind of method of extracting the associated person information in the note may further comprise the steps:
Step S102 monitors note and stops the incident of checking.
It is the incident that the user triggers when stopping to check note that note stops the incident of checking.For example, the user closes the button of note in click, when closing the note window or short message application being placed into running background, can trigger note and stop the incident of checking.
In one embodiment, can monitor function and monitor note and stop the incident of checking through in the processing function of the close event of note window, adding.
Step S104 obtains note and stops the corresponding note of the incident of checking, from note, extracts associated person information.
In one embodiment, associated person information comprises at least a in telephone number, E-mail address, the personal website address.The personal website address can be microblogging address, blog address or personal homepage address.
In one embodiment, the step of from note, extracting associated person information can be specially: obtain the associated person information that is comprised in sender number and/or the short message content of this note.
In one embodiment; The step of from short message content, extracting associated person information can be specially: the traversal content of text; Obtain the ASCII character of each character in the content of text, according to continuous character string in the ASCII character intercepting content of text in punctuate, Chinese or space; If the character string that gets access to is a Serial No., whether the length of then judging Serial No. is greater than threshold value, if then extract this Serial No. as telephone number; If the character string that gets access to as initial, is then extracted this character string as the personal website address with character string " http "; If the character string that gets access to comprises character " ", then extract this character string as E-mail address.
For example; Can generate a formation in advance; Travel through the character in the content of text then, obtain the ASCII character of traversal character, in the size of the ASCII character of certain character A between 48 to 57 when (be corresponding characters 0 between 9); Then character A is inserted into the end of formation, and the beginning iteration is judged.If the size of the ASCII character of the character B (being the character late of character A in content of text) of iteration then is inserted into character B the end of formation between 48 to 57, and continue iteration; Otherwise whether the length of judging formation is greater than threshold value, if then according to the telephone number of this formation extraction Serial No. as extraction, if be not more than threshold value, this formation of then resetting removes the character that has inserted in this formation.
Further, also can from short breath, extract associated person information according to preset regular expression.Can according to punctuate, Chinese or space the short message content intercepting be become character string earlier, judge according to preset regular expression whether the character string that intercepting obtains is associated person information then.Preset regular expression standard can be provided with according to the Naming conventions of telephone number, E-mail address and personal website address.
In one embodiment, from note, extract the step of associated person information and also can show the associated person information that extracts afterwards, the associated person information that the prompting user storage is extracted through pop-up window.Can obtain the relevant information (like name, the pet name, grouping etc.) of the associated person information with extracting of user's input through pop-up window, and also store according to the relevant information and the newly-built contact person of associated person information of input.
In one embodiment, the associated person information of extraction has a plurality of.The step of from note, extracting associated person information also comprises afterwards:
The associated person information that the prompting user storage is extracted obtains the associated person information selection instruction of input, in the associated person information that extracts, obtains the contact person of selection according to the associated person information selection instruction, the contact person that storage is selected.
Further, the contact person's that storage is selected step can be specially: obtain contact person's the relevant information of the selection of user's input through pop-up window, according to the newly-built contact person of the contact person of relevant information and selection and store.
In one embodiment, can judge also whether deposited the contact person comprises the associated person information that extracts after from note, extracting the step of associated person information,, then carry out the step of the associated person information that the prompting user storage extracts if do not comprise.
Deposited the contact person and be the contact person's who has stored in the terminal set.Can search the associated person information that extracts among the contact person depositing,, then can ignore this telephone number if find; Otherwise, the step of the associated person information that execution prompting user storage is extracted.
That is to say deposited among the contact person, then can ignore this telephone number if the telephone number that extracts has been present in.
In one embodiment, the step of from note, extracting associated person information also can store the associated person information that extracts in the preset buffer area into afterwards.
Also can obtain the associated person information in the preset buffer area, the associated person information that the prompting user storage is obtained from preset buffer area.
The step that the associated person information that extracts stores in the preset buffer area can be closed the note window or short message application is moved to the backstage afterwards.That is to say, need not each associated person information that short breath all points out user storage to extract when stopping to check incident that triggers, store in the buffer area but put together.The user can regularly browse buffer area, and with the unified preservation of the associated person information that extracts the early stage of buffer memory in the buffer area.Thereby can not point out continually, thereby improve user experience the user.
In one embodiment, as shown in Figure 2, a kind of device that extracts the associated person information in the note comprises action listener module 102, information extraction modules 104, wherein:
Action listener module 102 is used to monitor note and stops the incident of checking.
It is the incident that the user triggers when stopping to check note that note stops the incident of checking.For example, the user closes the button of note in click, when closing the note window or short message application being placed into running background, can trigger note and stop the incident of checking.
In one embodiment, action listener module 102 can be used for monitoring function and monitoring note and stop the incident of checking through in the processing function of the close event of note window, adding.
Information extraction modules 104 is used to obtain note and stops the corresponding note of the incident of checking, from note, extracts associated person information.
In one embodiment, associated person information comprises at least a in telephone number, E-mail address, the personal website address.The personal website address can be microblogging address, blog address or personal homepage address.
In one embodiment, information extraction modules 104 can be used for obtaining the associated person information that is comprised in sender number and/or the short message content of this note.
In one embodiment, information extraction modules 104 can be used for traveling through content of text, obtains the ASCII character of each character in the content of text, according to continuous character string in the ASCII character intercepting content of text in punctuate, Chinese or space; If the character string that gets access to is a Serial No., whether the length of then judging Serial No. is greater than threshold value, if then extract this Serial No. as telephone number; If the character string that gets access to as initial, is then extracted this character string as the personal website address with character string " http "; If the character string that gets access to comprises character " ", then extract this character string as E-mail address.
For example; Information extraction modules 104 can be used for generating in advance a formation; Travel through the character in the content of text then, obtain the ASCII character of traversal character, in the size of the ASCII character of certain character A between 48 to 57 when (be corresponding characters 0 between 9); Then character A is inserted into the end of formation, and the beginning iteration is judged.If the size of the ASCII character of the character B (being the character late of character A in content of text) of iteration then is inserted into character B the end of formation between 48 to 57, and continue iteration; Otherwise whether the length of judging formation is greater than threshold value, if then according to the telephone number of this formation extraction Serial No. as extraction, if be not more than threshold value, this formation of then resetting removes the character that has inserted in this formation.
Further, number extraction module 104 also can be used for from short breath, extracting associated person information according to preset regular expression.Can according to punctuate, Chinese or space the short message content intercepting be become character string earlier, judge according to preset regular expression whether the character string that intercepting obtains is associated person information then.Preset regular expression standard can be provided with according to the Naming conventions of telephone number, E-mail address and personal website address.
In one embodiment, the associated person information of extraction has a plurality of.As shown in Figure 3; The device that extracts the associated person information in the note also comprises contact store module 106; Be used to the associated person information of pointing out user storage to extract; Obtain the associated person information selection instruction of input, in the associated person information that extracts, obtain the contact person of selection, the contact person that storage is selected according to the associated person information selection instruction.
Further, contact store module 106 can be used for obtaining through pop-up window contact person's the relevant information (like name, the pet name, grouping etc.) of the selection of user input, according to the newly-built contact person of the contact person of relevant information and selection and store.In one embodiment, as shown in Figure 3, the device that extracts the associated person information in the note comprises also that information sifting module 108 is used for filtering out at the associated person information that extracts and is not included in the associated person information of depositing among the contact person.
Deposited the contact person and be the contact person's who has stored in the terminal set.Can search the associated person information that extracts among the contact person depositing,, then can ignore this telephone number if find; Otherwise, the step of the associated person information that execution prompting user storage is extracted.
That is to say deposited among the contact person, then can ignore this telephone number if the telephone number that extracts has been present in.
In one embodiment, as shown in Figure 3, the device that extracts the associated person information in the note also comprises associated person information cache module 110, is used for storing the associated person information that extracts into preset buffer area.The device that extracts the associated person information in the note also comprises storage and uniform module 112, is used for obtaining the associated person information of preset buffer area, the associated person information that the prompting user storage is obtained from preset buffer area.
Associated person information cache module 110 can be closed the note window or short message application is moved to the backstage after being stored into the associated person information that extracts in the preset buffer area.That is to say, need not each associated person information that short breath all points out user storage to extract when stopping to check incident that triggers, store in the buffer area but put together.The user can regularly browse buffer area, and with the unified preservation of the associated person information that extracts the early stage of buffer memory in the buffer area.Thereby can not point out continually, thereby improve user experience the user.
The method and apparatus of the associated person information in the said extracted note can be monitored note and stop the incident of checking, and automatically extracts and the note corresponding contact information after note stops the incident of checking listening to.User manually input instruction extracts associated person information, but stops the triggering of incident and extract associated person information automatically along with note through the mode of monitoring, and the number of operations that makes the user import reduces, thereby has improved the convenience of operation.
The above embodiment has only expressed several kinds of execution modes of the present invention, and it describes comparatively concrete and detailed, but can not therefore be interpreted as the restriction to claim of the present invention.Should be pointed out that for the person of ordinary skill of the art under the prerequisite that does not break away from the present invention's design, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection range of patent of the present invention should be as the criterion with accompanying claims.

Claims (10)

1. method of extracting the associated person information in the note comprises:
Monitor note and stop the incident of checking;
Obtain said note and stop the corresponding note of the incident of checking, from said note, extract associated person information.
2. the method for the associated person information in the extraction note according to claim 1 is characterized in that, said associated person information comprises at least a in telephone number, E-mail address, the personal website address.
3. the method for the associated person information in the extraction note according to claim 1 is characterized in that, the said associated person information that extracts has a plurality of;
The said step of from said note, extracting associated person information also comprises afterwards:
The said associated person information that extracts of prompting user storage;
Obtain the associated person information selection instruction of input;
In the said associated person information that extracts, obtain the contact person of selection according to said associated person information selection instruction;
Store the contact person of said selection.
4. according to the method for the associated person information in each described extraction note of claim 1 to 3, it is characterized in that the said step of from said note, extracting associated person information also comprises afterwards:
Judge that whether deposited the contact person comprises the said associated person information that extracts, if do not comprise, then carries out the step of the said associated person information that extracts of said prompting user storage.
5. according to the method for the associated person information in each described extraction note of claim 1 to 3, it is characterized in that the said step of from note, extracting associated person information also comprises afterwards:
The said associated person information that extracts is stored in the preset buffer area;
Said method also comprises:
Obtain the associated person information in the said preset buffer area;
The said associated person information that from preset buffer area, obtains of prompting user storage.
6. a device that extracts the associated person information in the note is characterized in that, comprising:
The action listener module is used to monitor note and stops the incident of checking;
Information extraction modules is used to obtain said note and stops the corresponding note of the incident of checking, from said note, extracts associated person information.
7. the device of the associated person information in the extraction note according to claim 6 is characterized in that, said associated person information comprises at least a in telephone number, E-mail address, the personal website address.
8. the device of the associated person information in the extraction note according to claim 6 is characterized in that, the said associated person information that extracts has a plurality of;
Said device also comprises the contact store module; Be used to point out user storage the said associated person information that extracts; Obtain the associated person information selection instruction of input; In the said associated person information that extracts, obtain the contact person of selection according to said associated person information selection instruction, store the contact person of said selection.
9. according to the device of the associated person information in each described extraction note of claim 6 to 8; It is characterized in that; Said device also comprises the information sifting module, is used for filtering out at the said associated person information that extracts not being included in the associated person information of depositing among the contact person.
10. according to the device of the associated person information in each described extraction note of claim 6 to 8, it is characterized in that said device also comprises the associated person information cache module, be used for storing the said associated person information that extracts into preset buffer area;
Said device also comprises the storage and uniform module, is used for obtaining the associated person information of said preset buffer area, the said associated person information that from preset buffer area, obtains of prompting user storage.
CN201210331364.9A 2012-09-07 2012-09-07 Extract method and the device of the associated person information in note Expired - Fee Related CN102843659B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210331364.9A CN102843659B (en) 2012-09-07 2012-09-07 Extract method and the device of the associated person information in note

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210331364.9A CN102843659B (en) 2012-09-07 2012-09-07 Extract method and the device of the associated person information in note

Publications (2)

Publication Number Publication Date
CN102843659A true CN102843659A (en) 2012-12-26
CN102843659B CN102843659B (en) 2016-05-04

Family

ID=47370663

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210331364.9A Expired - Fee Related CN102843659B (en) 2012-09-07 2012-09-07 Extract method and the device of the associated person information in note

Country Status (1)

Country Link
CN (1) CN102843659B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101692682A (en) * 2009-09-22 2010-04-07 中兴通讯股份有限公司 Method and mobile terminal for processing numbers in content of short message
CN101873557A (en) * 2010-06-25 2010-10-27 华为终端有限公司 Method and user terminal for prompting end user to store contact
CN101951424A (en) * 2010-09-26 2011-01-19 宇龙计算机通信科技(深圳)有限公司 Contact information prompt method, system and mobile terminal
CN102413242A (en) * 2011-11-21 2012-04-11 宇龙计算机通信科技(深圳)有限公司 Terminal and number management method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101692682A (en) * 2009-09-22 2010-04-07 中兴通讯股份有限公司 Method and mobile terminal for processing numbers in content of short message
CN101873557A (en) * 2010-06-25 2010-10-27 华为终端有限公司 Method and user terminal for prompting end user to store contact
CN101951424A (en) * 2010-09-26 2011-01-19 宇龙计算机通信科技(深圳)有限公司 Contact information prompt method, system and mobile terminal
CN102413242A (en) * 2011-11-21 2012-04-11 宇龙计算机通信科技(深圳)有限公司 Terminal and number management method

Also Published As

Publication number Publication date
CN102843659B (en) 2016-05-04

Similar Documents

Publication Publication Date Title
CN101815262A (en) Method and device for shielding spam short messages of mobile terminal
CN105120053A (en) Intelligent terminal and information identification method
CN103076977B (en) A kind of method and system of the transmission of trigger message in the standby state
CN103414815A (en) Method and terminal for displaying contact information
CN101697107A (en) Method and device for inputting characters in touch mobile communication terminal
CN107332757A (en) Delete the method and Related product of PUSH message
CN103249034A (en) Method and device for acquiring contact information
CN103235677B (en) The method and device of the communication information is rapidly input in a kind of terminal
TW201429214A (en) System and method for analyzing and extracting keywords of communications
CN103957313A (en) Method and mobile terminal for displaying characteristic information of contact person during communication
CN102811288A (en) Method and device for recording call information
CN102368841A (en) Remote control method and device of mobile short message
CN102148886A (en) Method for sorting contact list in mobile phone address book
CN102905004A (en) Call logging system and call logging method in mobile terminal
CN104333641B (en) Call method and device
CN102984675A (en) Method and device for replying messages
CN104869210B (en) A kind of communication information extracting method and information extraction terminal
CN104571812B (en) Information processing method and electronic equipment
CN104468994B (en) Method and device for adding remark to unfamiliar number
CN105636024A (en) Method and device for protecting privacy
CN104506599B (en) Method, server and the terminal of information processing
CN102843659A (en) Method and device for extracting contact information from short message
CN108924840B (en) Blacklist management method and device and terminal
CN102984187B (en) Realize the method and system of Twitter message collection
CN104199968A (en) Method and device for searching information of contacts on basis of custom pattern recognition

Legal Events

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

Granted publication date: 20160504

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