Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP6350124B2 - Data relay apparatus, data relay method, and data relay program - Google Patents
[go: Go Back, main page]

JP6350124B2 - Data relay apparatus, data relay method, and data relay program - Google Patents

Data relay apparatus, data relay method, and data relay program Download PDF

Info

Publication number
JP6350124B2
JP6350124B2 JP2014174881A JP2014174881A JP6350124B2 JP 6350124 B2 JP6350124 B2 JP 6350124B2 JP 2014174881 A JP2014174881 A JP 2014174881A JP 2014174881 A JP2014174881 A JP 2014174881A JP 6350124 B2 JP6350124 B2 JP 6350124B2
Authority
JP
Japan
Prior art keywords
amount
data
communication
unit
allocation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2014174881A
Other languages
Japanese (ja)
Other versions
JP2016051944A (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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry 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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP2014174881A priority Critical patent/JP6350124B2/en
Publication of JP2016051944A publication Critical patent/JP2016051944A/en
Application granted granted Critical
Publication of JP6350124B2 publication Critical patent/JP6350124B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Description

本発明は、無線アクセスポイントとしての機能を備えたホームゲートウェイなどのデータ中継装置、データ中継方法、及びデータ中継プログラムに関する。   The present invention relates to a data relay device such as a home gateway having a function as a wireless access point, a data relay method, and a data relay program.

IEEE802.11で定義される無線通信では、パケットデータを受信した端末からのACK(受信応答)が所定時間内に送信側へと届かない場合に、送信側から一定回数の再送を行う仕組み(ARQ:自動再送制御)が採られている。このため、電波状態が悪い状況で通信データ量が増加した場合には、無線アクセスポイント等のデータ中継装置が持つメモリ内にパケットデータが蓄積されていくこととなる。メモリ内に蓄積されたデータ量が増え続け、メモリが圧迫されると、無線アクセスポイントのシステム全体に影響がでてしまい、通信サービスを継続できないという事態も発生する。   In wireless communication defined by IEEE802.11, when an ACK (reception response) from a terminal that has received packet data does not reach the transmitting side within a predetermined time, a mechanism for performing a certain number of retransmissions from the transmitting side (ARQ : Automatic retransmission control). For this reason, when the amount of communication data increases in a situation where the radio wave condition is bad, packet data is accumulated in a memory of a data relay device such as a wireless access point. If the amount of data stored in the memory continues to increase and the memory is compressed, the entire wireless access point system is affected, and communication services cannot be continued.

従来から、上記のようなメモリ圧迫度の増加に伴うトラブルを軽減させるための技術が研究・開発されており、例えば、特許文献1には、QoSパラメータから得られるトラヒック優先度に基づいて、複数の端末装置それぞれに割り当てる再送用バッファのバッファサイズを調整するという手法が開示されている。また、特許文献2には、通信コントローラからのデータ要求信号に応じて、第1及び第2のバッファからデータパケットを送信するデータ処理装置が開示されている。このデータ処理装置が有する第2のバッファには、1度以上転送したデータパケットが保存され、通信コントローラが再送を断念したと判断した場合に、第2バッファからデータパケットを転送するという手法を採っている。   Conventionally, a technique for reducing the trouble associated with the increase in the degree of memory compression as described above has been researched and developed. For example, Patent Document 1 discloses a plurality of techniques based on traffic priorities obtained from QoS parameters. Discloses a technique of adjusting the buffer size of a retransmission buffer allocated to each terminal apparatus. Patent Document 2 discloses a data processing device that transmits data packets from first and second buffers in response to a data request signal from a communication controller. A data buffer transferred once or more is stored in the second buffer of the data processing apparatus, and when the communication controller determines that the retransmission is abandoned, the data packet is transferred from the second buffer. ing.

特開2010−154060号公報JP 2010-154060 A 特開2004−187010号公報JP 2004-187010 A

しかしながら、特許文献1におけるトラヒック優先度のような設定値を用いた静的なメモリ制御や、特許文献2に示された、再送用データの保護に特化したメモリの割り当て技術では、多種多様化する通信システムでの通信状態に応じたメモリ資源の有効活用を実現することがきなかった。ホームゲートウェイ等のメモリ容量には限りがあるため、データの再送制御には、ある程度のデータ廃棄が想定されるところ、従来から、残留データと後続データとの有用性を考慮した柔軟なメモリ管理への要請がある。すなわち、あるサービス等に対するメモリ資源の過剰な割り当てや分配不足を低減させるメモリ領域の制御技術が望まれていた。   However, the static memory control using a setting value such as the traffic priority in Patent Document 1 and the memory allocation technology specialized in protection of retransmission data shown in Patent Document 2 are diversified. It has not been possible to effectively use memory resources according to the communication state in a communication system. Since the memory capacity of the home gateway and the like is limited, it is assumed that a certain amount of data is discarded in the data retransmission control. Conventionally, flexible memory management considering the usefulness of residual data and subsequent data has been made. There is a request. That is, there has been a demand for a memory area control technique that reduces excessive allocation and insufficient distribution of memory resources for a certain service.

本発明に係るデータ中継装置は、外部からデータを受信する受信部と、受信部において受信されたデータを一時記憶する記憶部と、記憶部に一時記憶されたデータを送信する送信部と、受信部及び送信部の通信状況を示す通信状況データを送信する通信管理部と、通信管理部から送信された通信状況データに基づいて記憶部におけるデータの送信先との間の無線通信に対する割当量を決定し、記憶部内の記憶領域に、割当量に応じた無線通信用の領域を設定する情報制御部と、を有し、情報制御部は、受信部が外部から受信するデータのうち送信部が無線通信によって送信するデータの量である網無線通信量と、通信状況データのうちの送信部の通信状況を示すデータに含まれ、無線空間における通信量を示す無線通信量と、から割当量を決定するものである。 A data relay device according to the present invention includes a receiving unit that receives data from the outside, a storage unit that temporarily stores data received by the receiving unit, a transmission unit that transmits data temporarily stored in the storage unit, and a reception unit Quota for wireless communication between a communication management unit that transmits communication status data indicating the communication status of the communication unit and the transmission unit, and a data transmission destination in the storage unit based on the communication status data transmitted from the communication management unit determines, in the storage area of the serial 憶部, transmits possess information control unit that sets a region for wireless communications in accordance with the quota, the information control unit, reception unit among the data received from the outside Allocated from the network wireless communication amount that is the amount of data that the unit transmits by wireless communication and the wireless communication amount that is included in the data indicating the communication state of the transmitting unit in the communication state data and indicates the communication amount in the wireless space Amount One in which a constant.

また、本発明に係るデータ中継方法は、外部からデータを受信する受信ステップと、受信ステップにおいて受信されたデータを記憶部に一時記憶する記憶ステップと、記憶部に一時記憶されたデータを送信する送信ステップと、受信ステップ及び送信ステップにおける通信の状況を示す通信状況データを出力する出力ステップと、出力ステップによって出力された通信状況データに基づいて記憶部におけるデータの送信先との間の無線通信に対する割当量を決定する決定ステップと、記憶部内の記憶領域に、割当量に応じた無線通信用の領域を設定する領域設定ステップと、を有し、決定ステップでは、受信ステップにおいて外部から受信するデータのうち送信ステップでの無線通信によって送信するデータの量である網無線通信量と、通信状況データのうちの送信ステップにおける通信状況を示すデータに含まれ、無線空間における通信量を示す無線通信量と、から割当量を決定するThe data relay method according to the present invention also includes a reception step of receiving data from the outside, a storage step of temporarily storing data received in the reception step in the storage unit, and data temporarily stored in the storage unit Radio between the transmission step, the output step for outputting the communication status data indicating the communication status in the reception step and the transmission step, and the data transmission destination in the storage unit based on the communication status data output by the output step a determination step of determining a quota for the communication, in a storage area in the serial 憶部, possess an area setting step of setting a region for wireless communications in accordance with the quota, and in the determining step from the outside at the receiving step Of the received data, the amount of network wireless communication, which is the amount of data transmitted by wireless communication in the transmission step, Included in the data indicating the communication condition at the transmitting step of the situation data, it determines the allocation amount from the radio traffic indicating the traffic in the wireless space.

さらに、本発明に係るデータ中継プログラムは、外部からデータを受信する受信手段、受信手段によって受信されたデータを記憶部に一時記憶する記憶手段、記憶部に一時記憶されたデータを送信する送信手段、受信手段及び送信手段による通信の状況を示す通信状況データを送信する通信管理手段、通信管理手段により送信された通信状況データに基づいて記憶部におけるデータの送信先との間の無線通信に対する割当量を決定する決定手段、及び記憶部内の記憶領域に、割当量に応じた無線通信用の領域を設定する領域設定手段、としてコンピュータを機能させ、決定手段は、受信手段が外部から受信するデータのうち送信手段が無線通信によって送信するデータの量である網無線通信量と、通信状況データのうちの送信手段の通信状況を示すデータに含まれ、無線空間における通信量を示す無線通信量と、から割当量を決定するものであるFurther, the data relay program according to the present invention includes a receiving unit that receives data from the outside, a storage unit that temporarily stores data received by the receiving unit in a storage unit, and a transmission unit that transmits data temporarily stored in the storage unit , Communication management means for transmitting communication status data indicating the status of communication by the receiving means and the transmission means, based on the communication status data transmitted by the communication management means, for wireless communication with the data transmission destination in the storage unit determining means for determining a quota, the storage area in及beauty Symbol 憶部, area setting means for setting a region for wireless communications in accordance with the quota, cause the computer to function as a determination means, receiving means from the outside The amount of data transmitted by the transmission means through the wireless communication among the received data, and the communication status of the transmission means in the communication status data Included in the data indicating, it is what determines the allocation amount from the radio traffic indicating the traffic in the wireless space.

本発明では、上記のように、無線通信の状況及び他のサービスの利用状況に基づいて記憶部内の記憶領域の割当量を決定し、決定した割当量に従ってメモリ設定を行うという手法を採ったため、メモリ内に蓄積する中継データを円滑に処理し、メモリ資源の有効活用を図ることができるデータ中継装置、データ中継方法、及びデータ中継プログラムの提供が可能となる。   In the present invention, as described above, the method of determining the allocation amount of the storage area in the storage unit based on the status of wireless communication and the usage status of other services, and setting the memory according to the determined allocation amount, It is possible to provide a data relay device, a data relay method, and a data relay program that can smoothly process relay data stored in the memory and can effectively use memory resources.

本発明の実施形態におけるデータ中継装置の構成を示すブロック図である。It is a block diagram which shows the structure of the data relay apparatus in embodiment of this invention. 図1のデータ中継装置を使用した場合のサービス構成を示す概略図である。It is the schematic which shows the service structure at the time of using the data relay apparatus of FIG. 図1のデータ中継装置が用いるメモリ部の割当パターンを例示する表である。3 is a table illustrating an allocation pattern of a memory unit used by the data relay device in FIG. 1. 図1のデータ中継装置の格納部に格納された割当パターンテーブルを例示する表である。3 is a table illustrating an allocation pattern table stored in a storage unit of the data relay device in FIG. 1. 図4の各割当パターンの選定基準となる遷移条件を例示する表である。It is a table | surface which illustrates the transition conditions used as the selection criteria of each allocation pattern of FIG. 図1のデータ中継装置による第1判定に係る各遷移条件と各割当パターンとの対応関係を例示する表である。6 is a table illustrating the correspondence between each transition condition and each allocation pattern related to the first determination by the data relay device in FIG. 1. 図1のデータ中継装置による第2判定に係る各遷移条件と各割当パターンとの対応関係を例示する表である。6 is a table illustrating a correspondence relationship between each transition condition and each allocation pattern according to the second determination by the data relay device in FIG. 1. 図1のデータ中継装置の動作を示すフローチャートである。3 is a flowchart showing the operation of the data relay device in FIG. 1.

本発明におけるデータ中継装置の一実施形態を図1〜図8に基づいて説明する。図1に示すように、データ中継装置60は、外部からデータを受信する受信部10と、受信部10において受信されたデータを一時記憶するメモリ部(記憶部)20と、メモリ部20に一時記憶されたデータを送信する送信部30と、受信部10及び送信部30の通信状況を示す通信状況データを送信する通信管理部40と、通信管理部40から送信された通信状況データに基づいてメモリ部20における無線通信への割当量を決定し、決定した割当量に従ってメモリ部20内の記憶領域を設定する情報制御部50と、を有している。なお、データ中継装置60は、IEEE802.11で定義される無線通信機能を備えているため、無線アクセスポイントとして動作することもできる。   An embodiment of a data relay device according to the present invention will be described with reference to FIGS. As shown in FIG. 1, the data relay device 60 includes a receiving unit 10 that receives data from the outside, a memory unit (storage unit) 20 that temporarily stores data received by the receiving unit 10, and a temporary memory in the memory unit 20. Based on the communication status data transmitted from the transmission unit 30 for transmitting stored data, the communication management unit 40 for transmitting communication status data indicating the communication status of the reception unit 10 and the transmission unit 30, and the communication management unit 40. And an information control unit 50 that determines an allocation amount for wireless communication in the memory unit 20 and sets a storage area in the memory unit 20 in accordance with the determined allocation amount. Since the data relay device 60 has a wireless communication function defined by IEEE 802.11, it can also operate as a wireless access point.

図2は、データ中継装置60を使用した場合のサービス構成を示す概略図である。図2に示すように、データ中継装置60には、サービス網100と有線端末110とが接続されており、データ中継装置60は、サービス網100と連携して、有線端末110を利用するユーザにインターネット通信等の基本サービスを提供する。また、データ中継装置60は、電話線によって接続された電話端末120を利用するユーザに、音声通話等の優先サービスを提供するものである。さらに、データ中継装置60は、PC、タブレット端末、スマートフォン等である無線端末130との無線通信を行うことができる。なお、図2では、音声通信を行う電話端末120を例示したが、データ中継装置60は、音声だけではなく映像を使用したコミュニケーションが可能なIP電話端末等に対しても同様に機能する。   FIG. 2 is a schematic diagram showing a service configuration when the data relay device 60 is used. As shown in FIG. 2, a service network 100 and a wired terminal 110 are connected to the data relay device 60, and the data relay device 60 cooperates with the service network 100 to provide users who use the wired terminal 110. Provide basic services such as Internet communication. The data relay device 60 provides a priority service such as a voice call to a user who uses the telephone terminal 120 connected by a telephone line. Furthermore, the data relay device 60 can perform wireless communication with the wireless terminal 130 such as a PC, a tablet terminal, or a smartphone. Although FIG. 2 illustrates the telephone terminal 120 that performs voice communication, the data relay device 60 functions in the same manner for an IP telephone terminal or the like capable of communication using video as well as voice.

図1のとおり、通信管理部40は、有線通信を管理する有線IF管理部40aと、無線通信を管理する無線IF管理部40bと、を有している。有線IF管理部40aは、少なくとも受信部10と情報制御部50とに接続されており、受信部10の通信状況を監視することで、有線通信量、サービス網100からの通信量、及び接続端末とのリンク速度等の情報(有線空間情報)を管理し、この有線空間情報を定期的に情報制御部50へと通知するものである。無線IF管理部40bは、受信部10と送信部30と情報制御部50とに接続されており、少なくとも送信部30の通信状況を監視することで、無線通信量及び無線端末の帰属数等の情報(無線空間情報)を管理し、この無線空間情報を定期的に情報制御部50へと通知するものである。すなわち、上述した通信状況データとは、有線IF管理部40aが情報制御部50に送信する有線空間情報と無線IF管理部40bが情報制御部50に送信する無線空間情報との総称であり、図3に示す5つのパラメータを含むものである。   As illustrated in FIG. 1, the communication management unit 40 includes a wired IF management unit 40a that manages wired communication and a wireless IF management unit 40b that manages wireless communication. The wired IF management unit 40a is connected to at least the receiving unit 10 and the information control unit 50. By monitoring the communication status of the receiving unit 10, the wired communication amount, the communication amount from the service network 100, and the connection terminal Information (wired space information) such as the link speed is managed, and this wired space information is periodically notified to the information control unit 50. The wireless IF management unit 40b is connected to the reception unit 10, the transmission unit 30, and the information control unit 50. By monitoring at least the communication status of the transmission unit 30, the wireless communication amount, the number of wireless terminals belonging, etc. Information (radio space information) is managed, and the radio space information is periodically notified to the information control unit 50. That is, the above-described communication status data is a general term for the wired space information transmitted from the wired IF management unit 40a to the information control unit 50 and the wireless space information transmitted from the wireless IF management unit 40b to the information control unit 50. 5 parameters shown in 3 are included.

より具体的に、データ中継装置60は、有線IF管理部40aと無線IF管理部40bとにより、図3に示すような5つのパラメータを取得する。第1のパラメータである無線通信量とは、無線空間において1秒間に何メガビットのデータを転送しているかを示す情報(無線空間における通信量)であり、0〜1000Mbpsの範囲内の値となる。第2のパラメータである有線通信量とは、サービス網100からの通信量、有線端末110との通信量、データ中継装置60が自装置で終端する通信量を示す情報であり、0〜1000Mbpsの範囲内の値となる。第3のパラメータである有線端末接続状態とは、有線端末110の接続の有無(接続あり又は接続なし)を示す情報である。第4のパラメータである有線通信レートとは、有線端末110のリンク速度が、10M、100M、1000M(1G)の何れであるかを示す情報である。第5のパラメータである有線サービスの有無とは、優先サービスを利用しているか、利用していないかを示す情報であり、この有線サービスには、既にデータ通信を開始しているサービスも含まれる。   More specifically, the data relay device 60 acquires five parameters as shown in FIG. 3 by the wired IF management unit 40a and the wireless IF management unit 40b. The wireless communication amount that is the first parameter is information (communication amount in the wireless space) indicating how many megabits of data is transferred per second in the wireless space, and is a value in the range of 0 to 1000 Mbps. . The second parameter, the wired communication amount, is information indicating the communication amount from the service network 100, the communication amount with the wired terminal 110, and the communication amount at which the data relay device 60 terminates at its own device, and ranges from 0 to 1000 Mbps. The value is within the range. The wired terminal connection state, which is the third parameter, is information indicating whether or not the wired terminal 110 is connected (connected or not connected). The wired communication rate that is the fourth parameter is information indicating whether the link speed of the wired terminal 110 is 10M, 100M, or 1000M (1G). The presence / absence of a wired service, which is a fifth parameter, is information indicating whether the priority service is used or not, and this wired service includes services that have already started data communication. .

情報制御部50は、通信管理部40から送信された通信状況データに基づいてメモリ部20の記憶領域における無線通信への割当量(以下「メモリ割当量」という。)を決定する情報管理部51と、情報管理部51が決定した割当量に従ってメモリ部20内の記憶領域を設定するメモリ設定部52と、を有している。   The information control unit 50 determines an allocation amount (hereinafter referred to as “memory allocation amount”) for wireless communication in the storage area of the memory unit 20 based on the communication status data transmitted from the communication management unit 40. And a memory setting unit 52 that sets a storage area in the memory unit 20 in accordance with the allocation amount determined by the information management unit 51.

受信部10は、受信したデータをメモリ部20に格納させるものである。送信部30は、無線通信用のアンテナ30aを実装している。送信部30は、メモリ部20に格納されたデータを無線空間に送信した後、送信先の無線端末(図示せず)からのACK(受信応答)を受信するまでの間において、所定条件のもと、継続的に再送を行うものである。DRAM等の揮発性メモリであるメモリ部20は、受信部10、送信部30、及びメモリ設定部52に接続されており、受信部10から受信したデータを格納するものである。   The receiving unit 10 stores the received data in the memory unit 20. The transmission unit 30 is equipped with an antenna 30a for wireless communication. The transmission unit 30 transmits data stored in the memory unit 20 to the radio space and then receives an ACK (reception response) from a transmission destination radio terminal (not shown) until a predetermined condition is satisfied. Are continuously retransmitted. A memory unit 20, which is a volatile memory such as a DRAM, is connected to the receiving unit 10, the transmitting unit 30, and the memory setting unit 52, and stores data received from the receiving unit 10.

メモリ部20内の記憶領域には、メモリ設定部52によって、基本サービスを提供するために利用する基本領域と、無線機能が蓄積データを再送するために利用する無線領域と、拡張サービスを提供するために利用する予備領域とが設定される。受信部10が受信したデータに対応する領域が飽和していた場合には、メモリ部20は、他の領域に空きがある場合でも、該データを記憶することができない構成となっている。   The memory area in the memory unit 20 is provided by the memory setting unit 52 with a basic area used for providing a basic service, a wireless area used for the wireless function to retransmit stored data, and an extended service. A spare area to be used for this purpose is set. When the area corresponding to the data received by the receiving unit 10 is saturated, the memory unit 20 is configured such that the data cannot be stored even if there is a vacancy in another area.

情報管理部51は、サービス網100から無線空間への通信量(サービス網100から送出される無線通信用データの通信量)である網無線通信量を通信状況データに基づいて算出し、この網無線通信量が無線通信量よりも多いか否かを判定する無線状況判定部51aと、無線状況判定部51aによる判定結果に応じて割当量の決定を行う割当量決定部51bと、メモリ部20のメモリ割当量を定めた複数のパターン(割当パターン)を整理した割当パターンテーブル及び各割当パターンに関連づけられた割当量決定条件を格納する格納部51cと、を有している。ここで、無線状況判定部51aによる網無線通信量が無線通信量よりも多いか否かの判定を第1判定とする。   The information management unit 51 calculates a network wireless communication amount that is a communication amount from the service network 100 to the wireless space (communication amount of data for wireless communication transmitted from the service network 100) based on the communication status data. A wireless status determination unit 51a that determines whether or not the wireless communication amount is larger than the wireless communication amount, an allocation amount determination unit 51b that determines an allocation amount according to a determination result by the wireless status determination unit 51a, and a memory unit 20 An allocation pattern table in which a plurality of patterns (allocation patterns) defining the memory allocation amount are arranged, and a storage unit 51c for storing an allocation amount determination condition associated with each allocation pattern. Here, the determination of whether or not the network wireless communication amount by the wireless state determination unit 51a is larger than the wireless communication amount is the first determination.

無線状況判定部51aは、網無線通信量を算出するに際して、「網無線通信量=サービス網100からの通信量−(有線端末110との通信量+自装置で終端する通信量)」なる数式(網無線算出式)を用いる。すなわち、無線状況判定部51aは、「サービス網100からの通信量」から「有線端末110との通信量と自装置で終端する通信量との和」を引いた量を、網無線通信量として算出するものである。   When calculating the network wireless communication amount, the wireless state determination unit 51a calculates the mathematical expression “network wireless communication amount = communication amount from the service network 100− (communication amount with the wired terminal 110 + communication amount terminated at its own device)”. (Network wireless calculation formula) is used. That is, the wireless status determination unit 51a uses the amount obtained by subtracting “the sum of the communication amount with the wired terminal 110 and the communication amount terminated at its own device” from the “communication amount from the service network 100” as the network wireless communication amount. Is to be calculated.

割当量決定部51bは、無線状況判定部51aにおいて網無線通信量が無線通信量よりも多いと判定された場合に、通信状況データを該第1判定の結果に関連づけられた割当量決定条件(第1割当量決定条件)に照らしてメモリ割当量を決定するものである。また、無線状況判定部51aは、第1判定において、網無線通信量が無線通信量以下であるとの否定的な判定を行った場合に、無線通信量が、網無線通信量に予め設定された閾値(空き閾値)を加えた量よりも多いか否かを判定する閾値判定機能をさらに有している。ここで、無線状況判定部51aの閾値判定機能による判定を第2判定とする。割当量決定部51bは、無線状況判定部51aの閾値判定機能によって、無線通信量が網無線通信量に空き閾値を加えた量よりも多いとの肯定的な判定がなされた場合に、通信状況データを該第2判定の結果に関連づけられた割当量決定条件(第2割当量決定条件)に照らしてメモリ割当量の決定を行う。一方、無線状況判定部51aの閾値判定機能によって、無線通信量が網無線通信量に空き閾値を加えた量以下であるとの否定的な判定がなされた場合に、割当量決定部51bは、割当量を変更しない旨の決定を行う。   When the wireless status determination unit 51a determines that the network wireless communication amount is greater than the wireless communication amount, the allocation amount determination unit 51b determines the allocation amount determination condition associated with the communication state data associated with the result of the first determination ( The memory allocation amount is determined in light of the first allocation amount determination condition). In addition, when the wireless state determination unit 51a makes a negative determination that the network wireless communication amount is equal to or less than the wireless communication amount in the first determination, the wireless communication amount is preset to the network wireless communication amount. It further has a threshold value determination function for determining whether or not it is larger than the amount obtained by adding the threshold value (empty threshold value). Here, the determination by the threshold determination function of the wireless status determination unit 51a is set as the second determination. The allocation amount determination unit 51b determines the communication status when the threshold determination function of the wireless status determination unit 51a makes a positive determination that the wireless communication amount is larger than the network wireless communication amount plus the empty threshold. The memory allocation amount is determined in light of the allocation amount determination condition (second allocation amount determination condition) associated with the result of the second determination. On the other hand, if the wireless status determination unit 51a makes a negative determination that the wireless communication amount is equal to or less than the amount obtained by adding the empty threshold to the network wireless communication amount, the allocation amount determination unit 51b Make a decision not to change the quota.

本実施形態において、割当量決定部51bは、メモリ割当量を決定するに際して、メモリ部20に格納された第1及び第2割当量決定条件を参照し、図4に示す割当パターンの内の何れか1つを選定するものである。図4は、格納部51cに格納された割当パターンテーブルを例示する表である。図4の例では、標準パターン、追加1パターン、追加2パターン、及び最大パターン(以降では、標準、追加1、追加2、最大との略称を用いる。)の4つの割当パターンを示し、メモリ部20内の記憶領域の割当先の欄では、(1)基本サービスを提供するために利用する基本領域を「基本」とし、(2)無線機能が蓄積データを再送するために利用する無線領域を「無線機能」とし、(3)拡張サービスを提供するために利用する予備領域を「予備」として示す。また、割当量の欄には、パターンごとのメモリ割当量を示している。メモリ部20は、割り当てられた領域を超えてのメモリ確保はできないものであり、すなわち、ある領域に関連するデータを受信部10が受信しても、該領域の容量を超えていれば、メモリ部20はデータの格納を停止する。図4に示すように、割当パターンテーブル内では、割当パターンごとにメモリ割当量が決められているため、無線状況判定部51aによる割当パターンの選定は、メモリ割当量の決定に相当する。   In this embodiment, the allocation amount determination unit 51b refers to the first and second allocation amount determination conditions stored in the memory unit 20 when determining the memory allocation amount, and determines any of the allocation patterns shown in FIG. One of them is selected. FIG. 4 is a table illustrating an allocation pattern table stored in the storage unit 51c. In the example of FIG. 4, four allocation patterns of a standard pattern, an additional 1 pattern, an additional 2 pattern, and a maximum pattern (hereinafter, abbreviated as standard, additional 1, additional 2, and maximum) are shown, and a memory unit In the storage area allocation field in 20, (1) the basic area used for providing the basic service is set as “basic”, and (2) the wireless area used for the wireless function to retransmit the stored data. “Wireless function” is indicated, and (3) a spare area used for providing the extended service is indicated as “reserved”. Further, the allocation amount column shows the memory allocation amount for each pattern. The memory unit 20 cannot secure the memory beyond the allocated area. That is, even if the receiving unit 10 receives data related to a certain area, the memory unit 20 can store the memory as long as it exceeds the capacity of the area. The unit 20 stops storing data. As shown in FIG. 4, since the memory allocation amount is determined for each allocation pattern in the allocation pattern table, selection of the allocation pattern by the radio status determination unit 51a corresponds to determination of the memory allocation amount.

次に、図5及び図6に基づいて、割当量決定部51bがメモリ割当量を決定する際に参照する第1割当量決定条件を説明する。図5は、図4に示す割当パターンを選定する際の基準となる遷移条件1〜3の具体的内容を示したものである。図5において、遷移条件1は、(1)有線端末110の接続があり、そのリンク速度が100Mもしくは10Mであるという条件のもと、(2)有線端末110への通信量によって、さらに遷移条件1A(0M以上100M未満)、遷移条件1B(100M以上200M未満)、遷移条件1C(200M以上)とに細分化されている。細分化された各条件は、割当量決定部51bによって適宜用いられる。遷移条件2は、(1)有線端末110の接続状態について、接続がない状態、又は接続があり且つリンク速度が1000Mである状態であり、(2)優先サービスの利用があるという条件であり、遷移条件3は、(1)有線端末110の接続状態について、接続がない状態、又は接続があり且つリンク速度が1000Mである状態であり、(2)有線サービスの利用がないという条件である。   Next, based on FIGS. 5 and 6, the first allocation amount determination condition referred to when the allocation amount determination unit 51b determines the memory allocation amount will be described. FIG. 5 shows the specific contents of transition conditions 1 to 3 serving as a reference when selecting the allocation pattern shown in FIG. In FIG. 5, the transition condition 1 includes (1) a connection with the wired terminal 110 and a link speed of 100 M or 10 M, and (2) a further transition condition depending on the traffic to the wired terminal 110. It is subdivided into 1A (0M or more and less than 100M), transition condition 1B (100M or more and less than 200M), and transition condition 1C (200M or more). Each subdivided condition is appropriately used by the allocation amount determination unit 51b. Transition condition 2 is a condition that (1) the connection state of the wired terminal 110 is a state in which there is no connection or a state in which there is a connection and the link speed is 1000 M, and (2) there is use of a priority service. Transition condition 3 is a condition that (1) the connection state of the wired terminal 110 is not connected, or is connected and the link speed is 1000 M, and (2) the wired service is not used.

図6は、無線状況判定部51aによる第1判定に関連する表であり、各遷移条件に対応する割当パターンを遷移先の欄に示す。図6の現パターンの欄には、割当量決定部51bが、メモリ割当量の決定をする際におけるメモリ部20の設定状況(割当パターン)を示す。すなわち、割当量決定部51bは、無線状況判定部51aによる第1判定において、網無線通信量が無線通信量よりも多いとの肯定的な判定がなされた場合に、通信状況データを各遷移条件の内容に照らして何れか1つの遷移条件を特定し、特定した遷移条件と現パターンとに基づいて割当パターンを選定するものであり、図5及び図6に示す条件が第1割当量決定条件に相当する。   FIG. 6 is a table related to the first determination by the wireless status determination unit 51a, and shows an assignment pattern corresponding to each transition condition in a transition destination column. The column of the current pattern in FIG. 6 shows the setting status (allocation pattern) of the memory unit 20 when the allocation amount determination unit 51b determines the memory allocation amount. That is, in the first determination by the wireless status determination unit 51a, the allocation amount determination unit 51b uses the communication status data for each transition condition when a positive determination is made that the network wireless communication amount is greater than the wireless communication amount. One of the transition conditions is specified in light of the contents of and the allocation pattern is selected based on the specified transition condition and the current pattern, and the conditions shown in FIGS. 5 and 6 are the first allocation amount determination conditions. It corresponds to.

本実施形態では、データ中継装置60が起動すると、割当量決定部51bからメモリ設定部52に向けて、図4に示す標準での設定指令が通知され、メモリ設定部52は、割当量決定部51bから通知された設定指令に従って、メモリ部20を標準(基本領域30%、無線領域10%、予備領域60%)の設定にする。   In the present embodiment, when the data relay device 60 is activated, the standard setting command shown in FIG. 4 is notified from the allocation determining unit 51b to the memory setting unit 52, and the memory setting unit 52 According to the setting command notified from 51b, the memory unit 20 is set to a standard setting (basic area 30%, wireless area 10%, spare area 60%).

割当量決定部51bは、無線状況判定部51aが肯定的な第1判定を行った際に、通信状況データを各遷移条件の内容に照らして遷移条件を特定し、現パターンが起動時と同じく「標準」であれば、図6に示すように、遷移条件1を特定した場合に「追加1」を、遷移条件2を特定した場合に「追加2」を、遷移条件3を特定した場合に「最大」をそれぞれ選定する。すなわち、遷移条件1のように、有線端末110のリンク速度が100Mもしくは10Mであり、特に有線端末110への通信量が100M以上であるような場合は、メモリ部20の領域をある程度確保しておく必要があるため、情報制御部50は、標準から追加1への遷移、すなわち無線領域を10%から30%に増加させるに留めるメモリ設定を実行する。ここで、有線端末110のリンク速度が1000M(1G)である場合のように、高速な通信環境においては、メモリ部20の記憶領域をそれほど必要としないため、遷移条件2及び3では、有線端末110の接続がない状態と同列に記載している。したがって、遷移条件2を満たす場合には、優先サービスに利用するための記憶領域を確保する必要があるため、情報制御部50は、標準から追加2への遷移、すなわち無線領域を10%から50%に増加させ、予備領域を20%確保するというメモリ設定を実行する。また、遷移条件3を満たす場合には、優先サービスに利用するための記憶領域を確保する必要がないため、情報制御部50は、標準から最大への遷移、すなわち無線領域を10%から70%に増加させ、予備領域を確保しないメモリ設定を実行する。   When the wireless status determination unit 51a makes a positive first determination, the allocation amount determination unit 51b specifies the transition condition in light of the content of each transition condition, and the current pattern is the same as at startup. If “standard”, as shown in FIG. 6, “addition 1” is specified when transition condition 1 is specified, “addition 2” is specified when transition condition 2 is specified, and transition condition 3 is specified. Select “Maximum” respectively. That is, as in the transition condition 1, when the link speed of the wired terminal 110 is 100M or 10M, especially when the communication amount to the wired terminal 110 is 100M or more, the area of the memory unit 20 is secured to some extent. Therefore, the information control unit 50 executes the memory setting for limiting the transition from the standard to the additional 1, that is, increasing the radio area from 10% to 30%. Here, in the high-speed communication environment as in the case where the link speed of the wired terminal 110 is 1000M (1G), the storage area of the memory unit 20 is not so necessary. It is described in the same row as the state where 110 is not connected. Therefore, when the transition condition 2 is satisfied, it is necessary to secure a storage area to be used for the priority service. Therefore, the information control unit 50 changes the transition from the standard to the additional 2, that is, the radio area from 10% to 50%. The memory setting is executed so that the spare area is secured to 20%. Further, when the transition condition 3 is satisfied, it is not necessary to secure a storage area to be used for the priority service, so the information control unit 50 changes the standard to the maximum, that is, the wireless area from 10% to 70%. The memory setting which does not secure the spare area is executed.

データ中継装置60においては、有線IF管理部40aと無線IF管理部40bとから、定期的に有線空間情報と無線空間情報とが通知されるため、データ中継装置60は、定期的な判定処理とこれに応じたメモリ設定により、標準からの遷移だけではなく、追加1から追加2、追加1から最大、追加2から最大への遷移を適時に実現するものである。   In the data relay device 60, since the wired space information and the wireless space information are periodically notified from the wired IF management unit 40a and the wireless IF management unit 40b, the data relay device 60 performs periodic determination processing. By setting the memory according to this, not only the transition from the standard but also the transition from addition 1 to addition 2, addition 1 to maximum, and addition 2 to maximum is realized in a timely manner.

したがって、上記同様、無線状況判定部51aが肯定的な第1判定を行った際に、割当量決定部51bは、現パターンが追加1であれば、遷移条件1を特定した場合に「追加1」を、遷移条件2を特定した場合に「追加2」を、遷移条件3を特定した場合に「最大」をそれぞれ選定し、現パターンが追加2であれば、遷移条件1又は2を特定した場合に「追加2」を、遷移条件3を特定した場合に「最大」をそれぞれ選定し、現パターンが最大であれば、遷移条件1を特定した場合に「追加2」を、遷移条件2又は3を特定した場合に「最大」をそれぞれ選定する。   Therefore, as described above, when the wireless status determination unit 51a makes a positive first determination, the allocation amount determination unit 51b determines that the transition condition 1 is “addition 1” if the current pattern is addition 1. ”, When transition condition 2 is specified,“ addition 2 ”is selected, when transition condition 3 is specified,“ maximum ”is selected, and when the current pattern is addition 2, transition condition 1 or 2 is specified. “Addition 2” is selected, and “maximum” is selected when transition condition 3 is specified. If the current pattern is maximum, “addition 2” is specified when transition condition 1 is specified, transition condition 2 or When 3 is specified, “Maximum” is selected.

第1判定は、網無線通信量が無線通信量よりも多いか否かの判定であるため、第1判定の結果が肯定的な場合には、無線通信領域を確保しておく必要があることから、本実施形態では、割当量決定部51bが、上記の通りメモリ割当量を増加させる方向での割当パターンの決定を行うように構成した。また、システムの安定性を考慮して、メモリ部20の設定を維持するという手法も採用した。例えば、現パターンが追加2のときに遷移条件1を特定した場合に「追加2」を選定し、無線領域を確保すると共にメモリ部20の設定を維持するといった具合である。もっとも、現パターンが追加2や最大のときに遷移条件1を特定した場合には「追加1」を選定したり(遷移先の欄の括弧書き)、現パターンが最大のときに遷移条件2を特定した場合には「追加2」を選定したりといった構成を採ってもよい。また、備考欄に例示したように、遷移条件1を細分化した遷移条件1A〜1Cを用いて、有線端末への通信量に応じた細かな割当パターンの設定を行うようにしてもよい。   Since the first determination is a determination as to whether or not the network wireless communication amount is larger than the wireless communication amount, if the result of the first determination is affirmative, it is necessary to secure a wireless communication area. Thus, in the present embodiment, the allocation amount determination unit 51b is configured to determine the allocation pattern in the direction of increasing the memory allocation amount as described above. Further, in consideration of system stability, a method of maintaining the setting of the memory unit 20 is also adopted. For example, when the transition condition 1 is specified when the current pattern is addition 2, “addition 2” is selected, the wireless area is secured, and the setting of the memory unit 20 is maintained. However, when transition condition 1 is specified when the current pattern is addition 2 or maximum, “addition 1” is selected (in parentheses in the transition destination column), or transition condition 2 is selected when the current pattern is maximum. When specified, a configuration such as selecting “addition 2” may be adopted. Further, as illustrated in the remarks column, the detailed assignment pattern may be set according to the communication amount to the wired terminal using the transition conditions 1A to 1C obtained by subdividing the transition condition 1.

次に、図5及び図7に基づいて、割当量決定部51bがメモリ割当量を決定する際に参照する第2割当量決定条件を説明する。図7は、無線状況判定部51aによる第2判定に関連する表であり、上記図6と同様に、各遷移条件に対応する割当パターンを遷移先の欄に示す。割当量決定部51bは、無線状況判定部51aが閾値判定機能により肯定的な第2判定を行った場合に、通信状況データを各遷移条件の内容に照らして何れか1つの遷移条件を特定し、特定した遷移条件と現パターンとに基づいて割当パターンを選定するものである。第2判定は、無線通信量が網無線通信量に空き閾値を加えた量よりも多いか否かの判定であるため、第2判定の結果が肯定的な場合には、無線通信領域をそれほど確保しておく必要がない状況にあるといえることから、割当量決定部51bは、図6の遷移先の欄に示した場合よりも、メモリ割当量を概ね減少させる方向で割当パターンを選定する。   Next, based on FIGS. 5 and 7, the second allocation amount determination condition referred to when the allocation amount determination unit 51b determines the memory allocation amount will be described. FIG. 7 is a table related to the second determination by the wireless status determination unit 51a, and the assignment pattern corresponding to each transition condition is shown in the transition destination column as in FIG. When the wireless status determination unit 51a makes a positive second determination by the threshold determination function, the allocation amount determination unit 51b specifies any one transition condition in light of the content of each transition condition. The allocation pattern is selected based on the specified transition condition and the current pattern. Since the second determination is a determination as to whether or not the wireless communication amount is larger than the network wireless communication amount plus an empty threshold, if the result of the second determination is affirmative, the wireless communication area is reduced so much. Since it can be said that there is no need to secure the allocation, the allocation determination unit 51b selects an allocation pattern in a direction that generally reduces the memory allocation compared to the case shown in the transition destination column of FIG. .

図7の遷移先の欄第1列の例によると、割当量決定部51bは、無線状況判定部51aによる肯定的な第2判定を受けた際に、通信状況データを各遷移条件の内容に照らして遷移条件を特定し、現パターンの如何によらず、遷移条件1を特定した場合に「標準」を、遷移条件2を特定した場合に「追加1」を、遷移条件3を特定した場合に「追加2」をそれぞれ選定する。   According to the example of the first column of the transition destination column in FIG. 7, when the allocation amount determination unit 51b receives the second positive determination by the wireless status determination unit 51a, the communication status data is set to the contents of each transition condition. When the transition condition is specified in light of the current pattern, “standard” is specified when the transition condition 1 is specified, “addition 1” is specified when the transition condition 2 is specified, and the transition condition 3 is specified Select “Addition 2” respectively.

図7の遷移先の欄第2列の場合は、システムの安定性を考慮して、なるべくメモリ部20の設定を行わない(設定を維持する)ように割当量決定部51bを構成した例である。すなわち、割当量決定部51bは、現パターンが標準であれば、遷移条件1又は2を特定した場合に「標準」を、遷移条件3を特定した場合に「追加1」をそれぞれ選定し、現パターンが追加1であれば、遷移条件1を特定した場合に「標準」を、遷移条件2又は3を特定した場合に「追加1」をそれぞれ選定し、現パターンが追加2又は最大であれば、遷移条件1を特定した場合に「標準」を、遷移条件2又は3を特定した場合に「追加2」をそれぞれ選定する。もっとも、図7の遷移先の欄第3列のように、遷移条件1〜3を、それぞれ追加1、追加2、最大に対応づけて割当パターンを選定するようにしてもよい。また、備考欄に例示したように、遷移条件1を細分化した遷移条件1A〜1Cを用いて、有線端末への通信量に応じた細かな割当パターンの設定を行うようにしてもよい。   In the case of the second column of the transition destination column in FIG. 7, in consideration of system stability, the allocation amount determining unit 51b is configured so as not to set (maintain the setting) the memory unit 20 as much as possible. is there. That is, if the current pattern is standard, the allocation amount determination unit 51b selects “standard” when the transition condition 1 or 2 is specified, and selects “addition 1” when the transition condition 3 is specified. If the pattern is addition 1, select "Standard" when transition condition 1 is specified, select "Addition 1" when transition condition 2 or 3 is specified, and if the current pattern is addition 2 or maximum “Standard” is selected when the transition condition 1 is specified, and “Addition 2” is selected when the transition condition 2 or 3 is specified. However, as in the third column of the transition destination column in FIG. 7, the transition patterns 1 to 3 may be selected in association with addition 1, addition 2, and maximum, respectively. Further, as illustrated in the remarks column, the detailed assignment pattern may be set according to the communication amount to the wired terminal using the transition conditions 1A to 1C obtained by subdividing the transition condition 1.

なお、図1のようなデータ中継装置60の構成は、補助記憶装置に読み込まれたデータ中継プログラムをマイコンもしくはコンピュータ(たとえばパーソナルコンピュータ等)上で実行することにより実現することもできる。データ中継プログラムは、CD−ROM等の情報記憶媒体に記憶され、もしくはインターネット等のネットワークを介して配布され、コンピュータにインストールされることになる。   The configuration of the data relay device 60 as shown in FIG. 1 can also be realized by executing a data relay program read into the auxiliary storage device on a microcomputer or a computer (for example, a personal computer). The data relay program is stored in an information storage medium such as a CD-ROM, or distributed via a network such as the Internet and installed in a computer.

次に、図8に示す割当量設定処理のフローチャートに基づいて、データ中継装置60の動作を説明する。上記の通り、データ中継装置60が起動すると、情報制御部50は、図4に示す標準パターンでのメモリ割当の設定を行い、メモリ部20は、割り当てられた各領域を無線機能等の各機能に提供する。したがって、ここでは、メモリ部20が標準パターンに設定された状態からのメモリ制御を説明する。   Next, the operation of the data relay device 60 will be described based on the flowchart of the allocation amount setting process shown in FIG. As described above, when the data relay device 60 is activated, the information control unit 50 sets memory allocation in the standard pattern shown in FIG. 4, and the memory unit 20 sets each allocated area to each function such as a wireless function. To provide. Therefore, here, the memory control from the state in which the memory unit 20 is set to the standard pattern will be described.

まず、情報管理部51の無線状況判定部51aが、通信管理部40から送信される通信状況データを取得する(図8:ステップS101)。次いで、無線状況判定部51aは、通信状況データに含まれる無線空間情報と有線通信量とをもとに、上記網無線算出式を用いて、網無線通信量(サービス網100から無線空間への通信量)を算出する(図8:ステップS102)。次に、無線状況判定部51aは、算出した網無線通信量が無線通信量よりも多いか否かを判定する(図8:ステップS103)。   First, the wireless status determination unit 51a of the information management unit 51 acquires communication status data transmitted from the communication management unit 40 (FIG. 8: step S101). Next, the wireless state determination unit 51a uses the network wireless calculation formula based on the wireless space information and the wired communication amount included in the communication state data, to determine the network wireless communication amount (from the service network 100 to the wireless space). (Communication amount) is calculated (FIG. 8: step S102). Next, the wireless status determination unit 51a determines whether or not the calculated network wireless communication amount is larger than the wireless communication amount (FIG. 8: Step S103).

ここで、無線状況判定部51aが、網無線通信量が無線通信量よりも多いと判定した場合に(図8:ステップS103/Yes)、割当量決定部51bは、格納部51cから読み出した第1割当量決定条件及び割当パターンテーブルに従ってメモリ部20のメモリ割当量を設定する。すなわち、割当量決定部51bは、通信状況データを図5に示す各遷移条件に照らして、図6のように割当パターンを選定し、選定した割当パターンに基づく設定指令をメモリ設定部52に通知する(図8:ステップS104)。メモリ設定部52は、割当量決定部51bからの設定指令に従って、メモリ部20に対しメモリ割当量の設定を行う(図8:ステップS105)。   Here, when the wireless status determination unit 51a determines that the network wireless communication amount is larger than the wireless communication amount (FIG. 8: Step S103 / Yes), the allocation amount determination unit 51b reads the first read from the storage unit 51c. The memory allocation amount of the memory unit 20 is set according to the one allocation amount determination condition and the allocation pattern table. That is, the allocation amount determination unit 51b selects an allocation pattern as shown in FIG. 6 in light of the communication status data in accordance with each transition condition shown in FIG. 5, and notifies the memory setting unit 52 of a setting command based on the selected allocation pattern. (FIG. 8: Step S104). The memory setting unit 52 sets the memory allocation amount for the memory unit 20 in accordance with the setting command from the allocation amount determination unit 51b (FIG. 8: step S105).

一方、無線状況判定部51aは、網無線通信量が無線通信量以下であると判定した場合(図8:ステップS103/No)、さらに網無線通信量と空き閾値との和よりも無線通信量の方が多いか否かを判定する(図8:ステップS106)。無線状況判定部51aが、網無線通信量と空き閾値との和よりも無線通信量の方が多いと判定すると(図8:ステップS106/Yes)、割当量決定部51bは、格納部51cから読み出した第2割当量決定条件及び割当パターンテーブルに従ってメモリ部20のメモリ割当量を設定する。すなわち、割当量決定部51bは、通信状況データを図5に示す各遷移条件に照らして、図7のように割当パターンを選定し、選定した割当パターンに基づく設定指令をメモリ設定部52に通知する(図8:ステップS107)。メモリ設定部52は、割当量決定部51bからの設定指令に従って、メモリ部20に対し割当量の設定を行う(図8:ステップS108)。   On the other hand, when the wireless status determination unit 51a determines that the network wireless communication amount is equal to or less than the wireless communication amount (FIG. 8: Step S103 / No), the wireless communication amount is more than the sum of the network wireless communication amount and the free threshold. It is determined whether or not there are more (FIG. 8: Step S106). When the wireless status determination unit 51a determines that the wireless communication amount is larger than the sum of the network wireless communication amount and the free threshold (FIG. 8: Yes in step S106), the allocation amount determination unit 51b receives the information from the storage unit 51c. The memory allocation amount of the memory unit 20 is set according to the read second allocation amount determination condition and the allocation pattern table. That is, the allocation amount determination unit 51b selects an allocation pattern as shown in FIG. 7 in light of the communication status data according to each transition condition shown in FIG. 5, and notifies the memory setting unit 52 of a setting command based on the selected allocation pattern. (FIG. 8: Step S107). The memory setting unit 52 sets the allocation amount for the memory unit 20 in accordance with the setting command from the allocation amount determination unit 51b (FIG. 8: Step S108).

これに対し、無線通信量が網無線通信量と空き閾値との和以下であると無線状況判定部51aが判定した場合に、割当量決定部51bは、割当パターンを変更しないという決定(維持する決定)を行い、維持する旨の設定変更指令をメモリ設定部52に通知する(図8:ステップS109)。割当量決定部51bから割当パターンを維持する旨の設定変更指令が通知された場合に、メモリ設定部52はメモリ部20の割当量の設定変更を行わない(設定を維持する)(図8:ステップS110)。   On the other hand, when the wireless status determination unit 51a determines that the wireless communication amount is equal to or less than the sum of the network wireless communication amount and the free threshold, the allocation amount determination unit 51b determines (maintains) that the allocation pattern is not changed. A setting change command to be maintained is notified to the memory setting unit 52 (FIG. 8: step S109). When the setting change command for maintaining the allocation pattern is notified from the allocation amount determination unit 51b, the memory setting unit 52 does not change the setting of the allocation amount of the memory unit 20 (maintains the setting) (FIG. 8: Step S110).

データ中継装置60においては、有線IF管理部40aと無線IF管理部40bとから、定期的に有線空間情報と無線空間情報が通知されるため、情報制御部50は、定期的に図8に基づく動作を実行する。なお、情報制御部50によるメモリ部20の割当設定制御は、予め設定された時間間隔で行うようにしてもよく、また、通信状況の大きな変化を検知した際に行うようにしてもよい。   In the data relay device 60, since the wired space information and the wireless space information are periodically notified from the wired IF management unit 40a and the wireless IF management unit 40b, the information control unit 50 periodically performs the process based on FIG. Perform the action. Note that the allocation setting control of the memory unit 20 by the information control unit 50 may be performed at a preset time interval, or may be performed when a large change in communication status is detected.

(実施形態の効果)
以上のように、データ中継装置60では、網無線算出式から算出した網無線通信量を用いて判定処理を行った後、割当量遷移条件に基づいてメモリ割当量を決定するという手法を採用したため、無線機能に対して、好適なメモリ量を割り当てることができる。すなわち、データ中継装置60によれば、メモリ圧迫度を考慮した柔軟なメモリ設定により、無線機能用のメモリが枯渇することを防止し、音声通話・映像視聴(放送視聴)などのリアルタイム通信の品質を保持することができる。
(Effect of embodiment)
As described above, the data relay device 60 employs the method of determining the memory allocation amount based on the allocation amount transition condition after performing the determination process using the network wireless communication amount calculated from the network wireless calculation formula. A suitable amount of memory can be allocated to the wireless function. That is, according to the data relay device 60, the flexible memory setting in consideration of the degree of memory pressure prevents the wireless function memory from being exhausted, and the quality of real-time communication such as voice call and video viewing (broadcast viewing) is prevented. Can be held.

また、データ中継装置60は、メモリ割当量を減少させる設定を行う機能を有するため、無線空間の状態の変化に応じて、無線機能には不要となったメモリ部20内の記憶領域を、他の機能にて利用できることから、メモリ資源の有効活用を図ることが可能となる。さらに、無線通信よりも優先すべきサービスが運用中の場合において、データ中継装置60は、割当量遷移条件に基づく処理により、無線機能へのメモリ割当量を指定した量に留める設定を行うため、優先すべきサービスの品質を担保することができる。以上のとおり、データ中継装置60によれば、サービスに特化した形で、限られた内容の滞留データのみを選択的に破棄するという処理や、無線通信へのメモリ割当量を変化させて、他のサービスへの影響を軽減させる処理が可能となり、すなわち、メモリ内に蓄積する中継データを円滑に処理し、メモリ資源の有効活用を図ることができる。   In addition, since the data relay device 60 has a function of performing a setting to reduce the memory allocation amount, the storage area in the memory unit 20 that is no longer necessary for the wireless function can be changed according to the change in the state of the wireless space. Therefore, it is possible to effectively use memory resources. Furthermore, when a service that should be prioritized over wireless communication is in operation, the data relay device 60 performs a setting based on the allocation amount transition condition so that the memory allocation amount to the wireless function is limited to the specified amount. The quality of services that should be prioritized can be guaranteed. As described above, according to the data relay device 60, in a form specialized for the service, the process of selectively discarding only the retained data of limited content, or the memory allocation amount for wireless communication is changed, It is possible to reduce the influence on other services, that is, it is possible to smoothly process relay data stored in the memory and to effectively use memory resources.

なお、上述した実施形態は、データ中継装置、方法、及びプログラムにおける好適な具体例であり、技術的に好ましい種々の限定を付している場合もあるが、本発明の技術的範囲は、特に本発明を限定する記載がない限り、これらの態様に限定されるものではない。   The above-described embodiment is a preferable specific example in the data relay apparatus, method, and program, and may have various technically preferable limitations, but the technical scope of the present invention is particularly limited. As long as there is no description which limits this invention, it is not limited to these aspects.

例えば、本実施形態では、無線LANの標準規格であるIEEE802.11をデータ中継装置60に適用した例を説明したが、他の再送が発生する無線通信規格に変更した場合においても、データ中継装置60は、上記同様に動作することができる。また、データ中継装置60は、無線状況判定部51aによる判定処理に際して、サービス網100からの通信量と無線機能が提供できる通信量との間に差分があることを検出できるが(無線差分検出機能)、データ中継装置60に、上記差分があることを外部(ユーザ等)に報知する報知手段を設けるようにしてもよい。すなわち、データ中継装置60にLED等の発光部材を実装し、上記差分を検出した際に該発光部材を点灯させるといった構成を採ってもよい。もっとも、複数個のLEDを設けたり、点灯量の調整が可能な発光部材を採用したりすることで、上記差分の程度を外部に報知できるようにしてもよい。加えて、報知手段による報知の方法としては、保守画面上での文字等による表示や、音声による警告等を採用してもよい。さらに、データ中継装置60で取得した各情報を、サービス提供者のサーバへ通知するようにしてもよく、このようにすれば、ユーザ宅の無線空間の状況を把握することが可能となる。   For example, in the present embodiment, an example in which IEEE 802.11, which is a wireless LAN standard, is applied to the data relay apparatus 60 has been described. However, even when the wireless relay standard is changed to another retransmission, the data relay apparatus 60 can operate in the same manner as described above. Further, the data relay device 60 can detect that there is a difference between the communication amount from the service network 100 and the communication amount that can be provided by the wireless function in the determination processing by the wireless condition determination unit 51a (wireless difference detection function). ) In addition, the data relay device 60 may be provided with a notification unit that notifies the outside (such as a user) that there is the difference. That is, a configuration may be adopted in which a light emitting member such as an LED is mounted on the data relay device 60 and the light emitting member is turned on when the difference is detected. However, the degree of the difference may be notified to the outside by providing a plurality of LEDs or adopting a light emitting member capable of adjusting the lighting amount. In addition, as a notification method by the notification means, display by characters on the maintenance screen, warning by voice, or the like may be employed. Furthermore, each information acquired by the data relay device 60 may be notified to the server of the service provider, and in this way, it is possible to grasp the state of the wireless space of the user's home.

