CN108462628B - Rapid identification method and system for multi-language mail system - Google Patents

Rapid identification method and system for multi-language mail system Download PDF

Info

Publication number
CN108462628B
CN108462628B CN201711480399.8A CN201711480399A CN108462628B CN 108462628 B CN108462628 B CN 108462628B CN 201711480399 A CN201711480399 A CN 201711480399A CN 108462628 B CN108462628 B CN 108462628B
Authority
CN
China
Prior art keywords
mail
language
multilingual
receiver
mailbox
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
Application number
CN201711480399.8A
Other languages
Chinese (zh)
Other versions
CN108462628A (en
Inventor
姚健康
孔宁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Internet Network Information Center
Original Assignee
China Internet Network Information Center
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Internet Network Information Center filed Critical China Internet Network Information Center
Priority to CN201711480399.8A priority Critical patent/CN108462628B/en
Publication of CN108462628A publication Critical patent/CN108462628A/en
Application granted granted Critical
Publication of CN108462628B publication Critical patent/CN108462628B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/42Mailbox-related aspects, e.g. synchronisation of mailboxes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/25Integrating or interfacing systems involving database management systems
    • G06F16/252Integrating or interfacing systems involving database management systems between a Database Management System and a front-end application
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/107Computer-aided management of electronic mailing [e-mailing]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/45Network directories; Name-to-address mapping
    • H04L61/4555Directories for electronic mail or instant messaging

Abstract

The invention provides a method and a system for quickly identifying a multilingual mail system, wherein the method comprises the following steps: inquiring a mail domain of a receiver from a multi-language mail database, if the mail domain of the receiver supports a multi-language mail technical standard, sending a multi-language mail, and otherwise, sending the mail by adopting an alternative ASCII mailbox address; if the mail domain of the receiver is not found, inquiring TXT record of the mailbox system domain name of the receiver through DNS; if the TXT record can be found, identifying a keyword of the RDATA part of the TXT record, and otherwise, sending the mail by adopting an alternative ASCII mailbox address; if the RDATA section contains the keyword of SMTPUTF8-EAI-Ready-SMTPUTF8, the mailbox system of the receiver supports the technical standard of the multi-language mails, the SMTPUTF8 function is confirmed, and the multi-language mails are sent; if the RDATA section contains the keyword of SMTPUTF8-EAI-Not-SMTPUTF8, the mailbox system of the receiver does Not support the technical standard of multilingual mails, and the mails are sent by adopting an alternative ASCII mailbox address.

Description

Rapid identification method and system for multi-language mail system
Technical Field
The invention relates to the field of computer communication, in particular to a method and a system for quickly identifying a multi-language mail system.
Background
The multilingual mail is an electronic mail using an internationalized multilingual mailbox, and the multilingual mail system is an internationalized multilingual mailbox electronic mail system. The international multi-language mailbox is also called an international mail address, and refers to an electronic mail address containing non-English characters such as Chinese, Japanese and the like, such as 'Qianhalin' Chinese academy.
Technical standards such as IETF RFC6531 and RFC6532 published in 2012 specify technical standards for multilingual mail. With the deployment of the multi-language mail system, the mail system in the internet is bound to support some multi-language mails and some non-language mails. The system supporting the technical standard of the multi-language mail cannot send the address containing the international mail to the system which is not supported, in order to avoid the sending condition, the system supporting the technical standard of the multi-language mail firstly sends an EHLO command to a specific system by establishing a TCP link, if the other side supports, the SMTPUTF8 field is fed back, otherwise, the field is not fed back. If the multilingual mail system finds that the opposite party does not support, the multilingual mail system sends the opposite party by adopting an additional path or by using a mailbox in an ASCII format instead.
Disclosure of Invention
The invention aims to provide a method and a system for quickly identifying a multi-language mail system, which are used for reducing unnecessary time waste and improving the sending efficiency when a system supporting the technical standard of multi-language mails sends mails to an unsupported system.
In order to achieve the purpose, the invention adopts the technical scheme that:
a method for quickly identifying a multilingual mail system, comprising the steps of:
inquiring a mail domain of a receiver from a multi-language mail database, if the mail domain of the receiver supports a multi-language mail technical standard, sending a multi-language mail, and otherwise, sending the mail by adopting an alternative ASCII mailbox address;
if the mail domain of the receiver is not found, inquiring TXT record of the mailbox system domain name of the receiver through DNS;
if the TXT record can be found, identifying a keyword of the RDATA part of the TXT record, and otherwise, sending the mail by adopting an alternative ASCII mailbox address;
if the RDATA section contains the keyword of SMTPUTF8-EAI-Ready-SMTPUTF8, the mailbox system of the receiver supports the technical standard of the multi-language mails, the SMTPUTF8 function is confirmed, and the multi-language mails are sent;
if the RDATA section contains the keyword of SMTPUTF8-EAI-Not-SMTPUTF8, the mailbox system of the receiver does Not support the technical standard of multilingual mails, and the mails are sent by adopting an alternative ASCII mailbox address.
Further, the SMTPUTF8 function is confirmed by EHLO query.
Further, after sending the multilingual mail or sending the mail by using the alternative ASCII mailbox address, updating an EAI-ready list of the multilingual mail database, and confirming whether each mail domain supports the technical standard of the multilingual mail.
Further, the data structure of the multilingual mail database includes:
the mail domain is a domain name corresponding to the mail;
the identifier is used for indicating whether the technical standard of the multi-language mail is supported, yes is used for indicating the support, and no is used for indicating the support;
and the lifetime is used for indicating the validity period of the record, and the expired record can be updated and deleted.
A rapid identification system of a multilingual mail system includes a mail server responsible for sending multilingual mails or mails using alternate ASCII mailbox addresses; the dispatch server includes:
the multi-language mail inquiry device is responsible for inquiring TXT records of the mailbox system domain name of the receiver through DNS;
the multi-language mail analyzer is responsible for analyzing the TXT records or inquiring whether the mail domain of the receiver supports the multi-language mail technical standard through the EHLO;
the multilingual mail updater is responsible for collecting information whether the domain name of the used mailbox system supports multilingual mails and updating the multilingual mail database; the multi-language mail database stores the information whether the domain name of the mailbox system of the receiver supports multi-language mails.
The invention makes up the shortage of the transition mechanism of the multilingual mail system, and can switch more quickly when the receiving server does not support the technical standard of multilingual mails. Especially for a large number of sent mails, the identification time of the multi-language mails in the original mechanism can be greatly saved.
When the multilingual mail analyzer identifies that the mail domain does not support multilingual mails, the sending server can be immediately informed to send by using an ASCII mailbox address, so that the time for establishing TCP connection and EHLO conversation between the sending server and a server pointed by the mail domain is saved. Usually, the set-up time of the remote TCP is not less than 3 seconds, and if the sender server needs to send 1000 pieces of mail to be destaged to the ASCII mailbox address, it can save about 3 × 1000 seconds to 3000 seconds to 50 minutes. Between two large mail servers, tens of thousands of mails are exchanged each day, and by adopting the method, hundreds of hours can be saved for the servers each day.
Drawings
Fig. 1 is a diagram of the RDATA part data structure of the TXT record.
FIG. 2 is a data structure diagram of a multilingual mail database.
FIG. 3 is a block diagram of a quick recognition system for a multilingual mail system.
FIG. 4 is a flow chart of a method for rapid identification in a multilingual email system.
Detailed Description
In order to make the aforementioned and other features and advantages of the invention more comprehensible, embodiments accompanied with figures are described in detail below.
The invention first designs the RDATA part of the TXT record of DNS specifically, as shown in fig. 1, which includes:
prefix (Prefix): the field proposed value is "SMTPUTF 8";
multilingual mail Ready (EAI-Ready): the mail domain represented by domain owner, which represents TXT records, supports multilingual mail technology standards, whose proposed values are also "EAI-ready";
alternatively, multilingual mail Not ready (EAI-Not): the mail domain represented by domain owner, which represents the TXT record, does not support the multilingual mail technology standard, and its proposed value is also "EAI-not";
suffix (Suffix): the field proposed value is "-SMTPUTF 8".
The data structure of the multilingual mail database used in the present invention is shown in fig. 2, and includes:
mail domain: representing a domain name corresponding to the mail;
identifier: whether the technical standard of the multi-language mail is supported or not is shown, yes is used for supporting the technical standard, and no is used for supporting the technical standard;
the life cycle is as follows: the validity period of the record is shown, if the record is expired, the record is deleted by the system, and the life cycle can be continuously updated.
The present invention provides a rapid recognition system for a multilingual mail system, as shown in fig. 3, comprising:
a sending server: for sending multilingual mail or sending mail using an alternate ASCII mailbox address;
multilingual mail finder: the system is responsible for inquiring TXT records of the mailbox system domain name of the receiver through a DNS;
multilingual mail analyzer: the system is responsible for analyzing TXT records or confirming whether the mail domain of a receiver supports multi-language mails through an EHLO command;
multilingual mail updater: the system is responsible for collecting the information whether the domain name of the used mailbox system supports the multi-language mail or not and updating the information to a multi-language mail database; the multi-language mail database stores whether the domain name of the mailbox system of the receiver supports multi-language mails.
The present invention provides a method for quickly identifying a multilingual mail system, as shown in fig. 4, comprising the steps of:
1. the sending server firstly checks whether the mail domain of a certain receiver is found from a multi-language mail database, if so, the step 2 is carried out; if not, whether the mail domain supports the multi-language mail technical standard or not, if the identifier is no (namely no), turning to step 5; if the identifier is yes, go to step 7;
2. utilizing a multilingual mail querier to inquire the DNS, judging whether the TXT record of the mailbox system domain name of the receiver can be found, if not, turning to the step 5, otherwise, turning to the step 3;
3. the multilingual mail analyzer identifies that the RDATA section of the TXT record contains a keyword of 'SMTPUTF 8-EAI-Ready-SMTPUTF 8', the mailbox system of the receiver supports the technical standard of the multilingual mail, and the step 4 is carried out; if the RDATA part contains the keyword of SMTPUTF8-EAI-Not-SMTPUTF8, the mailbox system of the receiver does Not support the technical standard of the multi-language mails, and the step 5 is carried out;
4. the multilingual mail analyzer makes standard EHLO query, makes SMTPUTF8 function confirmation, sends multilingual mail box e-mail by the sending server, and turns to step 6;
5. the multilingual mail analyzer informs the mail server to send the mail using the alternate ASCII mailbox address, and the process goes to step 6;
6. after the mail is sent, the multilingual mail updater updates the EAI-ready list in the multilingual mail database, updates each mail domain, and confirms whether the electronic standard of the multilingual mail is supported, and the process is finished.
7. The sending server sends the multi-language mail, and the process is finished.
The following provides 5 sets of examples:
example 1
The fast recognition method of the embodiment aims at the fact that a person sends an email to 'abc 1@ example.cn' in China, and comprises the following specific steps:
1. the method comprises the following steps that a sending server ' Internet ' and China ' firstly inquire a multilingual mail database and do not inquire the information of a mail domain ' example.cn ' of a receiver;
2. the sender server is ' Internet ' and China ' utilizes a multilingual mail querier to carry out DNS query and obtain TXT records of a domain name ' example. cn ' of a mailbox system of a receiver;
3. checking the TXT record, and identifying that the RDATA part of the TXT record contains a keyword of 'SMTPUTF 8-EAI-Ready-SMTPUTF 8' through a multilingual mail analyzer, so that the mailbox system of the receiver supports multilingual mail technical standards;
4. the sending server 'Internet, China' carries out standard EHLO inquiry, confirms SMTPUTF8 function and sends multi-language mails;
5. after sending the mail, the multilingual mail updater updates the EAI-ready list in the multilingual mail database, updates each mail domain and confirms whether the multilingual mail electronic standard is supported, at this moment, records are added in the multilingual mail database, and the process is ended.
Example 2
The fast recognition method of the embodiment aims at the fact that Chinese sends an email to abc2@ example. cn, and comprises the following specific steps:
1. the method comprises the following steps that firstly, a multi-language mail database is inquired by a sending server 'Internet' in China, an email domain 'example.cn' of a receiver is found, and an identifier is no, which indicates that the technical standard of the multi-language mail is not supported;
2. the multilingual mail analyzer informs the sender server of 'internet, china' to send by using an alternative ASCII mailbox address 'user 2@ instance.cn';
3. after the mail is sent, the multilingual mail updater updates the EAI-ready list in the multilingual mail database, updates each mail domain and confirms whether the technical standard of the multilingual mail is supported, at this time, the record in the multilingual mail database is kept unchanged, and the process is ended. (after 7 days, this record in the multilingual mail database will be automatically deleted)
Example 3
The fast recognition method of the embodiment aims at the fact that Chinese sends an email to abc3@ example. cn, and comprises the following specific steps:
1. the method comprises the following steps that firstly, a multi-language mail database is inquired by a sending server 'Internet' and China, and the identifier returned by a mail domain 'example.cn' of a receiver is yes, which indicates that the technical standard of the multi-language mail is supported;
2. the sending server sends the multi-language mail, and the process is finished.
Example 4
The fast recognition method of the embodiment aims at the fact that a Chinese mail is sent to 'abc 4@ example.cn', and the specific steps are as follows:
1. the method comprises the following steps that a sending server ' Internet ' and China ' firstly inquire a multilingual mail database and do not inquire the information of a mail domain ' example.cn ' of a receiver;
2. the sender server is ' Internet ' and China ' utilizes a multilingual mail querier to inquire a DNS (domain name server), and does not find related TXT records of a mailbox system domain name ' example. cn ' of a receiver;
3. the multilingual mail analyzer informs the sender server of 'internet, china' to send by using an alternative ASCII mailbox address user4@ instance.cn;
4. after the mail is sent, the multilingual mail updater updates the EAI-ready list in the multilingual mail database, updates each mail domain to confirm whether the technical standard of the multilingual mail is supported, and ends the process.
Example 5
The fast recognition method of the embodiment aims at the fact that Chinese sends an email to abc5@ example. cn, and comprises the following specific steps:
1. the method comprises the following steps that a sending server ' Internet ' and China ' firstly inquire a multilingual mail database and do not inquire the information of a mail domain ' example.cn ' of a receiver;
2. the sender server is ' Internet ' and China ' utilizes a multilingual mail querier to carry out DNS query and find TXT records of a mailbox system domain name ' example.cn ' of a receiver;
3. the multilingual mail analyzer identifies that the RDATA section of the TXT record contains a keyword 'SMTPUTF 8-EAI-Not-SMTPUTF 8', which indicates that the mailbox system of the receiver does Not support the technical standard of multilingual mail;
4. the multilingual mail analyzer informs the sender server of 'internet, china' to send by using an alternative ASCII mailbox address user5@ instance.cn;
5. after the mail is sent, the multilingual mail updater updates the EAI-ready list in the multilingual mail database, updates each mail domain to confirm whether the technical standard of the multilingual mail is supported, and ends the process.
Experiments between the method of the present invention and the prior art show that the establishment time of the remote TCP is usually not less than 3 seconds, 1000 copies of the mail are sent, and the mail that the sending server needs to demote to the ASCII mailbox address can be saved by about 3 by 1000 seconds to 3000 seconds to 50 minutes. Therefore, between two large mail servers, tens of thousands of mails are exchanged each day, and the method can save hundreds of hours for the servers each day.
The above embodiments are only intended to illustrate the technical solution of the present invention and not to limit the same, and a person skilled in the art can modify the technical solution of the present invention or substitute the same without departing from the spirit and scope of the present invention, and the scope of the present invention should be determined by the claims.

Claims (4)

1. A method for quickly identifying a multilingual mail system, comprising the steps of:
inquiring a mail domain of a receiver from a multi-language mail database, if the mail domain of the receiver supports a multi-language mail technical standard, sending a multi-language mail, and otherwise, sending the mail by adopting an alternative ASCII mailbox address;
if the mail domain of the receiver is not found, inquiring TXT record of the mailbox system domain name of the receiver through DNS;
if the TXT record can be found, identifying a keyword of the RDATA part of the TXT record, and otherwise, sending the mail by adopting an alternative ASCII mailbox address;
if the RDATA section contains the keyword of SMTPUTF8-EAI-Ready-SMTPUTF8, the mailbox system of the receiver supports the technical standard of the multi-language mails, the SMTPUTF8 function is confirmed, and the multi-language mails are sent;
if the RDATA part contains the keyword of SMTPUTF8-EAI-Not-SMTPUTF8, the mailbox system of the receiver does Not support the technical standard of the multilingual mail, and the mail is sent by adopting an alternative ASCII mailbox address;
after sending multilingual mail or sending mail by using an alternative ASCII mailbox address, updating an EAI-ready list of a multilingual mail database, and confirming whether each mail domain supports the technical standard of the multilingual mail.
2. The method of claim 1, wherein the SMTPUTF8 function is validated through an EHLO query.
3. The method of claim 1, wherein the data structure of the multilingual mail database comprises:
the mail domain is a domain name corresponding to the mail;
the identifier is used for indicating whether the technical standard of the multi-language mail is supported, yes is used for indicating the support, and no is used for indicating the support;
and the lifetime is used for indicating the validity period of the record, and the expired record can be updated and deleted.
4. A rapid identification system of a multilingual mail system, based on the method of claim 1, comprising a mail server responsible for sending multilingual mails or mails using alternate ASCII mailbox addresses; the dispatch server includes:
the multi-language mail inquiry device is responsible for inquiring TXT records of the mailbox system domain name of the receiver through DNS;
the multi-language mail analyzer is responsible for analyzing the TXT records or inquiring whether the mail domain of the receiver supports the multi-language mail technical standard through the EHLO;
and the multi-language mail updater is responsible for collecting information whether the used mailbox system domain name supports multi-language mails and updating the information to a multi-language mail database, wherein the multi-language mail database stores the information whether the mailbox system domain name of the receiver supports the multi-language mails.
CN201711480399.8A 2017-12-29 2017-12-29 Rapid identification method and system for multi-language mail system Active CN108462628B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711480399.8A CN108462628B (en) 2017-12-29 2017-12-29 Rapid identification method and system for multi-language mail system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711480399.8A CN108462628B (en) 2017-12-29 2017-12-29 Rapid identification method and system for multi-language mail system

Publications (2)

Publication Number Publication Date
CN108462628A CN108462628A (en) 2018-08-28
CN108462628B true CN108462628B (en) 2021-05-18

Family

ID=63220502

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711480399.8A Active CN108462628B (en) 2017-12-29 2017-12-29 Rapid identification method and system for multi-language mail system

Country Status (1)

Country Link
CN (1) CN108462628B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1346469A (en) * 1998-10-09 2002-04-24 爱捷特系统有限公司 Method and system for interrogating the internet
CN102882767A (en) * 2012-09-07 2013-01-16 盈世信息科技(北京)有限公司 Mail sending method and mail sending platform
CN102882766A (en) * 2012-09-07 2013-01-16 盈世信息科技(北京)有限公司 Electronic mail delivery method and mail system
CN103581000A (en) * 2013-11-25 2014-02-12 中国科学院计算机网络信息中心 Method for sending and receiving electronic mail of international multilingual mail box

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1346469A (en) * 1998-10-09 2002-04-24 爱捷特系统有限公司 Method and system for interrogating the internet
CN102882767A (en) * 2012-09-07 2013-01-16 盈世信息科技(北京)有限公司 Mail sending method and mail sending platform
CN102882766A (en) * 2012-09-07 2013-01-16 盈世信息科技(北京)有限公司 Electronic mail delivery method and mail system
CN103581000A (en) * 2013-11-25 2014-02-12 中国科学院计算机网络信息中心 Method for sending and receiving electronic mail of international multilingual mail box

Also Published As

Publication number Publication date
CN108462628A (en) 2018-08-28

Similar Documents

Publication Publication Date Title
US10904186B1 (en) Email processing for enhanced email privacy and security
CN103139048B (en) Group's message prompt method and system
WO2008031871A1 (en) Method for automatically classifying communication between a sender and a recipient
US20020188690A1 (en) System and method for checking and correcting electronic mail address
CN101170585A (en) A domain name inquiry method
US10360292B2 (en) Lightweight web page generation
CN1599293A (en) Method and device for broadcasting multimedia contents to mobile terminals
WO2017000144A1 (en) Dns server, client and data synchronization method
US20100146062A1 (en) Method and arrangement for delivering electronic state message information
CN103312596A (en) Management method and device for attachments in electrommunication information
CN101370159B (en) Method, device and system for recognizing service
CN101039317A (en) Method for realizing browse service COOKIE of wireless application protocol gateway
TW201408006A (en) Publish Information on Website
US10425374B2 (en) Routing a message based upon user-selected topic in a message editor
US20080235798A1 (en) Method for filtering junk messages
CN105376137A (en) Instant messaging method and device
CN108462628B (en) Rapid identification method and system for multi-language mail system
CA2570883A1 (en) Method and apparatus for electronic mailing of data utilizing a data reference
CN100531413C (en) Method and system for searching information by short message
CN101309438A (en) Method avoiding repeated downloading identical e-mail using pop3 post office protocol
US20210329007A1 (en) Method of Using Sequential Email Numbering to Detect an Email Phishing Attempt or Fraudulent Email Within an Email Domain
US20140379820A1 (en) Email address and telephone number unification systems and methods
US20040254994A1 (en) Process of tracking whether an E-Mail has been read and links accessed using client based software
CN101137094A (en) Electronic mail notifying method and device and system
WO2005119542A1 (en) Native language email address service system

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