CN113572676B - Mail processing method and device - Google Patents
Mail processing method and device Download PDFInfo
- Publication number
- CN113572676B CN113572676B CN202010349989.2A CN202010349989A CN113572676B CN 113572676 B CN113572676 B CN 113572676B CN 202010349989 A CN202010349989 A CN 202010349989A CN 113572676 B CN113572676 B CN 113572676B
- Authority
- CN
- China
- Prior art keywords
- format picture
- user terminal
- key information
- verification
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 31
- 238000000034 method Methods 0.000 claims abstract description 27
- 238000012545 processing Methods 0.000 claims abstract description 18
- 238000012795 verification Methods 0.000 claims description 205
- 230000008846 dynamic interplay Effects 0.000 claims description 23
- 230000003068 static effect Effects 0.000 claims description 15
- 238000004891 communication Methods 0.000 claims description 7
- 238000005516 engineering process Methods 0.000 abstract description 8
- 230000000295 complement effect Effects 0.000 description 18
- 230000006870 function Effects 0.000 description 14
- 238000010586 diagram Methods 0.000 description 8
- 230000008569 process Effects 0.000 description 8
- 238000009877 rendering Methods 0.000 description 7
- 230000002452 interceptive effect Effects 0.000 description 6
- 238000012986 modification Methods 0.000 description 4
- 230000004048 modification Effects 0.000 description 4
- 238000011161 development Methods 0.000 description 3
- 230000018109 developmental process Effects 0.000 description 3
- 230000003993 interaction Effects 0.000 description 3
- 230000000750 progressive effect Effects 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 2
- 230000032683 aging Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 235000014510 cooky Nutrition 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 230000001172 regenerating effect Effects 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
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 device, in the method, mail sent by a mail server only comprises key information and a token of a storage address of a picture corresponding to mail content, and the mail received by a user terminal only comprises the key information and an authentication token, when a 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 management such as single reading effective, 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 after the mail is sent in the current mail processing technology is solved, and the safety of the mail content is enhanced.
Description
Technical Field
The present invention relates to the field of communications, and in particular, to a mail processing method and apparatus.
Background
With the development of internet applications, more and more users use user terminals, such as mail clients or web pages installed on computers to send and receive mails.
In the current mail processing technology, after the mail is sent to the user, the user can permanently read and check the mail after the user terminal downloads the mail, and potential safety hazards exist.
Namely, the current mail processing technology has the technical problem that the mail cannot be managed after being sent.
Content of the application
The embodiment of the application provides a mail processing method and device, which are used for solving the technical problem that the mail processing technology cannot be controlled after sending the mail.
In order to solve the technical problems, the embodiment of the application provides the following technical scheme:
the embodiment of the application provides a mail processing method, which comprises the following steps:
acquiring a first format picture corresponding to 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;
the key information of the storage address and the verification token are sent to a target mailbox corresponding to a receiver mailbox identifier of the target mail;
receiving key information and an authentication token sent by a user terminal when the target mail is checked, and performing control verification on the key information and the authentication token returned by the user terminal;
And when the management and control verification is passed, the storage address of the first format picture is sent to the user terminal, so that the user terminal obtains and displays the first format picture.
The embodiment of the application provides a mail processing method, which comprises the following steps:
receiving a target mail sent by a mail server based on a recipient mailbox identification, wherein the target mail comprises key information of a first format picture storage address corresponding to mail content of the target mail and a verification token corresponding to the target mail;
sending the key information and the verification token to the mail server when the target mail is checked;
receiving a storage address of the first format picture returned by the mail server after the key information and the management and control verification of the verification token pass;
and 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 mail processing method, which comprises the following steps:
the mail server acquires a first format picture corresponding to 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;
The user terminal receives a target mail sent by a mail server based on a recipient mailbox mark, wherein the target mail comprises key information of a first format picture storage address corresponding to mail content of the target mail and a verification token corresponding to the target mail, and when the target mail is checked, 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, carries out 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 passes;
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.
The embodiment of the application provides a mail processing device, which comprises:
the acquiring 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 recipient 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 checked, and carrying out 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 check passes, so that the user terminal obtains and displays the first format picture.
The embodiment of the application provides a mail processing device, which comprises:
the mail receiving module is used for receiving a target mail sent by the mail server based on a recipient mailbox mark, wherein the target mail comprises key information of a first format picture storage address corresponding to 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 checked;
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 management and control verification of the verification token 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.
Embodiments of the present application provide a server comprising a processor and a memory storing a plurality of instructions adapted to be loaded by the processor to perform the steps of the above-described 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 loading by the processor to execute the steps in the method.
Embodiments of the present application provide a computer readable storage medium storing a plurality of instructions adapted to be loaded by a processor to perform the steps of the above-described method.
The embodiment of the application provides a new mail processing method and device, in the method, a mail server acquires a first format picture corresponding to 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, sends key information of the storage address and the verification token to a target mail corresponding to a recipient mailbox identifier of the target mail, a user terminal receives the target mail sent by a mail server based on the recipient mailbox identifier, the target mail comprises key information of the storage address of the first format picture corresponding to mail content of the target mail and the verification token corresponding to the target mail, and when the target mail is checked, 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, carries out 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, acquires the first format picture from the mail server and displays the first format picture 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 and a token of the storage address of the corresponding picture of the mail content, but not the mail content is directly sent, the mail received by the user terminal only comprises the key information and the verification token, 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 management such as single reading effective, 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 cannot be controlled after the mail is sent 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 of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly introduced below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic networking diagram of a mail system according to an embodiment of the present application.
Fig. 2 is a schematic flow chart of a first mail processing method according to an embodiment of the present application.
Fig. 3 is a schematic diagram of a second flow of the mail processing method according to the embodiment of the present application.
Fig. 4 is a schematic diagram of a third flow of the mail processing method according to the embodiment of the present application.
Fig. 5a is a schematic structural diagram of a mail processing device located in a mail server according to an embodiment of the present application.
Fig. 5b is a schematic structural diagram of a mail processing device located in a user terminal according to an embodiment of the present application.
Fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Fig. 7a to 7f are schematic views of interfaces according to embodiments of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by those skilled in the art based on the embodiments herein without making any inventive effort, are intended to be within the 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 mail content including the mail body is described below as an example.
In this embodiment, the first format picture and the second format picture are two different format pictures, such as a long picture and a Base64 format picture, where the long picture refers to a picture including the whole page structure, how long the page is, and not necessarily very long, and the Base64 format picture is a data description including all information of the pictures, and both the two pictures can be obtained based on the screenshot.
In this embodiment of the present application, the mail system may include or not 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 from the data server by the mail server according to a preset parameter, which will be described in connection with the embodiment below.
In this embodiment of the present application, a plurality of mails sent to different recipients, that is, group sending mails, may share a first format picture and a 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 the mail client to receive the mail, and can also receive and check the mail through the webpage 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 scenario of a mail system provided in 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 by means of an internet formed by various gateways, and are not described in detail, 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, mobile terminals such as mobile phones and tablet computers equipped with various mailbox applications, and fixed terminals such as computers, inquiring machines and advertising machines, which are service ports that can be used and operated by users, and in this application, the terminal provides various functions such as mail display and mail receiving and sending for users;
The server 12 provides various business services for users, including a mail server for storing mail contents, pictures corresponding to the mail contents, storage addresses of the pictures, authentication tokens, etc., a storage server for sending, managing, etc., mail, etc.
It should be noted that, the schematic system scenario shown in fig. 1 is only an example, and the servers and the scenarios described in the embodiments of the present application are for more clearly describing the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided in the embodiments of the present application, and those skilled in the art can know that, with the evolution of the system and the appearance of a new service scenario, the technical solutions provided in the embodiments of the present application are equally applicable to similar technical problems.
Fig. 2 is a first flowchart of a mail processing method according to an embodiment of the present application, please refer to fig. 2, the mail processing method includes the following steps:
201: the mail server 12a acquires 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, mail server 12a performs this step when it is required to automatically send mail or send mail according to a user operation.
In one embodiment, the step includes: the mail server 12a obtains mail content of a 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 step 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 display service based on html+css, that is, a static rendering service, which is a web page for generating a corresponding mail page for mail display according to user operations, that is, the mail server 12a generates a static page corresponding to mail content through html+css based on the service; the mail server 12a then provides a service for generating a long graph or a base64 picture according to the web page, namely a conversion service, wherein the web page rendered by the static rendering service is converted into a picture (long graph or base64 picture) with a corresponding format, specifically, the mail server enables a web browser process capable of rendering html+css in the background, namely, the mail server simulates to open 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 graph (i.e., a picture with a first format) and a picture with a base64 format (i.e., a picture with a second format), stores the long graph in the storage server 12b, and returns a storage address corresponding to the long graph.
202: the mail server 12a determines whether or not a management check is required for the target mail.
In one embodiment, mail server 12a determines whether or not the targeted mail needs to be managed based on the mail sender's settings, if not, then step 203 is performed, and if so, step 204 is performed.
203: the mail server 12a sends the second format picture to the target mailbox corresponding to the mailbox identifier of the target mail.
In one embodiment, the mail server 12a directly sends the base64 format picture corresponding to the mail content to the target mailbox corresponding to the recipient mailbox identifier of the target mail, and for the second format picture, the recipient can open the view picture at any time.
204: the mail server 12a generates an authentication token corresponding to the target mail according to the storage address of the first format picture.
In one embodiment, token (verification token) is used as a basis for mail management, and the generation manner includes y=f (x), where x is formed by a storage address of a first format picture of the target mail content and a random number or a fixed number, and the function f () is an encryption algorithm, and after the token corresponding to the mail Y0001 (Y0001 is a mail identifier) is generated, the storage address, the random number or the fixed number of the first format picture corresponding to the mail Y0001, the function f () and the token corresponding to the token are stored in the storage server, for example, for the mail Y0001, the corresponding token is XXDBQ.
In one embodiment, the validity period or the validity number of the token and whether the watermark of the departure picture is needed or not can be set.
205: the mail server 12a sends the key information of the storage address and the verification token to a target mailbox corresponding to the mailbox identifier of the target mail.
In one embodiment, to avoid disclosure of the mail content, the mail server 12a intercepts the storage address to obtain the key information of the storage address, where the key information needs to be distinguished from the storage addresses of the first format pictures corresponding to other mail content, for example, the storage addresses are subjected to field taking with equal interval or progressive interval to obtain the key information of the storage address, and the key information is 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 is obtained by adopting an equidistant field removing mode and the corresponding complement mode "AB-CD-SD-AM-O.J-G".
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 mail includes key information of a first format picture storage address corresponding to mail content of the target mail, and an authentication token corresponding to the target mail.
In one embodiment, after receiving this target mail Y0001, the user terminal 11b alerts the user that there is an unread mail, and the mail content includes only: key information "D-E-F-P-" and authentication token "XXDBQ".
207: the user terminal 11b transmits 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 mail Y0001, at which point mail user terminal 11b sends key information "D-E-F-F-P-" within mail Y0001 and the verification token "XXDBQ" to the mail server 12a.
208: the mail server 12a receives the key information and the verification token sent by the user terminal when the target mail is checked, and performs a management check on the key information and the verification token returned by the user terminal.
In one embodiment, the mail server 12a complements the key information returned by the user terminal according to a preset complement 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 authentication token with the authentication token returned by the user terminal; and when the comparison of the first verification token and the verification token returned by the user terminal is passed, managing and controlling the verification to pass. The mail server 12a may uniquely determine a mail in the storage server according to the mail identifier, and further determine a complement mode, an encryption algorithm, a random number, or a fixed number corresponding to the mail, and then complement 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 complement mode "AB-CD-SD-AM-o.j-G" according to the mail identifier Y0001, then sequentially replace blank fields in the complement mode with fields in the key information to obtain first address information "abdcddesdfamamfo.jpg", then use the same encryption algorithm and random number or fixed number to generate a first verification token "XXDBQ" corresponding to the first address information "abdcdefamfo.jpg", and compare the first verification token with the verification token "XXDBQ" returned by the user terminal, and the first verification token returned by the user terminal passes through the first verification and the verification token returned by the user terminal, and if the verification token returned by the user terminal passes or the verification and the verification token returned by the user terminal 11b fails.
In one embodiment, for further authentication, after the first authentication token passes the authentication token comparison returned by the user terminal, the method further includes: the mail server 12a determines whether the authentication token returned by the user terminal is stored and valid in the storage server, and if so, the management and control passes. The step can adopt the mode of verifying whether the token is valid for a single time, verifying whether the token is in the validity period and the like for verification.
In one embodiment, if the policing verification is not passed, step 209 is performed, and if the policing verification is passed, step 210 is performed.
209: the mail server 12a transmits a check error page to the user terminal 11 b.
210: the mail server 12a sends the storage address of the first format picture to the user terminal.
In one embodiment, the mail server 12a sends the storage address of the first format picture to the user terminal when the management check passes, so that the user terminal obtains and displays the first format picture.
211: and the user terminal acquires and displays the first format picture corresponding to the mail content.
In one embodiment, the user terminal 11b receives the storage address of the first format picture returned by the mail server after the key information and the management check of the verification token pass, and obtains 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: and when the management and control verification is passed, the mail server stores the reading statistical data corresponding to the target mail. 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 the reading statistical data sent by the user terminal when the target mail is checked; and when the management and control check passes, storing the reading statistical data corresponding to the target mail. For example, the mail server stores the reading statistics data such as the IP address, reading time and the like of the reader of the mail Y0001 into the storage server, so that the subsequent call is convenient.
In one embodiment, the method shown in fig. 2 further includes, at the terminal side: the management terminal enters a dynamic interaction 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 interaction page. At this time, on the server side, further comprising: the mail server receives a statistical request sent by the management terminal after entering 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 obtains and displays the reading statistical data on the dynamic interaction page. For example, the dynamic interaction page is realized by the mail server based on HTML+javascript+css, and the interaction page can provide other user interaction operations, such as data modification, mail retransmission, mail reading data acquisition and other operation logics, while providing mail page display. For example, the mail server sends the reading statistics data such as the IP address, reading time, etc. of the reader of the mail Y0001 to the management terminal for display.
In one embodiment, the method 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 interaction page based on the first format picture; updating the mail content in the dynamic interaction page; a mail content updating request is sent to the mail server, wherein the mail content updating request carries updated mail 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 includes: the mail server receives a mail content update request sent by the user terminal after entering a dynamic interaction page based on the first format picture; determining 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 the user modifies a certain data in the mail content and clicks to resend, 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 mail is not required to be sent to the user again without updating the storage address, and the update of the mail content is realized.
In this embodiment, since the contents of the target mail are displayed in the picture format, there is no need to adjust the display formats of user terminals of different versions and brands, which solves the problems that the style support of each mail user terminal (such as a certain email, a certain mail, etc.) is not uniform, the specific style effect needs special compatibility, some complex styles do not support under certain user terminals, which results in great workload of mail page development caused by the need of extra detour implementation, etc., more user terminals requiring regression verification are tested, and the user terminal update needs to update the mail page style synchronously, etc., which increases development maintenance test cost.
In this embodiment, permission determination or aging determination can be implemented based on the long-chart address and the verification token, and mail with higher security requirements can be sent in a long-chart mode, and at this time, the background can determine whether the picture can be displayed according to information such as timeliness and user cookies, so that security capability of mail information under the conditions that staff leaves the office and forwards the mail to external users is achieved.
In this embodiment, the background service may further generate the display of the statistical information such as the mail reading amount, reading period, reading distribution, and the like by recording the information such as the access times of the pictures and the ips of the access pictures by sending the mails in the form of long pictures, and in addition, the sent mail content may be updated by regenerating the updated pictures in the background.
For convenience of the following description, the embodiments shown in fig. 3 and fig. 4 need to perform mail control verification, so that the step of determining whether the mail server performs mail control verification on the target mail and the step of generating the second format picture are omitted.
Fig. 3 is a second flowchart of a mail processing method according to an embodiment of the present application, please refer to fig. 3, the mail processing method includes the following steps:
301: the mail server 12a acquires mail content of the target mail.
In one embodiment, the sender sends a mail through the user terminal 11a, at which point the mail server 12a provides a mail editing interface to the user terminal 11a as shown in FIG. 7a based on the html+Css technology.
The user edits the report in the interface shown in fig. 7a, and clicks the send button after the editing, static rendering, etc. are completed, at which time the mail server 12a obtains the report in the mail content.
302: the mail server 12a acquires a long chart corresponding to mail contents of the target mail and a storage address of the long chart.
In one embodiment, the mail server 12a enables 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 graph, stores the long graph in the storage server 12b, and returns a storage address corresponding to the long graph.
303: the mail server 12a generates an authentication token corresponding to the target mail according to the storage address of the long graph.
In one embodiment, token (verification token) is used as the basis for mail management, and the generation manner includes 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 array, and the function f () is an encryption algorithm, and after the token corresponding to the mail Y0001 (Y0001 is a mail identifier) is generated, the storage address, the random number or the fixed number of the first format picture corresponding to the mail Y0001, the function f () and the token corresponding to the first format picture of the mail content are stored in the storage server, for example, for the mail Y0001, the corresponding token is XXDBQ.
304: the mail server 12a sends the key information of the storage address and the verification token to a target mailbox corresponding to the mailbox identifier of the target mail.
In one embodiment, to avoid disclosure of 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 addresses of the long graphs corresponding to other mail content, for example, the storage addresses are subjected to field taking with equal interval or progressive interval to obtain key information of the storage address, and the key information is 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 is obtained by adopting an equidistant field removing mode and the corresponding complement mode "AB-CD-SD-AM-O.J-G".
305: the user terminal 11b receives the target mail sent by the mail server based on the recipient mailbox identification.
In one embodiment, after receiving this target mail Y0001, the user terminal 11b alerts the user that there is an unread mail, and the mail content includes only: key information "D-E-F-P-" and authentication token "XXDBQ".
306: the user terminal 11b transmits the key information, the authentication 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, at which time the mail user terminal 11b sends the statistical information of the key information "D-E-F-P-" in the mail Y0001, the authentication token "XXDBQ", the IP address of the current user terminal, the reading time, and the like to the mail server 12a.
307: the mail server 12a receives the key information and the verification token sent by the user terminal when the target mail is checked, and performs a management check on the key information and the verification token returned by the user terminal.
In one embodiment, the mail server 12a complements the key information returned by the user terminal according to a preset complement 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 authentication token with the authentication token returned by the user terminal; and when the comparison of the first verification token and the verification token returned by the user terminal is passed, managing and controlling the verification to pass. The mail server 12a may uniquely determine a mail in the storage server according to the mail identifier, and further determine a complement mode, an encryption algorithm, a random number, or a fixed number corresponding to the mail, and then complement 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 complement mode "AB-CD-SD-AM-o.j-G" according to the mail identifier Y0001, then sequentially replace blank fields in the complement mode with fields in the key information to obtain first address information "abdcddesdfamamfo.jpg", then use the same encryption algorithm and random number or fixed number to generate a first verification token "XXDBQ" corresponding to the first address information "abdcdefamfo.jpg", and compare the first verification token with the verification token "XXDBQ" returned by the user terminal, and the first verification token returned by the user terminal passes through the first verification and the verification token returned by the user terminal, and if the verification token returned by the user terminal passes or the verification and the verification token returned by the user terminal 11b fails.
In one embodiment, for further authentication, after the first authentication token passes the authentication token comparison returned by the user terminal, the method further includes: the mail server 12a determines whether the authentication token returned by the user terminal is stored and valid in the storage server, and if so, the management and control passes. The step can adopt the mode of verifying whether the token is valid for a single time, verifying whether the token is in the validity period and the like for verification.
In one embodiment, if the policing verification is not passed, step 308 is performed, and if the policing verification is passed, step 309 is performed.
308: the mail server 12a transmits a check error page to the user terminal 11 b.
309: the mail server 12a sends the storage address of the long graph to the user terminal.
In one embodiment, the mail server 12a sends the storage address of the long graph to the user terminal when the management check passes, so that the user terminal obtains and displays the long graph.
310: mail server 12a stores the statistics to storage server 12b.
In one embodiment, mail server 12a stores statistics of the IP address, reading time, etc. of user terminal 11b to storage server 12b.
311: the user terminal 11b acquires and displays a long chart corresponding to the mail content.
In one embodiment, the user terminal 11b receives the storage address of the long graph returned by the mail server after the key information and the management check of the verification token pass, and obtains 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 mail presentation page based on html+css, in which the mail content is a picture.
312: the user terminal 11b transmits a mail content update request to the server 12a.
In one embodiment, after the recipient views the mail, considers that the mail content needs to be modified, clicks the long chart to enter an interactive interface as shown in fig. 7c, where the page is an interactive page implemented by the mail server 12a based on html+javascript+css, the interactive interface includes options of long chart, modification, update, etc. corresponding to the mail content, the recipient completes update of the mail content based on the interface, and the user terminal 11b sends the updated mail content to the mail server 12a.
For example, the user adds one unit to the data in the mail content: and Korean metadata is adopted, so that the mail content is more accurate.
313: the server 12a performs updating of mail contents.
In one embodiment, for example, after a user modifies a certain data in the mail content and clicks to resend, 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, and mail does not need to be resent to the user, thereby realizing the update of the mail content.
At this time, when the other user who receives this email Y0001 opens the email, the obtained long chart is updated email content as shown in fig. 7 d.
Fig. 4 is a third flowchart of a mail processing method according to an embodiment of the present application, please refer to fig. 4, wherein the mail processing method includes the following steps:
401: the mail server 12a acquires mail content of the target mail.
In one embodiment, the sender sends a mail through the user terminal 11a, at which point the mail server 12a provides a mail editing interface to the user terminal 11a as shown in FIG. 7a based on the html+Css technology.
The user edits the report in the interface shown in fig. 7a, and clicks the send button after the editing, static rendering, etc. are completed, at which time the mail server 12a obtains the report in the mail content.
402: the mail server 12a acquires a long chart corresponding to mail contents of the target mail and a storage address of the long chart.
In one embodiment, the mail server 12a enables 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 graph, stores the long graph in the storage server 12b, and returns a storage address corresponding to the long graph.
403: the mail server 12a generates an authentication token corresponding to the target mail according to the storage address of the long graph.
In one embodiment, token (verification token) is used as the basis for mail management, and the generation manner includes 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 array, and the function f () is an encryption algorithm, and after the token corresponding to the mail Y0001 (Y0001 is a mail identifier) is generated, the storage address, the random number or the fixed number of the first format picture corresponding to the mail Y0001, the function f () and the token corresponding to the first format picture of the mail content are stored in the storage server, for example, for the mail Y0001, the corresponding token is XXDBQ.
404: the mail server 12a sends the key information of the storage address and the verification token to a target mailbox corresponding to the mailbox identifier of the target mail.
In one embodiment, to avoid disclosure of the mail content, the mail server 12a intercepts the storage address to obtain the key information of the storage address, where the key information needs to be distinguished from the storage addresses of the first format pictures corresponding to other mail content, for example, the storage addresses are subjected to field taking with equal interval or progressive interval to obtain the key information of the storage address, and the key information is 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 is obtained by adopting an equidistant field removing mode and the corresponding complement mode "AB-CD-SD-AM-O.J-G".
405: the user terminal 11b receives the target mail sent by the mail server based on the recipient mailbox identification.
In one embodiment, after receiving this target mail Y0001, the user terminal 11b alerts the user that there is an unread mail, and the mail content includes only: key information "D-E-F-P-" and authentication token "XXDBQ".
406: the user terminal 11b transmits the key information, the authentication 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, at which time the mail user terminal 11b sends the statistical information of the key information "D-E-F-P-" in the mail Y0001, the authentication token "XXDBQ", the IP address of the current user terminal, the reading time, and the like to the mail server 12a.
407: the mail server 12a receives the key information and the verification token sent by the user terminal when the target mail is checked, and performs a management check on the key information and the verification token returned by the user terminal.
In one embodiment, the mail server 12a complements the key information returned by the user terminal according to a preset complement 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 authentication token with the authentication token returned by the user terminal; and when the comparison of the first verification token and the verification token returned by the user terminal is passed, managing and controlling the verification to pass. The mail server 12a may uniquely determine a mail in the storage server according to the mail identifier, and further determine a complement mode, an encryption algorithm, a random number, or a fixed number corresponding to the mail, and then complement 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 complement mode "AB-CD-SD-AM-o.j-G" according to the mail identifier Y0001, then sequentially replace blank fields in the complement mode with fields in the key information to obtain first address information "abdcddesdfamamfo.jpg", then use the same encryption algorithm and random number or fixed number to generate a first verification token "XXDBQ" corresponding to the first address information "abdcdefamfo.jpg", and compare the first verification token with the verification token "XXDBQ" returned by the user terminal, and the first verification token returned by the user terminal passes through the first verification and the verification token returned by the user terminal, and if the verification token returned by the user terminal passes or the verification and the verification token returned by the user terminal 11b fails.
In one embodiment, for further authentication, after the first authentication token passes the authentication token comparison returned by the user terminal, the method further includes: the mail server 12a determines whether the authentication token returned by the user terminal is stored and valid in the storage server, and if so, the management and control passes. The step can adopt the mode of verifying whether the token is valid for a single time, verifying whether the token is in the validity period and the like for verification.
In one embodiment, if the policing verification is not passed, step 408 is performed, and if the policing verification 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 sends the storage address of the long graph to the user terminal.
In one embodiment, the mail server 12a sends the storage address of the long graph to the user terminal when the management check passes, so that the user terminal obtains and displays the long graph.
410: mail server 12a stores the statistics to storage server 12b.
In one embodiment, mail server 12a stores statistics of the IP address, reading time, etc. of user terminal 11b to storage server 12b.
411: the user terminal 11b acquires and displays a long chart corresponding to the mail content.
In one embodiment, the user terminal 11b receives the storage address of the long graph returned by the mail server after the key information and the management check of the verification token pass, and obtains 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 mail presentation page based on html+css, in which the mail content is a picture.
412: the management terminal 11c transmits a statistical request to the server 12a.
In one embodiment, the administrator needs to view the reading data of the mail, and can click on the long graph of the mail corresponding to the sent mail inwards to enter an interactive interface as shown in fig. 7e, where the page is an interactive page implemented by the mail server 12a based on html+javascript+css, the interactive interface includes options of long graph, modification, update, statistics, and the like corresponding to the mail content, and the sender selects data statistics based on the interface, and sends a statistics request to the mail server 12a. 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 updates the long graph, and the sender sees the long graph in the sent mail as the updated long graph.
413: the mail server 12a transmits the reading statistic data corresponding to the target mail to the management terminal 11c.
In one embodiment, the mail server 12a sends the reading statistics corresponding to the target mail to the management terminal 11c, for example, sends data such as which users the mail Y0001 is read by, reading time, IP address, etc., to the management terminal 11c.
414: the management terminal 11c receives and displays the reading statistical data returned by the mail server on the dynamic interaction page.
In one embodiment, as shown in fig. 7f, the management terminal 11c newly displays a display interface on the interaction page, where the display interface is implemented by the mail server 12a based on html+css, and is used to display the reading statistics returned by the mail server.
Accordingly, fig. 5a is a schematic structural diagram of a mail processing device located in a mail server according to an embodiment of the present application, referring to fig. 5a, the mail processing device includes the following modules:
the acquiring module 501 is configured to acquire a first format picture corresponding to mail content of a target mail and a storage address of the first format picture;
the token module 502 is configured to generate an authentication token corresponding to the target mail according to the storage address of the first format picture;
A mail module 503, 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;
the receiving module 504 is configured to receive the key information and the verification token sent by the user terminal when the target mail is checked, and perform a management check on the key information and the verification token returned by the user terminal;
and the sending module 505 is configured to send the storage address of the first format picture to the user terminal when the management check passes, so that the user terminal obtains and displays the first format picture.
In one embodiment, the acquisition 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 acquisition 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 verification on the target mail is not required.
In one embodiment, the receiving module 504 is further configured to: according to a preset complementing mode, complementing 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 authentication token with the authentication token returned by the user terminal; and when the comparison of the first verification token and the verification token returned by the user terminal is passed, managing and controlling the verification to pass.
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 first verification token and the verification token returned by the user terminal pass through comparison, judging whether the verification token returned by the user terminal is stored and valid in the storage server, and if so, managing and checking to pass.
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 checked; and when the management and control check passes, 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 entering a dynamic interaction page based on the first format picture; the sending module 505 is further configured to send the reading statistics data corresponding to the target mail to the management terminal, so that the management terminal obtains and displays the reading statistics data on the dynamic interaction page.
In one embodiment, the receiving module 504 is further configured to: receiving a mail content updating request sent by a user terminal after entering a dynamic interaction page based on the first format picture; determining 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.
Accordingly, fig. 5b is a schematic structural diagram of a mail processing device located in a user terminal according to an embodiment of the present application, referring to fig. 5b, the mail processing device includes the following modules:
the receiving module 506 is configured to receive, based on a recipient mailbox identifier, a target mail sent by a mail server, where the target mail includes key information of a first format picture storage address corresponding to 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 key information and the management and control check of the verification token pass;
and the display module 509 is 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, acquiring and sending the reading statistical data to the mail server, so that the mail server stores the reading statistical data corresponding to the target mail when the management and control check is passed.
In one embodiment, the communication module 507 is further configured to: entering a dynamic interaction page based on the first format picture, and sending a statistical request to the mail server; the display module 509 is further configured to receive and display the reading statistics returned by the mail server on the dynamic interaction page.
In one embodiment, the communication module 507 is further configured to: entering a dynamic interaction page based on the first format picture; updating the mail content in the dynamic interaction page; a mail content updating request is sent to the mail server, wherein the mail content updating request carries updated mail 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 electronic equipment, which can be a mail server or a user terminal (namely a terminal).
As shown in fig. 6, the electronic device may include radio frequency (RF, radioFrequency) circuitry 601, memory 602 including one or more computer-readable storage media, input unit 603, display unit 604, sensor 605, audio circuit 606, wireless fidelity (WiFi, wireless Fidelity) module 607, processor 608 including one or more processing cores, and power supply 609. It will be appreciated by those skilled in the art that the electronic device structure shown in fig. 6 is not limiting of the electronic device and may include more or fewer components than shown, or may combine certain components, or a different arrangement of components. Wherein:
the RF circuit 601 may be used for receiving and transmitting signals during a message or a call, and in particular, after receiving downlink information of a base station, the downlink information is processed 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 that are stored in the memory 602 for execution by the processor 608 to perform various functional applications and data processing. The input unit 603 may be used to receive input numeric or character information and to 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 entered by a user or provided to a user as well as various graphical user interfaces of the electronic device, which may be composed 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, a motion sensor, and other sensors. Audio circuitry 606 includes speakers, which may provide an audio interface between the user and the electronic device.
WiFi belongs to a short-distance wireless transmission technology, and the electronic equipment can help a user to send and receive emails, browse webpages, access streaming media and the like through the WiFi module 607, so that wireless broadband Internet access is provided for the user. Although fig. 6 shows a WiFi module 607, it is understood that it does not belong to the necessary constitution of the electronic device, and can be omitted entirely as needed within a range that does not change the essence of the application.
The processor 608 is a control center of the electronic device that uses various interfaces and lines to connect the various parts of the overall handset, performing various functions of the electronic device and processing the data by running or executing software programs and/or modules stored in the memory 602, and invoking data stored in the memory 602, thereby performing overall detection of the handset.
The electronic device also includes a power supply 609 (e.g., a battery) for powering the various components, which may be logically connected to the processor 608 via a power management system so as to perform functions such as managing charge, discharge, and power consumption via the power management system.
Although not shown, the electronic device may further include a camera, a bluetooth module, etc., which will not be described herein. Specifically, in this embodiment, the processor 608 in the electronic device loads executable files corresponding to the processes of one or more application programs into the memory 602 according to the following instructions, and the processor 608 executes the application programs stored in the memory 602, so as to implement the following functions:
acquiring a first format picture corresponding to 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;
the key information of the storage address and the verification token are sent to a target mailbox corresponding to a receiver mailbox identifier of the target mail;
receiving key information and an authentication token sent by a user terminal when the target mail is checked, and performing control verification on the key information and the authentication token returned by the user terminal;
And when the management and control verification is passed, the storage address of the first format picture is sent to the user terminal, so that the user terminal obtains and displays the first format picture.
Or the following functions are realized:
receiving a target mail sent by a mail server based on a recipient mailbox identification, wherein the target mail comprises key information of a first format picture storage address corresponding to mail content of the target mail and a verification token corresponding to the target mail;
sending the key information and the verification token to the mail server when the target mail is checked;
receiving a storage address of the first format picture returned by the mail server after the key information and the management and control verification of the verification token 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 foregoing embodiments, the descriptions of the embodiments are focused on, and the portions of an embodiment that are not described in detail in the foregoing embodiments may be referred to in the foregoing detailed description, which is not repeated herein.
Those of ordinary skill in the art will appreciate that all or a portion of the steps of the various methods of the above embodiments may be performed by instructions, or by instructions controlling associated hardware, which may be stored in a computer-readable storage medium and loaded and executed by a processor.
To this end, embodiments of the present application provide a computer readable storage medium having stored therein a plurality of instructions capable of being loaded by a processor to perform the following functions:
acquiring a first format picture corresponding to 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;
the key information of the storage address and the verification token are sent to a target mailbox corresponding to a receiver mailbox identifier of the target mail;
receiving key information and an authentication token sent by a user terminal when the target mail is checked, and performing control verification on the key information and the authentication token returned by the user terminal;
and when the management and control verification is passed, the storage address of the first format picture is sent to the user terminal, so that the user terminal obtains and displays the first format picture.
Or the following functions are realized:
receiving a target mail sent by a mail server based on a recipient mailbox identification, wherein the target mail comprises key information of a first format picture storage address corresponding to mail content of the target mail and a verification token corresponding to the target mail;
Sending the key information and the verification token to the mail server when the target mail is checked;
receiving a storage address of the first format picture returned by the mail server after the key information and the management and control verification of the verification token pass;
and acquiring and displaying the first format picture from the mail server based on the storage address of the first format picture.
The specific implementation of each operation above may be referred to the previous embodiments, and will not be described herein.
Wherein the storage medium may include: read Only Memory (ROM), random access Memory (RAM, random Access Memory), magnetic or optical disk, and the like.
Because the instructions stored in the storage medium may perform steps in any of the methods provided in the embodiments of the present application, the beneficial effects that any of the methods provided in the embodiments of the present application may be achieved, which are detailed in the previous embodiments and are not described herein.
The foregoing describes in detail a mail processing method and apparatus, a terminal, a server and a computer readable storage medium provided in the embodiments of the present application, and specific examples are applied to illustrate the principles and embodiments of the present application, where the foregoing description of the embodiments is only for helping to understand the method and core ideas of the present application; meanwhile, as those skilled in the art will vary in the specific embodiments and application scope according to the ideas of the present application, the contents of the present specification should not be construed as limiting the present application in summary.
Claims (14)
1. A mail processing method, characterized by comprising:
acquiring a first format picture corresponding to 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;
the key information of the storage address and the verification token are sent to a target mailbox corresponding to a receiver mailbox identifier of the target mail, wherein the key information is obtained by intercepting the storage address and is different from the storage address of a first format picture corresponding to other mail contents;
receiving key information and an authentication token sent by a user terminal when the target mail is checked, and performing control verification on the key information and the authentication token returned by the user terminal;
when the management and control verification is passed, the storage address of the first format picture is sent to the user terminal, so that the user terminal obtains and displays the first format picture;
the step of performing management and control verification on the key information returned by the user terminal and the verification token comprises the following steps:
according to a preset complementing mode, complementing 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 the generation of the verification token; comparing the first authentication token with the authentication token returned by the user terminal; and when the comparison of the first verification token and the verification token returned by the user terminal is passed, managing and controlling the verification to pass.
2. The mail processing method according to claim 1, wherein the step of acquiring a first format picture corresponding to mail content of the target mail and a storage address of the first format picture includes:
acquiring 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, characterized by 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 is not needed for the target mail, sending the second format picture to a target mail box corresponding to the mail box identifier of the recipient of the target mail.
4. The mail processing method according to claim 1, further comprising, after the step of generating the authentication 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 first verification token and the verification token returned by the user terminal pass the comparison, the method further comprises the following steps: and judging whether the verification token returned by the user terminal is present and valid in the storage server, and if so, managing and checking to pass.
5. The mail processing method according to claim 1, further comprising, after the step of sending the key information of the storage address and the authentication token to a target mailbox corresponding to a recipient mailbox identification of the target mail:
receiving reading statistical data sent by the user terminal when the target mail is checked;
and when the management and control check passes, storing the reading statistical data corresponding to the target mail.
6. The mail processing method according to claim 5, further comprising, after the step of transmitting the storage address of the first-format picture to the user terminal:
receiving a statistical request sent by a management terminal after entering 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 obtains and displays the reading statistical data on the dynamic interaction page.
7. The mail processing method according to any one of claims 1 to 6, characterized by further comprising, after the step of transmitting the storage address of the first-format picture to the user terminal:
receiving a mail content updating request sent by a user terminal after entering a dynamic interaction page based on the first format picture;
determining 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.
8. A mail processing method, characterized by comprising:
receiving a target mail sent by a mail server based on a recipient mailbox identifier, wherein the target mail comprises key information of a first format picture storage address corresponding to mail content of the target mail and a verification token corresponding to the target mail, the key information is obtained by intercepting the storage address, and the key information is different from the storage addresses of the first format pictures corresponding to other mail content;
when the target mail is checked, the user terminal sends 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 management and control verification of the verification token pass;
acquiring and displaying the first format picture from the mail server based on the storage address of the first format picture;
wherein, the control verification of the key information and the verification token comprises the following steps:
according to a preset complementing mode, complementing the key information to obtain first address information; generating a first verification token based on the first address information based on a generation mode corresponding to the generation of the verification token; comparing the first authentication token with the authentication token; and when the comparison of the first verification token and the verification token sent by the user terminal is passed, managing and controlling the verification to pass.
9. The mail processing method as in claim 8, 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, acquiring and sending the reading statistical data to the mail server, so that the mail server stores the reading statistical data corresponding to the target mail when the management and control check is passed.
10. The mail processing method as set forth in claim 8, further comprising, after the step of acquiring and displaying the first-format picture from the mail server:
entering a dynamic interaction 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 interaction page.
11. The mail processing method according to any one of claims 8 to 10, characterized by further comprising, after the step of acquiring and displaying the first-format picture from the mail server:
entering a dynamic interaction page based on the first format picture;
updating the mail content in the dynamic interaction page;
a mail content updating request is sent to the mail server, wherein the mail content updating request carries updated mail 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.
12. A mail processing method, characterized by comprising:
The mail server acquires a first format picture corresponding to 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, wherein the key information is obtained by intercepting the storage address, and the key information is different from the storage addresses of the first format pictures corresponding to other mail content;
the user terminal receives a target mail sent by a mail server based on a recipient mailbox mark, wherein the target mail comprises key information of a first format picture storage address corresponding to mail content of the target mail and a verification token corresponding to the target mail, and when the target mail is checked, 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 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 control verification passes, wherein the control verification on the key information and the verification token returned by the user terminal comprises the following steps:
According to a preset complementing mode, complementing the key information to obtain first address information; generating a first verification token based on the first address information based on a generation mode corresponding to the generation of the verification token; comparing the first authentication token with the authentication token; when the comparison of the first verification token and the verification token returned by the user terminal is passed, managing and controlling the verification to be 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.
13. A mail processing apparatus, characterized by comprising:
the acquiring 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, wherein the key information is obtained by intercepting the storage address and is different from the storage addresses of the first format pictures corresponding to other mail contents;
The receiving module is used for receiving the key information and the verification token sent by the user terminal when the target mail is checked, and carrying out control verification on the key information and the verification token returned by the user terminal;
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 acquire and display the first format picture;
the managing and checking of the key information returned by the user terminal and the verification token comprises the following steps: according to a preset complementing mode, complementing 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 the generation of the verification token; comparing the first authentication token with the authentication token returned by the user terminal; and when the comparison of the first verification token and the verification token returned by the user terminal is passed, managing and controlling the verification to pass.
14. A mail processing apparatus, characterized by comprising:
the mail receiving module is used for receiving a target mail sent by a mail server based on a recipient mailbox mark, wherein the target mail comprises key information of a first format picture storage address corresponding to mail content of the target mail and a verification token corresponding to the target mail, the key information is obtained by intercepting the storage address, and the key information is different from the storage addresses of the first format pictures corresponding to other mail content;
The communication module is used for sending the key information and the verification token to the mail server when the target mail is checked;
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 management and control verification of the verification token pass;
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;
wherein the managing and checking the key information and the verification token comprises the following steps:
according to a preset complementing mode, complementing the key information to obtain first address information; generating a first verification token based on the first address information based on a generation mode corresponding to the generation of the verification token; comparing the first authentication token with the authentication token; and when the first verification token and the verification token pass through comparison, managing and controlling the verification to pass.
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 CN113572676A (en) | 2021-10-29 |
CN113572676B true 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) |
Families Citing this family (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 (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2011015869A1 (en) * | 2009-08-05 | 2011-02-10 | Mcwat Limited | Method of verifying a sender of an electronic communication |
CN106713109A (en) * | 2015-11-13 | 2017-05-24 | 北京奇虎科技有限公司 | Html mail sending and receiving method and device |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7660861B2 (en) * | 2005-06-21 | 2010-02-09 | Data Laboratory, L.L.C. | System and method for verifying the identity of a sender of electronic mail and preventing unsolicited bulk email |
US20140197233A1 (en) * | 2013-01-14 | 2014-07-17 | Jehoshaphat Huguley | Video picture mail verification |
-
2020
- 2020-04-28 CN CN202010349989.2A patent/CN113572676B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2011015869A1 (en) * | 2009-08-05 | 2011-02-10 | Mcwat Limited | Method of verifying a sender of an electronic communication |
CN106713109A (en) * | 2015-11-13 | 2017-05-24 | 北京奇虎科技有限公司 | Html mail sending and receiving method and device |
Also Published As
Publication number | Publication date |
---|---|
CN113572676A (en) | 2021-10-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11218372B2 (en) | Methods, apparatuses, and computer program products for facilitating synchronization of setting configurations | |
CN105391803B (en) | Message pushing method, device, equipment and computer readable storage medium | |
US11159641B2 (en) | Method and system for sharing data between terminals | |
US20120260215A1 (en) | Push notifications for updating multiple dynamic icon panels | |
CN111178012A (en) | Form rendering method, device and equipment and storage medium | |
US9374244B1 (en) | Remote browsing session management | |
CN112653670B (en) | Business logic vulnerability detection method and device, storage medium and terminal | |
CN106557962A (en) | Method of payment, apparatus and system | |
CN111478849B (en) | Service access method, device and storage medium | |
US11882154B2 (en) | Template representation of security resources | |
US9906626B2 (en) | Resource demand-based network page generation | |
CN106911666B (en) | Wearable intelligent device and message processing method and system thereof | |
CN111475359B (en) | System testing method, device and storage medium under multi-message interaction scene | |
CN113572676B (en) | Mail processing method and device | |
US12095771B2 (en) | Split input and output remote access | |
CN113329100B (en) | Message pushing method, device and system | |
CN116244022A (en) | Comment processing method and device, electronic equipment and storage medium | |
CN114417201A (en) | Message processing method and device, computer equipment and storage medium | |
JP6531303B1 (en) | INFORMATION SYSTEM, INFORMATION PROCESSING DEVICE, TERMINAL DEVICE, INFORMATION PROCESSING METHOD, AND PROGRAM | |
CN114339628A (en) | Method, device, storage medium and product for sending 5G rich media message | |
CN114064165A (en) | Application page processing method and device | |
US20230419067A1 (en) | ENHANCED QUICK RESPONSE (qr) CODE SCAN SECURITY | |
CN117349108A (en) | Control method, device, system, product, medium and equipment for log | |
CN112306597A (en) | Interaction method and device and electronic equipment | |
CN114116049A (en) | Data processing method and device, electronic equipment and computer readable storage medium |
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 |