JPH098841A - Message distribution processing method - Google Patents

Message distribution processing method

Info

Publication number
JPH098841A
JPH098841A JP7173963A JP17396395A JPH098841A JP H098841 A JPH098841 A JP H098841A JP 7173963 A JP7173963 A JP 7173963A JP 17396395 A JP17396395 A JP 17396395A JP H098841 A JPH098841 A JP H098841A
Authority
JP
Japan
Prior art keywords
message
length
delivery
message length
messages
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.)
Pending
Application number
JP7173963A
Other languages
Japanese (ja)
Inventor
Takashi Kaneko
孝 金子
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP7173963A priority Critical patent/JPH098841A/en
Publication of JPH098841A publication Critical patent/JPH098841A/en
Pending legal-status Critical Current

Links

Landscapes

  • Facsimile Transmission Control (AREA)
  • Meter Arrangements (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Telephonic Communication Services (AREA)

Abstract

PURPOSE: To improve transmission efficiency by collectively distributing messages in an input order so that the message becomes the longest within the range that it does not exceed predicted optimum length when the total of the message length is longer than predicted optimum length. CONSTITUTION: A distributed message processing part 5 receives a distribution request from a distribution request part 4, calculates predicted optimum message length whose line use rate per unit data length becomes the lowest at the charging unit time and the communication speed of a communication line 8, which are stored in a parameter storage part 1, and collectively stores the stored messages of a message storage part 3 so that the total length to be distributed becomes the longest within predicted optimum length. The storage part 6 is provided with a distribution order management table and stores addresses where the message which are to be collectively distributed are stored in a distributing order. A protocol processing part 7 distributes the messages whose storage addresses are stored in the management table of the storage part 6 through the line 8 by making them into a frame or a packet corresponding to a communication protocol by the instruction of the processing part 5.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】この発明は電文を複数の装置に配
信する電文配信処理方法、特に電文配信時の回線使用料
の低減に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a message distribution processing method for distributing a message to a plurality of devices, and more particularly to reduction of a line usage fee at the time of message distribution.

【0002】[0002]

【従来の技術】電子メール装置、ファクシミリメール装
置又は音声メール装置等の各種メール装置から入力した
電文を配信する電文配信装置においては、電文配信時の
回線使用料を低減するための開発が行なわれている。例
えば特開平5-122254号公報に掲載された配信処理方式
では同一宛先に対する電文をまとめて配信することによ
り、伝送効率を上げ回線使用料の低減を図っている。
2. Description of the Related Art A message delivery device for delivering a message input from various mail devices such as an electronic mail device, a facsimile mail device or a voice mail device has been developed to reduce the line usage fee at the time of message delivery. ing. For example, in the delivery processing method disclosed in Japanese Unexamined Patent Publication No. 5-122254, telegrams for the same destination are collectively delivered to improve transmission efficiency and reduce line usage fees.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、通信時
間により課金する通信回線を使用した場合では、電文を
いくつかまとめても回線使用時間が課金単位時間を越え
た直後に通信が終わる場合があり、かかる場合は回線使
用料の低減にはならない。また、短い電文が不連続に発
生し、電文をまとめて配信できない場合もあった。
However, in the case of using a communication line charged by the communication time, the communication may end immediately after the line usage time exceeds the charging unit time even if some messages are collected. In such a case, the line usage fee will not be reduced. In addition, there are cases where short electronic messages are generated discontinuously and the electronic messages cannot be collectively delivered.

【0004】この発明はかかる短所を解消するためにな
されたものであり、使用する通信回線の予想最適電文長
を算出し、一度に配信する電文長の合計が算出した予想
最適電文長を越えない範囲内で最も長くなるようにまと
めて配信することにより、通信回線の回線使用料の低減
を図ることを目的とする。
The present invention has been made in order to solve the above disadvantages, and the expected optimum message length of the communication line to be used is calculated, and the total of the message lengths delivered at one time does not exceed the calculated optimum message length. The purpose is to reduce the line usage fee of the communication line by delivering it collectively as long as possible within the range.

【0005】[0005]

【課題を解決するための手段】この発明に係る電文配信
処理方法は、入力した電文を蓄積し、電文の配信依頼が
あると予め記憶した通信回線の課金単位時間及び通信速
度を基に予想最適電文長を算出し、蓄積した電文の電文
長の合計と予想最適電文長を比較し、電文長の合計が予
想最適電文長より長い場合に、電文長の合計が予想最適
電文長を越えない範囲内で最も長くなるように入力順に
電文をまとめて配信する。
A telegram distribution processing method according to the present invention accumulates input telegrams, and predicts an optimum on the basis of a charging unit time and a communication speed of a communication line stored in advance when a telegram delivery request is made. Calculates the message length, compares the total message length of the accumulated messages with the expected optimal message length, and if the total message length is longer than the expected optimal message length, the total message length does not exceed the expected optimal message length. The telegrams are collectively delivered in the order of input so that the length becomes the longest.

【0006】さらに、電文長の合計が予想最適電文長を
越えない範囲内で最も長くなるように配信優先度の高い
順に電文をまとめて配信すると望ましい。
Further, it is desirable to collectively deliver the messages in the descending order of delivery priority so that the total of the message lengths becomes the longest within a range not exceeding the expected optimum message length.

【0007】さらに、電文を配信した後に配信優先度が
低いために配信されなかった電文の配信優先度を上げる
と良い。
Further, it is preferable to increase the distribution priority of a message that has not been distributed because the distribution priority is low after the message has been distributed.

【0008】[0008]

【作用】この発明においては、電文の配信依頼があると
予め記憶した通信回線の課金単位時間及び通信速度を基
に予想最適電文長を算出する。入力した電文を蓄積し、
蓄積した電文の電文長の合計と予想最適電文長を比較
し、電文長の合計が予想最適電文長より長い場合に、電
文長の合計が予想最適電文長を越えない範囲内で最も長
くなるように入力順に電文をまとめて配信し、送信効率
を高める。
According to the present invention, when there is a request to deliver a telegram, the expected optimum telegram length is calculated based on the charging unit time and the communication speed of the communication line stored in advance. Accumulate the input messages,
Compare the total message length of the accumulated messages with the expected optimal message length.If the total message length is longer than the expected optimal message length, the total message length will be the longest within the range that does not exceed the expected optimal message length. Improve the transmission efficiency by delivering the messages in batches in the order of input.

【0009】さらに、電文長の合計が予想最適電文長を
越えない範囲内で最も長くなるように配信優先度の高い
順に電文をまとめて配信し、配信優先度の高い電文を先
に配信する。
Further, the electronic messages are collectively delivered in the descending order of the distribution priority so that the total of the electronic message lengths becomes the longest within the range not exceeding the expected optimal message length, and the electronic messages having the high distribution priority are distributed first.

【0010】さらに、電文を配信した後に配信優先度が
低いために配信されなかった電文の配信優先度を上げ、
配信優先度の低い電文がいつまでも配信されないで残る
ことを防ぐ。
Further, after the message is distributed, the distribution priority of the message which is not distributed due to the low distribution priority is raised,
Prevent messages with low delivery priority from remaining without being delivered forever.

【0011】[0011]

【実施例】図1はこの発明の電文配信処理方法を採用し
た電文配信装置の構成図である。図に示すように、電文
配信装置はパラメータ格納部1、電文入力部2、電文格
納部3、配信依頼部4、配信電文処理部5、列信用電文
格納部6及びプロトコル処理部7を備える。パラメータ
格納部1は通信回線8の課金単位時間及び通信速度を予
め格納する。また、パラメータ格納部1は単位データ長
当たりの回線使用料が最も安くなるデータ長である予想
最適電文長の設定値及び格納した電文の電文長の合計で
ある累計格納電文長を記憶する。電文入力部2は電子メ
−ル装置、ファクシミリメ−ル装置、音声メ−ル装置等
の各種メ−ル装置からの電文を入力する。電文格納部3
は電文入力部2が入力した電文を格納する。配信依頼部
4は入力した電文の配信を依頼する。配信電文処理部5
は配信依頼部4から配信依頼を受けると、パラメータ格
納部1に格納した通信回線8の課金単位時間及び通信速
度を基に単位データ長当たりの回線使用料が最も安くな
るデータ長である予想最適電文長を算出し、配信する電
文の電文長の合計が算出した予想最適電文長以内で最も
長くなるように電文格納部3に格納した電文をまとめて
列信用電文格納部6に格納する。列信用電文格納部6は
列信順序管理テーブル61を備え、列信順序管理テーブ
ル61は、図2に示すようにまとめて配信する電文が格
納されているアドレスを配信の順番に記憶する。プロト
コル処理部7は配信電文処理部5からの指示で列信用電
文格納部6の列信順序管理テーブル61に格納アドレス
を記憶した電文を通信プロトコルに応じたフレ−ム又は
パケット形式にして通信回線8を介して配信する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 is a block diagram of a message delivery device adopting the message delivery processing method of the present invention. As shown in the figure, the electronic message delivery device includes a parameter storage unit 1, an electronic message input unit 2, an electronic message storage unit 3, a delivery request unit 4, a delivered electronic message processing unit 5, a column credit electronic message storage unit 6, and a protocol processing unit 7. The parameter storage unit 1 stores the charging unit time and the communication speed of the communication line 8 in advance. The parameter storage unit 1 also stores a set value of the expected optimum message length, which is the data length at which the line usage fee per unit data length is the lowest, and a cumulative stored message length, which is the total of the message lengths of the stored messages. The message input unit 2 inputs messages from various mail devices such as an electronic mail device, a facsimile mail device, and a voice mail device. Message storage 3
Stores the electronic message input by the electronic message input unit 2. The delivery request unit 4 requests delivery of the input electronic message. Delivery message processing unit 5
When receiving a distribution request from the distribution requesting unit 4, is the data length at which the line usage fee per unit data length is the lowest based on the charging unit time and communication speed of the communication line 8 stored in the parameter storage unit 1 The telegram length is calculated, and the telegrams stored in the telegram storage unit 3 are collectively stored in the column credit telegram storage unit 6 so that the total of the telegram lengths of the telegrams to be delivered is the longest within the calculated optimum optimal telegram length. The column credit telegram storage unit 6 includes a column order management table 61, and the column order management table 61 stores, in the order of delivery, addresses at which telegrams to be collectively delivered are stored, as shown in FIG. The protocol processing unit 7 converts a message whose storage address is stored in the column order management table 61 of the column credit message storage unit 6 according to an instruction from the delivery message processing unit 5 into a frame or a packet format according to the communication protocol and a communication line. Deliver via 8.

【0012】上記構成の電文配信装置で電文を配信する
場合の動作を、図3のフローチャートを参照して説明す
る。
The operation of distributing a message by the message distribution device having the above configuration will be described with reference to the flowchart of FIG.

【0013】電文入力部2は各種メ−ル装置から電文を
受信して、受信した電文を電文格納部3に格納する。電
文入力部2が電文待ち状態の時に(ステップA1)、配
信依頼部4から配信依頼を受けると、配信電文処理部5
は電文格納部3から該当電文を取得し(ステップA
2)、取得した電文の電文長を取得する(ステップA
3)。その後、配信電文処理部5はパラメ−タ格納部1
に予想最適電文長が設定されているか否かを確認する
(ステップA4)。配信電文処理部5は予想最適電文長
が設定されていない場合はパラメータ格納部1から事前
に設定されている課金単位時間、通信速度及び通信効率
を取得し(ステップA5,A6)、取得した課金単位時
間、通信速度及び通信効率を基に、(予想最適電文長
(バイト))=(通信速度(bps)/8)÷(通信効
率(%))×(課金単位時間(秒))を計算して予想最
適電文長を算出し、パラメータ格納部1に格納する(ス
テップA7)。配信電文処理部5は予想最適電文長を算
出した後、列信用電文格納部6の列信順序管理テーブル
61にアドレスを格納された電文の電文長を合計しパラ
メータ格納部1の累計格納電文長に記憶する(ステップ
A8)。配信電文処理部5は算出した予想最適電文長と
累計格納電文長とを比較して(ステップA9)、累計格
納電文長が予想最適電文長より長い場合はプロトコル処
理部7に配信依頼する。プロトコル処理部7は配信電文
処理部5から配信依頼を受けると呼接続処理を行い、列
信用電文格納部6の列信順序管理テーブル61の電文ア
ドレスで指定された複数の電文を電文長の合計が予想最
適電文長を越えない範囲内で最も長くなるように順番に
取り出して、通信プロトコルに応じたフレ−ムに分割し
て配信を行う。プロトコル処理部7は頼電文の配信が完
了したら、呼切断する(ステップA10)。配信電文処
理部5は配信した電文のアドレスを列信用電文格納部6
の列信順序管理テーブル61から消去して、累計格納電
文長が予想最適電文長より短くなるまで、累計格納電文
長の再設定から、配信処理までを繰り返す(ステップA
8〜A10)。
The electronic message input unit 2 receives electronic messages from various mail devices and stores the received electronic messages in the electronic message storage unit 3. When the delivery request is received from the delivery request unit 4 while the message input unit 2 is in the message waiting state (step A1), the delivery message processing unit 5 receives the delivery request.
Acquires the corresponding message from the message storage unit 3 (step A
2) Acquire the message length of the acquired message (step A)
3). After that, the delivery message processing unit 5 is changed to the parameter storage unit 1.
It is confirmed whether or not the expected optimum message length is set in (step A4). When the expected optimum message length is not set, the delivery message processing unit 5 acquires the preset charging unit time, communication speed, and communication efficiency from the parameter storage unit 1 (steps A5 and A6), and the acquired charging Calculate (Expected optimal message length (bytes)) = (Communication speed (bps) / 8) / (Communication efficiency (%)) x (Charging unit time (seconds)) based on unit time, communication speed and communication efficiency Then, the estimated optimum message length is calculated and stored in the parameter storage unit 1 (step A7). After calculating the expected optimal message length, the delivery message processing unit 5 sums up the message lengths of the messages whose addresses are stored in the string order management table 61 of the column credit message storage unit 6 and accumulates the accumulated message length in the parameter storage unit 1. (Step A8). The delivery message processing unit 5 compares the calculated expected optimum message length with the accumulated stored message length (step A9), and if the accumulated stored message length is longer than the expected optimum message length, requests the protocol processing unit 7 for delivery. When the protocol processing unit 7 receives a distribution request from the distribution message processing unit 5, it performs call connection processing, and a plurality of messages specified by the message addresses in the message sequence management table 61 of the column credit message storage unit 6 are summed up in message length. Is taken out in order so as to be the longest within the range that does not exceed the expected optimum message length, and is divided into frames according to the communication protocol for delivery. When the delivery of the request message is completed, the protocol processing unit 7 disconnects the call (step A10). The delivery telegram processing unit 5 uses the address of the delivered telegram as the column credit telegram storage unit 6
It is deleted from the connection order management table 61 of No. 1 and the accumulated storage message length is reset and the distribution process is repeated until the accumulated storage message length becomes shorter than the expected optimum message length (step A).
8 to A10).

