JP3735631B2 - Mail transmission / reception device and mail transmission / reception method - Google Patents

Mail transmission / reception device and mail transmission / reception method Download PDF

Info

Publication number
JP3735631B2
JP3735631B2 JP2004079000A JP2004079000A JP3735631B2 JP 3735631 B2 JP3735631 B2 JP 3735631B2 JP 2004079000 A JP2004079000 A JP 2004079000A JP 2004079000 A JP2004079000 A JP 2004079000A JP 3735631 B2 JP3735631 B2 JP 3735631B2
Authority
JP
Japan
Prior art keywords
mail
transmission
congestion
control
threshold
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.)
Expired - Fee Related
Application number
JP2004079000A
Other languages
Japanese (ja)
Other versions
JP2005269263A (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.)
NTT Docomo Inc
Original Assignee
NTT Docomo Inc
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 NTT Docomo Inc filed Critical NTT Docomo Inc
Priority to JP2004079000A priority Critical patent/JP3735631B2/en
Publication of JP2005269263A publication Critical patent/JP2005269263A/en
Application granted granted Critical
Publication of JP3735631B2 publication Critical patent/JP3735631B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Description

本発明は、所定の送信元装置からメールを受信し、当該受信したメールを所定の送信先装置へ送信するメール送受信装置及びメール送受信方法に関する。   The present invention relates to a mail transmission / reception apparatus and a mail transmission / reception method for receiving a mail from a predetermined transmission source apparatus and transmitting the received mail to a predetermined transmission destination apparatus.

本明細書において「メール」とは、一般にパソコン間、移動通信端末間等で利用されている電子メール、移動通信端末間で用いられるショートメッセージサービス、マルチメディアメッセージサービスを含み、文章、図柄等を電子化して特定の送信先に送信し得る手段を包括するものとして用いている。従来のメールサーバの基本構成を図13に示す。メールサーバ13は、携帯電話などの移動端末、パソコンが送信するメールを受信し、必要に応じて文字コード等のファイル形式の変換処理を行い、受信したメールの宛先の移動端末、パソコンの属するサーバ宛、あるいはメールサーバ13に属する移動端末、パソコンが宛先となっている場合には、宛先端末へメールを送信する機能を有する。メールサーバ13は、入力I/F部131、出力I/F部132、メッセージの変換処理等を行う記録・変換部133、メッセージを一時蓄積するバッファ134、バッファの輻輳を判定する輻輳判定部136、輻輳時に受信処理を制限する入力I/F輻輳制御部137により構成される。メールサーバ13は、例えば入力I/F部131がメールサーバAからメールを受信し、必要に応じて変換処理を行い、出力I/F部132により宛先サーバへ送信される。送信処理の際、一時的にメールはバッファ134に保存される。   In this specification, “mail” generally includes e-mails that are generally used between personal computers and mobile communication terminals, short message services that are used between mobile communication terminals, and multimedia message services. It is used as a comprehensive means that can be digitized and transmitted to a specific destination. A basic configuration of a conventional mail server is shown in FIG. The mail server 13 receives a mail transmitted from a mobile terminal such as a mobile phone or a personal computer, performs a conversion process of a file format such as a character code as necessary, and a server to which the mobile terminal of the received mail and the personal computer belong When the destination is a mobile terminal or a personal computer belonging to the mail server 13 or the personal computer is the destination, it has a function of sending an email to the destination terminal. The mail server 13 includes an input I / F unit 131, an output I / F unit 132, a recording / conversion unit 133 that performs message conversion processing, a buffer 134 that temporarily stores messages, and a congestion determination unit 136 that determines buffer congestion. The input I / F congestion control unit 137 limits reception processing during congestion. In the mail server 13, for example, the input I / F unit 131 receives a mail from the mail server A, performs a conversion process as necessary, and is transmitted to the destination server by the output I / F unit 132. During the transmission process, the mail is temporarily stored in the buffer 134.

サーバにその処理容量を越えるメールが一時に集中し輻輳を生じた場合には、サーバと送信元端末あるいは送信元サーバとの間の接続と確立するためのリソースが不足し、メールを受信処理が困難となる。さらに、輻輳状態においてサーバがメールを受信できたとしても、サーバの一時保存容量を超えてしまった場合には、メールが送信されずに消去され、メールのロスが生じていた。また、サーバ側では、サーバの処理能力の限界まで処理数が増えることにより、サーバが停止するおそれがあった。   When mail that exceeds the processing capacity is concentrated on the server at one time and congestion occurs, the resources for establishing and establishing a connection between the server and the transmission source terminal or the transmission source server are insufficient, and mail reception processing is not performed. It becomes difficult. Further, even if the server can receive the mail in a congested state, if the temporary storage capacity of the server is exceeded, the mail is deleted without being transmitted, resulting in a mail loss. Further, on the server side, there is a possibility that the server may stop due to an increase in the number of processes up to the limit of the processing capacity of the server.

そこで、従来は輻輳が想定される場合に予め、あるいは輻輳が生じた際に、輻輳が解消するまでメールの処理数を制限し、規定の処理数を超えるメールの受信処理を行わないようにした。図13の例では、輻輳判定部136は、バッファ134の容量を超えて輻輳が生じている場合に、あるいは保守端末(図示せず)からの受信制限の指示を受けて受信処理を制限していた。   Therefore, in the past, when congestion was assumed, or when congestion occurred, the number of mail processing was limited until congestion was resolved, and mail reception processing exceeding the specified number of processing was not performed. . In the example of FIG. 13, the congestion determination unit 136 restricts reception processing when congestion occurs exceeding the capacity of the buffer 134 or upon reception of a reception restriction instruction from a maintenance terminal (not shown). It was.

一方、サーバに関するものではないが、処理数を一律に制限するのではなく、輻輳状態に応じた信号の制御により、信号処理を維持しつつ、信号の受付を部分回避、あるいは遅延させることにより、輻輳制御する手法が提案されている。例えば、CPUへ送信される信号の輻輳制御する方法として、単位時間あたりのCPUに対する割込み数が予め定められた設定値に達したときに所定の輻輳制御を行うこと提唱されている(例えば、特許文献1参照)。より具体的には、2種類の設定値を設け割込み数が第1の設定値に達したとき以後の送受信を受付けず、さらに割込み数が第2の設定値に達したとき外部装置に対し割込みを行わないように通知を行い、輻輳が生じた場合に処理を停止せずに輻輳制御を可能とするものである。   On the other hand, although it is not related to the server, it does not limit the number of processes uniformly, but by partially avoiding or delaying reception of the signal while maintaining signal processing by controlling the signal according to the congestion state, A method for controlling congestion has been proposed. For example, as a method for controlling congestion of a signal transmitted to a CPU, it is proposed to perform predetermined congestion control when the number of interrupts to the CPU per unit time reaches a predetermined set value (for example, patents) Reference 1). More specifically, when two types of setting values are provided and the number of interrupts reaches the first setting value, subsequent transmission / reception is not accepted, and when the number of interrupts reaches the second setting value, an external device is interrupted. Notification is performed so that congestion control can be performed without stopping processing when congestion occurs.

また、ATM伝送に関して入力回線から入力されるセルデータを格納する入力バッファの輻輳状態を検出するために入力バッファの使用状態を多段階に判別することにより、入力バッファの輻輳状態の重大度に応じた輻輳制御を行うことが提唱されている(例えば、特許文献2参照)。   In addition, in order to detect the congestion state of the input buffer that stores the cell data input from the input line with respect to ATM transmission, the use state of the input buffer is determined in multiple stages, so that the level of the congestion state of the input buffer is determined. It has been proposed to perform congestion control (see, for example, Patent Document 2).

さらに、図13のメールサーバ13では、前記の受信処理及びサーバ全体のメールの処理における輻輳と別に、一時にメールの送信処理が集中することにより、送信処理に輻輳が生じることがある。また、図13のメールサーバ13自体のメールの処理数は正常レベルであったとしても、メールの送信先のサーバあるいは、送信先のサーバまでを接続する経路に輻輳が生じることにより、送信処理において輻輳が発生することがある。   Further, in the mail server 13 of FIG. 13, the transmission process may be congested due to the concentration of the mail transmission process at once, in addition to the congestion in the reception process and the mail process of the entire server. Further, even when the mail processing number of the mail server 13 itself in FIG. 13 is at a normal level, congestion occurs in the mail transmission destination server or the route connecting to the transmission destination server. Congestion may occur.

電子メールの再送制御に関する別の背景技術としては、図14(下記特許文献3の第1図)に記載された構成がある。この構成では、クライアントの再送パラメータ決定手段で決められた再送パラメータがクライアントからメールで送信され、それを受信したサーバ内のメール管理手段はその指示に基づいてメールごとに再送条件を定め、その条件に基づいて再送制御を行う。つまり、この例ではメール管理手段がメール送信者、送信開始時刻、再送パラメータ、再送試行時刻、送信状態等をメール毎に管理し、メール毎に再送間隔や再送周期を設定することを特徴とする。   As another background art related to e-mail retransmission control, there is a configuration described in FIG. 14 (FIG. 1 of Patent Document 3 below). In this configuration, the retransmission parameter determined by the client retransmission parameter determination means is transmitted by mail from the client, and the mail management means in the server that receives the parameter determines the retransmission condition for each mail based on the instruction, and the condition Based on the above, retransmission control is performed. That is, in this example, the mail management means manages the mail sender, transmission start time, retransmission parameter, retransmission attempt time, transmission state, etc. for each mail, and sets a retransmission interval and a retransmission cycle for each mail. .

信号の再送制御に関するさらに別の背景技術としては、図15(下記特許文献4の図2)に記載された構成がある。この構成は、サーバとそれに接続された複数の端末から構成されるような1対多のシステムにおけるマルチキャストファイル伝送の例で、ファイルを送信データブロックDTU単位に分割して送信するための通信制御装置である。ここではDTUの損失が小さい受信端末に対して優先的に再送を行うもので、受信端末ごとに再送優先度を変える例である。従って、受信状況の良好な受信端末ほど通信を早期に完了させることができ、全体としてマルチキャスト通信を早期に完了させることができる。
特開平8−265364号公報 特開平11−308247号公報 特開平11―65961号公報 特開2000−307676号公報
As another background art regarding signal retransmission control, there is a configuration described in FIG. 15 (FIG. 2 of Patent Document 4 below). This configuration is an example of multicast file transmission in a one-to-many system composed of a server and a plurality of terminals connected thereto, and a communication control device for dividing and transmitting a file in units of transmission data blocks DTU It is. Here, retransmission is preferentially performed for a receiving terminal with a small DTU loss, and this is an example in which the retransmission priority is changed for each receiving terminal. Accordingly, communication can be completed earlier at a receiving terminal with better reception status, and multicast communication can be completed earlier as a whole.
JP-A-8-265364 JP-A-11-308247 Japanese Patent Laid-Open No. 11-65961 JP 2000-307676 A

従来のサーバでは、処理容量を越えるメールが一時に集中し輻輳が生じた場合に、輻輳が解消するまでメールの処理数を制限していた。これによりサーバの処理を維持できる反面、受信されないメールが多発し、メール送信元のユーザーからみた場合には処理の停止に等しい状況となっていた。さらに処理数あるいは処理能力を制限する場合には、サーバの最大の処理能力以下の処理数であるため、処理を希望するメールが多数存しているにもかかわらず、サーバ処理能力を完全に発揮できなくなっていた。   In the conventional server, when mail exceeding the processing capacity is concentrated at one time and congestion occurs, the number of mail processing is limited until the congestion is eliminated. As a result, the server processing can be maintained, but mails that are not received frequently occur, and when viewed from the mail transmission source user, the situation is equal to the suspension of the processing. Furthermore, when limiting the number of processing or processing capacity, the number of processing is less than the maximum processing capacity of the server, so the server processing capacity is fully exhibited even though there are many mails that you want to process. I couldn't.

一方、前述の信号あるいはATMセルに関する輻輳制御のように、輻輳状態に応じた制御を行う方法も考えられるが、上記背景技術は、送信側でクロック制御などを行うことにより対象となる装置へ流れ込む信号を制御する手法によるものであり、メールの送信元となる端末、サーバは無限に存在するため、メールを送信する側で送信数を制限することは不可能であり、上記背景技術のような制御方法を用いることができなかった。さらに、上記背景技術は、信号自体の送信数を送信側で制限することにより可能となるが、メールにおいて同様の処理を行うには、送信元サーバと通信が確立した後、送信元に対してアプリケーションレベルでの指示などを以って制御を行う必要があるため、受信側装置の処理数制限によらない輻輳制御を行えなかった。このように、背景技術のメールサーバの輻輳制御方法によっては、輻輳状態においてサーバの処理能力を減じないで、サービスの維持を図ることは極めて困難であった。   On the other hand, a method of performing control according to the congestion state, such as the above-described signal or ATM cell congestion control, is conceivable. However, the above background art flows into the target device by performing clock control on the transmission side. This is based on the signal control method, and since there are an infinite number of terminals and servers that are the senders of mail, it is impossible to limit the number of transmissions on the side that sends the mail. The control method could not be used. Furthermore, the above background art can be achieved by limiting the number of transmissions of the signal itself on the transmission side, but in order to perform the same processing in the mail, after communication with the transmission source server is established, Since it is necessary to perform control according to an instruction at the application level, it is impossible to perform congestion control that does not depend on the processing number limit of the receiving side device. As described above, depending on the congestion control method of the mail server of the background art, it is extremely difficult to maintain the service without reducing the server processing capacity in the congestion state.

さらに、送信処理の輻輳に対処するために、上記最初の背景技術では、複数の受信装置に対して1つのバッファで共通的にメッセージを蓄積管理するので、特定の受信装置が故障やトラフィック過多等で動作不能になると、その受信装置との間の再送が頻繁に行われ、その伝送が完了するまで以降のメッセージの送信ができないために、故障した宛先装置向けのメッセージより後に到着した他の宛先装置向けのメッセージについては受信装置が正常であっても伝送に時間がかかるという解決すべき技術的課題があった。   Further, in order to cope with the congestion of the transmission process, in the first background art, messages are stored and managed in common with a single buffer for a plurality of receiving apparatuses, so that a specific receiving apparatus has a failure, excessive traffic, etc. If it becomes inoperable at the same time, retransmission to the receiving device is frequently performed, and subsequent messages cannot be transmitted until the transmission is completed, so other destinations that arrive after the message for the failed destination device. There is a technical problem to be solved that a message for a device takes a long time to transmit even if the receiving device is normal.

