Summary of the invention
The technical problem to be solved in the present invention provides multiple classification of mail function system and the method in a kind of set-top box, and the function that can provide many mailboxes mail to collect and classify is provided convenience to the user, to improve the satisfaction of user to business.
For solving the problems of the technologies described above, embodiments of the invention provide following technical scheme to realize:
The invention provides a kind of and multiple classification of mail function system associated with set-top box, comprising:
Binding module is used for a plurality of mailbox mails are focused on the mailbox that set-top box carries by binding;
Lexical Analysis Module is used for according to pattern the mail that receives being carried out morphological analysis;
Filtering module is used for mail is filtered, the mail after screening obtains filtering;
Characteristic extracting module is used for filtering module screening mail is later carried out feature extraction, and the pattern that extracts is deposited into Lexical Analysis Module again.
Wherein, the mail that obtains of described filtering module screening comprises and is judged as correct mail and is judged as wrong mail.
Wherein, described binding module comprises the unit is set, and is used to be provided with parameter, and the mail that will collect is collected in the mailbox that set-top box carries.
Wherein, also comprise sort module, be used to adopt classified information that function is set, the parameter of the specific name and the keyword that comprise mail is set, realize classification by the parameter that is provided with.
Wherein, also comprise the layout setting module, be used to be provided with the guiding interface, the guiding user is provided with according to the guiding interface.
The present invention also provides a kind of and multiple process for sorting mailings associated with set-top box, comprising:
Output category information setting interface receives the classified information of user according to the input of described interface, and described classified information comprises the noun and the keyword of classification;
Adopt bayes classification method, and, mail is classified according to the classified information that the user is provided with;
Show classification results to the user.
Wherein, this method also is included in after the user shows classification results, mail is handled according to user's identifying operation again.
Technique scheme is as can be seen:
Because the embodiment of the invention adopts concentrated being tied in the mailbox and to mail of a plurality of mails classified, therefore, can make the user convenient to the processing of mail when using set-top-box system, increase customer satisfaction degree.In addition, also improve the guiding interface, can make that also the flexibility of set-top box software and practicality are stronger so that the user uses more conveniently.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making all other embodiment that obtained under the creative work prerequisite.
The embodiment of the invention provides a kind of a plurality of mailbox mails is focused on the system in the mailbox that set-top box carries and a kind of sorting technique is provided by binding, can make things convenient for the user to handle postal matter.
Below the inventive method is elaborated respectively:
A lot of free email boxes has all been realized the filtering classification function now, that is to say by in the designated directory of setting, can allow the mail automatic clustering of receiving.This technology can realize in client, also can realize at server end.
Realization in client is fairly simple, and is just passable as long as client software is classified when collecting mail, but a defective is arranged, and exactly when the user has changed client, the classification of mail has not just had entirely.No matter realization at server end is more loaded down with trivial details a little, but where, uses what client, the mail that can both obtain classifying, and shortcoming is also apparent, and this part work is brought in by server and is done, and has increased the weight of load of server.
But user for set-top box, server can carry out a large amount of file process, so be applicable to server and bring in collection and the classification that handles postal matter, in view of set-top-box system has the advantages that software system function is write businessization, can help the step of all mailbox mail centralized collection of the foolproof setting of user oneself by the interface of writing the software systems easy operating, the classification of mail application program that can call the personalize development that can supply user's setting is then finished the classification of mail.Each present just big mailbox of the characteristics of assignment procedure software that this is personalized for the user develops and classification of mail definition is not realized.
Fig. 1 is the application structure schematic diagram of system of the present invention.As shown in Figure 1, system comprises set-top box, television set, switch and Web server.
Referring to Fig. 2, be the flow chart of the embodiment of the invention one.
As shown in Figure 2, mainly comprise: user interface, business description and service logic realize part.
After the user enters set-top box interface, can with function hypothesis have N, wherein some function of browse can be browsed information such as news, mail, product, the user will check the collection of all mails in the function of browse porch, need set all parameters by user's inlet porting, the mail that could will collect is collected in some specific mailbox, and the setting of this mailbox is specified in the individual information customization function by the user.In addition, if the user will classify to mail, just function is set and sets parameters such as the specific name of mail and keyword with classified information.
The business description part comprises for example information browse, online ordering, mail collection etc.Comprise in the information browse: directory management, for example Directory of Features, goods catalogue, trade mark catalogue, sales field catalogue etc.; Online ordering comprises: order management, for example exchange hour, authentication id, businessman's affirmation, payment management etc.; Mail is collected and comprised: mail management, for example interface, agreement setting, classification demonstration etc. are selected, helped to mailbox.
With concrete example whole process is described below.
For example, the user will open mails all in the mailbox in the Foxmail mailbox, so, be introduced into and welcome the interface, arrive inlet porting then, enter in the customized information customization function, then under the pop-up window prompting of systems soft ware helps, insert the information that each step of the address of all mailboxes that oneself will collect mail and agreement setting will be filled out, carry out the setting in each step then according to the guiding of pop-up window.
Because a lot of set-top box users are familiar with computers knowledge not, so close friend at interface and personalized extremely important, and the customized information customization function of adding is to add in the set-top box software compiling procedure, the friendly interface degree and the professional satisfaction of software systems be can improve like this, the flexibility of set-top box software and practical characteristics also given prominence to.
Illustrating the mail that how to be arranged so that numerous mailboxes below all focuses in the mailbox.
At first introduce an attainable case,, carry out the concentrated example that is set to of mail then to realize login feature with the XMPP agreement.
The predecessor of XMPP agreement is the Jabber agreement, and the full name of XMPP is extendible message and presence information agreement (Extensible Messaging and Presence Protocol).XMPP not only has the function that general instant messaging agreement is had, and it also allows same account number to land simultaneously at different location/equipment, most characteristic certainly still its opening.The opening of agreement makes people realize on various device easily.The account of XMPP agreement is such form: example@domain/resouce because historical reasons are called as JID.Server is to distinguish the same account that lands many places like this: the resouce of the account's who lands in different places JID partly is different, the resouce part can be in landfall process and server negotiate determine.
The landfall process of XMPP:
A mailbox account can be a MSN account, is the landfall process that example is introduced with the server that lands MSN below.
1) according to account's domain name part gmail.com, uses domain name service query, the address that obtains the XMPP server;
2) connect the XMPP server, send initialization request, server acknowledge;
3) security mechanism and the server that obtains the server support set up secure transport layers;
4) authentication mechanism that obtains and select a kind of server to support is to server authentication client account number;
5) and the hold consultation resouce part of JID of server;
6) session of foundation and server.
After successfully landing, the client that realizes on set-top box can intercom mutually, also can with the various client communications (MSN, Google Talk, Pidgin, LinQ etc.) on the PC.
Logging on communication is the first step, and mailing system is divided into server and client side's two parts.Server can use the online various mail servers at Internet, for example, and the mail server of portal websites such as Sina, Sohu.Client need realize that then its basic demand is a smtp protocol and the POP3 agreement that is used to receive mail of realizing being used to send mail, should realize the support of centering English copy text and many annexes at the set-top box end.The network mail system is as the basic components of two-way services, can be used as the user and upload the important channel of data, can be used for sending user's service request, upload in the annex mode and download multi-medium data and share resource, even use during annex ROMPaq etc. uses with text text form.The POP3 agreement that smtp protocol and being used to receives mail all is disclosed, so mainly be to set this two agreements in setting up procedure.
The mail server that will visit for example is set in gmail, suppose that the mail server that will visit is 163 mailboxes, be exactly pop.163.com and smtp.163.com, the gmail server can go to inquire about on 163 the mail server at set intervals then, if in 163 mailboxes new mail is arranged, new mail is just downloaded to the gmail mail server automatically.The principle of posting a letter is also similar, can connect smtp.163.com earlier and send mail then on 163.Each step that whole process will be provided with can realize by help information or pop-up window in set-top box interface.
If the user will be provided with the classification of mail, can enter classified information the interface is set from the interface to inlet porting so.Clicking corresponding button when classification is set just has corresponding application software window to eject, the prompting user is provided with the noun and the keyword of classification, come mail is classified with bayes classification method then, show that at last the result of a good class of branch checks to the user.The user can identify spam and valuable mail, and valuable mail has important and inessential branch, difference according to the sender, with sender's name is that the grade that keyword is provided with mail is checked mail, perhaps be that importance rate set in keyword, check for the user with the title.So, can conveniently have a large amount of mails user to be processed to check mail like this, and whole process can be provided with according to user's individual demand, can improve user satisfaction like this.
Therefore, generally, the multiple process for sorting mailings of of the present invention and associated with set-top box, key step is: output category information setting interface, receive the classified information of user according to the input of described interface, described classified information comprises the noun and the keyword of classification; Adopt bayes classification method, and, mail is classified according to the classified information that the user is provided with; Show classification results to the user.
The algorithm that the technology that above-mentioned whole process is used is the matching algorithm of sorting algorithm and keyword, sort to attributes such as the date of shipping of mail, importance, also has the interface programming technology, the present development of these technology is all maked rapid progress, can select collocation to the kind of above technology according to the professional situation of set-top box itself, to meet customer need.
Below introduce provided by the invention again and multiple classification of mail function system associated with set-top box.This system comprises:
Binding module is used for a plurality of mailbox mails are focused on the mailbox that set-top box carries by binding;
Lexical Analysis Module is used for according to pattern the mail that receives being carried out morphological analysis;
Filtering module is used for mail is filtered, the mail after screening obtains filtering;
Characteristic extracting module is used for filtering module screening mail is later carried out feature extraction, and the pattern that extracts is deposited into Lexical Analysis Module again.
Wherein, the mail that obtains of described filtering module screening comprises and is judged as correct mail and is judged as wrong mail.
Wherein, described binding module comprises the unit is set, and is used to be provided with parameter, and the mail that will collect is collected in the mailbox that set-top box carries.
Wherein, also comprise sort module, be used to adopt classified information that function is set, the parameter of the specific name and the keyword that comprise mail is set, realize classification by the parameter that is provided with.
Wherein, also comprise the layout setting module, be used to be provided with the guiding interface, the guiding user is provided with according to the guiding interface.
Referring to Fig. 3, be the schematic diagram that classification of mail of the present invention is handled.
As shown in Figure 3, comprising: mail to be detected need pass through Lexical Analysis Module and filtering module respectively, after handling like this, can obtain being judged as correct mail and being judged as wrong mail.
Carry out the morphological analysis screening for unfiltered mail, screening mail is later carried out feature extraction, then the pattern that extracts is deposited into Lexical Analysis Module, so spam is told in circulation, and the further processing of classification is then carried out according to user's keyword.
In sum, the multiple classification of mail function system of Digital Television is by the improvement to existing mail treatment mode, and adds from what write the guiding interface is set, and improves user's experience satisfaction, makes that the flexibility of set-top box software and practicality are stronger.
Need to prove, contents such as the information interaction between said apparatus and intrasystem each unit, implementation since with the inventive method embodiment based on same design, particular content can repeat no more referring to the narration among the inventive method embodiment herein.
One of ordinary skill in the art will appreciate that all or part of step in the whole bag of tricks of the foregoing description is to instruct relevant hardware to finish by program, this program can be stored in the computer-readable recording medium, storage medium can comprise: read-only memory (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), disk or CD etc.
More than multiple classification of mail function system and method that the embodiment of the invention provided are described in detail, used specific case herein principle of the present invention and execution mode are set forth, the explanation of above embodiment just is used for helping to understand method of the present invention and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, the part that all can change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.