【0014】配信電文処理部5はパラメ−タ格納部1の
累計格納電文長に受信した電文の電文長を加える(ステ
ップA11)。配信電文処理部5は受信した電文の電文
長を加えた累計格納電文長が予想最適電文長より長くな
ったか否かを調べる(ステップA12)。配信電文処理
部5は累計格納電文長が予想最適電文長より長い場合は
プロトコル処理部7に配信依頼する。プロトコル処理部
7は配信電文処理部5から配信依頼を受けると呼接続処
理を行い、列信用電文格納部6の列信順序管理テーブル
61の電文アドレスで指定された複数の電文を取り出し
て、順番に通信プロトコルに応じたフレ−ムに分割して
配信を行う。プロトコル処理部7は全ての依頼電文の配
信が完了したら、呼切断する(ステップA13)。その
後、配信電文処理部5は今回受信した電文を次の通信で
配信できるように、累計格納電文長に今回受信した電文
の電文長を設定し(ステップA14)、列信用電文格納
部6の列信順序管理テ−ブル61を消去した後に今回受
信した電文のアドレスを列信順序管理テーブル61の先
頭に登録する(ステップA15)。このように、1又は
複数の電文をまとめて配信するので、伝送効率を上げ回
線使用料の低減を図ることができる。また、予想最適電
文長を越えない範囲で電文をまとめるので、通信回線の
使用が課金単位時間を経過直後に終わることを防止でき
る。
The delivery message processing unit 5 adds the message length of the received message to the cumulative stored message length of the parameter storage unit 1 (step A11). The delivery message processing unit 5 checks whether or not the cumulative stored message length including the message length of the received message is longer than the expected optimum message length (step A12). When the cumulative stored message length is longer than the expected optimum message length, the delivery message processing unit 5 requests the protocol processing unit 7 for delivery. When the protocol processing unit 7 receives a distribution request from the distribution message processing unit 5, it performs a call connection process, extracts a plurality of messages specified by the message address of the message sequence management table 61 of the column credit message storage unit 6, and outputs them in order. Then, the data is divided into frames according to the communication protocol and distributed. The protocol processing unit 7 disconnects the call when the delivery of all the request messages is completed (step A13). Then, the delivery telegram processing unit 5 sets the telegram length of the telegram received this time to the cumulative stored telegram length so that the telegram received this time can be delivered in the next communication (step A14). After erasing the transmission order management table 61, the address of the message received this time is registered at the head of the transmission order management table 61 (step A15). In this way, since one or a plurality of electronic messages are collectively delivered, it is possible to improve the transmission efficiency and reduce the line usage fee. Further, since the messages are grouped within the range that does not exceed the expected optimum message length, it is possible to prevent the use of the communication line from ending immediately after the charging unit time has elapsed.

