WO2019042448A1 - 标记已读邮件的方法、装置、设备及存储介质 - Google Patents

标记已读邮件的方法、装置、设备及存储介质 Download PDF

Info

Publication number
WO2019042448A1
WO2019042448A1 PCT/CN2018/103792 CN2018103792W WO2019042448A1 WO 2019042448 A1 WO2019042448 A1 WO 2019042448A1 CN 2018103792 W CN2018103792 W CN 2018103792W WO 2019042448 A1 WO2019042448 A1 WO 2019042448A1
Authority
WO
WIPO (PCT)
Prior art keywords
mail
read
content
original
marking
Prior art date
Application number
PCT/CN2018/103792
Other languages
English (en)
French (fr)
Inventor
汪步庆
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2019042448A1 publication Critical patent/WO2019042448A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/42Mailbox-related aspects, e.g. synchronisation of mailboxes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/107Computer-aided management of electronic mailing [e-mailing]

Definitions

  • the present disclosure relates to, but is not limited to, the field of email technology.
  • E-mail is a very important communication tool in daily work, and the technologies in mailbox grouping and mail content encryption are mature. However, there are often multiple discussions, replies or forwards on the same subject email, and the relevant recipients will receive multiple discussion emails on the same topic. The relevant email content before this will also be included in the body of the post-mail.
  • the user opens the post-mail by looking at the original mail content contained in it, it is clear that the discussion of this topic is in the ins and outs, but the mail system does not do any processing on the previous mail whose content is already included in the post-mail and read by the user. In other words, if the previous message has not been opened, the unread status is still displayed.
  • a method of marking a read mail comprising: opening and reading a first mail, detecting whether a mail related to the original mail content read in the first mail is included in an inbox And if the message involved in the read original message content is included in the inbox, the message in question is marked as a read message.
  • an apparatus for marking a read mail comprising: a detecting module configured to detect an original mail content read in the first mail after opening and reading the first mail Whether the mail involved is included in the inbox; and a marking module that marks the mail in question as having been included in the inbox if the read original mail content is included in the inbox Read the mail.
  • an apparatus for marking a read mail comprising a memory and a processor, the computer program being stored on the memory, the processor executing the mark read according to the present disclosure when the computer program is executed by the processor The method of mail.
  • a storage medium having stored thereon a computer program that, when executed by a processor, performs a method of marking a read mail according to the present disclosure.
  • FIG. 1 is a flow chart of a method of marking a read email in accordance with an embodiment of the present disclosure
  • FIG. 2 is a flow chart of a method of marking a read email in accordance with another embodiment of the present disclosure
  • FIG. 3 is a flowchart of a method of marking a read mail according to another embodiment of the present disclosure
  • FIG. 4 is a block diagram showing a structure of an apparatus for marking a read mail according to an embodiment of the present disclosure
  • FIG. 5 is a block diagram of another module of the apparatus shown in Figure 4.
  • FIG. 6 is a schematic structural diagram of an apparatus for marking a read mail according to an embodiment of the present disclosure.
  • the devices described in this disclosure may include mobile devices such as cell phones, tablets, laptops, PDAs, Personal Digital Assistants (PDAs), and stationary devices such as desktop computers, servers, and the like.
  • mobile devices such as cell phones, tablets, laptops, PDAs, Personal Digital Assistants (PDAs), and stationary devices such as desktop computers, servers, and the like.
  • PDAs Personal Digital Assistants
  • stationary devices such as desktop computers, servers, and the like.
  • the suffixes such as “module,” “component,” or “unit” used to denote an element are merely illustrative of the present disclosure, and have no particular meaning in themselves. Therefore, “module”, “component” or “unit” can be used in combination.
  • FIG. 1 is a flow chart of a method of marking a read email in accordance with an embodiment of the present disclosure.
  • a method of marking a read mail may include steps S101 to S102.
  • step S101 the first mail is opened and read, and it is detected whether the mail related to the original mail content read in the first mail is included in the inbox.
  • the email content when a user opens an email, the email content is generally loaded through a network view.
  • HTML Hyper Text Mark-up Language
  • DOM Document Object Model
  • XHTML The Extensible Hyper Text Markup Language
  • Methods such as XML (Extensible Markup Language) DOM tree parse the original message content that has been read.
  • the original mail content that has been read may also be parsed by other methods without departing from the scope of the present disclosure.
  • Step S101 can be specifically implemented by dynamically identifying whether the original mail content is included according to the current reading position of the opened first mail.
  • the current reading position of the first mail can be determined based on the content of the first mail displayed on the page. It should be appreciated that where the content in the page is displayed indicates where the current reading is, and as the user continues to scroll down to view the first email, the reading location is further updated.
  • the first mail contains the original mail content
  • the original mail content read in the first mail is parsed by using the HTML DOM tree, and the mail related to the original mail content read is further recognized. Whether the person list includes the current email account.
  • the recipient list includes the current email account, it is determined that the mail corresponding to the original mail content that has been read is in the inbox of the current email account; otherwise, the mail corresponding to the original mail content that has been read is determined with the current email account. None, no need to deal with it.
  • the HTML DOM defines a standard set of objects for HTML documents.
  • each component in an HTML document is a node.
  • the entire document is a document node
  • each HTML tag is an element node
  • the text contained in the HTML element is a text node.
  • Each HTML attribute is a property node
  • the annotation belongs to the annotation node, and the nodes have a hierarchical relationship with each other. All nodes in the HTML document make up a document tree (or node tree).
  • Each element, attribute, text, etc. in an HTML document represents a node in the tree. The tree starts at the document node and continues to stick out until it reaches all the text nodes at the lowest level of the tree.
  • HTML elements are obtained through the document object model.
  • All browsers implement the first-level DOM specification standard published by the World Wide Web Consortium (W3C), so there is no compatibility issue for DOM.
  • W3C World Wide Web Consortium
  • the original message can be parsed based on the current reading position using the XHTML DOM tree and the XML DOM tree.
  • step S102 the mail related to the original mail content that has been read is marked as a read mail.
  • step S102 may be implemented as: when it is detected that the mail related to the original mail content read in the first mail is included in the inbox, the mail involved The index is added to the queue to be marked; when it is detected that the first message is read or closed, the involved message in the queue to be marked is marked as read. In this way, all of the original messages that have been read can be marked at once.
  • FIG. 2 is a flow chart of a method of marking a read email in accordance with another embodiment of the present disclosure.
  • a method of marking a read mail may include steps S201 to S207.
  • step S201 the first mail is opened and read, and then the method proceeds to step S202.
  • step S202 whether the original mail content is included is dynamically identified according to the current reading position of the first mail, and if so, step S203 is performed, otherwise the method proceeds to step S206.
  • step S203 the original mail content read in the first mail is parsed by the HTML DOM tree according to the current reading position of the first mail, and then the method proceeds to step S204.
  • step S204 it is determined whether the recipient list of the mail related to the original mail content that has been read includes the current email account, and if so, step S205 is performed, otherwise step S206 is performed.
  • step S205 the mail corresponding to the original mail content that has been read is searched from the inbox, and marked as a read mail, and then the method proceeds to step S206.
  • step S206 it is determined whether the first mail has been read or closed, and if so, step S207 is performed, otherwise returns to step S202.
  • step S207 the flow is ended.
  • the mail involved in the original mail content that has been read is continuously detected, if the detected recipient list of the mail involved includes In the current email account, the mails involved are found in the inbox and marked as read, avoiding repeated reading of the read email content, thereby improving mail processing efficiency.
  • FIG. 3 is a flow chart of a method of marking a read email in accordance with another embodiment of the present disclosure.
  • a method of marking a read mail may include steps S301 to S309.
  • step S301 the first mail is opened and read, and then the method proceeds to step S302.
  • step S302 the current reading position of the first mail is detected, and then the method proceeds to step S303.
  • step S303 whether the original mail content is included is dynamically identified according to the current reading position of the first mail, and if so, step S304 is performed, otherwise the method proceeds to step S306.
  • step S304 the original mail content read in the mail is parsed by the HTML DOM tree according to the current reading position of the mail, and then the method proceeds to step S305.
  • step S305 it is determined whether the recipient list of the mail related to the original mail content that has been read includes the current email account, and if so, step S307 is performed, otherwise step S306 is performed.
  • step S307 the index of the mail corresponding to the original mail content that has been read is added to the queue to be marked, and then the method proceeds to step S306.
  • the sender, the sending time, the mail header, and the like of the original mail content that has been read can be indexed as a search keyword, so that the mail corresponding to the mail box of the current email account can be searched for.
  • step S306 it is determined whether the first mail has been read or closed, and if so, step S308 is performed, otherwise returns to step S303.
  • step S308 the mail corresponding to the original mail content that has been read is searched from the inbox according to the mail index of the queue to be marked, and marked as read, and then the method proceeds to step S309.
  • the corresponding mail can be found in the inbox of the current email account according to the mail index of the queue to be marked (such as sender, sending time, mail title, etc.).
  • step S309 the flow is ended.
  • the mail involved in the original mail content that has been read may be continuously detected, and if the detected mail is received, the received mail is detected.
  • the current email account is included in the person list, and the index of the mail involved is added to the queue to be marked.
  • the user reads the current first email or quits the current first email, finds the corresponding email in the queue to be marked and marks it as read, thereby improving system performance and avoiding the system performance according to the embodiment described in FIG. Repeat reading the contents of the read email to improve the efficiency of mail processing.
  • FIG. 4 is a block diagram of an apparatus for marking a read mail in accordance with an embodiment of the present disclosure.
  • an apparatus for marking a read mail may include a detection module 401 and a marking module 402.
  • the detecting module 401 can be configured to detect, after opening and reading the first mail, whether the mail involved in the original mail content read in the first mail is included in the inbox.
  • the detection module 401 can be configured to dynamically identify whether the original mail content is included based on the current reading position of the first mail.
  • the current reading position of the first mail can be determined based on the content of the first mail displayed on the page.
  • the original mail content read in the first mail is parsed by using the HTML DOM tree, and the mail involved in the original original mail content is further identified.
  • Whether the recipient list includes the current email account If the recipient list includes the current email account, it is determined that the mail corresponding to the original mail content that has been read is in the inbox of the current email account; otherwise, the mail corresponding to the original mail content that has been read is determined with the current email account. None, no need to deal with it.
  • the tagging module 402 can mark the message in question as a read message.
  • Fig. 5 is a block diagram showing another module of the apparatus shown in Fig. 4.
  • the detecting module 401 may include a reading position detecting unit 4011, a mail parsing unit 4012, and a determining unit 4013.
  • the reading position detecting unit 4011 may be configured to detect a current reading position of the first mail.
  • the mail parsing unit 4012 may be configured to dynamically identify whether the first mail contains the original mail content according to the current reading position, and parse the first mail according to the current reading position by using an HTML DOM tree when the first mailing includes the original mail content The original message content that has been read.
  • the determining unit 4013 can be configured to identify whether the recipient list of the mail related to the read original mail content includes the current email account.
  • the marking module 402 can include a recording unit 4021 and an operation unit 4022.
  • the recording unit 4021 can be configured to add an index of the mail involved in the original mail content that has been read to the queue to be marked.
  • the operation unit 4022 may be configured to mark the involved mail as a read status according to the index of the mail in the queue to be marked when it is detected that the first mail is read or closed. In this way, all of the original messages that have been read can be marked at once.
  • FIG. 6 is a schematic structural diagram of an apparatus for marking a read mail according to an embodiment of the present disclosure.
  • the device shown in Figure 6 can be a smart terminal and includes a memory 609 that can be used to store software programs as well as various data.
  • the memory 609 can include a memory program area and a memory data area.
  • the storage program area can store an operating system, at least one function required application (such as a sound playing function, an image playing function, etc.); the storage data area can store data created according to the use of the mobile phone (such as audio data, phone book, etc.) )Wait.
  • memory 609 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
  • the device shown in FIG. 6 may also include a processor 610.
  • the processor 610 is a control center of the intelligent terminal that connects various portions of the entire mobile terminal using various interfaces and lines, by running or executing software programs and/or modules stored in the memory 609, and recalling data stored in the memory 609. The various functions and processing data of the mobile terminal are executed, thereby performing overall monitoring on the mobile terminal.
  • Processor 610 can include one or more processing units.
  • the processor 610 can integrate an application processor and a modem processor, the processing processor primarily processes an operating system, a user interface, an application, etc., and the modem processor primarily processes wireless communications. It will be appreciated that the modem processor may also not be integrated into the processor.
  • the smart terminal can be a mobile phone, a tablet, a laptop, a palmtop, a personal digital assistant or a desktop computer or server, and other types of smart terminals.
  • the technical solution of the present disclosure may be embodied in the form of a software product stored in a storage medium (such as a ROM/RAM, a magnetic disk, an optical disk), including a plurality of instructions for making a terminal. (may be a cell phone, computer, server, air conditioner, or network device, etc.) performs the methods described in various embodiments of the present disclosure.