本実施形態では、図4に示すように、基本領域を一定量に設定しているが、通信状況に応じて情報制御部50が基本領域を変化させる制御を行うようにしてもよい。また、割当量決定部51bによるメモリ割当量の決定の手法として、図4及び図5に示す2つのテーブル情報である3つの遷移条件と4つの割当パターンとを組み合わせた決定方法を説明したが、条件及び割当パターンの数や内容を任意に変更するようにしてもよい。もっとも、図4とは異なる割当パターンテーブルや、図5とは異なる割当量遷移条件を採用するようにしてもよい。さらに、情報制御部50が、無線領域のメモリ割当量を、一定の条件に従って段階的に(例えば20%ずつ)増加又は減少させていくような制御を行うようにしてもよい。格納部51cは、情報制御部50の外部に設けるようにしてもよい。   In the present embodiment, as shown in FIG. 4, the basic area is set to a constant amount, but the information control unit 50 may perform control to change the basic area according to the communication status. In addition, as a method of determining the memory allocation amount by the allocation amount determination unit 51b, the determination method that combines the three transition conditions that are the two table information illustrated in FIGS. 4 and 5 and the four allocation patterns has been described. The number and contents of conditions and allocation patterns may be arbitrarily changed. However, an allocation pattern table different from that in FIG. 4 and an allocation amount transition condition different from that in FIG. 5 may be adopted. Furthermore, the information control unit 50 may perform control such that the memory allocation amount in the radio area is increased or decreased stepwise (for example, by 20%) in accordance with a certain condition. The storage unit 51c may be provided outside the information control unit 50.