【0015】配信電文処理部5は累計格納電文長が予想
最適電文長より短い場合は、列信用電文格納部6の列信
順序管理テ−ブル61の最後尾に今回受信した電文の格
納アドレスを登録する(ステップA16)。このよう
に、累計格納電文長が予想最適電文長に達しない場合
は、累計格納電文長が予想最適電文長に達するのを待っ
て配信するので、短い電文が不連続に発生した場合であ
っても、電文をまとめて予想最適電文長以内で予想最適
電文長に近い長さに1又は複数の電文をまとめることが
できる。
When the accumulated stored message length is shorter than the expected optimum message length, the delivery message processing unit 5 stores the storage address of the message received this time at the end of the column order management table 61 of the column credit message storage unit 6. Register (step A16). In this way, when the accumulated stored message length does not reach the expected optimum message length, the accumulated stored message length is delivered after waiting until it reaches the expected optimum message length. Also, it is possible to collect one or more messages, and to collect one or a plurality of messages with a length within the expected optimum message length and close to the expected optimum message length.

【0016】次ぎに、列信用電文格納部6が、図4に示
すように配信優先度別の列信順序管理テーブル6a〜6
nを備え、電文配信装置が各種メ−ル装置装置から受信
した電文を配信優先度の高い順に配信する場合の動作に
ついて、図5のフローチャートを参照して説明する。
Next, as shown in FIG. 4, the column credit telegram storage unit 6 stores the column order management tables 6a to 6 for each distribution priority.
With reference to FIG. 5, the operation in the case where the message delivery device is provided with n and delivers the messages received from the various mail device devices in descending order of delivery priority will be described with reference to the flowchart of FIG.