Abstract

本公开提供了一种标记已读邮件的方法、装置、包括该装置的设备及存储介质。所述方法包括:打开并阅读第一邮件,检测第一邮件中已读的原始邮件内容所涉及的邮件是否包含在收件箱中,如果是,则将所涉及的邮件标记为已读邮件。

Description

标记已读邮件的方法、装置、设备及存储介质 技术领域
本公开涉及(但不限于)电子邮件技术领域。
背景技术
邮件是日常工作中非常重要的沟通工具,在邮箱分组和邮件内容加密等方面的技术都比较成熟。然而经常会遇到在同一个主题邮件上进行多次讨论、回复或转发,相关收件人都会收到多封同一主题的讨论邮件。在后邮件正文中也通常会包括在此之前的相关的邮件内容。用户打开在后邮件时,通过查看其中包含的原始邮件内容,已经清楚这个主题讨论的来龙去脉,但是邮件系统对其内容已经包含在在后邮件中并被用户阅读的在先邮件并没有做任何处理,换句话说,如果在先邮件没有被打开过,则还是显示未读状态。
发明内容
根据本公开的一个方面,提供一种标记已读邮件的方法,包括:打开并阅读第一邮件,检测所述第一邮件中已读的原始邮件内容所涉及的邮件是否包含在收件箱中;以及如果所述已读的原始邮件内容所涉及的邮件包含在所述收件箱中,则将所涉及的邮件标记为已读邮件。
根据本公开的另一个方面,提供一种标记已读邮件的装置,包括:检测模块,其被配置成在打开并阅读第一邮件后,检测所述第一邮件中已读的原始邮件内容所涉及的邮件是否包含在收件箱中;以及标记模块,如果所述已读的原始邮件内容所涉及的邮件包含在所述收件箱中,则所述标记模块将所涉及的邮件标记为已读邮件。
根据本公开的再一个方面,提供一种标记已读邮件的设备,包括存储器和处理器,在存储器上存储有计算机程序,计算机程序被处理器执行时,处理器执行根据本公开的标记已读邮件的方法。
根据本公开的又一个方面,提供一种存储介质,其上存储有计算机程序,该计算机程序被处理器执行时,所述处理器执行根据本公 开的标记已读邮件的方法。
附图说明
附图用来提供对本公开实施例的进一步理解,并且构成说明书的一部分,与本申请的实施例一起用于解释本公开,并不构成对本公开的限制。在附图中:
图1为根据本公开实施例的标记已读邮件的方法的流程图;
图2为根据本公开另一实施例的标记已读邮件的方法的流程图;
图3为根据本公开另一实施例的标记已读邮件的方法的流程图;
图4为根据本公开实施例的标记已读邮件的装置的模块结构图;
图5为图4所示的装置的另一模块结构图;以及
图6为根据本公开实施例的标记已读邮件的设备的结构示意图。
本公开目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。
具体实施方式
为了使本公开的方案及有益效果更加清楚、明白,以下结合附图和实施例,对本公开进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本公开,并不用于限定本公开。
本公开中描述的设备可以包括诸如手机、平板电脑、笔记本电脑、掌上电脑、个人数字助理(Personal Digital Assistant,PDA)等移动设备,以及诸如台式计算机、服务器等固定设备。在后续的描述中,使用用于表示元件的诸如“模块”、“部件”或“单元”的后缀仅为了有利于本公开的说明,其本身没有特定的意义。因此,“模块”、“部件”或“单元”可以混合地使用。
下面将参考附图1至图3描述根据本公开各实施例的标记已读邮件的方法。
图1为根据本公开实施例的标记已读邮件的方法的流程图。
如图1所示,根据本公开实施例的标记已读邮件的方法可与包括步骤S101至S102。
在步骤S101中,打开并阅读第一邮件,检测所述第一邮件中已读的原始邮件内容所涉及的邮件是否包含在收件箱中。
在本公开的实施例中,当用户打开一封邮件时,一般都是通过网络视图来加载邮件内容。此时,可以利用HTML(Hyper Text Mark-up Language,超文本标记语言)DOM(Document Object Model,文档对象模型)树、XHTML(The Extensible Hyper Text Markup Language,可扩展超文本标记语言)DOM树或XML(Extensible Markup Language,可扩展标记语言)DOM树等方法解析已读的原始邮件内容。然而,将理解的是,在不偏离本公开的范围的情况下,也可以通过其他方法解析已读的原始邮件内容。
步骤S101具体可以这样实现:根据打开的第一邮件的当前阅读位置,动态识别是否包含原始邮件内容。可以根据在页面中显示的第一邮件的内容确定第一邮件的当前阅读位置。应当认识到,页面中的内容显示到哪就表明当前阅读到哪,并且随着用户继续向下滚动查看第一邮件,阅读位置也进一步被更新。当第一邮件包含原始邮件内容时,根据第一邮件的当前阅读位置,利用HTML DOM树解析第一邮件中已读的原始邮件内容,并进一步识别已读的原始邮件内容所涉及的邮件的收件人列表是否包括当前邮箱账户。如果该收件人列表包括当前邮箱账户,则判定与已读的原始邮件内容对应的邮件在当前邮箱账户的收件箱中;否则,判定与已读的原始邮件内容对应的邮件与当前邮箱账户无关,无需对其处理。
在本公开的实施例中,HTML DOM定义了一套标准的、针对HTML文档的对象。根据DOM,HTML文档中的每个成分都是一个节点。整个文档是一个文档节点,每个HTML标签是一个元素节点,并且包含在HTML元素中的文本是文本节点。每一个HTML属性是一个属性节点,注释属于注释节点,节点彼此都有等级关系。HTML文档中的所有节点组成了一个文档树(或节点树)。HTML文档中的每个元素、属性、文本等都代表着树中的一个节点。树起始于文档节点,并由此继续伸出枝条,直到处于这棵树最低级别的所有文本节点为止。因此,对HTML元素进行添加、移动、改变或移除的方法和属性,都是通过文 档对象模型来获得的。而所有的浏览器都执行了万维网联盟(World Wide Web Consortium,W3C)发布的第一级的DOM规范标准,因此,对DOM而言不存在兼容性问题。作为替代方案,也可与采用XHTML DOM树以及XML DOM树根据当前阅读位置解析已读原始邮件。
在步骤S102中,将已读的原始邮件内容所涉及的邮件标记为已读邮件。
可以在检测到已读的原始邮件内容所涉及的邮件包含在收件箱中后,直接在收件箱中查找所涉及的邮件并将其标记为已读状态。为了减少内存资源的消耗,可以减少执行次数,因此步骤S102可以实现为:当检测到第一邮件中已读的原始邮件内容所涉及的邮件包含在收件箱中时,将所涉及的邮件的索引增加到待标记队列中;当检测到第一邮件被阅读完毕或关闭时,将待标记队列中的所涉及的邮件标记为已读状态。如此,可以一次性标记完所有已读原始邮件。
在根据本公开实施例,可以避免重复阅读已阅读的邮件内容,从而提高邮件处理效率。
图2为根据本公开另一实施例的标记已读邮件的方法的流程图。
如图2所示,根据本公开另一实施例的标记已读邮件的方法可以包括步骤S201至S207。
在步骤S201中,打开并阅读第一邮件,然后方法进行到步骤S202。
在步骤S202中,根据第一邮件的当前阅读位置动态识别是否包含原始邮件内容,如果是,则执行步骤S203,否则方法进行到步骤S206。
在步骤S203中,根据第一邮件的当前阅读位置,利用HTML DOM树解析第一邮件中已读的原始邮件内容,然后方法进行到步骤S204。
在步骤S204中,判断已读的原始邮件内容所涉及的邮件的收件人列表是否包括当前邮箱账户,如果是,则执行步骤S205,否则执行步骤S206。
在步骤S205中,从收件箱中查找与已读的原始邮件内容对应的邮件,并将其标记为已读邮件,然后方法进行到步骤S206。
可以将已读的原始邮件内容的发件人、发件时间、邮件标题等作为查找关键词,从当前邮箱账户的收件箱中查找与其对应的邮件。
在步骤S206中,判断第一邮件是否被阅读完或关闭,如果是,则执行步骤S207,否则返回步骤S202。
在步骤S207中,结束流程。
本实施例中,随着用户不断滚动或下拉当前邮件位置来阅读第一邮件内容,不断检测已读的原始邮件内容所涉及的邮件,如果检测到的所涉及的邮件的收件人列表中包含当前邮箱账户,则从收件箱中查找到所涉及的邮件并标记为已读,避免重复阅读已阅读的邮件内容,从而提高邮件处理效率。
图3为根据本公开另一实施例的标记已读邮件的方法的流程图。
如图3所示,根据本公开另一实施例的标记已读邮件的方法可以包括步骤S301至S309。
在步骤S301中,打开并阅读第一邮件,然后方法进行到步骤S302。
在步骤S302中,检测第一邮件的当前阅读位置,然后方法进行到步骤S303。
在步骤S303中,根据第一邮件的当前阅读位置动态识别是否包含原始邮件内容,如果是,则执行步骤S304,否则方法进行到步骤S306。
在步骤S304中,根据该邮件的当前阅读位置,利用HTML DOM树解析该邮件中已读的原始邮件内容,然后方法进行到步骤S305。
在步骤S305中,判断已读的原始邮件内容所涉及的邮件的收件人列表是否包括当前邮箱账户,如果是,则执行步骤S307,否则执行步骤S306。
在步骤S307中,将与已读的原始邮件内容对应的邮件的索引增加到待标记队列中,然后方法进行到步骤S306。
可以将已读的原始邮件内容的发件人、发件时间、邮件标题等作为查找关键词建立索引,以便后继从当前邮箱账户的收件箱中查找与其对应的邮件。
在步骤S306中,判断第一邮件是否被阅读完或关闭,如果是,则执行步骤S308,否则返回步骤S303。
在步骤S308中,根据待标记队列的邮件索引从收件箱中查找与已读的原始邮件内容对应的邮件,并将其标记为已读,然后方法进行到步骤S309。
可以根据待标记队列的邮件索引(比如发件人、发件时间、邮件标题等),从当前邮箱账户的收件箱中查找对应的邮件。
在步骤S309中,结束流程。
本实施例中,随着用户不断滚动或下拉当前的第一邮件来阅读第一邮件内容,可以不断检测到已读的原始邮件内容所涉及的邮件,如果检测到的所涉及的邮件的收件人列表中包含当前邮箱账户,则将所涉及的邮件的索引增加到待标记队列中。用户阅读完当前的第一邮件或者退出当前的第一邮件时,查找待标记队列中对应的邮件并将其标记为已读,从而在根据图2描述的实施例的基础上提高系统性能,避免重复阅读已阅读的邮件内容,提高邮件处理效率。
图4为根据本公开实施例的标记已读邮件的装置的模块结构图。
如图4所示,根据本公开实施例的标记已读邮件的装置可以包括检测模块401和标记模块402。
检测模块401可以被配置成在打开并阅读第一邮件后,检测第一邮件中已读的原始邮件内容所涉及的邮件是否包含在收件箱中。
检测模块401可以被配置成根据第一邮件的当前阅读位置动态识别是否包含原始邮件内容。可以根据在页面中显示的第一邮件的内容确定第一邮件的当前阅读位置。当第一邮件包含原始邮件内容时,根据第一邮件的当前阅读位置,利用HTML DOM树解析第一邮件中已读的原始邮件内容,并进一步识别所述已读的原始邮件内容所涉及的邮件的收件人列表是否包括当前邮箱账户。如果收件人列表包括当前邮箱账户,则判定与已读的原始邮件内容对应的邮件在当前邮箱账户的收件箱中;否则,判定与已读的原始邮件内容对应的该邮件与当前邮箱账户无关,无需对其处理。
如果已读的原始邮件内容所涉及的邮件包含在所述收件箱中, 则标记模块402可以所涉及的邮件标记为已读邮件。
图5为图4所示的装置的另一模块结构图。
如图5所示,检测模块401可以包括阅读位置检测单元4011、邮件解析单元4012和判定单元4013。阅读位置检测单元4011可被配置成检测第一邮件的当前阅读位置。邮件解析单元4012可被配置成根据所述当前阅读位置动态识别第一邮件是否包含原始邮件内容,并且在第一邮寄包含原始邮件内容时,根据所述当前阅读位置利用HTML DOM树解析第一邮件中已读的原始邮件内容。判定单元4013可被配置成识别所述已读的原始邮件内容所涉及的邮件的收件人列表是否包含当前邮箱账户。如果是,则判定与已读的原始邮件内容对应的邮件在当前邮箱账户的收件箱中;否则,判定与已读的原始邮件内容对应的该邮件与当前邮箱账户无关,无需对其处理。
如图5所示,标记模块402可以包括记录单元4021和操作单元4022。记录单元4021可被配置成将已读的原始邮件内容所涉及的邮件的索引增加到待标记队列中。操作单元4022可被配置成当检测到第一邮件被阅读完毕或关闭时,根据所述待标记队列中的所涉及的邮件索引,将所涉及的邮件标记为已读状态。如此,可以一次性标记完所有已读原始邮件。
图6为根据本公开实施例的标记已读邮件的设备的结构示意图。
图6所示的设备可以是智能终端,并且包括存储器609,其可用于存储软件程序以及各种数据。存储器609可包括存储程序区和存储数据区。存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器609可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。
图6所示的设备还可以包括处理器610。处理器610是智能终端的控制中心,利用各种接口和线路连接整个移动终端的各个部分,通过运行或执行存储在存储器609内的软件程序和/或模块,以及调用存储在存储器609内的数据,执行移动终端的各种功能和处理数据, 从而对移动终端进行整体监控。处理器610可包括一个或多个处理单元。处理器610可集成应用处理器和调制解调处理器,应用处理器主要处理操作系统、用户界面和应用程序等,并且调制解调处理器主要处理无线通信。可以理解的是,调制解调处理器也可以不集成到处理器中。智能终端可以是手机、平板电脑、笔记本电脑、掌上电脑、个人数字助理或台式计算机或服务器以及其他类型的智能终端。
在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件。基于这样的理解,本公开的技术方案可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本公开各个实施例所述的方法。
上面结合附图对本公开的实施例进行了描述,但是本公开并不局限于上述的具体实施方式。上述的具体实施方式仅仅是示意性的,而不是限制性的。本领域的普通技术人员在本公开的启示下,在不脱离本公开宗旨和权利要求所保护的范围情况下,还可做出很多形式,这些均属于本公开的保护之内。