また、図5に例示した遷移条件1については、有線端末のリンク速度の違い(100Mであるか、10Mであるか、それ以外であるか)によって更に細分化して各割当パターンに対応づけた第1及び第2割当量決定条件を格納部51cに格納しておき、これに従って割当量決定部51bが、割当パターンを決定するようにしてもよい。もっとも、図5では、遷移条件1の細分化の境界として、有線端末への通信量100M、200Mを採用した例を示したが、この細分化の境界としての各通信量も、適宜変更するようにしてもよい。   In addition, the transition condition 1 illustrated in FIG. 5 is further subdivided according to the difference in the link speed of the wired terminal (100M, 10M, or other) and associated with each allocation pattern. The first and second allocation amount determination conditions may be stored in the storage unit 51c, and the allocation amount determination unit 51b may determine the allocation pattern according to this. Of course, FIG. 5 shows an example in which communication amounts 100M and 200M to the wired terminal are adopted as the subdivision boundaries of the transition condition 1, but the communication amounts as the subdivision boundaries are also changed as appropriate. It may be.

なお、本実施形態では、上記の通り、基本領域を一定量に設定しているため、メモリ部20における無線領域の割当量が決まれば、必然的に予備領域の割当量が決まることから、メモリ部20における無線通信への割当量をメモリ割当量と定義したが、基本領域についても変更する設定や、記憶領域をさらに細分化した設定を採用した場合には、メモリ部20の各領域への割当量が、本実施形態におけるメモリ割当量に相当する。   In the present embodiment, since the basic area is set to a constant amount as described above, the allocation amount of the spare area is inevitably determined when the allocation amount of the radio area in the memory unit 20 is determined. Although the allocation amount to the wireless communication in the unit 20 is defined as the memory allocation amount, if the setting for changing the basic area or the setting for further subdividing the storage area is adopted, the allocation to each area of the memory unit 20 is performed. The allocated amount corresponds to the memory allocated amount in the present embodiment.

