CN102843659B - Extract method and the device of the associated person information in note - Google Patents

Extract method and the device of the associated person information in note Download PDF

Info

Publication number
CN102843659B
CN102843659B CN201210331364.9A CN201210331364A CN102843659B CN 102843659 B CN102843659 B CN 102843659B CN 201210331364 A CN201210331364 A CN 201210331364A CN 102843659 B CN102843659 B CN 102843659B
Authority
CN
China
Prior art keywords
associated person
person information
note
extracting
character
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201210331364.9A
Other languages
Chinese (zh)
Other versions
CN102843659A (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

Landscapes

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

Abstract

A kind of method of extracting the associated person information in note: monitor note and stop the event of checking; Obtain described note and stop note corresponding to the event of checking, from described note, extract associated person information. In addition, also provide a kind of device that extracts the associated person information in note. The method and apparatus of the associated person information in said extracted note can improve the convenience of operation.

Description

Extract method and the device of the associated person information in note
Technical field
The present invention relates to technical field of mobile terminals, particularly relate to a kind of associated person information extracting in noteMethod and device.
Background technology
In conventional art, user can manually add contact person in mobile terminal. User can be in address list handMoving newly-built contact person, then inputs name of contact person, telephone number and contact associated information storage.After contact person has added, while receiving this contact person's incoming call, this contact person's surname can shown to userName, instead of the telephone number of incoming call, thus whom the caller who makes user know easily incoming call is.
In conventional art, user also can extract telephone number newly-built contact person in note. User is receivingAfter note, also can in operation interface, manually input and extract the instruction of number, then in the text envelope of noteIn breath, extract continuous numeral as telephone number.
But, in conventional art, extract the method for the associated person information in note, need user manually input carryGet the instruction of number, make the convenience deficiency of operation. And user browses in the process of note, if not littleThe heart has been ignored the telephone number in the content of text of note and has been forgotten preservation, can omit some important phone numberCode, thus cause damage.
Summary of the invention
Based on this, be necessary to provide the associated person information in a kind of extraction note that can improve the convenience operatingMethod.
A method of extracting the associated person information in note, comprising:
Monitor note and stop the event of checking;
Obtain described note and stop note corresponding to the event of checking, from described note, extract associated person information.
In an embodiment, described associated person information comprises telephone number, E-mail address, individual thereinAt least one in people's station address.
Therein in an embodiment, described in the associated person information that extracts have multiple;
After the described step of extracting associated person information from described note, also comprise:
The associated person information extracting described in prompting user stores;
Obtain the associated person information selection instruction of input;
In the described associated person information extracting, obtain the connection of selection according to described associated person information selection instructionBe people;
Store the contact person of described selection.
In an embodiment, after the described step of extracting associated person information from described note, also wrap thereinDraw together:
Judge the associated person information extracting described in whether deposited contact person comprises, if do not comprise, carry out instituteState the step of the associated person information that prompting user extracts described in storing.
In an embodiment, after the described step of extracting associated person information from note, also comprise therein:
The described associated person information extracting is stored in default buffer area;
Described method also comprises:
Obtain the associated person information in described default buffer area;
Prompting user stores the described associated person information obtaining from default buffer area.
In addition, be also necessary to provide the associated person information in a kind of extraction note that can improve the convenience operatingDevice.
A device that extracts the associated person information in note, comprising:
Action listener module, stops for monitoring note the event of checking;
Information extraction modules, stops note corresponding to the event of checking for obtaining described note, from described noteMiddle extraction associated person information.
In an embodiment, described associated person information comprises telephone number, E-mail address, individual thereinAt least one in people's station address.
Therein in an embodiment, described in the associated person information that extracts have multiple;
Described device also comprises contact store module, for the contact person who points out user to extract described in storingInformation, obtains the associated person information selection instruction of input, according to described associated person information selection instruction describedIn the associated person information extracting, obtain the contact person of selection, store the contact person of described selection.
In an embodiment, described device also comprises information sifting module therein, for extracting describedAssociated person information in filter out and be not included in the associated person information of depositing in contact person.
In an embodiment, described device also comprises associated person information cache module therein, described in inciting somebody to actionThe associated person information extracting stores in default buffer area;
Described device also comprises unified memory module, for obtaining contact person's letter of described default buffer areaBreath, prompting user stores the described associated person information obtaining from default buffer area.
The method and apparatus of the associated person information in said extracted note, can monitor note and stop the event of checking,And after listening to note to stop the event of checking, automatically extract the associated person information corresponding with note. User need notManually associated person information is extracted in input instruction, but by the mode monitored along with note stops touching of eventSend out and automatically extract associated person information, the number of operations that user inputs is reduced, thereby having improved operationConvenience.
Brief description of the drawings
Fig. 1 is the flow chart that extracts the method for the associated person information in note in an embodiment;
Fig. 2 is the structural representation that extracts the device of the associated person information in note in an embodiment;
Fig. 3 is the structural representation that extracts the device of the associated person information in note in another embodiment.
Detailed description of the invention
In one embodiment, as shown in Figure 1, a kind of method of extracting the associated person information in note, bagDraw together following steps:
Step S102, monitors note and stops the event of checking.
It is the event that user triggers in the time stopping checking note that note stops the event of checking. For example, user is at pointHit the button of closing note, when closing note window or note application being placed into running background, can triggerNote stops the event of checking.
In one embodiment, can monitor letter by adding in the processing function of the close event of note windowNumber is monitored note and is stopped the event of checking.
Step S104, obtains note and stops note corresponding to the event of checking, extracts associated person information from note.
In one embodiment, associated person information comprises telephone number, E-mail address, personal website groundAt least one in location. Personal website address can be microblogging address, blog address or personal homepage address.
In one embodiment, the step of extracting associated person information from note can be specially: obtain this noteSender number and/or short message content in the associated person information that comprises.
In one embodiment, the step of extracting associated person information from short message content can be specially: traversal literary compositionThis content, obtains the ASCII character of each character in content of text, according to the ASCII in punctuate, Chinese or spaceCode intercepts continuous character string in content of text; If the character string getting is Serial No., judgementWhether the length of Serial No. is greater than threshold value, if so, extracts this Serial No. as telephone number; If obtainThe character string of getting, using character string " http " as initial, is extracted this character string as personal website groundLocation; If the character string getting comprises character " ", extract this character string as E-mail address.
For example, can generate in advance a queue, then travel through the character in content of text, obtain traversal characterASCII character, between 48 to 57, (be corresponding word in the size of the ASCII character of certain character ASymbol is between 0 to 9) time, character A is inserted into the end of queue, and starts iteration judgement. IfThe character B(of iteration is the character late of character A in content of text) the size of ASCII character be positioned atBetween 48 to 57, character B is inserted into the end of queue, and continues iteration; Otherwise, judge queueWhether length is greater than threshold value, if so, extracts Serial No. as the telephone number extracting according to this queue,If be not more than threshold value, this queue of resetting, removes the character having inserted in this queue.
Further, also can from short breath, extract associated person information according to default regular expression. First basisShort message content is intercepted into character string by punctuate, Chinese or space, then sentences according to default regular expressionWhether the character string that disconnected intercepting obtains is associated person information. Default regular expression specification can be according to phoneThe Naming conventions of number, E-mail address and personal website address arranges.
In one embodiment, the step of extracting associated person information from note also can be passed through pop-up window afterwardsShow the associated person information extracting, prompting user stores the associated person information extracting. Can be by ejecting windowMouth obtains the relevant information (as name, the pet name, grouping etc.) of the associated person information to extracting of user's input,And according to the relevant information of input and the newly-built contact person of associated person information storage.
In one embodiment, the associated person information of extraction has multiple. From note, extract associated person informationAfter step, also comprise:
Prompting user stores the associated person information extracting, and obtains the associated person information selection instruction of input, rootIn the associated person information extracting, obtain the contact person of selection according to associated person information selection instruction, storage is selectedContact person.
Further, the contact person's that storage is selected step can be specially: obtain user by pop-up window defeatedThe contact person's of the selection entering relevant information, according to the newly-built contact person of the contact person of relevant information and selection and depositStorage.
In one embodiment, from note, extract after the step of associated person information and also can judge and deposit contactWhether people comprises the associated person information extracting, if do not comprise, carries out prompting user and stores the connection extractingIt is the step of people's information.
Deposit contact person and be the contact person's who has stored in terminal set. Can in deposit contact person, search and carryThe associated person information of getting, if find, can ignore this telephone number; Otherwise, carry out prompting user storageThe step of the associated person information extracting.
That is to say, deposited in contact person if the telephone number extracting has been present in, can ignore this phoneNumber.
In one embodiment, from note, extracting also can be by the connection extracting after the step of associated person informationBe that people's information stores in default buffer area.
Also can obtain the associated person information in default buffer area, prompting user stores from default buffer areaThe associated person information obtaining.
After storing the associated person information extracting into step in default buffer area, can close note windowOr note application is moved to backstage. That is to say, all point out without each triggering when short breath stops checking eventUser stores the associated person information extracting, and stores in buffer area but put together. User can be regularly clearLook at buffer area, and preserve unified the associated person information extracting the early stage of buffer memory in buffer area. Thereby can notUser is pointed out continually, thereby improved user's experience.
In one embodiment, as shown in Figure 2, a kind of device that extracts the associated person information in note, bagDraw together action listener module 102, information extraction modules 104, wherein:
Action listener module 102, stops for monitoring note the event of checking.
It is the event that user triggers in the time stopping checking note that note stops the event of checking. For example, user is at pointHit the button of closing note, when closing note window or note application being placed into running background, can triggerNote stops the event of checking.
In one embodiment, action listener module 102 can be used for by the close event at note windowProcess to add in function and monitor function and monitor note and stop the event of checking.
Information extraction modules 104, stops note corresponding to the event of checking for obtaining note, from note, extractsAssociated person information.
In one embodiment, associated person information comprises telephone number, E-mail address, personal website groundAt least one in location. 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 this note sender number and/orThe associated person information comprising in short message content.
In one embodiment, information extraction modules 104 can be used for traveling through content of text, obtains content of textIn the ASCII character of each character, intercept in content of text and connect according to the ASCII character in punctuate, Chinese or spaceContinuous character string; If the character string getting is Serial No., whether judge the length of Serial No.Be greater than threshold value, if so, extract this Serial No. as telephone number; If the character string getting is with wordSymbol string " http ", as initial, extracts this character string as personal website address; If the character gettingSequence comprises character " ", extracts this character string as E-mail address.
For example, information extraction modules 104 can be used for generating in advance a queue, then travels through in content of textCharacter, obtain the ASCII character of traversal character, be positioned at 48 in the size of the ASCII character of certain character ATo between 57 when (be corresponding character between 0 to 9), character A is inserted into the end of queue,And start iteration judgement. If the character B(of iteration is the character late of character A in content of text)The size of ASCII character, between 48 to 57, is inserted into character B the end of queue, and continues repeatedlyGeneration; Otherwise, judge whether the length of queue is greater than threshold value, if so, extract Serial No. according to this queueAs the telephone number extracting, if be not more than threshold value, this queue of resetting, removes the insertion in this queueCharacter.
Further, number retention module 104 also can be used for extracting from short breath according to default regular expressionAssociated person information. Can first according to punctuate, Chinese or space, short message content be intercepted into character string, then rootJudge and intercept whether the character string obtaining is associated person information according to default regular expression. Default canonicalExpression formula specification can arrange 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 multiple. As shown in Figure 3, extract in noteThe device of associated person information also comprises contact store module 106, the contact of extracting for pointing out user to storePeople's information, obtains the associated person information selection instruction of input, is extracting according to associated person information selection instructionAssociated person information in obtain the contact person of selection, the contact person that storage is selected.
Further, contact store module 106 can be used for obtaining by pop-up window the selection of user's inputContact person's relevant information (as name, the pet name, grouping etc.), according to the contact person of relevant information and selectionNewly-built contact person storage. In one embodiment, as shown in Figure 3, extract the associated person information in noteDevice also comprise that information sifting module 108 is for filtering out and be not included at the associated person information extractingDeposit the associated person information in contact person.
Deposit contact person and be the contact person's who has stored in terminal set. Can in deposit contact person, search and carryThe associated person information of getting, if find, can ignore this telephone number; Otherwise, carry out prompting user storageThe step of the associated person information extracting.
That is to say, deposited in contact person if the telephone number extracting has been present in, can ignore this phoneNumber.
In one embodiment, as shown in Figure 3, the device that extracts the associated person information in note also comprises connectionBe people's information cache module 110, for storing the associated person information extracting into default buffer area. CarryThe device of getting the associated person information in note also comprises unified memory module 112, for obtaining default buffer areaIn associated person information, prompting user store the associated person information obtaining from default buffer area.
Associated person information cache module 110 stores in default buffer area the associated person information extracting into itAfter can close note window or note application is moved to backstage. That is to say, stop without the short breath of each triggeringWhile checking event, all point out user to store the associated person information extracting, store buffer area into but put togetherIn. User can regularly browse buffer area, and by the associated person information system extracting the early stage of buffer memory in buffer areaOne preserves. Thereby can not point out continually user, thereby improve user's experience.
The method and apparatus of the associated person information in said extracted note, can monitor note and stop the event of checking,And after listening to note to stop the event of checking, automatically extract the associated person information corresponding with note. User need notManually associated person information is extracted in input instruction, but by the mode monitored along with note stops touching of eventSend out and automatically extract associated person information, the number of operations that user inputs is reduced, thereby having improved operationConvenience.
The above embodiment has only expressed several embodiment of the present invention, and it describes comparatively concrete and detailed,But can not therefore be interpreted as the restriction to the scope of the claims of the present invention. It should be pointed out that for this areaThose of ordinary skill, without departing from the inventive concept of the premise, can also make some distortion andImprove, these all belong to protection scope of the present invention. Therefore, the protection domain of patent of the present invention should be with appendedClaim is as the criterion.

Claims (4)

1. a method of extracting the associated person information in note, comprising:
Monitor note and stop the event of checking;
Obtain described note and stop note corresponding to the event of checking, from described note, extract associated person information,Described associated person information comprises at least one in telephone number, E-mail address, personal website address;
After the described step of extracting associated person information from note, also comprise:
The described associated person information extracting is stored in default buffer area;
Described method also comprises:
Obtain the associated person information in described default buffer area;
Prompting user stores the described associated person information obtaining from default buffer area;
The described step of extracting associated person information from short message content is specially: traversal content of text, obtains literary compositionThe ASCII character of each character in this content, intercepts in text according to the ASCII character in punctuate, Chinese or spaceContinuous character string in appearance; If the character string getting is Serial No., judge the length of Serial No.Whether degree is greater than threshold value, if so, extracts this Serial No. as telephone number; If the character order gettingRow, using character string " http " as initial, extract this character string as personal website address; If getCharacter string comprise character " ", extract this character string as E-mail address;
The described associated person information extracting has multiple; The described step of extracting associated person information from described noteAfter rapid, also comprise:
The associated person information extracting described in prompting user stores;
Obtain the associated person information selection instruction of input;
In the described associated person information extracting, obtain the connection of selection according to described associated person information selection instructionBe people;
Store the contact person of described selection.
2. the method for the associated person information in extraction note according to claim 1, is characterized in that,After the described step of extracting associated person information from described note, also comprise:
Judge the associated person information extracting described in whether deposited contact person comprises, if do not comprise, carry out instituteState the step of the associated person information that prompting user extracts described in storing.
3. a device that extracts the associated person information in note, is characterized in that, comprising:
Action listener module, stops for monitoring note the event of checking;
Information extraction modules, stops note corresponding to the event of checking for obtaining described note, from described noteMiddle extraction associated person information, described associated person information comprises telephone number, E-mail address, personal websiteAt least one in address;
Described device also comprises associated person information cache module, for the described associated person information extracting is depositedStorage is in default buffer area;
Described device also comprises unified memory module, for obtaining contact person's letter of described default buffer areaBreath, prompting user stores the described associated person information obtaining from default buffer area;
Described information extraction modules travels through content of text, obtains the ASCII character of each character in content of text,Intercept continuous character string in content of text according to the ASCII character in punctuate, Chinese or space; If getCharacter string be Serial No., judge whether the length of Serial No. is greater than threshold value, if so, extractThis Serial No. is as telephone number; If the character string getting using character string " http " as initial,Extract this character string as personal website address; If the character string getting comprises character " ", carryGet this character string as E-mail address;
The described associated person information extracting has multiple;
Described device also comprises contact store module, for the contact person who points out user to extract described in storingInformation, obtains the associated person information selection instruction of input, according to described associated person information selection instruction describedIn the associated person information extracting, obtain the contact person of selection, store the contact person of described selection.
4. the device of the associated person information in extraction note according to claim 3, is characterized in that,Described device also comprises information sifting module, for filtering out and do not wrap at the described associated person information extractingBe contained in the associated person information of depositing in contact person.
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 CN102843659A (en) 2012-12-26
CN102843659B true 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 (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Family Cites Families (2)

* 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
CN102413242A (en) * 2011-11-21 2012-04-11 宇龙计算机通信科技(深圳)有限公司 Terminal and number management method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Also Published As

Publication number Publication date
CN102843659A (en) 2012-12-26

Similar Documents

Publication Publication Date Title
CN103886025B (en) The display methods and device of picture in webpage
CN103888581B (en) A kind of communication terminal and its method for recording call-information
US10491550B2 (en) Instant communication
CN108364644A (en) A kind of voice interactive method, terminal and computer-readable medium
CN104253899B (en) The control method and device of communicating terminal
CN103414815A (en) Method and terminal for displaying contact information
CN105049627A (en) Card generation method and device
CN103076977B (en) A kind of method and system of the transmission of trigger message in the standby state
CN104881279B (en) A kind of method and device of pocket transmission news
CN103235677B (en) The method and device of the communication information is rapidly input in a kind of terminal
CN103227870A (en) Method of saving contact information
CN103873654A (en) Call content analyzing and extracting system and method
CN103248738A (en) Information processing method and mobile terminal
CN103957313A (en) Method and mobile terminal for displaying characteristic information of contact person during communication
CN102981902A (en) Intelligent mobile terminal and screen protection method based on same
CN103249034A (en) Method and device for acquiring contact information
CN106713575A (en) Method and system of recording contact information in cellphone call
CN107277244A (en) Screenshot processing method and device
CN102811288A (en) Method and device for recording call information
CN104898923A (en) Notification content preview control method and device in mobile terminal
CN102970666A (en) Method and system for disguised incoming call information for mobile terminal
CN104504557A (en) Terminal event reminding method and terminal event reminding system
CN108683588A (en) A kind of information management method, message management apparatus and mobile terminal
CN103237122B (en) A kind of short message editing method and device
CN104869210B (en) A kind of communication information extracting method and information extraction terminal

Legal Events

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

Granted publication date: 20160504