Claims (13)

  1. 一种标记已读邮件的方法,包括:
    打开并阅读第一邮件,检测所述第一邮件中已读的原始邮件内容所涉及的邮件是否包含在收件箱中;以及
    如果所述已读的原始邮件内容所涉及的邮件包含在所述收件箱中,则将所涉及的邮件标记为已读邮件。
  2. 根据权利要求1所述的标记已读邮件的方法,其中,检测所述第一邮件中已读的原始邮件内容所涉及的邮件是否包含在收件箱中的步骤包括:
    检测所述第一邮件的当前阅读位置;
    根据所述当前阅读位置,动态识别所述第一邮件是否包含所述原始邮件内容;
    在所述第一邮件包含所述原始邮件内容的情况下,根据所述当前阅读位置,解析所述已读的原始邮件内容;
    识别所述已读的原始邮件内容所涉及的邮件的收件人列表是否包含当前邮箱账户;以及
    如果所述已读的原始邮件内容所涉及的邮件的收件人列表包含当前邮箱账户,则判定所述已读的原始邮件内容所涉及的邮件包含在所述收件箱中;否则,判定与所述已读的原始邮件内容所对应的邮件与所述当前邮箱账户无关。
  3. 根据权利要求2所述的标记已读邮件的方法,其中,根据所述当前阅读位置,解析所述已读的原始邮件内容的步骤包括:
    利用超文本标记语言文档对象模型树、扩展超文本标识语言文档对象模型树或可扩展标记语言文档对象模型树解析所述已读的原始邮件内容。
  4. 根据权利要求3所述的标记已读邮件的方法,其中,将所涉 及的邮件标记为已读邮件的步骤包括:
    将所涉及的邮件的索引增加到待标记队列中;以及
    当检测到所述第一邮件被阅读完毕或关闭时,根据所述待标记队列中的所涉及的邮件的索引,从所述收件箱查找所涉及的邮件并自动标记为已读邮件。
  5. 根据权利要求4所述的标记已读邮件的方法,其中,根据所述原始邮件内容的发件人、发件时间、邮件标题建立所述索引。
  6. 一种标记已读邮件的装置,包括:
    检测模块,其被配置成在打开并阅读第一邮件后,检测所述第一邮件中已读的原始邮件内容所涉及的邮件是否包含在收件箱中;以及
    标记模块,如果所述已读的原始邮件内容所涉及的邮件包含在所述收件箱中,则所述标记模块将所涉及的邮件标记为已读邮件。
  7. 根据权利要求6所述的标记已读邮件的装置,其中,所述检测模块包括:
    阅读位置检测单元,其被配置成检测所述第一邮件的当前阅读位置;
    解析单元,其被配置成根据所述当前阅读位置,动态识别所述第一邮件是否包含所述原始邮件内容;以及在所述第一邮件包含所述原始邮件内容的情况下,根据所述当前阅读位置,解析所述已读的原始邮件内容;以及
    判定单元,其被配置成识别所述已读的原始邮件内容所涉及的邮件的收件人列表是否包含当前邮箱账户;以及如果所述已读的原始邮件内容所涉及的邮件的收件人列表包含当前邮箱账户,则判定所述已读的原始邮件内容所涉及的邮件包含在所述收件箱中;否则,判定与所述已读的原始邮件内容所对应的邮件与所述当前邮箱账户无关。
  8. 根据权利要求7所述的标记已读邮件的装置,其中,所述解析单元被配置成:
    利用超文本标记语言文档对象模型树、扩展超文本标识语言文档对象模型树或可扩展标记语言文档对象模型树解析所述已读的原始邮件内容。
  9. 根据权利要求8所述的标记已读邮件的装置,其中,所述标记模块包括:
    记录单元,其被配置成将所涉及的邮件的索引增加到待标记队列中;以及
    操作单元,当检测到所述第一邮件被阅读完毕或关闭时,所述操作单元根据所述待标记队列中的所涉及的邮件的索引,从所述收件箱查找所涉及的邮件并自动标记为已读邮件。
  10. 根据权利要求9所述的标记已读邮件的装置,其中,根据所述原始邮件内容的发件人、发件时间、邮件标题建立所述索引。
  11. 一种标记已读邮件的设备,包括存储器和处理器,在所述存储器存储有计算机程序,所述计算机程序被所述处理器执行时,所述处理器执行根据权利要求1至5中任意一项所述的标记已读邮件的方法。
  12. 根据权利要求11所述的标记已读邮件的设备,其中,所述标记已读邮件的设备包括下列之一:
    手机、平板电脑、笔记本电脑、掌上电脑、个人数字助理、台式计算机和邮件服务器。
  13. 一种存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时,所述处理器执行根据权利要求1至5中任意一项所述的标记已读邮件的方法。