10 受信部、20 メモリ部(記憶部)、30 送信部、30a アンテナ、40 通信管理部、40a 有線IF管理部、40b 無線IF管理部、50 情報制御部、51 情報管理部、51a 無線状況判定部、51b 割当量決定部、51c 格納部、52 メモリ設定部、60 データ中継装置、100 通信網、110 有線端末、120 電話端末、130 通信端末。   DESCRIPTION OF SYMBOLS 10 Receiving part, 20 Memory part (memory | storage part), 30 Transmitting part, 30a Antenna, 40 Communication management part, 40a Wired IF management part, 40b Wireless IF management part, 50 Information control part, 51 Information management part, 51a Wireless status determination Unit, 51b quota determination unit, 51c storage unit, 52 memory setting unit, 60 data relay device, 100 communication network, 110 wired terminal, 120 telephone terminal, 130 communication terminal.

Claims (9)

外部からデータを受信する受信部と、
前記受信部において受信されたデータを一時記憶する記憶部と、
前記記憶部に一時記憶されたデータを送信する送信部と、
前記受信部及び前記送信部の通信状況を示す通信状況データを送信する通信管理部と、
前記通信管理部から送信された前記通信状況データに基づいて前記記憶部におけるデータの送信先との間の無線通信に対する割当量を決定し、前記記憶部内の記憶領域に、前記割当量に応じた無線通信用の領域を設定する情報制御部と、を有し、
前記情報制御部は、前記受信部が外部から受信するデータのうち前記送信部が無線通信によって送信するデータの量である網無線通信量と、前記通信状況データのうちの前記送信部の通信状況を示すデータに含まれ、無線空間における通信量を示す無線通信量と、から前記割当量を決定することを特徴とするデータ中継装置。
A receiving unit for receiving data from the outside;
A storage unit for temporarily storing data received by the receiving unit;
A transmission unit for transmitting data temporarily stored in the storage unit;
A communication management unit for transmitting the communication status data indicating the communication status of the receiving unit and the transmitting unit,
Based on the communication status data transmitted from the communication management unit, the determining the quota for the wireless communication between the transmission destination of the data in the storage unit, the storage area in the storage unit, according to the quota an information control section for setting the area for wireless communication with, have a,
The information control unit includes a network wireless communication amount that is an amount of data that the transmission unit transmits by wireless communication among data received by the reception unit from the outside, and a communication state of the transmission unit in the communication state data A data relay device , wherein the allocation amount is determined from a wireless communication amount included in data indicating a communication amount in a wireless space .
前記受信部は、サービス網に少なくとも接続されており、
記情報制御部は、
前記受信部が前記サービス網から受信するデータの総量から、前記通信状況データのうちの前記受信部の通信状況を示すデータの量を差し引くことで、前記網無線通信量を算出し、前記網無線通信量が前記無線通信量よりも多いか否かを判定する無線状況判定部と、
前記無線状況判定部による判定結果に応じて前記割当量の決定を行う割当量決定部と、を有することを特徴とする請求項1に記載のデータ中継装置。
The receiver is at least connected to a service network;
Before Symbol information control unit,
From the total amount of data that the receiving unit receives from the service network, by subtracting the amount of data indicating the communication status of the reception unit of the communication status data, issues calculate the network radio traffic, the network radio A wireless status determination unit that determines whether the communication amount is greater than the wireless communication amount;
The data relay device according to claim 1, further comprising: an allocation amount determination unit that determines the allocation amount according to a determination result by the wireless status determination unit.
前記割当量決定部は、前記通信状況データを前記判定結果に関連づけられた割当量決定条件に照らして前記割当量を決定することを特徴とする請求項2に記載のデータ中継装置。   The data relay device according to claim 2, wherein the allocation amount determination unit determines the allocation amount in light of an allocation determination condition associated with the determination result for the communication status data. 前記情報制御部は、
前記割当量を定めた複数の割当パターンと、前記判定結果及び前記各割当パターンに関連づけられた割当量決定条件と、を有しており、
前記割当量決定部は、前記割当量を決定する際に、前記通信状況データを前記割当量決定条件に照らして前記各割当パターンの何れか1つを選定することを特徴とする請求項2に記載のデータ中継装置。
The information control unit
A plurality of allocation patterns that define the allocation amount, and a determination result and an allocation amount determination condition associated with each allocation pattern,
3. The allocation amount determination unit, when determining the allocation amount, selects any one of the allocation patterns in light of the communication status data according to the allocation amount determination condition. The data relay device described.
前記無線状況判定部は、前記網無線通信量が前記無線通信量以下であると判定した場合に、前記無線通信量が、前記網無線通信量に予め設定された閾値を加えた量よりも多いか否かを判定する閾値判定機能を有し、
前記割当量決定部は、前記割当量の決定をする際に、前記閾値判定機能による判定の結果を参照することを特徴とする請求項2〜4の何れか1項に記載のデータ中継装置。
When the wireless status determination unit determines that the network wireless communication amount is equal to or less than the wireless communication amount, the wireless communication amount is larger than an amount obtained by adding a preset threshold to the network wireless communication amount. A threshold determination function for determining whether or not
5. The data relay device according to claim 2, wherein the allocation amount determination unit refers to a determination result by the threshold determination function when determining the allocation amount. 6.
前記割当量決定部は、前記無線状況判定部において前記無線通信量が前記網無線通信量に前記閾値を加えた量以下であると判定された場合に、前記割当量を維持する決定を行うことを特徴とする請求項5に記載のデータ中継装置。   The allocation amount determination unit determines to maintain the allocation amount when the wireless status determination unit determines that the wireless communication amount is equal to or less than an amount obtained by adding the threshold to the network wireless communication amount. The data relay device according to claim 5. 前記通信状況データには、前記受信部において受信した各データの優先度が含まれており、
前記情報制御部は、前記割当量の決定に際して前記優先度を参酌することを特徴とする請求項1〜6の何れか1項に記載のデータ中継装置。
The communication status data includes the priority of each data received by the receiving unit,
The data relay apparatus according to claim 1, wherein the information control unit considers the priority when determining the allocation amount.
外部からデータを受信する受信ステップと、
前記受信ステップにおいて受信されたデータを記憶部に一時記憶する記憶ステップと、
前記記憶部に一時記憶されたデータを送信する送信ステップと、
前記受信ステップ及び前記送信ステップにおける通信の状況を示す通信状況データを出力する出力ステップと、
前記出力ステップによって出力された前記通信状況データに基づいて前記記憶部におけるデータの送信先との間の無線通信に対する割当量を決定する決定ステップと、
記記憶部内の記憶領域に、前記割当量に応じた無線通信用の領域を設定する領域設定ステップと、を有し、
前記決定ステップでは、前記受信ステップにおいて外部から受信するデータのうち前記送信ステップでの無線通信によって送信するデータの量である網無線通信量と、前記通信状況データのうちの前記送信ステップにおける通信状況を示すデータに含まれ、無線空間における通信量を示す無線通信量と、から前記割当量を決定することを特徴とするデータ中継方法。
A receiving step for receiving data from the outside;
A storage step of temporarily storing the data received in the reception step in a storage unit;
A transmission step of transmitting data temporarily stored in the storage unit;
An output step of outputting a communication status data indicating the status of communication in the receiving step and said transmitting step,
A determination step of, based on the communication status data outputted by said output step, to determine a quota for the wireless communication between the transmission destination of data in the storage unit,
The storage area before Symbol in the storage unit, have a, an area setting step of setting a region for wireless communications in accordance with the quota,
In the determining step, a network wireless communication amount that is an amount of data transmitted by wireless communication in the transmitting step among data received from the outside in the receiving step, and a communication status in the transmitting step in the communication status data A data relay method comprising: determining the allocated amount from a wireless communication amount that is included in the data indicating the amount of communication in a wireless space .
外部からデータを受信する受信手段、
前記受信手段によって受信されたデータを記憶部に一時記憶する記憶手段、
前記記憶部に一時記憶されたデータを送信する送信手段、
前記受信手段及び前記送信手段による通信の状況を示す通信状況データを送信する通信管理手段、
前記通信管理手段により送信された前記通信状況データに基づいて前記記憶部におけるデータの送信先との間の無線通信に対する割当量を決定する決定手段、
び前記記憶部内の記憶領域に、前記割当量に応じた無線通信用の領域を設定する領域設定手段、としてコンピュータを機能させ
前記決定手段は、前記受信手段が外部から受信するデータのうち前記送信手段が無線通信によって送信するデータの量である網無線通信量と、前記通信状況データのうちの前記送信手段の通信状況を示すデータに含まれ、無線空間における通信量を示す無線通信量と、から前記割当量を決定することを特徴とするデータ中継プログラム。
Receiving means for receiving data from outside,
Storage means for temporarily storing data received by the receiving means in a storage unit;
Transmitting means for transmitting data temporarily stored in the storage unit;
Communication management means for transmitting the communication status data indicating the status of communication by the receiving means and the transmitting means,
Based on the communication status data transmitted by the communication management means, determining means for determining the quota for the wireless communication between the transmission destination of data in the storage unit,
In a storage area of及beauty before Symbol in the storage unit, area setting means for setting a region for wireless communications in accordance with the quota, cause the computer to function as,
The determination means includes a network wireless communication amount that is an amount of data transmitted by the transmission means by wireless communication among data received from the outside by the reception means, and a communication status of the transmission means in the communication status data. A data relay program that determines the allocated amount from a wireless communication amount that is included in the indicated data and indicates a communication amount in a wireless space .
JP2014174881A 2014-08-29 2014-08-29 Data relay apparatus, data relay method, and data relay program Active JP6350124B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014174881A JP6350124B2 (en) 2014-08-29 2014-08-29 Data relay apparatus, data relay method, and data relay program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014174881A JP6350124B2 (en) 2014-08-29 2014-08-29 Data relay apparatus, data relay method, and data relay program

