CN113572676A - Mail processing method and device - Google Patents
Mail processing method and device Download PDFInfo
- Publication number
- CN113572676A CN113572676A CN202010349989.2A CN202010349989A CN113572676A CN 113572676 A CN113572676 A CN 113572676A CN 202010349989 A CN202010349989 A CN 202010349989A CN 113572676 A CN113572676 A CN 113572676A
- Authority
- CN
- China
- Prior art keywords
- format picture
- target
- user terminal
- storage address
- 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
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 23
- 238000000034 method Methods 0.000 claims abstract description 42
- 238000012545 processing Methods 0.000 claims abstract description 27
- 238000012795 verification Methods 0.000 claims description 221
- 230000002452 interceptive effect Effects 0.000 claims description 21
- 230000003068 static effect Effects 0.000 claims description 15
- 230000008846 dynamic interplay Effects 0.000 claims description 11
- 230000006854 communication Effects 0.000 claims description 8
- 238000004891 communication Methods 0.000 claims description 7
- 238000005516 engineering process Methods 0.000 abstract description 6
- 230000006870 function Effects 0.000 description 13
- 230000008569 process Effects 0.000 description 9
- 238000010586 diagram Methods 0.000 description 7
- 238000009877 rendering Methods 0.000 description 7
- 230000005540 biological transmission Effects 0.000 description 4
- 238000012986 modification Methods 0.000 description 4
- 230000004048 modification Effects 0.000 description 4
- 238000011161 development Methods 0.000 description 3
- 230000000750 progressive effect Effects 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 2
- 238000012360 testing method Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 235000014510 cooky Nutrition 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 230000001172 regenerating effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/42—Mailbox-related aspects, e.g. synchronisation of mailboxes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
- H04L63/0807—Network architectures or network communication protocols for network security for authentication of entities using tickets, e.g. Kerberos
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The embodiment of the application discloses a mail processing method and a device, in the method, a mail sent by a mail server only comprises key information and a token of a storage address of a picture corresponding to a mail content, the mail is not directly sent, a mail received by a user terminal only comprises the key information and an authentication token, and when the user needs to read the mail content, the user terminal needs to acquire the picture corresponding to the mail content from the mail server based on the key information and the authentication token, so that various kinds of management such as single reading validity, reading address limit management, mail readable time management, mail reading watermarking and the like can be realized based on the authentication token, the technical problem that the mail cannot be managed and controlled after being sent in the current mail processing technology is solved, and the safety of the mail content is enhanced.
Description
Technical Field
The present application relates to the field of communications, and in particular, to a method and an apparatus for processing a mail.
Background
With the development of internet applications, more and more users use user terminals, such as email clients installed on computers or web pages to send and receive emails.
In the current mail processing technology, after a mail is sent to a user, the user can read and check the mail permanently after the mail is downloaded by a user terminal, and potential safety hazards exist.
Namely, the current mail processing technology has the technical problem that the management and control cannot be realized after the mail is sent.
Content of application
The embodiment of the application provides a mail processing method and a device, which are used for solving the technical problem that the control cannot be realized after a mail is sent in the current mail processing technology.
In order to solve the above technical problem, an embodiment of the present application provides the following technical solutions:
an embodiment of the present application provides a mail processing method, which includes:
acquiring a first format picture corresponding to the mail content of a target mail and a storage address of the first format picture;
generating a verification token corresponding to the target mail according to the storage address of the first format picture;
sending the key information of the storage address and the verification token to a target mailbox corresponding to the receiver mailbox identifier of the target mail;
receiving key information and a verification token sent by a user terminal when the target mail is checked, and performing management and control verification on the key information and the verification token returned by the user terminal;
and when the management and control verification is passed, sending the storage address of the first format picture to the user terminal so that the user terminal can acquire and display the first format picture.
An embodiment of the present application provides a mail processing method, which includes:
receiving a target mail sent by a mail server based on a receiver mailbox identifier, wherein the target mail comprises key information of a first format picture storage address corresponding to the mail content of the target mail and a verification token corresponding to the target mail;
when the target mail is viewed, sending the key information and the verification token to the mail server;
receiving a storage address of the first format picture returned by the mail server after the key information and the control verification of the verification token pipe pass;
and acquiring and displaying the first format picture from the mail server based on the storage address of the first format picture.
An embodiment of the present application provides a mail processing method, which includes:
the method comprises the steps that a mail server obtains a first format picture corresponding to the mail content of a target mail and a storage address of the first format picture, generates a verification token corresponding to the target mail according to the storage address of the first format picture, and sends key information of the storage address and the verification token to a target mailbox corresponding to a receiver mailbox identifier of the target mail;
a user terminal receives a target mail sent by a mail server based on a receiver mailbox identifier, wherein the target mail comprises key information of a first format picture storage address corresponding to the mail content of the target mail and a verification token corresponding to the target mail, and when the target mail is viewed, the key information and the verification token are sent to the mail server;
the mail server receives the key information and the verification token sent by the user terminal, performs management and control verification on the key information and the verification token returned by the user terminal, and sends the storage address of the first format picture to the user terminal when the management and control verification is passed;
and the user terminal receives the storage address of the first format picture returned by the mail server, and acquires and displays the first format picture from the mail server based on the storage address of the first format picture.
An embodiment of the present application provides a mail processing apparatus, which includes:
the acquisition module is used for acquiring a first format picture corresponding to the mail content of the target mail and a storage address of the first format picture;
the token module is used for generating a verification token corresponding to the target mail according to the storage address of the first format picture;
the mail module is used for sending the key information of the storage address and the verification token to a target mailbox corresponding to a receiver mailbox identifier of the target mail;
the receiving module is used for receiving the key information and the verification token sent by the user terminal when the target mail is viewed, and performing management and control verification on the key information and the verification token returned by the user terminal;
and the sending module is used for sending the storage address of the first format picture to the user terminal when the management and control verification is passed so that the user terminal can obtain and display the first format picture.
An embodiment of the present application provides a mail processing apparatus, which includes:
the mail receiving module is used for receiving a target mail sent by a mail server based on a receiver mailbox identifier, wherein the target mail comprises key information of a first format picture storage address corresponding to the mail content of the target mail and a verification token corresponding to the target mail;
the communication module is used for sending the key information and the verification token to the mail server when the target mail is viewed;
the management and control module is used for receiving the storage address of the first format picture returned by the mail server after the key information and the control and verification of the verification token pipe pass;
and the display module is used for acquiring and displaying the first format picture from the mail server based on the storage address of the first format picture.
The embodiment of the application provides a server, which comprises a processor and a memory, wherein the memory stores a plurality of instructions, and the instructions are suitable for the processor to load so as to execute the steps in the method.
The embodiment of the application provides a terminal, which comprises a processor and a memory, wherein the memory stores a plurality of instructions, and the instructions are suitable for the processor to load so as to execute the steps in the method.
The embodiment of the present application provides a computer-readable storage medium, which stores a plurality of instructions, where the instructions are suitable for a processor to load, so as to execute the steps in the above method.
The embodiment of the application provides a new mail processing method and a device, in the method, a mail server acquires a first format picture corresponding to the mail content of a target mail and a storage address of the first format picture, generating a verification token corresponding to the target mail according to the storage address of the first format picture, sending key information of the storage address and the verification token to a target mailbox corresponding to a recipient mailbox identifier of the target mail, receiving the target mail sent by a mail server by the user terminal based on the recipient mailbox identifier, the target mail comprises key information of a first format picture storage address corresponding to the mail content of the target mail and a verification token corresponding to the target mail, when the target mail is viewed, sending the key information and the verification token to the mail server; the mail server receives the key information and the verification token sent by the user terminal, manages and controls the key information and the verification token returned by the user terminal, sends the storage address of the first format picture to the user terminal when the management and control verification is passed, the user terminal receives the storage address of the first format picture returned by the mail server, and the first format picture is obtained from the mail server and displayed based on the storage address of the first format picture. In the process, the mail sent by the mail server only comprises the key information of the storage address of the picture corresponding to the mail content and a token, the mail is not directly sent, the mail received by the user terminal only comprises the key information and the verification token, and when the user needs to read the mail content, the user terminal needs to acquire the picture corresponding to the mail content from the mail server based on the key information and the verification token, so that various kinds of management such as single reading validity, reading address limit management, mail readable time management, mail reading watermarking and the like can be realized based on the verification token, the technical problem that the mail sending cannot be controlled in the current mail processing technology is solved, and the safety of the mail content is enhanced.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic networking diagram of a mail system provided in an embodiment of the present application.
Fig. 2 is a first flowchart illustration of a mail processing method according to an embodiment of the present application.
Fig. 3 is a second flowchart of the mail processing method according to the embodiment of the present application.
Fig. 4 is a third flowchart illustrating a mail processing method according to an embodiment of the present application.
Fig. 5a is a schematic structural diagram of a mail processing apparatus located in a mail server according to an embodiment of the present application.
Fig. 5b is a schematic structural diagram of a mail processing apparatus located in a user terminal according to an embodiment of the present application.
Fig. 6 is a schematic structural diagram of an electronic device provided in an embodiment of the present application.
Fig. 7a to 7f are schematic views of interfaces according to embodiments of the present disclosure.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part 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 the embodiment of the present application, the mail content includes, but is not limited to, a mail body, a signature, a mail attachment, and the like, and the following description will take an example in which the mail content includes the mail body.
In the embodiment of the present application, the first format picture and the second format picture are pictures with two different formats, for example, a long picture and a Base64 format picture, where the long picture refers to a picture including an entire page structure, how long a page is, and not necessarily a very long picture, and the Base64 format picture is a data description including all information of pictures, and both pictures can be obtained based on a screenshot.
In this embodiment of the present application, the mail system may include a mail sending terminal or may not include a mail sending terminal, when the mail sending terminal exists, the mail content is generated by the user, and when the mail sending terminal exists, the mail content is automatically acquired by the mail server from the data server according to the preset parameter, which will be described below with reference to the embodiment.
In the embodiment of the application, a plurality of mails sent to different recipients, that is, mass mails, may share the first format picture and the second format picture corresponding to one mail content, but the verification token corresponding to each recipient is different.
In the embodiment of the application, the user terminal used by the addressee can be provided with a mail client to receive the mail and can also receive and check the mail through a webpage version mailbox. The management terminal includes a terminal used by an administrator or a terminal used by a mail sender.
Referring to fig. 1, fig. 1 is a schematic view of a scene of a mail system according to an embodiment of the present application, where the system may include a user-side device and a service-side device, and the user-side device and the service-side device are connected through an internet formed by various gateways and the like, which is not described again, where the user-side device includes a plurality of terminals 11, and the service-side device includes a plurality of servers 12; wherein:
the terminal 11 includes, but is not limited to, a portable terminal such as a mobile phone and a tablet equipped with various mailbox applications, and a fixed terminal such as a computer, an inquiry machine, and an advertisement machine, and is a service port that can be used and operated by a user, and in the present application, the terminal provides various functions such as mail display, mail receiving and sending, etc. for the user;
the server 12 provides various business services for users, including a mail server, a storage server, and the like, wherein the storage server is used for storing mail contents, pictures corresponding to the mail contents, storage addresses of the pictures, authentication tokens, and the like, and the mail server is used for sending and managing mails.
It should be noted that the system scenario diagram shown in fig. 1 is only an example, and the server and the scenario described in the embodiment of the present application are for more clearly illustrating the technical solution of the embodiment of the present application, and do not form a limitation on the technical solution provided in the embodiment of the present application, and as a person having ordinary skill in the art knows, with the evolution of the system and the occurrence of a new service scenario, the technical solution provided in the embodiment of the present application is also applicable to similar technical problems.
Fig. 2 is a schematic flow chart of a mail processing method according to an embodiment of the present application, please refer to fig. 2, where the mail processing method includes the following steps:
201: the mail server 12a obtains a first format picture corresponding to the mail content of the target mail and a storage address of the first format picture.
In one embodiment, the mail server 12a performs this step when it is necessary to automatically send a mail or send a mail according to a user operation.
In one embodiment, this step includes: the mail server 12a acquires the mail content of the target mail and generates a static page corresponding to the mail content; generating a first format picture corresponding to the mail content based on the static page; and storing the first format picture to obtain a storage address of the first format picture.
In one embodiment, the method further comprises: and generating a second format picture corresponding to the mail content based on the static page.
For example, the mail server 12a provides a mail page presentation service, i.e., a static rendering service, which is implemented based on Html + Css, and the service is to generate a corresponding web page for mail presentation according to a user operation, i.e., the mail server 12a generates a static page corresponding to the mail content through Html + Css based on the service; then the mail server 12a provides a service of generating a long map or base64 picture according to the web page, i.e. a conversion service, which converts the web page rendered by the static rendering service into a picture of a corresponding format (long map or base64 picture), specifically, the mail server starts a web browser process capable of rendering Html + Css in the background, i.e. the mail server simulates opening a web browser, calls a screenshot command (which may be a system command or an interface provided by the web browser process) to generate a long map (i.e. a first format picture) and a base64 format picture (i.e. a second format picture), stores the long map in the storage server 12b, and returns the corresponding storage address of the long map.
202: the mail server 12a determines whether management and control verification of the target mail is required.
In one embodiment, the mail server 12a determines whether the target mail needs to be managed according to the setting of the mail sender, and if not, performs step 203, and if so, performs step 204.
203: and the mail server 12a sends the second format picture to a target mailbox corresponding to the recipient mailbox identifier of the target mail.
In one embodiment, the mail server 12a directly sends the picture in base64 format corresponding to the mail content to the target mailbox corresponding to the recipient mailbox identifier of the target mail, and for the picture in second format, the recipient can open the view picture at any time.
204: and the mail server 12a generates a verification token corresponding to the target mail according to the storage address of the first format picture.
In one embodiment, token (authentication token) is used as a basis for mail management and is generated in a manner including Y ═ f (x), where x is composed of a storage address of the first format picture of the target mail content and a random number or a fixed number, and function f () is an encryption algorithm, and after the token corresponding to mail Y0001(Y0001 is a mail identifier) is generated, the storage address, the random number or the fixed number, the function f () and the token of the first format picture of the mail content corresponding to mail Y0001 are stored in the storage server, for example, for mail Y0001, the corresponding token is dbxxq.
In an embodiment, the validity period or the validity times of token and whether the starting picture needs to be watermarked or not can also be set.
205: and the mail server 12a sends the key information of the storage address and the verification token to a target mailbox corresponding to the recipient mailbox identifier of the target mail.
In an embodiment, to avoid leakage of the mail content, the mail server 12a intercepts the storage address to obtain key information of the storage address, where the key information needs to be distinguished from the storage address of the first format picture corresponding to other mail content, for example, a field of equal spacing or progressive spacing is performed on the storage address to obtain key information of the storage address, and the key information is also correspondingly stored in the storage server. For example, the storage address corresponding to the mail Y0001 is "ABDCDESDFAMFO.JPG", and the key information "D-E-F-F-P-" corresponding to the storage address and the corresponding completion mode "AB-CD-SD-AM-O.J-G" are obtained by adopting a mode of removing fields at equal intervals.
206: the user terminal 11b receives the target mail sent by the mail server based on the recipient mailbox identification.
In one embodiment, the target email comprises key information of a first format picture storage address corresponding to email content of the target email and a verification token corresponding to the target email.
In an embodiment, after receiving the target email Y0001, the user terminal 11b reminds the user of the unread email, and the email content includes only: the key information "D-E-F-F-P-" and the authentication token "XXDBQ".
207: the user terminal 11b sends the key information and the authentication token to the mail server when the target mail is viewed.
In one embodiment, the user selects to view the mail Y0001, and the mail user terminal 11b sends the key information "D-E-F-F-P-" and the authentication token "XXDBQ" in the mail Y0001 to the mail server 12 a.
208: the mail server 12a receives the key information and the verification token sent by the user terminal when the target mail is viewed, and performs management and control verification on the key information and the verification token returned by the user terminal.
In an embodiment, the mail server 12a completes the key information returned by the user terminal according to a preset completing mode to obtain first address information; generating a first verification token based on the first address information based on a generation mode corresponding to generation of the verification token; comparing the first verification token with the verification token returned by the user terminal; and when the comparison between the first verification token and the verification token returned by the user terminal passes, the management and control verification passes. The mail server 12a may uniquely determine a mail in the storage server according to the mail identifier, and further may determine a completion mode, an encryption algorithm, a random number, or a fixed number corresponding to the mail, and then complete the key information returned by the user terminal to obtain first address information, for example, the key information "D-E-F-P-" sent by the user terminal 11b, obtain a corresponding completion mode "AB-CD-SD-AM-o.j-G" according to the mail identifier Y0001, then sequentially replace blank fields in the completion mode with fields in the key information to obtain first address information "abdcdefamfo.jpg", then generate a first verification token "XXDBQ" corresponding to the first address information "abdcdefamfo.jpg" using the same encryption algorithm and random number or fixed number, and comparing the verification token with a verification token 'XXDBQ' returned by the user terminal, wherein the verification token is consistent with the verification token 'XXDBQ', the comparison of the first verification token and the verification token returned by the user terminal is passed, the control verification is passed, and if the user terminal 11b returns other key information or the verification tokens are inconsistent, the control verification is not passed.
In one embodiment, for further authentication, after the comparison between the first authentication token and the authentication token returned by the user terminal passes, the method further includes: the mail server 12a determines whether the verification token returned by the user terminal is present and valid in the storage server, and if the verification token is present and valid in the storage server, the management and control check is passed. The step can be verified by verifying whether the token is valid for a single time, whether the token is in the valid period, and the like.
In one embodiment, if the management control check is not passed, step 209 is performed, and if the management control check is passed, step 210 is performed.
209: the mail server 12a transmits a check error page to the user terminal 11 b.
210: and the mail server 12a sends the storage address of the first format picture to the user terminal.
In an embodiment, when the management and control verification is passed, the mail server 12a sends the storage address of the first format picture to the user terminal, so that the user terminal acquires and displays the first format picture.
211: and the user terminal acquires and displays the first format picture corresponding to the mail content.
In an embodiment, the user terminal 11b receives the storage address of the first format picture returned by the mail server after the control and verification of the key information and the verification token management are passed, and acquires and displays the first format picture from the mail server based on the storage address of the first format picture.
In one embodiment, after the step of receiving the target mail sent by the mail server based on the recipient mailbox identification, the method further comprises the following steps: and when the target mail is checked, the user terminal acquires and sends reading statistical data to the mail server so as to enable the mail server to store the reading statistical data corresponding to the target mail when the management and control verification is passed. At this time, after the step of sending the storage address of the first format picture to the user terminal, the method further includes: the mail server receives reading statistical data sent by the user terminal when the target mail is viewed; and when the management and control verification is passed, storing the reading statistical data corresponding to the target mail. For example, the mail server stores the reading statistical data such as the IP address and the reading time of the reader of the mail Y0001 in the storage server, which is convenient for subsequent calling.
In one embodiment, the method shown in fig. 2 further includes, at the terminal side: the management terminal enters a dynamic interactive page based on the first format picture and sends a statistical request to the mail server; and receiving and displaying the reading statistical data returned by the mail server on the dynamic interactive page. At this time, the server side further includes: the mail server receives a statistical request sent by the management terminal after the management terminal enters a dynamic interaction page based on the first format picture; and sending the reading statistical data corresponding to the target mail to the management terminal so that the management terminal can acquire and display the reading statistical data on the dynamic interaction page. For example, the dynamic interactive page is implemented by the mail server based on HTML + javascript + Css, and the interactive page provides the mail page display and also provides other user interactive operations, such as data modification, mail resending, mail reading data acquisition, and other operation logics. For example, the mail server sends the reading statistical data such as the IP address and reading time of the reader of the mail Y0001 to the management terminal for presentation.
In an embodiment, the present application may further implement modification of mail content without resending the mail, where after the step of obtaining and displaying the first format picture from the mail server, the method further includes: the user terminal comprises a terminal of a mail receiver and a terminal of a mail sender, and enters a dynamic interactive page based on the first format picture; updating the mail content in the dynamic interactive page; an email content updating request sent to the email server, wherein the email content updating request carries updated email content; and the mail server acquires the first format picture corresponding to the updated mail content, replaces the first format picture corresponding to the mail content before updating, and keeps the storage address of the first format picture unchanged. After the step of sending the storage address of the first format picture to the user terminal, the method further comprises the following steps: the mail server receives a mail content updating request sent by the user terminal after entering the dynamic interaction page based on the first format picture; determining the updated mail content according to the mail content updating request; and acquiring a first format picture corresponding to the updated mail content, replacing the first format picture corresponding to the mail content before updating, and keeping the storage address of the first format picture unchanged. For example, after a user modifies certain data in the mail content and clicks to resend the modified data, the mail server generates a picture corresponding to the new mail content and updates the picture to the storage address of the original picture, so that the storage address does not need to be updated, the mail does not need to be resent to the user, and the updating of the mail content is realized.
In this embodiment, because the content of the target email is displayed in a picture format, the display format of user terminals of different versions and brands does not need to be adjusted, and the problems that the style support of each email user terminal (such as an email, a mail and the like) is not uniform, the specific style effect needs to be specially compatible, some complex styles are not supported under some user terminals, the email page development workload is large, the number of user terminals requiring regression verification for testing is large, the email page style needs to be updated synchronously when the user terminals are updated, and the development and maintenance testing cost is increased are solved.
In the embodiment, permission judgment or timeliness judgment can be realized based on the long-graph address and the verification token, a long-graph mode can be set for sending the mail with a high confidentiality requirement, and the background can judge whether the picture can be displayed or not according to information such as timeliness and user cookie, so that the confidentiality of the mail information under the conditions that employees leave the work and the mail is forwarded to external users is realized.
In this embodiment, the mail is sent in the form of a long graph, so that the background service can also generate the display of statistical information such as the mail reading amount, the reading period, the reading distribution and the like by recording the information such as the number of times of accessing the picture and the ip of accessing the picture, and in addition, the content of the sent mail can be updated by regenerating the updated picture in the background.
For convenience of the following description, the embodiments shown in fig. 3 and fig. 4 both need to perform mail management control verification, and therefore, a step of determining whether the target mail is subjected to mail management control verification by the mail server and a step of generating the second format picture are omitted.
Fig. 3 is a schematic flowchart of a second method for processing a mail according to an embodiment of the present application, please refer to fig. 3, in which the method for processing a mail includes the following steps:
301: the mail server 12a acquires the mail content of the target mail.
In one embodiment, the sender performs mail transmission through the user terminal 11a, and at this time, the mail server 12a provides the user terminal 11a with a mail editing interface as shown in fig. 7a based on the Html + Css technique.
The user edits the report in the interface shown in fig. 7a, and clicks the send button after the editing, static rendering, and the like are completed, and at this time, the mail server 12a acquires the report in the mail content.
302: the mail server 12a acquires a long map corresponding to the mail content of the target mail and a storage address of the long map.
In one embodiment, the mail server 12a enables a web browser process capable of rendering Html + Css in the background, that is, the mail server simulates opening a web browser, calls a screenshot command (the command may be a system command or an interface provided by the web browser process) to generate a long map, stores the long map in the storage server 12b, and returns a storage address corresponding to the long map.
303: and the mail server 12a generates a verification token corresponding to the target mail according to the storage address of the long graph.
In one embodiment, token (authentication token) is used as a basis for mail management and is generated in a manner including Y ═ f (x), where x is composed of a storage address of a long graph of target mail content and a random number or a fixed number, and function f () is an encryption algorithm, after a token corresponding to mail Y0001(Y0001 is a mail identifier) is generated, the storage address, the random number or the fixed number of the first format picture of the mail content, function f () and token are all stored in a storage server, for example, for mail Y0001, the corresponding token is XXDBQ.
304: and the mail server 12a sends the key information of the storage address and the verification token to a target mailbox corresponding to the recipient mailbox identifier of the target mail.
In an embodiment, to avoid leakage of the mail content, the mail server 12a intercepts the storage address to obtain key information of the storage address, where the key information needs to be distinguished from the storage address of the long graph corresponding to other mail content, for example, a field of equal spacing or progressive spacing is performed on the storage address to obtain key information of the storage address, and the key information is also correspondingly stored in the storage server. For example, the storage address corresponding to the mail Y0001 is "ABDCDESDFAMFO.JPG", and the key information "D-E-F-F-P-" corresponding to the storage address and the corresponding completion mode "AB-CD-SD-AM-O.J-G" are obtained by adopting a mode of removing fields at equal intervals.
305: the user terminal 11b receives the target mail sent by the mail server based on the recipient mailbox identification.
In an embodiment, after receiving the target email Y0001, the user terminal 11b reminds the user of the unread email, and the email content includes only: the key information "D-E-F-F-P-" and the authentication token "XXDBQ".
306: the user terminal 11b sends the key information, the verification token, and the statistical information to the mail server when the target mail is viewed.
In one embodiment, the user selects to view the mail Y0001, and the mail user terminal 11b sends the key information "D-E-F-P-" in the mail Y0001, the verification token "XXDBQ", the IP address of the current user terminal, the reading time, and other statistical information to the mail server 12 a.
307: the mail server 12a receives the key information and the verification token sent by the user terminal when the target mail is viewed, and performs management and control verification on the key information and the verification token returned by the user terminal.
In an embodiment, the mail server 12a completes the key information returned by the user terminal according to a preset completing mode to obtain first address information; generating a first verification token based on the first address information based on a generation mode corresponding to generation of the verification token; comparing the first verification token with the verification token returned by the user terminal; and when the comparison between the first verification token and the verification token returned by the user terminal passes, the management and control verification passes. The mail server 12a may uniquely determine a mail in the storage server according to the mail identifier, and further may determine a completion mode, an encryption algorithm, a random number, or a fixed number corresponding to the mail, and then complete the key information returned by the user terminal to obtain first address information, for example, the key information "D-E-F-P-" sent by the user terminal 11b, obtain a corresponding completion mode "AB-CD-SD-AM-o.j-G" according to the mail identifier Y0001, then sequentially replace blank fields in the completion mode with fields in the key information to obtain first address information "abdcdefamfo.jpg", then generate a first verification token "XXDBQ" corresponding to the first address information "abdcdefamfo.jpg" using the same encryption algorithm and random number or fixed number, and comparing the verification token with a verification token 'XXDBQ' returned by the user terminal, wherein the verification token is consistent with the verification token 'XXDBQ', the comparison of the first verification token and the verification token returned by the user terminal is passed, the control verification is passed, and if the user terminal 11b returns other key information or the verification tokens are inconsistent, the control verification is not passed.
In one embodiment, for further authentication, after the comparison between the first authentication token and the authentication token returned by the user terminal passes, the method further includes: the mail server 12a determines whether the verification token returned by the user terminal is present and valid in the storage server, and if the verification token is present and valid in the storage server, the management and control check is passed. The step can be verified by verifying whether the token is valid for a single time, whether the token is in the valid period, and the like.
In one embodiment, if the management check is not passed, step 308 is executed, and if the management check is passed, step 309 is executed.
308: the mail server 12a transmits a check error page to the user terminal 11 b.
309: the mail server 12a transmits the storage address of the long map to the user terminal.
In an embodiment, when the management and control verification is passed, the mail server 12a sends the storage address of the long icon to the user terminal, so that the user terminal acquires and displays the long icon.
310: mail server 12a stores the statistical data to storage server 12 b.
In one embodiment, the mail server 12a stores the statistical information such as the IP address, reading time, etc. of the user terminal 11b in the storage server 12 b.
311: the user terminal 11b acquires and displays the long image corresponding to the mail content.
In an embodiment, the user terminal 11b receives the storage address of the long graph returned by the mail server after the control and verification of the key information and the verification token management are passed, and acquires and displays the long graph from the mail server based on the storage address of the long graph.
As shown in fig. 7b, the mail server provides a Html + Css-based mail presentation page in which the mail content is a picture.
312: the user terminal 11b transmits a mail content update request to the server 12 a.
In an embodiment, after the recipient views the email, the recipient considers that the email content needs to be modified, clicks the long graph to enter an interactive interface as shown in fig. 7c, where the page is an interactive page implemented by the email server 12a based on HTML + javascript + Css, the interactive interface includes options such as long graph, modification, update and the like corresponding to the email content, the recipient completes updating the email content based on the interface, and the user terminal 11b sends the updated email content to the email server 12 a.
For example, the user increases the data in the mail content by one unit: and the Hanyuan enables the mail content to be more accurate.
313: the server 12a updates the mail content.
In an embodiment, for example, after a user modifies a certain data in the mail content and clicks to resend the modified data, the mail server generates a picture corresponding to the new mail content and updates the picture to the storage address of the original picture, so that the storage address does not need to be updated, the mail does not need to be resent to the user, and the updating of the mail content is realized.
At this time, when the other user who receives the mail Y0001 opens the mail, the obtained long graph is the updated mail content as shown in fig. 7 d.
Fig. 4 is a schematic flowchart of a third method for processing a mail according to an embodiment of the present application, please refer to fig. 4, where the method for processing a mail includes the following steps:
401: the mail server 12a acquires the mail content of the target mail.
In one embodiment, the sender performs mail transmission through the user terminal 11a, and at this time, the mail server 12a provides the user terminal 11a with a mail editing interface as shown in fig. 7a based on the Html + Css technique.
The user edits the report in the interface shown in fig. 7a, and clicks the send button after the editing, static rendering, and the like are completed, and at this time, the mail server 12a acquires the report in the mail content.
402: the mail server 12a acquires a long map corresponding to the mail content of the target mail and a storage address of the long map.
In one embodiment, the mail server 12a enables a web browser process capable of rendering Html + Css in the background, that is, the mail server simulates opening a web browser, calls a screenshot command (the command may be a system command or an interface provided by the web browser process) to generate a long map, stores the long map in the storage server 12b, and returns a storage address corresponding to the long map.
403: and the mail server 12a generates a verification token corresponding to the target mail according to the storage address of the long graph.
In one embodiment, token (authentication token) is used as a basis for mail management and is generated in a manner including Y ═ f (x), where x is composed of a storage address of a long graph of target mail content and a random number or a fixed number, and function f () is an encryption algorithm, after a token corresponding to mail Y0001(Y0001 is a mail identifier) is generated, the storage address, the random number or the fixed number of the first format picture of the mail content, function f () and token are all stored in a storage server, for example, for mail Y0001, the corresponding token is XXDBQ.
404: and the mail server 12a sends the key information of the storage address and the verification token to a target mailbox corresponding to the recipient mailbox identifier of the target mail.
In an embodiment, to avoid leakage of the mail content, the mail server 12a intercepts the storage address to obtain key information of the storage address, where the key information needs to be distinguished from the storage address of the first format picture corresponding to other mail content, for example, a field of equal spacing or progressive spacing is performed on the storage address to obtain key information of the storage address, and the key information is also correspondingly stored in the storage server. For example, the storage address corresponding to the mail Y0001 is "ABDCDESDFAMFO.JPG", and the key information "D-E-F-F-P-" corresponding to the storage address and the corresponding completion mode "AB-CD-SD-AM-O.J-G" are obtained by adopting a mode of removing fields at equal intervals.
405: the user terminal 11b receives the target mail sent by the mail server based on the recipient mailbox identification.
In an embodiment, after receiving the target email Y0001, the user terminal 11b reminds the user of the unread email, and the email content includes only: the key information "D-E-F-F-P-" and the authentication token "XXDBQ".
406: the user terminal 11b sends the key information, the verification token, and the statistical information to the mail server when the target mail is viewed.
In one embodiment, the user selects to view the mail Y0001, and the mail user terminal 11b sends the key information "D-E-F-P-" in the mail Y0001, the verification token "XXDBQ", the IP address of the current user terminal, the reading time, and other statistical information to the mail server 12 a.
407: the mail server 12a receives the key information and the verification token sent by the user terminal when the target mail is viewed, and performs management and control verification on the key information and the verification token returned by the user terminal.
In an embodiment, the mail server 12a completes the key information returned by the user terminal according to a preset completing mode to obtain first address information; generating a first verification token based on the first address information based on a generation mode corresponding to generation of the verification token; comparing the first verification token with the verification token returned by the user terminal; and when the comparison between the first verification token and the verification token returned by the user terminal passes, the management and control verification passes. The mail server 12a may uniquely determine a mail in the storage server according to the mail identifier, and further may determine a completion mode, an encryption algorithm, a random number, or a fixed number corresponding to the mail, and then complete the key information returned by the user terminal to obtain first address information, for example, the key information "D-E-F-P-" sent by the user terminal 11b, obtain a corresponding completion mode "AB-CD-SD-AM-o.j-G" according to the mail identifier Y0001, then sequentially replace blank fields in the completion mode with fields in the key information to obtain first address information "abdcdefamfo.jpg", then generate a first verification token "XXDBQ" corresponding to the first address information "abdcdefamfo.jpg" using the same encryption algorithm and random number or fixed number, and comparing the verification token with a verification token 'XXDBQ' returned by the user terminal, wherein the verification token is consistent with the verification token 'XXDBQ', the comparison of the first verification token and the verification token returned by the user terminal is passed, the control verification is passed, and if the user terminal 11b returns other key information or the verification tokens are inconsistent, the control verification is not passed.
In one embodiment, for further authentication, after the comparison between the first authentication token and the authentication token returned by the user terminal passes, the method further includes: the mail server 12a determines whether the verification token returned by the user terminal is present and valid in the storage server, and if the verification token is present and valid in the storage server, the management and control check is passed. The step can be verified by verifying whether the token is valid for a single time, whether the token is in the valid period, and the like.
In one embodiment, if the management control check is not passed, step 408 is performed, and if the management control check is passed, step 409 is performed.
408: the mail server 12a transmits a check error page to the user terminal 11 b.
409: the mail server 12a transmits the storage address of the long map to the user terminal.
In an embodiment, when the management and control verification is passed, the mail server 12a sends the storage address of the long icon to the user terminal, so that the user terminal acquires and displays the long icon.
410: mail server 12a stores the statistical data to storage server 12 b.
In one embodiment, the mail server 12a stores the statistical information such as the IP address, reading time, etc. of the user terminal 11b in the storage server 12 b.
411: the user terminal 11b acquires and displays the long image corresponding to the mail content.
In an embodiment, the user terminal 11b receives the storage address of the long graph returned by the mail server after the control and verification of the key information and the verification token management are passed, and acquires and displays the long graph from the mail server based on the storage address of the long graph.
As shown in fig. 7b, the mail server provides a Html + Css-based mail presentation page in which the mail content is a picture.
412: the management terminal 11c transmits a statistical request to the server 12 a.
In an embodiment, the administrator needs to view the reading data of the email, and may click the long graph of the email corresponding to the sent email to enter the interactive interface as shown in fig. 7e, where the page is an interactive page implemented by the email server 12a based on HTML + javascript + Css, the interactive interface includes options such as long graph corresponding to the email content, modification, update, and statistics, and the sender selects data statistics based on the interface, and sends a statistics request to the email server 12 a. It can be seen from fig. 7e that after the user in the embodiment shown in fig. 3 modifies the mail content, the mail server performs the long-image update, and the long image seen by the sender in the sent mail is the updated long image.
413: the mail server 12a sends the reading statistical data corresponding to the target mail to the management terminal 11 c.
In one embodiment, the mail server 12a sends the reading statistic data corresponding to the target mail to the management terminal 11c, for example, sends data such as reading time, IP address, etc. of the mail Y0001 to which users read the mail to the management terminal 11 c.
414: and the management terminal 11c receives and displays the reading statistical data returned by the mail server on the dynamic interaction page.
In an embodiment, as shown in fig. 7f, the management terminal 11c displays a presentation interface newly on the interactive page, where the presentation interface is implemented by the mail server 12a based on Html + Css, and is used to present reading statistics data returned by the mail server.
Correspondingly, fig. 5a is a schematic structural diagram of a mail processing apparatus located in a mail server according to an embodiment of the present application, please refer to fig. 5a, where the mail processing apparatus includes the following modules:
an obtaining module 501, configured to obtain a first format picture corresponding to a mail content of a target mail and a storage address of the first format picture;
the token module 502 is configured to generate a verification token corresponding to the target email according to the storage address of the first format picture;
the mail module 503 is configured to send the key information of the storage address and the verification token to a target mailbox corresponding to a recipient mailbox identifier of the target mail;
a receiving module 504, configured to receive the key information and the verification token sent by the user terminal when the target email is viewed, and perform management and control verification on the key information and the verification token returned by the user terminal;
and a sending module 505, configured to send the storage address of the first format picture to the user terminal when the management and control check is passed, so that the user terminal obtains and displays the first format picture.
In one embodiment, the obtaining module 501 is further configured to: acquiring mail content of a target mail and generating a static page corresponding to the mail content; generating a first format picture corresponding to the mail content based on the static page; and storing the first format picture to obtain a storage address of the first format picture.
In one embodiment, the obtaining module 501 is further configured to: generating a second format picture corresponding to the mail content based on the static page; the sending module 505 is further configured to send the second format picture to a target mailbox corresponding to a recipient mailbox identifier of the target mail when the management and control check on the target mail are not needed.
In one embodiment, the receiving module 504 is further configured to: according to a preset completion mode, completing the key information returned by the user terminal to obtain first address information; generating a first verification token based on the first address information based on a generation mode corresponding to generation of the verification token; comparing the first verification token with the verification token returned by the user terminal; and when the comparison between the first verification token and the verification token returned by the user terminal passes, the management and control verification passes.
In one embodiment, the receiving module 504 is further configured to: storing the verification token corresponding to the target mail to a storage server; after the comparison between the first verification token and the verification token returned by the user terminal is passed, judging whether the verification token returned by the user terminal exists and is valid in the storage server, and if the verification token exists and is valid in the storage server, passing the management and control verification.
In one embodiment, the receiving module 504 is further configured to: receiving reading statistical data sent by a user terminal when the target mail is viewed; and when the management and control verification is passed, storing the reading statistical data corresponding to the target mail.
In one embodiment, the receiving module 504 is further configured to: receiving a statistical request sent by the management terminal after the management terminal enters a dynamic interaction page based on the first format picture; the sending module 505 is further configured to send the reading statistical data corresponding to the target email to the management terminal, so that the management terminal obtains and displays the reading statistical data on the dynamic interaction page.
In one embodiment, the receiving module 504 is further configured to: receiving an email content updating request sent by a user terminal after the user terminal enters a dynamic interaction page based on the first format picture; determining the updated mail content according to the mail content updating request; and acquiring a first format picture corresponding to the updated mail content, replacing the first format picture corresponding to the mail content before updating, and keeping the storage address of the first format picture unchanged.
Correspondingly, fig. 5b is a schematic structural diagram of a mail processing apparatus located in a user terminal according to an embodiment of the present application, please refer to fig. 5b, where the mail processing apparatus includes the following modules:
a receiving module 506, configured to receive a target mail sent by a mail server based on a recipient mailbox identifier, where the target mail includes key information of a first format picture storage address corresponding to a mail content of the target mail and a verification token corresponding to the target mail;
a communication module 507, configured to send the key information and the verification token to the mail server when the target mail is viewed;
the management and control module 508 is configured to receive a storage address of the first format picture returned by the mail server after the control and verification of the key information and the verification token pipe are passed;
a displaying module 509, configured to obtain and display the first format picture from the mail server based on the storage address of the first format picture.
In one embodiment, the communication module 507 is further configured to: and when the target mail is checked, reading statistical data are obtained and sent to the mail server, so that the mail server stores the reading statistical data corresponding to the target mail when the management and control verification is passed.
In one embodiment, the communication module 507 is further configured to: entering a dynamic interactive page based on the first format picture, and sending a statistical request to the mail server; the displaying module 509 is further configured to receive and display the reading statistical data returned by the mail server on the dynamic interaction page.
In one embodiment, the communication module 507 is further configured to: entering a dynamic interactive page based on the first format picture; updating the mail content in the dynamic interactive page; an email content updating request sent to the email server, wherein the email content updating request carries updated email content; and the mail server acquires the first format picture corresponding to the updated mail content, replaces the first format picture corresponding to the mail content before updating, and keeps the storage address of the first format picture unchanged.
Correspondingly, the embodiment of the application also provides an electronic device, and the electronic device can be a mail server or a user terminal (i.e. a terminal).
As shown in fig. 6, the electronic device may include Radio Frequency (RF) circuitry 601, memory 602 including one or more computer-readable storage media, input unit 603, display unit 604, sensor 605, audio circuitry 606, Wireless fidelity (WiFi) module 607, processor 608 including one or more processing cores, and power supply 609. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 6 does not constitute a limitation of the electronic device and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components. Wherein:
the RF circuit 601 may be used for receiving and transmitting signals during a message transmission or communication process, and in particular, for receiving downlink messages from a base station and then processing the received downlink messages by one or more processors 608; in addition, data relating to uplink is transmitted to the base station. The memory 602 may be used to store software programs and modules, and the processor 608 executes various functional applications and data processing by operating the software programs and modules stored in the memory 602. The input unit 603 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control.
The display unit 604 may be used to display information input by or provided to a user and various graphical user interfaces of the electronic device, which may be made up of graphics, text, icons, video, and any combination thereof.
The electronic device may also include at least one sensor 605, such as a light sensor, motion sensor, and other sensors. Audio circuitry 606 includes speakers that can provide an audio interface between a user and the electronic device.
WiFi belongs to short-distance wireless transmission technology, and the electronic device can help the user send and receive e-mail, browse web pages, access streaming media, etc. through the WiFi module 607, and it provides wireless broadband internet access for the user. Although fig. 6 shows the WiFi module 607, it is understood that it does not belong to the essential constitution of the electronic device, and may be omitted entirely as needed within the scope not changing the essence of the application.
The processor 608 is a control center of the electronic device, connects various parts of the entire mobile phone by using various interfaces and lines, and performs various functions of the electronic device and processes data by operating or executing software programs and/or modules stored in the memory 602 and calling data stored in the memory 602, thereby performing overall monitoring of the mobile phone.
The electronic device also includes a power supply 609 (e.g., a battery) for powering the various components, which may preferably be logically coupled to the processor 608 via a power management system, such that the power management system may manage charging, discharging, and power consumption.
Although not shown, the electronic device may further include a camera, a bluetooth module, and the like, which are not described in detail herein. Specifically, in this embodiment, the processor 608 in the electronic device loads the executable file corresponding to the process of one or more application programs into the memory 602 according to the following instructions, and the processor 608 runs the application program stored in the memory 602, so as to implement the following functions:
acquiring a first format picture corresponding to the mail content of a target mail and a storage address of the first format picture;
generating a verification token corresponding to the target mail according to the storage address of the first format picture;
sending the key information of the storage address and the verification token to a target mailbox corresponding to the receiver mailbox identifier of the target mail;
receiving key information and a verification token sent by a user terminal when the target mail is checked, and performing management and control verification on the key information and the verification token returned by the user terminal;
and when the management and control verification is passed, sending the storage address of the first format picture to the user terminal so that the user terminal can acquire and display the first format picture.
Or to implement the following functions:
receiving a target mail sent by a mail server based on a receiver mailbox identifier, wherein the target mail comprises key information of a first format picture storage address corresponding to the mail content of the target mail and a verification token corresponding to the target mail;
when the target mail is viewed, sending the key information and the verification token to the mail server;
receiving a storage address of the first format picture returned by the mail server after the key information and the control verification of the verification token pipe pass;
and acquiring and displaying the first format picture from the mail server based on the storage address of the first format picture.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and parts that are not described in detail in a certain embodiment may refer to the above detailed description, and are not described herein again.
It will be understood by those skilled in the art that all or part of the steps of the methods of the above embodiments may be performed by instructions or by associated hardware controlled by the instructions, which may be stored in a computer readable storage medium and loaded and executed by a processor.
To this end, an embodiment of the present application provides a computer-readable storage medium, in which a plurality of instructions are stored, and the instructions can be loaded by a processor to implement the following functions:
acquiring a first format picture corresponding to the mail content of a target mail and a storage address of the first format picture;
generating a verification token corresponding to the target mail according to the storage address of the first format picture;
sending the key information of the storage address and the verification token to a target mailbox corresponding to the receiver mailbox identifier of the target mail;
receiving key information and a verification token sent by a user terminal when the target mail is checked, and performing management and control verification on the key information and the verification token returned by the user terminal;
and when the management and control verification is passed, sending the storage address of the first format picture to the user terminal so that the user terminal can acquire and display the first format picture.
Or to implement the following functions:
receiving a target mail sent by a mail server based on a receiver mailbox identifier, wherein the target mail comprises key information of a first format picture storage address corresponding to the mail content of the target mail and a verification token corresponding to the target mail;
when the target mail is viewed, sending the key information and the verification token to the mail server;
receiving a storage address of the first format picture returned by the mail server after the key information and the control verification of the verification token pipe pass;
and acquiring and displaying the first format picture from the mail server based on the storage address of the first format picture.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
Wherein the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
Since the instructions stored in the storage medium can execute the steps in any method provided in the embodiments of the present application, the beneficial effects that can be achieved by any method provided in the embodiments of the present application can be achieved, for details, see the foregoing embodiments, and are not described herein again.
The method and apparatus for processing mail, the terminal, the server and the computer-readable storage medium provided by the embodiments of the present application are introduced in detail above, and a specific example is applied in the present application to explain the principle and the implementation of the present application, and the description of the above embodiments is only used to help understanding the method and the core idea of the present application; meanwhile, for those skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.
Claims (15)
1. A method for processing mail, comprising:
acquiring a first format picture corresponding to the mail content of a target mail and a storage address of the first format picture;
generating a verification token corresponding to the target mail according to the storage address of the first format picture;
sending the key information of the storage address and the verification token to a target mailbox corresponding to the receiver mailbox identifier of the target mail;
receiving key information and a verification token sent by a user terminal when the target mail is checked, and performing management and control verification on the key information and the verification token returned by the user terminal;
and when the management and control verification is passed, sending the storage address of the first format picture to the user terminal so that the user terminal can acquire and display the first format picture.
2. The mail processing method according to claim 1, wherein the step of obtaining the first format picture corresponding to the mail content of the target mail and the storage address of the first format picture comprises:
acquiring the mail content of the target mail and generating a static page corresponding to the mail content;
generating a first format picture corresponding to the mail content based on the static page;
and storing the first format picture to obtain a storage address of the first format picture.
3. The mail processing method according to claim 2, further comprising, after the step of generating the static page corresponding to the mail content:
generating a second format picture corresponding to the mail content based on the static page;
and when the management and control verification of the target mail is not needed, sending the second format picture to a target mailbox corresponding to the receiver mailbox identifier of the target mail.
4. The mail processing method according to claim 1, wherein the step of performing administration and verification on the key information and the verification token returned by the user terminal comprises:
according to a preset completion mode, completing the key information returned by the user terminal to obtain first address information;
generating a first verification token based on the first address information based on a generation mode corresponding to generation of the verification token;
comparing the first verification token with the verification token returned by the user terminal;
and when the comparison between the first verification token and the verification token returned by the user terminal passes, the management and control verification passes.
5. The mail processing method according to claim 4, further comprising, after the step of generating the verification token corresponding to the target mail according to the storage address of the first format picture: storing the verification token corresponding to the target mail to a storage server;
after the comparison between the first authentication token and the authentication token returned by the user terminal is passed, the method further comprises: and judging whether the verification token returned by the user terminal exists and is valid in the storage server, and if so, passing the management and control verification.
6. The mail processing method according to claim 1, wherein after the step of sending the key information of the storage address and the verification token to the target mailbox corresponding to the recipient mailbox identifier of the target mail, the method further comprises:
receiving reading statistical data sent by the user terminal when the target mail is viewed;
and when the management and control verification is passed, storing the reading statistical data corresponding to the target mail.
7. The mail processing method according to claim 6, further comprising, after the step of sending the storage address of the first format picture to the user terminal:
receiving a statistical request sent by the management terminal after the management terminal enters a dynamic interaction page based on the first format picture;
and sending the reading statistical data corresponding to the target mail to the management terminal so that the management terminal can acquire and display the reading statistical data on the dynamic interaction page.
8. The mail processing method according to any one of claims 1 to 7, further comprising, after the step of sending the storage address of the first format picture to the user terminal:
receiving an email content updating request sent by a user terminal after the user terminal enters a dynamic interaction page based on the first format picture;
determining the updated mail content according to the mail content updating request;
and acquiring a first format picture corresponding to the updated mail content, replacing the first format picture corresponding to the mail content before updating, and keeping the storage address of the first format picture unchanged.
9. A method for processing mail, comprising:
receiving a target mail sent by a mail server based on a receiver mailbox identifier, wherein the target mail comprises key information of a first format picture storage address corresponding to the mail content of the target mail and a verification token corresponding to the target mail;
when the target mail is viewed, sending the key information and the verification token to the mail server;
receiving a storage address of the first format picture returned by the mail server after the key information and the control verification of the verification token pipe pass;
and acquiring and displaying the first format picture from the mail server based on the storage address of the first format picture.
10. The mail processing method according to claim 9, further comprising, after the step of receiving the target mail sent by the mail server based on the recipient mailbox identification:
and when the target mail is checked, reading statistical data are obtained and sent to the mail server, so that the mail server stores the reading statistical data corresponding to the target mail when the management and control verification is passed.
11. The mail processing method according to claim 9, further comprising, after the step of obtaining and presenting the first format picture from the mail server:
entering a dynamic interactive page based on the first format picture, and sending a statistical request to the mail server;
and receiving and displaying the reading statistical data returned by the mail server on the dynamic interactive page.
12. The mail processing method according to any one of claims 9 to 11, further comprising, after the step of obtaining and presenting the first format picture from the mail server:
entering a dynamic interactive page based on the first format picture;
updating the mail content in the dynamic interactive page;
an email content updating request sent to the email server, wherein the email content updating request carries updated email content; and the mail server acquires the first format picture corresponding to the updated mail content, replaces the first format picture corresponding to the mail content before updating, and keeps the storage address of the first format picture unchanged.
13. A method for processing mail, comprising:
the method comprises the steps that a mail server obtains a first format picture corresponding to the mail content of a target mail and a storage address of the first format picture, generates a verification token corresponding to the target mail according to the storage address of the first format picture, and sends key information of the storage address and the verification token to a target mailbox corresponding to a receiver mailbox identifier of the target mail;
a user terminal receives a target mail sent by a mail server based on a receiver mailbox identifier, wherein the target mail comprises key information of a first format picture storage address corresponding to the mail content of the target mail and a verification token corresponding to the target mail, and when the target mail is viewed, the key information and the verification token are sent to the mail server;
the mail server receives the key information and the verification token sent by the user terminal, performs management and control verification on the key information and the verification token returned by the user terminal, and sends the storage address of the first format picture to the user terminal when the management and control verification is passed;
and the user terminal receives the storage address of the first format picture returned by the mail server, and acquires and displays the first format picture from the mail server based on the storage address of the first format picture.
14. A mail processing apparatus, comprising:
the acquisition module is used for acquiring a first format picture corresponding to the mail content of the target mail and a storage address of the first format picture;
the token module is used for generating a verification token corresponding to the target mail according to the storage address of the first format picture;
the mail module is used for sending the key information of the storage address and the verification token to a target mailbox corresponding to a receiver mailbox identifier of the target mail;
the receiving module is used for receiving the key information and the verification token sent by the user terminal when the target mail is viewed, and performing management and control verification on the key information and the verification token returned by the user terminal;
and the sending module is used for sending the storage address of the first format picture to the user terminal when the management and control verification is passed so that the user terminal can obtain and display the first format picture.
15. A mail processing apparatus, comprising:
the mail receiving module is used for receiving a target mail sent by a mail server based on a receiver mailbox identifier, wherein the target mail comprises key information of a first format picture storage address corresponding to the mail content of the target mail and a verification token corresponding to the target mail;
the communication module is used for sending the key information and the verification token to the mail server when the target mail is viewed;
the management and control module is used for receiving the storage address of the first format picture returned by the mail server after the key information and the control and verification of the verification token pipe pass;
and the display module is used for acquiring and displaying the first format picture from the mail server based on the storage address of the first format picture.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010349989.2A CN113572676B (en) | 2020-04-28 | 2020-04-28 | Mail processing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010349989.2A CN113572676B (en) | 2020-04-28 | 2020-04-28 | Mail processing method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113572676A true CN113572676A (en) | 2021-10-29 |
CN113572676B CN113572676B (en) | 2024-02-02 |
Family
ID=78158075
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010349989.2A Active CN113572676B (en) | 2020-04-28 | 2020-04-28 | Mail processing method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113572676B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114915608A (en) * | 2022-05-23 | 2022-08-16 | 北京冠群信息技术股份有限公司 | Method for realizing safety envelope based on Web |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070011252A1 (en) * | 2005-06-21 | 2007-01-11 | Data Laboratory, L.L.C. | System and method for verifying the identity of a sender of electronic mail and preventing unsolicited bulk email |
WO2011015869A1 (en) * | 2009-08-05 | 2011-02-10 | Mcwat Limited | Method of verifying a sender of an electronic communication |
US20140197233A1 (en) * | 2013-01-14 | 2014-07-17 | Jehoshaphat Huguley | Video picture mail verification |
CN106713109A (en) * | 2015-11-13 | 2017-05-24 | 北京奇虎科技有限公司 | Html mail sending and receiving method and device |
-
2020
- 2020-04-28 CN CN202010349989.2A patent/CN113572676B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070011252A1 (en) * | 2005-06-21 | 2007-01-11 | Data Laboratory, L.L.C. | System and method for verifying the identity of a sender of electronic mail and preventing unsolicited bulk email |
WO2011015869A1 (en) * | 2009-08-05 | 2011-02-10 | Mcwat Limited | Method of verifying a sender of an electronic communication |
US20140197233A1 (en) * | 2013-01-14 | 2014-07-17 | Jehoshaphat Huguley | Video picture mail verification |
CN106713109A (en) * | 2015-11-13 | 2017-05-24 | 北京奇虎科技有限公司 | Html mail sending and receiving method and device |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114915608A (en) * | 2022-05-23 | 2022-08-16 | 北京冠群信息技术股份有限公司 | Method for realizing safety envelope based on Web |
Also Published As
Publication number | Publication date |
---|---|
CN113572676B (en) | 2024-02-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105391803B (en) | Message pushing method, device, equipment and computer readable storage medium | |
CN107690078B (en) | Bullet screen information display method, bullet screen information providing method and bullet screen information providing equipment | |
US8910081B2 (en) | Push notifications for updating multiple dynamic icon panels | |
WO2017050068A1 (en) | Interaction system and method, client, and background server | |
TWI579765B (en) | Offline transmission and display methods, devices and systems for offline data | |
US20200099768A1 (en) | Method and system for sharing data between terminals | |
CN111178012A (en) | Form rendering method, device and equipment and storage medium | |
CN103167031B (en) | Method, device and system for communication between Web applications | |
CN106557962A (en) | Method of payment, apparatus and system | |
CN105978873A (en) | Registration method and device of customized equipment | |
CN103986752A (en) | Method, device and system for inputting information on input interface of smart television set | |
CN112653670B (en) | Business logic vulnerability detection method and device, storage medium and terminal | |
MX2013014598A (en) | Selective linking of message accounts. | |
CN111478849B (en) | Service access method, device and storage medium | |
TWI496485B (en) | Method for instant communication, terminal and system | |
CN104917796B (en) | Credit accounts creating device, system and method | |
US20160359774A1 (en) | Instant messaging with non subscriber users | |
CN111475359B (en) | System testing method, device and storage medium under multi-message interaction scene | |
CN112367241A (en) | Message generation and message transmission method, device, equipment and computer readable medium | |
CN110109594B (en) | Drawing data sharing method and device, storage medium and equipment | |
CN113572676B (en) | Mail processing method and device | |
CN108289056B (en) | Method and device for sharing dynamic chart and computing equipment | |
CN114417201A (en) | Message processing method and device, computer equipment and storage medium | |
EP2490467A1 (en) | Method and arrangement for registering a user | |
CN115941637A (en) | System and method for mute transmission of real-time messages |
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 |