PCT/CN2018/103792 2017-09-01 2018-09-03 标记已读邮件的方法、装置、设备及存储介质 WO2019042448A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710778137.3 2017-09-01
CN201710778137.3A CN109428807A (zh) 2017-09-01 2017-09-01 标记已读邮件的方法、装置、设备及存储介质

Publications (1)

Publication Number Publication Date
WO2019042448A1 true WO2019042448A1 (zh) 2019-03-07

Family

ID=65512700

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/103792 WO2019042448A1 (zh) 2017-09-01 2018-09-03 标记已读邮件的方法、装置、设备及存储介质

Country Status (2)

Country Link
CN (1) CN109428807A (zh)
WO (1) WO2019042448A1 (zh)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102272788A (zh) * 2008-12-31 2011-12-07 摩托罗拉移动公司 用于处理电子邮件的方法和系统
US20120066153A1 (en) * 2010-08-18 2012-03-15 Psi Systems, Inc. Shipping label kiosk
CN104065559A (zh) * 2013-03-20 2014-09-24 腾讯科技(深圳)有限公司 邮件标记方法及装置

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101193126B1 (ko) * 2008-09-29 2012-10-19 교세라 가부시키가이샤 전자메일수신장치 및 전자메일수신방법
CN102663291B (zh) * 2012-03-23 2015-02-25 北京奇虎科技有限公司 邮件的信息提示方法及装置

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102272788A (zh) * 2008-12-31 2011-12-07 摩托罗拉移动公司 用于处理电子邮件的方法和系统
US20120066153A1 (en) * 2010-08-18 2012-03-15 Psi Systems, Inc. Shipping label kiosk
CN104065559A (zh) * 2013-03-20 2014-09-24 腾讯科技(深圳)有限公司 邮件标记方法及装置