特許文献4記載の背景技術はメール単位で再送制御を行うものであるが、再送条件の設定は逐一クライアントからの設定を必要とするので不便であるという欠点があった。また再送回数を多く設定したメールの受信装置が故障していた場合は、やはりそれ以降のメールの伝送に影響を与える可能性があるという欠点があった。   Although the background art described in Patent Document 4 performs retransmission control in units of mail, there is a drawback in that setting of retransmission conditions is inconvenient because it requires setting from the client one by one. In addition, when a mail receiving device in which the number of retransmissions is set to be broken, there is a disadvantage that it may affect the transmission of subsequent mail.

特許文献3記載の背景技術はDTUの損失が小さい受信端末ほど優先して再送制御を行うもので通信状況の悪い受信端末を後回しにすることで全体の通信時間を減らすことは可能であるが、あくまでマルチキャスト通信におけるファイル分割転送に関する技術であって、複数の送信元装置から複数の受信装置に対して電子メール等のメッセージを送信するものではない。   In the background art described in Patent Document 3, it is possible to reduce the overall communication time by deferring a receiving terminal having a poor communication status by preferentially performing retransmission control as the receiving terminal has a smaller DTU loss. It is a technique related to file division transfer in multicast communication to the last, and does not transmit a message such as an electronic mail from a plurality of transmission source devices to a plurality of reception devices.

そこで本発明は、メールサーバの輻輳を輻輳の程度に応じて制御を行うことにより、輻輳状態においてもサーバの処理能力とサービスを維持可能であって、複数の送信元サーバから複数の宛先サーバに対して電子メール等のメッセージを送信する場合において、効率的な再送制御を行うことが可能なサーバとしてのメール送受信装置及びメール送受信方法を提供することを目的とする。   Therefore, the present invention controls the mail server congestion according to the degree of congestion, so that the server processing capability and service can be maintained even in a congested state, and a plurality of source servers can be changed to a plurality of destination servers. An object of the present invention is to provide a mail transmission / reception apparatus and a mail transmission / reception method as a server capable of performing efficient retransmission control when a message such as an electronic mail is transmitted.

本発明のメール送受信装置は、(1)所定の送信元装置からメールを受信する受信手段と、(2)当該受信したメールを所定の送信先装置へ送信する送信手段と、(3)当該メール送受信装置における単位時間当たりのメール処理数を計測する処理数計測手段と、(4)当該計測したメール処理数が所定の閾値を超えたか否かを判断する輻輳判定手段と、(5)輻輳判定手段の判断結果に応じて受信手段に制御信号を出力する制御手段と、(6)送信手段が送信するメールを蓄積する蓄積手段と、を備え、(a)閾値はそれぞれ異なるメール処理数に対応するように複数設定されており、輻輳判定手段が一の閾値を超えたと判断した場合に、制御手段は、受信手段が当該一の閾値に対応するように予め定められた受信制限を行うように制御信号を出力する。   The mail transmitting / receiving apparatus of the present invention includes (1) a receiving unit that receives a mail from a predetermined transmission source device, (2) a transmission unit that transmits the received mail to a predetermined transmission destination device, and (3) the mail. Processing number measuring means for measuring the number of mail processes per unit time in the transmission / reception device; (4) congestion determination means for determining whether the measured number of mail processes exceeds a predetermined threshold; and (5) congestion determination. A control unit that outputs a control signal to the receiving unit according to the determination result of the unit, and (6) a storage unit that stores the mail transmitted by the transmitting unit. (A) Each threshold corresponds to a different number of mail processes. When the congestion determination means determines that the threshold value exceeds one threshold, the control means performs a predetermined reception restriction so that the reception means corresponds to the one threshold value. Control signal To output.

本発明のメール送受信装置によれば、メール処理に輻輳が生じた場合であっても、単位時間当たりのメール処理数を基準として複数の閾値を設けることができるので、メールの輻輳状態に合せた受信制限が可能となる。   According to the mail transmission / reception apparatus of the present invention, even when congestion occurs in mail processing, a plurality of thresholds can be provided based on the number of mail processing per unit time, so that it is matched to the mail congestion state. Reception restriction is possible.

また本発明のメール送受信装置では、蓄積手段は、送信先装置ごとに送信するメールを蓄積する保存領域を備えており、制御手段は、当該それぞれの保存領域に蓄積されたメールの送信回数を計測し、当該計測した送信回数に応じて当該計測した対象のメールを再送信するように送信手段に対して制御信号を出力することも好ましい。メールごとの送信回数に応じて再送信処理がなされるので、そのメールの宛先ごとに再送制御が可能となる。   In the mail transmission / reception apparatus of the present invention, the storage means includes a storage area for storing mail to be transmitted for each destination apparatus, and the control means measures the number of times the mail stored in the storage area is transmitted. It is also preferable to output a control signal to the transmission means so as to retransmit the measured target mail according to the measured number of transmissions. Since retransmission processing is performed according to the number of transmissions for each mail, retransmission control can be performed for each destination of the mail.

また本発明のメール送受信装置では、送信先装置が複数存在する場合において、輻輳判定手段が、送信先装置ごとに判断を行った結果、一の送信先装置においてメール処理数が一の閾値を超えたと判断した場合に、制御手段は、送信手段が当該一の閾値に対応するように予め定められた送信制限を一の送信先装置に対して行うように送信手段に対して制御信号を出力することも好ましい。送信先装置ごとに再送信処理を行うので、送信先装置ごとの状況に応じた再送信処理が可能となる。   In the mail transmission / reception apparatus according to the present invention, when there are a plurality of transmission destination apparatuses, the congestion determination unit makes a determination for each transmission destination apparatus. As a result, the number of mail processes exceeds one threshold value in one transmission destination apparatus. When it is determined that the transmission means has received the control means, the control means outputs a control signal to the transmission means so that the transmission means performs a predetermined transmission restriction on the one transmission destination device so as to correspond to the one threshold value. It is also preferable. Since retransmission processing is performed for each transmission destination device, it is possible to perform retransmission processing according to the situation for each transmission destination device.

また本発明のメール送受信装置では、輻輳判定手段が、メール処理数が第1の閾値を超えたと判断した場合には、制御手段は受信手段及び送信手段の少なくともいずれかに対して、それぞれの処理量を制限するように指示する第1の制御信号を出力し、輻輳判定手段が、メール処理数が第1の閾値を超え、更に第2の閾値も超えたと判断した場合には、制御手段は受信手段及び送信手段の少なくともいずれかに対して、それぞれの処理量を更に制限するように指示する第2の制御信号を出力し、輻輳判定手段が、メール処理数が第1の閾値又は前記第2の閾値を超えた後に、第1の閾値よりも少ない第3の閾値を下回ったと判断した場合には、制御手段は受信手段及び送信手段の少なくともいずれかに対して、それぞれの処理制限を解除するように指示する第3の制御信号を出力することも好ましい。輻輳状態になった後にメール処理数が第1の閾値を下回った場合であっても再び輻輳状態になることが想定されるような場合には、例えば、第1の閾値と第3の閾値との間をあけることで、単位時間当たりのメール処理数が各閾値付近を上下しても輻輳制御を継続するために、輻輳状態が再発する可能性が低いメール処理数になるまで継続的に輻輳制御を行うことが可能となる。   In the mail transmission / reception apparatus according to the present invention, when the congestion determination unit determines that the number of mail processes exceeds the first threshold, the control unit performs each process for at least one of the reception unit and the transmission unit. If the congestion determination means determines that the number of mail processes exceeds the first threshold and further exceeds the second threshold, the control means outputs a first control signal that instructs to limit the amount. A second control signal for instructing at least one of the reception unit and the transmission unit to further limit the amount of processing is output, and the congestion determination unit determines that the mail processing count is the first threshold value or the first value. If it is determined that the threshold value of 2 has been exceeded and the third threshold value that is lower than the first threshold value is exceeded, the control unit releases the respective processing restrictions on at least one of the receiving unit and the transmitting unit. Do It is also preferable to output a third control signal for instructing urchin. In the case where it is assumed that the mail processing number falls below the first threshold after entering the congestion state and the congestion state is assumed again, for example, the first threshold and the third threshold In order to maintain congestion control even if the number of mail processes per unit time fluctuates around each threshold, the congestion continues until the number of mail processes is less likely to recur. Control can be performed.

また本発明のメール送受信装置では、輻輳判定手段が、メール処理数が第1の閾値を超えたと判断した場合には、制御手段は受信手段及び送信手段の少なくともいずれかに対して、それぞれの処理量を制限するように指示する第1の制御信号を出力し、輻輳判定手段が、メール処理数が第1の閾値を超え、更に第2の閾値も超えたと判断した場合には、制御手段は受信手段及び送信手段の少なくともいずれかに対して、それぞれの処理量を更に制限するように指示する第2の制御信号を出力し、制御手段は受信手段に対して第1の制御信号又は第2の制御信号を出力した後に、当該制御信号の出力に応じてメールの受信ができなくなった送信元装置に対して、当該受信できなくなったメールの再送信要求を送信するように指示する第4の制御信号を送信手段に対して出力することも好ましい。輻輳制御によって受信できなくなったデータの再送信を要求するので、必要となるデータを送信元装置が送信できる。   In the mail transmission / reception apparatus according to the present invention, when the congestion determination unit determines that the number of mail processes exceeds the first threshold, the control unit performs each process for at least one of the reception unit and the transmission unit. If the congestion determination means determines that the number of mail processes exceeds the first threshold and further exceeds the second threshold, the control means outputs a first control signal that instructs to limit the amount. A second control signal for instructing at least one of the reception unit and the transmission unit to further limit the amount of processing is output, and the control unit outputs the first control signal or the second control signal to the reception unit. In response to the output of the control signal, a fourth instruction that instructs the transmission source device that cannot receive the mail according to the output of the control signal to transmit the retransmission request for the mail that can no longer be received. control It is also preferable to output No. to the transmission means. Since retransmission of data that cannot be received due to congestion control is requested, the transmission source device can transmit necessary data.

また本発明のメール送受信装置では、蓄積手段は、保存領域の中で、残存容量が第1の容量よりも少なくなった第1の保存領域と残存容量が第2の容量よりも多い第2の保存領域とが存在する場合には、第1の保存領域に蓄積されているメールを第2の保存領域に移動して蓄積することも好ましい。第1の保存領域に蓄積されているメールを第2の保存領域に移動して蓄積するので、第1の保存領域に割り当てられているメールの喪失を回避できる。   In the mail transmitting / receiving apparatus of the present invention, the storage means includes a first storage area in which the remaining capacity is less than the first capacity and a second capacity in which the remaining capacity is greater than the second capacity. If there is a storage area, it is also preferable to move the mail stored in the first storage area to the second storage area for storage. Since the mail stored in the first storage area is moved and stored in the second storage area, loss of mail assigned to the first storage area can be avoided.

また本発明のメール送受信装置では、制御手段は、送信先装置にメールを送信した時から当該送信に応じて送信先装置から返信される応答を受信する時までの時間の単位時間当たりの平均値に応じて、閾値を変更して送信手段に対し制御信号を出力することも好ましい。例えば、送信先装置に輻輳が生じている場合などであっても、それに応じて閾値を下げることにより、特定の送信先装置に対する送信処理が著しく滞ることによる出力処理の輻輳の発生を防止できる。   Further, in the mail transmitting / receiving apparatus of the present invention, the control means is an average value per unit time from the time when the mail is transmitted to the destination apparatus to the time when the response sent back from the destination apparatus is received according to the transmission. Accordingly, it is also preferable to change the threshold value and output a control signal to the transmission means. For example, even when the destination device is congested, by lowering the threshold accordingly, it is possible to prevent the occurrence of congestion in the output processing due to a significant delay in the transmission processing for a specific destination device.

本発明のメール送受信方法は、所定の送信元装置からメールを受信し、当該受信したメールを所定の送信先装置へ送信する方法であって、処理数計測手段が、単位時間当たりのメール処理数を計測する計測ステップと、輻輳判定手段が、当該計測したメール処理数が所定の閾値を超えたか否かを判断する判定ステップと、判定ステップにおいて輻輳判定手段が、メール処理数が複数の閾値の内の一の閾値を超えたと判断した場合には、制御手段が受信手段に対して、当該一の閾値に対応するように予め定められている受信制限を行うように制御信号を出力する制御ステップと、を含む。   The mail transmission / reception method of the present invention is a method of receiving a mail from a predetermined transmission source device and transmitting the received mail to a predetermined transmission destination device, wherein the processing number measuring means has a mail processing number per unit time. A measurement step for measuring the amount of mail processing, a determination step for determining whether or not the measured number of processed mails exceeds a predetermined threshold, and a determination unit for determining whether the number of processed mails exceeds a predetermined threshold. A control step of outputting a control signal so that the control means performs a predetermined reception restriction on the receiving means so as to correspond to the one threshold value when it is determined that one of the threshold values has been exceeded. And including.

本発明のメール送受信方法によれば、メール処理に輻輳が生じた場合であっても、単位時間当たりのメール処理数を基準として複数の閾値を設けることができるので、メールの輻輳状態に合せた受信制限が可能となる。   According to the mail transmission / reception method of the present invention, even when congestion occurs in mail processing, a plurality of thresholds can be set based on the number of mail processing per unit time, so that it is matched to the mail congestion state. Reception restriction is possible.