【0017】電文入力部2は各種メ−ル装置から受信し
た電文を電文格納部3に格納する。配信電文処理部5は
電文入力部2が電文待ち状態の時に(ステップB1)配
信依頼部4から配信依頼を受けると、電文格納部3から
該当電文を取得し(ステップB2)、取得した電文の電
文長と配信優先度を取得する(ステップB3)。配信電
文処理部5はパラメ−タ格納部1に予想最適電文長が設
定されているか否かを確認する(ステップB4)。配信
電文処理部5はパラメ−タ格納部1に予想最適電文長が
設定されていない場合は前記実施例で説明したように予
想最適電文長を計算してパラメータ格納部1に格納する
(ステップB5〜ステップB8)。
The electronic message input unit 2 stores electronic messages received from various mail devices in the electronic message storage unit 3. When the delivery message processing unit 5 receives a delivery request from the delivery requesting unit 4 while the message input unit 2 is in the message waiting state (step B1), the delivery message processing unit 5 acquires the relevant message from the message storage unit 3 (step B2), and acquires the received message. The message length and delivery priority are acquired (step B3). The delivery message processing unit 5 confirms whether or not the expected optimum message length is set in the parameter storage unit 1 (step B4). When the predicted optimum message length is not set in the parameter storage unit 1, the delivery message processing unit 5 calculates the predicted optimum message length as described in the above embodiment and stores it in the parameter storage unit 1 (step B5). -Step B8).

【0018】配信電文処理部5はパラメ−タ格納部1の
累計格納電文長に受信した電文の電文長を加える(ステ
ップB9)。配信電文処理部5は受信した電文の電文長
を加えた累計格納電文長が予想最適電文長より長くなっ
たか否かを調べる(ステップB10)。配信電文処理部
5は累計格納電文長が予想最適電文長より長くなった場
合は受信した電文の配信優先度より低い列信順序管理テ
ーブル6b〜6nから、電文長が受信電文と同じか、又
は長い電文を検索する。具体的には、例えば受信した電
文の配信優先度が列信順序管理テ−ブル6aに該当する
ものである場合には、受信した電文と電文長が同じか、
又は長い電文を配信優先度の最も低い列信順序管理テ−
ブル6nの最後尾から検索を開始し、受信した電文の配
信優先度より低い配信優先度の列信順序管理テーブル6
b〜6nにアドレスを登録した電文を全て検索し、最初
に見つかった電文を該当する電文として検出することに
より、受信した電文と電文長が同じか、又は長く、か
つ、配信優先度が最も低い電文を受信した電文より配信
優先度が低い電文から検出する(ステップB11)。
The delivery message processing unit 5 adds the message length of the received message to the cumulative stored message length of the parameter storage unit 1 (step B9). The delivery message processing unit 5 checks whether or not the cumulative stored message length including the message length of the received message has become longer than the expected optimum message length (step B10). When the cumulative stored message length becomes longer than the expected optimum message length, the delivery message processing unit 5 determines whether the message length is the same as the received message from the string order management tables 6b to 6n lower than the delivery priority of the received message. Search for long telegrams. Specifically, for example, when the delivery priority of the received message corresponds to the sequence order management table 6a, whether the received message and the message length are the same,
Alternatively, a long message can be sent to the string order management table with the lowest delivery priority.
The search is started from the end of the bull 6n, and the transmission order management table 6 has a delivery priority lower than the delivery priority of the received message.
By searching all the electronic messages whose addresses are registered in b to 6n and detecting the first found electronic message as the corresponding electronic message, the received electronic message has the same or longer message length and the lowest delivery priority. The electronic message is detected from the electronic message whose delivery priority is lower than that of the received electronic message (step B11).

