CN103607342B - A kind of loading method and device of Mail Contents - Google Patents

A kind of loading method and device of Mail Contents Download PDF

Info

Publication number
CN103607342B
CN103607342B CN201310551823.9A CN201310551823A CN103607342B CN 103607342 B CN103607342 B CN 103607342B CN 201310551823 A CN201310551823 A CN 201310551823A CN 103607342 B CN103607342 B CN 103607342B
Authority
CN
China
Prior art keywords
mailbox
mail
plug
information
browser
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
CN201310551823.9A
Other languages
Chinese (zh)
Other versions
CN103607342A (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 Qizhi Business Consulting Co ltd
Beijing Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing 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 Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201310551823.9A priority Critical patent/CN103607342B/en
Publication of CN103607342A publication Critical patent/CN103607342A/en
Application granted granted Critical
Publication of CN103607342B publication Critical patent/CN103607342B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Between Computers (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a kind of loading method of Mail Contents and device, the method includes:Plug-in server sends logging request according to the username and password of mailbox to mailbox server side, and obtains the login banner of the 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 message in the webpage format data is extracted in plug-in server side using the webpage format data;The message content is sent to browser mailbox plug-in unit;The message content is the information for being associated display with mail in the mailbox in the pop-up page of the browser mailbox plug-in unit.The present invention can simultaneously carry out multiple mailboxes the load of Mail Contents, avoid user and actively refresh multiple mailbox pages, convenient and efficient, substantially increase the efficiency of management of mailbox.

Description

A kind of loading method and device of Mail Contents
Technical field
The present invention relates to the technical fields of communication, and in particular to a kind of loading method of Mail Contents, and, a kind of mail The loading device of content.
Background technology
With the development of internet communication technology, E-mail address is answered as the most widely used one kind in current internet With being widely used in study, amusement, work etc., more and more important angle play in daily life Color.
In order to facilitate work, study, amusement etc., many users have opened multiple E-mail addresses, such as between friends and family Contact, which can use, can use enterprise's mailbox, personal network store contact that can use electronics when the mailbox of instant message applications binding, work School's mailbox etc. can be used on commercial mailbox, learning and communication.During E-mail address communicates, there are many information, file It needs to transmit, and the overwhelming majority is transmitted using the Email of webpage version.
But as soon as webpage is closed where Email, user contacts with what E-mail address thoroughly lost, is easy to cause Email is checked not in time and is delayed important event notice, or even breeds big mistakes, such as work notice conveys delay, individual On-line shop's delivery is not in time etc..
Although reminding e-mail expanded function is released in existing E-mail address at present, the log-on message of webpage version mailbox is used (cookie)Simulation sends inquiry request, and new mail is judged whether there is according to the return information of mailbox server.But it is only It is to be polled for the Email of the E-mail address for releasing the function and check whether new mail, passes through if any Number or auditory tone cues user, also, after the cookie of webpage fails, for prompting function with regard to unavailable, this far can not Meet most of user using more mailboxes.
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.
Description of the drawings
By reading the detailed description of hereafter preferred embodiment, various other advantages and benefit are common for this field Technical staff will become clear.Attached drawing only for the purpose of illustrating preferred embodiments, and is not considered as to the present invention Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 shows that a kind of the step of loading method embodiment 1 of Mail Contents according to an embodiment of the invention flows Cheng Tu;
Fig. 2 shows a kind of system construction drawings of webpage mailbox according to an embodiment of the invention;
Fig. 3 A- Fig. 3 E show a kind of exemplary plot of mail according to an embodiment of the invention;
Fig. 4 shows that a kind of the step of loading method embodiment 2 of Mail Contents according to an embodiment of the invention flows Cheng Tu;And
Fig. 5 shows a kind of structural frames of the loading device embodiment of Mail Contents according to an embodiment of the invention Figure.
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.

Claims (16)

1. 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 obtains the mailbox The login banner of server;The login banner is the authentication information for logging in corresponding mailbox;
The mailbox server is directly logged according to login banner timing, inquires the status information of the mailbox;
Status information according to mailbox is from the webpage format data for obtaining mail in the mailbox in the mailbox server;
Mail Contents message in the webpage format data is extracted in plug-in server side using the webpage format data;
Message content is sent to browser mailbox plug-in unit;The message content is the pop-up page in the browser mailbox plug-in unit The information of display is associated in face with mail in the mailbox.
2. the method as described in claim 1, which is characterized in that the status information of the mailbox includes 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.
3. the method as described in claim 1, which is characterized in that described to use the webpage format data in plug-in server side The step of extracting the Mail Contents message in the webpage format data include:
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, extract in the corresponding mail of the DOM tree node Hold.
4. method as claimed in claim 3, which is characterized in that the mail keyword include mailbox user name, mail address, Sender, sender's user name, mail header, message body, attachment and/or date.
5. the method as described in claim 1, which is characterized in that further include:
The status information is sent to browser mailbox plug-in unit;The status information is the pop-up page in browser mailbox plug-in unit The information prompted in face.
6. method as claimed in claim 5, which is characterized in that the pop-up page of the browser mailbox plug-in unit is The BACKGROUND pages, the prompt includes auditory tone cues and/or text prompt.
7. the method as described in claim 1, which is characterized in that further include:
When receiving operational order of the browser mailbox plug-in unit for the mail, the behaviour of the operational order instruction is executed Make.
8. the method for claim 7, which is characterized in that the operational order includes the operational order for opening mail, deletes Except the operational order of mail and/or the operational order of label mail.
9. a kind of loading device of Mail Contents, including:
Logging request side's sending module, the username and password for being suitable for plug-in server according to mailbox are sent to mailbox server side Logging request;
Login banner acquisition module is suitable for obtaining the login banner of the mailbox server;The login banner is to log in correspond to The authentication information of mailbox;
State information searching module, suitable for directly logging in the mailbox server according to login banner timing, described in inquiry The status information of mailbox;
Webpage format data acquisition module obtains the mailbox suitable for the status information according to mailbox from the mailbox server The webpage format data of middle mail;
Mail Contents message extraction module is suitable for extracting the webpage lattice using the webpage format data in plug-in server side Mail Contents message in formula data;
Message content sending module, suitable for message content is sent to browser mailbox plug-in unit;The message content is described The information of display is associated in the pop-up page of browser mailbox plug-in unit with mail in the mailbox.
10. device as claimed in claim 9, which is characterized in that the status information of the mailbox includes being received in mailbox Number of mail, the information of unread mail, the information for having read mail, folder information and/or the information for having sent mail.
11. device as claimed in claim 9, which is characterized in that 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, extract in the corresponding mail of the DOM tree node Hold.
12. device as claimed in claim 11, which is characterized in that the mail keyword includes mailbox user name, mail Location, sender, sender's user name, mail header, message body, attachment and/or date.
13. device as claimed in claim 9, which is characterized in that further include:
Status message sending module, suitable for the status information is sent to browser mailbox plug-in unit;The status information be The information prompted in the pop-up page of browser mailbox plug-in unit.
14. device as claimed in claim 13, which is characterized in that the pop-up page of the browser mailbox plug-in unit is The BACKGROUND pages, the prompt includes auditory tone cues and/or text prompt.
15. device as claimed in claim 9, which is characterized in that further include:
Operation executing module, suitable for when receiving browser mailbox plug-in unit and being directed to the operational order of the mail, described in execution The operation of operational order instruction.
16. device as claimed in claim 15, which is characterized in that the operational order include open mail operational order, It deletes the operational order of mail and/or marks the operational order of mail.
CN201310551823.9A 2013-11-07 2013-11-07 A kind of loading method and device of Mail Contents Active CN103607342B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310551823.9A CN103607342B (en) 2013-11-07 2013-11-07 A kind of loading method and device of Mail Contents

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310551823.9A CN103607342B (en) 2013-11-07 2013-11-07 A kind of loading method and device of Mail Contents

Publications (2)

Publication Number Publication Date
CN103607342A CN103607342A (en) 2014-02-26
CN103607342B true CN103607342B (en) 2018-10-09

Family

ID=50125542

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310551823.9A Active CN103607342B (en) 2013-11-07 2013-11-07 A kind of loading method and device of Mail Contents

Country Status (1)

Country Link
CN (1) CN103607342B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104980469A (en) * 2014-04-10 2015-10-14 阿里巴巴集团控股有限公司 E-mail extraction method and system
CN109376998B (en) * 2018-09-20 2024-02-06 平安科技(深圳)有限公司 Performance data management method, device, computer equipment and storage medium
CN111091339A (en) * 2018-10-24 2020-05-01 北京数聚鑫云信息技术有限公司 Device and method for automatically analyzing information in e-mail
CN109447472B (en) * 2018-10-30 2023-11-28 平安科技(深圳)有限公司 Performance task data processing method and device, computer equipment and storage medium
CN111079043B (en) * 2019-12-05 2023-05-12 北京数立得科技有限公司 Key content positioning method
CN117411847B (en) * 2023-12-14 2024-03-08 彩讯科技股份有限公司 Mail out-link picture transfer method, system and medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1710893A (en) * 2005-07-27 2005-12-21 北京立通无限科技有限公司 Mail transfering system and method based on WAP protocol
CN101202737B (en) * 2006-12-11 2012-02-15 腾讯科技(深圳)有限公司 Method and system for managing third party mail account
CN101325561B (en) * 2007-06-12 2012-01-04 阿里巴巴集团控股有限公司 Method, apparatus and system for processing electronic mail
CN101247563A (en) * 2008-03-20 2008-08-20 宇龙计算机通信科技(深圳)有限公司 Mail pushing system and mail receiving and dispatching method
CN103136273A (en) * 2011-12-02 2013-06-05 腾讯科技(深圳)有限公司 Method and device for displaying user information in webpage
CN102663291B (en) * 2012-03-23 2015-02-25 北京奇虎科技有限公司 Information prompting method and information prompting device for e-mails

Also Published As

Publication number Publication date
CN103607342A (en) 2014-02-26

Similar Documents

Publication Publication Date Title
CN103607342B (en) A kind of loading method and device of Mail Contents
CN103606074A (en) Mail content loading method and apparatus, and browser
US9071560B2 (en) Tagging email and providing tag clouds
CN102663291B (en) Information prompting method and information prompting device for e-mails
CN108259415B (en) Mail detection method and device
US8090782B2 (en) Electronic messaging system and method
JP4942647B2 (en) Image content changes in electronic messaging protocol messages
US9166940B2 (en) E-mail forwarding tunnel capturing or tagging
US7818385B2 (en) Method and apparatus for forwarding emails to previous recipients
US20020091772A1 (en) Method for correlating an electronic mail message with related messages
US7945629B2 (en) Active removal of e-mail recipient from replies and subsequent threads
US20080141150A1 (en) Graphical messages
CN102594719A (en) Mis-sending confirming system and program for E-mail
CN104092600A (en) Mail burning-after-reading method, device and system
CN108234277A (en) A kind of mail transmission, the method and device of editor
KR100731011B1 (en) system operation method for supplying service of mail
WO2013116824A1 (en) Method and system for electronic collaboration
US20090150495A1 (en) Chain-Scoped Dynamic Electronic Mail System and Method
CN108304400A (en) To the method and apparatus of the tracking of the document function containing hypertext markup language
US20210273900A1 (en) Methods and systems for processing electronic messages
CN104506426B (en) The information cuing method and device of mail
US10389668B2 (en) Safe unsubscribe
Harold JavaMail API: Sending and Receiving Email with Java
RU2595617C2 (en) Method and system for creating list of electronic messages
RU2595619C2 (en) Method and system for reformatting electronic message based on category thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address

Address after: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee after: Beijing Qizhi Business Consulting Co.,Ltd.

Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee before: Qizhi software (Beijing) Co.,Ltd.

CP03 Change of name, title or address
TR01 Transfer of patent right

Effective date of registration: 20240116

Address after: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee before: Beijing Qizhi Business Consulting Co.,Ltd.

TR01 Transfer of patent right