Publications (2)

Publication Number Publication Date
JP2016051944A JP2016051944A (en) 2016-04-11
JP6350124B2 true JP6350124B2 (en) 2018-07-04

Family

ID=55659175

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014174881A Active JP6350124B2 (en) 2014-08-29 2014-08-29 Data relay apparatus, data relay method, and data relay program

Country Status (1)

Country Link
JP (1) JP6350124B2 (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4302339B2 (en) * 2001-10-18 2009-07-22 三菱電機株式会社 Data distribution management device, data distribution management system, and data distribution management method
TW201101752A (en) * 2002-05-10 2011-01-01 Interdigital Tech Corp Cognitive flow control based on channel quality conditions
JP4268071B2 (en) * 2004-02-25 2009-05-27 株式会社エヌ・ティ・ティ・ドコモ COMMUNICATION DEVICE, TRANSMITTER, COMMUNICATION SYSTEM AND COMMUNICATION METHOD
JP5270284B2 (en) * 2008-09-26 2013-08-21 京セラ株式会社 Relay device and buffer amount control method
JP5267107B2 (en) * 2008-12-24 2013-08-21 住友電気工業株式会社 Communication device

Also Published As

Publication number Publication date
JP2016051944A (en) 2016-04-11

Similar Documents

Publication Publication Date Title
EP3410641B1 (en) Network-traffic control method and network device thereof
US9143456B2 (en) Transmission priority paths in mesh networks
KR100914940B1 (en) Method and apparatus for controlling wireless medium congestion by adjusting contention window size and disassociating selected mobile stations
JP4847541B2 (en) Method and apparatus for resolving data packet traffic congestion
JP4740338B2 (en) Communication apparatus and communication method
US8699333B2 (en) Congestion-based traffic shaping for distributed queuing in shared-media communication networks
CN101646259B (en) Wireless local area network empty opening rate-limiting method and wireless network device
KR100875739B1 (en) Apparatus and method for packet buffer management in IP network system
CN101141406B (en) Distributed flow control method, system and device
JP6304993B2 (en) Wireless communication system and wireless communication method
KR20170042339A (en) Access network congestion control method, base station device, and policy and charging rules function network element
CN104247542A (en) Communication control device, communication control method, control method, communication control program, and recording medium
CN111131061A (en) A data transmission method and network device
US20250158926A1 (en) Low latency, low loss, scalable throughput latency improvement
US11025551B2 (en) Weighted fair queueing using severity-based window in reliable packet delivery network
CN112787919A (en) Message transmission method and device and readable medium
JP6350124B2 (en) Data relay apparatus, data relay method, and data relay program
WO2011013768A1 (en) Wireless terminal and transmission speed prediction method
US8149694B2 (en) Enforcing fairness in ad hoc mesh networks
WO2025106692A1 (en) Low latency, low loss, scalable throughput latency improvement
JP2015050591A (en) Information processing apparatus, information processing method, and program
JP6254824B2 (en) COMMUNICATION DEVICE, DATA TRANSMISSION METHOD, AND DATA TRANSMISSION PROGRAM
CN101119257A (en) Ack tactics configuring method and corresponding device
JP7315198B2 (en) Wireless communication system and method
JP3884324B2 (en) COMMUNICATION CONTROL DEVICE AND COMMUNICATION CONTROL METHOD

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20170515

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20180213

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180412

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: 20180508

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180521

R150 Certificate of patent or registration of utility model

Ref document number: 6350124

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150