Also Published As

Publication number Publication date
CN109428807A (zh) 2019-03-05

Similar Documents

Publication Publication Date Title
JP5759228B2 (ja) 拡張されたエンティティ抽出を基礎とするメッセージ及び会話間の意味的類似性の計算方法
AU2012327239B2 (en) Method and apparatus for automatically summarizing the contents of electronic documents
US9680782B2 (en) Identifying relevant content in email
CA2865187C (en) Method and system relating to salient content extraction for electronic content
JP4812747B2 (ja) 情報を取り込み抽出する方法及びシステム
AU2011341505B2 (en) Using text messages to interact with spreadsheets
US9720904B2 (en) Generating training data for disambiguation
WO2017096987A1 (zh) 消息显示方法及终端设备
US8762375B2 (en) Method for calculating entity similarities
KR20160015240A (ko) 통신 채널을 통한 캡쳐 서비스
US20150186455A1 (en) Systems and methods for automatic electronic message annotation
US9043413B2 (en) System and method for extracting, collecting, enriching and ranking of email objects
CN109074388B (zh) 基于消息内容划分缩略图预览的优先级
US9727647B1 (en) Annotating articles
CN112162965A (zh) 一种日志数据处理的方法、装置、计算机设备及存储介质
WO2015032124A1 (zh) 一种电子邮件分类方法及其装置
US20160004770A1 (en) Generation and use of an email frequent word list
WO2011020372A1 (zh) 一种在移动终端上进行搜索的方法及装置
CN104077363B (zh) 邮件服务器及其进行邮件全文搜索的方法
WO2019042448A1 (zh) 标记已读邮件的方法、装置、设备及存储介质
JP5639956B2 (ja) 電子メール情報表示システムおよび電子メールクライアント
CN101504666A (zh) 在互联网上按照源内容进行搜索的方法
CN110851346A (zh) 查询语句边界问题的检测方法、装置、设备及存储介质
CN104424334A (zh) Xml文档节点的构建方法和装置
TWI287720B (en) Junk mail filtering systems and methods based on abnormal features in e-mails

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18852654

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED 08/09/2020)

122 Ep: pct application non-entry in european phase

Ref document number: 18852654

Country of ref document: EP

Kind code of ref document: A1