【0019】配信電文処理部5は該当する電文が、例え
ば列信順序管理テ−ブル6bに見つかった場合、該当す
る電文を該当する電文のアドレスが登録された列信順序
管理テ−ブル6bから取り出し、列信用電文格納部6の
退避域に格納し(ステップB12)、受信した電文のア
ドレスを該当電文を退避した列信順序管理テ−ブル6b
の最後尾に登録する。その後、配信電文処理部5は列信
順序管理テ−ブル6a〜6nを配信優先度が高い順に全
て指定して電文の配信をプロトコル処理部7に依頼す
る。プロトコル処理部7は配信電文処理部5から配信依
頼を受けると呼接続処理を行い、列信用電文格納部6の
列信順序管理テ−ブル6a〜6nの電文アドレスで指定
された複数の電文を取り出して、配信優先度の高い電文
から順番に通信プロトコルに応じたフレ−ムに分割して
配信を行う。全ての依頼電文の配信が完了したら、呼切
断する(ステップB13)。配信電文処理部5はプロト
コル処理部7による配信が終了すると、列信用電文格納
部6の全列信順序管理テ−ブル6a〜6nをクリアし、
今回該当した配信優先度の低い電文の電文アドレスを該
当する配信優先度の列信順序管理テ−ブル6bの先頭に
登録した後に(ステップB14)、次の通信で今回該当
した配信優先度の低い電文を配信できるように、累計格
納電文長に今回該当した電文の電文長を設定する(ステ
ップB15)。このように、配信優先度の高い電文を配
信優先度の低い電文と入れ替えることにより、緊急に配
信する必要がある電文が発生した場合でも、回線使用料
を低減したまま配信優先度の高い電文を優先的に配信す
ることができる。
When the corresponding message is found in the message sequence management table 6b, for example, the delivery message processor 5 retrieves the message from the message sequence management table 6b in which the address of the message is registered. The extracted string is stored in the evacuation area of the column credit telegram storage unit 6 (step B12), and the address of the received telegram is stored in the column order management table 6b in which the corresponding telegram is saved.
Register at the end of. After that, the delivery telegraphic message processing unit 5 requests the protocol processing unit 7 to deliver the telegraphic message by designating all the sequence order management tables 6a to 6n in the descending order of delivery priority. When the protocol processing unit 7 receives a distribution request from the distribution message processing unit 5, it performs a call connection process, and a plurality of messages specified by the message addresses of the message sequence management tables 6a to 6n of the column credit message storage unit 6 are transmitted. The data is taken out and divided into frames according to the communication protocol in order from the message with the highest distribution priority, and then distributed. When the distribution of all request messages is completed, the call is disconnected (step B13). When the delivery by the protocol processing unit 7 is completed, the delivery telegram processing unit 5 clears all the column delivery order management tables 6a to 6n in the column credit telegram storage unit 6,
After registering the electronic mail address of the electronic message having the low delivery priority applicable this time at the beginning of the sequence order management table 6b having the applicable delivery priority (step B14), the distribution priority applicable this time in the next communication is low. In order to deliver the message, the message length of the message that corresponds to this time is set as the cumulative stored message length (step B15). In this way, by replacing a message with a high delivery priority with a message with a low delivery priority, even if a message that needs to be delivered urgently occurs, a message with a high delivery priority can be sent while reducing the line usage fee. It can be delivered with priority.

【0020】該当する電文が見つからなかった場合、配
信電文処理部5は列信用電文格納部6の列信順序管理テ
−ブル6a〜6nを用いて配信優先度の高い順に電文を
指定して、配信依頼をプロトコル処理部7に依頼する。
プロトコル処理部7は配信電文処理部5から配信依頼を
受けると呼接続処理を行い、列信用電文格納部6の列信
順序管理テ−ブル6a〜6nの電文アドレスで指定され
た複数の電文を取り出して、配信優先度の高い電文から
順番に通信プロトコルに応じたフレ−ムに分割して配信
を行う。全ての依頼電文の配信が完了したら、呼切断す
る(ステップB16)。配信電文処理部5はプロトコル
処理部7による配信が終了すると、列信用電文格納部6
の全列信順序管理テ−ブル6a〜6nをクリアし、今回
受信した電文アドレスを該当する配信優先度の列信順序
管理テ−ブル6aの先頭に登録する(ステップB1
7)。その後、配信電文処理部5は次の通信で今回受信
した電文を配信できるように、累計格納電文長に今回受
信した電文の電文長を設定する(ステップB18)。こ
のように、配信優先度の高い電文を受信した場合であっ
ても、受信した電文より電文長が短い電文が見つからな
かった場合は、電文の入替えをしないので、通信回線使
用時間が課金単位時間経過した直後に通信が終わること
を防止できる。
When the corresponding message is not found, the distribution message processing unit 5 uses the column order management tables 6a to 6n of the column credit message storage unit 6 to specify the messages in descending order of distribution priority, A request for delivery is requested to the protocol processing unit 7.
When the protocol processing unit 7 receives a distribution request from the distribution message processing unit 5, it performs a call connection process, and a plurality of messages specified by the message addresses of the message sequence management tables 6a to 6n of the column credit message storage unit 6 are transmitted. The data is taken out and divided into frames according to the communication protocol in order from the message with the highest distribution priority, and then distributed. When the distribution of all request messages is completed, the call is disconnected (step B16). When the distribution message processing unit 5 finishes the distribution by the protocol processing unit 7, the column credit message storing unit 6
Of all the sequence order management tables 6a to 6n are registered, and the message address received this time is registered at the head of the sequence order management table 6a having the corresponding delivery priority (step B1).
7). After that, the delivery message processing unit 5 sets the message length of the message received this time to the cumulative stored message length so that the message received this time can be delivered in the next communication (step B18). In this way, even if a message with a high delivery priority is received, if a message with a shorter message length than the received message is not found, the message will not be replaced, and the communication line usage time will be the billing unit time. It is possible to prevent the communication from ending immediately after the elapse.