また本発明のメール送受信方法では、制御手段が、送信先装置ごとに送信するメールを蓄積する保存領域それぞれに蓄積されたメールの送信回数を計測し、当該計測した送信回数に応じて当該計測した対象のメールを再送信するように送信手段に対して制御信号を出力する再送信ステップを含むことも好ましい。メールごとの送信回数に応じて再送信処理がなされるので、そのメールの宛先ごとに再送制御が可能となる。   Further, in the mail transmission / reception method of the present invention, the control unit measures the number of transmissions of the mail accumulated in each storage area for accumulating the mail to be transmitted for each transmission destination device, and performs the measurement according to the measured number of transmissions. It is also preferable to include a retransmission step of outputting a control signal to the transmission means so as to retransmit the target mail. Since retransmission processing is performed according to the number of transmissions for each mail, retransmission control can be performed for each destination of the mail.

また本発明のメール送受信方法では、送信先装置が複数存在する場合に、判定ステップにおいて輻輳判定手段が、送信先装置ごとに判断を行った結果、一の送信先装置においてメール処理数が一の閾値を超えたと判断した場合に、制御手段が、送信手段が当該一の閾値に対応するように予め定められた送信制限を一の送信先装置に対して行うように送信手段に対して制御信号を出力する送信制御ステップを含むことも好ましい。送信先装置ごとに再送信処理を行うので、送信先装置ごとの状況に応じた再送信処理が可能となる。   Further, in the mail transmission / reception method of the present invention, when there are a plurality of transmission destination devices, the congestion determination means makes a determination for each transmission destination device in the determination step. When it is determined that the threshold value is exceeded, the control unit controls the transmission unit so that the transmission unit performs a predetermined transmission restriction on the one transmission destination device so as to correspond to the one threshold value. Is preferably included. Since retransmission processing is performed for each transmission destination device, it is possible to perform retransmission processing according to the situation for each transmission destination device.

本発明によれば、輻輳状態においてもサーバの処理能力とサービスを維持可能であって、複数の送信元サーバから複数の宛先サーバに対して電子メール等のメッセージを送信する場合において、効率的な再送制御を行うことが可能となる。   According to the present invention, it is possible to maintain the processing capability and service of a server even in a congested state, and in the case where messages such as e-mails are transmitted from a plurality of transmission source servers to a plurality of destination servers, it is efficient. It becomes possible to perform retransmission control.

本発明の知見は、例示のみのために示された添付図面を参照して以下の詳細な記述を考慮することによって容易に理解することができる。引き続いて、添付図面を参照しながら本発明の実施の形態を説明する。可能な場合には、同一の部分には同一の符号を付して、重複する説明を省略する。   The teachings of the present invention can be readily understood by considering the following detailed description with reference to the accompanying drawings shown for illustration only. Subsequently, embodiments of the present invention will be described with reference to the accompanying drawings. Where possible, the same parts are denoted by the same reference numerals, and redundant description is omitted.

本発明の実施の形態について図面を参照しながら説明する。図1は、本発明が適用される通信システムの構成図である。   Embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a configuration diagram of a communication system to which the present invention is applied.

移動端末1は、移動通信サービスを受けることが可能な移動端末である。移動端末1(送信元装置、送信先装置)は、移動端末61、PHS62、パソコン63、PDA64に対してメールの送受信を行うことができる。メールには、一般にパソコン間、移動通信端末間等で利用されている電子メール、移動通信端末間で用いられるショートメッセージサービス、マルチメディアメッセージサービスを含み、文章、図柄等を電子化して特定の送信先に送信し得る手段であって、図1記載の通信システムを用いて前記文章等を送受信可能な通信手段であれば何れであってもよい。無線通信網2は、移動端末1と無線通信を行いメールサーバ3と通信を行う無線局、及び通信回線とそれらを制御する装置等からなる。   The mobile terminal 1 is a mobile terminal that can receive a mobile communication service. The mobile terminal 1 (transmission source device, transmission destination device) can send and receive mail to and from the mobile terminal 61, PHS 62, personal computer 63, and PDA 64. Mail includes e-mail that is generally used between personal computers and mobile communication terminals, short message service used between mobile communication terminals, and multimedia message service. Any means can be used as long as it is a communication means capable of transmitting and receiving the text and the like using the communication system shown in FIG. The wireless communication network 2 includes a wireless station that performs wireless communication with the mobile terminal 1 and communicates with the mail server 3, a communication line, a device that controls them, and the like.

メールサーバ3(メール送受信装置)は、移動端末1を含む移動端末のメールサーバである。メールサーバ3は、移動端末1が送信するメールを受信し、必要に応じて一時的保管を伴い、当該メールの送信先である移動端末61、PHS62、パソコン63、PDA64に対してメールを送信する。逆に自己の管理のもとにある移動端末1あるいは、他のメールサーバA41(送信元装置、送信先装置)の管理に属する移動端末61、メールサーバB42(送信元装置、送信先装置)の管理に属するPHS62、メールサーバC43(送信元装置、送信先装置)の管理に属するパソコン63、及びメールサーバD44(送信元装置、送信先装置)の管理に属するPDA64のそれぞれから、メールサーバ3の管理のもとにある移動端末1に対して送信されるメールを受信し、宛先である移動端末1にメールを送信する。さらに、メールの送信元と送信先の端末の利用可能なファイル形式が異なる場合など、そのままメールを送信したのでは、送信先端末で内容を確認できない場合には、必要に応じてメールのファイル形式の変換処理、添付ファイルの削除する機能をメールサーバ3に備えることもできる。メールサーバ3は、他のメールサーバB42、メールサーバC43、及びメールサーバD44にネットワーク5を介して接続されている。   The mail server 3 (mail transmission / reception device) is a mail server of mobile terminals including the mobile terminal 1. The mail server 3 receives the mail transmitted from the mobile terminal 1, and transmits the mail to the mobile terminal 61, the PHS 62, the personal computer 63, and the PDA 64 that are the destinations of the mail with temporary storage as necessary. . Conversely, the mobile terminal 1 under its own management, or the mobile terminal 61 belonging to the management of another mail server A41 (transmission source apparatus, transmission destination apparatus) and the mail server B42 (transmission source apparatus, transmission destination apparatus). From each of the PHS 62 belonging to the management, the personal computer 63 belonging to the management of the mail server C43 (transmission source device, transmission destination device), and the PDA 64 belonging to the management of the mail server D44 (transmission source device, transmission destination device), A mail transmitted to the mobile terminal 1 under management is received, and the mail is transmitted to the mobile terminal 1 as the destination. Furthermore, if the email source is not the same as the destination file that can be used, such as when the file format is different, if the content cannot be confirmed on the destination device, the email file format is The mail server 3 can be provided with a conversion process and a function for deleting an attached file. The mail server 3 is connected to another mail server B42, a mail server C43, and a mail server D44 via the network 5.

メールサーバB42〜D44は、メールサーバ3の管理のもとにないメールの送信先、送信元となるPHS62、パソコン63、PDA64等が送信元、送信先となるメールを管理するメールサーバの例示である。メールサーバB42〜D44は、ネットワーク5を介してメールサーバ3と接続される。ネットワーク5は、メールサーバB42〜D44とメールサーバ3を接続する通信網であり、専用線を含む。   The mail servers B42 to D44 are examples of mail servers that manage mails that are not controlled by the mail server 3, such as the mail transmission destinations, the PHS 62 that is the transmission source, the personal computer 63, the PDA 64, and the like. is there. The mail servers B42 to D44 are connected to the mail server 3 via the network 5. The network 5 is a communication network that connects the mail servers B42 to D44 and the mail server 3, and includes a dedicated line.

図2にメールサーバ3の構成図を示す。入力I/F部31e(受信手段)は、メールサーバ3の管理に属する移動端末1から通信網を介して送信されるメールを受信する機能を有する。さらに、入力I/F部31eは、メールサーバ3の管理に属する移動端末1が宛先である直接に他のメールサーバA41〜D44から送信されたメールを受信する機能を有する。さらに、より好ましくは、入力I/F部31a〜31e(受信手段)は、受信したメールの送信先のメールアドレス、メールの送信先装置を識別する識別符号を識別する機能を備える。また、ここで前記識別符号は、ドメインネーム、IPアドレス、電話番号、国番号など、メールの送受信の際に送信先装置を特定するために用いられるものであれば何れであってもよい。本実施形態の入力I/F部は、入力I/F部31a〜31eとして複数設けられているが、単一のインタフェイスとして構成されていてもよい。   FIG. 2 shows a configuration diagram of the mail server 3. The input I / F unit 31e (reception unit) has a function of receiving mail transmitted from the mobile terminal 1 belonging to the management of the mail server 3 via the communication network. Further, the input I / F unit 31e has a function of receiving mails directly transmitted from the other mail servers A41 to D44, which are addressed to the mobile terminal 1 belonging to the management of the mail server 3. More preferably, the input I / F units 31a to 31e (reception means) have a function of identifying a destination mail address of the received mail and an identification code for identifying the mail destination apparatus. Here, the identification code may be any one such as a domain name, an IP address, a telephone number, a country code, or the like that is used for specifying a transmission destination device when sending and receiving mail. Although a plurality of input I / F units of the present embodiment are provided as the input I / F units 31a to 31e, they may be configured as a single interface.

出力I/F部32a〜32e(送信手段)は、記録変換部33から受信したメールを送信先の移動端末あるいは他のメールサーバに送信する機能を有する。出力I/F部は、1又は複数設置され、複数設置された場合にはメールの送信先となるサーバ毎に設置することも可能である。図2の例では、出力I/F部32a〜32eとしてサーバ毎に複数設置している例を示している。本実施形態の出力I/F部は、出力I/F部32a〜32eとして複数設けられているが、単一のインタフェイスとして構成されていてもよい。   The output I / F units 32a to 32e (transmission means) have a function of transmitting the mail received from the recording conversion unit 33 to a destination mobile terminal or another mail server. One or a plurality of output I / F units are installed, and when a plurality of output I / F units are installed, each output I / F unit can be installed for each server as a mail transmission destination. The example of FIG. 2 shows an example in which a plurality of output I / F units 32a to 32e are installed for each server. Although a plurality of output I / F units of the present embodiment are provided as the output I / F units 32a to 32e, they may be configured as a single interface.

記録変換部33は、入力I/F部31a〜31eから送信されたメールを処理の間一時的に保管し、必要に応じて文字コードなどの変換処理を行い、出力I/F部32a〜32eに送信する機能を有する。さらに、出力I/F部32a〜32eがメールの送信先となるサーバ毎に複数設置されている場合には、記録変換部はメールの送信先に応じてメールを出力I/F部32a〜32eに振り分ける機能を有する。   The recording conversion unit 33 temporarily stores mails transmitted from the input I / F units 31a to 31e during processing, performs character code conversion processing as necessary, and outputs I / F units 32a to 32e. It has the function to transmit to. Further, when a plurality of output I / F units 32a to 32e are installed for each server that is a mail transmission destination, the recording conversion unit outputs the mail according to the mail transmission destination. It has a function to distribute to.

バッファ34(蓄積手段)は、メールの送信処理の際に、処理が完了するまで一時的にメールを保管する機能を有する。さらに、例えばメールの宛先の属するサーバ、あるいはそのサーバに至る回線に輻輳が生じ、あるいは一時期に出力I/F部32a〜32eのメールの送信処理が増加し輻輳を生じている場合など、出力I/F部32a〜32eで送信予定のメールに向けた送信リソースの確保が出来るまで、メールを一時的に保存する機能を有する。   The buffer 34 (accumulation means) has a function of temporarily storing mails until the processing is completed during mail transmission processing. Further, for example, when there is congestion in the server to which the mail address belongs, or the line leading to the server, or when the mail transmission processing of the output I / F units 32a to 32e increases at one time, the output I The / F units 32a to 32e have a function of temporarily storing e-mails until a transmission resource for e-mails scheduled to be transmitted can be secured.

図5にバッファ34の具体的な構成例を示す。バッファ34は宛先装置毎にメッセージを蓄積する機能を持つ。少なくとも宛先装置部121、バッファ内容部122、メッセージ蓄積数管理部123から構成され、宛先装置単位で蓄積されているメッセージの内容と蓄積中のメッセージ数を記憶する機能を持つ。このように宛先装置毎にメッセージを個別管理しているので、宛先装置毎に個別に再送管理が可能になる。また宛先装置ごとに蓄積メッセージ数を管理しているので、宛先装置毎のトラヒックを簡単に把握することができ、また外部に送信待ちメッセージ数を宛先装置単位で出力することもできる。   FIG. 5 shows a specific configuration example of the buffer 34. The buffer 34 has a function of storing messages for each destination device. It is composed of at least a destination device unit 121, a buffer content unit 122, and a message accumulation number management unit 123, and has a function of storing the contents of messages accumulated in units of destination devices and the number of messages being accumulated. Since messages are individually managed for each destination device in this way, retransmission management can be performed for each destination device individually. Since the number of stored messages is managed for each destination device, the traffic for each destination device can be easily grasped, and the number of messages waiting for transmission can be output to the outside in units of destination devices.

さらに、バッファ34に宛先装置毎のメールの保存領域を予め定めることもできる。図6は、宛先装置毎にメールの保存領域を予め定めたバッファの例である。図中の1は、バッファの全容量を示し、abcdefとABC、XYZは、宛先装置毎にメール保存のための領域を示す。ここで、abcdefは、XYZの1/3の保存容量であり、ABCは、XYZの2/3の保存容量である。XYZが300Gバイトの保存容量であれば、ABCとabcdefは、それぞれ200Gバイト、100Gバイトとなる。このように宛先装置に応じて保存容量を別に定めることにより、サーバから宛先装置へのメール送信処理数、送信処理に伴う一時保存時間の長さを考慮して容量を定めることが可能となり、全体としてみれば利用効率なバッファを使用することができる。   Further, a mail storage area for each destination device can be set in the buffer 34 in advance. FIG. 6 is an example of a buffer in which a mail storage area is predetermined for each destination device. In the figure, 1 indicates the total capacity of the buffer, and abcdef, ABC, and XYZ indicate mail storage areas for each destination device. Here, abcdef is a storage capacity 1/3 of XYZ, and ABC is a storage capacity 2/3 of XYZ. If XYZ has a storage capacity of 300 GB, ABC and abcdef are 200 GB and 100 GB, respectively. By separately determining the storage capacity according to the destination device in this way, it becomes possible to determine the capacity in consideration of the number of mail transmission processes from the server to the destination device and the length of the temporary storage time associated with the transmission processing. As a result, an efficient buffer can be used.

変形例として、バッファ34は、宛先毎に割当られた領域を切り替える機能を備えることができる。すなわち、特定の宛先装置に向けた領域(第1の保存領域)の使用量が、その宛先装置に向けたメール用に予め設けられた保存容量を超える恐れがあるとき(すなわち、第1の保存領域の残存容量が所定の第1の容量よりも少なくなったとき)、他の宛先装置向けに準備されたより保存容量の大きい領域(第2の保存領域)があり、かつその宛先装置向けの領域で、他の宛先装置向けのバッファないし保存容量に保存されている全メールを保存できる場合(すなわち、第2の保存領域の残存容量が所定の第2の容量よりも多いとき)には、宛先毎に割当られた領域を切り替えることができる。切換の動作を図6(a)、図6(b)を用いて説明する。   As a modified example, the buffer 34 can have a function of switching an area allocated for each destination. That is, when the amount of use of the area (first storage area) directed to a specific destination apparatus may exceed the storage capacity provided in advance for mail directed to the destination apparatus (that is, the first storage area) When the remaining capacity of the area is smaller than the predetermined first capacity), there is an area (second storage area) having a larger storage capacity prepared for another destination apparatus, and an area for the destination apparatus Thus, when all mails stored in the buffer or storage capacity for other destination devices can be stored (that is, when the remaining capacity of the second storage area is larger than the predetermined second capacity), the destination The allocated area can be switched every time. The switching operation will be described with reference to FIGS. 6 (a) and 6 (b).

たとえば、図6(a)に示すaの保存容量が100Gバイトであり、使用量が80Gバイトを超えた場合であって、保存容量が200GバイトであるABCのうちのAで使用量が、50Gバイト程度である場合には、図6(b)に示すようにAの保存容量の50%をaに与え、aを100Gバイトとする。例えば50Gバイトしか使用していない領域をAであるとした場合には、Aの容量を100Gバイトに限定する。これにより、通常は一時保存されるメールの容量が少ないとして、abcdefの保存容量が与えられている場合でも、その宛先装置へのメールの集中、宛先装置の故障などにより一時的に保存容量が増えてもメールのロストを生じることなく、かつそのような状況に備えて過大な保存容量を準備する必要がなくなる。   For example, when the storage capacity of a shown in FIG. 6A is 100 Gbytes and the usage amount exceeds 80 Gbytes, the usage amount is 50 G for A in ABC with a storage capacity of 200 Gbytes. If it is about bytes, 50% of the storage capacity of A is given to a as shown in FIG. 6B, and a is set to 100 Gbytes. For example, if an area that uses only 50 GB is A, the capacity of A is limited to 100 GB. As a result, even if the storage capacity of abcdef is given, assuming that the capacity of temporarily stored mail is small, the storage capacity temporarily increases due to the concentration of mail to the destination device, failure of the destination device, etc. However, there is no need to prepare an excessive storage capacity in preparation for such a situation without causing lost mail.

図2に戻り、輻輳制御用接続カウンター部35(処理数計測手段)は、入力I/F部31a〜31eにおいて単位時間当たりに受信したメールの数、及び出力I/F部32a〜32eにおいてサーバから外部へ送信した単位時間当たりにメールの数を計数する。ここで、サーバに複数の入力I/F部31a〜31e、出力I/F部32a〜32eが複数設けられていた場合には、各I/F部毎に単位時間当たりの処理数を算出する。さらに単位時間当たりのメールの受信数及び送信数から、単位時間当たりのサーバ内のメール処理数を算出する。ここで、単一のメールに複数の宛先が含まれる場合には、宛先の数を受信したメールの数として扱ってもよい。輻輳制御用接続カウンター部35は、算出された前記の各単位時間当たりのメール処理数を輻輳判定部36に通知する。   Returning to FIG. 2, the congestion control connection counter unit 35 (processing number measuring means) is configured to receive the number of mails received per unit time at the input I / F units 31 a to 31 e and the output I / F units 32 a to 32 e. Count the number of emails per unit time sent from outside to outside. Here, when a plurality of input I / F units 31a to 31e and a plurality of output I / F units 32a to 32e are provided in the server, the number of processes per unit time is calculated for each I / F unit. . Further, the number of mail processes in the server per unit time is calculated from the number of mails received and transmitted per unit time. Here, when a plurality of destinations are included in a single mail, the number of destinations may be treated as the number of received mails. The congestion control connection counter unit 35 notifies the congestion determination unit 36 of the calculated number of mail processes per unit time.

輻輳判定部36(輻輳判定手段)は、輻輳制御用接続カウンター部35から単位時間当たりのサーバ及び入力I/F部31a〜31e、出力I/F部32a〜32eのメールの処理数の通知を受ける。輻輳判定部36は、単位時間当たりのメールの処理数が、予め設定された閾値を超えた場合に輻輳と判断する。前記単位時間は、たとえばメールサーバの保守者が、保守端末(図示せず)から入力し輻輳判定部36に設定される。輻輳判定部36は、前記単位時間を輻輳制御用接続カウンター部35に通知する。   The congestion determination unit 36 (congestion determination means) notifies the server of the unit number of times per unit time and the number of mail processes of the input I / F units 31a to 31e and the output I / F units 32a to 32e from the congestion control connection counter unit 35. receive. The congestion determination unit 36 determines that congestion occurs when the number of emails processed per unit time exceeds a preset threshold. The unit time is input from a maintenance terminal (not shown) by a maintenance person of the mail server, for example, and is set in the congestion determination unit 36. The congestion judgment unit 36 notifies the unit time to the congestion control connection counter unit 35.

輻輳判定部36は、単位時間当たりのサーバ内のメールの処理数が、予め設定された閾値を超えた場合に輻輳と判断する。輻輳判定部36は、輻輳が生じた場合には、単位時間当たりの処理数を減少させるため、入力I/F輻輳制御部37a〜37e(制御手段)に対して、輻輳制御としてメールの受信処理を制限するための所定の指示を通知する機能を有する。さらに、輻輳判定部36は、前記単位時間当たりのサーバのメールの処理数が解除値として予め設定された閾値を下回った場合に、入力I/F輻輳制御部37a〜37eに対して輻輳制御を解除するよう指示する機能を有する。ここで、輻輳判断の基準となる閾値は、2段階以上設定され、それぞれの段階に応じて入力I/F輻輳制御部35に指示する輻輳制御方法を変更する。例えば、2段階の閾値を設けた場合を図3に示す。   The congestion determination unit 36 determines that congestion occurs when the number of mails processed in the server per unit time exceeds a preset threshold. When congestion occurs, the congestion determination unit 36 reduces the number of processes per unit time, so that the input I / F congestion control units 37a to 37e (control means) receive mail as congestion control. Has a function of notifying a predetermined instruction for restricting. Furthermore, the congestion determination unit 36 performs congestion control on the input I / F congestion control units 37a to 37e when the number of mails processed by the server per unit time falls below a preset threshold value. It has a function to instruct to cancel. Here, the threshold value used as a reference for determining congestion is set in two or more stages, and the congestion control method instructed to the input I / F congestion control unit 35 is changed according to each stage. For example, FIG. 3 shows a case where two levels of thresholds are provided.

図3は縦軸に単位時間当たりのメールの処理数、横軸に時間をとった処理数のグラフである。ここで、単位時間当たりのメール処理数が1次閾値(丸数字の1)を超えない場合には入力I/F輻輳制御部37a〜37eに対しては何らの通知を行わず通常通りのメール処理を行い、単位時間当たりのメール処理数が1次閾値(丸数字の1)を超えた場合には、第1段階のメールの送信元端末ないしサーバに対してメールの再送信を行うようリトライ要求信号を返すように入力I/F輻輳制御部37a〜37eに通知することにより輻輳判定部36が輻輳制御を行う。さらに、単位時間当たりのメール処理数が、2次閾値(丸数字の2)を超えた場合には、TCP/IPの切断を行うように入力I/F輻輳制御部37a〜37eに通知することにより輻輳判定部36は輻輳を制御する。なお、輻輳が生じている場合であっても1次閾値(丸数字の1)までの処理数は、通常に受信処理を行う。次に2段階で輻輳を制御する場合の輻輳制御及び制御解除について図4を用いて説明する。   FIG. 3 is a graph of the number of mail processes per unit time on the vertical axis and the number of processes on the horizontal axis. Here, when the number of mail processes per unit time does not exceed the primary threshold value (circled number 1), the normal mail is not sent to the input I / F congestion control units 37a to 37e. Process, and if the number of emails processed per unit time exceeds the primary threshold (circled number 1), retry to send the email to the first-stage email source terminal or server. The congestion determination unit 36 performs congestion control by notifying the input I / F congestion control units 37a to 37e so as to return a request signal. Furthermore, when the number of mail processes per unit time exceeds the secondary threshold (circled number 2), the input I / F congestion control units 37a to 37e are notified so as to disconnect the TCP / IP. Thus, the congestion determination unit 36 controls congestion. Even if congestion is occurring, the number of processes up to the primary threshold (circled number 1) is normally received. Next, congestion control and control release in the case of controlling congestion in two stages will be described with reference to FIG.

図4は縦軸に単位時間当たりのメールの処理数、横軸に単位時間をとったグラフである。図3の場合と同様に単位時間当たりの処理数について、二段階の輻輳判断の閾値を設けた際の処理を示す。1次閾値(丸数字の1)を一度でも上回った場合には一次規制を行う。輻輳判定部16は、以後送信元に対してリトライ要求信号を返すように入力I/F輻輳制御部37a〜37eに通知し、これに基づいて入力I/F輻輳制御部37a〜37eは、リトライ要求信号作成し、送信元端末あるいはサーバにリトライ要求信号を返信する。   FIG. 4 is a graph in which the vertical axis represents the number of mails processed per unit time and the horizontal axis represents unit time. As in the case of FIG. 3, the processing when a threshold value for determining congestion in two stages is provided for the number of processes per unit time is shown. If the primary threshold (circled number 1) is exceeded even once, primary regulation is performed. The congestion determination unit 16 then notifies the input I / F congestion control units 37a to 37e to return a retry request signal to the transmission source, and based on this, the input I / F congestion control units 37a to 37e Create a request signal and send a retry request signal back to the source terminal or server.

輻輳判定部36は、以後の単位時間当たりの処理数が1次閾値(丸数字の1)を下回るものであったとしても解除値(丸数字の3)を下回る処理数でなければ前記制御の解除を行わない。つまり、解除値(丸数字の3)を下回るまで一次規制が継続されることになる。さらに、輻輳判定部36は、単位時間当たりのメールの処理数が2次閾値(丸数字の2)を上回る場合にはTCP/IPの切断を行うように入力I/F輻輳制御部37a〜37eに通知する。この後、輻輳判定部36は、単位時間当たりのメールの処理数が2次閾値(丸数字の2)を下回っても、処理数が解除値(丸数字の3)を下回らなければ、メールの受信要求に対してTCP/IPの切断の輻輳制御を継続し二次規制の解除を入力I/F輻輳制御部37a〜37eに通知しない。このように、1次閾値(丸数字の1)あるいは2次閾値(丸数字の2)と解除値(丸数字の3)との間に幅を持たせることにより、単位時間当たりのメールの処理数が各閾値付近を上下しても制御を継続するために、輻輳状態が再発する可能性が低い処理数になるまで継続的に輻輳制御を行うことが可能となる。   Even if the number of processes per unit time thereafter is less than the primary threshold value (circled number 1), the congestion judgment unit 36 does not perform the above control unless the number of processes is less than the release value (circled number 3). Do not cancel. In other words, the primary regulation is continued until the release value (circled number 3) falls below. Further, the congestion determination unit 36 performs input I / F congestion control units 37a to 37e so as to perform TCP / IP disconnection when the number of processed mails per unit time exceeds a secondary threshold (circled number 2). Notify After this, the congestion determination unit 36 determines that if the number of processed mails per unit time falls below the secondary threshold (circled number 2) but does not fall below the release value (circled number 3), The TCP / IP disconnection congestion control is continued in response to the reception request, and the cancellation of the secondary restriction is not notified to the input I / F congestion control units 37a to 37e. In this way, mail is processed per unit time by providing a width between the primary threshold (circled number 1) or secondary threshold (circled number 2) and the release value (circled number 3). Since the control is continued even if the number fluctuates around each threshold value, it is possible to continuously perform the congestion control until the processing number is low in the possibility that the congestion state will recur.

さらに、輻輳判定部36は、出力I/F部32a〜32eの前記単位時間当たりの処理数が、予め設定された閾値を越えている場合には、輻輳が生じていると判断し、出力I/F輻輳制御部38(制御手段)に対して輻輳制御を指示する。指示は、出力I/F輻輳制御部38に対して送信予定のメールを一時的にバッファ34に保存し、所定の時間が経過した後、再送処理を行うものである。輻輳判定部36は、さらに前記単位時間当たりの出力I/F部32a〜32eのメールの処理数が解除値として予め設定された閾値を下回った場合に、出力I/F輻輳制御部36に対して処理制限を解除するよう指示する機能を有する。   Furthermore, the congestion determination unit 36 determines that congestion has occurred when the number of processes per unit time of the output I / F units 32a to 32e exceeds a preset threshold, and outputs the output I / F Congestion control is instructed to the congestion control unit 38 (control means). The instruction is to temporarily store a mail to be transmitted to the output I / F congestion control unit 38 in the buffer 34 and perform a retransmission process after a predetermined time has elapsed. The congestion determination unit 36 further determines the output I / F congestion control unit 36 when the number of mails processed by the output I / F units 32a to 32e per unit time falls below a preset threshold value as a release value. A function to instruct to release the processing restriction.

図2に例示するように、出力I/F部32a〜32eが複数設けられている場合には、輻輳判定部36は、出力I/F部32a〜32e毎に個別に前記輻輳制御を行う。たとえば、出力I/F部32aにおいてのみ輻輳が生じている場合には、出力I/F部32aのみについて前記輻輳制御を行い、他の出力I/F部32b〜32eについては、通常の送信処理を継続する。このため、出力I/F部32a〜32eが複数設けられ、かつ、それらの一部又は全部がメールの送信先のサーバ毎に設けられている場合には、受信したメールの一部については、結果として送信先のサーバ毎に送信処理の輻輳を制御することが可能となる。   As illustrated in FIG. 2, when a plurality of output I / F units 32 a to 32 e are provided, the congestion determination unit 36 performs the congestion control individually for each of the output I / F units 32 a to 32 e. For example, when congestion occurs only in the output I / F unit 32a, the congestion control is performed only for the output I / F unit 32a, and normal transmission processing is performed for the other output I / F units 32b to 32e. Continue. For this reason, when a plurality of output I / F units 32a to 32e are provided and some or all of them are provided for each server to which the mail is sent, about a part of the received mail, As a result, it is possible to control the congestion of the transmission process for each destination server.

変形例として、出力I/F部32a〜32eが複数設けられている場合に、たとえば出力I/F部32aにおいてのみ輻輳が生じているときには、出力I/F部32aに対応した送信先に向けられたメールの送信先装置を識別する識別符号を特定し、入力I/F制御部31a〜31eに対して前記識別符号を送信先に含むメールの受信処理を行わないよう指示する機能を備えることもできる。   As a modification, when a plurality of output I / F units 32a to 32e are provided, for example, when congestion occurs only in the output I / F unit 32a, the destination is directed to the transmission destination corresponding to the output I / F unit 32a. A function of specifying an identification code for identifying a destination device of the received mail and instructing the input I / F control units 31a to 31e not to perform a mail reception process including the identification code as a destination. You can also.

図7に、輻輳判定部36における出力I/F部とメールの送信先装置を識別する識別符号、輻輳状態の有無の管理状況を示す。各出力I/F部32a〜32eに対応する識別符号は、たとえばメールサーバの保守者が、保守端末(図示せず)から入力し輻輳判定部36に設定される。また、ここで前記識別符号は、ドメインネーム、IPアドレス、電話番号、国番号など、メールの送受信の際に送信先装置を特定するために用いられるものであれば何れであってもよい。これにより、特定の送信先のサーバ等が輻輳を生じ、あるいは故障等によりメールを受信できない状況にあっても、そのようなサーバを送信先とするメールをサーバが受信しないため、その宛先のメールがサーバ内に停滞することによる輻輳を回避することが可能となる。   FIG. 7 shows an identification code for identifying the output I / F unit and the mail transmission destination device in the congestion determination unit 36, and the management status of the presence or absence of a congestion state. The identification code corresponding to each of the output I / F units 32a to 32e is set by the maintenance person of the mail server, for example, from a maintenance terminal (not shown) and set in the congestion determination unit 36. Here, the identification code may be any one such as a domain name, an IP address, a telephone number, a country code, or the like that is used for specifying a transmission destination device when sending and receiving mail. As a result, even if a server at a specific destination is congested or cannot receive mail due to a failure or the like, the server does not receive mail that is sent to such a server. It is possible to avoid congestion due to stagnation in the server.

変形例としてさらに、出力I/F部32a〜32eが複数設けられ、それらの一部又は全部がメールの宛先装置毎に設けられている場合に、輻輳判定部36は、特定の宛先装置に対するメール送信の際に宛先装置の応答時間が予め記録された時間よりも長いものであるため輻輳が生じるおそれがあるとの通知を出力I/F輻輳制御部38から受ける機能を備えることができる。輻輳判定部36は、前記通知を受けた場合に、宛先装置に対応する出力I/F輻輳制御部38の輻輳判断の処理数の閾値を下げる機能を備えることができる。これにより、送信処理の遅延による輻輳の悪化を防止することが可能となる。   As a modified example, when there are a plurality of output I / F units 32a to 32e and some or all of them are provided for each mail destination device, the congestion judgment unit 36 sends the mail to a specific destination device. It is possible to provide a function of receiving notification from the output I / F congestion control unit 38 that there is a possibility that congestion will occur because the response time of the destination device is longer than the time recorded in advance during transmission. The congestion determination unit 36 may have a function of lowering the threshold value of the number of congestion determination processes of the output I / F congestion control unit 38 corresponding to the destination device when the notification is received. As a result, it is possible to prevent deterioration of congestion due to delay in transmission processing.

入力I/F輻輳制御部37a〜37eは、輻輳制御に伴う受信制限などの輻輳判定部36からの指示を受け、入力I/F部31a〜31eに対してメール受信の制御を行い、またメールの送信元端末ないしサーバへのリトライ信号を作成し、送信する機能を有している。   The input I / F congestion control units 37a to 37e receive instructions from the congestion determination unit 36 such as reception restrictions associated with congestion control, and control mail reception for the input I / F units 31a to 31e. It has a function of creating and transmitting a retry signal to the transmission source terminal or server.

変形例として輻輳判定部36から入力I/F制御部37a〜37eに対して、特定の識別符号(メールの送信先装置を識別する符号)を送信先に含むメールの受信処理を行わないよう指示された場合にも、それらについて前記処理を行うことができる。   As a modified example, the congestion determination unit 36 instructs the input I / F control units 37a to 37e not to perform a mail reception process including a specific identification code (a code for identifying a mail transmission destination device) as a transmission destination. Even in such a case, the above processing can be performed for them.

出力I/F輻輳制御部38は、輻輳判定部36からの送信予定のメールを一時的にバッファ34に保存し、所定の時間が経過した後に再送処理を行う等の制御の指示を受け、出力I/F部32a〜32eで処理中のメールをバッファ34に転送し、所定の時間が経過した後に再度出力I/F部32a〜32eに転送処理を行うよう指示する機能を有する。   The output I / F congestion control unit 38 temporarily stores the mail scheduled to be transmitted from the congestion determination unit 36 in the buffer 34, receives a control instruction such as performing a retransmission process after a predetermined time has elapsed, and outputs it. The mail that is being processed by the I / F units 32a to 32e is transferred to the buffer 34, and after a predetermined time has elapsed, the output I / F units 32a to 32e are instructed to perform transfer processing again.

出力I/F輻輳制御部38は、バッファ34に蓄積された宛先装置毎のメッセージを個別に管理する機能し、宛先装置毎の待ちメッセージ数を管理する機能も持つ。出力I/F輻輳制御部38は、宛先装置毎のメッセージ再送回数をカウントし、再送回数が所定の回数に達したら出力I/F輻輳制御部38でそのメッセージの送信を中止する機能を持つ。出力I/F輻輳制御部38は再送の際に所定のタイミングだけ待って再送するが、そのタイミングを定めるもので、宛先装置毎にタイミングを管理する。場合によっては、宛先装置ごとであって、かつ再送ごとにタイミングを変えることも可能である。   The output I / F congestion control unit 38 functions to individually manage messages for each destination device stored in the buffer 34 and also has a function to manage the number of waiting messages for each destination device. The output I / F congestion control unit 38 has a function of counting the number of message retransmissions for each destination device and stopping the transmission of the message by the output I / F congestion control unit 38 when the number of retransmissions reaches a predetermined number. The output I / F congestion control unit 38 waits for a predetermined timing at the time of retransmission, and retransmits, but determines the timing and manages the timing for each destination device. In some cases, it is possible to change the timing for each destination apparatus and for each retransmission.

例えば図2の移動端末1からメールサーバB42宛に電子メールを送信する場合、入力I/F部31eでメール信号を受信し、記録変換部33で処理された後バッファ34に送信され、処理装置Bに対応する部分に受信メールを一旦蓄積する。受信の旨の情報を受けた出力I/F部32bでは、そのメール信号をメールサーバB42宛に向けて送信するためにバッファ34から該当メール信号を読み出して送信する。その後、出力I/F輻輳制御部38は、メールサーバB42からの回答信号を待受け、もし正常受信信号を受けた場合はバッファ34から該当メール信号を削除する。またメール非受信信号や回答信号の非受信などの異常な回答の場合には、所定のタイミングだけ待ってから、メールを再送し、再送回数の情報を1増加する。   For example, when an e-mail is transmitted from the mobile terminal 1 of FIG. 2 to the mail server B42, a mail signal is received by the input I / F unit 31e, processed by the recording conversion unit 33, and then transmitted to the buffer 34. The received mail is temporarily stored in the part corresponding to B. The output I / F unit 32b that has received the information indicating the reception reads the corresponding mail signal from the buffer 34 and transmits it to transmit the mail signal to the mail server B42. Thereafter, the output I / F congestion control unit 38 waits for a reply signal from the mail server B42, and deletes the corresponding mail signal from the buffer 34 if a normal reception signal is received. In the case of an abnormal reply such as a mail non-reception signal or a reply signal non-reception, the mail is retransmitted after waiting for a predetermined timing, and the information on the number of retransmissions is incremented by one.

出力I/F輻輳制御部38は、さらに出力I/F部32a〜32eの送信処理において、出力I/F部32a〜32eから送信先サーバに対して応答要求を求めた場合に、宛先サーバが応答信号を返すまでの時間を記録する機能を備えることもできる。その場合には、あわせて出力I/F輻輳制御部38は、特定の送信先サーバの応答時間が記録された応答時間の平均から所定の時間以上であった場合に、送信先サーバに輻輳、故障等が生じていると判断し、送信予定のメールを一時的にバッファ34に保存し、所定の時間が経過した後に再送処理を行うよう指示する機能をそなえる。さらに、送信先サーバについて輻輳が生じていると輻輳判定部36に通知する機能を備えることができる。   When the output I / F congestion control unit 38 further requests a response request from the output I / F units 32a to 32e to the destination server in the transmission processing of the output I / F units 32a to 32e, the destination server A function for recording the time until the response signal is returned may be provided. In that case, the output I / F congestion control unit 38 also congests the destination server when the response time of the specific destination server is equal to or longer than a predetermined time from the recorded response time. It is determined that a failure or the like has occurred, and a function of instructing to resend the mail to be transmitted temporarily in the buffer 34 and to perform retransmission processing after a predetermined time has elapsed. Furthermore, it is possible to provide a function for notifying the congestion determination unit 36 that congestion has occurred in the destination server.

図8〜11に図2のメールサーバ3における輻輳処理のフローを示す。図8には、サーバ全体の処理数に基づいて輻輳を判定し、輻輳と判定された場合に受信制限を以って輻輳制御を行う方法のフローを示す。ここでは、先に述べた輻輳判定の基準として二段階の閾値を設け、それに応じた輻輳制御を行う場合の処理フローを示す。輻輳制御用接続カウンター部35は、輻輳判定部36から指示された単位時間に入力I/F部31a〜31eが受信したメール数及び出力I/F部32a〜32eが宛先端末あるいは、他のサーバに対して送信したメール数を算出し、算出結果を輻輳判定部36に通知する(S100)。   8 to 11 show the flow of congestion processing in the mail server 3 of FIG. FIG. 8 shows a flow of a method for determining congestion based on the number of processes of the entire server, and performing congestion control with reception restriction when it is determined that there is congestion. Here, a processing flow in the case where a two-stage threshold is provided as the above-described reference for determining congestion and congestion control corresponding to the threshold is performed is shown. The congestion control connection counter unit 35 is configured such that the number of mails received by the input I / F units 31a to 31e and the output I / F units 32a to 32e are destination terminals or other servers in a unit time designated by the congestion determination unit 36. The number of e-mails sent to is calculated, and the calculation result is notified to the congestion determination unit 36 (S100).

輻輳判定部36は、輻輳制御用接続カウンター部35から通知された送受信メール数をもとに単位時間当たりのサーバのメールの処理数を算定し(S101)、その算出した処理数が一次規制値として処理数が予め定められた処理数を超えるか否か判定する(S102)。ここで、処理数が一次規制値を超えていると判断された場合には、さらに処理数が二次規制値を超えているか否か判断する(S103)。S103において、二次規制値を超えていないと判断された場合には、輻輳判定部36は一次規制を行うよう入力I/F輻輳制御部37a〜37eに指示を行い、入力I/F輻輳制御部37a〜37eは、入力I/F部31a〜31eで受信したメールの送信元に対して、以降のメールを受信せずにリトライ要求を返すように入力I/F部31a〜31eに制御信号(第1の制御信号、第4の制御信号)を出力する(S104)。他方、S103において二次規制値を超えている場合には、輻輳判定部16は、二次規制を行うように入力I/F輻輳制御部37a〜37eに指示を行い、入力I/F輻輳制御部37a〜37eは、入力I/F部31a〜31eでメール受信に伴うTCP/IPのプロトコルを確立させないように入力I/F部31a〜31eに制御信号(第2の制御信号)を出力する(S105)。S104、S105の制御は、輻輳判定部36からこれらの制御を解除する指示があるまで継続される。   The congestion determination unit 36 calculates the number of mails processed by the server per unit time based on the number of transmitted / received mails notified from the congestion control connection counter unit 35 (S101), and the calculated number of processes is the primary regulation value. It is determined whether or not the number of processes exceeds a predetermined number (S102). If it is determined that the number of processes exceeds the primary regulation value, it is further determined whether or not the number of processes exceeds the secondary regulation value (S103). In S103, when it is determined that the secondary regulation value is not exceeded, the congestion determination unit 36 instructs the input I / F congestion control units 37a to 37e to perform the primary regulation, and the input I / F congestion control. The units 37a to 37e send control signals to the input I / F units 31a to 31e so as to return a retry request without receiving a subsequent mail to the sender of the mail received by the input I / F units 31a to 31e. (First control signal, fourth control signal) are output (S104). On the other hand, when the secondary regulation value is exceeded in S103, the congestion determination unit 16 instructs the input I / F congestion control units 37a to 37e to perform the secondary regulation, and the input I / F congestion control. The units 37a to 37e output control signals (second control signals) to the input I / F units 31a to 31e so that the input I / F units 31a to 31e do not establish the TCP / IP protocol associated with mail reception. (S105). The control in S104 and S105 is continued until there is an instruction from the congestion determination unit 36 to cancel these controls.

S102において、一次規制値以下と判定された場合には、現在一次あるいは二次規制を行っているか判定する(S106)。S106において一次規制ないし二次規制が行われていると判断された場合には、単位時間当たりのメールの処理数が、予め設定された解除値を下回っているか判断する(S107)。ここで、解除値を上回っていると判定された場合には、現在の規制を継続し、一方解除値を下回っている場合には、輻輳判定部36は現在行われている一時規制あるいは二次規制の全ての規制を解除し正常の処理を行うように入力I/F部31a〜31eに制御信号(第3の制御信号)を出力する(S108)。輻輳判定部36は、次の単位時間において、再び前記フローを繰り返し、同様の処理を行う。   If it is determined in S102 that the value is equal to or lower than the primary regulation value, it is determined whether primary or secondary regulation is currently being performed (S106). If it is determined in S106 that the primary restriction or the secondary restriction is being performed, it is determined whether the number of processed mails per unit time is below a preset release value (S107). Here, when it is determined that the release value is exceeded, the current regulation is continued. On the other hand, when the release value is less than the release value, the congestion judgment unit 36 determines whether the current regulation is temporarily performed or the secondary regulation. A control signal (third control signal) is output to the input I / F units 31a to 31e so as to cancel all the restrictions and perform normal processing (S108). The congestion determination unit 36 repeats the flow again in the next unit time and performs the same processing.

次に、図8に示した輻輳制御の変形例として、図9に示す輻輳制御の処理フローを説明する。図9は、図8に示した輻輳制御方法に加え、輻輳判定部36から入力I/F輻輳制御部37a〜37eに対して、メールの送信先装置を識別する特定の識別符号を送信先に含むメールの受信処理を行わないよう指示する輻輳制御方法のフローを示したものである。S208までの処理は、図8のS108までの処理と同様なので省略する。S209において入力I/F部31a〜31eは、前記一次規制、二次規制の下であるいは通常の受信処理を行う過程において、メールの送信先装置を識別する識別符号を特定する。ここで前記識別符号は、ドメインネーム、IPアドレス、電話番号、国番号など、メールの送受信の際に送信先装置を特定するために用いられるものであれば何れであってもよい。   Next, a processing flow of the congestion control shown in FIG. 9 will be described as a modification of the congestion control shown in FIG. In addition to the congestion control method shown in FIG. 8, FIG. 9 shows a specific identification code for identifying a mail transmission destination device from the congestion determination unit 36 to the input I / F congestion control units 37a to 37e. The flow of the congestion control method which instruct | indicates not to perform the reception process of the containing mail is shown. The processing up to S208 is the same as the processing up to S108 in FIG. In S209, the input I / F units 31a to 31e specify an identification code for identifying a mail transmission destination device under the primary restriction, the secondary restriction, or in the process of performing normal reception processing. Here, the identification code may be any one such as a domain name, an IP address, a telephone number, a country code, or the like that is used for specifying a destination device when sending and receiving mail.

次に、その識別符号が送信処理において輻輳が生じているために、メールの受信を制限すべき対象として、輻輳判定部16から予め通知されている識別符号であるか否か照合する(S210)。ここで、送信先の識別符号が受信制限の対象である場合には、受信処理を行わずにTCP/IPを切断する(S211)。一方、送信先の識別符号が、受信制限の対象ではない場合には、S208までの規制に従い受信処理を行う(S212)。輻輳判定部36は、次の単位時間において、再び前記フローを繰り返し同様の処理を行う。   Next, since the identification code is congested in the transmission process, it is checked whether or not the identification code is an identification code notified in advance from the congestion determination unit 16 as a target for restricting the reception of mail (S210). . Here, when the identification code of the transmission destination is the target of reception restriction, TCP / IP is disconnected without performing reception processing (S211). On the other hand, if the transmission destination identification code is not subject to reception restriction, reception processing is performed in accordance with the regulations up to S208 (S212). The congestion determination unit 36 repeats the flow again and performs the same processing in the next unit time.

次に、図10を用いて出力I/F部32a〜32eにおける輻輳制御について説明する。輻輳判定部36は、輻輳制御用接続カウンター部35から通知された出力I/F部32a〜32eの送信メール処理数をもとに単位時間当たりの出力I/F部32a〜32eのメールの処理数を算定し(S301)、前記処理数が一次規制値として処理数が予め定められた処理数を超えるか否か判定する(S302)。ここで、処理数が規制値を超えていると判断された場合には、輻輳判定部36は送信メールを所定の時間バッファ34に保存する規制を出力I/F輻輳制御部38に指示し、出力I/F輻輳制御部38は、送信メールを所定の時間バッファ34に保存する(S303)。S303の制御は、輻輳判定部36からこれらの制御を解除する指示があるまで継続される。   Next, the congestion control in the output I / F units 32a to 32e will be described with reference to FIG. The congestion determination unit 36 processes the mails of the output I / F units 32a to 32e per unit time based on the number of outgoing mail processes of the output I / F units 32a to 32e notified from the congestion control connection counter unit 35. The number is calculated (S301), and it is determined whether the number of processes exceeds a predetermined number of processes as a primary regulation value (S302). Here, when it is determined that the number of processes exceeds the restriction value, the congestion determination unit 36 instructs the output I / F congestion control unit 38 to restrict the transmission mail to be stored in the predetermined time buffer 34. The output I / F congestion control unit 38 stores the transmitted mail in the predetermined time buffer 34 (S303). The control in S303 is continued until there is an instruction from the congestion determination unit 36 to cancel these controls.

S302において、一次規制値以下と判定された場合には、規制を行っているか判定する(S304)。S304において一次規制が行われていると判断された場合には、単位時間当たりのメールの処理数が予め設定された解除値を下回っているか判断する(S305)。ここで、解除値を上回っていると判定された場合には、現在の規制を継続し、一方解除値を下回っている場合には、輻輳判定部36は現在行われている一次規制を解除し正常の処理を行うよう出力I/F輻輳制御部38に指示する規制が解除される(S306)。輻輳判定部36は、次の単位時間において、再び前記フローを繰り返し、同様の処理を行う。   If it is determined in S302 that the value is equal to or lower than the primary regulation value, it is determined whether regulation is being performed (S304). If it is determined in S304 that the primary restriction is being performed, it is determined whether the number of processed mails per unit time is below a preset release value (S305). Here, when it is determined that the release value is exceeded, the current regulation is continued. On the other hand, when the release value is below the release value, the congestion judgment unit 36 releases the primary regulation currently being performed. The restriction for instructing the output I / F congestion control unit 38 to perform normal processing is released (S306). The congestion determination unit 36 repeats the flow again in the next unit time and performs the same processing.

次に、図10に示した出力I/F部32a〜32eにおける輻輳制御方法の変形例として図11に示す輻輳制御フローを説明する。図11は、出力I/F部32a〜32eが複数設けられ、それらの一部又は全部がメールの宛先装置毎に設けられている場合であって、輻輳判定部36が、特定の宛先装置に対するメール送信の際に、宛先装置の応答時間が予め記録された時間よりも長い時に、これを契機として出力I/F輻輳制御部38の輻輳判断の前記閾値を下げる処理フローを示したものである。   Next, a congestion control flow shown in FIG. 11 will be described as a modification of the congestion control method in the output I / F units 32a to 32e shown in FIG. FIG. 11 shows a case where a plurality of output I / F units 32a to 32e are provided, and some or all of them are provided for each mail destination device. FIG. 10 shows a processing flow for lowering the threshold value of the congestion judgment of the output I / F congestion control unit 38 when the response time of the destination device is longer than the pre-recorded time during mail transmission. .

出力I/F輻輳制御部38は、出力I/F部32a〜32eが宛先サーバにメールを送信処理する際に、出力I/F部32a〜32eが相手方に応答要求を送信した時から、その応答要求に対する宛先装置からの返信を受信するまでの時間をメールの送信毎に記録し(S400)、記録された処理時間の単位時間当たりの平均値を算出し、輻輳判定部36に通知する(S401)。次に、輻輳判定部36は、前記平均処理時間が予め定められた1次閾値以上か判断し(S402)、さらに1次閾値以上である場合には、予め定められた2次閾値を超えるか判断し(S403)、2次閾値を超えていると判断された場合には出力I/F部32a〜32eの処理数の閾値を最小値とする(S404)。2次閾値を超えていないが1次閾値を判断された場合には出力I/F部32a〜32eの処理数の閾値を中間値とする(S405)。   The output I / F congestion control unit 38 receives the response request from the output I / F unit 32a to 32e when the output I / F unit 32a to 32e transmits mail to the destination server. The time until receiving a reply from the destination device in response to the response request is recorded for each mail transmission (S400), the average value of the recorded processing time per unit time is calculated and notified to the congestion judgment unit 36 ( S401). Next, the congestion determination unit 36 determines whether the average processing time is equal to or greater than a predetermined primary threshold (S402). If the average processing time is equal to or greater than the primary threshold, does the congestion determination unit 36 exceed the predetermined secondary threshold? Determination is made (S403), and if it is determined that the secondary threshold value is exceeded, the threshold value of the processing number of the output I / F units 32a to 32e is set to the minimum value (S404). If the primary threshold value is determined although the secondary threshold value is not exceeded, the threshold value of the number of processes of the output I / F units 32a to 32e is set as an intermediate value (S405).

一方、S406において、前記平均処理時間が予め定められた1次閾値を超えないと判断された場合には、輻輳判定部36は、出力I/Fに設定されている閾値が最大値であるか確認し(S406)、最大値ではない場合には処理時間が解除値以下か判断する(S407)。解除値以下であった場合には、閾値を通常の処理を行う最大値に戻す(S408)。出力I/F輻輳制御部38及び輻輳判定部36は上記処理を繰り返し行う。これにより、宛先サーバ輻輳が生じている場合などであっても、それに応じて送信処理の閾値を下げることにより、特定の宛先に対する送信処理が著しく滞ることによる出力処理の輻輳の発生を防止することができる。   On the other hand, when it is determined in S406 that the average processing time does not exceed the predetermined primary threshold, the congestion determination unit 36 determines whether the threshold set for the output I / F is the maximum value. Confirmation is made (S406), and if it is not the maximum value, it is determined whether the processing time is equal to or less than the release value (S407). If it is equal to or less than the release value, the threshold value is returned to the maximum value for normal processing (S408). The output I / F congestion control unit 38 and the congestion determination unit 36 repeat the above processing. As a result, even if the destination server is congested, the output processing congestion can be prevented by significantly reducing the transmission processing for a specific destination by lowering the transmission processing threshold accordingly. Can do.

次に図12にしたがって、出力I/F輻輳制御部38における送信の輻輳制御について説明する。出力I/F部32a〜32eは、記録変換部33から送信予定のメールを受信し、バッファ34に保存する(S501)。出力I/F32a〜32eは、出力処理について輻輳制御が行われているか判定した(S502)後、出力規制が行われている場合には、対象となるメールの送信回数を確認する(S503)。ここで、送信回数が1回未満であった場合には、メールをバッファ34に転送し、バッファ34は所定の時間メールを保存する(S505)。   Next, transmission congestion control in the output I / F congestion control unit 38 will be described with reference to FIG. The output I / F units 32a to 32e receive the mail scheduled to be transmitted from the recording conversion unit 33 and store it in the buffer 34 (S501). The output I / Fs 32a to 32e determine whether or not the congestion control is performed for the output process (S502), and if the output restriction is performed, the output I / Fs 32a to 32e confirm the number of transmissions of the target mail (S503). If the number of transmissions is less than 1, the mail is transferred to the buffer 34, and the buffer 34 stores the mail for a predetermined time (S505).

一方S503において出力側の輻輳制御が行われていないと判定された場合、およびS503において送信回数が1回以上である場合には、出力I/F32a〜32eに送信リソースの空きがあるか判定する(S504)、空きがない場合には、メールをバッファ34に転送し、バッファ34は所定の時間メールを保存する(S505)。送信リソースに空きがあった場合には、そのメッセージを宛先装置に送信する(S506)。宛先装置からメッセージが正常に受信できた旨の回答を受信した場合(S508)には、送信元に正常受信した旨の回答を返信し、かつバッファ34から該当メッセージを削除する(S509)。S507において、宛先装置からメッセージを正常に受信できた旨の回答を受けなかった場合には、予め定めた所定回数の再送が終了したか否かを判定し、終了していない場合(S510)にはメールをバッファ34に転送し、バッファ34は所定の時間メールを保存し(S505)、メッセージを再送する。所定回数の再送が完了した場合には未達なので、メッセージを送信できなかった旨のエラーメッセージを送信元に通知し(S511)、該当するメッセージをバッファ34から削除する(S509)。   On the other hand, if it is determined in S503 that the output side congestion control is not performed, and if the number of transmissions is one or more in S503, it is determined whether there is a transmission resource available in the output I / Fs 32a to 32e. (S504) If there is no space, the mail is transferred to the buffer 34, and the buffer 34 stores the mail for a predetermined time (S505). If there is an empty transmission resource, the message is transmitted to the destination device (S506). When a reply indicating that the message has been normally received from the destination apparatus is received (S508), a reply indicating that the message has been normally received is returned to the transmission source, and the corresponding message is deleted from the buffer 34 (S509). If it is determined in S507 that the message indicating that the message has been successfully received from the destination device has not been received, it is determined whether or not a predetermined number of retransmissions have been completed, and if not completed (S510). Transfers the mail to the buffer 34, which stores the mail for a predetermined time (S505) and resends the message. Since the message has not been reached when the predetermined number of retransmissions are completed, an error message indicating that the message could not be transmitted is notified to the transmission source (S511), and the corresponding message is deleted from the buffer 34 (S509).

