Invention content
In view of the above problems, it is proposed that the present invention overcoming the above problem in order to provide one kind or solves at least partly
State a kind of loading method of Mail Contents of problem and a kind of corresponding loading device of Mail Contents.
One side according to the present invention provides a kind of loading method of Mail Contents, including:
Plug-in server sends logging request according to the username and password of mailbox to mailbox server side, and described in acquisition
The login banner of mailbox server;
The status information of the mailbox is inquired according to login banner timing;
Status information according to mailbox is from the webpage format data for obtaining mail in the mailbox in the mailbox server;
Mail Contents in plug-in server side extracts the webpage format data using the webpage format data disappear
Breath;
The message content is sent to browser mailbox plug-in unit;The message content is in the browser mailbox plug-in unit
The pop-up page in the information of display is associated with mail in the mailbox.
Optionally, the status information of the mailbox includes the number of mail received in mailbox, the information of unread mail,
Read information, folder information and/or the information for having sent mail of mail.
Optionally, described in plug-in server side extracts the webpage format data using the webpage format data
The step of Mail Contents message includes:
The DOM tree node of the corresponding webpage of the mail is traversed using the webpage format data;
When the DOM tree node is with preset mail keyword match success, the corresponding postal of the DOM tree node is extracted
Part content.
Optionally, the mail keyword includes mailbox user name, mail address, sender, sender's user name, mail
Title, message body, attachment and/or date.
Optionally, further include:
The status information is sent to browser mailbox plug-in unit;The status information is the bullet in browser mailbox plug-in unit
The information prompted in the window page.
Optionally, the pop-up page of the browser mailbox plug-in unit is the BACKGROUND pages, and the prompt includes sound
Prompt and/or text prompt.
Optionally, further include:
When receiving operational order of the browser mailbox plug-in unit for the mail, the operational order instruction is executed
Operation.
Optionally, the operational order includes the operational order for opening mail, deletes the operational order and/or label of mail
The operational order of mail.
According to another aspect of the present invention, a kind of loading device of Mail Contents is provided, including:
Logging request side's sending module is suitable for plug-in server according to the username and password of mailbox to mailbox server side
Send logging request;
Login banner acquisition module is suitable for obtaining the login banner of the mailbox server;
State information searching module, suitable for inquiring the status information of the mailbox according to login banner timing;
Webpage format data acquisition module, described in being obtained from the mailbox server according to the status information of mailbox
The webpage format data of mail in mailbox;
Mail Contents message extraction module is suitable for extracting the net using the webpage format data in plug-in server side
Mail Contents message in page formatted data;
Message content sending module, suitable for the message content is sent to browser mailbox plug-in unit;The message content
For the information of display is associated with mail in the mailbox in the pop-up page of the browser mailbox plug-in unit.
Optionally, the status information of the mailbox includes the number of mail received in mailbox, the information of unread mail,
Read information, folder information and/or the information for having sent mail of mail.
Optionally, the Mail Contents message extraction module is further adapted for:
The DOM tree node of the corresponding webpage of the mail is traversed using the webpage format data;
When the DOM tree node is with preset mail keyword match success, the corresponding postal of the DOM tree node is extracted
Part content.
Optionally, the mail keyword includes mailbox user name, mail address, sender, sender's user name, mail
Title, message body, attachment and/or date.
Optionally, further include:
Status message sending module, suitable for the status information is sent to browser mailbox plug-in unit;The status information
For the information prompted in the pop-up page of browser mailbox plug-in unit.
Optionally, the pop-up page of the browser mailbox plug-in unit is the BACKGROUND pages, and the prompt includes sound
Prompt and/or text prompt.
Optionally, further include:
Operation executing module, suitable for when receiving operational order of the browser mailbox plug-in unit for the mail, executing
The operation of the operational order instruction.
Optionally, the operational order includes the operational order for opening mail, deletes the operational order and/or label of mail
The operational order of mail.
The present invention can simultaneously carry out multiple mailboxes the load of Mail Contents, avoid user and actively refresh multiple mailboxes
The page, it is convenient and efficient, substantially increase the efficiency of management of mailbox.The present invention may be used login identification Token and can directly step on
Record mailbox, inquire the status information of mailbox, can eliminate plug-in server sends again simulation log in mailbox request bag with
The username and password of mailbox server confirmation email again, reduces that plug-in server is local and the system of mailbox server provides
Source occupies, and improves the efficiency for logging in mailbox.In addition, the present invention can will inquire and the operation of extraction Mail Contents message is being inserted
It is carried out in part server, the resource occupation of browser can be greatly reduced.Mail Contents message can be stored in clear by the present invention
Look at device side, user also can be managed mailbox in off-line case, and flexibility is high, highly practical.
Above description is only the general introduction of technical solution of the present invention, in order to better understand the technical means of the present invention,
And can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can
It is clearer and more comprehensible, below the special specific implementation mode for lifting the present invention.
Specific implementation mode
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although showing the disclosure in attached drawing
Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here
It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure
Completely it is communicated to those skilled in the art.
Referring to Fig.1, a kind of step of the loading method embodiment 1 of Mail Contents according to an embodiment of the invention is shown
Rapid flow chart, can specifically include following steps:
Step 101, plug-in server sends logging request according to the username and password of mailbox to mailbox server side;
It should be noted that plug-in unit(Plug-in, also known as addin, add-in, addon or add-on, and translate plug-in)It is
A kind of program that the application programming interfaces following certain specification are write out, can by and application program(Such as browser, postal
Case server)Interaction, for replacing application program to increase some required specific functions.
E-mail address(electronic mail、E-mail), also known as E-mail, mailbox or e-mail etc., refers to by mutual
Networking is write, sends and receives mail, i.e. Email, these Emails can be that word, image, sound etc. are various
Mode, it is therefore an objective to reach the information exchange between addresser and receiver.
In general, the format of E-mail address is:User name@host name.@is the meaning of English at, i.e. Email
Location can be the user account number indicated on certain host.
Webpage mailbox may be used in E-mail address and independent client is managed.
Wherein, webpage mailbox(WebMail, a kind of E-mail service based on WWW)It is a kind of main on internet
The service of Email is read or sent using web browser.
With reference to Fig. 2, a kind of system construction drawing of webpage mailbox is shown.As shown in Fig. 2, webpage mailbox can be combined with
E-mail systems and WWW(World Wide Web, World Wide Web)The mailing system of system features, client pass through browser
To carry out the writing of mail, read, send and receive.By the combination of mail and webpage, keep user terminal greatly simplified.Wherein,
MTA(Mail Transfer Agent)For a kind of program for receiving and dispatching mail;POP3(Post Office Protocol
Version3)For a kind of agreement for the mail that CLIENT PROGRAM extraction can be allowed to reside at server;MUA is e-mail system
One of constitute, receive various instructions input by user, the mail of user is sent to MTA or by POP3, IMAP
(Internet Mail Access Protocol, interactive email access agreement)Mail is got the machine by agreement from MTA.
User can access www server by browser, and the extension that www server passes through server(Such as ASP
(Active Server Page, Active Server Pages)、PHP(Hypertext Preprocessor, hypertext pre-process language
Speech)Deng)Complete the function of MUA, and MUA accessed MTA and returned to client in a manner of WWW to obtain mail, then by www server
End.
WebMail can have the following advantages compared with mailbox client:
(1)As long as can connect to network, can forwarding by mail whenever and wherever possible, it is convenient and efficient.
(2)It can be arranged with Modify password and forward, automatically reply automatically in WebMail, function is more and easy to operate.
(3)It will be seen that mailbox has used capacity in WebMail, unwanted mail is cleared up in time, prevents mailbox quick-fried
It is full, convenient for management.
(4)Mail transmission speed ratio is quick by mailbox client software.
Using the embodiment of the present invention, browser mailbox plug-in unit can be installed in browser, can be based on browser
Plug-in unit can carry out data interaction with plug-in server.
Browser mailbox plug-in unit can typing mailbox input by user in advance username and password, can be one or more
It is a.Specifically can NPAPI be passed through by the browser mailbox plug-in unit(Netscape Plugin Application
Programming Interface, Netscape plug-in applications programming interface is a kind of for executing external answer in a browser
With the general-purpose interface of program)Interface is by the username and password typing of the mailbox and is stored in browser side.Then it can incite somebody to action
The username and password of the mailbox of typing is sent to plug-in server.
The present invention can simultaneously carry out multiple mailboxes the load of Mail Contents, avoid user and actively refresh multiple mailboxes
The page, it is convenient and efficient, substantially increase the efficiency of management of mailbox.
It in practical applications, can be respectively to the corresponding mailbox server simulation of different user name(It is not to be triggered by user,
But the username and password of mailbox is automatically entered by plug-in server, confirm and submits)Send http logging request packets, the request
It may include the username and password of mailbox in packet, can be used for logging in current mailbox, can be specifically the postal of the same host
Case, can also be the mailbox of different hosts, and the embodiment of the present invention does not limit this.
Step 102, the login banner of the mailbox server is obtained;
After the username and password for the mailbox that mailbox server sends plug-in server is proved to be successful, one can be generated
A login banner Token, to log in the authentication information of corresponding mailbox.
Step 103, the status information of the mailbox is inquired according to login banner timing;
Mailbox can directly be logged in using login identification Token, inquire the status information of mailbox, plug-in unit clothes can be eliminated
Business device sends the username and password of the request bag and mailbox server confirmation email again of simulation login mailbox again, reduces
The local system resource with mailbox server of plug-in server occupies, and improves the efficiency for logging in mailbox.
In practical applications, http request can be sent to corresponding server with the status information of automatic regular polling mailbox
It wraps, may include login identification Token in the request bag, the time interval of automatic regular polling can be systemic presupposition, can also
It is user setting, such as 10 minutes, 15 minutes, 20 minutes etc., the embodiment of the present invention does not limit this.
In one preferred embodiment of the invention, the status information of the mailbox may include the postal received in mailbox
Number of packages amount, the information of unread mail, the information for having read mail, folder information and/or the information for having sent mail.
Wherein, the number of mail received in mailbox may include having read the quantity of mail, the quantity of unread mail, file
The number of mail of number of mail, recycle bin in folder and/or the quantity of spam.
The information of unread mail may include the mailbox user name of unread mail, mail address, sender, sender user
Name, mail header, message body, attachment and/or date.
The information for having read mail may include the mailbox user name of unread mail, mail address, sender, sender user
Name, mail header, message body, attachment and/or date.
Folder information may include the e-mail messages in the title of file, file(It may include unread mail
Information and/or the information for having read mail).
The information for having sent mail may include mailbox user name, mail address, addressee, addressee's user name, mail
Title, message body, attachment and/or date.
Certainly, the status information of above-mentioned mailbox is intended only as example, can be according to reality when implementing the embodiment of the present invention
The status information of other mailboxes is arranged in situation, and the embodiment of the present invention does not limit this.In addition, in addition to aforesaid operations instruct
Outside, the status information using other mailboxes can also be actually needed in those skilled in the art, and the embodiment of the present invention is also not added with this
With limitation.
The status information of different mailboxes can have different codes to be identified, as long as identifying corresponding code, then
It can identify the status information of the mailbox.
Step 104, according to the status information of mailbox from the webpage for obtaining mail in the mailbox in the mailbox server
Formatted data;
It should be noted that the web data format of mail is the HTML of mail(HyperText Markup
Language, hypertext markup language)Text may include all the elements of mail(Word, picture, link or even music,
The non-legible element such as program).The structure of hypertext markup language includes head point(Head)And main part(Body), wherein
Head(Head)Information about web mail, main body are provided(Body)Part provides the particular content of web mail.
As shown in Figure 3A, the webpage format of the mail can be:
<html class>
<head>_</head>
<body class=”ua-notie ua-chrome ua-noYaHei skin_163blue”>_</body>
</html>
When triangle before click " head " or " body " comprising content(Code)It can then be shown.
In the concrete realization, the information of the number of mail, unread mail that are received in mailbox, the information for having read mail, text
Part folder information and/or the information for having sent mail can obtain corresponding web data format.
By taking the information of unread mail as an example, as shown in Figure 3B, on " inbox " column(Position shown in upper black column in Fig. 3 B)
In the second row under, can know in " inbox " has 21 envelope unread mails, " subscribing to mail "(Under in Fig. 3 B shown in black column
Position)In the second row under, 5 envelope unread mails in " subscribing to mail " can be known.
Step 105, the postal in the webpage format data is extracted in plug-in server side using the webpage format data
Part content-message;
For the information of the number of mail, unread mail that are received in mailbox, the information for having read mail, folder information
And/or the corresponding web data format of information of mail has been sent, it can correspond to and obtain Mail Contents message.Wherein, in mail
Hold the particular content that message can be mail.
In one preferred embodiment of the invention, the step 105 can specifically include following sub-step:
Sub-step S11 traverses the DOM tree node of the corresponding webpage of the mail using the webpage format data;
Sub-step S12 extracts the dom tree section when the DOM tree node is with preset mail keyword match success
The corresponding Mail Contents of point.
DOM(Document dbject model, Document Object Model)It is the standard program for handling extensible markup language
Interface.DOM can by it is a kind of independently of platform and language in a manner of access and change the content and structure of a document, be to indicate
With the common method of one HTML of processing or XML document.
DOM is actually the document model described with object-oriented way.DOM is defined needed for expression and modification document
Relationship between object, the behavior of these objects and attribute and these objects.DOM can be considered data and knot on the page
One tree represenation of structure, but the page may not be to be implemented in a manner of this tree certainly.
Entire html document can be reconstructed by JavaScript, can add, remove, change or reset the item on the page
Mesh.
Change some thing of the page, JavaScript, which just needs to obtain, accesses to all elements in html document
Entrance.This entrance is all to pass through text together with the method and attribute for being added, move, changing or removing to HTML element
Shelves object models obtains(DOM).
Html document can be regarded as to tree construction, and this structure is referred to as node tree(THML DOM).Pass through HTML
DOM, all nodes in tree can be accessed by JavaScript.All HTML elements(Node)It can be changed,
It can create or deletion of node.
Node in node tree possesses hierarchical relationship each other.Father may be used(parent), son(child)And compatriot
(sibling)Equal terms are for describing these relationships.Wherein, father node possesses child node.Child node at the same level is referred to as compatriot
(Brothers or sisters).In node tree, top node is referred to as root(root).Each node has father node, in addition to root(It does not have
There is father node).One node can possess any number of son, and compatriot is the node for possessing identical father node.
Specifically the web page element for wishing to operate can be searched in node tree by several method:
For example, can be looked by using getElementById () and getElementsByTagName () method
It looks for.
In another example can be belonged to by using parentNode, firstChild and lastChild of a node element
Property.
Wherein, getElementById () and getElementsByTagName () both methods can search entire
Any HTML element in html document.And both methods can ignore the structure of document.If searching all in document<p>
Element, getElementsByTagName () can find all of which, no matter<p>Element is in which of document level.
Meanwhile getElementById () method can also return to correct element, no matter it is hidden in what position in file structure
It sets.Both methods can provide any required HTML element, no matter they are the location of in a document.
In addition, getElementById () can return to web page element by specified ID.
In the concrete realization, the mail keyword includes mailbox user name, mail address, sender, sender user
Name, mail header, message body, attachment and/or date.
For example, using title(title)The matching that DOM tree node is carried out as keyword, can be as shown in Figure 3 C, is scheming
Black column part, reads the title of current mail in webpage format data shown in 3C, specially " Guidelines for Patent Examination modification ".
Using text(content)The matching that DOM tree node is carried out as keyword, can be as shown in Figure 3D, in Fig. 3 C
Shown in black column part in webpage format data, read the text of current mail.
Using attachment(affix)The matching that DOM tree node is carried out as keyword, can as shown in FIGURE 3 E, in Fig. 3 E institutes
Read respectively in the webpage format data shown the attachment of current mail title "《Guidelines for Patent Examination revision draft(Solicit meaning
See original text)》The URL of control page ", attachment(UniformResourceLocator, uniform resource locator)Address.
After extracting Mail Contents message, preset document format, such as PDF, TXT, Word can be converted into
Etc., it is then store in browser local.
Particularly, it if in mail including attachment, can be carried out again from the addresses URL of attachment after user indicates
It downloads, alternatively, directly can be directly downloaded from the addresses URL of attachment, the embodiment of the present invention does not limit this.
The present invention can will inquire and the operation of extraction Mail Contents message carries out in plug-in server, can subtract significantly
The resource occupation of few browser.
Mail Contents message is stored in browser side by the present invention, user can off-line case also can to mailbox into
Row management, flexibility is high, highly practical.
Step 106, the message content is sent to browser mailbox plug-in unit;The message content is in the browser
The information of display is associated in the pop-up page of mailbox plug-in unit with mail in the mailbox.
After browser mailbox plug-in unit receives message content, can in the pop-up page of browser mailbox plug-in unit with postal
Mail is associated display in case.
In the concrete realization, which can be the POPUP pages(Html page)Middle progress Mail Contents message
Display.It can then show the number of mail received in mailbox, the information of unread mail, the information for having read mail, file letter
Cease and/or sent the content-message in the information of mail(Including mailbox user name, mail address, sender, sender user
Name, mail header, message body, attachment and/or date).
With reference to Fig. 4, a kind of step of the loading method embodiment 2 of Mail Contents according to an embodiment of the invention is shown
Rapid flow chart, can specifically include following steps:
Step 401, plug-in server sends logging request according to the username and password of mailbox to mailbox server side;
Step 402, the login banner of the mailbox server is obtained;
Step 403, the status information of the mailbox is inquired according to login banner timing;
Step 404, the status information is sent to browser mailbox plug-in unit;The status information is in browser mailbox
The information prompted in the pop-up page of plug-in unit;
After browser mailbox plug-in unit receives status message, it can be carried out in the pop-up page of browser mailbox plug-in unit
Prompt.
In the concrete realization, the status information of each mailbox can have corresponding prompting mode.
The pop-up page of the browser mailbox plug-in unit can be BACKGROUND(Background page can be used for executing each
Kind script)The page, the prompt may include auditory tone cues and/or text prompt.
By taking the information of unread mail as an example, auditory tone cues can be to play " you have an envelope new mail ", and text prompt can be with
The pop-up page is generated for the lower right corner of current web page, there is word " you have an envelope new mail " above.
Step 405, according to the status information of mailbox from the webpage for obtaining mail in the mailbox in the mailbox server
Formatted data;
Step 406, the postal in the webpage format data is extracted in plug-in server side using the webpage format data
Part content-message;
Step 407, the message content is sent to browser mailbox plug-in unit;The message content is in the browser
The information of display is associated in the pop-up page of mailbox plug-in unit with mail in the mailbox;
Step 408, it when receiving operational order of the browser mailbox plug-in unit for the mail, executes the operation and refers to
Enable the operation of instruction.
When user is managed the message content of the mail in the pop-up page of browser mailbox plug-in unit, pass through browsing
The operational order of user can be sent to plug-in server by device mailbox plug-in unit, and plug-in server then executes operational order instruction
Operation.
In the concrete realization, the operational order may include turn on mail operational order, delete mail operation refer to
Enable and/or mark the operational order of mail.
Wherein, the operation for opening the operational order instruction of mail is to open mail.Particularly, when the mail is unread mail
When, then after opening, it can be marked as having read in webpage mailbox.
The operation for deleting the operational order instruction of mail is to delete mail, can be deleted the mail in webpage mailbox.
It is label mail to mark the operation of the operational order instruction of mail, can in webpage mailbox by the mail into rower
Note, to realize that the mark of important email, specific mail etc. operates.
Certainly, aforesaid operations instruction is intended only as example, when implementing the embodiment of the present invention, can be set according to actual conditions
Set other operational orders, such as the operational order of the operational order of new files, mobile e-mail, the operational order for emptying recycling bins
Etc., the embodiment of the present invention does not limit this.In addition, other than aforesaid operations instruct, those skilled in the art can be with
Actual needs uses other operational orders, the embodiment of the present invention also not to limit this.
For embodiment of the method, for simple description, therefore it is all expressed as a series of combination of actions, but this field
Technical staff should know that the embodiment of the present invention is not limited by the described action sequence, because implementing according to the present invention
Example, certain steps can be performed in other orders or simultaneously.Next, those skilled in the art should also know that, specification
Described in embodiment belong to preferred embodiment, necessary to the involved action not necessarily embodiment of the present invention.
With reference to Fig. 5, a kind of knot of the loading device embodiment of Mail Contents according to an embodiment of the invention is shown
Structure block diagram, can specifically include following module:
Logging request side's sending module 501 is suitable for plug-in server according to the username and password of mailbox to mailbox service
Device side sends logging request;
Login banner acquisition module 502 is suitable for obtaining the login banner of the mailbox server;
State information searching module 503, suitable for inquiring the status information of the mailbox according to login banner timing;
Webpage format data acquisition module 504 is obtained suitable for the status information according to mailbox from the mailbox server
The webpage format data of mail in the mailbox;
Mail Contents message extraction module 505 is suitable for extracting institute using the webpage format data in plug-in server side
State the Mail Contents message in webpage format data;
Message content sending module 506, suitable for the message content is sent to browser mailbox plug-in unit;In the message
It is the information for being associated display with mail in the mailbox in the pop-up page of the browser mailbox plug-in unit to hold.
In one preferred embodiment of the invention, the status information of the mailbox may include the postal received in mailbox
Number of packages amount, the information of unread mail, the information for having read mail, folder information and/or the information for having sent mail.
In one preferred embodiment of the invention, the Mail Contents message extraction module can be adapted to:
The DOM tree node of the corresponding webpage of the mail is traversed using the webpage format data;
When the DOM tree node is with preset mail keyword match success, the corresponding postal of the DOM tree node is extracted
Part content.
In one preferred embodiment of the invention, the mail keyword may include mailbox user name, mail address,
Sender, sender's user name, mail header, message body, attachment and/or date.
In one preferred embodiment of the invention, described device can also include following module:
Status message sending module, suitable for the status information is sent to browser mailbox plug-in unit;The status information
For the information prompted in the pop-up page of browser mailbox plug-in unit.
In one preferred embodiment of the invention, the pop-up page of the browser mailbox plug-in unit can be
The BACKGROUND pages, the prompt may include auditory tone cues and/or text prompt.
In one preferred embodiment of the invention, described device can also include following module:
Operation executing module, suitable for when receiving operational order of the browser mailbox plug-in unit for the mail, executing
The operation of the operational order instruction.
In one preferred embodiment of the invention, the operational order may include turn on the operational order of mail, delete
Except the operational order of mail and/or the operational order of label mail.
For device embodiments, since it is basically similar to the method embodiment, so fairly simple, the correlation of description
Place illustrates referring to the part of embodiment of the method.
Algorithm and display be not inherently related to any certain computer, virtual system or miscellaneous equipment provided herein.
Various general-purpose systems can also be used together with teaching based on this.As described above, it constructs required by this kind of system
Structure be obvious.In addition, the present invention is not also directed to any certain programmed language.It should be understood that can utilize various
Programming language realizes the content of invention described herein, and the description done above to language-specific is to disclose this hair
Bright preferred forms.
In the instructions provided here, numerous specific details are set forth.It is to be appreciated, however, that the implementation of the present invention
Example can be put into practice without these specific details.In some instances, well known method, structure is not been shown in detail
And technology, so as not to obscure the understanding of this description.
Similarly, it should be understood that in order to simplify the disclosure and help to understand one or more of each inventive aspect,
Above in the description of exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes
In example, figure or descriptions thereof.However, the method for the disclosure should be construed to reflect following intention:It is i.e. required to protect
Shield the present invention claims the more features of feature than being expressly recited in each claim.More precisely, as following
Claims reflect as, inventive aspect is all features less than single embodiment disclosed above.Therefore,
Thus the claims for following specific implementation mode are expressly incorporated in the specific implementation mode, wherein each claim itself
All as a separate embodiment of the present invention.
Those skilled in the art, which are appreciated that, to carry out adaptively the module in the equipment in embodiment
Change and they are arranged in the one or more equipment different from the embodiment.It can be the module or list in embodiment
Member or component be combined into a module or unit or component, and can be divided into addition multiple submodule or subelement or
Sub-component.Other than such feature and/or at least some of process or unit exclude each other, it may be used any
Combination is to this specification(Including adjoint claim, abstract and attached drawing)Disclosed in all features and so disclosed appoint
Where all processes or unit of method or equipment are combined.Unless expressly stated otherwise, this specification(Including adjoint power
Profit requirement, abstract and attached drawing)Disclosed in each feature can be by providing the alternative features of identical, equivalent or similar purpose come generation
It replaces.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments
In included certain features rather than other feature, but the combination of the feature of different embodiments means in of the invention
Within the scope of and form different embodiments.For example, in the following claims, embodiment claimed is appointed
One of meaning mode can use in any combination.
The all parts embodiment of the present invention can be with hardware realization, or to run on one or more processors
Software module realize, or realized with combination thereof.It will be understood by those of skill in the art that can use in practice
Microprocessor or digital signal processor(DSP)In loading equipemtn to realize Mail Contents according to the ... of the embodiment of the present invention
The some or all functions of some or all components.The present invention is also implemented as executing method as described herein
Some or all equipment or program of device(For example, computer program and computer program product).Such reality
The program of the existing present invention can may be stored on the computer-readable medium, or can be with the form of one or more signal.
Such signal can be downloaded from internet website and be obtained, and either be provided on carrier signal or in any other forms
It provides.
It should be noted that the present invention will be described rather than limits the invention for above-described embodiment, and ability
Field technique personnel can design alternative embodiment without departing from the scope of the appended claims.In the claims,
Any reference mark between bracket should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not
Element or step listed in the claims.Word "a" or "an" before element does not exclude the presence of multiple such
Element.The present invention can be by means of including the hardware of several different elements and being come by means of properly programmed computer real
It is existing.In the unit claims listing several devices, several in these devices can be by the same hardware branch
To embody.The use of word first, second, and third does not indicate that any sequence.These words can be explained and be run after fame
Claim.
The invention discloses A1, a kind of loading methods of Mail Contents, including:
Plug-in server sends logging request according to the username and password of mailbox to mailbox server side, and described in acquisition
The login banner of mailbox server;
The status information of the mailbox is inquired according to login banner timing;
Status information according to mailbox is from the webpage format data for obtaining mail in the mailbox in the mailbox server;
Mail Contents in plug-in server side extracts the webpage format data using the webpage format data disappear
Breath;
The message content is sent to browser mailbox plug-in unit;The message content is in the browser mailbox plug-in unit
The pop-up page in the information of display is associated with mail in the mailbox.
A2, the method as described in A1, the status information of the mailbox include the number of mail received in mailbox, do not read postal
The information of part, the information for having read mail, folder information and/or the information for having sent mail.
A3, the method as described in A1, it is described that the webpage is extracted using the webpage format data in plug-in server side
The step of Mail Contents message in formatted data includes:
The DOM tree node of the corresponding webpage of the mail is traversed using the webpage format data;
When the DOM tree node is with preset mail keyword match success, the corresponding postal of the DOM tree node is extracted
Part content.
A4, the method as described in A3, the mail keyword include mailbox user name, mail address, sender, sender
User name, mail header, message body, attachment and/or date.
A5, the method as described in A1 further include:
The status information is sent to browser mailbox plug-in unit;The status information is the bullet in browser mailbox plug-in unit
The information prompted in the window page.
The pop-up page of A6, the method as described in A5, the browser mailbox plug-in unit is the BACKGROUND pages, described to carry
Show including auditory tone cues and/or text prompt.
A7, the method as described in A1 further include:
When receiving operational order of the browser mailbox plug-in unit for the mail, the operational order instruction is executed
Operation.
A8, the method as described in A7, the operational order include that the operation of the operational order for opening mail, deletion mail refers to
Enable and/or mark the operational order of mail.
The invention also discloses B9, a kind of loading devices of Mail Contents, including:
Logging request side's sending module is suitable for plug-in server according to the username and password of mailbox to mailbox server side
Send logging request;
Login banner acquisition module is suitable for obtaining the login banner of the mailbox server;
State information searching module, suitable for inquiring the status information of the mailbox according to login banner timing;
Webpage format data acquisition module, described in being obtained from the mailbox server according to the status information of mailbox
The webpage format data of mail in mailbox;
Mail Contents message extraction module is suitable for extracting the net using the webpage format data in plug-in server side
Mail Contents message in page formatted data;
Message content sending module, suitable for the message content is sent to browser mailbox plug-in unit;The message content
For the information of display is associated with mail in the mailbox in the pop-up page of the browser mailbox plug-in unit.
B10, the device as described in B9, the status information of the mailbox include the number of mail received in mailbox, do not read
The information of mail, the information for having read mail, folder information and/or the information for having sent mail.
B11, the device as described in B9, the Mail Contents message extraction module are further adapted for:
The DOM tree node of the corresponding webpage of the mail is traversed using the webpage format data;
When the DOM tree node is with preset mail keyword match success, the corresponding postal of the DOM tree node is extracted
Part content.
B12, the device as described in B11, the mail keyword include mailbox user name, mail address, sender, outbox
People's user name, mail header, message body, attachment and/or date.
B13, the device as described in B9 further include:
Status message sending module, suitable for the status information is sent to browser mailbox plug-in unit;The status information
For the information prompted in the pop-up page of browser mailbox plug-in unit.
The pop-up page of B14, the device as described in B13, the browser mailbox plug-in unit is the BACKGROUND pages, described
Prompt includes auditory tone cues and/or text prompt.
B15, the device as described in B9 further include:
Operation executing module, suitable for when receiving operational order of the browser mailbox plug-in unit for the mail, executing
The operation of the operational order instruction.
B16, the device as described in B15, the operational order include the operational order for opening mail, delete the operation of mail
The operational order of instruction and/or label mail.