CN102946474B - Method and device for automatically sharing contact information of contacts and mobile terminal - Google Patents

Method and device for automatically sharing contact information of contacts and mobile terminal Download PDF

Info

Publication number
CN102946474B
CN102946474B CN201210419442.0A CN201210419442A CN102946474B CN 102946474 B CN102946474 B CN 102946474B CN 201210419442 A CN201210419442 A CN 201210419442A CN 102946474 B CN102946474 B CN 102946474B
Authority
CN
China
Prior art keywords
statement
contact person
contact
note
sentence pattern
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
Application number
CN201210419442.0A
Other languages
Chinese (zh)
Other versions
CN102946474A (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.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and 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 Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201210419442.0A priority Critical patent/CN102946474B/en
Publication of CN102946474A publication Critical patent/CN102946474A/en
Application granted granted Critical
Publication of CN102946474B publication Critical patent/CN102946474B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

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

Abstract

The invention provides a method and a device for automatically sharing the contact information of contacts and a mobile terminal. The method comprises the following steps: the mobile terminal receives a short message from a sender; whether the short message contains sensitive words or not is judged, if yes, the sensitive words in the short message are marked, sentences to which the sensitive words belong are extracted, and the sentences and sentence patterns in a sentence pattern library are matched; when the extracted sentences and the sentence patterns in the sentence pattern library are matched, contacts in the sentences are acquired according to the contacts and the position information of the contacts in the sentence patterns; the contacts in the sentences are searched in an address list; and if the contacts in the sentences exist in the address list, the contact information corresponding to the contacts in the sentences are acquired, so that a user of the mobile terminal and the sender can share the contact information of the contacts in the sentences. According to the method provided by the embodiment of the invention, operation steps of the user are reduced and the interaction experience of the user is promoted.

Description

Automatically share method, device and the mobile terminal of contact person's contact details
Technical field
The present invention relates to mobile device manufacturing technology field, relate in particular to a kind of method, device and mobile terminal of the contact details of automatically sharing contact person.
Background technology
At present, the contact details of sharing contact person are for example when telephone number, after transmit leg sends inquiry note, first the user who receives note need to search contact person's contact details in local address list, then sends to the transmit leg of note by the form of text or electronic business card.The problem existing is to need the operations such as user searches, transmission, process complexity, poor user experience.
Summary of the invention
The present invention is intended at least one of solve the problems of the technologies described above.
For this reason, first object of the present invention is to propose a kind of method of the contact details of automatically sharing contact person, and the method can reduce user's operating procedure, promotes user's interactive experience.
Second object of the present invention is to propose a kind of device of the contact details of automatically sharing contact person.
The 3rd object of the present invention is to propose a kind of mobile terminal.
To achieve these goals, comprise the following steps according to the method for the contact details of automatically sharing contact person of first aspect present invention embodiment: a, mobile terminal receive the note of transmit leg; B, described mobile terminal judge in described note, whether to comprise sensitive word; C if, the described sensitive word in described note is carried out mark and extracts the statement under described sensitive word, and described statement is mated with the statement sentence pattern in statement sentence pattern storehouse, wherein, described statement sentence pattern at least comprises contact person and the described contact person positional information with respect to described sensitive word; D, when the statement sentence pattern in described statement and the described statement sentence pattern storehouse of extracting is while matching, obtain the contact person in described statement according to the positional information of contact person and contact person in described statement sentence pattern; E, in address list, search the contact person in described statement; And if while there is the contact person in described statement in the described address list of f, contact details corresponding to contact person of obtaining in described statement are shared the contact details of the contact person in described statement for the user of described mobile terminal with described transmit leg.
According to the method for the contact details of automatically sharing contact person of the embodiment of the present invention, by note being analyzed to the sharing of contact details that automatically completes contact person, make user without the contact details of manually searching the contact person that need to share from local address book, if particularly the contact person who inquires in certain note can identify this note in the time of address list storing contact information, user can be by being automatically sent to ISSUER by this contact person's contact details by any key in reading this note, reduce user's operating procedure, promote user's interactive experience.
To achieve these goals, comprise according to the device of the contact details of automatically sharing contact person of second aspect present invention embodiment: receiver module, for receiving the note of transmit leg; Judge module, for judging whether described note comprises sensitive word; Extraction module, in the time that described judge module judgement comprises sensitive word, carries out mark and extracts the statement under described sensitive word the described sensitive word in described note; Matching module, for described statement is mated with the statement sentence pattern in statement sentence pattern storehouse, wherein, described statement sentence pattern at least comprises contact person and the described contact person positional information with respect to described sensitive word; The first acquisition module, in the time that the statement sentence pattern in the described statement extracting and described statement sentence pattern storehouse matches, obtains the contact person in described statement according to the positional information of contact person and contact person in described statement sentence pattern; Search module, for search the contact person in described statement at address list; And second acquisition module, for in the time that described address list exists the contact person in described statement, contact details corresponding to contact person of obtaining in described statement are shared the contact details of the contact person in described statement for the user of described mobile terminal with described transmit leg.
According to the device of the contact details of automatically sharing contact person of the embodiment of the present invention, by note being analyzed to the sharing of contact details that automatically completes contact person, make user without the contact details of manually searching the contact person that need to share from local address book, if particularly the contact person who inquires in certain note can identify this note in the time of address list storing contact information, user can be by being automatically sent to ISSUER by this contact person's contact details by any key in reading this note, reduce user's operating procedure, promote user's interactive experience.
To achieve these goals, comprise the device of the contact details of automatically sharing contact person described in second aspect present invention embodiment according to the mobile terminal of third aspect present invention embodiment.
According to the mobile terminal of the embodiment of the present invention, can be by note being analyzed to the sharing of contact details that automatically completes contact person according to the device of the contact details of automatically sharing contact person, make user without the contact details of manually searching the contact person that need to share from local address book, if particularly the contact person who inquires in certain note can identify this note in the time of address list storing contact information, user can be by being automatically sent to ISSUER by this contact person's contact details by any key in reading this note, reduce user's operating procedure, promote user's interactive experience.
The aspect that the present invention is additional and advantage in the following description part provide, and part will become obviously from the following description, or recognize by practice of the present invention.
Brief description of the drawings
The present invention above-mentioned and/or additional aspect and advantage will become from the following description of the accompanying drawings of embodiments obviously and easily and understand, wherein,
Fig. 1 is the flow chart of automatically sharing according to an embodiment of the invention the method for contact person's contact details;
Fig. 2 is the flow chart of the method for the contact details of automatically sharing contact person of a specific embodiment according to the present invention;
Fig. 3 is the flow chart of the method for the contact details of automatically sharing contact person of another specific embodiment according to the present invention;
Fig. 4 is the structured flowchart of automatically sharing according to an embodiment of the invention the device of contact person's contact details;
Fig. 5 is the structured flowchart of the device of the contact details of automatically sharing contact person of a specific embodiment according to the present invention;
Fig. 6 is the structured flowchart of the pretreatment module of a specific embodiment according to the present invention; And
Fig. 7 is the structured flowchart of the device of the contact details of automatically sharing contact person of another specific embodiment according to the present invention.
Embodiment
Describe embodiments of the invention below in detail, the example of described embodiment is shown in the drawings, and wherein same or similar label represents same or similar element or has the element of identical or similar functions from start to finish.Be exemplary below by the embodiment being described with reference to the drawings, only for explaining the present invention, and can not be interpreted as limitation of the present invention.On the contrary, embodiments of the invention comprise all changes, amendment and the equivalent within the scope of spirit and the intension that falls into additional claims.
In description of the invention, it will be appreciated that, term " first ", " second " etc. are only for describing object, and can not be interpreted as instruction or hint relative importance.In description of the invention, it should be noted that, unless otherwise clearly defined and limited, term " is connected ", " connection " should be interpreted broadly, and for example, can be to be fixedly connected with, and can be also to removably connect, or connects integratedly; Can be mechanical connection, can be also electrical connection; Can be to be directly connected, also can indirectly be connected by intermediary.For the ordinary skill in the art, can concrete condition understand above-mentioned term concrete meaning in the present invention.In addition,, in description of the invention, except as otherwise noted, the implication of " multiple " is two or more.
Any process of otherwise describing in flow chart or at this or method are described and can be understood to, represent to comprise that one or more is for realizing module, fragment or the part of code of executable instruction of step of specific logical function or process, and the scope of the preferred embodiment of the present invention comprises other realization, wherein can be not according to order shown or that discuss, comprise according to related function by the mode of basic while or by contrary order, carry out function, this should be understood by embodiments of the invention person of ordinary skill in the field.
Describe according to method, device and the mobile terminal of the contact details of automatically sharing contact person of the embodiment of the present invention below with reference to accompanying drawing.
If user A wonders the contact method of user B, user A need to send note and inquire to user C, user C is after receiving inquiry note, by reading note, then in local address book, manually search the contact method of user B, again the contact method of user B is sent to user A by the form of note or electronic business card, this process is complicated and need the manual operation that user is a lot, for this reason, automatically a method of sharing contact person's contact details, comprises the following steps: a, mobile terminal receive the note of transmit leg; B, mobile terminal judge in note, whether to comprise sensitive word; C if, the sensitive word in note is carried out mark and extracts the statement under sensitive word, and statement is mated with the statement sentence pattern in statement sentence pattern storehouse, wherein, statement sentence pattern at least comprises contact person and the contact person positional information with respect to sensitive word; D, when the statement sentence pattern in statement and the statement sentence pattern storehouse of extracting is while matching, obtain the contact person in statement according to the positional information of contact person and contact person in statement sentence pattern; E, contact person in address list in search statement; And if while there is the contact person in statement in f address list, contact details corresponding to contact person of obtaining in statement are shared the contact details of the contact person in described statement with transmit leg for the user of mobile terminal.
Fig. 1 is the flow chart of automatically sharing according to an embodiment of the invention the method for contact person's contact details.
As shown in Figure 1, automatically share the method for contact person's contact details, comprise the steps.
Step S101, mobile terminal receives the note of transmit leg.
Step S102, mobile terminal judges in note, whether to comprise sensitive word.
Wherein, sensitive word can comprise phone, number, mobile phone, contact, telephone number, phone number, contact number, office, office telephone, house, Home Telephone and contact method etc.Particularly, first these sensitive words are represented with a regular expression, for example, (phone | mobile phone) [number] | contact method, then according to this matching regular expressions note to judge whether to comprise sensitive word.
Step S103, if so, the sensitive word in note is carried out mark and extracts the statement under sensitive word, and statement is mated with the statement sentence pattern in statement sentence pattern storehouse, wherein, statement sentence pattern at least comprises contact person and the contact person positional information with respect to sensitive word.
For example, all sensitive word unifications in note can be designated to KEY.Statement sentence pattern can be the similar statement sentence patterns such as " KEY that has NAME ", " KEY of NAME is how many ", " KEY of NAME is issued to me ", and statement sentence pattern storehouse can also be expanded according to actual conditions.
Wherein, if do not comprise sensitive word in note, this note, not for the note of inquiry contact details, exits analytic process.
Step S104, in the time that the statement sentence pattern in statement and the statement sentence pattern storehouse of extracting matches, obtains the contact person in statement according to the positional information of contact person and contact person in statement sentence pattern.
Wherein, the NAME in statement sentence pattern is contact person's placeholder, in the time that the statement sentence pattern in statement and the statement sentence pattern storehouse of extracting matches, according to the contact person in position acquisition note statement corresponding to NAME.For example, the statement of note is " having king five phone ", and the statement sentence pattern of coupling is " having the KEY of NAME ", and the contact people that can obtain in note statement according to position corresponding to NAME is king five.
Step S105, the contact person in address list in search statement.
Step S106, if while there is the contact person in statement in address list, contact details corresponding to contact person of obtaining in statement are shared the contact details of the contact person in described statement with transmit leg for the user of mobile terminal.
According to the method for the contact details of automatically sharing contact person of the embodiment of the present invention, by note being analyzed to the sharing of contact details that automatically completes contact person, make user without the contact details of manually searching the contact person that need to share from local address book, if particularly the contact person who inquires in certain note can identify this note in the time of address list storing contact information, user can be by being automatically sent to ISSUER by this contact person's contact details by any key in reading this note, reduce user's operating procedure, promote user's interactive experience.
In one embodiment of the invention, after step S101, can also comprise the following steps: mobile terminal carries out preliminary treatment to note.Wherein, first preliminary treatment can ignore stranger's note, too short note, English note or numeric messaging etc., can remove thus unnecessary note, raises the efficiency.
Fig. 2 is the flow chart of the method for the contact details of automatically sharing contact person of a specific embodiment according to the present invention, can recognize that by the embodiment shown in Fig. 2 one concrete is carried out preliminary treatment to note.
As shown in Figure 2, automatically share the method for contact person's contact details, comprise the steps.
Step S201, mobile terminal receives the note of transmit leg.
Step S202, the contact details of searching the transmit leg of note in address list.
Step S203, if there are the contact details of transmit leg in address list, judges whether the length of note exceedes preset length.For example, preset length can be 5 words.
Wherein, if there are not the contact details of transmit leg in address list, this note may, for harassing and wrecking short message, be ignored this note, exits analytic process.
Step S204, if the length of note exceedes preset length, divides statement cutting to note.
Wherein, if the length of note does not exceed preset length, this note is too short,, for the note of inquiry associated person information, does not exit analytic process.
Step S205, mobile terminal judges in note, whether to comprise sensitive word.
Wherein, sensitive word can comprise phone, number, mobile phone, contact, telephone number, phone number, contact number, office, office telephone, house, Home Telephone and contact method etc.Particularly, first these sensitive words are represented with a regular expression, for example, (phone | mobile phone) [number] | contact method, then according to this matching regular expressions note to judge whether to comprise sensitive word.
Step S206, if so, the sensitive word in note is carried out mark and extracts the statement under sensitive word, and statement is mated with the statement sentence pattern in statement sentence pattern storehouse, wherein, statement sentence pattern at least comprises contact person and the contact person positional information with respect to sensitive word.
For example, all sensitive word unifications in note can be designated to KEY.Statement sentence pattern can be the similar statement sentence patterns such as " KEY that has NAME ", " KEY of NAME is how many ", " KEY of NAME is issued to me ", and statement sentence pattern storehouse can also be expanded according to actual conditions.
Wherein, if do not comprise sensitive word in note, this note, not for the note of inquiry contact details, exits analytic process.
Step S207, in the time that the statement sentence pattern in statement and the statement sentence pattern storehouse of extracting matches, obtains the contact person in statement according to the positional information of contact person and contact person in statement sentence pattern.
Wherein, the NAME in statement sentence pattern is contact person's placeholder, in the time that the statement sentence pattern in statement and the statement sentence pattern storehouse of extracting matches, according to the contact person in position acquisition note statement corresponding to NAME.For example, the statement of note is " having king five phone ", and the statement sentence pattern of coupling is " having the KEY of NAME ", and the contact people that can obtain in note statement according to position corresponding to NAME is king.
Step S208, the contact person in address list in search statement.
Step S209, if while there is the contact person in statement in address list, contact details corresponding to contact person of obtaining in statement are shared the contact details of the contact person in described statement with transmit leg for the user of mobile terminal.
According to the method for the contact details of automatically sharing contact person of the embodiment of the present invention, can ignore stranger's note, too short note etc. by preliminary treatment.
Fig. 3 is the flow chart of the method for the contact details of automatically sharing contact person of another specific embodiment according to the present invention.
As shown in Figure 3, automatically share the method for contact person's contact details, comprise the steps.
Step S301, mobile terminal receives the note of transmit leg.
Step S302, the contact details of searching the transmit leg of note in address list.
Step S303, if there are the contact details of transmit leg in address list, judges whether the length of note exceedes preset length.For example, preset length can be 5 words.
Wherein, if there are not the contact details of transmit leg in address list, this note may, for harassing and wrecking short message, be ignored this note, exits analytic process.
Step S304, if the length of note exceedes preset length, divides statement cutting to note.
Wherein, if the length of note does not exceed preset length, this note is too short,, for the note of inquiry associated person information, does not exit analytic process.
Step S305, mobile terminal judges in note, whether to comprise sensitive word.
Wherein, sensitive word can comprise phone, number, mobile phone, contact, telephone number, phone number, contact number, office, office telephone, house, Home Telephone and contact method etc.Particularly, first these sensitive words are represented with a regular expression, for example, (phone | mobile phone) [number] | contact method, then according to this matching regular expressions note to judge whether to comprise sensitive word.
Step S306, if so, the sensitive word in note is carried out mark and extracts the statement under sensitive word, and statement is mated with the statement sentence pattern in statement sentence pattern storehouse, wherein, statement sentence pattern at least comprises contact person and the contact person positional information with respect to sensitive word.
For example, all sensitive word unifications in note can be designated to KEY.Statement sentence pattern can be the similar statement sentence patterns such as " KEY that has NAME ", " KEY of NAME is how many ", " KEY of NAME is issued to me ", and statement sentence pattern storehouse can also be expanded according to actual conditions.
Wherein, if do not comprise sensitive word in note, this note, not for the note of inquiry contact details, exits analytic process.
Step S307, in the time that the statement sentence pattern in statement and the statement sentence pattern storehouse of extracting matches, obtains the contact person in statement according to the positional information of contact person and contact person in statement sentence pattern.
Wherein, the NAME in statement sentence pattern is contact person's placeholder, in the time that the statement sentence pattern in statement and the statement sentence pattern storehouse of extracting matches, according to the contact person in position acquisition note statement corresponding to NAME.For example, the statement of note is " having king five phone ", and the statement sentence pattern of coupling is " having the KEY of NAME ", and the contact people that can obtain in note statement according to position corresponding to NAME is king.
Step S308, according to address list generic connection people dictionary.
Wherein, contact person's dictionary, with the data structure storage of word lookup tree, is convenient to search and store.In the time that address list is changed, upgrade contact person's dictionary, contact person's dictionary can be upgraded in time.
Step S309, the contact person in contact person's dictionary in search statement.
Step S310, if while there is the contact person in statement in contact person's dictionary, contact details corresponding to contact person of obtaining in statement are shared the contact details of the contact person in described statement with transmit leg for the user of mobile terminal.
In one embodiment of the invention, step S302, S303, S304 are optional.
According to the method for the contact details of automatically sharing contact person of the embodiment of the present invention, the contact person of the contact person's dictionary generating by address list in can rapidly matching sms content, raises the efficiency.
In order to realize above-described embodiment, the present invention also proposes a kind of device of the contact details of automatically sharing contact person.
Automatically a device of sharing contact person's contact details, comprising: receiver module, for receiving the note of transmit leg; Judge module, for judging whether note comprises sensitive word; Extraction module, in the time that judge module judgement comprises sensitive word, carries out mark and extracts the statement under sensitive word the sensitive word in note; Matching module, for statement is mated with the statement sentence pattern in statement sentence pattern storehouse, wherein, statement sentence pattern at least comprises contact person and the contact person positional information with respect to sensitive word; The first acquisition module, in the time that the statement sentence pattern in the statement extracting and statement sentence pattern storehouse matches, obtains the contact person in statement according to the positional information of contact person and contact person in statement sentence pattern; Search module, for the contact person in address list search statement; And second acquisition module, when there is the contact person in statement when address list, contact details corresponding to contact person of obtaining in statement are shared the contact details of the contact person in statement with transmit leg for the user of mobile terminal.
Fig. 4 is the structured flowchart of automatically sharing according to an embodiment of the invention the device of contact person's contact details.
As shown in Figure 4, the device of automatically sharing contact person's contact details comprises: receiver module 100, judge module 200, extraction module 300, matching module 400, the first acquisition module 500, search module 600 and the second acquisition module 700.
Particularly, receiver module 100 is for receiving the note of transmit leg.
Judge module 200 is for judging whether note comprises sensitive word, and wherein, sensitive word can comprise phone, number, mobile phone, contact, telephone number, phone number, contact number, office, office telephone, house, Home Telephone and contact method etc.More specifically, first judge module 200 represent these sensitive words with a regular expression, for example, (phone | mobile phone) [number] | contact method, then according to this matching regular expressions note to judge whether to comprise sensitive word.
Extraction module 300, in the time that judge module 200 judgements comprise sensitive word, carries out mark and extracts the statement under sensitive word the sensitive word in note.For example, extraction module 300 can be designated KEY by all sensitive word unifications in note, then extracts the affiliated statement of KEY.
Matching module 400 is for mating statement with the statement sentence pattern in statement sentence pattern storehouse, wherein, statement sentence pattern at least comprises contact person and the contact person positional information with respect to sensitive word.For example, statement sentence pattern can be the similar statement sentence patterns such as " KEY that has NAME ", " KEY of NAME is how many ", " KEY of NAME is issued to me ", and statement sentence pattern storehouse can also be expanded according to actual conditions.Do not comprise sensitive word if judge module 200 judges in note, this note, not for the note of inquiry contact details, exits analytic process.
The first acquisition module 500, in the time that the statement sentence pattern in the statement extracting and statement sentence pattern storehouse matches, obtains the contact person in statement according to the positional information of contact person and contact person in statement sentence pattern.Wherein, NAME in statement sentence pattern is contact person's placeholder, in the time that the statement sentence pattern in statement and the statement sentence pattern storehouse of extracting matches, the first acquisition module 500 is according to the contact person in position acquisition note statement corresponding to NAME, for example, the statement of note is " having king five phone ", and the statement sentence pattern of coupling is " having the KEY of NAME ", and the contact people that can obtain in note statement according to position corresponding to NAME is king five.
Search module 600 for the contact person in address list search statement.
When there is the contact person in statement when address list in the second acquisition module 700, contact details corresponding to contact person of obtaining in statement are shared the contact details of the contact person in statement with transmit leg for the user of mobile terminal.
According to the device of the contact details of automatically sharing contact person of the embodiment of the present invention, by note being analyzed to the sharing of contact details that automatically completes contact person, make user without the contact details of manually searching the contact person that need to share from local address book, if particularly the contact person who inquires in certain note can identify this note in the time of address list storing contact information, user can be by being automatically sent to ISSUER by this contact person's contact details by any key in reading this note, reduce user's operating procedure, promote user's interactive experience.
Fig. 5 is the structured flowchart of the device of the contact details of automatically sharing contact person of a specific embodiment according to the present invention.
As shown in Figure 5, on basis embodiment illustrated in fig. 4, the device of automatically sharing contact person's contact details also comprises: pretreatment module 800.
Particularly, pretreatment module 800 is for carrying out preliminary treatment to note.Wherein, can first ignore stranger's note, too short note, English note or numeric messaging etc. by pretreatment module 800 preliminary treatment, can remove thus unnecessary note, raise the efficiency.
Fig. 6 is the structured flowchart of the pretreatment module of a specific embodiment according to the present invention.
As shown in Figure 6, pretreatment module comprises: search unit 810, judging unit 820 and point statement cutter unit 830.
Particularly, search unit 810 for search the contact details of the transmit leg of described note at address list.
Judging unit 820 when there are the contact details of transmit leg when address list, judges whether the length of note exceedes preset length.For example, preset length can be 5 words.Wherein, search discovery while there are not the contact details of transmit leg if search unit 810 in address list, this note may, for harassing and wrecking short message, be ignored this note, exits analysis.
Divide statement cutter unit 830 in the time that described judging unit judges that the length of described note exceedes described preset length, divide statement cutting to described note.Wherein, if the length of note does not exceed preset length, this note is too short,, for the note of inquiry associated person information, does not exit analytic process.
According to the pretreatment module of the embodiment of the present invention, can ignore stranger's note, too short note etc.
Fig. 7 is the structured flowchart of the device of the contact details of automatically sharing contact person of another specific embodiment according to the present invention.
As shown in Figure 7, on basis embodiment illustrated in fig. 5, the device of automatically sharing contact person's contact details also comprises: generation module 900.
Generation module 900 is for according to address list generic connection people dictionary.Wherein, search module 600 also for searching the contact person in described statement at contact person's dictionary.Particularly, contact person's dictionary, with the data structure storage of word lookup tree, is convenient to search and store, and in the time that address list is changed, upgrades contact person's dictionary, and contact person's dictionary can be upgraded in time.
According to the device of the contact details of automatically sharing contact person of the embodiment of the present invention, the contact person of contact person's dictionary that generation module generates by address list in can rapidly matching sms content, raises the efficiency.
In order to realize above-described embodiment, the present invention also proposes a kind of mobile terminal.
A kind of mobile terminal comprises the device of the contact details of automatically sharing contact person described in any one embodiment of the present invention.
According to the mobile terminal of the embodiment of the present invention, can be by note being analyzed to the sharing of contact details that automatically completes contact person according to the device of the contact details of automatically sharing contact person, make user without the contact details of manually searching the contact person that need to share from local address book, if particularly the contact person who inquires in certain note can identify this note in the time of address list storing contact information, user can be by being automatically sent to ISSUER by this contact person's contact details by any key in reading this note, reduce user's operating procedure, promote user's interactive experience.
Should be appreciated that in an embodiment of the present invention, mobile terminal can be the hardware device that mobile phone, panel computer, personal digital assistant, e-book etc. have various operating systems.
Should be appreciated that each several part of the present invention can realize with hardware, software, firmware or their combination.In the above-described embodiment, multiple steps or method can realize with being stored in software or the firmware carried out in memory and by suitable instruction execution system.For example, if realized with hardware, the same in another embodiment, can realize by any one in following technology well known in the art or their combination: there is the discrete logic for data-signal being realized to the logic gates of logic function, there is the application-specific integrated circuit (ASIC) of suitable combinational logic gate circuit, programmable gate array (PGA), field programmable gate array (FPGA) etc.
In the description of this specification, the description of reference term " embodiment ", " some embodiment ", " example ", " concrete example " or " some examples " etc. means to be contained at least one embodiment of the present invention or example in conjunction with specific features, structure, material or the feature of this embodiment or example description.In this manual, the schematic statement of above-mentioned term is not necessarily referred to identical embodiment or example.And specific features, structure, material or the feature of description can be with suitable mode combination in any one or more embodiment or example.
Although illustrated and described embodiments of the invention, for the ordinary skill in the art, be appreciated that without departing from the principles and spirit of the present invention and can carry out multiple variation, amendment, replacement and modification to these embodiment, scope of the present invention is by claims and be equal to and limit.

Claims (13)

1. a method of automatically sharing contact person's contact details, is characterized in that, comprises the following steps:
A, mobile terminal receive the note of transmit leg;
B, described mobile terminal judge in described note, whether to comprise sensitive word;
C if, the described sensitive word in described note is carried out mark and extracts the statement under described sensitive word, and described statement is mated with the statement sentence pattern in statement sentence pattern storehouse, wherein, described statement sentence pattern at least comprises contact person and the described contact person positional information with respect to described sensitive word;
D, when the statement sentence pattern in described statement and the described statement sentence pattern storehouse of extracting is while matching, obtain the contact person in described statement according to the positional information of contact person and contact person in described statement sentence pattern;
E, in address list, search the contact person in described statement, wherein, described step e comprises the following steps:
According to described address list generic connection people dictionary;
In described contact person's dictionary, search the contact person in described statement; And
If while there is the contact person in described statement in the described address list of f, contact details corresponding to contact person of obtaining in described statement are shared the contact details of the contact person in described statement for the user of described mobile terminal with described transmit leg.
2. method according to claim 1, is characterized in that, further comprising the steps of after described step a:
Described mobile terminal carries out preliminary treatment to described note.
3. method according to claim 2, is characterized in that, described mobile terminal carries out preliminary treatment to described note, further comprising the steps:
In address list, search the contact details of the transmit leg of described note;
If there are the contact details of described transmit leg in described address list, judge whether the length of described note exceedes preset length; And
If the length of described note exceedes described preset length, divide statement cutting to described note.
4. method according to claim 1, is characterized in that, described sensitive word comprises phone, number, mobile phone, contact, telephone number, phone number, contact number, office, office telephone, house, Home Telephone and contact method.
5. method according to claim 1, is characterized in that, in the time of described address list change, upgrades described contact person's dictionary.
6. method according to claim 1, is characterized in that, described contact person's dictionary is with the data structure storage of word lookup tree.
7. a device of automatically sharing contact person's contact details, is characterized in that, comprising:
Receiver module, for receiving the note of transmit leg;
Judge module, for judging whether described note comprises sensitive word;
Extraction module, in the time that described judge module judgement comprises sensitive word, carries out mark and extracts the statement under described sensitive word the described sensitive word in described note;
Matching module, for described statement is mated with the statement sentence pattern in statement sentence pattern storehouse, wherein, described statement sentence pattern at least comprises contact person and the described contact person positional information with respect to described sensitive word;
The first acquisition module, in the time that the statement sentence pattern in the described statement extracting and described statement sentence pattern storehouse matches, obtains the contact person in described statement according to the positional information of contact person and contact person in described statement sentence pattern;
Search module, for search the contact person in described statement at address list;
Generation module, for according to described address list generic connection people dictionary, the wherein said module of searching is also for searching the contact person in described statement at described contact person's dictionary; And
The second acquisition module, in the time that described address list exists the contact person in described statement, contact details corresponding to contact person of obtaining in described statement are shared the contact details of the contact person in described statement for the user of mobile terminal with described transmit leg.
8. device according to claim 7, is characterized in that, also comprises:
Pretreatment module, for carrying out preliminary treatment to described note.
9. device according to claim 8, is characterized in that, described pretreatment module specifically comprises:
Search unit, for search the contact details of the transmit leg of described note at address list;
Judging unit, in the time that described address list exists the contact details of described transmit leg, judges whether the length of described note exceedes preset length; And
Divide statement cutter unit, in the time that described judging unit judges that the length of described note exceedes described preset length, divide statement cutting to described note.
10. device according to claim 7, is characterized in that, described sensitive word comprises phone, number, mobile phone, contact, telephone number, phone number, contact number, office, office telephone, house, Home Telephone and contact method.
11. devices according to claim 7, is characterized in that, in the time of described address list change, upgrade described contact person's dictionary.
12. devices according to claim 7, is characterized in that, described contact person's dictionary is with the data structure storage of word lookup tree.
13. 1 kinds of mobile terminals, is characterized in that, comprise the device of the contact details of automatically sharing contact person described in claim 7-12 any one.
CN201210419442.0A 2012-10-26 2012-10-26 Method and device for automatically sharing contact information of contacts and mobile terminal Active CN102946474B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210419442.0A CN102946474B (en) 2012-10-26 2012-10-26 Method and device for automatically sharing contact information of contacts and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210419442.0A CN102946474B (en) 2012-10-26 2012-10-26 Method and device for automatically sharing contact information of contacts and mobile terminal

Publications (2)

Publication Number Publication Date
CN102946474A CN102946474A (en) 2013-02-27
CN102946474B true CN102946474B (en) 2014-11-05

Family

ID=47729379

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210419442.0A Active CN102946474B (en) 2012-10-26 2012-10-26 Method and device for automatically sharing contact information of contacts and mobile terminal

Country Status (1)

Country Link
CN (1) CN102946474B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104079695A (en) * 2013-03-29 2014-10-01 深圳市同洲电子股份有限公司 Method and device for sharing information of contact persons and mobile terminal
CN105022963A (en) * 2014-04-23 2015-11-04 宇龙计算机通信科技(深圳)有限公司 Document storage method, system and mobile terminal
CN105323357A (en) * 2014-05-28 2016-02-10 中国电信股份有限公司 Method and device for realizing hyperlink of content in text information
CN105491237A (en) * 2015-12-09 2016-04-13 深圳市金立通信设备有限公司 Contact information display method and terminal
CN105635444A (en) * 2015-12-22 2016-06-01 深圳市金立通信设备有限公司 Contact person information sharing method and terminal
CN105897995B (en) * 2016-05-31 2019-02-15 努比亚技术有限公司 A kind of method and apparatus for adding contact information
CN106603395A (en) * 2017-02-27 2017-04-26 努比亚技术有限公司 Method, system and apparatus for obtaining contact information of friends

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100512556C (en) * 2007-03-01 2009-07-08 华为技术有限公司 Method and communication terminal for processing short message
US20090234655A1 (en) * 2008-03-13 2009-09-17 Jason Kwon Mobile electronic device with active speech recognition
CN101702837A (en) * 2009-11-18 2010-05-05 中兴通讯股份有限公司 Message book sharing method and device
CN101931701A (en) * 2010-08-25 2010-12-29 宇龙计算机通信科技(深圳)有限公司 Method, system and mobile terminal for prompting contact information in communication process
CN102497391B (en) * 2011-11-21 2016-03-09 宇龙计算机通信科技(深圳)有限公司 Server and reminding method

Also Published As

Publication number Publication date
CN102946474A (en) 2013-02-27

Similar Documents

Publication Publication Date Title
CN102946474B (en) Method and device for automatically sharing contact information of contacts and mobile terminal
CN103200550B (en) Mobile terminal and the method answered short message automatically thereof
US11275728B2 (en) Processing method and device of the user input information
CN103037072A (en) Implementation method of extracting short message contents to apply to scene
CN104915086A (en) Reminder generating method and a mobile electronic device
CN103295123A (en) Email mailbox management
CN111490927B (en) Method, device and equipment for displaying message
CN100472523C (en) Synchronizing server and device data using device data schema
CN104079696A (en) Contact name card generation method and device
WO2013166897A1 (en) Method, client, server and system for intelligent recognizing contents of short message
CN103281798A (en) Method, device and system for achieving modification synchronization
US20120072838A1 (en) Method and apparatus for phrase replacement
CN109543014B (en) Man-machine conversation method, device, terminal and server
CN104486748A (en) Contact number updating method and mobile terminal
CN101184123B (en) Method for obtaining linkman information in address list, system and communication terminal
CN103906012A (en) Information sending method and device
CN103151044A (en) Language transformation method and system based on voice recognition
CN104933340A (en) Message sending method and mobile terminal
US20100149190A1 (en) Method, apparatus and computer program product for providing an input order independent character input mechanism
CN101950233A (en) Be used to eliminate the system and method for stroke input ambiguity
CN103559242A (en) Method for achieving voice input of information and terminal device
CN102572113A (en) System and method for extracting contact person information from texts to operate mobile phone
CN102999639A (en) Speech recognition character index based method and system for searching
CN112445346A (en) Information input method, device, equipment and storage medium
CN103543905A (en) Method and device for controlling interface of terminal through voice

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