本発明は、上記の実施の態様に限定されるものではなく、種種の変更が可能である。たとえば、メールの送信元は携帯電話機、PHS、PDAの何れであってもよく、また、パソコンであってもよい。メールの送信元からメールサーバまでは無線回線、有線回線の何れで接続されていてもよい。メールは、電子メールに限られず、サーバを介してメッセージが送受信されるものであれば、何れであってもよい。さらに、先の例では、輻輳を判断するメールの処理数の閾値を2段階に設定したものを示したが、2段階以上の閾値を設定してもよい。また、先の例では輻輳中の制御方法として、送信元へのリトライ要求信号の送信及びTCP/IPの確立を行わないこととしているが、制御方法は、これに限ったものではなく、単位時間当たりのサーバの処理負担を軽減するものであれば、何れであってもよい。   The present invention is not limited to the above-described embodiment, and various changes can be made. For example, the mail source may be any of a mobile phone, PHS, and PDA, or may be a personal computer. The mail transmission source to the mail server may be connected by either a wireless line or a wired line. The email is not limited to an email, and any email can be used as long as a message is transmitted and received via a server. Furthermore, in the previous example, the threshold of the number of mail processing for determining congestion is set in two stages, but a threshold of two or more stages may be set. In the previous example, as a control method during congestion, transmission of a retry request signal to the transmission source and establishment of TCP / IP are not performed. However, the control method is not limited to this, and unit time Any one can be used as long as it reduces the processing load on the winning server.

本実施形態によれば、図2の装置、図8の方法によりメールサーバの単位時間当たりのメールの処理数を基準として多段階の閾値を設け、これに応じた輻輳制御方法を用いることにより、サーバの処理能力を維持しつつ、メール処理のサービスを停止することなく輻輳を制御することが可能となる。また、一時期にメールの処理が集中した場合であっても、メールの送信元の端末ないしサーバに対してリトライ要求を行うことにより、輻輳時におけるメールの処理をタイムシフトすることが可能となり、その結果、サーバの処理能力を時間的に分散して活用できることから、輻輳時に備えて過大な処理能力を用意する必要がなくなる。これにより、低コストかつユーザーにとってサービスの中断を最小限に抑えたメールサーバ、あるいはそれを用いたメールサービスを提供することが可能となる。   According to the present embodiment, by setting a multi-stage threshold based on the number of mail processes per unit time of the mail server by the apparatus of FIG. 2 and the method of FIG. 8, by using a congestion control method according to this, Congestion can be controlled without stopping the mail processing service while maintaining the server processing capability. Even if mail processing is concentrated at one time, it is possible to time-shift mail processing during congestion by making a retry request to the terminal or server that sent the mail. As a result, the processing capacity of the server can be used in a time-distributed manner, so that it is not necessary to prepare excessive processing capacity in case of congestion. As a result, it is possible to provide a mail server that uses a low cost and minimizes interruption of service for the user, or a mail service using the mail server.

さらに本実施形態によれば、図3、図4に記載の輻輳制御の手段としてリトライ要求、接続を確立しないという対応をとることにより、送信元端末にメールの送信処理が完了していないことを通知できるため、送信者に対してメール送信失敗を通知することが可能となる。   Furthermore, according to the present embodiment, by taking the response that the request for retry and connection are not established as the congestion control means shown in FIG. 3 and FIG. 4, it is confirmed that the mail transmission processing is not completed at the transmission source terminal. Since the notification can be made, it is possible to notify the sender of the mail transmission failure.

また、輻輳時にメールの受信を制限することにより、受領したメールのロストを回避し、信頼性の高いメールシステムを提供することが可能となる。また、輻輳時にサーバがメールを受信せず、かつ送信者に対して送信失敗を通知することから、従来輻輳時に生じていた、送信者がメールを送信したにもかかわらず、送信先に到達していないために、繰り返しメールを送信する二重送信を排除することが可能となる。その結果、二重送信による輻輳の拡大を回避することが可能となる。   In addition, by restricting the reception of mail during congestion, it is possible to avoid lost received mail and provide a highly reliable mail system. In addition, since the server does not receive mail during congestion and notifies the sender of transmission failure, it has reached the destination even though the sender has sent mail, which has conventionally occurred during congestion. Therefore, it is possible to eliminate the double transmission in which the mail is repeatedly transmitted. As a result, it is possible to avoid an increase in congestion due to double transmission.

さらに本実施形態によれば、メールの出力処理において輻輳が生じた場合であっても、単位時間当たりのメールの出力処理数を基準として閾値を設け、これに応じた輻輳制御方法を用いることにより、メールの送信処理を維持しながら輻輳を制御することができる。   Furthermore, according to the present embodiment, even when congestion occurs in mail output processing, a threshold is set based on the number of mail output processes per unit time, and a congestion control method corresponding to this is used. The congestion can be controlled while maintaining the mail transmission process.

さらに、出力処理を行う手段を複数設け、各手段毎に輻輳制御を行うことによって、輻輳によるサーバ全体の処理に対する影響を最小限にとどめることが可能となり、輻輳時に備えて過大な処理能力を有するメールサーバを用意する必要がなくなる。これにより、低コストかつユーザーにとってサービスの中断を最小限に抑えたメールサーバ、あるいはそれを用いたメールサービスを提供することが可能となる。   In addition, by providing multiple means for output processing and performing congestion control for each means, it is possible to minimize the influence of the congestion on the entire server processing, and it has excessive processing capacity in case of congestion. Eliminates the need for a mail server. As a result, it is possible to provide a mail server that uses a low cost and minimizes interruption of service for the user, or a mail service using the mail server.

また、出力I/F部32a〜32eが複数設けられ、かつ、それらの一部又は全部がメールの送信先のサーバ毎に設けることにより、特定の宛先についてのみ輻輳が生じた際、対応する出力I/F部32a〜32eに輻輳制御を施せばよく、他の宛先に向けられた出力I/F部32a〜32eには、通常の処理を維持させることができる。くわえて、送信先のメールサーバの処理能力、あるいはサーバまでを接続する回線の能力が明らかな場合には、これらの能力に応じた閾値を設定することにより、送信先の能力に応じた出力トラヒック管理を行うことができ、その結果、相手装置の能力を超える送信処理を抑止し、相手方のサーバの輻輳を未然に防止することも可能となる。   In addition, when a plurality of output I / F units 32a to 32e are provided and some or all of them are provided for each mail transmission destination server, a corresponding output is generated when congestion occurs only for a specific destination. Congestion control may be performed on the I / F units 32a to 32e, and normal processing can be maintained in the output I / F units 32a to 32e directed to other destinations. In addition, when the processing capability of the destination mail server or the capability of the line connecting to the server is clear, by setting a threshold value corresponding to these capabilities, output traffic according to the capability of the destination As a result, transmission processing exceeding the capability of the counterpart device can be suppressed, and congestion of the counterpart server can be prevented beforehand.

規制を行う基準となるメール処理数の閾値を、本輻輳制御を用いるサーバの処理能力、処理状況に合わせて設定することにより、サーバの処理能力に過剰な付加をかけず、かつ処理状況に適合した輻輳制御を行うことが可能となる。   By setting the threshold of the number of mail processing that is the standard for regulation according to the processing capacity and processing status of the server using this congestion control, it does not add excessive processing capacity of the server and conforms to the processing status Congestion control can be performed.

さらに、入力側及び出力側の輻輳制御の解除値について、第1閾値あるいは第2閾値と解除値との間に幅を持たせた設定を行うことにより、単位時間当たりのメールの処理数が各閾値付近を上下しても制御を継続するために、輻輳状態が再発する可能性が低い処理数になるまで継続的に輻輳制御を行うことが可能となる。   Furthermore, by setting the input side and the output side congestion control release values with a width between the first threshold value or the second threshold value and the release value, the number of mail processes per unit time can be changed. Since the control is continued even if the vicinity of the threshold value is raised or lowered, the congestion control can be continuously performed until the number of processes with a low possibility that the congestion state will recur.

本実施形態によれば、バッファ34及び出力I/F輻輳制御部38が宛先装置毎に再送メッセージの再送制御を行うので、トラフィック過多や障害のある宛先装置が存在しても、他の宛先装置に対しては、それに影響されることなく正常にメッセージ伝送を行うことができる。   According to the present embodiment, since the buffer 34 and the output I / F congestion control unit 38 perform retransmission control of a retransmission message for each destination device, even if there is a destination device with excessive traffic or a fault, other destination devices Therefore, the message transmission can be normally performed without being affected by it.

図6に示す変形例によれば、バッファ34に宛先装置毎にメールの保存領域を独立に定めることのより、サーバから宛先装置へのメール送信処理数、送信処理に伴う一時保存時間の長さを考慮して容量を定めることが可能となり、サーバ全体として利用効率なバッファを使用することができる。   According to the modification shown in FIG. 6, the number of mail transmission processes from the server to the destination apparatus and the length of the temporary storage time associated with the transmission process are determined by independently defining a mail storage area for each destination apparatus in the buffer 34. It is possible to determine the capacity in consideration of the above, and it is possible to use an efficient buffer for the entire server.

図6に示す変形例によれば、バッファ34が宛先毎に割当られた領域を切り替える機能を備えた場合には、これにより通常は一時保存のために比較的少ない保存容量が割当られている宛先装置へのメールの集中、宛先装置の故障などにより一時的に保存容量が増えることがあっても、メールのロストを生じることなく処理を行うことが可能となり、かつそのような状況に備えて過大な保存容量を準備する必要がなくなる。   According to the modification shown in FIG. 6, when the buffer 34 has a function of switching an area allocated for each destination, a destination to which a relatively small storage capacity is normally allocated for temporary storage is thereby obtained. Even if the storage capacity temporarily increases due to mail concentration on the device or failure of the destination device, it becomes possible to perform processing without causing lost mail, and it is excessive in preparation for such a situation. It is no longer necessary to prepare a large storage capacity.

輻輳を生じている宛先の識別符号(メールの送信先装置を識別する符号)を輻輳判定部36が特定し、入力I/F輻輳制御部37a〜37eに対して、特定の識別符号を送信先に含むメールの受信処理を行わないよう指示する図7、図9に示した輻輳制御の変形例によれば、特定の宛先装置の故障などによりその宛先宛のメールについてのみ輻輳が生じても、その宛先のメールの受信を制限するため、サーバ全体としては、その輻輳の影響を最小限に留めることが可能となる。   The congestion determination unit 36 specifies an identification code of a destination causing congestion (a code for identifying a mail transmission destination device), and sends a specific identification code to the input I / F congestion control units 37a to 37e. 7 and FIG. 9 instructing not to perform the mail receiving process included in FIG. 9, even if congestion occurs only for the mail addressed to the destination due to a failure of a specific destination device or the like, Since the reception of the mail of the destination is restricted, it is possible for the server as a whole to minimize the influence of the congestion.

出力I/F部32a〜32eが複数設けられ、それらの一部又は全部がメールの宛先装置毎に設けられている場合であって、輻輳判定部36が、特定の宛先装置に対するメール送信の際に、宛先装置の応答時間が予め記録された時間よりも所定の時間以上を要した場合に、これを契機として出力I/F輻輳制御部38の輻輳判断の閾値を下げる図10に示した図9の輻輳制御方法の変形例によれば、宛先サーバ輻輳が生じている場合などに、自己のサーバで輻輳が生じる前に、送信処理の閾値を下げることによりサーバ内で輻輳処理を早期に開始し、特定の宛先に対する送信処理が著しく滞ることによる重大な輻輳の発生を防止することができる。   In the case where a plurality of output I / F units 32a to 32e are provided and some or all of them are provided for each mail destination device, the congestion determination unit 36 transmits the mail to a specific destination device. Further, when the response time of the destination device takes a predetermined time or more than the time recorded in advance, the congestion judgment threshold value of the output I / F congestion control unit 38 is lowered as a trigger when this takes place as a trigger. According to the variation 9 of the congestion control method, when the destination server is congested, the congestion processing is started in the server early by lowering the threshold value of the transmission processing before the congestion occurs in the own server. In addition, it is possible to prevent the occurrence of serious congestion due to a significant delay in transmission processing for a specific destination.

本発明が適用される通信システムの構成図である。1 is a configuration diagram of a communication system to which the present invention is applied. 本実施形態のメールサーバの構成図である。It is a block diagram of the mail server of this embodiment. 図3のメールサーバの単位時間当たりのメールの処理数と輻輳制御の閾値を示した図である。FIG. 4 is a diagram showing the number of mail processes per unit time and the threshold value for congestion control of the mail server in FIG. 3. 図3のメールサーバの単位時間当たりのメールの処理数と輻輳制御の閾値を示した図である。FIG. 4 is a diagram showing the number of mail processes per unit time and the threshold value for congestion control of the mail server in FIG. 3. 図2のバッファの構成図である。FIG. 3 is a configuration diagram of a buffer in FIG. 2. 変形例のバッファの構成図である。It is a block diagram of the buffer of a modification. 変形例の識別符号の管理テーブルを示す。The management table of the identification code of a modification is shown. メール受信のフローを示したものである。It shows the flow of mail reception. 図8の変形例を示したものである。9 shows a modification of FIG. メール送信処理のフローを示したものである。The flow of mail transmission processing is shown. 図10の変形例を示したものである。Fig. 11 shows a modification of Fig. 10. 図2の出力I/F部のメール送信処理のフローを示したものである。3 shows a flow of mail transmission processing of the output I / F unit of FIG. 従来のメールサーバを示したものである。1 shows a conventional mail server. 特開平11―65961号公報の図1である。It is FIG. 1 of Unexamined-Japanese-Patent No. 11-65961. 特開2000−307676号公報の図2である。It is FIG. 2 of Unexamined-Japanese-Patent No. 2000-307676.

符号の説明Explanation of symbols

1…移動端末、3…メールサーバ、31a〜31e…入力I/F部、32a〜32e…出力I/F部、33…記録・変換部、34…バッファ、35…輻輳制御用接続カウンター部、36…輻輳判定部、37a〜37e…入力I/F輻輳制御部、38…出力I/F輻輳制御部、41…メールサーバA、42…メールサーバB、43…メールサーバC、44…メールサーバD。   DESCRIPTION OF SYMBOLS 1 ... Mobile terminal, 3 ... Mail server, 31a-31e ... Input I / F part, 32a-32e ... Output I / F part, 33 ... Recording / conversion part, 34 ... Buffer, 35 ... Congestion control connection counter part, 36 ... Congestion determination unit, 37a to 37e ... Input I / F congestion control unit, 38 ... Output I / F congestion control unit, 41 ... Mail server A, 42 ... Mail server B, 43 ... Mail server C, 44 ... Mail server D.

