CN101075308A - Method for editing e-mail - Google Patents

Method for editing e-mail Download PDF

Info

Publication number
CN101075308A
CN101075308A CNA200610138618XA CN200610138618A CN101075308A CN 101075308 A CN101075308 A CN 101075308A CN A200610138618X A CNA200610138618X A CN A200610138618XA CN 200610138618 A CN200610138618 A CN 200610138618A CN 101075308 A CN101075308 A CN 101075308A
Authority
CN
China
Prior art keywords
word
storehouse
popular
record
server
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
CNA200610138618XA
Other languages
Chinese (zh)
Other versions
CN101075308B (en
Inventor
王沧
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN200610138618XA priority Critical patent/CN101075308B/en
Publication of CN101075308A publication Critical patent/CN101075308A/en
Application granted granted Critical
Publication of CN101075308B publication Critical patent/CN101075308B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

A method for editing E-mail includes setting hot terms bank used for storing terms record at client end in advance, receiving information inputted from client end and making word-dividing treatment on inputted information to obtain current terms when E-mail is edited, querying terms record in hot terms bank by client end through obtained current terms and confirming search key word according to queried result, starting up search engine by client end according to search key word for obtaining search result and presenting searched result to user.

Description

A kind of method of editing e-mail
Technical field
The present invention relates to e-mail technique, particularly relate to a kind of method of editing e-mail.
Background technology
Email is a kind of communication modes commonly used, that is: client is edited Mail Contents earlier, generates an envelope Email, Email is sent by server again.
In editor's process, the user may need to inquire about the information relevant with Mail Contents, and the information that inquires is embedded in the mail, presents to the user of purpose client in the lump, and information described here may be news, picture, music etc.
In this case, the user of source client need start search engine, imports key word search again, could obtain relevant information.If the number of times that the user need search for is many, so, in the process of editing e-mail, the user will constantly be switched between Email and search engine back and forth, and user experience is bad.
Summary of the invention
In view of this, fundamental purpose of the present invention is to provide a kind of method of editing e-mail, can obtain Search Results in the process of editor's Mail Contents automatically.
In order to achieve the above object, the technical scheme of the present invention's proposition is:
A kind of method of editing e-mail, the popular word storehouse that is provided for preserving the word record in advance in client, this method is:
A, client receive input information, and input information is carried out word segmentation processing, obtain current word;
Word record in the described popular word storehouse inquired about in the current word that b, client utilization obtain, and determines search key according to Query Result;
C, client start search engine according to search key, obtain Search Results and present to the user.
In the such scheme, described word record comprises word and access times, and described step b is specially:
Described popular word storehouse inquired about in the current word that the client utilization obtains, judge whether to exist word with described current word match, if exist, then the access times with word correspondence described in the popular word storehouse add 1, and with the described word in popular word storehouse as search key; Otherwise, in popular word storehouse, increase a new word record, current word is kept in the word record that increases newly, the access times of correspondence are set to 1, and with current word as search key.
In the such scheme, describedly judge that whether the word in the described popular word storehouse with the method for current word match is:
X1, with access times are the highest in the popular word storehouse word as the coupling word;
The matching algorithm that x2, basis set in advance calculates current word and the similarity of mating word, if the similarity that calculates, then is judged as described coupling word and current word match more than or equal to the similarity that sets in advance; Otherwise the word that the access times that do not mate are the highest returns this step again and carries out as the coupling word, all words in having mated popular word storehouse, and be judged as the word that does not exist with current word match.
In the such scheme, if there are a plurality of clients to link to each other with server, then upload the time in popular word storehouse in advance in each client setting, when arriving described time of uploading popular word storehouse, this method further comprises:
Each client is uploaded to server with the popular word storehouse of self, and server upgrades total word storehouse of self preserving according to all popular word storehouses of uploading; Screen word record in total word storehouse according to the access times threshold value that sets in advance again, the word that filters out is noted issued each client; Client is upgraded self popular word storehouse according to the word record from server again.
In the such scheme, the method in the total word of described server update self storehouse is:
If there is not the word in the received popular word storehouse in total word storehouse of server, then server increases a word record newly in self total word storehouse, described word is kept in the word record that increases newly, and corresponding access times are set are: the access times mean value of word correspondence described in the word storehouse that all are popular;
If there is the word in the received popular word storehouse in total word storehouse of server, then server directly is updated to the corresponding number of times of word described in self total word storehouse: the access times mean value of word correspondence described in the word storehouse that all are popular.
In the such scheme, the method in described client renewal self popular word storehouse is:
Client judges whether self popular word storehouse exists the word record that issues from server, if exist, then the access times in self word record is updated to the access times of the word record that server issues; Otherwise the word recorded and stored that server is issued is in self popular word storehouse.
In the such scheme, if described current word is Chinese word, then the method for described word segmentation processing is: forward smallest match method or forward maximum matching method.
In sum, the method of a kind of editing e-mail that the present invention proposes, input information can be carried out word segmentation processing, obtain current word, inquire about the popular word storehouse that sets in advance according to current word again, determine search key, start search engine according to search key then, obtain Search Results and present to the user.Like this, can in user's input information, the information relevant with current word be presented to the user, avoid the complicated processes between Email and search engine, switched, greatly strengthen the user experience effect.
Description of drawings
Fig. 1 is a process flow diagram of the present invention;
Fig. 2 is a process flow diagram of using the present invention program's embodiment.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, the present invention is described in further detail below in conjunction with the accompanying drawings and the specific embodiments.
The present invention is provided for preserving the popular word storehouse of word record in advance in client.Fig. 1 is the present invention program's a process flow diagram.As shown in Figure 1, the present invention realizes that mail editor's method may further comprise the steps:
Step 101: client receives input information, and input information is carried out word segmentation processing, obtains current word;
Step 102: word record in the described popular word storehouse inquired about in the current word that the client utilization obtains, and determines search key according to Query Result;
In this step, client determines that the concrete grammar of search key is:
Described popular word storehouse inquired about in the current word that the client utilization obtains, judge whether to exist word with described current word match, if exist, then the access times with word correspondence described in the popular word storehouse add 1, and with the described word in popular word storehouse as search key; Otherwise, in popular word storehouse, increase a new word record, current word is kept in the word record that increases newly, the access times of correspondence are set to 1, and with current word as search key.
Certainly, in the practical application, can also there be other to determine the method for search key, such as: " picture " this additional word is set in popular word storehouse word record in advance, if current word and this word record coupling then can be with current word and described additional word in the lump as search key.
In determining the process of search key, the popular word of client query storehouse judges whether to exist the method with the word of current word match to be:
X1, with access times are the highest in the popular word storehouse word as the coupling word;
The matching algorithm that x2, basis set in advance calculates current word and the similarity of mating word, if the similarity that calculates, then is judged as described coupling word and current word match more than or equal to the similarity that sets in advance; Otherwise the word that the access times that do not mate are the highest returns this step again and carries out as the coupling word, all words in having mated popular word storehouse, and be judged as the word that does not exist with current word match.
That is to say, the present invention adopts and is up to mating smoothly of the minimum word of access times from access times, its reason is: if the access times of certain word are high more in the popular word storehouse, it is high more to be that the user edits the frequency of this word, so, the probability of the word match that the current word of user's input and access times are high is also just big more.So, generally speaking, adopt with such an order and can determine search key apace.
In addition, the method that the word in current word and the popular word storehouse is mated is to adopt the method for fuzzy matching, promptly when similarity arrives the similarity that sets in advance, just can think that the match is successful.Such as: current word is " Chinese ", and certain word in the popular word storehouse is " Chinese people ", and the similarity that calculates is 0.75, and the similarity that sets in advance is 0.5.So, client will be judged as word in current word and the popular word storehouse to coupling, and with " Chinese people " as search key.
The similarity that sets in advance described here can determine that voluntarily be generally the value between 0~1, described matching algorithm then can adopt existing techniques in realizing, repeats no more herein by the user.
Step 103: client starts search engine according to search key, obtains Search Results and presents to the user.
The described search engine of this step can utilize prior art to realize, such as: Baidu's search engine, google search engine etc.
The present invention program be described in detail below with embodiment in order to illustrate better.
In the present embodiment, client sets in advance the popular word storehouse that a user preserves word record, its word record format as shown in Table 1:
Word Access times
Chinese people 10
Table one
Fig. 2 is the process flow diagram of present embodiment.As shown in Figure 2, present embodiment may further comprise the steps:
Step 201: client receives input information;
The described input information of this step refers to from the input information of input equipments such as keyboard acquisition.
Step 202: according to maximum matching method input information is carried out word segmentation processing, obtain current word;
If input information is Chinese word, then can adopt forward maximum matching method or smallest match method to carry out word segmentation processing; If input information is for to wait other word as English, at this moment, client can uniformly-spaced accord with according to the space between the English word carries out word segmentation processing.
Step 203: with access times are the highest in the popular word storehouse word as the coupling word;
Step 204:, calculate current word and the similarity of mating word according to the matching algorithm that sets in advance;
Step 205: whether judge the similarity that calculates more than or equal to the similarity that sets in advance, if, then described coupling word and current word match, and execution in step 207; Otherwise, execution in step 206;
Step 206~step 207: judge whether to have mated all words in the popular word storehouse,, do not have the word with current word match in the promptly popular word storehouse, execution in step 209 if mated; Otherwise the word that the access times that do not mate are the highest returns step 204 again as the coupling word;
Step 208: the access times of described coupling word correspondence are added 1, and as search key, execution in step 210 again;
Step 209: increase a new word record in popular word storehouse, current word is kept in the word record that increases newly, the access times of correspondence are set to 1, and with current word as search key;
Step 210: client starts search engine according to search key, obtains Search Results and presents to the user.
In the practical application, the server that handles postal matter may link to each other with a plurality of clients, and all there is the popular word storehouse of self in each client, has total word storehouse in the server, can exchange the word in self popular word storehouse between the client.
In this case, in order to carry out unified management in the popular word storehouse to a plurality of clients, can upload the time in popular word storehouse in advance in each client setting.When arriving the described time of uploading popular word storehouse, each client is uploaded to server with the popular word storehouse of self, and server upgrades total word storehouse of self preserving according to all popular word storehouses of uploading; Screen word record in total word storehouse according to the access times threshold value that sets in advance again, the word that filters out is noted issued each client; Client is upgraded self popular word storehouse according to the word record from server again.
The method in the total word of server update described here self storehouse is:
If there is not the word in the received popular word storehouse in total word storehouse of server, then server increases a word record newly in self total word storehouse, described word is kept in the word record that increases newly, and corresponding access times are set are: the access times mean value of word correspondence described in the word storehouse that all are popular.Such as: there are three clients to link to each other with server, wherein all comprise " China " this word, access times are respectively 8,9,10, and do not comprise " China " word in the server, then server will increase a new word record, " China " is preserved, and access times are set is mean value 9.
If there is the word in the received popular word storehouse in total word storehouse of server, then server directly is updated to the corresponding number of times of word described in self total word storehouse: the access times mean value of word correspondence described in the word storehouse that all are popular.
Correspondingly, the method in client renewal self popular word storehouse is:
Client judges whether self popular word storehouse exists the word record that issues from server, if exist, then the access times in self word record is updated to the access times of the word record that server issues; Otherwise the word recorded and stored that server is issued is in self popular word storehouse.
Use the present invention program, the user can start search engine in editor's mail, obtain Search Results, can avoid switching back and forth between mail editor and search engine, thereby strengthen user's experience effect.
In sum, more than be preferred embodiment of the present invention only, be not to be used to limit protection scope of the present invention.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (7)

1, a kind of method of editing e-mail is characterized in that, is provided for preserving the popular word storehouse of word record in advance in client, and this method is:
A, client receive input information, and input information is carried out word segmentation processing, obtain current word;
Word record in the described popular word storehouse inquired about in the current word that b, client utilization obtain, and determines search key according to Query Result;
C, client start search engine according to search key, obtain Search Results and present to the user.
2, method according to claim 1 is characterized in that, described word record comprises word and access times thereof, and described step b is specially:
Described popular word storehouse inquired about in the current word that the client utilization obtains, judge whether to exist word with described current word match, if exist, then the access times with word correspondence described in the popular word storehouse add 1, and with the described word in popular word storehouse as search key; Otherwise, in popular word storehouse, increase a new word record, current word is kept in the word record that increases newly, the access times of correspondence are set to 1, and with current word as search key.
3, method according to claim 2 is characterized in that, judges that whether the word in the described popular word storehouse with the method for current word match is:
X1, with access times are the highest in the popular word storehouse word as the coupling word;
The matching algorithm that x2, basis set in advance calculates current word and the similarity of mating word, if the similarity that calculates, then is judged as described coupling word and current word match more than or equal to the similarity that sets in advance; Otherwise the word that the access times that do not mate are the highest returns this step again and carries out as the coupling word, all words in having mated popular word storehouse, and be judged as the word that does not exist with current word match.
4, according to each described method of claim 1 to 3, it is characterized in that,, then upload the time in popular word storehouse in advance in each client setting if there are a plurality of clients to link to each other with server, when arriving described time of uploading popular word storehouse, this method further comprises:
Each client is uploaded to server with the popular word storehouse of self, and server upgrades total word storehouse of self preserving according to all popular word storehouses of uploading; Screen word record in total word storehouse according to the access times threshold value that sets in advance again, the word that filters out is noted issued each client; Client is upgraded self popular word storehouse according to the word record from server again.
5, method according to claim 4 is characterized in that, the method in the total word of described server update self storehouse is:
If there is not the word in the received popular word storehouse in total word storehouse of server, then server increases a word record newly in self total word storehouse, described word is kept in the word record that increases newly, and corresponding access times are set are: the access times mean value of word correspondence described in the word storehouse that all are popular;
If there is the word in the received popular word storehouse in total word storehouse of server, then server directly is updated to the corresponding number of times of word described in self total word storehouse: the access times mean value of word correspondence described in the word storehouse that all are popular.
6, method according to claim 4 is characterized in that, the method in described client renewal self popular word storehouse is:
Client judges whether self popular word storehouse exists the word record that issues from server, if exist, then the access times in self word record is updated to the access times of the word record that server issues; Otherwise the word recorded and stored that server is issued is in self popular word storehouse.
According to each described method of claim 1 to 3, it is characterized in that 7, if described current word is Chinese word, then the method for described word segmentation processing is: forward smallest match method or forward maximum matching method.
CN200610138618XA 2006-11-08 2006-11-08 Method for editing e-mail Active CN101075308B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200610138618XA CN101075308B (en) 2006-11-08 2006-11-08 Method for editing e-mail

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200610138618XA CN101075308B (en) 2006-11-08 2006-11-08 Method for editing e-mail

Publications (2)

Publication Number Publication Date
CN101075308A true CN101075308A (en) 2007-11-21
CN101075308B CN101075308B (en) 2010-12-15

Family

ID=38976351

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200610138618XA Active CN101075308B (en) 2006-11-08 2006-11-08 Method for editing e-mail

Country Status (1)

Country Link
CN (1) CN101075308B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009003328A1 (en) * 2007-06-29 2009-01-08 Zte Corporation Data query system and method
CN102222074A (en) * 2010-04-16 2011-10-19 腾讯科技(深圳)有限公司 Method and device for online lyrics data matching and background data device
CN102891874A (en) * 2011-07-21 2013-01-23 腾讯科技(深圳)有限公司 Method, device and system for providing search prompt message based on conversation
CN106488310A (en) * 2015-08-31 2017-03-08 晨星半导体股份有限公司 TV programme wisdom player method and its control device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6167370A (en) * 1998-09-09 2000-12-26 Invention Machine Corporation Document semantic analysis/selection with knowledge creativity capability utilizing subject-action-object (SAO) structures
JP2005285038A (en) * 2004-03-31 2005-10-13 Nec Corp Cellphone, message production method therefor and program

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009003328A1 (en) * 2007-06-29 2009-01-08 Zte Corporation Data query system and method
CN102222074A (en) * 2010-04-16 2011-10-19 腾讯科技(深圳)有限公司 Method and device for online lyrics data matching and background data device
CN102891874A (en) * 2011-07-21 2013-01-23 腾讯科技(深圳)有限公司 Method, device and system for providing search prompt message based on conversation
CN106488310A (en) * 2015-08-31 2017-03-08 晨星半导体股份有限公司 TV programme wisdom player method and its control device

Also Published As

Publication number Publication date
CN101075308B (en) 2010-12-15

Similar Documents

Publication Publication Date Title
CN101064630A (en) Data synchronization method and system
CN1852309A (en) Data synchronizing processing method and its client end
CN101064730A (en) Local and remote backup method for computer network data file
CN101030157A (en) Method and system for updating user vocabulary synchronouslly
CN1852137A (en) Method for realizing synchronization of client end data and server end data
CN1852261A (en) Method for maintenance of neighbor entry
CN1928850A (en) Method and apparatus for compressing data based on digital dictionary picture-representing data
CN101056280A (en) An upgrade management method and system for instant message client
CN1831825A (en) Document management method and apparatus and document search method and apparatus
CN101075308A (en) Method for editing e-mail
CN101075239A (en) Composite searching method and system
CN1825321A (en) Searching method, holding method and searching system for dictionary-like data
CN1308840C (en) Method for acquisition of data in hard disk
CN1547397A (en) A single board version management method for plug and play
CN101063970A (en) Audio file management method based on audio feature code recognizing technology and system thereof
CN101051990A (en) Medium type matching method and system based on downloading service
CN1747390A (en) Method and system for processing real-time multi-media information in instant telecommunication
CN1825306A (en) XML data storage and access method based on relational database
CN1859208A (en) Method and system for managing TCAM route list
CN1960277A (en) Method for managing linkman at client end, and client end
CN101059802A (en) Method and system for calculating data flow maximum value and minimum value under sliding window
CN101030230A (en) Image searching method and system
CN1308852C (en) Data transmission method, computer-readable medium, and data transmission apparatus
CN1492359A (en) Automatic state machine searching and matching method of multiple key words
CN1243431C (en) Analysis of universal route platform command lines

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