Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the technical solutions of the present application will be described in detail and completely with reference to the following specific embodiments of the present application and the accompanying drawings. It should be apparent that the described embodiments are only some of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In one or more embodiments of the present description, the method of email presentation may be applied to preview email lists in the course of modifying email messaging rules.
Specifically, the e-mail sending and receiving rules are used for filtering and automatically sorting mails received or sent by the user, and screening the mails based on the mail addresses of senders, the mail addresses of receivers, the mail subjects, the sending and receiving time of the mails, the mail contexts and the like, so that the mails become well-ordered and conform to the use habits of the user.
Before using the e-mail receiving and sending rule, the user firstly configures the e-mail receiving and sending rule according to the self-requirement and the use habit, for example, a sender mail address, an Internet Protocol (IP) address and a content keyword of the extracted junk mail, then manually and custom adds a black and white list, an IP address and a content keyword filtering rule, and an e-mail system filters the mail sent to the user based on the e-mail receiving and sending rule. As another example, a contact is added to the safe sender list, and the user's interactive mail with the contact is automatically saved to a designated folder by the email system based on the rules.
In one or more embodiments of the present description, the email presentation method may employ an architecture as shown in fig. 1.
The architecture comprises a mail client and a mail server. The mailbox client is used for carrying out information interaction with the mail server, and further realizing corresponding functions, such as database service, e-mail service and the like. The mailbox client may operate in a terminal such as a pc (personal computer), a mobile terminal, and a wearable device, and this shall not be construed as a limitation of the present application.
The mail server side can adopt a distributed cluster architecture and is used for receiving an access request of the client side, executing corresponding calculation according to the access request and simultaneously distributing the business related to the mail client side.
The following describes a specific process of the email presentation method provided in the embodiment of the present specification based on the architecture shown in fig. 1, where fig. 1 at least may include: a mail client and a mail server.
An email presentation method provided in an embodiment of this specification may be executed by a mail client and a mail server together, and may specifically include the following steps as shown in fig. 2:
step S201: and monitoring the configuration operation of the user on the mailing rule.
In this embodiment, the mailing rule may be generated in advance by the system, or may be created manually by the user. The content in the mailing rule generated by the system in advance is initialization content, and the configuration operation of the user can be executed based on the initialization content.
The user can carry out the process according to the self requirement and the use habit in the process of configuring the mail receiving and sending rule. For example, the user may extract the address of the sender of the spam email, the Internet Protocol (IP) address and the content keyword, and place the email containing the information into a designated folder.
For another example, the user may set a priority of recipients so that the mail is arranged in the mail list with the priority.
The execution object of the configuration operation for monitoring the mailing rule in this embodiment may be a mail client. Specifically, when the e-mail receiving and sending rule is generated in advance by the system or created manually by the user, the monitoring action is started to be executed, and the monitoring frequency may be set according to a specific scene, may be performed in real time, or may be a preset time as a time interval for executing the monitoring action.
Specifically, when it is monitored that at least one content in the mail sending and receiving rule is changed, the mail client sends the changed content to the server.
Step S203: and when the configuration operation is monitored, previewing, classifying and displaying the mails according to the mail receiving and sending rule configured by the user.
In this embodiment, the execution subject of the content in step S203 may be a mail client or a mail server. Optionally, in this embodiment, when the mail client detects the configuration operation, the mail client sends the mail sending and receiving rule related to the configuration operation to the mail server, and the mail server may sort the relevant mail information according to the mail sending and receiving rule. The advantage of this arrangement is that the utilization rate of the client system resource can be reduced, thereby improving the operation efficiency of the client system.
Optionally, in the process of previewing, classifying and displaying the mails according to the mail sending and receiving rule configured by the user, previewing and classifying the mails after the configuration of all the contents of the mail sending and receiving rule is finished; or classifying and displaying the mails step by step in the process of user configuration. In the process, the display result can be changed according to the progress configured by the user, so that the user can see the display result corresponding to the mail receiving and sending rule in real time, and the mail receiving and sending rule is adjusted to the best effect.
After the mail is previewed and classified, in this embodiment, the previewing and classifying result may be displayed on the main interface of the mail client, or a new preview window may be popped up, and the previewing and classifying result is displayed by using the preview window.
In this embodiment, in order to prevent the normal operation of the mail client or the mail server from being affected by the too frequent configuration operation of the mail classification rule by the user, the time interval between two adjacent configuration operations may be limited.
Specifically, before the mail is subjected to preview classification and displayed, the method specifically includes: acquiring a time interval between the latest occurrence moment of the configuration operation and the current moment; if the time interval is smaller than the preset time interval, sending a prompt; and if the time interval is greater than or equal to the preset time interval, previewing, classifying and displaying the mails.
In the process of obtaining the time interval between the latest occurrence time of the configuration operation and the current time, the time when each configuration operation is completed can be recorded and recorded into the corresponding log. And after any one configuration operation is finished, calculating the time interval between the time when the configuration operation is finished and the finishing time of the last configuration operation, and comparing the time interval with the preset time interval. When the time interval is smaller than the preset time interval, sending a prompt to remind a user that the configuration operation of the mail receiving and sending rule is too frequent; the manner of prompting the user includes, but is not limited to, a manner of pop-up prompt box prompt.
In this embodiment, a cancel button may be further provided in the preview window, and when the user is not satisfied with the configured mailing rule, the mailing rule may be restored to the original state by clicking the cancel button. Specifically, when the server monitors the revocation operation, the server restores the mailing rule to the original state, where the original state may be a state of the mailing rule before the user is not configured.
Similarly, in this embodiment, a confirmation button may be further provided in the preview window, and when the configured mailing rule for the user satisfies the current preview state, the mailing rule corresponding to the current preview state may be saved by clicking the confirmation button, that is, the original mailing rule is updated to the mailing rule configured by the user.
In the embodiment of the present specification, an email display process is provided on the basis of the above-mentioned embodiment, as shown in fig. 3, specifically including the following steps:
step S300: and monitoring the configuration operation of the user on the mailing rule.
Step S302: and when the configuration operation is monitored, calling a preview window on the current interface according to the mail receiving and sending rule configured by the user.
In this embodiment, the result of classifying the mails by previewing according to the mailing rule configured by the user is preferentially displayed in the newly called preview window, so that the user can compare the original mailing list with the adjusted mailing list, and further adjust the optimal state of the mailing rule.
The number of times of calling the preview window in the user configuration process is one or more. Specifically, the invoking action of the preview window may occur simultaneously with the first generation of the mailing rule or the first creation of the mailing rule by the user, and in the adjustment process of the subsequent mailing rule, the preview window is not closed until the user determines that the modification of the mailing rule is completed, and the preview window is automatically closed.
Step S304: and acquiring a mail list according to the receiving and sending rules.
The mail list can be obtained by adjusting and filtering the mail server side or the mail client side according to the mail receiving and sending rule. In this embodiment, after the user adjusts the mailing rule each time, the operation of obtaining the mailing list is executed.
Step S306: and counting the number of mails in the mail list.
The number of the mails may be the total number of the mails or the number set of different classes of mails in the mail list. And the mail quantity is used for comparing with the receivable mail quantity of the preview window, so as to obtain a mail list corresponding to the receivable mail quantity of the preview window and display the mail list in the preview window. This arrangement is advantageous in preventing a display page from being mistaken due to a mismatch between the mail data amount and the preview window.
In this embodiment, before displaying the mailing list using the display mailing list, the receivable mailing numbers smaller than the preview window are compared.
Step S308: and if the number of the mails is less than the number of the receivable mails of the preview window, the preview window displays the mail list.
Step S310: and if the number of the mails is larger than or equal to the number of the receivable mails in the preview window, displaying the mail list segments matched with the number of the receivable mails in the preview window. And the data quantity in the mail list is less than the receivable mail quantity of the preview window.
Based on the above, in practical applications, a complete email presentation process can be as shown in fig. 4. The method specifically comprises the following steps:
step S410: creating or modifying mailing rules;
step S430: delaying for N seconds;
step S450: inquiring a first page mail list which accords with a mail receiving and sending rule;
step S470: searching and returning data meeting the conditions;
step S490: returning the searched data to the preview page;
step S4110: displaying data in the mailing list in a scrollable manner;
step S4130: scrolling a mail list according with mail receiving and sending rules;
step S4150: delaying for N seconds;
step S4170: calculating whether to load the next page of data;
step S4190: inquiring a mail list of the Nth page;
step S4210: searching and returning data meeting the conditions;
step S4230: add mail to the end of the list.
Here, steps S410 to S4110 are procedures for generating a list for preview mailings. Steps S4130 to S4230 are to load the subsequent mail complying with the mailing rule at the time of scrolling.
As shown in fig. 5, an embodiment of the present specification further provides an email presentation apparatus, where the apparatus includes:
a monitoring module 501, configured to monitor a configuration operation of a user on a mail sending and receiving rule;
and the preview module 502 is used for previewing, classifying and displaying the mails according to the mail receiving and sending rule configured by the user when the configuration operation is monitored.
Further, the preview module 502 obtains a time interval between a latest occurrence time of the configuration operation and a current time; if the time interval is smaller than the preset time interval, sending a prompt; and if the time interval is greater than or equal to the preset time interval, previewing, classifying and displaying the mails.
Further, the preview module 502 restores the e-mail receiving and sending rule to the original state when the revocation operation is monitored.
Further, the preview module 502 calls a preview window on the current interface; acquiring a mail list according to the receiving and sending rules; and displaying the mail list in the preview window.
Further, the preview module 502 stores the e-mail receiving and sending rule corresponding to the current preview state when the confirmation operation is monitored.
Further, the preview module 502 counts the number of mails in the mail list; and if the number of the mails is less than the number of the receivable mails of the preview window, the preview window displays the mail list.
Further, the preview module 502 displays a mail list segment matched with the receivable mail number in the preview window if the mail number is greater than or equal to the receivable mail number in the preview window.
An embodiment of the present specification further provides an email display apparatus, including:
a memory storing an email presentation program;
the communication interface receives a configuration operation request of a mail receiving and sending rule;
the processor calls the e-mail display program stored in the memory after the communication interface receives the configuration operation request of the mail receiving and sending rule, and executes:
monitoring the configuration operation of a user on a mail receiving and sending rule;
and when the configuration operation is monitored, previewing, classifying and displaying the mails according to the mail receiving and sending rule configured by the user.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. Especially, as for the device, apparatus and medium type embodiments, since they are basically similar to the method embodiments, the description is simple, and the related points may refer to part of the description of the method embodiments, which is not repeated here.
The foregoing description has been directed to specific embodiments of this disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps or modules recited in the claims may be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
In the 90 s of the 20 th century, improvements in a technology could clearly distinguish between improvements in hardware (e.g., improvements in circuit structures such as diodes, transistors, switches, etc.) and improvements in software (improvements in process flow). However, as technology advances, many of today's process flow improvements have been seen as direct improvements in hardware circuit architecture. Designers almost always obtain the corresponding hardware circuit structure by programming an improved method flow into the hardware circuit. Thus, it cannot be said that an improvement in the process flow cannot be realized by hardware physical modules. For example, a Programmable Logic Device (PLD), such as a Field Programmable Gate Array (FPGA), is an integrated circuit whose Logic functions are determined by programming the Device by a user. A digital system is "integrated" on a PLD by the designer's own programming without requiring the chip manufacturer to design and fabricate application-specific integrated circuit chips. Furthermore, nowadays, instead of manually making an Integrated Circuit chip, such Programming is often implemented by "logic compiler" software, which is similar to a software compiler used in program development and writing, but the original code before compiling is also written by a specific Programming Language, which is called Hardware Description Language (HDL), and HDL is not only one but many, such as abel (advanced Boolean Expression Language), ahdl (alternate Hardware Description Language), traffic, pl (core universal Programming Language), HDCal (jhdware Description Language), lang, Lola, HDL, laspam, hardward Description Language (vhr Description Language), vhal (Hardware Description Language), and vhigh-Language, which are currently used in most common. It will also be apparent to those skilled in the art that hardware circuitry that implements the logical method flows can be readily obtained by merely slightly programming the method flows into an integrated circuit using the hardware description languages described above.
The controller may be implemented in any suitable manner, for example, the controller may take the form of, for example, a microprocessor or processor and a computer-readable medium storing computer-readable program code (e.g., software or firmware) executable by the (micro) processor, logic gates, switches, an Application Specific Integrated Circuit (ASIC), a programmable logic controller, and an embedded microcontroller, examples of which include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicone Labs C8051F320, the memory controller may also be implemented as part of the control logic for the memory. Those skilled in the art will also appreciate that, in addition to implementing the controller as pure computer readable program code, the same functionality can be implemented by logically programming method steps such that the controller is in the form of logic gates, switches, application specific integrated circuits, programmable logic controllers, embedded microcontrollers and the like. Such a controller may thus be considered a hardware component, and the means included therein for performing the various functions may also be considered as a structure within the hardware component. Or even means for performing the functions may be regarded as being both a software module for performing the method and a structure within a hardware component.
The systems, devices, modules or units illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions. One typical implementation device is a computer. In particular, the computer may be, for example, a personal computer, a laptop computer, a cellular telephone, a camera phone, a smartphone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
For convenience of description, the above devices are described as being divided into various units by function, and are described separately. Of course, the functionality of the units may be implemented in one or more software and/or hardware when implementing the present application.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include transitory computer readable media (transient media) such as modulated data signal numbers and carrier waves.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The application may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular transactions or implement particular abstract data types. The application may also be practiced in distributed computing environments where transactions are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The above description is only an example of the present application and is not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.