Claims (10)

所定の送信元装置からメールを受信する受信手段と、当該受信したメールを所定の送信先装置へ送信する送信手段とを備えるメール送受信装置であって、
当該メール送受信装置における単位時間当たりのメール処理数を計測する処理数計測手段と、
当該計測したメール処理数が所定の閾値を超えたか否かを判断する輻輳判定手段と、
前記輻輳判定手段の判断結果に応じて前記受信手段に制御信号を出力する制御手段と、
前記送信手段が送信するメールを蓄積する蓄積手段と、
を備え、
前記閾値はそれぞれ異なるメール処理数に対応するように複数設定されており、前記輻輳判定手段が一の閾値を超えたと判断した場合に、前記制御手段は、前記受信手段が当該一の閾値に対応するように予め定められた受信制限を行うように制御信号を出力する、
メール送受信装置。
A mail transmitting / receiving apparatus comprising: a receiving means for receiving mail from a predetermined transmission source apparatus; and a transmission means for transmitting the received mail to a predetermined transmission destination apparatus,
A processing number measuring means for measuring the number of mail processes per unit time in the mail transmitting and receiving device;
Congestion determination means for determining whether the measured number of processed mails exceeds a predetermined threshold;
Control means for outputting a control signal to the receiving means according to the judgment result of the congestion judging means;
Storage means for storing mail sent by the transmission means;
With
A plurality of the threshold values are set so as to correspond to different numbers of mail processing, respectively, and when the congestion determination unit determines that the threshold value is exceeded, the control unit corresponds to the one threshold value. Output a control signal so as to perform a predetermined reception limit to
Mail transmission / reception device.
前記蓄積手段は、前記送信先装置ごとに送信するメールを蓄積する保存領域を備えており、
前記制御手段は、当該それぞれの保存領域に蓄積されたメールの送信回数を計測し、当該計測した送信回数に応じて当該計測した対象のメールを再送信するように前記送信手段に対して制御信号を出力する、
請求項1に記載のメール送受信装置。
The storage means includes a storage area for storing mail to be transmitted for each destination device,
The control means measures the number of transmissions of the mail accumulated in the respective storage areas, and controls the transmission means to retransmit the measured target mail according to the measured number of transmissions. Output,
The mail transmitting / receiving apparatus according to claim 1.
前記送信先装置が複数存在する場合において、前記輻輳判定手段が、前記送信先装置ごとに判断を行った結果、一の送信先装置において前記メール処理数が一の閾値を超えたと判断した場合に、前記制御手段は、前記送信手段が当該一の閾値に対応するように予め定められた送信制限を前記一の送信先装置に対して行うように前記送信手段に対して制御信号を出力する、
請求項1又は2に記載のメール送受信装置。
When there are a plurality of destination devices, the congestion determination means determines that the number of mail processes exceeds one threshold value in one destination device as a result of making a determination for each destination device. The control means outputs a control signal to the transmission means so that the transmission means performs a predetermined transmission restriction on the one transmission destination device so as to correspond to the one threshold value.
The mail transmitting / receiving apparatus according to claim 1 or 2.
前記輻輳判定手段が、前記メール処理数が第1の閾値を超えたと判断した場合には、前記制御手段は前記受信手段及び前記送信手段の少なくともいずれかに対して、それぞれの処理量を制限するように指示する第1の制御信号を出力し、
前記輻輳判定手段が、前記メール処理数が第1の閾値を超え、更に第2の閾値も超えたと判断した場合には、前記制御手段は前記受信手段及び前記送信手段の少なくともいずれかに対して、それぞれの処理量を更に制限するように指示する第2の制御信号を出力し、
前記輻輳判定手段が、前記メール処理数が前記第1の閾値又は前記第2の閾値を超えた後に、前記第1の閾値よりも少ない第3の閾値を下回ったと判断した場合には、前記制御手段は前記受信手段及び前記送信手段の少なくともいずれかに対して、それぞれの処理制限を解除するように指示する第3の制御信号を出力する、
請求項1〜3のいずれか1項に記載のメール送受信装置。
When the congestion determination unit determines that the number of mail processes exceeds the first threshold, the control unit limits the amount of processing for at least one of the reception unit and the transmission unit. Output a first control signal instructing
If the congestion determination unit determines that the number of mail processes exceeds the first threshold and further exceeds the second threshold, the control unit determines whether at least one of the reception unit and the transmission unit , Outputting a second control signal instructing to further limit the amount of processing,
When the congestion determination unit determines that the number of mail processes has exceeded the first threshold or the second threshold and then has fallen below a third threshold that is less than the first threshold, the control The means outputs a third control signal instructing at least one of the receiving means and the transmitting means to release the respective processing restrictions.
The mail transmission / reception apparatus according to claim 1.
前記輻輳判定手段が、前記メール処理数が第1の閾値を超えたと判断した場合には、前記制御手段は前記受信手段及び前記送信手段の少なくともいずれかに対して、それぞれの処理量を制限するように指示する第1の制御信号を出力し、
前記輻輳判定手段が、前記メール処理数が第1の閾値を超え、更に第2の閾値も超えたと判断した場合には、前記制御手段は前記受信手段及び前記送信手段の少なくともいずれかに対して、それぞれの処理量を更に制限するように指示する第2の制御信号を出力し、
前記制御手段は前記受信手段に対して前記第1の制御信号又は前記第2の制御信号を出力した後に、当該制御信号の出力に応じてメールの受信ができなくなった送信元装置に対して、当該受信できなくなったメールの再送信要求を送信するように指示する第4の制御信号を前記送信手段に対して出力する、請求項1〜3のいずれか1項に記載のメール送受信装置。
When the congestion determination unit determines that the number of mail processes exceeds the first threshold, the control unit limits the amount of processing for at least one of the reception unit and the transmission unit. Output a first control signal instructing
If the congestion determination unit determines that the number of mail processes exceeds the first threshold and further exceeds the second threshold, the control unit determines whether at least one of the reception unit and the transmission unit , Outputting a second control signal instructing to further limit the amount of processing,
The control means outputs the first control signal or the second control signal to the receiving means, and then, for the transmission source device that cannot receive the mail according to the output of the control signal, The mail transmitting / receiving apparatus according to any one of claims 1 to 3, wherein a fourth control signal instructing to transmit a re-transmission request for mail that can no longer be received is output to the transmission means.
前記蓄積手段は、前記保存領域の中で、残存容量が第1の容量よりも少なくなった第1の保存領域と残存容量が第2の容量よりも多い第2の保存領域とが存在する場合には、前記第1の保存領域に蓄積されているメールを前記第2の保存領域に移動して蓄積する、請求項2〜5のいずれか1項に記載のメール送受信装置。 The storage means includes a first storage area in which the remaining capacity is smaller than the first capacity and a second storage area in which the remaining capacity is larger than the second capacity in the storage area. The mail transmitting / receiving apparatus according to any one of claims 2 to 5, wherein the mail stored in the first storage area is moved and stored in the second storage area. 前記制御手段は、前記送信先装置にメールを送信した時から当該送信に応じて前記送信先装置から返信される応答を受信する時までの時間の単位時間当たりの平均値に応じて、前記閾値を変更して前記送信手段に対し前記制御信号を出力する、請求項3〜6のいずれか1項に記載のメール送受信装置。 The control means includes the threshold value according to an average value per unit time from when a mail is transmitted to the destination device to when a response returned from the destination device is received according to the transmission. The mail transmission / reception apparatus according to claim 3, wherein the control signal is output to the transmission unit by changing the password. 所定の送信元装置からメールを受信し、当該受信したメールを所定の送信先装置へ送信するメール送受信方法であって、
処理数計測手段が、単位時間当たりのメール処理数を計測する計測ステップと、
輻輳判定手段が、当該計測したメール処理数が所定の閾値を超えたか否かを判断する判定ステップと、
前記判定ステップにおいて、前記輻輳判定手段が、前記メール処理数が複数の閾値の内の一の閾値を超えたと判断した場合には、制御手段が前記受信手段に対して、当該一の閾値に対応するように予め定められている受信制限を行うように制御信号を出力する制御ステップと、
を含むメール送受信方法。
A mail transmission / reception method for receiving a mail from a predetermined transmission source device and transmitting the received mail to a predetermined transmission destination device,
A measurement step in which the processing number measuring means measures the number of mail processes per unit time,
A determination step in which the congestion determination means determines whether or not the measured number of processed mails exceeds a predetermined threshold;
In the determination step, when the congestion determination unit determines that the number of mail processes exceeds one of a plurality of thresholds, the control unit responds to the reception unit with the one threshold value. A control step for outputting a control signal so as to perform a predetermined reception restriction to
Email sending and receiving method including.
前記制御手段が、前記送信先装置ごとに送信するメールを蓄積する保存領域それぞれに蓄積されたメールの送信回数を計測し、当該計測した送信回数に応じて当該計測した対象のメールを再送信するように前記送信手段に対して制御信号を出力する再送信ステップを含む、請求項8に記載のメール送受信方法。 The control unit measures the number of mails stored in each storage area for storing the mail to be transmitted for each destination device, and retransmits the measured target mail according to the measured number of transmissions. The mail transmission / reception method according to claim 8, further comprising a retransmission step of outputting a control signal to the transmission means. 前記送信先装置が複数存在する場合に、前記判定ステップにおいて前記輻輳判定手段が、前記送信先装置ごとに判断を行った結果、一の送信先装置において前記メール処理数が一の閾値を超えたと判断した場合に、
前記制御手段が、前記送信手段が当該一の閾値に対応するように予め定められた送信制限を前記一の送信先装置に対して行うように前記送信手段に対して制御信号を出力する送信制御ステップを含む、請求項8又は9に記載のメール送受信方法。
When there are a plurality of transmission destination devices, the congestion determination means in the determination step makes a determination for each transmission destination device. As a result, the number of mail processes exceeds one threshold value in one transmission destination device. If you decide,
Transmission control in which the control means outputs a control signal to the transmission means so that the transmission means performs a predetermined transmission restriction on the one transmission destination device so that the transmission means corresponds to the one threshold value. The mail transmission / reception method according to claim 8 or 9, comprising a step.
JP2004079000A 2004-03-18 2004-03-18 Mail transmission / reception device and mail transmission / reception method Expired - Fee Related JP3735631B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004079000A JP3735631B2 (en) 2004-03-18 2004-03-18 Mail transmission / reception device and mail transmission / reception method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004079000A JP3735631B2 (en) 2004-03-18 2004-03-18 Mail transmission / reception device and mail transmission / reception method

Publications (2)

Publication Number Publication Date
JP2005269263A JP2005269263A (en) 2005-09-29
JP3735631B2 true JP3735631B2 (en) 2006-01-18

Family

ID=35093324

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004079000A Expired - Fee Related JP3735631B2 (en) 2004-03-18 2004-03-18 Mail transmission / reception device and mail transmission / reception method

Country Status (1)

Country Link
JP (1) JP3735631B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013239939A (en) * 2012-05-16 2013-11-28 Hitachi Ltd Mail system
JP2014041509A (en) * 2012-08-23 2014-03-06 Nippon Telegr & Teleph Corp <Ntt> Congestion control device

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2200230B1 (en) * 2008-12-16 2014-03-12 Alcatel Lucent Method and device for performing traffic control in telecommunication networks
JP4767336B2 (en) * 2009-06-10 2011-09-07 株式会社日立製作所 Mail server system and congestion control method
US8401577B2 (en) * 2009-06-29 2013-03-19 Alcatel Lucent Message delivery control based on destination point codes
SG185834A1 (en) * 2011-05-11 2012-12-28 Smart Communications Inc System and method for routing electronic content to a recipient device
JP5722244B2 (en) 2012-01-27 2015-05-20 株式会社日立製作所 Mail gateway, mail delivery method and program
JP5916512B2 (en) * 2012-05-22 2016-05-11 古河電気工業株式会社 In-vehicle device and determination method of in-vehicle device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013239939A (en) * 2012-05-16 2013-11-28 Hitachi Ltd Mail system
JP2014041509A (en) * 2012-08-23 2014-03-06 Nippon Telegr & Teleph Corp <Ntt> Congestion control device

Also Published As

Publication number Publication date
JP2005269263A (en) 2005-09-29

Similar Documents

Publication Publication Date Title
JP4884924B2 (en) Terminal and its message processing method
EP1871031B1 (en) Retransmission control method and device
US8014287B2 (en) Communications apparatus
JP5867188B2 (en) Information processing apparatus, congestion control method, and congestion control program
US20030210649A1 (en) Managing network loading by control of retry processing at proximate switches associated with unresponsive targets
JP5170798B2 (en) Transmission rate control device and transmission rate control method
JP3735631B2 (en) Mail transmission / reception device and mail transmission / reception method
JP4767336B2 (en) Mail server system and congestion control method
US7969887B2 (en) Station
US8743689B2 (en) Method and apparatus for SMS termination overload protection
JP2008011201A (en) Communication device
US8724458B2 (en) Methods and devices for controlling data unit handling
WO2011032373A1 (en) Overload control method for short message center and overload control system thereof
CN102480747A (en) Service bearer counting check method and apparatus thereof
US20110268009A1 (en) Relay apparatus, communication apparatus, communication system, and relay method
Yang et al. An optimized algorithm for overload control of SIP signaling network
JP2010161500A (en) Traffic control method and device
JP2003163697A (en) E-mail transmitter and receiver
JP5647630B2 (en) SIP signal regulating device and SIP signal regulating method
KR20070091069A (en) Apparatus and method for processing receive frame in an wireless terminal
WO2003007173A9 (en) System, method and apparatus for preventing data packet overflow at node in wireless packet data services network
JP2015026267A (en) Email transmitting/receiving system, and email transmitting/receiving method
JP2006174346A (en) Data transmission controller, data transmission control method and program
JP2007219963A (en) Information-distribution server device
JPH0575643A (en) Mail service control system

Legal Events

Date Code Title Description
TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20051018

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20051024

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091028

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101028

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111028

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121028

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20131028

Year of fee payment: 8

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees