CN102377687B - Mail sending method, system and device by aiming at mailbox overflow - Google Patents
Mail sending method, system and device by aiming at mailbox overflow Download PDFInfo
- Publication number
- CN102377687B CN102377687B CN201010254897.2A CN201010254897A CN102377687B CN 102377687 B CN102377687 B CN 102377687B CN 201010254897 A CN201010254897 A CN 201010254897A CN 102377687 B CN102377687 B CN 102377687B
- Authority
- CN
- China
- Prior art keywords
- mailbox
- user
- subscriber mailbox
- described subscriber
- 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
- 238000000034 method Methods 0.000 title claims abstract description 37
- 238000004140 cleaning Methods 0.000 claims description 28
- 230000005540 biological transmission Effects 0.000 claims 2
- 238000010586 diagram Methods 0.000 description 4
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 230000003139 buffering effect Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
本发明公开了一种针对邮件溢出的邮件发送方法,用以解决现有技术中当存在邮箱溢出时,由于用户接收不到其他用户发送的邮件,而导致用户接收信息遗漏的问题。该方法当邮箱溢出将用户邮件退回后,缓存该退回的邮件,指示所述用户邮箱对应的移动终端进行提示用户进行邮箱清理的操作,当该用户邮箱的可用容量不小于退回的所述邮件包含的字节数时,将缓存的邮件重新发送到用户邮箱。本发明还公开了一种针对邮件溢出的邮件发送系统及装置。如本发明提出的方案,由于缓存了退回的邮件,并提示用户进行了用户邮箱的清理,只要用户邮箱的可用容量不小于该退回的邮件包含的字节数时,即将缓存的邮件发送到用户邮箱,从而避免了用户接收信息的遗漏问题。
The invention discloses a mail sending method for mail overflow, which is used to solve the problem in the prior art that when there is a mailbox overflow, because the user cannot receive mail sent by other users, the user receives information missing. In this method, when the mailbox overflows and the user mail is returned, the returned mail is cached, and the mobile terminal corresponding to the user mailbox is instructed to prompt the user to clean up the mailbox. When the available capacity of the user mailbox is not less than the returned mail contains Resend the cached message to the user mailbox when the number of bytes is set. The invention also discloses a mail sending system and device for mail overflow. As in the solution proposed by the present invention, since the returned mail is cached and the user is prompted to clean up the user mailbox, as long as the available capacity of the user mailbox is not less than the number of bytes contained in the returned mail, the cached mail will be sent to the user Mailbox, thus avoiding the omission of information received by users.
Description
技术领域 technical field
本发明涉及智能终端技术领域,尤其涉及一种针对邮箱溢出的邮件发送方法、系统及装置。The present invention relates to the technical field of intelligent terminals, in particular to a method, system and device for sending emails aimed at overflowing mailboxes.
背景技术 Background technique
现有技术中当用户通过邮件服务器注册了邮箱时,该邮件服务器会在本地针对该注册用户分配一定容量的存储空间,例如为每个用户分配的存储空间的容量都为100MB。而无论为用户分配的存储空间的容量有多大,当用户的邮件接收很频繁时,该用户在邮件服务器中被分配的存储空间也会被占满。In the prior art, when a user registers a mailbox through a mail server, the mail server will locally allocate a certain amount of storage space for the registered user, for example, the capacity of the storage space allocated to each user is 100MB. No matter how large the storage space allocated to the user is, when the user receives emails frequently, the storage space allocated to the user in the mail server will also be fully occupied.
当用户在该邮件服务器中被分配的存储空间被占满,其他用户再向该用户发送邮件时,由于该用户被分配的存储空间没有足够的空间接收该发送的邮件,因此此时邮件服务器会将该发送的邮件退回给其他用户,即出现邮箱溢出的问题。目前,如果其他用户在该用户被分配的存储空间清理后不再向该用户重复发送该邮件,该用户将无法接收到其他用户发送的邮件,从而导致用户接收信息的遗漏。When the storage space allocated by the user in the mail server is full, and other users send mail to the user, because the storage space allocated to the user does not have enough space to receive the sent mail, the mail server will Return the sent mail to other users, that is, the problem of mailbox overflow occurs. Currently, if other users do not resend the email to the user after the user's allocated storage space is cleared, the user will not be able to receive emails sent by other users, resulting in omission of information received by the user.
发明内容 Contents of the invention
有鉴于此,本发明实施例提供一种针对邮箱溢出的邮件发送方法、系统及装置,用以解决现有技术中当存在邮箱溢出时,由于用户接收不到其他用户发送的邮件,而导致用户接收信息遗漏的问题。In view of this, the embodiments of the present invention provide a mail sending method, system and device for mailbox overflow, which is used to solve the problem that users cannot receive mail sent by other users when there is mailbox overflow in the prior art. The problem of missing information is received.
本发明实施例提供的一种邮箱溢出的邮件发送方法,包括:An embodiment of the present invention provides a mailbox overflow mail sending method, comprising:
缓存用户邮箱退回的邮件;并Caching mail bounces from user mailboxes; and
指示所述用户邮箱对应的移动终端进行提示用户进行邮箱清理的操作;Instructing the mobile terminal corresponding to the user mailbox to prompt the user to clean up the mailbox;
确定所述用户邮箱的可用容量不小于退回的所述邮件包含的字节数时,将缓存的所述邮件发送到所述用户邮箱。When it is determined that the available capacity of the user's mailbox is not less than the number of bytes contained in the returned mail, the cached mail is sent to the user's mailbox.
本发明实施例提供的一种邮箱溢出的邮件发送系统,包括:An embodiment of the present invention provides a mailbox overflow mail sending system, including:
邮件服务器,用于缓存用户邮箱退回的邮件,指示所述用户邮箱对应的移动终端进行提示用户进行邮箱清理的操作,确定所述用户邮箱的可用容量不小于退回的所述邮件包含的字节数时,将缓存的所述邮件发送到所述用户邮箱;The mail server is used to cache mails returned by the user's mailbox, instruct the mobile terminal corresponding to the user's mailbox to prompt the user to clean up the mailbox, and determine that the available capacity of the user's mailbox is not less than the number of bytes contained in the returned mail , send the cached mail to the user mailbox;
移动终端,用于接收提示用户进行邮件清理的信息,并向用户提示所述信息。The mobile terminal is configured to receive information prompting the user to clean up emails, and prompt the user for the information.
本发明实施例提供的一种针对邮件溢出的邮件发送装置,包括:An embodiment of the present invention provides a mail sending device for mail overflow, including:
缓存模块,用于缓存用户邮箱退回的邮件;The caching module is used to cache mails returned by user mailboxes;
控制模块,用于指示所述用户邮箱对应的移动终端进行提示用户进行邮箱清理的操作,确定所述用户邮箱的可用容量不小于退回的所述邮件包含的字节数时,将缓存的所述邮件发送到所述用户邮箱。A control module, configured to instruct the mobile terminal corresponding to the user mailbox to prompt the user to clean up the mailbox, and when it is determined that the available capacity of the user mailbox is not less than the number of bytes contained in the returned mail, the cached Emails are sent to the user's mailbox.
本发明实施例提供一种邮箱溢出的邮件发送方法、系统及装置,该方法中当邮箱溢出将用户邮件退回后,缓存该退回的邮件,指示所述用户邮箱对应的移动终端进行提示用户进行邮箱清理的操作,当该用户邮箱的可用容量不小于退回的所述邮件包含的字节数时,将缓存的邮件重新发送到用户邮箱。由于在本发明实施例中缓存了退回的邮件,并提示用户进行了用户邮箱的清理,只要用户邮箱的可用容量不小于该退回的邮件包含的字节数时,即将缓存的邮件发送到用户邮箱,从而避免了用户接收信息的遗漏问题。Embodiments of the present invention provide a mail sending method, system and device for mailbox overflow. In the method, when the mailbox overflows and the user mail is returned, the returned mail is cached, and the mobile terminal corresponding to the user mailbox is instructed to prompt the user to send the mail. A cleaning operation, when the available capacity of the user's mailbox is not less than the number of bytes contained in the returned mail, resend the cached mail to the user's mailbox. Since the bounced mail is cached in the embodiment of the present invention, and the user is prompted to clean up the user's mailbox, as long as the available capacity of the user's mailbox is not less than the number of bytes contained in the returned mail, the cached mail will be sent to the user's mailbox , thereby avoiding the omission of information received by users.
附图说明 Description of drawings
图1为本发明实施例提供的针对邮箱溢出的邮件发送过程;Fig. 1 is the mail sending process for mailbox overflow provided by the embodiment of the present invention;
图2为本发明实施例提供的针对邮箱溢出的邮件发送方法的详细实施方式;Fig. 2 is the detailed implementation of the mail sending method for mailbox overflow provided by the embodiment of the present invention;
图3为本发明实施例提供的针对邮箱溢出的邮件发送装置的结构示意图;3 is a schematic structural diagram of a mail sending device for mailbox overflow provided by an embodiment of the present invention;
图4为本发明实施提供的结合图3所示的装置,对邮箱溢出时的邮件发送的过程;Fig. 4 provides for the implementation of the present invention in combination with the device shown in Fig. 3, the process of sending mail when the mailbox overflows;
图5为本发明实施例提供的又一针对邮箱溢出的邮件发送过程;Fig. 5 is yet another mail sending process for mailbox overflow provided by the embodiment of the present invention;
图6为本发明实施提供的一种邮箱溢出的邮件发送系统的结构示意图。FIG. 6 is a schematic structural diagram of an email sending system with mailbox overflow provided by the implementation of the present invention.
具体实施方式 Detailed ways
本发明实施例为了有效的提高用户接收的信息的准确性,提供了一种针对邮箱溢出的邮件发送方法,该方法中当邮箱溢出将用户邮件退回后,缓存该退回的邮件,当该用户邮箱的可用容量不小于退回的所述邮件包含的字节数时,将缓存的邮件重新发送到用户邮箱。由于在本发明实施例中缓存了退回的邮件,并提示用户进行了用户邮箱的清理,只要用户邮箱的可用容量不小于该退回的邮件包含的字节数时,即将缓存的邮件发送到用户邮箱,从而避免了用户接收信息的遗漏问题。In order to effectively improve the accuracy of the information received by the user, the embodiment of the present invention provides a mail sending method for mailbox overflow. In this method, when the mailbox overflows and returns the user mail, the returned mail is cached. Resend the cached mail to the user mailbox when the available capacity of is not less than the number of bytes contained in the bounced mail. Since the bounced mail is cached in the embodiment of the present invention, and the user is prompted to clean up the user's mailbox, as long as the available capacity of the user's mailbox is not less than the number of bytes contained in the returned mail, the cached mail will be sent to the user's mailbox , thereby avoiding the omission of information received by users.
下面结合说明书附图,对本发明实施例进行详细说明。Embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings.
由于用户在申请用户邮箱时,在邮件服务器中针对该用户邮箱进行注册。当邮件服务器接收到用户的注册信息后,为该注册用户分配一定容量的存储空间,该存储空间即为给用户邮箱的存储空间。该用户邮箱的存储空间可以位于该邮件服务器内部,也可以位于其他的邮件服务器可以控制的装置内。Because the user registers for the user mailbox in the mail server when applying for the user mailbox. After receiving the user's registration information, the mail server allocates a certain amount of storage space for the registered user, and the storage space is the storage space for the user's mailbox. The storage space of the user's mailbox can be located inside the mail server, or in other devices that can be controlled by the mail server.
图1为本发明实施例提供的针对邮箱溢出的邮件发送过程,该过程包括以下步骤:Fig. 1 provides for the mail sending process of mailbox overflow that the embodiment of the present invention provides, and this process comprises the following steps:
S101:缓存用户邮箱退回的邮件。S101: Caching emails returned by user mailboxes.
当用户邮箱被占满时,该用户邮箱再接收到邮件时,用户邮箱将会溢出,即无法接收邮件,将该邮件回退回去。When the user's mailbox is full, when the user's mailbox receives mail again, the user's mailbox will overflow, that is, the mail cannot be received, and the mail will be returned.
当用户邮箱因为溢出回退发送的邮件后,在本发明实施例中为了避免用户接收信息的遗漏问题,可以将该回退的邮件缓存。When the email sent by the user's mailbox is rolled back due to overflow, in the embodiment of the present invention, in order to avoid the problem of missing information received by the user, the rolled back email can be cached.
在本发明实施例中缓存该回退邮件的可以是针对邮箱溢出的邮件发送装置,该装置可以位于邮件服务器,也可以位于邮件服务器内的排队引擎。当用户邮箱保存在邮件服务器内部时,邮件服务器可以直接将退回的邮件缓存,例如缓存在缓存模块中。当用户邮箱未位于邮件服务器内部时,排队引擎可以将退回的邮件缓存在本地的缓存模块中,也可以缓存在自身的缓存空间内。In this embodiment of the present invention, the device for caching the rollback mail may be a mail sending device for mailbox overflow, and the device may be located in the mail server, or may be located in the queuing engine in the mail server. When the user's mailbox is stored inside the mail server, the mail server can directly cache the bounced mail, for example, in a caching module. When the user's mailbox is not located inside the mail server, the queuing engine can cache the bounced mail in the local cache module or in its own cache space.
S102:指示所述用户邮箱对应的移动终端进行提示用户进行邮箱清理的操作。S102: Instruct the mobile terminal corresponding to the user's mailbox to perform an operation of prompting the user to clean up the mailbox.
在本发明实施例中该溢出邮件的用户邮箱为用户的手机邮箱,因此根据该用户的手机邮箱的信息,可以获知该手机邮箱对应的移动终端的用户身份识别模块(Subscriber Identity Module,SIM)卡标识信息,即该移动终端SIM卡的卡号信息。In the embodiment of the present invention, the user mailbox of the overflow mail is the user's mobile phone mailbox, so according to the information of the user's mobile phone mailbox, the Subscriber Identity Module (Subscriber Identity Module, SIM) card of the mobile terminal corresponding to the mobile phone mailbox can be known The identification information is the card number information of the SIM card of the mobile terminal.
或者,也可以在每个用户进行用户邮箱的注册时,获取该用户的移动终端的SIM卡标识信息,并在本地保存用户邮箱与该用户的移动终端SIM卡标识信息的对应关系。当邮件回退时,可以根据退回邮件的用户邮箱的信息,确定该用户邮箱对应的移动终端SIM卡标识信息。Or, when each user registers the user mailbox, the SIM card identification information of the user's mobile terminal can be obtained, and the corresponding relationship between the user mailbox and the user's mobile terminal SIM card identification information can be stored locally. When the mail is returned, the SIM card identification information of the mobile terminal corresponding to the user mailbox can be determined according to the information of the user mailbox of the returned mail.
S103:确定所述用户邮箱的可用容量不小于退回的所述邮件包含的字节数,将缓存的所述邮件发送到所述用户邮箱。S103: Determine that the available capacity of the user mailbox is not less than the number of bytes contained in the returned email, and send the cached email to the user mailbox.
在本发明实施例中为了有效的提高用户获取信息的准确性,针对邮箱溢出的邮件发送装置(以下简称装置)可以永久性地保存用户邮箱退回的邮件,当确定用户邮箱存在足够的空间时,即该用户邮箱的可用容量不小于退回的所述邮件包含的字节数时,将该保存的邮件发送到用户邮箱。或者为了节省装置的缓存空间,在本发明实施例中装置缓存用户邮箱退回的邮件的时间可以为根据需要设定的时间长度T,当在该时间长度内,判断所述用户邮箱的可用容量是否不小于退回的所述邮件包含的字节数,当判断用户邮箱的可用容量不小于退回的所述邮件包含的字节数时,将该缓存的邮件发送到用户邮箱。In the embodiment of the present invention, in order to effectively improve the accuracy of the user's information acquisition, the mail sending device (hereinafter referred to as the device) for overflowing the mailbox can permanently save the mail returned by the user's mailbox. When it is determined that there is enough space in the user's mailbox, That is, when the available capacity of the user's mailbox is not less than the number of bytes contained in the returned email, the stored email is sent to the user's mailbox. Or in order to save the cache space of the device, in the embodiment of the present invention, the time for the device to cache the mails returned by the user's mailbox can be a time length T set according to needs. When within this time length, it is judged whether the available capacity of the user's mailbox is Not less than the number of bytes contained in the returned mail, when it is judged that the available capacity of the user mailbox is not less than the number of bytes contained in the returned mail, the cached mail is sent to the user mailbox.
当缓存用户邮箱退回的邮件的时间长度T内,该用户邮箱一直未存在足够的空间,即用户邮箱的可用容量小于退回的所述邮件包含的字节数时,认为该邮件的时效性变差,为了节省缓存空间,缓存时效性强的其他退回邮件,将缓存的邮件丢弃。When the length of time T for caching the mail returned by the user mailbox, there is no enough space in the user mailbox, that is, when the available capacity of the user mailbox is less than the number of bytes contained in the returned mail, the timeliness of the mail is considered to be poor , in order to save cache space, cache other bounced emails with strong timeliness, and discard the cached emails.
由于用于缓存退回邮件的缓存空间也存在一定的容量,当某一时间段内退回邮件的流量较大,当该装置接收到退回的邮件,并确定缓存空间不存在可用容量时,即该缓存空间的剩余容量小于该退回的邮件包含的字节数时,装置识别退回邮件的发件人的信息,具体的为识别发件人的用户邮箱信息,将该退回的邮件发送到该发件人的用户邮箱,以便通知该发件人。Since the cache space for caching bounced emails also has a certain capacity, when the flow of bounced emails is large within a certain period of time, when the device receives bounced emails and determines that there is no available capacity in the cache space, the cache When the remaining capacity of the space is less than the number of bytes contained in the returned email, the device will identify the sender's information of the returned email, specifically to identify the sender's user mailbox information, and send the returned email to the sender email address of the user in order to notify the sender.
图2为本发明实施例提供的针对邮箱溢出的邮件发送方法的详细实施方式,该方法包括:Fig. 2 is the detailed implementation of the mail sending method for mailbox overflow provided by the embodiment of the present invention, the method includes:
S201:装置缓存用户邮箱退回的邮件,并确定缓存该退回的邮件的时间长度为T。S201: The device caches the bounced emails from the user's mailbox, and determines the time length for caching the bounced emails as T.
S202:指示所述用户邮箱对应的移动终端进行提示用户进行邮箱清理的操作。S202: Instruct the mobile terminal corresponding to the user's mailbox to perform an operation of prompting the user to clean up the mailbox.
S203:判断缓存该退回的邮件的时间长度是否不大于T,当判断结果为是时,进行步骤S204,否则,进行步骤S206。S203: Judging whether the time length for caching the returned mail is not greater than T, if the judging result is yes, go to step S204, otherwise, go to step S206.
S204:判断所述用户邮箱的可用容量不小于退回的所述邮件包含的字节数,当判断结果为是时,进行步骤S205,否则,进行步骤S203。S204: Judging that the available capacity of the user's mailbox is not less than the number of bytes contained in the returned mail, if the judging result is yes, go to step S205; otherwise, go to step S203.
S205:将缓存的所述邮件发送到所述用户邮箱。S205: Send the cached email to the user mailbox.
S206:确定所述用户邮箱不存在足够的空间时,将缓存的所述邮件丢弃。S206: When it is determined that there is not enough space in the user mailbox, discard the cached email.
上述步骤S203也可以在步骤S202之前执行,并不限于上述实施例的实现方案。The above step S203 may also be performed before step S202, and is not limited to the implementation solution of the above embodiment.
图3为本发明实施例提供的针对邮箱溢出的邮件发送装置的结构示意图,该邮件服务器包括:缓存模块31和控制模块32。FIG. 3 is a schematic structural diagram of a mail sending device for mailbox overflow provided by an embodiment of the present invention. The mail server includes: a cache module 31 and a control module 32 .
缓存模块31,用于缓存用户邮箱退回的邮件;Caching module 31, used for caching the mail returned by user's mailbox;
控制模块32,用于指示所述用户邮箱对应的移动终端进行提示用户进行邮箱清理的操作,确定所述用户邮箱的可用容量不小于退回的所述邮件包含的字节数时,将缓存的所述邮件发送到所述用户邮箱。The control module 32 is used to instruct the mobile terminal corresponding to the user mailbox to prompt the user to clean up the mailbox, and when it is determined that the available capacity of the user mailbox is not less than the number of bytes contained in the returned mail, the cached The above email is sent to the user mailbox.
在本发明实施例中该控制模块32可以为排队引擎,该排队引擎位于邮件服务器内,缓存模块可以为存储空间。In the embodiment of the present invention, the control module 32 may be a queuing engine, and the queuing engine is located in the mail server, and the cache module may be a storage space.
在本发明实施例中控制模块32确定所述用户邮箱的可用容量,可以是控制模块32主动对用户邮箱的可用容量进行检测,也可以是用户邮箱根据用户清理后上报的可用容量信息,确定自身可用容量并上报控制模块32,控制模块32根据用户邮箱上报的可用容量,确定该用户邮箱的可用容量。In the embodiment of the present invention, the control module 32 determines the available capacity of the user's mailbox. It may be that the control module 32 actively detects the available capacity of the user's mailbox, or the user's mailbox determines its own capacity according to the available capacity information reported by the user after cleaning. The available capacity is reported to the control module 32, and the control module 32 determines the available capacity of the user's mailbox according to the available capacity reported by the user's mailbox.
具体地控制模块32具体用于,侦听用户对所述用户邮箱的清理操作,确定用户清理后的所述用户邮箱的可用容量。Specifically, the control module 32 is specifically configured to monitor the user's cleaning operation on the user mailbox, and determine the available capacity of the user mailbox after cleaning by the user.
或者,所述控制模块32具体用于,接收所述用户邮箱根据用户清理后上报的可用容量信息,确定所述用户邮箱的可用容量。Alternatively, the control module 32 is specifically configured to determine the available capacity of the user's mailbox after receiving the available capacity information reported by the user's mailbox after cleaning.
另外,当缓存模块31缓存用户邮箱退回的邮件具有一定的时间长度时,控制模块32具体的还用于,根据缓存所述邮件的时间长度,在该时间长度内,判断所述用户邮箱的可用容量是否不小于退回的所述邮件包含的字节数,当确定所述用户邮箱的可用容量不小于退回的所述邮件包含的字节数时,将缓存的所述邮件发送到所述用户邮箱。控制模块32还用于,当在所述时间长度内,确定所述用户邮箱的可用容量小于退回的所述邮件包含的字节数时,将缓存的所述邮件丢弃。In addition, when the caching module 31 caches the email returned by the user mailbox for a certain length of time, the control module 32 is further configured to, according to the length of time for caching the email, within this time length, determine whether the user mailbox is available. Whether the capacity is not less than the number of bytes contained in the returned mail, and when it is determined that the available capacity of the user mailbox is not less than the number of bytes contained in the returned mail, send the cached mail to the user mailbox . The control module 32 is further configured to discard the cached mail when it is determined that the available capacity of the user mailbox is less than the number of bytes contained in the returned mail within the time period.
所述控制模块32还用于,当确定缓存退回邮件的缓存模块31中的缓存空间的剩余容量小于该退回的邮件包含的字节数时,识别退回的所述邮件的发件人的用户邮箱信息,将退回的所述邮件发送到该用户邮箱。The control module 32 is also used to identify the user mailbox of the sender of the returned mail when it is determined that the remaining capacity of the cache space in the cache module 31 for buffering the returned mail is less than the number of bytes contained in the returned mail information, and send the bounced email to the user mailbox.
图4为本发明实施提供的结合图3所示的装置,对邮箱溢出时的邮件发送的过程,并且该过程中以控制模块为排队引擎为例进行说明,该过程包括以下步骤:Fig. 4 provides for the implementation of the present invention in combination with the device shown in Fig. 3, the process of sending mail when the mailbox overflows, and in this process, the control module is used as an example to describe the queuing engine, and the process includes the following steps:
S401:用户邮箱在被占满时,接收到用户邮件后,将该用户邮件退回。S401: When the user's mailbox is full, after receiving the user's mail, return the user's mail.
S402:排队引擎接收该用户邮箱退回的用户邮件。S402: The queuing engine receives the user email returned by the user mailbox.
S403:排队引擎对该退回的用户邮件进行解析,获取用户邮箱的信息,针对该用户邮箱,保存该用户邮箱的索引。S403: The queuing engine parses the returned user email, obtains information of the user mailbox, and saves an index of the user mailbox for the user mailbox.
S404:排队引擎根据本地保存的用户邮箱的索引,将该退回的用户邮件发送到缓存模块的对应位置缓存。S404: The queuing engine sends the returned user email to a corresponding location of the caching module for caching according to the index of the locally stored user mailbox.
S405:排队引擎向所述用户邮箱对应的移动终端发送提示用户进行邮箱清理的信息。S405: The queuing engine sends information prompting the user to clean up the mailbox to the mobile terminal corresponding to the mailbox of the user.
S406:排队引擎侦听用户对所述用户邮箱的清理操作,确定用户清理后的所述用户邮箱的可用容量。S406: The queuing engine listens to the cleaning operation of the user's mailbox by the user, and determines the available capacity of the user's mailbox after cleaning by the user.
S407:当判断所述可用容量不小于退回的邮件包含的字节数时,则确定所述用户邮箱存在足够空间。S407: When it is judged that the available capacity is not less than the number of bytes contained in the returned email, determine that there is sufficient space in the user mailbox.
S408:排队引擎根据判断存在足够空间的用户邮箱的信息,及本地保存的用户邮箱的索引,向缓存模块发送获取对应位置缓存的用户邮件的请求。S408: The queuing engine sends a request to the caching module to acquire the user emails cached in the corresponding location according to the information of the user mailboxes judged to have sufficient space and the index of the locally stored user mailboxes.
S409:缓存模块根据排队引擎发送的请求,将对应位置缓存的用户邮件发送到排队引擎。S409: The caching module sends the user mail cached at the corresponding location to the queuing engine according to the request sent by the queuing engine.
S410:排队引擎将接收的用户邮件发送到对应的用户邮箱。S410: The queuing engine sends the received user email to a corresponding user mailbox.
排队引擎接收到用户邮箱退回的邮件后,为了便有判断缓存的邮件是否发送,需要对退回的邮件进行解析,获取该邮件中的用户邮箱的信息,即具体的收件人的邮箱的信息。当排队引擎获取了该用户邮箱的信息后,针对该用户邮箱,保存该用户邮箱的索引,并通知缓存模块将该用户邮箱的信息保存到相应的位置,即本地索引对应的该缓存模块中的相应位置。排队索引确定该用户邮箱存在足够的空间时,即判断用户邮箱的可用容量是否不小于退回的所述邮件包含的字节数时,根据本地保存的该用户邮箱的索引,向缓存模块发送获取退回邮件的请求,其中该请求中携带该邮件缓存的位置的信息。缓存模块接收到该请求后,根据该请求中携带的位置的信息,将相应位置缓存的邮件提供给排队索引,从而实现缓存邮件的重新发送。After the queuing engine receives the mail returned by the user's mailbox, in order to judge whether the cached mail is sent, it needs to analyze the returned mail to obtain the information of the user's mailbox in the mail, that is, the information of the specific recipient's mailbox. After the queuing engine obtains the information of the user mailbox, it saves the index of the user mailbox for the user mailbox, and notifies the cache module to save the information of the user mailbox to the corresponding location, that is, the cache module corresponding to the local index corresponding position. When the queuing index determines that there is enough space in the user's mailbox, that is, when it is judged whether the available capacity of the user's mailbox is not less than the number of bytes contained in the returned mail, according to the index of the user's mailbox stored locally, send to the cache module to obtain the returned A mail request, wherein the request carries information about the location of the mail cache. After receiving the request, the caching module provides the mails cached at the corresponding location to the queuing index according to the location information carried in the request, so as to realize resending of the cached mails.
为了便于排队引擎根据用户邮箱退回的邮件包含的字节数的信息,确定用户邮箱是否存在足够的空间,排队引擎可以在对该邮件进行解析时,获取该邮件包含的字节数的信息,并在本地针对该用户邮箱的索引保存该邮件包含的字节数的信息。In order to facilitate the queuing engine to determine whether there is enough space in the user mailbox according to the information of the number of bytes contained in the mail returned by the user mailbox, the queuing engine can obtain the information of the number of bytes contained in the mail when parsing the mail, and Store information about the number of bytes contained in the message locally against the index of the user's mailbox.
排队引擎由于可以对每个邮件进行解析,获取并保存每个邮件包含的字节数的信息,当缓存模块中缓存了某一用户邮箱退回的多个邮件时,为了便于排队引擎针对退回的邮件确定用户邮箱是否存在足够空间,在排队引擎中还可以针对接收到的每个退回的邮件,保存接收每个退回的邮件的时间信息。排队引擎可以根据接收到的退回邮件的时间顺序,根据缓存的退回邮件中退回时间最早的邮件包含的字节数,是否不大于用户邮箱的可用容量,从而确定用户邮箱是否存在足够空间。Since the queuing engine can analyze each email, obtain and save the information of the number of bytes contained in each email, when multiple emails returned by a certain user mailbox are cached in the cache module, in order to facilitate the queuing engine for the returned emails To determine whether there is enough space in the user mailbox, the queuing engine can also store the time information of receiving each bounced email for each bounced email received. The queuing engine can determine whether there is enough space in the user mailbox according to the time sequence of the received bounced emails and whether the number of bytes contained in the email with the earliest bounce time in the cached bounced emails is not greater than the available capacity of the user mailbox.
例如排队引擎当接收到某一用户邮箱退回的每个邮件时,对每个邮件进行解析,获取并保存每个邮件包含的字节数的信息,并保存接收的每个退回的邮件的时间信息。具体的例如,保存的接收的某一用户邮箱退回的邮件的时间分别为8:29、8:31和9:12,每个退回的邮件包含的字节数分别为32.5K、67K及24K。则当确定用户邮箱是否存在足够空间时,该排队引擎采用接收的退回时间为8:29的邮件包含的字节数32.5K,以及用户邮箱的可用容量,确定用户邮箱是否存在足够空间。或者排队引擎也可以针对缓存的某一用户邮箱的所有退回邮件包含的字节数信息,确定用户邮箱是否存在足够的空间,具体的实现方式与上述相同,在这里就不一一赘述。For example, when the queuing engine receives each email returned by a certain user's mailbox, it parses each email, obtains and saves the information of the number of bytes contained in each email, and saves the time information of each returned email received . Specifically, for example, the saved times of receiving bounced emails from a certain user mailbox are 8:29, 8:31, and 9:12 respectively, and the bytes contained in each bounced email are 32.5K, 67K, and 24K, respectively. Then when determining whether there is enough space in the user mailbox, the queuing engine uses the 32.5K bytes contained in the received mail with a return time of 8:29 and the available capacity of the user mailbox to determine whether there is enough space in the user mailbox. Or the queuing engine can also determine whether there is enough space in the user's mailbox according to the byte number information contained in all the bounced mails of a certain user's mailbox in the cache. The specific implementation method is the same as above, and will not be repeated here.
排队引擎可以基于信息应用程序接口(Messaging Application ProgrammingInterface,MAPI)侦听用户对用户邮箱的清理操作。上述实施例是以排队引擎自动侦听用户对用户邮箱的清理操作,确定用户邮箱是否存在足够空间进行说明的。用户邮箱根据用户的清理,将自身可用容量信息上报排队引擎,通过排队引擎确定用户邮箱是否存在足够空间的过程,与上述过程类似,这里就不一一赘述。The queuing engine can listen to the cleaning operation of the user's mailbox based on the Messaging Application Programming Interface (MAPI). The above embodiment is explained by the queuing engine automatically listening to the cleaning operation of the user's mailbox to determine whether there is enough space in the user's mailbox. The user mailbox reports its own available capacity information to the queuing engine according to the user's cleaning, and the process of determining whether there is enough space in the user mailbox through the queuing engine is similar to the above process, and will not be repeated here.
在本发明实施例中当邮件服务器在本地缓存用户邮箱退回的邮件后,向该用户邮箱对应的移动终端发送提示用户进行邮箱清理的信息时,该邮件服务器通过推送网关,通知短信网关向该用户邮箱对应的移动终端。具体的邮件服务器向推送网关发送向所述用户邮箱对应的移动终端发送提示信息的信息,在该信息中包含用户邮箱对应的移动终端的SIM卡标识信息。In the embodiment of the present invention, when the mail server caches the mails returned by the user's mailbox locally, and then sends a message prompting the user to clean up the mailbox to the mobile terminal corresponding to the user's mailbox, the mail server notifies the SMS gateway to send the message to the user through the push gateway. The mobile terminal corresponding to the mailbox. Specifically, the mail server sends information to the push gateway to send prompt information to the mobile terminal corresponding to the user mailbox, and the information includes the SIM card identification information of the mobile terminal corresponding to the user mailbox.
推送网关接收到该信息后,将该信息发送到短信网关,该推送网关发送的信息中包含用户邮箱对应的移动终端的SIM卡标识信息。短信网关接收到推送网关发送的信息,根据本地保存的信息,生成提示用户进行邮箱清理的信息,根据移动终端的SIM卡标识信息,向该用户邮箱对应的移动终端发送提示用户进行邮件清理的信息。After the push gateway receives the information, it sends the information to the short message gateway, and the information sent by the push gateway includes the SIM card identification information of the mobile terminal corresponding to the user mailbox. The SMS gateway receives the information sent by the push gateway, generates information prompting the user to clean up the mailbox according to the information stored locally, and sends the message prompting the user to clean up the email to the mobile terminal corresponding to the user mailbox according to the SIM card identification information of the mobile terminal .
在该短信网关本地保存了提示用户进行邮件清理的信息,因此当短信网关接收到推送网关发送的向用户邮箱对应的移动终端发送提示信息的信息时,根据本地保存的信息,生成提示用户进行邮箱清理的信息,将该信息发送到该移动终端。The SMS gateway locally saves the information prompting the user to clean up the mail. Therefore, when the SMS gateway receives the information sent by the push gateway to send the reminder information to the mobile terminal corresponding to the user mailbox, it generates a message prompting the user to clean up the email according to the locally saved information. The cleared information is sent to the mobile terminal.
短信网关本地保存的提示用户进行邮件清理的信息,可以是一般的短信息,当移动终端接收到该短信息时,将该短信息提供给用户。或者在本发明实施例中为了提高用户对用户邮箱的清理效率,短信网关向移动终端发送trade信息,因此当移动终端的底层模块接收到该信息后,自动向该用户推送用户邮箱的登录信息,并且根据自身保存的信息,向该用户提供邮箱清理的信息。具体的例如,当该移动终端接收到短信网关发送的trade信息后,自动触发手机邮箱客户端,并且该手机邮箱客户端弹出题述用户进行邮箱清理的信息。The message reminding the user to clean up the mail stored locally by the SMS gateway can be a general short message, and when the mobile terminal receives the short message, it will provide the short message to the user. Or in the embodiment of the present invention, in order to improve the user's cleaning efficiency to the user's mailbox, the short message gateway sends trade information to the mobile terminal, so after the bottom module of the mobile terminal receives the information, it automatically pushes the login information of the user's mailbox to the user, And according to the information saved by itself, provide the user with the information of cleaning up the mailbox. Specifically, for example, after the mobile terminal receives the trade information sent by the SMS gateway, the mobile phone mailbox client is automatically triggered, and the mobile phone mailbox client pops up a message about cleaning up the mailbox of the user.
图5为本发明实施例提供的又一针对邮箱溢出的邮件发送过程,过程中以该针对邮箱溢出的邮件发送位于邮件服务器为例进行说明,该过程包括以下步骤:Fig. 5 is another mail sending process for mailbox overflow provided by the embodiment of the present invention, in the process, the mail sending for mailbox overflow is located in the mail server as an example for illustration, and the process includes the following steps:
S501:邮件服务器将自身用户邮箱退回的邮件在本地缓存,并确定缓存该回的邮件的时间长度为T。S501: The mail server locally caches the returned mail from its own user mailbox, and determines that the time length for caching the returned mail is T.
S502:邮件服务器向推送服务器发送向所述用户邮箱对应的移动终端发送提示信息的信息。S502: The mail server sends to the push server information about sending prompt information to the mobile terminal corresponding to the user mailbox.
S503:推送服务器根据接收的信息,向短信网关发送向所述用户邮箱对应的移动终端发送提示信息的信息。S503: According to the received information, the push server sends to the short message gateway information for sending prompt information to the mobile terminal corresponding to the user mailbox.
S504:短信网关根据接收的信息,及本地保存的信息,生成提示用户进行邮箱清理的信息,并将生成的信息发送到用户邮箱对应的移动终端。S504: The short message gateway generates information prompting the user to clean up the mailbox according to the received information and the information stored locally, and sends the generated information to the mobile terminal corresponding to the user mailbox.
S505:移动终端对接收的提示用户进行邮箱清理的信息进行解析。S505: The mobile terminal parses the received information prompting the user to clean up the mailbox.
S506:移动终端向用户提供用户邮箱登陆信息,并根据自身保存的信息,向用户提供邮箱清理的信息。S506: The mobile terminal provides the user with login information of the user's mailbox, and provides the user with information about cleaning up the mailbox according to the information stored by itself.
S507:邮件服务器判断缓存该退回的邮件的时间长度是否不大于T,当判断结果为是时,进行步骤S508,否则,进行步骤S510。S507: The mail server judges whether the time length for caching the bounced mail is not greater than T, and if the judgment result is yes, go to step S508; otherwise, go to step S510.
S508:判断所述用户邮箱的可用容量是否不小于该退回的邮件包含的字节数,当判断结果为是时,进行步骤S509,否则,进行步骤S507。S508: Judging whether the available capacity of the user's mailbox is not less than the number of bytes contained in the returned mail, if the judging result is yes, go to step S509; otherwise, go to step S507.
S509:将缓存的所述邮件发送到所述用户邮箱。S509: Send the cached email to the user mailbox.
S510:确定所述用户邮箱不存在足够的空间时,将缓存的所述邮件丢弃。S510: When it is determined that there is not enough space in the user mailbox, discard the cached email.
上述步骤中S507可以在步骤S502到步骤S506之间的任何步骤之前或之后执行,并不限于本发明的上述实施方式,步骤S507的执行具体根据邮件服务器保存的侦听时间间隔确定。In the above steps, S507 can be executed before or after any step between step S502 and step S506, and is not limited to the above embodiment of the present invention. The execution of step S507 is specifically determined according to the listening time interval saved by the mail server.
图6为本发明实施提供的一种邮箱溢出的邮件发送系统的结构示意图,该系统包括:Fig. 6 is a schematic structural diagram of a mail sending system with mailbox overflow provided by the implementation of the present invention, the system includes:
邮件服务器61,用于缓存用户邮箱退回的邮件,指示所述用户邮箱对应的移动终端进行提示用户进行邮箱清理的操作,确定所述用户邮箱的可用容量不小于退回的所述邮件包含的字节数时,将缓存的所述邮件发送到所述用户邮箱;The mail server 61 is used to cache mails returned by the user mailbox, instruct the mobile terminal corresponding to the user mailbox to prompt the user to clean up the mailbox, and determine that the available capacity of the user mailbox is not less than the bytes contained in the returned mail number of times, send the cached mail to the user mailbox;
移动终端62,用于接收提示用户进行邮件清理的信息,并向用户提示所述信息。The mobile terminal 62 is configured to receive information prompting the user to clean up emails, and prompt the user for the information.
所述系统还包括:The system also includes:
推送网关63,用于接收所述邮件服务器发送的向所述用户邮箱对应的移动终端发送提示信息的信息;Push gateway 63, configured to receive the information sent by the mail server to send prompt information to the mobile terminal corresponding to the user mailbox;
短信网关64,用于接收所述推送网关发送的信息,根据本地保存的信息,向所述用户邮箱对应的移动终端发送提示用户进行邮箱清理的信息。The short message gateway 64 is configured to receive the information sent by the push gateway, and send information prompting the user to clean up the mailbox to the mobile terminal corresponding to the user mailbox according to the locally stored information.
本发明实施例提供一种邮箱溢出的邮件发送方法、系统及装置,该方法中当邮箱溢出将用户邮件退回后,缓存该退回的邮件,指示所述用户邮箱对应的移动终端进行提示用户进行邮箱清理的操作,当该用户邮箱的可用容量不小于退回的所述邮件包含的字节数时,将缓存的邮件重新发送到用户邮箱。由于在本发明实施例中缓存了退回的邮件,并提示用户进行了用户邮箱的清理,只要用户邮箱的可用容量不小于该退回的邮件包含的字节数时,即将缓存的邮件发送到用户邮箱,从而避免了用户接收信息的遗漏问题。Embodiments of the present invention provide a mail sending method, system and device for mailbox overflow. In the method, when the mailbox overflows and the user mail is returned, the returned mail is cached, and the mobile terminal corresponding to the user mailbox is instructed to prompt the user to send the mail. A cleaning operation, when the available capacity of the user's mailbox is not less than the number of bytes contained in the returned mail, resend the cached mail to the user's mailbox. Since the bounced mail is cached in the embodiment of the present invention, and the user is prompted to clean up the user's mailbox, as long as the available capacity of the user's mailbox is not less than the number of bytes contained in the returned mail, the cached mail will be sent to the user's mailbox , thereby avoiding the omission of information received by users.
显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalent technologies, the present invention also intends to include these modifications and variations.
Claims (11)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010254897.2A CN102377687B (en) | 2010-08-16 | 2010-08-16 | Mail sending method, system and device by aiming at mailbox overflow |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010254897.2A CN102377687B (en) | 2010-08-16 | 2010-08-16 | Mail sending method, system and device by aiming at mailbox overflow |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102377687A CN102377687A (en) | 2012-03-14 |
CN102377687B true CN102377687B (en) | 2015-03-11 |
Family
ID=45795679
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201010254897.2A Active CN102377687B (en) | 2010-08-16 | 2010-08-16 | Mail sending method, system and device by aiming at mailbox overflow |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102377687B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103295124B (en) * | 2013-04-27 | 2016-05-25 | 惠州Tcl移动通信有限公司 | The based reminding method that mailbox can be used and system for prompting |
CN112866087B (en) * | 2021-01-11 | 2022-02-11 | 腾讯科技(深圳)有限公司 | Information receiving method and computer readable storage medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1329407A (en) * | 2000-06-14 | 2002-01-02 | 索尼公司 | Information processing equipment and method, information management system and program storage medium |
CN1457181A (en) * | 2003-03-13 | 2003-11-19 | 北京无限立通通讯技术有限责任公司 | Method for realizing mobile realtime e-mail delivery by mobile short-message and mobile IP network |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3603759B2 (en) * | 2000-08-11 | 2004-12-22 | 村田機械株式会社 | Facsimile server and communication method using the server |
JP2003330866A (en) * | 2002-05-10 | 2003-11-21 | Murata Mach Ltd | Communication device |
-
2010
- 2010-08-16 CN CN201010254897.2A patent/CN102377687B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1329407A (en) * | 2000-06-14 | 2002-01-02 | 索尼公司 | Information processing equipment and method, information management system and program storage medium |
CN1457181A (en) * | 2003-03-13 | 2003-11-19 | 北京无限立通通讯技术有限责任公司 | Method for realizing mobile realtime e-mail delivery by mobile short-message and mobile IP network |
Also Published As
Publication number | Publication date |
---|---|
CN102377687A (en) | 2012-03-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2017091569A5 (en) | ||
US20150264540A1 (en) | Method of Escalating Delivery of Undelivered Messages | |
US9338613B2 (en) | Intelligent messaging system to convert email to SMS, EMS and MMS | |
US9060253B2 (en) | Identifying and blocking mobile messaging service spam | |
CN103491170B (en) | Email reaches the method and system of prompting message | |
US8364122B2 (en) | Delayed delivery messaging | |
RU2011102498A (en) | SYSTEM AND METHOD FOR ATTACHING CONTENT TO MOBILE MESSAGES | |
CN101841596A (en) | Short message delay reminding terminal and method | |
RU2008132679A (en) | METHOD, MOBILE TERMINAL, SYSTEM AND COMPUTER SOFTWARE PRODUCT FOR ATTRIBUTING CONTENT IN REAL TIME | |
KR20080015790A (en) | Wireless paging system | |
CN104135429A (en) | A method and a device for pushing information | |
CN101515905B (en) | Electronic mailbox building method and system | |
CN104881279A (en) | Mass messaging method and device | |
CN104052652A (en) | A method, client, system and electronic device for realizing automatic message deletion | |
CN102377687B (en) | Mail sending method, system and device by aiming at mailbox overflow | |
CN101764764B (en) | A mail agent gateway and its mail push method | |
WO2008110504A4 (en) | Charging or billing depending on the reaction to an advert received by a user | |
CN101193348A (en) | A method, device and system for subscribing to regular short messages | |
CN103905297A (en) | Method and device for reading unread information in mobile phone | |
CN107358403A (en) | A kind of express delivery distribution platform based on big data | |
CN103095554B (en) | Media information sending method, apparatus and system | |
CN103684975A (en) | Method and a device for pushing information | |
CN103312585B (en) | A kind of rubbish message processing method and system | |
CN102404451B (en) | Mobile communication terminal and E-mail processing method thereof | |
CN103701688B (en) | Message Queuing server and its spam information processing method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |