CN111723562A - Method and system for displaying mail reading time, storage medium and computing device - Google Patents

Method and system for displaying mail reading time, storage medium and computing device Download PDF

Info

Publication number
CN111723562A
CN111723562A CN202010503808.7A CN202010503808A CN111723562A CN 111723562 A CN111723562 A CN 111723562A CN 202010503808 A CN202010503808 A CN 202010503808A CN 111723562 A CN111723562 A CN 111723562A
Authority
CN
China
Prior art keywords
mail
reading
unread
recommended
reading time
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010503808.7A
Other languages
Chinese (zh)
Other versions
CN111723562B (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.)
Perfect World Holding Group Ltd
Original Assignee
Perfect World Holding Group 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 Perfect World Holding Group Ltd filed Critical Perfect World Holding Group Ltd
Priority to CN202010503808.7A priority Critical patent/CN111723562B/en
Publication of CN111723562A publication Critical patent/CN111723562A/en
Application granted granted Critical
Publication of CN111723562B publication Critical patent/CN111723562B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/205Parsing
    • G06F40/216Parsing using statistical methods

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Probability & Statistics with Applications (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a method, a system, a storage medium and a computing device for displaying the reading time of a mail, wherein the method comprises the steps of selecting any unread mail in an inbox of a preset electronic mailbox; acquiring text information of the unread mail, and calculating the number of characters and/or pictures contained in the text information; counting the recommended reading time of the unread mail according to the number of characters and/or the number of pictures; and displaying the statistical recommended reading time of the unread mails. Based on the method for displaying the reading time of the mail, the approximate reading time of the unread mail can be effectively counted and displayed through the number of characters and/or the number of pictures in the text information of the unread mail, and the reading time reference of the unread mail can be provided for the user with the preset electronic mailbox, so that the user can independently and reasonably arrange time, and the working and living efficiency is improved.

Description

Method and system for displaying mail reading time, storage medium and computing device
Technical Field
The invention relates to the technical field of internet, in particular to a method, a system, a storage medium and a computing device for displaying the reading time of a mail.
Background
Time is a valuable resource for people, and with the continuous acceleration of the life rhythm of people, the valuable time can be saved by reasonably arranging the time, so that a lot of meaningful things can be done. If the time cannot be reasonably arranged, certain influence on work and life can be caused.
In life and work, people often communicate through mails, and a lot of time is spent on reading the mails. Therefore, how to accurately count the time spent by the user in the mail system so that the user reasonably arranges the time is an urgent problem to be solved.
Disclosure of Invention
In view of the above problems, the present invention has been made to provide a method, system, storage medium, and computing device for constructing a personalized character, which overcome or at least partially solve the above problems, and can provide a mail reading duration reference to a user, so that the user can autonomously and reasonably schedule his/her time, and thus work and life efficiency is improved.
According to one aspect of the invention, a method for displaying the reading time of a mail is provided, which comprises the following steps:
selecting any unread mail in an inbox of a preset electronic mailbox;
acquiring text information of the unread mail, and calculating the number of characters and/or pictures contained in the text information;
counting the recommended reading time of the unread mail according to the number of the characters and/or the number of the pictures;
and displaying the counted recommended reading time of the unread mails.
According to another aspect of the present invention, there is also provided a display system for displaying a reading time of mail, including:
the selection module is suitable for selecting any unread mail in an inbox of a preset electronic mailbox;
the calculation module is suitable for acquiring the text information of the unread mail and calculating the number of characters and/or pictures contained in the text information;
the first statistical module is suitable for counting the recommended reading time of the unread mail according to the number of the characters and/or the number of the pictures;
and the display module is suitable for displaying the counted recommended reading time of the unread mails.
According to yet another aspect of the present invention, there is also provided a computer storage medium storing computer program code which, when run on a computing device, causes the computing device to execute the method of displaying mail reading duration described in any one of the above.
According to yet another aspect of the present invention, there is also provided a computing device comprising:
a processor;
a memory storing computer program code; the computer program code, when executed by the processor, causes the computing device to perform any of the above-described mail reading duration display methods.
The embodiment of the invention provides a method, a system, a storage medium and a computing device for displaying the reading time of a mail. Based on the method for displaying the reading time of the mail, provided by the embodiment of the invention, the approximate reading time of the unread mail can be effectively counted through the number of characters and/or the number of pictures in the text information of the unread mail, and the reading time reference of the unread mail is provided for the user with the preset electronic mailbox, so that the user can independently and reasonably arrange time, and the working and living efficiency is further improved.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
The above and other objects, advantages and features of the present invention will become more apparent to those skilled in the art from the following detailed description of specific embodiments thereof, taken in conjunction with the accompanying drawings.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the invention and not to limit the invention. In the drawings:
fig. 1 is a flowchart illustrating a method for displaying a reading duration of an email according to an embodiment of the present invention;
FIG. 2 is a diagram illustrating an email reading duration display interface according to an embodiment of the invention;
FIG. 3 is a diagram illustrating an email reading duration display interface according to another embodiment of the invention;
FIG. 4 is a diagram illustrating an exemplary display system for reading email messages according to the present invention;
fig. 5 is a schematic structural diagram of a display system for reading the mail duration according to another embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the invention are shown in the drawings, it should be understood that the invention can be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art.
To solve the above technical problem, an embodiment of the present invention provides a method for displaying a mail reading duration, and as can be seen from fig. 1, the method for displaying a mail reading duration provided by the embodiment of the present invention may include:
step S102, selecting any unread mail in an inbox of a preset electronic mailbox;
step S104, obtaining text information of the unread mail, and calculating the number of characters and/or pictures contained in the text information;
step S106, counting the recommended reading time of the unread mail according to the number of characters and/or the number of pictures;
and step S108, displaying the counted recommended reading time of the unread mails.
The embodiment of the invention provides a method for displaying the reading time of a mail, which can be used for acquiring the text information of an unread mail and calculating the number of characters and/or pictures contained in the unread mail for any unread mail in an inbox of a preset electronic mailbox, and then counting the recommended reading time of the unread mail according to the number of the characters and/or the number of the pictures and displaying the unread mail. Based on the method for displaying the reading time of the mail, provided by the embodiment of the invention, the approximate reading time of the unread mail can be effectively counted through the number of characters and/or the number of pictures in the text information of the unread mail, and the reading time reference of the unread mail is provided for the user with the preset electronic mailbox, so that the user can independently and reasonably arrange time, and the working and living efficiency is further improved.
The preset email box in this embodiment may be an email box for any user, and an unread email is randomly selected in the preset email box locally or at a server side to count the recommended reading time.
Referring to step S104, the text information of the unread email may be obtained first, and then the number of characters and/or the number of pictures included in the text information may be calculated.
Generally, the text and/or the picture of the mail are mainly in the text of the mail, so the text information of the unread mail can be obtained first to count the text number and/or the picture number in the following. Optionally, when the text information of the unread mail is obtained, the specified content field information of the web page corresponding to the unread mail may be obtained. In practical application, when a readMessage method is used to read an email, a content field can be obtained, and information contained in the content field is the specified content field information mentioned in the embodiment of the present invention.
Further, when the number of characters included in the text information is calculated, the html tag in the specified content field information may be deleted to obtain plain text information in the text information, and the number of characters in the plain text information is counted and used as the number of characters included in the text information.
When the number of pictures included in the text information is calculated, the number of image tags included in the specified content field information can be identified, the number of image tags is calculated, and the number of image tags is used as the number of pictures included in the text information.
In the embodiment of the invention, the number of the characters and the pictures in the text information can be counted through js at the web end. In general, the pictures in the mail are mainly contained in the text information of the unread mail, and therefore, in this embodiment, when counting the text information, redundant hypertext markup language tags (i.e., tags) in the text information can be removed, so that the number of characters can be accurately counted after obtaining the pure text information. In addition, in the webpage, the image element (img element) represents that one image is embedded into the webpage, so that the statistics of the number of the images can be quickly and accurately realized by counting the number of the image tags in the text information.
For example, assume that the fields of the acquired content are as follows:
"< p > < img src ═ https:// img.zone139. com/describe// upload/2020/04/26/4299// images/1589270352492_585.jpg \ style ═ border:0 px; vertical-align: top; overhead: hidden; \\\\\\ span ═ font-size:14px \ \ > " Microsoft YaHei " Verdana, simsung \ "> < span style ═ color: rgb (77,77,77) \" > < span style ═ background-color: rgb (255 ) \\ "> < span style ═ line-height:20pt \ p > < span style ═ font-size:14px \ j" > < span style ═ font-family: microsoft-yakui "> today, people chat about the book. The method is characterized in that the method comprises the following steps of (1), wherein the following steps are used for solving a problem of thinking first, which is more valuable to us in ancient times of cultural spirits, wherein the problem is that the following steps are carried out in a certain order, and the problem is that the following steps are carried out in a certain order, namely, 14px \ in the inventor, 14 > < span style? "
When the text information is acquired, firstly, the redundant tag can be deleted in the following way:
function delHtmlTag(str){
return str place (/ [. sup. ] + >/g, "); // remove all html tags
}
The pure text information of the text information can be obtained through the steps, namely: today, a person chats about reading books. Think first a question, which of the ancient literature gods has more reference value to us? "
After the pure text information is acquired, the number of characters included in the pure text information is counted and then the number of characters included in the pure text information is used as the number of characters included in the text information. In the present embodiment, the number of characters is 45.
In addition, it can be seen that the content in the above contains img tags (image tags), and optionally, the number of img tags (image tags) can be obtained by the following method:
Figure BDA0002525808720000051
in the present embodiment, the number of img tags (image tags) is 2, that is, the number of pictures contained in the body text information is 2.
In practical application, the text information of the unread mail may only contain words or only contain pictures, or both words and pictures, so that in practical application, the number of words and/or the number of pictures in the text information of the unread mail can be selectively calculated according to the content actually contained in the text information.
Further, referring to step S106, after the number of characters and/or the number of pictures are obtained, the recommended reading duration of the unread mail can be counted according to the number of characters and/or the number of pictures.
In an optional embodiment of the present invention, the recommended reading duration of the unread mail may be counted in the following manner:
s1-1, acquiring a preset text reading speed and/or a preset picture reading speed;
s1-2, calculating a first recommended reading time length of the unread mail based on the preset character reading speed and the character number; and/or calculating a second recommended reading time of the unread mail based on the preset picture reading speed and the number of pictures;
and S1-3, counting the recommended reading time of the unread mail according to the first recommended reading time and/or the second recommended reading time.
That is to say, before counting the recommended reading duration of the unread mail, the preset text reading speed and/or the preset picture reading speed may be obtained, in this embodiment, the preset text reading speed and the preset picture reading speed may be an average text reading speed and an average picture reading speed obtained after statistical learning is performed in advance based on batch data, and both may be represented by constants. For example, the obtained preset reading speed of the text
Figure BDA0002525808720000061
Word/minute (about 6.7 words/second), and the preset picture reading speed β is 1/5 seconds.
Then, the recommended reading time of the unread mail with the number of characters of 45 and the number of pictures of 2 exemplified above is: 45/6.7+ 2X 5 ≈ 16.7 seconds.
In the embodiment of the invention, the preset text reading speed and/or the preset picture reading speed are/is directly obtained, the duration of the unread mails can be rapidly counted, and an effective reference basis is further provided in the process of arranging work and life projects of a user.
In another optional embodiment of the present invention, the recommended reading time of the unread mail may be counted as follows:
s2-1, calculating the actual reading speed of the characters and/or the actual reading speed of the pictures;
s2-2, calculating a third recommended reading time length of the unread mail based on the actual character reading speed and the character number; and/or calculating a fourth recommended reading time length of the unread mail based on the actual picture reading speed and the number of pictures;
and S2-3, counting the recommended reading time of the unread mail according to the third recommended reading time and/or the fourth recommended reading time.
In this embodiment, the actual text reading speed and/or the actual picture reading speed may be obtained by performing analysis and calculation according to the actual mail reading process of the user in the preset electronic mailbox. In an alternative embodiment of the present invention, the step S2-1 of calculating the actual text reading speed and/or the actual picture reading speed may include:
s2-1-1, obtaining a plurality of read mails in the inbox and the actual recommended reading time of each read mail. The number of the selected read mails may be selected according to all the read mails in the preset email box, may select all the read mails, or may randomly select other numbers of the read mails, which is not limited in the embodiments of the present invention.
S2-1-2, screening out the target read mails of which the actual recommended reading time is within the preset effective recommended reading time threshold from the multiple read mails. Before that, in the working process of a preset electronic mailbox, a statistical code can be added into a mail reading page, when a user opens an unread mail, a timestamp 1 for starting reading can be automatically printed on a log platform, when the user finishes reading the mail, a timestamp 2 is printed, and the stay time of the user on the mail page can be calculated through two timestamps (the timestamp 1 and the timestamp 2), so that the stay time can be used as the actual recommended reading time of the mail.
In addition, the effective recommended reading time period mentioned above may be preset with a threshold value, which may be calculated according to the average recommended reading time period a (unit minute or second) of the big data statistics, for example, the threshold value may be a numerical range between 0.8A and 1.2A. Judging whether the recommended reading time length of each read mail is between 0.8A and 1.2A to judge whether the recommended reading time length is the effective recommended reading time length, and further taking the read mail corresponding to the effective recommended reading time length as the target read mail.
S2-1-3, acquiring the number of characters and/or pictures of each target read mail. The number of characters and/or the number of pictures of the target read mail can be obtained by the method mentioned in the above embodiment, and details are not described here.
And S2-1-4, calculating the actual character reading speed and/or the actual picture reading speed based on the character number and/or the picture number of the read mails of each target and the actual recommended reading time length.
In the embodiment of the invention, when the actual character reading speed and/or the actual picture reading speed are calculated based on the character number and/or the picture number of the target read mails and the actual recommended reading time length, the actual character reading speed and/or the actual picture reading speed of each target read mail can be calculated first, and then the average value of the actual character reading speed and the actual picture reading speed is taken as the final actual character reading speed and actual picture reading speed.
For example, assuming that the recommended reading time length is denoted by t, the recommended reading time lengths for each recorded read mail are respectively denoted as t1, t2, t3 … tn; the reading speed of the characters is recorded as a, and the reading speed of the pictures is recorded as b; the number of texts is recorded as cT, and the number of characters corresponding to each read mail is respectively represented as cT1 and cT2 … cTn; the number of pictures is denoted as cI, and the number of pictures corresponding to each read mail is denoted as cI1 and cI2 … cIn, respectively, so that the following calculation formula is given:
t1=a×cT1+b×cI1
t2=a×cT2+b×cI2
a=(t2×cI1-t1×cI2)/(cT2×cI1-cT1×cI2)
b=(t2×cT1-t1×cT2)/(cI2×cT1–cI1×cT2)
average a ═ a1+ a2+ … + an)/n
Average b ═ b1+ b2+ … + bn)/n
The average a and the average b obtained by the above formula are the final actual character reading speed and the actual picture reading speed, and the recommended reading time of the unread mail can be specifically and specifically counted based on the actual character reading speed and the actual picture reading speed, and further the time can be individually counted according to the historical reading habit of the user who is the preset email.
Referring to the step S108, after the recommended reading duration of the unread mail is counted, the counted recommended reading duration of the unread mail may be displayed, and specifically, the recommended reading duration of the unread mail may be displayed in the display interface of the inbox. In an optional embodiment of the present invention, in step S108, when the recommended reading time is displayed, a display interface of the inbox may be obtained, and a display area of the unread mail is determined in the display interface; and additionally arranging a first display window in the display area, and displaying the recommended reading time of the unread mails in the first display window.
That is, the recommended reading time of each unread mail may be added to the list of inboxes to prompt the user, as shown in fig. 2. The prompting form may be "1 hour 15 minutes", "less than 1 minute", and the like, fig. 2 only schematically shows a display manner and an area showing the recommended reading time period, and this is not specifically limited in the embodiment of the present invention.
Further, when the preset reading starting event of the unread mail is triggered, the recommended reading time of the unread mail is stopped being displayed on the first display window. The preset reading start event may be a click event on an unread mail or an event automatically marked as read. According to the embodiment, the recommended reading time length of the unread mail is stopped being displayed when the preset reading starting event of the unread mail is triggered, so that the read mail and the unread mail can be clearly distinguished and marked, and the use experience of a user is effectively improved.
Optionally, the scheme provided by the embodiment of the present invention may further display the recommended reading duration in the detail page of the email, that is, when the unread email is opened, the recommended reading duration may also be prompted. That is, the step S108 may further include: when detecting that a preset reading starting event of the unread mail is triggered, acquiring a reading interface of the unread mail; and displaying the recommended reading time length in a reading interface of the unread mail. In general, the main components of a piece of mail may include a sender and a recipient. Title, mail body, etc. In this embodiment, as shown in fig. 3, recommended reading duration may also be displayed in the reading interface of the email at the same time, so that the user can view the recommended reading duration conveniently. The preset reading starting event may be a click event of the user on the unread mail or other events, and when the recommended reading time is displayed, the display area and the display mode of the unread mail can be adjusted according to different requirements, which is not limited in the embodiment of the present invention.
In the above description, the preset reading start event of the unread mail may be detected, and in the embodiment of the present invention, the preset reading end event of the unread mail may be detected to calculate the actual reading duration of the unread mail. That is, after detecting that the preset reading start event of the unread mail is triggered, the method may further include: when a preset reading ending event is detected on a reading interface of an unread mail, respectively acquiring a first trigger time for triggering the preset reading starting event and a second trigger time for triggering the preset reading ending event; and recording the real reading time length of the unread mail based on the first trigger time and the second trigger time.
In the embodiment of the invention, the real reading time of the unread mail can be calculated and recorded in time after the unread mail is detected to be read. The real reading time starts when a preset reading starting event is triggered and ends when a preset reading ending event is triggered. The preset reading ending event may be a mark triggered by a user in a specific webpage or other events, and may be specifically set according to different application scenarios and actual requirements, which is not limited in the present invention.
Further, after the real reading time of the unread mail is calculated, the recommended reading time and/or the real reading time of the unread mail can be transmitted back to the server side of the preset electronic mailbox for recording; and synchronously sending the recommended reading time length and/or the real reading time length to an electronic mailbox of a sender of the unread mail for corresponding display. In this embodiment, the recommended reading duration and/or the real reading duration are/is transmitted back to the server, so that data can be recorded, subsequent unified analysis can be performed, the recommended reading durations of other unread mails can be counted more accurately in the subsequent process, or the adjustment of the next relevant recommended reading duration of the mail can be adjusted and evaluated. In addition, in this embodiment, while the recommended reading duration and/or the real reading duration are/is transmitted back to the server, the email box of the sender of the unread email may be synchronously sent to perform corresponding display, for example, the "sent email" sent to the email box of the sender of the unread email is displayed correspondingly, so that the sender can know the email reading condition in time.
In addition to the above, the actual reading time of the unread mail may be displayed at the display area of the unread mail of the inbox. When displaying, the display can be performed by any one of the following modes:
1. and replacing and displaying the recommended reading time displayed in the first display window as the real reading time.
2. And comparing and displaying the recommended reading time length and the real reading time length of the unread mails in the first display window.
3. And displaying the real reading time length at the preset mark of the unread mail. The preset mark can be the mark 'read' of the existing read mail and the real recommended reading time.
The scheme introduced in the embodiment is to count the recommended reading time of any unread mail in a preset electronic mailbox, and in practical application, the recommended reading time of multiple unread mails in an inbox can be counted. That is, the step S108 may further include: acquiring a plurality of unread mails in an inbox; counting the total recommended reading time of a plurality of unread mails; and additionally arranging a second display window in the display list of the inbox, and displaying the total recommended reading time length in the second display window.
In this embodiment, the calculation formula of the total recommended reading time may be as follows:
total recommended reading time ═ SUM (recommended reading time of unread mail 1, recommended reading time of unread mail 2, recommended reading time of … reading mail N)
The total recommended reading duration in this embodiment represents a total recommended reading duration of multiple unread mails in a preset electronic mailbox, where the multiple unread mails may be all unread mails in the preset electronic mailbox (as shown in fig. 2), multiple unread mails subjected to classification statistics according to the receiving time, the sender, and the like, or multiple unread mails selected based on a preset selection instruction (for example, a selection operation of a check box of each unread mail in an inbox list) in the inbox list. The total recommended reading time of the multiple unread mails can be obtained by accumulating the recommended reading time of each selected unread mail, so that the total recommended reading time of the multiple unread mails is accurately calculated and provided for the user, and the user can reasonably plan time conveniently. In practical application, the display area and the display mode of the total recommended reading time can be adjusted according to different requirements, which is not limited in the embodiment of the invention.
In some cases, the unread mail may also carry an attachment, and the attachment of the unread mail may also be downloaded when the recommended reading time of the unread mail is counted; and counting the additional recommended reading time of the unread mail according to the attachment.
In practical application, some unread mails may carry attachments, and for attachments of different document types (such as formats of pictures, words, pdfs, compressed documents, and the like), the number of characters and/or the number of pictures contained in the attachments or compressed files in the attachments can be counted by adopting the method mentioned in the above embodiment after the attachments or the compressed files in the attachments are opened in a decompression manner at a local end or a server end, and then the additional recommended reading time corresponding to the attachments is counted by combining the character reading speed and the picture reading speed, wherein the attachments are processed in a single security mode without leaving any trace.
In an optional embodiment of the present invention, when downloading the attachment of the unread mail, a data sandbox may be created at a local or preset server side of the electronic mailbox, and then the attachment of the unread mail is acquired and downloaded through the data sandbox, and is stored in the data sandbox. Further, when the additional recommended reading time of the unread mail is counted according to the attachment, the additional recommended reading time of the unread mail can be counted according to the attachment through the data sandbox.
The data sandbox mentioned in this embodiment may also be referred to as a data sandbox, which may provide an isolation environment for the running program. Sandboxes generally control the resources that programs therein can access, e.g., sandboxes provide disk and memory space that is reclaimed after use. In the sandbox, access to an external network, access to a real system, and limitation of reading of the input device can be achieved. In addition, the data sandbox provided by the embodiment of the present invention may have a separate space to implement the functions of downloading the attachment and decompressing the unread mail, and the space may be used only to obtain the additional reading time of the attachment, and may hide other contents or delete the attachment after the work is finished.
According to the method provided by the embodiment of the invention, the data sandbox is created, and the acquisition, downloading and storage of the accessory and the statistics of the additional reading time of the accessory are realized by utilizing the independent space in the data sandbox, so that the data security of the accessory can be effectively protected while the statistics of the additional reading time is quickly realized.
As mentioned above, the attachments may be different document types, when the attachments are compressed files, the compressed files may be decompressed by using the data sandbox to obtain decompressed files, and the attachment recommended reading time of the unread mails is counted according to the decompressed files. Because the attachment is stored in the data sandbox, the attachment in the form of a compressed file can be directly decompressed through the data sandbox, so that statistics can be rapidly carried out on the additionally recommended reading time.
In an optional embodiment of the present invention, after counting the additional recommended reading time of the unread mail according to the attachments, the attachments stored in the data sandbox may be deleted. That is, based on the method provided by the embodiment of the present invention, after the additional recommended reading duration of the unread mail is counted, the attachment of the local or server side can be deleted, so that no trace is left in the whole counting process, and not only the server or local memory is not occupied, but also the privacy and security of the related data in the mail can be effectively protected.
After the additional recommended reading duration of the obtained unread mail is calculated, the additional recommended reading duration can be accumulated to the unread duration calculated based on the text information of the unread mail, and the unread duration is used as the total recommended reading duration of the unread mail.
Generally, an e-mail may have various kinds of tags, such as category tags of work, advertisement, business, family, etc., and different weights of recommended reading time may be set for unread new e-mails having different kinds of tags. After the step S108 displays the counted recommended reading duration of the unread mail, the category tag of the unread mail can be obtained; setting the weight of the recommended reading duration according to the category label; and calculating the target reading time length of the unread mail based on the recommended reading time length and the weight of the unread mail. Based on the method provided by the embodiment of the invention, the weights of different recommended reading time lengths are set for the unread mails of different types of labels, so that the calculated target reading time length can better accord with the actual situation, for example: when the category label of the unread mail works, a higher weight can be set, so that the recommended reading time of the unread mail of the working category label is long, and the user experience can be effectively improved.
In practice, the mail in the inbox may be a forward type mail or a reply type mail.
In an optional embodiment of the present invention, if the unread email can be a reply-type email, a first previous email referred by the unread email can also be obtained; the importance level of the first preceding mail is identified, and the weight is adjusted according to the importance level.
That is to say, for the reply type e-mail, the calculation weight of the recommended reading time length can be increased or decreased according to the importance of the previous e-mail, and especially for the unread e-mail with high importance degree, the calculation weight of the recommended reading time length can be increased, so as to avoid that the counted recommended reading time length is short and more time is needed for actually reading because the text information of the unread e-mail is too little. The importance of the unread mail may be preset according to the category label of the unread mail, or may be set according to the attribute of the sender (such as family, leader, colleague, friend, etc.), which is not limited in the present invention.
In practical application, the unread mails may refer to a plurality of first previous mails, and at this time, the first recommended reading time of each first previous mail may be obtained; and analyzing the variation trend of the first recommended reading time length according to the sending time of each first previous mail so as to adjust the weight based on the variation trend.
In this embodiment, the variation trend of the time length of the previous e-mail may be calculated as the weight of the calculation of the recommended reading time length, for example, a downward trend obviously appears for the recommended reading time lengths of a plurality of first previous e-mails, which indicates that the items related to the unread e-mails are basically completed, and at this time, the weight of the recommended reading time lengths of the unread e-mails may be appropriately reduced.
In an optional embodiment of the present invention, the unread email may be a forwarding-type email, and at this time, at least one second previous email referred by the unread email may also be obtained; acquiring a second recommended reading time of each second previous mail; and accumulating the second recommended reading time of each second previous mail to the recommended reading time of the unread mail.
That is, for the forwarding type e-mail, it is desirable that the receiver carefully reads the content of the e-mail before forwarding, and the recommended reading duration of the unread e-mail may be the sum of the second recommended reading durations of the second previous e-mail referred to before, or the second previous e-mail and the unread e-mail are subjected to the total calculation of re-overlapping to obtain and provide the reading duration of the forwarded e-mail related to the unread e-mail to the user.
Based on the same inventive concept, an embodiment of the present invention further provides a display system for reading time duration of mail, as shown in fig. 4, the display system for reading time duration of mail provided by the embodiment of the present invention may include:
the selecting module 410 is suitable for selecting any unread mail in an inbox of a preset electronic mailbox;
the calculation module 420 is adapted to obtain text information of the unread mail and calculate the number of characters and/or pictures contained in the text information;
the first statistical module 430 is adapted to count the recommended reading duration of the unread mail according to the number of characters and/or the number of pictures;
and the display module 440 is adapted to display the counted recommended reading time of the unread mail.
In an optional embodiment of the invention, the calculation module 420 is further adapted to:
acquiring appointed content field information of a webpage corresponding to the unread e-mail;
deleting the hypertext markup language tag in the designated content field information to obtain pure text information in the text information, and counting the number of characters of the pure text information to be used as the number of characters contained in the text information; and/or
And identifying the image tags contained in the specified content field information, calculating the number of the image tags, and taking the number of the image tags as the number of the pictures contained in the text information.
In an alternative embodiment of the present invention, the first statistical module 430 is further adapted to:
acquiring a preset text reading speed and/or a preset picture reading speed;
calculating a first recommended reading time length of the unread mail based on a preset character reading speed and the number of characters; and/or calculating a second recommended reading time of the unread mail based on the preset picture reading speed and the number of pictures;
and counting the recommended reading time of the unread mail according to the first recommended reading time and/or the second recommended reading time.
In an alternative embodiment of the present invention, the first statistical module 430 is further adapted to:
calculating the actual reading speed of the characters and/or the actual reading speed of the pictures;
calculating a third recommended reading time length of the unread mail based on the actual character reading speed and the character number; and/or calculating a fourth recommended reading time length of the unread mail based on the actual picture reading speed and the number of pictures;
and counting the recommended reading time of the unread mail according to the third recommended reading time and/or the fourth recommended reading time.
In an alternative embodiment of the present invention, the first statistical module 430 is further adapted to:
acquiring a plurality of read mails in an inbox and the actual recommended reading time of each read mail;
screening out target read mails of which the actual recommended reading time is within a preset effective recommended reading time threshold from the multiple read mails;
acquiring the number of characters and/or the number of pictures of each target read mail;
and calculating the actual character reading speed and/or the actual picture reading speed based on the character number and/or the picture number of the read mails of each target and the actual recommended reading time.
In an alternative embodiment of the present invention, as shown in fig. 5, the display module 440 may include a first display sub-module 441;
the first display sub-module 441 is suitable for obtaining a display interface of the inbox and determining a display area of the unread mail in the display interface;
and additionally arranging a first display window in the display area, and displaying the recommended reading time of the unread mails in the first display window.
In an alternative embodiment of the present invention, the first display submodule 441 is further adapted to:
and when detecting that a preset reading starting event of the unread mail is triggered after the recommended reading time of the unread mail is displayed on the first display window, stopping displaying the recommended reading time of the unread mail on the first display window.
In an alternative embodiment of the present invention, as shown in fig. 5, the display module 440 may further include a second display sub-module 442;
the second display sub-module 442 is adapted to obtain a reading interface of the unread email when detecting that a preset reading start event of the unread email is triggered;
and displaying the recommended reading time length in a reading interface of the unread mail.
In an alternative embodiment of the present invention, as shown in fig. 5, a second statistical module 450 is further included;
the second statistical module 450 is adapted to respectively obtain a first trigger time for triggering a preset reading start event and a second trigger time for triggering a preset reading end event when a preset reading end event is detected on a reading interface of the unread mail;
and recording the real reading time length of the unread mail based on the first trigger time and the second trigger time.
In an alternative embodiment of the present invention, as shown in fig. 5, the present invention further comprises a transmission module 460;
the transmission module 460 is adapted to transmit the recommended reading time length and/or the real reading time length of the unread mail back to the server side of the preset email box for recording;
and synchronously sending the recommended reading time length and/or the real reading time length to an electronic mailbox of a sender of the unread mail for corresponding display.
In an alternative embodiment of the present invention, the second display sub-module 442 is further adapted to:
and displaying the real reading time length of the unread mail at the display area of the unread mail of the inbox.
In an alternative embodiment of the present invention, the second display sub-module 442 is further adapted to:
replacing and displaying the recommended reading duration displayed by the first display window as the real reading duration; or
Comparing and displaying the recommended reading time length and the real reading time length of the unread mails in a first display window; or
And displaying the real reading time length at the preset mark of the unread mail.
In an alternative embodiment of the present invention, as shown in fig. 5, the display module 440 may further include a third display sub-module 443:
a third display sub-module 443 adapted to obtain a plurality of unread mails in the inbox;
counting the total recommended reading time of a plurality of unread mails;
and additionally arranging a second display window in the display list of the inbox, and displaying the total recommended reading time length in the second display window.
In an alternative embodiment of the present invention, as shown in fig. 5, the system may further include a third statistics module 470;
a third statistical module 470 adapted to download attachments to the unread mail;
and counting the additional recommended reading time of the unread mail according to the attachment.
In an alternative embodiment of the present invention, the third statistical module 470 is further adapted to:
creating a data sandbox at a server side of a local or preset electronic mailbox;
and acquiring and downloading the attachment of the unread mail through the data sandbox, and storing the attachment into the data sandbox.
In an alternative embodiment of the present invention, the third statistical module 470 is further adapted to:
and counting the additional recommended reading time of the unread mail according to the attachment through the data sandbox.
In an alternative embodiment of the present invention, the third statistical module 470 is further adapted to:
and when the attachment is a compressed file, decompressing the compressed file by using the data sandbox to obtain a decompressed file, and counting the attachment recommended reading time of the unread mail according to the decompressed file.
In an alternative embodiment of the present invention, the third statistical module 470 is further adapted to:
and deleting the attachments stored in the data sandbox after the attachment recommended reading time of the unread mails is counted according to the attachments.
In an alternative embodiment of the present invention, as shown in fig. 5, a fourth statistics module 480 is further included;
the fourth statistical module is suitable for acquiring the category label of the unread mail;
setting the weight of the recommended reading duration according to the category label;
and calculating the target reading time length of the unread mail based on the recommended reading time length and the weight of the unread mail.
In an optional embodiment of the invention, the fourth statistics module 480 is further adapted to:
acquiring a first prior mail quoted by an unread mail;
the importance level of the first preceding mail is identified, and the weight is adjusted according to the importance level.
In an optional embodiment of the invention, the fourth statistics module 480 is further adapted to:
if the unread mails refer to multiple first previous mails, acquiring a first recommended reading time of each first previous mail;
and analyzing the variation trend of the first recommended reading time length according to the sending time of each first previous mail so as to adjust the weight based on the variation trend.
In an alternative embodiment of the present invention, the first statistical module 430 is further adapted to:
when the unread mail is a forwarding type mail, acquiring at least one second prior mail referenced by the unread mail;
acquiring a second recommended reading time of each second previous mail;
and accumulating the second recommended reading time of each second previous mail to the recommended reading time of the unread mail.
The embodiment of the invention provides a method and a system for displaying reading time of a mail. Based on the method for displaying the reading time of the mail, provided by the embodiment of the invention, the approximate reading time of the unread mail can be effectively counted through the number of characters and/or the number of pictures in the text information of the unread mail, and the reading time reference of the unread mail is provided for the user with the preset electronic mailbox, so that the user can independently and reasonably arrange time, and the working and living efficiency is further improved.
Further, in the method provided by the embodiment of the present invention, when an attachment exists in the unread mail, the attachment recommended reading duration calculated based on the attachment and the recommended reading duration calculated based on the text information of the unread mail may be accumulated, so as to obtain the total recommended reading duration of the unread mail. When the additional recommended reading time of the attachment is counted, the data sandbox is created, and the downloading, the storage and the decompression of the attachment and the statistics of the additional reading time of the attachment are realized by utilizing the independent space in the data sandbox, so that the data security of the attachment can be effectively protected while the statistics of the additional reading time is quickly realized.
In addition, the method provided by the embodiment of the invention can also be used for counting the total recommended reading time of a plurality of unread mails in the preset electronic mailbox, thereby providing a further reference basis for the user to schedule.
The embodiment of the invention also provides a computer storage medium, which stores a computer program code, and when the computer program code runs on a computing device, the computer storage medium causes the computing device to execute the method for displaying the mail reading time length of any one of the above embodiments.
An embodiment of the present invention further provides a computing device, including: a processor; a memory storing computer program code; the computer program code, when executed by the processor, causes the computing device to perform the method of displaying a mail reading duration of any of the above embodiments.
It can be clearly understood by those skilled in the art that the specific working processes of the above-described systems, modules and units may refer to the corresponding processes in the foregoing method embodiments, and for the sake of brevity, further description is omitted here. In addition, the functional units in the embodiments of the present invention may be physically independent of each other, two or more functional units may be integrated together, or all the functional units may be integrated in one processing unit. The integrated functional units may be implemented in the form of hardware, or in the form of software or firmware.
Those of ordinary skill in the art will understand that: the integrated functional units, if implemented in software and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computing device (e.g., a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention when the instructions are executed. And the aforementioned storage medium includes: u disk, removable hard disk, Read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disk, and other various media capable of storing program code.
Alternatively, all or part of the steps of implementing the foregoing method embodiments may be implemented by hardware (such as a computing device, e.g., a personal computer, a server, or a network device) associated with program instructions, which may be stored in a computer-readable storage medium, and when the program instructions are executed by a processor of the computing device, the computing device executes all or part of the steps of the method according to the embodiments of the present invention.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments can be modified or some or all of the technical features can be equivalently replaced within the spirit and principle of the present invention; such modifications or substitutions do not depart from the scope of the present invention.
Embodiments of the present invention also include these and other aspects as specified in the following numbered clauses:
1. a method for displaying the reading time of a mail comprises the following steps:
selecting any unread mail in an inbox of a preset electronic mailbox;
acquiring text information of the unread mail, and calculating the number of characters and/or pictures contained in the text information;
counting the recommended reading time of the unread mail according to the number of the characters and/or the number of the pictures;
and displaying the counted recommended reading time of the unread mails.
2. The method according to clause 1, wherein the acquiring the text information of the unread mail and calculating the number of characters and/or pictures contained in the text information comprises:
acquiring appointed content field information of a webpage corresponding to the unread e-mail;
deleting a hypertext markup language tag in the specified content field information to obtain plain text information in the text information, and counting the number of characters of the plain text information to be used as the number of characters contained in the text information; and/or
And identifying the image tags contained in the specified content field information, calculating the number of the image tags, and taking the number of the image tags as the number of the pictures contained in the text information.
3. The method according to clause 1, wherein the counting the recommended reading duration of the unread mail according to the number of the characters and/or the number of the pictures comprises:
acquiring a preset text reading speed and/or a preset picture reading speed;
calculating a first recommended reading time length of the unread mail based on the preset character reading speed and the character quantity; and/or calculating a second recommended reading time of the unread mail based on the preset picture reading speed and the number of pictures;
and counting the reading time of the unread mail according to the first recommended reading time and/or the second recommended reading time.
4. The method according to clause 1, wherein the counting the recommended reading duration of the unread mail according to the number of the characters and/or the number of the pictures comprises:
calculating the actual reading speed of the characters and/or the actual reading speed of the pictures;
calculating a third recommended reading duration of the unread mail based on the actual character reading speed and the character number; and/or calculating a fourth recommended reading time length of the unread mail based on the actual picture reading speed and the number of pictures;
and counting the reading time of the unread mail according to the third recommended reading time and/or the fourth recommended reading time.
5. The method of clause 4, wherein the calculating an actual text reading speed and/or an actual picture reading speed comprises:
acquiring a plurality of read mails in the inbox and the actual reading time of each read mail;
screening out target read mails of which the actual reading time is within a preset effective reading time threshold from the multiple read mails;
acquiring the number of characters and/or the number of pictures of each target read mail;
and calculating the actual character reading speed and/or the actual picture reading speed based on the character number and/or the picture number and the actual reading time length of each target read mail.
6. The method according to clause 1, wherein the displaying the statistical recommended reading duration of the unread mail includes:
acquiring a display interface of the inbox, and determining a display area of the unread mail in the display interface;
and additionally arranging a first display window in the display area, and displaying the recommended reading time of the unread mails in the first display window.
7. The method according to clause 6, after adding a first display window in the display area and displaying the recommended reading duration of the unread mail in the first display window, further comprising:
and when detecting that a preset reading starting event of the unread mail is triggered, stopping displaying the recommended reading duration of the unread mail in the first display window.
8. The method according to clause 6, wherein the displaying the statistical recommended reading duration of the unread mail includes:
when detecting that a preset reading starting event of the unread mail is triggered, acquiring a reading interface of the unread mail;
and displaying the recommended reading duration in a reading interface of the unread mail.
9. The method according to clause 8, after the detecting that the preset reading start event of the unread mail is triggered, further comprising:
when a preset reading ending event is detected on a reading interface of the unread mail, respectively acquiring a first trigger time for triggering the preset reading starting event and a second trigger time for triggering the preset reading ending event;
recording the real reading time length of the unread mail based on the first trigger time and the second trigger time.
10. The method of clause 9, after recording the actual reading duration of the unread mail based on the first trigger time and the second trigger time, further comprising:
the recommended reading time length and/or the real reading time length of the unread mail are/is transmitted back to the server side of the preset electronic mailbox for recording;
and synchronously sending the recommended reading time length and/or the real reading time length to an electronic mailbox of a sender of the unread mail for corresponding display.
11. The method of clause 9, after recording the actual reading duration of the unread mail based on the first trigger time and the second trigger time, further comprising:
displaying the real reading time of the unread mail at the display area of the unread mail of the inbox.
12. The method of clause 11, wherein displaying the actual reading duration of the unread mail at the display area of the unread mail for the inbox comprises:
replacing and displaying the recommended reading duration displayed by the first display window as the real reading duration; or
Comparing and displaying the recommended reading time length and the real reading time length of the unread mails in the first display window; or
And displaying the real reading time length at a preset mark of the unread mail.
13. The method according to clause 1, wherein the displaying the statistical recommended reading duration of the unread mail includes:
acquiring a plurality of unread mails in the inbox;
counting the total recommended reading time of the multiple unread mails;
and additionally arranging a second display window in the display list of the inbox, and displaying the total recommended reading time length in the second display window.
14. The method of any of clauses 1-13, further comprising:
downloading the attachment of the unread mail;
and counting the additional recommended reading duration of the unread mail according to the attachment.
15. The method of clause 14, said downloading the attachment to the unread email, comprising:
creating a data sandbox at a local place or a server side of the preset electronic mailbox;
and acquiring and downloading the attachment of the unread mail through the data sandbox, and storing the attachment into the data sandbox.
16. The method according to clause 15, wherein the counting the additional recommended reading duration of the unread mail according to the attachment comprises:
and counting the additional recommended reading time of the unread mail according to the attachment through the data sandbox.
17. The method of clause 16, wherein said counting, by said data sandbox, additional recommended read durations of said unread mail according to said attachments, comprises:
and when the attachment is a compressed file, decompressing the compressed file by using the data sandbox to obtain a decompressed file, and counting the attached recommended reading time of the unread mail according to the decompressed file.
18. The method according to clause 15, after the counting the additional recommended reading duration of the unread mail according to the attachment, further comprising:
deleting the attachments stored in the data sandbox.
19. The method according to any of clauses 1-13, further comprising, after the displaying the statistical recommended reading duration of the unread mail messages:
acquiring a category label of the unread mail;
setting the weight of the recommended reading duration according to the category label;
and calculating the target reading duration of the unread mail based on the recommended reading duration of the unread mail and the weight.
20. The method according to clause 19, wherein if the unread email is a reply-type email, after the setting of the calculation weight of the recommended reading duration according to the category tag, the method further includes:
acquiring a first prior mail referred by the unread mail;
and identifying the importance degree of the first prior mail, and adjusting the weight according to the importance degree.
21. The method of clause 19, after the setting the weight of the recommended reading time according to the category label, further comprising:
if the unread mails refer to multiple first previous mails, acquiring a first recommended reading time of each first previous mail;
and analyzing the variation trend of the first recommended reading time length according to the sending time of each first previous email so as to adjust the weight based on the variation trend.
22. The method according to any one of clauses 1-13, wherein if the unread mail is a forwarding-type mail, after the displaying the statistical recommended reading duration of the unread mail, the method further comprises:
acquiring at least one second prior mail referenced by the unread mail;
acquiring a second recommended reading time of each second prior mail;
and accumulating the second recommended reading time of each second prior mail to the recommended reading time of the unread mail.
23. A mail reading duration display system, comprising:
the selection module is suitable for selecting any unread mail in an inbox of a preset electronic mailbox;
the calculation module is suitable for acquiring the text information of the unread mail and calculating the number of characters and/or pictures contained in the text information;
the first statistical module is suitable for counting the recommended reading time of the unread mail according to the number of the characters and/or the number of the pictures;
and the display module is suitable for displaying the counted recommended reading time of the unread mails.
24. The system of clause 23, wherein the computing module is further adapted to:
acquiring appointed content field information of a webpage corresponding to the unread e-mail;
deleting a hypertext markup language tag in the specified content field information to obtain plain text information in the text information, and counting the number of characters of the plain text information to be used as the number of characters contained in the text information; and/or
And identifying the image tags contained in the specified content field information, calculating the number of the image tags, and taking the number of the image tags as the number of the pictures contained in the text information.
25. The system of clause 23, wherein the first statistical module is further adapted to:
acquiring a preset text reading speed and/or a preset picture reading speed;
calculating a first recommended reading time length of the unread mail based on the preset character reading speed and the character quantity; and/or calculating a second recommended reading time of the unread mail based on the preset picture reading speed and the number of pictures;
and counting the recommended reading time of the unread mail according to the first recommended reading time and/or the second recommended reading time.
26. The system of clause 23, wherein the first statistical module is further adapted to:
calculating the actual reading speed of the characters and/or the actual reading speed of the pictures;
calculating a third recommended reading duration of the unread mail based on the actual character reading speed and the character number; and/or calculating a fourth recommended reading time length of the unread mail based on the actual picture reading speed and the number of pictures;
and counting the recommended reading time of the unread mail according to the third recommended reading time and/or the fourth recommended reading time.
27. The system of clause 26, wherein the first statistics module is further adapted to:
acquiring a plurality of read mails in the inbox and the actual recommended reading duration of each read mail;
screening out target read mails of which the actual recommended reading time is within a preset effective recommended reading time threshold from the multiple read mails;
acquiring the number of characters and/or the number of pictures of each target read mail;
and calculating the actual character reading speed and/or the actual picture reading speed based on the character number and/or the picture number of each target read mail and the actual recommended reading time length.
28. The system of clause 23, wherein the display module comprises a first display sub-module;
the first display sub-module is suitable for obtaining a display interface of the inbox and determining a display area of the unread mail in the display interface;
and additionally arranging a first display window in the display area, and displaying the recommended reading time of the unread mails in the first display window.
29. The system of clause 28, wherein the first display sub-module is further adapted to:
and when detecting that a preset reading starting event of the unread mail is triggered after the recommended reading duration of the unread mail is displayed on the first display window, stopping displaying the recommended reading duration of the unread mail on the first display window.
30. The system of clause 23, wherein the display module further comprises a second display submodule;
the second display sub-module is suitable for acquiring a reading interface of the unread mail when detecting that a preset reading starting event of the unread mail is triggered;
and displaying the recommended reading duration in a reading interface of the unread mail.
31. The system of clause 30, further comprising a second statistics module;
the second statistical module is suitable for respectively acquiring a first trigger time for triggering the preset reading starting event and a second trigger time for triggering the preset reading ending event when the reading interface of the unread mail detects the preset reading ending event;
recording the real reading time length of the unread mail based on the first trigger time and the second trigger time.
32. The system of clause 31, further comprising a transmission module;
the transmission module is suitable for transmitting the recommended reading time length and/or the real reading time length of the unread mail back to the server side of the preset electronic mailbox for recording;
and synchronously sending the recommended reading time length and/or the real reading time length to an electronic mailbox of a sender of the unread mail for corresponding display.
33. The system of clause 31, wherein the second display sub-module is further adapted to:
displaying the real reading time of the unread mail at the display area of the unread mail of the inbox.
34. The system of clause 33, wherein the second display sub-module is further adapted to:
replacing and displaying the recommended reading duration displayed by the first display window as the real reading duration; or
Comparing and displaying the recommended reading time length and the real reading time length of the unread mails in the first display window; or
And displaying the real reading time length at a preset mark of the unread mail.
35. The system of clause 23, wherein the display module further comprises a third display sub-module:
the third display sub-module is suitable for acquiring a plurality of unread mails in the inbox;
counting the total recommended reading time of the multiple unread mails;
and additionally arranging a second display window in the display list of the inbox, and displaying the total recommended reading time length in the second display window.
36. The system of any of clauses 23-35, further comprising a third statistics module;
the third statistical module is suitable for downloading the attachment of the unread mail;
and counting the additional recommended reading duration of the unread mail according to the attachment.
37. The system of clause 36, wherein the third statistics module is further adapted to:
creating a data sandbox at a local place or a server side of the preset electronic mailbox;
and acquiring and downloading the attachment of the unread mail through the data sandbox, and storing the attachment into the data sandbox.
38. The system of clause 37, wherein the third statistics module is further adapted to:
and counting the additional recommended reading time of the unread mail according to the attachment through the data sandbox.
39. The system of clause 38, wherein the third statistics module is further adapted to:
and when the attachment is a compressed file, decompressing the compressed file by using the data sandbox to obtain a decompressed file, and counting the attached recommended reading time of the unread mail according to the decompressed file.
40. The system of clause 37, wherein the third statistics module is further adapted to:
and deleting the attachments stored in the data sandbox after the attachment recommended reading time of the unread mails is counted according to the attachments.
41. The system of any of clauses 23-35, further comprising a fourth statistics module;
the fourth statistical module is suitable for acquiring the category label of the unread mail;
setting the weight of the recommended reading duration according to the category label;
and calculating the target reading duration of the unread mail based on the recommended reading duration of the unread mail and the weight.
42. The system of clause 41, wherein the fourth statistics module is further adapted to:
acquiring a first prior mail referred by the unread mail;
and identifying the importance degree of the first prior mail, and adjusting the weight according to the importance degree.
43. The system of clause 41, wherein the fourth statistics module is further adapted to:
if the unread mails refer to multiple first previous mails, acquiring a first recommended reading time of each first previous mail;
and analyzing the variation trend of the first recommended reading time length according to the sending time of each first previous email so as to adjust the weight based on the variation trend.
44. The system of any of clauses 23-35, wherein the first statistics module is further adapted to:
when the unread mail is a forwarding type mail, acquiring at least one second prior mail referred by the unread mail;
acquiring a second recommended reading time of each second prior mail;
and accumulating the second recommended reading time of each second prior mail to the recommended reading time of the unread mail.
45. A computer storage medium having computer program code stored thereon, which when run on a computing device, causes the computing device to execute the method of displaying a mail reading duration of any of clauses 1-22.
46. A computing device, comprising:
a processor;
a memory storing computer program code; the computer program code, when executed by the processor, causes the computing device to perform the method of displaying a mail reading duration of any of clauses 1-22.

Claims (10)

1. A method for displaying the reading time of a mail is characterized by comprising the following steps:
selecting any unread mail in an inbox of a preset electronic mailbox;
acquiring text information of the unread mail, and calculating the number of characters and/or pictures contained in the text information;
counting the recommended reading time of the unread mail according to the number of the characters and/or the number of the pictures;
and displaying the counted recommended reading time of the unread mails.
2. The method according to claim 1, wherein the obtaining of the text information of the unread mail and the calculating of the number of characters and/or the number of pictures contained in the text information comprises:
acquiring appointed content field information of a webpage corresponding to the unread e-mail;
deleting a hypertext markup language tag in the specified content field information to obtain plain text information in the text information, and counting the number of characters of the plain text information to be used as the number of characters contained in the text information; and/or
And identifying the image tags contained in the specified content field information, calculating the number of the image tags, and taking the number of the image tags as the number of the pictures contained in the text information.
3. The method according to claim 1, wherein the counting the recommended reading duration of the unread mail according to the number of the words and/or the number of the pictures comprises:
acquiring a preset text reading speed and/or a preset picture reading speed;
calculating a first recommended reading time length of the unread mail based on the preset character reading speed and the character quantity; and/or calculating a second recommended reading time of the unread mail based on the preset picture reading speed and the number of pictures;
and counting the reading time of the unread mail according to the first recommended reading time and/or the second recommended reading time.
4. The method according to claim 1, wherein the counting the recommended reading duration of the unread mail according to the number of the words and/or the number of the pictures comprises:
calculating the actual reading speed of the characters and/or the actual reading speed of the pictures;
calculating a third recommended reading duration of the unread mail based on the actual character reading speed and the character number; and/or calculating a fourth recommended reading time length of the unread mail based on the actual picture reading speed and the number of pictures;
and counting the reading time of the unread mail according to the third recommended reading time and/or the fourth recommended reading time.
5. The method of claim 4, wherein calculating the actual text reading speed and/or the actual picture reading speed comprises:
acquiring a plurality of read mails in the inbox and the actual reading time of each read mail;
screening out target read mails of which the actual reading time is within a preset effective reading time threshold from the multiple read mails;
acquiring the number of characters and/or the number of pictures of each target read mail;
and calculating the actual character reading speed and/or the actual picture reading speed based on the character number and/or the picture number and the actual reading time length of each target read mail.
6. The method of claim 1, wherein the displaying the statistical recommended reading duration of the unread e-mails comprises:
acquiring a display interface of the inbox, and determining a display area of the unread mail in the display interface;
and additionally arranging a first display window in the display area, and displaying the recommended reading time of the unread mails in the first display window.
7. The method according to claim 6, wherein after adding a first display window in the display area and displaying the recommended reading duration of the unread mail in the first display window, the method further comprises:
and when detecting that a preset reading starting event of the unread mail is triggered, stopping displaying the recommended reading duration of the unread mail in the first display window.
8. A mail reading duration display system, comprising:
the selection module is suitable for selecting any unread mail in an inbox of a preset electronic mailbox;
the calculation module is suitable for acquiring the text information of the unread mail and calculating the number of characters and/or pictures contained in the text information;
the first statistical module is suitable for counting the recommended reading time of the unread mail according to the number of the characters and/or the number of the pictures;
and the display module is suitable for displaying the counted recommended reading time of the unread mails.
9. A computer storage medium, characterized in that it stores computer program code which, when run on a computing device, causes the computing device to execute the method of displaying mail reading duration according to any one of claims 1 to 7.
10. A computing device, comprising:
a processor;
a memory storing computer program code; the computer program code, when executed by the processor, causes the computing device to perform the method of displaying a mail reading duration of any of claims 1-7.
CN202010503808.7A 2020-06-05 2020-06-05 Mail reading time display method, system, storage medium and computing device Active CN111723562B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010503808.7A CN111723562B (en) 2020-06-05 2020-06-05 Mail reading time display method, system, storage medium and computing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010503808.7A CN111723562B (en) 2020-06-05 2020-06-05 Mail reading time display method, system, storage medium and computing device

Publications (2)

Publication Number Publication Date
CN111723562A true CN111723562A (en) 2020-09-29
CN111723562B CN111723562B (en) 2024-06-14

Family

ID=72566070

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010503808.7A Active CN111723562B (en) 2020-06-05 2020-06-05 Mail reading time display method, system, storage medium and computing device

Country Status (1)

Country Link
CN (1) CN111723562B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112633441A (en) * 2020-12-29 2021-04-09 深圳市天朗时代科技有限公司 Book reading statistical method, device, equipment and computer readable storage medium
CN115378904A (en) * 2022-10-26 2022-11-22 泰豪信息技术有限公司 Mail receipt sending method, system, storage medium and equipment
CN117252690A (en) * 2023-11-17 2023-12-19 杭州钱袋数字科技有限公司 Loan contract online signing method and system

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11101652A (en) * 1997-09-26 1999-04-13 Toyota Motor Corp Electronic mail data receiver, electronic mail host apparatus, medium storing their program, and electronic mail system
JP2002082884A (en) * 2000-07-03 2002-03-22 Fujitsu Ltd Electronic mail device, computer readable recording medium and browse control method of electronic mail device
JP2006004409A (en) * 2004-05-11 2006-01-05 Matsushita Electric Ind Co Ltd Electronic book device and display method in same device
CN104111820A (en) * 2013-04-18 2014-10-22 腾讯科技(深圳)有限公司 Method and device for adding reading time for E-book
CN104184648A (en) * 2013-05-23 2014-12-03 腾讯科技(深圳)有限公司 E-mail management method and apparatus
CN104536663A (en) * 2014-12-22 2015-04-22 深圳市金立通信设备有限公司 Page turning method
CN108347367A (en) * 2017-01-24 2018-07-31 中国移动通信有限公司研究院 A kind of E-mail processing method, device, server and client
CN109241452A (en) * 2018-11-19 2019-01-18 天津网之易创新科技有限公司 Information recommendation method and device, storage medium and electronic equipment
WO2019218454A1 (en) * 2018-05-16 2019-11-21 平安科技(深圳)有限公司 Subscription report generation method and apparatus, computer device and storage medium
CN110855547A (en) * 2019-09-30 2020-02-28 华为终端有限公司 Mail merging method and electronic equipment

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11101652A (en) * 1997-09-26 1999-04-13 Toyota Motor Corp Electronic mail data receiver, electronic mail host apparatus, medium storing their program, and electronic mail system
JP2002082884A (en) * 2000-07-03 2002-03-22 Fujitsu Ltd Electronic mail device, computer readable recording medium and browse control method of electronic mail device
JP2006004409A (en) * 2004-05-11 2006-01-05 Matsushita Electric Ind Co Ltd Electronic book device and display method in same device
CN104111820A (en) * 2013-04-18 2014-10-22 腾讯科技(深圳)有限公司 Method and device for adding reading time for E-book
CN104184648A (en) * 2013-05-23 2014-12-03 腾讯科技(深圳)有限公司 E-mail management method and apparatus
CN104536663A (en) * 2014-12-22 2015-04-22 深圳市金立通信设备有限公司 Page turning method
CN108347367A (en) * 2017-01-24 2018-07-31 中国移动通信有限公司研究院 A kind of E-mail processing method, device, server and client
WO2019218454A1 (en) * 2018-05-16 2019-11-21 平安科技(深圳)有限公司 Subscription report generation method and apparatus, computer device and storage medium
CN109241452A (en) * 2018-11-19 2019-01-18 天津网之易创新科技有限公司 Information recommendation method and device, storage medium and electronic equipment
CN110855547A (en) * 2019-09-30 2020-02-28 华为终端有限公司 Mail merging method and electronic equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
周进;: "用好Foxmail4.0的新邮件提示栏", 少年电世界, no. 05, pages 85 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112633441A (en) * 2020-12-29 2021-04-09 深圳市天朗时代科技有限公司 Book reading statistical method, device, equipment and computer readable storage medium
CN115378904A (en) * 2022-10-26 2022-11-22 泰豪信息技术有限公司 Mail receipt sending method, system, storage medium and equipment
CN115378904B (en) * 2022-10-26 2023-03-10 泰豪信息技术有限公司 Mail receipt sending method, system, storage medium and equipment
CN117252690A (en) * 2023-11-17 2023-12-19 杭州钱袋数字科技有限公司 Loan contract online signing method and system
CN117252690B (en) * 2023-11-17 2024-02-23 杭州钱袋数字科技有限公司 Loan contract online signing method and system

Also Published As

Publication number Publication date
CN111723562B (en) 2024-06-14

Similar Documents

Publication Publication Date Title
CN111723562A (en) Method and system for displaying mail reading time, storage medium and computing device
US9866514B2 (en) Electronic message organization via social groups
US7305443B2 (en) System and method for tailoring of electronic messages
US10439972B1 (en) Apparatus and method for maintaining a message thread with opt-in permanence for entries
RU2600102C2 (en) Sorting electronic information exchange
KR101177147B1 (en) Displaying conversations in a conversation-based email system
US10778618B2 (en) Method and system for classifying man vs. machine generated e-mail
US20080244438A1 (en) System and method for displaying content by monitoring user-generated activity
KR20060136476A (en) Displaying conversations in a conversation-based email system
JP5713340B2 (en) Method for transmitting event notification, and computer and computer program thereof
US20120198356A1 (en) Managing emails at an electronic mail client
WO2016081463A1 (en) Item importance indication
US10341284B2 (en) Methods and systems for recipient management with electronic messages
CN102428476A (en) Unauthorized operation detecting system and unauthorized operation detecting method
US20090113281A1 (en) Identifying And Displaying Tags From Identifiers In Privately Stored Messages
US20050132011A1 (en) Method for managing interruptions to a network user
US20090216792A1 (en) Embedded work process item management
US5995966A (en) Electronic communication system and recording medium
US9117202B2 (en) Identifying and displaying messages containing an identifier
JP4262725B2 (en) E-mail reply deadline notification system
US10044653B2 (en) Electronic message content download management
JP2003242071A (en) Portal site-carried information managing method
JP5308929B2 (en) Progress rate calculation device, progress rate calculation method, and program
US20170061000A1 (en) System and method for analysing temporal text data
WO2018115688A1 (en) Method of editing an electronic message with elimination of redundant elements

Legal Events

Date Code Title Description
PB01 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