【0021】配信電文処理部5は累計格納電文長が予想
最適電文長より短い場合は受信した電文の配信優先度と
一致する配信優先度の列信順序管理テ−ブル6a〜6n
の最後尾に今回受信した電文アドレスを登録する(ステ
ップB19)。
When the accumulated stored message length is shorter than the expected optimum message length, the distributed message processing unit 5 has a distribution priority management table 6a-6n having a distribution priority that matches the distribution priority of the received message.
The electronic mail address received this time is registered at the end of (step B19).

【0022】なお、上記実施例では配信優先度の高い電
文を配信優先度の低い電文と入れ替えて優先的に配信す
るようにしたが、配信優先度の高い電文が多く入力され
た場合に配信優先度の低い電文がいつまでたっても配信
されない場合もあるので、電文を配信した後に配信優先
度が低いために配信順序が入れ替えられ配信されなかっ
た電文の配信優先度を上げるようにして、いつまでたっ
ても配信されない電文が発生することを防止するように
しても良い。
In the above embodiment, a message with a high distribution priority is replaced with a message with a low distribution priority to be distributed preferentially. However, when a large number of messages with a high distribution priority are input, distribution priority is given. Since a low-frequency message may not be delivered indefinitely, the delivery priority is changed after the message is delivered and the delivery order is changed so that the delivery priority of the message that was not delivered is raised, and the message is delivered forever. It may be possible to prevent the occurrence of a message that is not delivered.

【0023】また、上記実施例では予想最適電文長が設
定されている場合は予想最適電文長を再設定しないよう
にしたが、課金単位時間は時刻によって異なる場合が有
るため、パラメータ格納部1に時刻毎及び曜日毎の課金
単位時間を記憶し、配信指示があるたびに再計算し、累
計格納電文長と比較するようにしても良い。
Further, in the above embodiment, when the expected optimum message length is set, the expected optimum message length is not reset, but since the charging unit time may vary depending on the time, it is stored in the parameter storage unit 1. The charging unit time for each time and each day of the week may be stored, recalculated each time there is a delivery instruction, and compared with the accumulated stored message length.

【0024】[0024]

【発明の効果】この発明は以上説明したように、使用す
る通信回線の課金単位時間及び通信速度を基に予想最適
電文長を算出し、蓄積した電文の電文長の合計と予想最
適電文長を比較し、電文長の合計が予想最適電文長より
長い場合に、入力した電文の電文長の合計が予想最適電
文長を越えない範囲内で予想最適電文長に近い長さにな
るように電文をまとめて配信し送信効率を高めるので、
通信回線の回線使用量を低減することができる。
As described above, the present invention calculates the expected optimum message length based on the charging unit time and the communication speed of the communication line used, and calculates the total of the accumulated message lengths and the expected optimum message length. In comparison, if the total message length is longer than the expected optimal message length, make sure that the total length of the input messages is close to the expected optimal message length within the range that does not exceed the expected optimal message length. Since it will be delivered collectively and transmission efficiency will be improved,
The line usage of the communication line can be reduced.

【0025】さらに、電文長の合計が予想最適電文長よ
り長い場合に、入力した電文を電文長の合計が予想最適
電文長を越えない範囲内で最も長くなるように配信優先
度の高い順に電文をまとめて配信するので、通信回線の
回線使用量を低減することができ、かつ、緊急に配信す
る必要が有る電文を優先的に配信することができる。
Further, when the total of the message lengths is longer than the expected optimum message length, the input messages are ordered in descending order of delivery priority so that the input message becomes the longest within the range where the total message length does not exceed the expected optimum message length. Are collectively delivered, it is possible to reduce the line usage of the communication line, and preferentially deliver telegrams that need to be delivered urgently.

【0026】さらに、電文を配信した後に配信優先度が
低いために配信されなかった電文の配信優先度を上げる
ので、配信優先度の低い電文がいつまでも配信されない
で残ることを防ぐことができる。
Furthermore, since the delivery priority of a message that has not been delivered because the delivery priority is low after the delivery of the message is increased, it is possible to prevent a message with a low delivery priority from remaining undelivered.

【図面の簡単な説明】[Brief description of drawings]

【図1】この発明の実施例を示す構成図である。FIG. 1 is a configuration diagram showing an embodiment of the present invention.

【図2】列信順序テーブルの構成図である。FIG. 2 is a configuration diagram of a column order table.

【図3】入力順に電文をまとめて配信する場合のフロー
チャートである。
FIG. 3 is a flowchart for collectively delivering electronic messages in the order of input.

【図4】配信優先度別の列信順序テーブルの構成図であ
る。
FIG. 4 is a configuration diagram of a transmission order table for each distribution priority.

【図5】配信優先度の高い順に電文をまとめて配信する
場合のフローチャートである。
FIG. 5 is a flowchart for collectively delivering electronic messages in descending order of delivery priority.

【符号の説明】[Explanation of symbols]

1 パラメータ格納部 2 電文入力部 3 電文格納部 4 配信依頼部 5 配信電文処理部 6 列信用電文格納部 7 プロトコル処理部 8 通信回線 1 Parameter storage unit 2 Message input unit 3 Message storage unit 4 Distribution request unit 5 Distribution message processing unit 6 Column credit message storage unit 7 Protocol processing unit 8 Communication line

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 H04N 1/32 H04N 1/34 1/34 ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 6 Identification number Internal reference number FI Technical indication H04N 1/32 H04N 1/34 1/34

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 入力した電文を蓄積し、電文の配信依頼
があると予め記憶した通信回線の課金単位時間及び通信
速度を基に予想最適電文長を算出し、蓄積した電文の電
文長の合計と予想最適電文長を比較し、電文長の合計が
予想最適電文長より長い場合に、電文長の合計が予想最
適電文長を越えない範囲内で最も長くなるように入力順
に電文をまとめて配信することを特徴とする電文配信処
理方法。
1. The expected optimum message length is calculated based on the charging unit time and communication speed of the communication line, which stores the input message and stores the message distribution request in advance, and totals the message length of the accumulated messages. And the expected optimal message length are compared, and if the total message length is longer than the expected optimal message length, the messages are collectively delivered in the order of input so that the total message length becomes the longest within the range that does not exceed the expected optimal message length. A message delivery processing method characterized by:
【請求項2】 電文長の合計が予想最適電文長より長い
場合に、電文長の合計が予想最適電文長を越えない範囲
内で最も長くなるように配信優先度の高い順に電文をま
とめて配信する請求項1記載の電文配信処理方法。
2. When the total message length is longer than the expected optimal message length, the messages are collectively delivered in order of the highest priority of delivery so that the total message length becomes the longest within the range not exceeding the expected optimal message length. The electronic message delivery processing method according to claim 1.
【請求項3】 電文を配信した後に配信優先度が低いた
めに配信されなかった電文の配信優先度を上げる請求項
2記載の電文配信処理方法。
3. The electronic message distribution processing method according to claim 2, wherein after the electronic message is distributed, the distribution priority of a message that has not been distributed due to a low distribution priority is increased.
JP7173963A 1995-06-19 1995-06-19 Message distribution processing method Pending JPH098841A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7173963A JPH098841A (en) 1995-06-19 1995-06-19 Message distribution processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7173963A JPH098841A (en) 1995-06-19 1995-06-19 Message distribution processing method

Publications (1)

Publication Number Publication Date
JPH098841A true JPH098841A (en) 1997-01-10

Family

ID=15970291

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7173963A Pending JPH098841A (en) 1995-06-19 1995-06-19 Message distribution processing method

Country Status (1)

Country Link
JP (1) JPH098841A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6493764B1 (en) 1998-07-08 2002-12-10 International Business Machines Corporation Data communications apparatus, method and computer program product implementing data communications protocol with efficient packing of datagrams

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6493764B1 (en) 1998-07-08 2002-12-10 International Business Machines Corporation Data communications apparatus, method and computer program product implementing data communications protocol with efficient packing of datagrams

Similar Documents

Publication Publication Date Title
US10021251B2 (en) Methods, systems, and products for monitoring service usage
US7869430B2 (en) Communication terminal device and billing device
US10009743B2 (en) System and method for providing subscribed applications on wireless devices over a wireless network
CA2216533C (en) Method and apparatus for rate governing communications
KR100585306B1 (en) Transaction processing
US5764899A (en) Method and apparatus for communicating an optimized reply
CN109889862B (en) Video distribution method and system
JP2002528807A (en) Service control of telecommunications network
JPH0823315A (en) Information presetting system
CN111263319A (en) Method and device for reminding balance of mobile phone charge
TW200423621A (en) Methods for performing medium dedication in order to ensure the quality of service for delivering real-time data across wireless network
WO2008102204A2 (en) Systems and methods for session records correlation
CN109756566B (en) Block chain based data storage method, related equipment and storage medium
JP2002503061A (en) Call point payment accumulation method and system
CN113015116A (en) Dynamic quota method and device based on flow prediction
JPH098841A (en) Message distribution processing method
JP2001051928A (en) Information distribution system and its distributing method
CN116436713A (en) Traffic scheduling method and device, medium and electronic equipment
CN114416013A (en) Data transmission method, data transmission device, electronic equipment and computer-readable storage medium
US20060031167A1 (en) Method for automatic charging
JP3106891B2 (en) Facsimile information service equipment
KR101070767B1 (en) Apparatus and method for adaptive accounting based on service class
JP2002304321A (en) Information contents download system, server device, server device program and recording medium therefor, and terminal device program and recording medium therefor
WO2006015538A1 (en) Method and device for providing memory space to mobile terminal
JPH0637954A (en) Facsimile terminal equipment distribution control system in facsimile store and forward exchange