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
JP5176743B2 - Communication control device and communication control method - Google Patents
[go: Go Back, main page]

JP5176743B2 - Communication control device and communication control method - Google Patents

Communication control device and communication control method Download PDF

Info

Publication number
JP5176743B2
JP5176743B2 JP2008188577A JP2008188577A JP5176743B2 JP 5176743 B2 JP5176743 B2 JP 5176743B2 JP 2008188577 A JP2008188577 A JP 2008188577A JP 2008188577 A JP2008188577 A JP 2008188577A JP 5176743 B2 JP5176743 B2 JP 5176743B2
Authority
JP
Japan
Prior art keywords
communication
communication module
unit
predetermined value
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2008188577A
Other languages
Japanese (ja)
Other versions
JP2010028529A (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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP2008188577A priority Critical patent/JP5176743B2/en
Publication of JP2010028529A publication Critical patent/JP2010028529A/en
Application granted granted Critical
Publication of JP5176743B2 publication Critical patent/JP5176743B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Description

本発明は、LANを用いた通信を制御する通信制御装置および通信制御方法に関する。   The present invention relates to a communication control device and a communication control method for controlling communication using a LAN.

計算機が接続されるネットワーク(例えば、LAN)では、一般的に、ブロードキャストが多発する現象であるいわゆる「ブロードキャストストーム」が発生する場合がある。ブロードキャストストームの対策が施されていない一般的な計算機が接続されたネットワークにおいてブロードキャストストームが発生した場合、当該計算機にて多量の受信データを処理するためにリソース(例えば、CPUが実行可能な処理件数)が消費され、CPUが他の処理を実行できなくなってしまうおそれがあるという問題点がある。   In a network (for example, a LAN) to which computers are connected, there is a case where a so-called “broadcast storm”, which is a phenomenon in which broadcasts frequently occur, generally occurs. When a broadcast storm occurs in a network to which a general computer that does not take measures against broadcast storms is connected, resources (for example, the number of processes that can be executed by the CPU) to process a large amount of received data in the computer ) Is consumed, and the CPU may not be able to execute other processes.

このような問題点を回避するために、通信パケットが多量に送信されるブロードキャストストームなどの現象が発生した場合でも、計算機の動作を継続させるための各種の技術が提案されている。   In order to avoid such problems, various techniques have been proposed for continuing the operation of a computer even when a phenomenon such as a broadcast storm in which a large amount of communication packets are transmitted occurs.

例えば、ブロードキャストストームがネットワーク上で発生した場合、当該ネットワークと接続された端末装置が有する機能すべてが停止してしまうことを回避する技術が考えられている(例えば、特許文献1参照。)。特許文献1に開示された技術では、端末装置が所定時間内に受信するパケットの数が所定値以上である場合、端末装置をネットワークから論理的に一旦切り離す。これにより、端末装置が有する機能のうちで通信機能以外の機能については、その動作を維持する。また、特許文献1に開示された技術では、所定期間が経過したときに、切り離されていた端末装置をネットワークと再度接続する。   For example, when a broadcast storm occurs on a network, a technique for avoiding that all functions of a terminal device connected to the network are stopped is considered (for example, see Patent Document 1). In the technique disclosed in Patent Literature 1, when the number of packets received by a terminal device within a predetermined time is equal to or greater than a predetermined value, the terminal device is logically temporarily disconnected from the network. Thereby, operation | movement is maintained about functions other than a communication function among the functions which a terminal device has. Moreover, in the technique disclosed in Patent Document 1, when a predetermined period has elapsed, the disconnected terminal device is reconnected to the network.

また、複数のバスと接続されたネットワーク装置にて、データの衝突や障害によりデータが破壊される現象である「JAM」が発生した端末装置を通信に使用しない予備系バスへ接続することにより、通信に使用する現用系バスから切り離す技術が考えられている(例えば、特許文献2参照。)。特許文献2に開示されている技術では、JAMの発生を検出した場合、現用系バスと接続されている複数の端末装置すべてを2つのグループに分別し、その一方のグループを予備系バスと接続する。そして、分別した2つのグループのうちからJAMが発生しているグループを判別し、JAMが発生しているグループの端末装置すべてを予備系バスへ接続し、JAMが発生していないグループの端末装置すべてを現用系バスへ接続する。このような動作を繰り返し実行することにより、JAMが発生している端末装置を特定し、当該端末装置を現用系バスから切り離す。   In addition, by connecting a terminal device in which “JAM”, which is a phenomenon in which data is destroyed due to data collision or failure, in a network device connected to a plurality of buses to a standby bus that is not used for communication, A technique of disconnecting from an active bus used for communication has been considered (for example, see Patent Document 2). In the technique disclosed in Patent Document 2, when the occurrence of JAM is detected, all of the plurality of terminal devices connected to the active bus are separated into two groups, and one of the groups is connected to the standby bus. To do. Then, the group in which JAM is generated is determined from the two separated groups, all the terminal devices of the group in which JAM is generated are connected to the standby bus, and the terminal device of the group in which JAM is not generated Connect everything to the working bus. By repeatedly executing such an operation, the terminal device in which the JAM is generated is specified, and the terminal device is disconnected from the active bus.

また、計算機が具備するCPUの使用率に基づいて、CPUの処理対象である通信パケットの送受信に用いるネットワークのトラヒックを規制するトラヒック規制処理方法が考えられている(例えば、特許文献3参照。)。このトラヒック規制処理方法では、CPUの使用率を監視するとともに、計算機に接続されている通信パケット送受信用のすべての回線の使用率それぞれを常時監視する。そして、CPUの使用率が所定の閾値を超過し、かつ、いずれかの回線の使用率が所定値を超過した場合、受信不可を示すRNR(Receive Not Ready)パケットを該所定値を超過した回線を介して接続先へ送信したり、該回線を介して通信パケットを接続先へ送信するタイミングを遅延させる。
国際公開2005/043827号パンフレット 特開2000−004239号公報 特開平07−336390号公報
Further, a traffic regulation processing method that regulates network traffic used for transmission / reception of communication packets to be processed by the CPU based on the usage rate of the CPU included in the computer is considered (for example, see Patent Document 3). . In this traffic regulation processing method, the usage rate of the CPU is monitored, and the usage rates of all the lines for transmitting and receiving communication packets connected to the computer are constantly monitored. When the CPU usage rate exceeds a predetermined threshold and the usage rate of any of the lines exceeds a predetermined value, an RNR (Receive Not Ready) packet indicating that reception is not possible is a line that exceeds the predetermined value. The timing of transmitting to the connection destination via the network or the timing of transmitting the communication packet to the connection destination via the line is delayed.
International Publication No. 2005/043827 Pamphlet JP 2000-004239 A JP 07-336390 A

特許文献1に開示された技術では、端末装置と接続されているネットワークにてブロードキャストストームが発生した場合、該端末装置が切り離された直後から所定期間が経過するまでの間、当該端末を用いて通信を行うことができなくなってしまうという問題点がある。   In the technique disclosed in Patent Document 1, when a broadcast storm occurs in a network connected to a terminal device, the terminal is used until a predetermined period elapses immediately after the terminal device is disconnected. There is a problem that communication cannot be performed.

特許文献2に開示された技術では、現用系バスと接続された複数の端末装置のうちからJAMが発生している端末装置を特定できるまで、端末装置のグループ分けと、グループに分けられた端末装置の現用系バスと予備系バスとの間における接続の切替とが繰り返し行われる。そのため、JAMが発生している端末装置を特定する期間中、正常に動作している端末装置が行う通信にも影響が及んでしまうという問題点がある。   In the technology disclosed in Patent Document 2, grouping of terminal devices and terminals divided into groups until a terminal device in which JAM is generated can be identified from among a plurality of terminal devices connected to an active bus. Switching of the connection between the active bus and the standby bus of the apparatus is repeatedly performed. For this reason, there is a problem in that communication performed by a normally operating terminal device is also affected during the period of specifying a terminal device in which JAM has occurred.

また、特許文献3に開示されたトラヒック規制処理方法では、計算機と接続された複数の回線すべての使用率を常時監視する。そのため、通信処理には直接寄与しない当該回線の使用率の監視処理による、CPUへの負荷が大きくなってしまうという問題点がある。さらに、特許文献3に開示されたトラヒック規制処理方法によれば、1つのCPUが、計算機と接続された複数の回線すべてによる通信処理を同時に実行する。複数の回線すべてのうちに使用率が高い回線が含まれている場合には、当該回線を用いた通信によるCPUに対する処理負荷が増大する。そのため、処理負荷の増大が大きなものである場合には、該CPUによって実行されている他の回線に関する通信処理にも影響を及ぼしてしまうおそれがあるという問題点がある。   Further, in the traffic regulation processing method disclosed in Patent Document 3, the usage rates of all of the plurality of lines connected to the computer are constantly monitored. Therefore, there is a problem in that the load on the CPU increases due to the monitoring process of the usage rate of the line that does not directly contribute to the communication process. Furthermore, according to the traffic regulation processing method disclosed in Patent Document 3, one CPU simultaneously executes communication processing using all of a plurality of lines connected to a computer. When a line with a high usage rate is included in all of the plurality of lines, the processing load on the CPU due to communication using the line increases. For this reason, when the increase in processing load is large, there is a problem in that communication processing related to other lines being executed by the CPU may be affected.

本発明は、上述した課題を解決する通信制御装置および通信制御方法を提供することを目的とする。   An object of this invention is to provide the communication control apparatus and communication control method which solve the subject mentioned above.

上記課題を解決するために、本発明の通信制御装置は、複数のネットワークにそれぞれ接続された複数の通信モジュールと、該複数の通信モジュールのうち1つの通信モジュールを選択する通信切替機構と、該選択された通信モジュールが受信したデータを処理する複数の制御部とを有する通信制御装置において、前記通信モジュールは、前記通信モジュールが受信したデータの数である受信データ数を所定期間において計数する受信データ計数部と、前記受信データ計数部が前記所定期間において計数した受信データ数と第1の所定値とを比較する比較部と、を有し、前記通信切替機構は、前記比較部にて受信データ数が前記第1の所定値以上であると判別した場合に、前記制御部が実行中である通信処理の大きさを示す処理負荷と第2の所定値とを比較する負荷判別部と、前記負荷判別部にて前記処理負荷が前記第2の所定値以上であると判別した場合に、選択する通信モジュールを、現在選択中の通信モジュールから該現在選択中の通信モジュール以外の通信モジュールへ切り替える切替制御部とを有することを特徴とする。   In order to solve the above problems, a communication control device of the present invention includes a plurality of communication modules respectively connected to a plurality of networks, a communication switching mechanism that selects one communication module among the plurality of communication modules, A communication control apparatus having a plurality of control units that process data received by the selected communication module, wherein the communication module counts the number of received data, which is the number of data received by the communication module, in a predetermined period; A data counting unit; and a comparing unit that compares the number of received data counted by the received data counting unit in the predetermined period with a first predetermined value, and the communication switching mechanism receives the data at the comparing unit. When it is determined that the number of data is greater than or equal to the first predetermined value, the processing load indicating the size of the communication process being executed by the control unit and the second When the load determination unit determines that the processing load is equal to or greater than the second predetermined value, the communication module to be selected is selected from the currently selected communication module. And a switching control unit that switches to a communication module other than the selected communication module.

上記課題を解決するために、本発明の通信制御方法は、複数のネットワークにそれぞれ接続された複数の通信モジュールと、該複数の通信モジュールのうち1つの通信モジュールを選択する通信切替機構と、該選択された通信モジュールが受信したデータを処理する複数の制御部とを有する通信制御装置における通信制御方法であって、前記通信モジュールが、該通信モジュールが受信したデータの数である受信データ数を所定期間において計数する受信データ計数処理と、前記通信モジュールが、前記受信データ計数処理にて前記所定期間において計数した受信データ数と第1の所定値とを比較する比較処理と、前記通信切替機構が、前記比較処理にて受信データ数が前記第1の所定値以上であると判別した場合に、前記制御部が実行中である通信処理の大きさを示す処理負荷と第2の所定値とを比較する負荷判別処理と、前記通信切替機構が、前記負荷判別処理にて前記処理負荷が前記第2の所定値以上であると判別した場合に、選択する通信モジュールを、現在選択中の通信モジュールから該現在選択中の通信モジュール以外の通信モジュールへ切り替える切替制御処理とを有する。   In order to solve the above problems, a communication control method of the present invention includes a plurality of communication modules respectively connected to a plurality of networks, a communication switching mechanism that selects one communication module among the plurality of communication modules, A communication control method in a communication control device having a plurality of control units that process data received by a selected communication module, wherein the communication module sets a received data number that is the number of data received by the communication module. A reception data counting process that counts in a predetermined period; a comparison process in which the communication module compares the number of received data counted in the predetermined period in the reception data counting process with a first predetermined value; and the communication switching mechanism However, when it is determined in the comparison process that the number of received data is greater than or equal to the first predetermined value, the control unit is executing A load determination process for comparing a processing load indicating the size of the communication process to be performed and a second predetermined value; and the communication switching mechanism is configured such that the processing load is equal to or greater than the second predetermined value in the load determination process. Switching control processing for switching the communication module to be selected from the currently selected communication module to a communication module other than the currently selected communication module.

本発明によれば、複数のネットワークにそれぞれ接続された複数の通信モジュールと、複数の通信モジュールのうち1つの通信モジュールを選択する通信切替機構と、選択された通信モジュールが受信したデータを処理する複数の制御部とを有する通信制御装置において、通信モジュールが受信したデータの数である受信データ数を所定期間において計数し、所定期間において計数した受信データ数と第1の所定値とを比較し、受信データ数が第1の所定値以上であると判別した場合に、制御部が実行中である通信処理の大きさを示す処理負荷と第2の所定値とを比較し、処理負荷が第2の所定値以上であると判別した場合に、選択する通信モジュールを、現在選択中の通信モジュールから該現在選択中の通信モジュール以外の通信モジュールへ切り替える。   According to the present invention, a plurality of communication modules respectively connected to a plurality of networks, a communication switching mechanism for selecting one communication module among the plurality of communication modules, and data received by the selected communication module are processed. In a communication control device having a plurality of control units, the number of received data, which is the number of data received by the communication module, is counted in a predetermined period, and the number of received data counted in the predetermined period is compared with a first predetermined value. When it is determined that the number of received data is greater than or equal to the first predetermined value, the processing load indicating the size of the communication process being executed by the control unit is compared with the second predetermined value. If the communication module is determined to be equal to or greater than the predetermined value of 2, the communication module to be selected is changed from the currently selected communication module to a communication module other than the currently selected communication module. Switch to.

このような構成としたため、通信制御装置に対する処理負荷を抑えつつ、該通信制御装置が通信に用いるネットワークの切替を好適に行うことができる。   With such a configuration, it is possible to suitably switch the network that the communication control apparatus uses for communication while suppressing the processing load on the communication control apparatus.

以下、本発明の実施形態に従った通信制御装置1(通信制御方法を含む)を説明する。   Hereinafter, a communication control device 1 (including a communication control method) according to an embodiment of the present invention will be described.

先ず、本実施形態の通信制御装置1の構成を説明する。図1に示すように、通信制御装置1は、LAN(Local Area Network)カード2−1、2−2と、LAN切替機構3と、CPU(Central Processing Unit)4−1〜4−nとから構成される。ここに、nはCPUの数であり、任意の自然数である。   First, the configuration of the communication control device 1 of the present embodiment will be described. As shown in FIG. 1, the communication control device 1 includes LAN (Local Area Network) cards 2-1 and 2-2, a LAN switching mechanism 3, and CPUs (Central Processing Units) 4-1 to 4-n. Composed. Here, n is the number of CPUs, and is an arbitrary natural number.

LANカード2−1、2−2は、外部とデータを送受信するための「通信モジュール」である。なお、LANカード2−1、2−2が接続されるネットワークNWの通信形態は特に限定しないが、本実施形態では有線接続されたLANにおける通信を例に挙げて説明する。また、図1に示した形態においては、通信制御装置1が接続されるネットワークNWの数が2つである場合を例に挙げて示したが、3つ以上(LANカードの数もネットワークNWの数に対応して3つ以上)であってもよい。   The LAN cards 2-1 and 2-2 are “communication modules” for transmitting and receiving data to and from the outside. Note that the communication form of the network NW to which the LAN cards 2-1 and 2-2 are connected is not particularly limited, but in the present embodiment, description will be given taking communication in a wired LAN as an example. In the form shown in FIG. 1, the case where the number of network NWs to which the communication control device 1 is connected is two is shown as an example, but three or more (the number of LAN cards is also the number of network NWs). It may be 3 or more corresponding to the number.

LAN切替機構3は、「通信切替処理」を実行することにより、通信動作を実行させるLANカード2−1、2−2を選択する「通信切替機構」である。   The LAN switching mechanism 3 is a “communication switching mechanism” that selects the LAN cards 2-1 and 2-2 that execute a communication operation by executing a “communication switching process”.

CPU4−1〜4−nは、各LANカード2−1、2−2が受信したデータ(以下、「受信データ」という)を処理するための「制御部」である。また、CPU4−1〜4−nは、LAN切替機構3から送信される後述のCPU負荷取得要求に応答して、現在実行している処理の大きさを示す情報であるCPU負荷情報を送信する機能を有する。   The CPUs 4-1 to 4-n are “control units” for processing data received by the LAN cards 2-1 and 2-2 (hereinafter referred to as “received data”). Further, the CPUs 4-1 to 4-n transmit CPU load information, which is information indicating the size of the currently executed process, in response to a CPU load acquisition request described later transmitted from the LAN switching mechanism 3. It has a function.

なお、CPU4−1〜4−nの数「n」と、LANカード2−1〜2−2の数とを同数としてもよい。この場合、CPU4−1〜4−nそれぞれがLANカード2−1〜2−2ごとの制御を個別に実行できるよう、各CPU4−1〜4−nを独立的に構成してもよい。   The number “n” of the CPUs 4-1 to 4-n and the number of the LAN cards 2-1 to 2-2 may be the same. In this case, each of the CPUs 4-1 to 4-n may be independently configured so that each of the CPUs 4-1 to 4-n can individually execute the control for each of the LAN cards 2-1 to 2-2.

つぎに、LANカード2−1、2−2の構成について、詳細に説明する。なお、LANカード2−1、2−2は同一の構成を有するため、以下では、LANカード2−1を例に挙げて説明する。   Next, the configuration of the LAN cards 2-1 and 2-2 will be described in detail. Since the LAN cards 2-1 and 2-2 have the same configuration, the LAN card 2-1 will be described below as an example.

図2に示すように、LANカード2−1は、データ受信部21−1と、受信データ計数部22−1と、比較部23−1と、通知部24−1と、通信状態保持部25−1とを有する。   As shown in FIG. 2, the LAN card 2-1 includes a data receiving unit 21-1, a received data counting unit 22-1, a comparison unit 23-1, a notification unit 24-1, and a communication state holding unit 25. -1.

データ受信部21−1は、「データ受信処理」を実行し、図1に示したネットワークNWを介して外部からデータを受信する。そして、データ受信部21−1は、受信データをCPU4−1〜4−nのいずれかに送信する。なお、データ受信部21−1は、通信状態保持部25−1が保持している後述する「通信状態情報250−1」を参照し、通信状態情報250−1が示す通信状態に対応したデータ受信動作を実行する。   The data reception unit 21-1 executes “data reception processing” and receives data from the outside via the network NW illustrated in FIG. Then, the data receiving unit 21-1 transmits the received data to any of the CPUs 4-1 to 4-n. The data receiving unit 21-1 refers to “communication state information 250-1” described later held by the communication state holding unit 25-1, and data corresponding to the communication state indicated by the communication state information 250-1. Perform a receive operation.

例えば、データ受信部21−1を具備するLANカード2−1がネットワークNWから切り離されていることを通信状態情報250−1が示していれば、データ受信部21−1は、「データ破棄処理」を実行し、受信データを破棄する。ここで、LANカード2−1がネットワークNWから切り離されている状態とは、LANカード2−1が論理的に切り離されている状態を指す。この状態には、例えば、LANカード2−1が通信動作を実行しない待機状態、LANカード2−1への電力供給が停止されている停止状態などである。   For example, if the communication status information 250-1 indicates that the LAN card 2-1 including the data receiving unit 21-1 is disconnected from the network NW, the data receiving unit 21-1 “ ”And discard the received data. Here, the state where the LAN card 2-1 is disconnected from the network NW indicates a state where the LAN card 2-1 is logically disconnected. This state includes, for example, a standby state in which the LAN card 2-1 does not execute a communication operation, a stopped state in which power supply to the LAN card 2-1 is stopped, and the like.

また、データ受信部21−1は、LAN切替機構3により送信される後述の受信割込指示信号に応答して、「受信割込処理」を実行する。この「受信割込処理」において、データ受信部21−1は、CPU4−1〜4−nのいずれかに対して、データ受信処理の割込をかけるための「受信割込信号」を送信し、ネットワークNWを介して送信されてきたデータを受信する。   In addition, the data reception unit 21-1 executes “reception interrupt processing” in response to a later-described reception interrupt instruction signal transmitted by the LAN switching mechanism 3. In this “reception interrupt process”, the data reception unit 21-1 transmits a “reception interrupt signal” for interrupting the data reception process to any of the CPUs 4-1 to 4-n. The data transmitted via the network NW is received.

受信データ計数部22−1は、「受信データ計数処理」を実行し、データ受信部211が受信したデータの数(以下、「受信データ数」という)をカウント(計数)する。受信データ計数部22−1は、この「受信データ計数処理」を所定の計数実行期間ごとに実行する。なお、受信データ計数部22−1による受信データ数のカウント方法については、特に限定しない。例えば、データ受信部21−1がデータを受信したときに、受信データ計数部22−1が自ら保持する受信データ数のレジスタの現在値に「1」を加算する一般的なカウント方法であってもよい。   The reception data counting unit 22-1 executes “reception data counting processing” and counts (counts) the number of data received by the data reception unit 211 (hereinafter referred to as “the number of reception data”). The reception data counting unit 22-1 executes this “reception data counting process” every predetermined count execution period. Note that the method of counting the number of received data by the received data counting unit 22-1 is not particularly limited. For example, when the data receiving unit 21-1 receives data, the received data counting unit 22-1 is a general counting method of adding “1” to the current value of the register of the number of received data held by itself. Also good.

また、受信データ計数部22−1は、「受信データ数初期化処理」を実行し、所定の計数実行期間内にて計数した受信データ数を初期化する。受信データ数の初期化方法については特に限定しないが、例えば、受信データ数を計数するためのカウンタが保持する値を「0」に設定(クリア)する一般的な初期化方法であってもよい。   In addition, the reception data counting unit 22-1 executes “reception data number initialization processing” to initialize the number of reception data counted within a predetermined count execution period. The initialization method for the number of received data is not particularly limited. For example, a general initialization method for setting (clearing) a value held by a counter for counting the number of received data to “0” may be used. .

比較部23−1は、「受信データ数読出処理」を実行し、所定の読出実行期間ごとに受信データカウンタ22−1が計数した受信データ数を読み出す。続いて、比較部23−1は、「比較処理」を実行し、読み出した受信データ数と「第1の所定値」との比較により、受信データ数が第1の所定値以上か否かを判別する。なお、この「第1の所定値」は、ネットワークNWからLANカード2−1に対してデータが多量に送信されてきたか否かを受信データ数に基づいて判別するための基準値である。データが多量に送信されてくる場合とは、例えば、ブロードキャストが多発するブロードキャストストームが発生した場合である。「第1の所定値」は、例えば、ブロードキャストストームの発生時に、データ受信部21−1が受信すると想定されるデータの数にあらかじめ設定されている。   The comparison unit 23-1 executes the “reception data number reading process” and reads the reception data number counted by the reception data counter 22-1 for each predetermined read execution period. Subsequently, the comparison unit 23-1 executes “comparison processing” and determines whether the number of received data is equal to or greater than a first predetermined value by comparing the read received data number with a “first predetermined value”. Determine. The “first predetermined value” is a reference value for determining whether or not a large amount of data has been transmitted from the network NW to the LAN card 2-1 based on the number of received data. A case where a large amount of data is transmitted is, for example, a case where a broadcast storm in which broadcasts occur frequently occurs. The “first predetermined value” is set in advance to, for example, the number of data expected to be received by the data receiving unit 21-1 when a broadcast storm occurs.

通知部24−1は、受信データ数が「第1の所定値」以上であると比較部213が判別した場合、「通知処理」を実行する。「通知処理」では、通知部24−1は、受信データ数の判別の結果、LAN通信に関して異常の可能性(予兆)がある旨を示す「受信データ数異常通知NF」をLAN切替機構3に送信する。   When the comparison unit 213 determines that the number of received data is greater than or equal to the “first predetermined value”, the notification unit 24-1 performs “notification processing”. In the “notification process”, the notification unit 24-1 notifies the LAN switching mechanism 3 of a “received data number abnormality notification NF” indicating that there is a possibility (a sign) of abnormality in LAN communication as a result of the determination of the received data number. Send.

通信状態保持部25−1は、「通信状態保持処理」を実行し、LANカード2−1の現在の通信状態を示す「通信状態情報250−1」を保持する。なお、「通信状態情報250−1」に登録されている通信状態は、LAN切替機構3がLANカード2−1の通信動作を変更した際に、LAN切替機構3によって変更される。   The communication state holding unit 25-1 executes “communication state holding processing” and holds “communication state information 250-1” indicating the current communication state of the LAN card 2-1. The communication state registered in the “communication state information 250-1” is changed by the LAN switching mechanism 3 when the LAN switching mechanism 3 changes the communication operation of the LAN card 2-1.

図3に示すように、「通信状態情報250−1」は、LANカード2−1における現在の通信状態CS(「動作中」または「切離し中」のいずれか)を示す情報である。通信状態CSが「動作中」を示していれば、LANカード2−1は通信動作を実行している状態にあり、通信状態CSが「切離し中」を示していれば、LAN2−1は通信動作を停止している状態にある。   As shown in FIG. 3, the “communication status information 250-1” is information indicating the current communication status CS (either “in operation” or “disconnected”) in the LAN card 2-1. If the communication state CS indicates “operating”, the LAN card 2-1 is in a state of executing a communication operation, and if the communication state CS indicates “disconnecting”, the LAN 2-1 is in communication. The operation is stopped.

なお、LANカード2−2は、上述のLANカード2−1と同一の構成を有するため、LANカード2−2が具備する各構成要素21−2、22−2、23−2、24−2、25−2は、LANカード2−1にてそれぞれ対応する構成要素21−1、22−1、23−1、24−1、25−1と同一の機能を果たす。   Note that the LAN card 2-2 has the same configuration as the LAN card 2-1, so that the constituent elements 21-2, 22-2, 23-2, 24-2 included in the LAN card 2-2 are included. , 25-2 perform the same functions as the corresponding components 21-1, 22-1, 23-1, 24-1, 25-1 in the LAN card 2-1.

つぎに、LAN切替機構3について、詳細に説明する。図4に示すように、LAN切替機構3は、通知受取部31と、負荷取得部32と、負荷判別部33と、LAN切替制御部34と、通信状態変更部35とを有する。   Next, the LAN switching mechanism 3 will be described in detail. As illustrated in FIG. 4, the LAN switching mechanism 3 includes a notification receiving unit 31, a load acquisition unit 32, a load determination unit 33, a LAN switching control unit 34, and a communication state change unit 35.

通知受取部31は、「通知受取処理」を実行し、LANカード2−1の通知部24−1またはLANカード2−2の通知部24−2から、LAN通信に関して異常の予兆がある旨の「受信データ数異常通知NF」をそれぞれ受け取る。   The notification receiving unit 31 executes “notification receiving processing”, and indicates that there is a sign of abnormality regarding the LAN communication from the notification unit 24-1 of the LAN card 2-1 or the notification unit 24-2 of the LAN card 2-2. Each of “received data count abnormality notification NF” is received.

負荷取得部32は、「負荷取得処理」を実行し、通知受取部31がLANカード2−1、2−2から受信データ数異常通知NFを受信した場合、通信制御装置1が具備する各CPU4−1〜4−nから、各CPU4−1〜4−nがそれぞれ実行中の処理の大きさを示す「処理負荷」である「CPU負荷」を取得する。CPU負荷の取得時、負荷取得部32は、「負荷取得要求処理」を実行し、各CPU4−1〜4−nにCPU負荷取得要求を送信する。そして、CPU負荷取得要求に応じてCPU4−1〜4−nから送信されてきたCPU負荷を示すCPU負荷情報を受信する。   The load acquisition unit 32 executes “load acquisition processing”, and when the notification reception unit 31 receives the reception data number abnormality notification NF from the LAN cards 2-1 and 2-2, each CPU 4 included in the communication control device 1. From “-1” to “4-n”, “CPU load”, which is “processing load” indicating the size of the processing being executed by each of the CPUs 4-1 to 4 -n, is acquired. When acquiring the CPU load, the load acquisition unit 32 executes “load acquisition request processing” and transmits a CPU load acquisition request to each of the CPUs 4-1 to 4-n. And CPU load information which shows CPU load transmitted from CPU4-1 to 4-n according to CPU load acquisition request is received.

負荷判別部33は、「負荷判別処理」を実行し、負荷取得部32が取得した「CPU負荷」が「第2の所定値」以上であるか否かを判別する。なお、この「第2の所定値」は、各CPU4−1〜4−nがデータ受信部21−1、21−2の受信データを処理可能か否かを判別するための基準値である。「第2の所定値」は、例えば、各CPU4−1〜4−nが最大限実行可能な処理件数である最大処理件数に対する所定の割合(例えば、90%)にあらかじめ設定される。   The load determination unit 33 executes “load determination processing” to determine whether or not the “CPU load” acquired by the load acquisition unit 32 is equal to or greater than a “second predetermined value”. The “second predetermined value” is a reference value for determining whether each of the CPUs 4-1 to 4-n can process the data received by the data receiving units 21-1 and 21-2. The “second predetermined value” is set in advance to, for example, a predetermined ratio (for example, 90%) with respect to the maximum number of processes, which is the maximum number of processes that can be executed by each of the CPUs 4-1 to 4-n.

LAN切替制御部34は、「CPU負荷」が「第2の所定値」以上であると負荷判別部33が判別した場合、「切替制御処理」である「LAN切替制御処理」を実行する「切替制御部」である。「LAN切替制御処理(切替制御処理)」では、LAN切替制御部34は、通信動作(例えば、データ受信処理)を実行させるLANカード2−1または2−2を切り替える。ここでLANカードの切替方法については限定しない。   When the load determination unit 33 determines that the “CPU load” is equal to or greater than the “second predetermined value”, the LAN switching control unit 34 executes “LAN switching control processing” that is “switching control processing”. Control unit ". In the “LAN switching control process (switching control process)”, the LAN switching control unit 34 switches the LAN card 2-1 or 2-2 that executes a communication operation (for example, a data reception process). Here, the LAN card switching method is not limited.

一方、LAN切替部34は、CPU負荷が第2の所定値以下であると負荷判別部33が判別した場合には、LANカード2−1、2−2の切替を行わない。そのため、現在動作中のLANカード2−1または2−2を用いた通信が継続される。   On the other hand, the LAN switching unit 34 does not switch the LAN cards 2-1 and 2-2 when the load determining unit 33 determines that the CPU load is equal to or less than the second predetermined value. For this reason, communication using the currently operating LAN card 2-1 or 2-2 is continued.

また、LAN切替制御部34は、「受信割込指示処理」を実行し、LANカード2−1のデータ受信部21−1またはLANカード2−2のデータ受信部21−2に、受信割込処理の実行を指示する「受信割込指示信号」を送信する機能を有する。受信側のデータ受信部21−1または21−2は、受信割込指示信号に応答して、上述の受信割込処理を実行する。   Further, the LAN switching control unit 34 executes a “reception interrupt instruction process”, and receives a reception interrupt in the data reception unit 21-1 of the LAN card 2-1 or the data reception unit 21-2 of the LAN card 2-2. It has a function of transmitting a “reception interrupt instruction signal” instructing execution of processing. The data receiving unit 21-1 or 21-2 on the receiving side executes the above-described reception interrupt process in response to the reception interrupt instruction signal.

また、LAN切替制御部34は、「切替制御処理」により通信させるLANカードを切替えた場合、切替を行ったことを示す「切替通知」を、CPU4−1〜4−nに送信する。例えば、選択するLANカードを、LANカード2−1からLANカード2−2に切替えたのであれば、「切替通知」の内容は、切替前に選択されていたLANカード2−1をネットワークNWから論理的に切り離した旨と、新たに選択したLANカードをネットワークNWへ論理的に接続する旨とを示すものである。これにより、CPU4−1〜4−nが、現在ネットワークNWに接続されているLANカードを識別することが可能になり、ネットワークNWから切離し中のLANカードに対して受信データの引取動作を実行することを回避できる。   Further, when the LAN card to be communicated is switched by the “switching control process”, the LAN switching control unit 34 transmits “switching notification” indicating that the switching has been performed to the CPUs 4-1 to 4-n. For example, if the LAN card to be selected is switched from the LAN card 2-1 to the LAN card 2-2, the content of the “switch notification” indicates that the LAN card 2-1 selected before switching is switched from the network NW. It shows that it is logically disconnected and that a newly selected LAN card is logically connected to the network NW. As a result, the CPUs 4-1 to 4-n can identify the LAN card currently connected to the network NW, and execute the received data collection operation for the LAN card that is disconnected from the network NW. You can avoid that.

通信状態変更部35は、LAN切替制御部34が切替を実行した場合、「通信状態変更処理」を実行し、LANカード2−1、2−2の通信状態を示す「通信状態信号SS」を、LAN切替制御部34による切替後の通信状態(「動作中」または「切離し中」)に変更する。また、通信状態変更部35は、変更した通信状態信号SSに基づき、通信状態保持部25−1が保持している通信状態情報250−1または通信状態保持部25−2が保持している通信状態情報250−2内の通信状態CSを書き換える。   When the LAN switching control unit 34 performs switching, the communication state change unit 35 executes “communication state change processing” and outputs a “communication state signal SS” indicating the communication state of the LAN cards 2-1 and 2-2. The communication state after switching by the LAN switching control unit 34 (“operating” or “disconnecting”) is changed. Also, the communication state changing unit 35 is based on the changed communication state signal SS, and the communication state information 250-1 held by the communication state holding unit 25-1 or the communication held by the communication state holding unit 25-2. The communication state CS in the state information 250-2 is rewritten.

例えば、LAN切替制御部34がLANカード2−1を切り離した場合、通信状態変更部35は、LANカード2−1の通信状態を示す通信状態信号SSを「切離し中」に設定する。また、例えば、LAN切替制御部34がLANカード2−2を新たに動作させた場合、通信状態変更部35は、LANカード2−2の通信状態を示す通信状態信号SSを「動作中」に設定する。設定後、通信状態変更部35は、通信状態信号SSに基づいて、通信状態情報250−1内の通信状態CSの書換を行う。   For example, when the LAN switching control unit 34 disconnects the LAN card 2-1, the communication state changing unit 35 sets the communication state signal SS indicating the communication state of the LAN card 2-1 to “disconnected”. Further, for example, when the LAN switching control unit 34 newly operates the LAN card 2-2, the communication state changing unit 35 sets the communication state signal SS indicating the communication state of the LAN card 2-2 to “in operation”. Set. After the setting, the communication state changing unit 35 rewrites the communication state CS in the communication state information 250-1 based on the communication state signal SS.

次に、上述した構成を有する通信制御装置1にて行われる各種の通信制御に関する動作を説明する。   Next, operations related to various types of communication control performed by the communication control apparatus 1 having the above-described configuration will be described.

まず、LANカード2−1において、データ受信部21−1が、通信状態情報250−1に基づいて、選択的にデータを受信する動作について説明する。   First, an operation in which the data receiving unit 21-1 selectively receives data on the LAN card 2-1 based on the communication state information 250-1 will be described.

図5に示すように、LANカード2−1のデータ受信部21−1は、「データ受信処理(ステップS11)」により、データを受信する。受信データ計数部22−1は、「受信データ計数処理(ステップS12)」により、データ受信部21−1が受信したデータについて「受信データ数」のカウントを開始する。   As shown in FIG. 5, the data reception unit 21-1 of the LAN card 2-1 receives data by “data reception processing (step S <b> 11)”. The reception data counting unit 22-1 starts counting “the number of reception data” for the data received by the data reception unit 21-1 by the “reception data counting process (step S12)”.

データ受信部21−1は、通信状態保持部25−1が保持している通信状態情報250−1を参照し、LANカードがネットワークNWから切り離されているか否かを判別する(ステップS13)。通信状態情報250−1に登録されている通信状態CSが「切離し中」であることを示していれば、LANが切り離されていると判別し(ステップS13;Yes)、データ受信部21−1は、「データ破棄処理(ステップS14)」を実行し、受信データを破棄する。   The data receiving unit 21-1 refers to the communication state information 250-1 held by the communication state holding unit 25-1, and determines whether or not the LAN card is disconnected from the network NW (step S13). If the communication state CS registered in the communication state information 250-1 indicates “disconnecting”, it is determined that the LAN is disconnected (step S13; Yes), and the data receiving unit 21-1 Executes “data discarding process (step S14)” and discards the received data.

一方、通信状態情報250−1内の通信状態CSが「切離し中」でないことを示していれば、データ受信部21−1は、LANカード2−1がネットワークNWから論理的に切り離されていないと判別する(ステップS13;No)。この場合、受信データの破棄などは不要であり、通常のデータ受信処理を継続すればよいため、そのまま処理を終了する。   On the other hand, if the communication status CS in the communication status information 250-1 indicates that it is not “disconnected”, the data receiving unit 21-1 has not logically disconnected the LAN card 2-1 from the network NW. (Step S13; No). In this case, it is not necessary to discard the received data, and the normal data reception process may be continued.

以上で、通信状態情報250−1に基づいて、データ受信部21−1が選択的にデータを受信する動作が終了する。   Thus, the operation of selectively receiving data by the data receiving unit 21-1 ends based on the communication state information 250-1.

つぎに、LANカード2−1において、比較部23−1による受信データ数の判別結果に基づいて、通知部24−1が受信データ数異常通知NFをLAN切替機構に送信する動作について説明する。   Next, in the LAN card 2-1, the operation in which the notification unit 24-1 transmits the reception data number abnormality notification NF to the LAN switching mechanism based on the determination result of the reception data number by the comparison unit 23-1.

図6に示すように、比較部23−1は、「受信データ数読出処理(ステップS21)」を実行し、所定期間ごとに、受信データ計数部22−1がカウントした受信データ数の読出を実行する。続いて、比較部23−1は、LAN異常の予兆があるか否かを判別するために「比較処理(ステップS22)」を実行し、読み出した受信データ数(受信データ計数部22−1が保持するカウンタ値)が第1の所定値以上であるか否かを判別する。   As shown in FIG. 6, comparison unit 23-1 executes “reception data number reading process (step S <b> 21)”, and reads the reception data number counted by reception data counting unit 22-1 every predetermined period. Run. Subsequently, the comparison unit 23-1 executes “comparison processing (step S 22)” to determine whether or not there is a LAN abnormality sign, and the received reception data count (reception data counting unit 22-1 It is determined whether or not the counter value to be held is equal to or greater than a first predetermined value.

読み出した受信データ数が第1の所定値以上であれば(ステップS22;Yes)、比較部23−1は、LAN通信に関する異常の予兆があると判別する。この場合、通知部24−1は、「通知処理(ステップS25)」を実行し、LAN異常の予兆がある旨の通知である受信データ数異常通知NFを、LAN切替機構3に送信する。また、受信データ計数部22−1は、「受信データ数初期化処理(ステップS26)」を実行し、所定の計数実行期間内にて計数した受信データ数を初期化する。   If the read received data count is equal to or greater than the first predetermined value (step S22; Yes), the comparison unit 23-1 determines that there is a sign of abnormality related to LAN communication. In this case, the notification unit 24-1 executes “notification processing (step S25)”, and transmits a reception data number abnormality notification NF, which is a notification that there is a sign of LAN abnormality, to the LAN switching mechanism 3. In addition, the reception data counting unit 22-1 executes “reception data number initialization processing (step S26)”, and initializes the number of reception data counted within a predetermined count execution period.

一方、比較処理(ステップS22)による比較の結果、受信データ数が第1の所定値よりも小さければ、比較部23−1は、LAN異常の予兆がないと判別する(ステップS22;No)。この場合、受信データ計数部22−1は、「受信データ数初期化処理(ステップS23)」を実行し、所定の計数実行期間内にて計数した受信データ数を初期化する。続いて、データ受信部21−1は、「受信割込処理(ステップS24)」を実行し、CPU4−1〜4−nのいずれかに受信割込信号を送信することにより、データの受信を行う。   On the other hand, as a result of the comparison by the comparison process (step S22), if the number of received data is smaller than the first predetermined value, the comparison unit 23-1 determines that there is no sign of LAN abnormality (step S22; No). In this case, the reception data counting unit 22-1 executes “reception data number initialization processing (step S23)” and initializes the reception data number counted within a predetermined counting execution period. Subsequently, the data reception unit 21-1 executes “reception interrupt processing (step S24)” and transmits a reception interrupt signal to any of the CPUs 4-1 to 4-n, thereby receiving data. Do.

以上で、比較部23−1による受信データ数の判別結果に基づいて、通知部24−1が受信データ数異常通知NFを送信する動作が終了する。   The operation of the notification unit 24-1 transmitting the reception data number abnormality notification NF ends based on the determination result of the reception data number by the comparison unit 23-1.

つぎに、LAN切替機構3において、負荷判別部33によるCPU負荷の判別結果に基づいて、LAN切替制御部34がLANカード2−1、2−2の切替を制御する動作を説明する。   Next, in the LAN switching mechanism 3, an operation in which the LAN switching control unit 34 controls switching of the LAN cards 2-1 and 2-2 based on the determination result of the CPU load by the load determining unit 33 will be described.

図7に示すように、LAN切替機構3の通知受取部31は、通知部24−1または24−2から受信データ数異常通知NFが送信されてきた場合、「通知受取処理(ステップS31)」を実行し、その受信データ数異常通知NFを受け取る。   As shown in FIG. 7, the notification receiving unit 31 of the LAN switching mechanism 3 receives “notification receiving process (step S31)” when the received data number abnormality notification NF is transmitted from the notification unit 24-1 or 24-2. Is received, and the received data count abnormality notification NF is received.

続いて、負荷取得部32は、「負荷取得処理(ステップS32)」を実行し、各CPU4−1〜4−nにおけるCPU負荷を、CPU4−1〜4−nからそれぞれ取得する。   Subsequently, the load acquisition unit 32 executes “load acquisition processing (step S32)”, and acquires the CPU load in each of the CPUs 4-1 to 4-n from the CPUs 4-1 to 4-n, respectively.

負荷判別部33は、「負荷判別処理(ステップS33)」を実行し、CPU負荷が第2の所定値以上であるか否かを判別する。第2の所定値よりも小さいと判別した場合(ステップS33;No)、「受信割込指示処理(ステップS34)」を実行し、データ受信部21−1に、受信割込処理の実行を指示する受信割込指示信号を送信する。データ受信部21−1は、受信割込指示信号に応答して受信割込処理を実行し、CPU4−1〜4−nのいずれかに受信割込信号を送信し、データの受信を行う。これにより、現在動作中のLANカード2−1または2−2による通信を継続する。   The load determination unit 33 executes “load determination processing (step S33)” to determine whether or not the CPU load is equal to or greater than a second predetermined value. When it is determined that the value is smaller than the second predetermined value (step S33; No), the “reception interrupt instruction process (step S34)” is executed, and the data reception unit 21-1 is instructed to execute the reception interrupt process. A reception interrupt instruction signal is transmitted. The data receiving unit 21-1 executes a reception interrupt process in response to the reception interrupt instruction signal, transmits a reception interrupt signal to any of the CPUs 4-1 to 4-n, and receives data. As a result, communication by the currently operating LAN card 2-1 or 2-2 is continued.

一方、CPU負荷が第2の所定値以上であると判別した場合(ステップS33;Yes)、LAN切替制御部34は、「切替制御処理」である「LAN切替制御処理(ステップS35)」を実行する。このとき、LAN切替制御部34は、受信データ数に基づいてLAN通信異常の可能性があると判別されたLANカード2−1または2−2を、ネットワークNWから切り離す。なお、LAN切替制御部34は、「LAN切替制御処理」により新たに選択されたLANカードをCPU4−1〜4−nが識別できるよう、LAN切替を行ったことを示す「切替通知」をCPU4−1〜4−nに送信する。   On the other hand, when it is determined that the CPU load is greater than or equal to the second predetermined value (step S33; Yes), the LAN switching control unit 34 executes “LAN switching control processing (step S35)” which is “switching control processing”. To do. At this time, the LAN switching control unit 34 disconnects the LAN card 2-1 or 2-2, which has been determined that there is a possibility of a LAN communication abnormality based on the number of received data, from the network NW. The LAN switching control unit 34 displays a “switch notification” indicating that the LAN has been switched so that the CPU 4-1 to 4-n can identify the LAN card newly selected by the “LAN switching control process”. -1 to 4-n.

また、通信状態変更部35は、LAN切替制御部34によるLAN切替制御処理の実行に応答して、「通信状態変更処理(ステップS36)」を実行する。例えば、LAN切替制御部34がLANカード2−1を切り離した場合、通信状態変更部35は、LANカード2−1の通信状態信号SSを「切離し中」に設定する。そして、通信状態変更部35は、設定した通信状態信号SSに基づいて、通信状態保持部25−1が保持している「通信状態情報250−1」または25−2が保持している「通信状態情報250−2」に登録されている通信状態CSを書き換える。   Further, the communication state changing unit 35 executes the “communication state changing process (step S36)” in response to the execution of the LAN switching control process by the LAN switching control unit 34. For example, when the LAN switching control unit 34 disconnects the LAN card 2-1, the communication state changing unit 35 sets the communication state signal SS of the LAN card 2-1 to “disconnected”. Then, based on the set communication state signal SS, the communication state changing unit 35 stores “communication state information 250-1” or 25-2 held by the communication state holding unit 25-1. The communication status CS registered in the “status information 250-2” is rewritten.

以上により、負荷判別部33によるCPU負荷の判別結果に基づいて、LAN切替制御部34がLANカード2−1、2−2を切替える動作が終了する。   Thus, the operation of the LAN switching control unit 34 switching the LAN cards 2-1 and 2-2 based on the CPU load determination result by the load determining unit 33 ends.

以上説明したように、本発明の通信制御装置1によれば、LANカード2−1、2−2が、受信データ数の計数結果からLAN通信に関する異常の可能性を検出した場合、LAN切替機構3は、受信データを処理するCPU4−1〜4−nのCPU負荷が第2の所定値以上か否かを判別する。そして、CPU負荷が第2の所定値以上であると判別した場合に、LAN切替制御部34が、LANカード2−1、2−2の切替を実行する。   As described above, according to the communication control device 1 of the present invention, when the LAN cards 2-1 and 2-2 detect the possibility of abnormality related to LAN communication from the count result of the number of received data, the LAN switching mechanism 3 determines whether or not the CPU load of the CPUs 4-1 to 4-n that process the received data is equal to or greater than a second predetermined value. When it is determined that the CPU load is equal to or greater than the second predetermined value, the LAN switching control unit 34 performs switching between the LAN cards 2-1 and 2-2.

これにより、通信制御装置1に対する処理負荷を抑えつつ、該通信制御装置1が通信に用いるネットワークNWの切替を好適に行うことが可能となる。なお、LANカード2−1、2−2により受信データ数のカウント結果が第1の所定値以上であると判別された場合でも、LAN切替機構3は、CPU負荷が第2の所定値よりも小さいと判別した場合には、LANカード2−1、2−2の切替を行わない。受信データを処理するCPU4−1〜4−nの処理容量に余裕がある場合、現在動作中のLANカードによる通信の継続が可能であるという観点からである。   Thereby, it is possible to suitably switch the network NW used for communication by the communication control device 1 while suppressing the processing load on the communication control device 1. Even when the LAN card 2-1 or 2-2 determines that the count result of the number of received data is greater than or equal to the first predetermined value, the LAN switching mechanism 3 causes the CPU load to be greater than the second predetermined value. When it is determined that it is small, the LAN cards 2-1 and 2-2 are not switched. This is from the viewpoint that communication with the currently operating LAN card can be continued when there is a margin in the processing capacity of the CPUs 4-1 to 4-n that process the received data.

なお、本発明の要旨を逸脱しない範囲で各種の変形が可能である。   Various modifications can be made without departing from the scope of the present invention.

図8に示すように、通信制御装置1に、記憶部5を設けておき、LAN切替機構3において受信データ数異常通知NFを受け取った場合に、記憶部5が現在記憶しているデータの容量(以下、「メモリ使用量」という)に基づいて、LANカード2−1、2−2の切替の可否を判別してもよい。ここで、記憶部5は、LANカード2−1、2−2が受信したデータを各CPU4−1〜4−nが処理する際に、各CPU4−1〜4−nの作業用領域であるワークメモリとして機能するものである。この構成において、負荷取得部32は、CPU負荷に代えて、記憶部5のメモリ使用量を取得し、負荷判別部33が、メモリ使用量が「第3の所定値」以上であるか否かを判別する。そして、判別の結果、メモリ使用量が「第3の所定値」以上であると判別した場合に、LAN切替制御部34が、LANカードの切替を実行すればよい。   As shown in FIG. 8, when the communication control device 1 is provided with a storage unit 5 and the LAN switching mechanism 3 receives a reception data number abnormality notification NF, the capacity of the data currently stored in the storage unit 5 Whether or not the LAN cards 2-1 and 2-2 can be switched may be determined based on (hereinafter referred to as “memory usage”). Here, the storage unit 5 is a work area for each of the CPUs 4-1 to 4-n when the CPUs 4-1 to 4-n process data received by the LAN cards 2-1 and 2-2. It functions as a work memory. In this configuration, the load acquisition unit 32 acquires the memory usage of the storage unit 5 instead of the CPU load, and the load determination unit 33 determines whether or not the memory usage is equal to or greater than the “third predetermined value”. Is determined. Then, as a result of the determination, when it is determined that the memory usage is equal to or greater than the “third predetermined value”, the LAN switching control unit 34 may perform switching of the LAN card.

メモリ使用量に基づいて、通信を実行させるLANカードの切替を行うことにより、メモリ使用量が通信制御装置1全体の処理速度に大きく影響する場合でも、通信制御装置1が処理すべきデータが送信されてくるネットワークNWの切替を好適に実行することが可能となる。   Even if the memory usage greatly affects the processing speed of the entire communication control device 1 by switching the LAN card for performing communication based on the memory usage, the data to be processed by the communication control device 1 is transmitted. It is possible to suitably perform switching of the network NW.

また、図8に示した構成において、記憶部5は、図9に示す「通信状態情報51」を記憶してもよい。「通信状態情報51」は、通信モジュールIF(この例では、LANカード2−1、2−2)と、各通信モジュールIFにおける通信状態CS(「動作中」または「切離し中」)と、を対応付ける。図9の例では、LANカード2−1が通信動作を実行している「動作中」の状態にあり、LAN2−2は通信動作を停止している「切離し中」の状態にある。LANカード2−1、2−2は、記憶部5に記憶されている通信状態情報51を参照し、通信動作を実行する。   In the configuration shown in FIG. 8, the storage unit 5 may store “communication state information 51” shown in FIG. The “communication state information 51” includes the communication module IF (in this example, the LAN cards 2-1 and 2-2) and the communication state CS (“operating” or “disconnected”) in each communication module IF. Associate. In the example of FIG. 9, the LAN card 2-1 is in an “operating” state in which a communication operation is being performed, and the LAN 2-2 is in an “disconnecting” state in which the communication operation is stopped. The LAN cards 2-1 and 2-2 refer to the communication state information 51 stored in the storage unit 5 and execute a communication operation.

また、本発明の通信制御装置の通信モジュールは、比較部にて受信データ数が第1の所定値以上であると判別した場合に、通信に関する異常の可能性がある旨を通信切替機構に通知する通知部、を有し、負荷判別部は、通知部から通知を受け取った場合に、処理負荷と第2の所定値とを比較してもよい。   In addition, the communication module of the communication control device according to the present invention notifies the communication switching mechanism that there is a possibility of abnormality in communication when the comparison unit determines that the number of received data is equal to or greater than the first predetermined value. The load determination unit may compare the processing load with the second predetermined value when receiving a notification from the notification unit.

また、本発明の通信制御装置の通信切替機構は、比較部にて受信データ数が第1の所定値以上であると判別した場合に、制御部から処理負荷を取得する負荷取得部、を有してもよい。   In addition, the communication switching mechanism of the communication control device of the present invention includes a load acquisition unit that acquires a processing load from the control unit when the comparison unit determines that the number of received data is equal to or greater than the first predetermined value. May be.

また、本発明の通信制御装置の比較部は、受信データ計数部が所定期間において計数した受信データ数と、ネットワークから通信モジュールに対してデータが多量に送信されてきたか否かを受信データ数に基づいて判別するための基準値に定められた第1の所定値とを比較してもよい。   In addition, the comparison unit of the communication control device according to the present invention uses the number of received data counted by the received data counting unit in a predetermined period and whether or not a large amount of data is transmitted from the network to the communication module. You may compare with the 1st predetermined value defined in the reference value for discriminating based on.

また、本発明の通信制御装置の負荷判別部は、処理負荷と、通信モジュールが受信したデータを制御部が処理可能か否かを判別するための基準値に定められた第2の所定値とを比較してもよい。   The load determination unit of the communication control device of the present invention includes a processing load and a second predetermined value set as a reference value for determining whether or not the control unit can process data received by the communication module. May be compared.

また、本発明の通信制御装置の通信切替機構は、切替制御部により通信モジュールが切り替えられたことに応答して、通信モジュールの通信状態を示す通信状態信号を変更する通信状態変更部、を有し、通信モジュールは、通信状態変更部が変更した通信状態信号が示す通信状態に対応する通信動作を実行してもよい。   In addition, the communication switching mechanism of the communication control device of the present invention has a communication state changing unit that changes a communication state signal indicating the communication state of the communication module in response to the switching control unit switching the communication module. The communication module may execute a communication operation corresponding to the communication state indicated by the communication state signal changed by the communication state changing unit.

また、本発明の通信制御装置の通信モジュールは、通信モジュールに関する通信状態変更部が変更した通信状態信号が示す通信状態が登録されている通信状態情報を保持する通信状態保持部、を有し、通信状態保持部が保持している通信状態情報に登録されている通信状態に対応する通信動作を実行してもよい。   Further, the communication module of the communication control device of the present invention has a communication state holding unit that holds communication state information in which the communication state indicated by the communication state signal changed by the communication state changing unit related to the communication module is registered, A communication operation corresponding to the communication state registered in the communication state information held by the communication state holding unit may be executed.

また、本発明の通信制御装置は、通信切替機構により選択されている通信モジュールが受信したデータを制御部が処理する際に用いられる作業用領域を含む記憶部、を有し、負荷判別部は、比較部にて受信データ数が第1の所定値以上であると判別した場合に、記憶部が現在記憶しているデータの容量であるメモリ使用量と第3の所定値とを比較し、切替制御部は、負荷判別部にてメモリ使用量が第3の所定値以上であると判別した場合に、選択する通信モジュールを、現在選択中の通信モジュールから現在選択中の通信モジュール以外の通信モジュールへ切り替えてもよい。   The communication control device of the present invention includes a storage unit including a work area used when the control unit processes data received by the communication module selected by the communication switching mechanism, and the load determination unit includes: When the comparison unit determines that the number of received data is greater than or equal to the first predetermined value, the storage unit compares the amount of data currently stored in the storage unit with the third predetermined value, When the load determining unit determines that the memory usage is greater than or equal to the third predetermined value, the switching control unit selects a communication module to be selected from the currently selected communication module other than the currently selected communication module. You may switch to a module.

また、本発明の通信制御方法は、通信モジュールが、比較処理にて受信データ数が第1の所定値以上であると判別した場合に、通信に関する異常の可能性がある旨を通信切替機構に通知する通知処理、を有し、負荷判別処理では、通知処理による通知を受け取った場合に、処理負荷と第2の所定値とを比較してもよい。   Further, the communication control method of the present invention informs the communication switching mechanism that there is a possibility of an abnormality related to communication when the communication module determines that the number of received data is equal to or greater than the first predetermined value in the comparison process. In the load determination process, when a notification by the notification process is received, the processing load may be compared with the second predetermined value.

また、本発明の通信制御方法は、通信切替機構が、比較処理にて受信データ数が第1の所定値以上であると判別した場合に、制御部から処理負荷を取得する負荷取得処理、を有してもよい。   Further, the communication control method of the present invention includes a load acquisition process for acquiring a processing load from the control unit when the communication switching mechanism determines that the number of received data is equal to or greater than the first predetermined value in the comparison process. You may have.

また、本発明の通信制御方法の比較処理では、受信データ計数処理にて所定期間において計数した受信データ数と、ネットワークから通信モジュールに対してデータが多量に送信されてきたか否かを受信データ数に基づいて判別するための基準値に定められた第1の所定値とを比較してもよい。   In the comparison process of the communication control method according to the present invention, the number of received data counted in a predetermined period in the received data counting process and whether or not a large amount of data has been transmitted from the network to the communication module. You may compare with the 1st predetermined value defined in the reference value for discriminating based on.

また、本発明の通信制御方法の負荷判別処理では、処理負荷と、通信モジュールが受信したデータを制御部が処理可能か否かを判別するための基準値に定められた第2の所定値とを比較してもよい。   In the load determination process of the communication control method of the present invention, the processing load and the second predetermined value set as the reference value for determining whether the control unit can process the data received by the communication module, May be compared.

また、本発明の通信制御方法は、通信切替機構が、切替制御処理により通信モジュールが切り替えられたことに応答して、通信モジュールの通信状態を示す通信状態信号を変更する通信状態変更処理、を有し、通信モジュールは、通信状態変更処理にて変更した通信状態信号が示す通信状態に対応する通信動作を実行してもよい。   The communication control method of the present invention includes a communication state change process in which the communication switching mechanism changes a communication state signal indicating the communication state of the communication module in response to the communication module being switched by the switching control process. The communication module may execute a communication operation corresponding to the communication state indicated by the communication state signal changed in the communication state change process.

また、本発明の通信制御方法は、通信モジュールが、通信モジュールに関する通信状態変更処理にて変更した通信状態信号が示す通信状態が登録されている通信状態情報を保持する通信状態保持処理、を有し、通信モジュールが、通信状態保持処理にて保持している通信状態情報に登録されている通信状態に対応する通信動作を実行してもよい。   In addition, the communication control method of the present invention includes a communication state holding process in which the communication module holds communication state information in which the communication state indicated by the communication state signal changed in the communication state change process related to the communication module is registered. Then, the communication module may execute a communication operation corresponding to the communication state registered in the communication state information held in the communication state holding process.

また、本発明の通信制御方法は、通信制御装置が、通信切替機構により選択されている通信モジュールが受信したデータを制御部が処理する際に用いられる作業用領域を含む記憶部を具備している場合において、負荷判別処理では、比較処理にて受信データ数が第1の所定値以上であると判別した場合に、記憶部が現在記憶しているデータの容量であるメモリ使用量と第3の所定値とを比較し、切替制御処理では、負荷判別処理にてメモリ使用量が第3の所定値以上であると判別した場合に、選択する通信モジュールを、現在選択中の通信モジュールから現在選択中の通信モジュール以外の通信モジュールへ切り替えてもよい。   The communication control method of the present invention includes a storage unit including a work area used when the communication control device processes data received by the communication module selected by the communication switching mechanism. In the load determination process, when it is determined in the comparison process that the number of received data is greater than or equal to the first predetermined value, the memory usage amount that is the capacity of the data currently stored in the storage unit and the third In the switching control process, when it is determined in the load determination process that the memory usage is greater than or equal to the third predetermined value, the communication module to be selected is selected from the currently selected communication module. You may switch to communication modules other than the communication module currently selected.

本発明の実施形態に従った通信制御装置の構成を示す図である。It is a figure which shows the structure of the communication control apparatus according to embodiment of this invention. 図1に示したLANカードの構成を示す図である。It is a figure which shows the structure of the LAN card shown in FIG. 図2に示した通信状態情報のデータ構造の一例を示す図である。It is a figure which shows an example of the data structure of the communication status information shown in FIG. 図1に示したLAN切替機構の構成を示す図である。It is a figure which shows the structure of the LAN switching mechanism shown in FIG. LANカードにおいて、データ受信部が選択的にデータを受信する動作を示すフローチャートである。5 is a flowchart showing an operation of a data receiving unit selectively receiving data in a LAN card. 受信データ数の判別結果に基づいて、通知部がLAN異常通知を送信する動作を示すフローチャートである。It is a flowchart which shows the operation | movement which a notification part transmits LAN abnormality notification based on the determination result of the number of received data. CPU負荷の判別結果に基づいて、LAN切替制御部がLANカードの切替を制御する動作を示すフローチャートである。It is a flowchart which shows the operation | movement which a LAN switching control part controls switching of a LAN card based on the determination result of CPU load. 本発明の実施形態の変形例における、通信制御装置の構成を示す図である。It is a figure which shows the structure of the communication control apparatus in the modification of embodiment of this invention. 本発明の実施形態の変形例における通信状態情報のデータ構造の一例を示す図である。It is a figure which shows an example of the data structure of the communication status information in the modification of embodiment of this invention.

符号の説明Explanation of symbols

1 通信制御装置
2−1、2−2 LANカード
3 LAN切替機構
4−1〜4−n CPU
5 記憶部
21−1 データ受信部
22−1 受信データ計数部
23−1 比較部
24−1 通知部
25−1 通信状態保持部
250−1 通信状態情報
31 通知受取部
32 負荷取得部
33 負荷判別部
34 LAN切替制御部
35 通信状態変更部
DESCRIPTION OF SYMBOLS 1 Communication control apparatus 2-1, 2-2 LAN card 3 LAN switching mechanism 4-1 to 4-n CPU
5 Storage Unit 21-1 Data Receiving Unit 22-1 Received Data Counting Unit 23-1 Comparison Unit 24-1 Notification Unit 25-1 Communication Status Holding Unit 250-1 Communication Status Information 31 Notification Receiving Unit 32 Load Acquisition Unit 33 Load Discrimination Unit 34 LAN switching control unit 35 communication state changing unit

Claims (16)

複数のネットワークにそれぞれ接続された複数の通信モジュールと、該複数の通信モジュールのうち1つの通信モジュールを選択する通信切替機構と、該選択された通信モジュールが受信したデータを処理する複数の制御部とを有する通信制御装置において、
前記通信モジュールは、
前記通信モジュールが受信したデータの数である受信データ数を所定期間において計数する受信データ計数部と、
前記受信データ計数部が前記所定期間において計数した受信データ数と第1の所定値とを比較する比較部と、を有し、
前記通信切替機構は、
前記比較部にて受信データ数が前記第1の所定値以上であると判別した場合に、前記制御部が実行中である通信処理の大きさを示す処理負荷と第2の所定値とを比較する負荷判別部と、
前記負荷判別部にて前記処理負荷が前記第2の所定値以上であると判別した場合に、選択する通信モジュールを、現在選択中の通信モジュールから該現在選択中の通信モジュール以外の通信モジュールへ切り替える切替制御部とを有することを特徴とする通信制御装置。
A plurality of communication modules respectively connected to a plurality of networks, a communication switching mechanism for selecting one communication module among the plurality of communication modules, and a plurality of control units for processing data received by the selected communication module In a communication control device having
The communication module includes:
A received data counting unit that counts the number of received data, which is the number of data received by the communication module, in a predetermined period;
A comparison unit that compares the number of received data counted by the reception data counting unit in the predetermined period with a first predetermined value;
The communication switching mechanism is
When the comparison unit determines that the number of received data is greater than or equal to the first predetermined value, the processing load indicating the size of the communication process being executed by the control unit is compared with a second predetermined value. A load discriminating unit,
When the load determination unit determines that the processing load is equal to or greater than the second predetermined value, the communication module to be selected is changed from the currently selected communication module to a communication module other than the currently selected communication module. A communication control device comprising a switching control unit for switching.
前記通信モジュールは、
前記比較部にて前記受信データ数が前記第1の所定値以上であると判別した場合に、通信に関する異常の可能性がある旨を前記通信切替機構に通知する通知部、を有し、
前記負荷判別部は、前記通知部から通知を受け取った場合に、前記処理負荷と前記第2の所定値とを比較することを特徴とする請求項1に記載の通信制御装置。
The communication module includes:
A notification unit for notifying the communication switching mechanism that there is a possibility of abnormality in communication when the comparison unit determines that the number of received data is equal to or greater than the first predetermined value;
The communication control apparatus according to claim 1, wherein the load determination unit compares the processing load with the second predetermined value when receiving a notification from the notification unit.
前記通信切替機構は、
前記比較部にて前記受信データ数が前記第1の所定値以上であると判別した場合に、前記制御部から前記処理負荷を取得する負荷取得部、を有することを特徴とする請求項1または2に記載の通信制御装置。
The communication switching mechanism is
The load acquisition unit that acquires the processing load from the control unit when the comparison unit determines that the number of received data is greater than or equal to the first predetermined value. 2. The communication control device according to 2.
前記比較部は、前記受信データ計数部が前記所定期間において計数した受信データ数と、前記ネットワークから前記通信モジュールに対してデータが多量に送信されてきたか否かを前記受信データ数に基づいて判別するための基準値に定められた前記第1の所定値とを比較することを特徴とする請求項1に記載の通信制御装置。   The comparison unit determines, based on the number of received data counted by the received data counting unit in the predetermined period, and whether or not a large amount of data is transmitted from the network to the communication module based on the number of received data. The communication control device according to claim 1, wherein the communication control device compares the first predetermined value set as a reference value for the determination. 前記負荷判別部は、前記処理負荷と、前記通信モジュールが受信したデータを前記制御部が処理可能か否かを判別するための基準値に定められた前記第2の所定値とを比較することを特徴する請求項1に記載の通信制御装置。   The load determination unit compares the processing load with the second predetermined value set as a reference value for determining whether the control unit can process the data received by the communication module. The communication control device according to claim 1. 前記通信切替機構は、
前記切替制御部により前記通信モジュールが切り替えられたことに応答して、該通信モジュールの通信状態を示す通信状態信号を変更する通信状態変更部、を有し、
前記通信モジュールは、前記通信状態変更部が変更した通信状態信号が示す通信状態に対応する通信動作を実行することを特徴とする請求項1に記載の通信制御装置。
The communication switching mechanism is
A communication state changing unit that changes a communication state signal indicating a communication state of the communication module in response to the communication module being switched by the switching control unit;
The communication control apparatus according to claim 1, wherein the communication module executes a communication operation corresponding to a communication state indicated by a communication state signal changed by the communication state changing unit.
前記通信モジュールは、
該通信モジュールに関する前記通信状態変更部が変更した通信状態信号が示す通信状態が登録されている通信状態情報を保持する通信状態保持部、を有し、
前記通信状態保持部が保持している通信状態情報に登録されている通信状態に対応する通信動作を実行することを特徴とする請求項6に記載の通信制御装置。
The communication module includes:
A communication state holding unit that holds communication state information in which the communication state indicated by the communication state signal changed by the communication state change unit related to the communication module is registered;
The communication control apparatus according to claim 6, wherein a communication operation corresponding to a communication state registered in communication state information held by the communication state holding unit is executed.
前記通信切替機構により選択されている通信モジュールが受信したデータを前記制御部が処理する際に用いられる作業用領域を含む記憶部、を有し、
前記負荷判別部は、前記比較部にて受信データ数が前記第1の所定値以上であると判別した場合に、前記記憶部が現在記憶しているデータの容量であるメモリ使用量と第3の所定値とを比較し、
前記切替制御部は、前記負荷判別部にて前記メモリ使用量が前記第3の所定値以上であると判別した場合に、選択する通信モジュールを、現在選択中の通信モジュールから該現在選択中の通信モジュール以外の通信モジュールへ切り替えることを特徴とする請求項1に記載の通信制御装置。
A storage unit including a work area used when the control unit processes data received by the communication module selected by the communication switching mechanism;
When the comparison unit determines that the number of received data is greater than or equal to the first predetermined value, the load determination unit determines a memory usage amount that is a capacity of data currently stored in the storage unit and a third Compared with the predetermined value of
When the load determining unit determines that the memory usage is equal to or greater than the third predetermined value, the switching control unit selects a communication module to be selected from the currently selected communication module. The communication control device according to claim 1, wherein the communication control device is switched to a communication module other than the communication module.
複数のネットワークにそれぞれ接続された複数の通信モジュールと、該複数の通信モジュールのうち1つの通信モジュールを選択する通信切替機構と、該選択された通信モジュールが受信したデータを処理する複数の制御部とを有する通信制御装置における通信制御方法であって、
前記通信モジュールが、該通信モジュールが受信したデータの数である受信データ数を所定期間において計数する受信データ計数処理と、
前記通信モジュールが、前記受信データ計数処理にて前記所定期間において計数した受信データ数と第1の所定値とを比較する比較処理と、
前記通信切替機構が、前記比較処理にて受信データ数が前記第1の所定値以上であると判別した場合に、前記制御部が実行中である通信処理の大きさを示す処理負荷と第2の所定値とを比較する負荷判別処理と、
前記通信切替機構が、前記負荷判別処理にて前記処理負荷が前記第2の所定値以上であると判別した場合に、選択する通信モジュールを、現在選択中の通信モジュールから該現在選択中の通信モジュール以外の通信モジュールへ切り替える切替制御処理とを有する通信制御方法。
A plurality of communication modules respectively connected to a plurality of networks, a communication switching mechanism for selecting one communication module among the plurality of communication modules, and a plurality of control units for processing data received by the selected communication module A communication control method in a communication control device comprising:
A reception data counting process in which the communication module counts the number of received data, which is the number of data received by the communication module, in a predetermined period;
A comparison process in which the communication module compares the number of received data counted in the predetermined period in the received data counting process with a first predetermined value;
When the communication switching mechanism determines in the comparison process that the number of received data is equal to or greater than the first predetermined value, a processing load indicating a size of the communication process being executed by the control unit and a second Load determination processing for comparing with a predetermined value of
When the communication switching mechanism determines that the processing load is equal to or greater than the second predetermined value in the load determination process, the communication module to be selected is selected from the currently selected communication module. A communication control method comprising switching control processing for switching to a communication module other than the module.
前記通信モジュールが、前記比較処理にて前記受信データ数が前記第1の所定値以上であると判別した場合に、通信に関する異常の可能性がある旨を前記通信切替機構に通知する通知処理、を有し、
前記負荷判別処理では、前記通知処理による通知を受け取った場合に、前記処理負荷と前記第2の所定値とを比較することを特徴とする請求項9に記載の通信制御方法。
A notification process for notifying the communication switching mechanism that there is a possibility of an abnormality in communication when the communication module determines that the number of received data is greater than or equal to the first predetermined value in the comparison process; Have
The communication control method according to claim 9, wherein, in the load determination process, when the notification by the notification process is received, the processing load is compared with the second predetermined value.
前記通信切替機構が、前記比較処理にて前記受信データ数が前記第1の所定値以上であると判別した場合に、前記制御部から前記処理負荷を取得する負荷取得処理、を有することを特徴とする請求項9または10に記載の通信制御方法。   A load acquisition process for acquiring the processing load from the control unit when the communication switching mechanism determines that the number of received data is equal to or greater than the first predetermined value in the comparison process; The communication control method according to claim 9 or 10. 前記比較処理では、前記受信データ計数処理にて前記所定期間において計数した受信データ数と、前記ネットワークから前記通信モジュールに対してデータが多量に送信されてきたか否かを受信データ数に基づいて判別するための基準値に定められた前記第1の所定値とを比較することを特徴とする請求項9に記載の通信制御方法。   In the comparison process, a determination is made based on the number of received data counted in the predetermined period in the received data counting process and whether or not a large amount of data has been transmitted from the network to the communication module. The communication control method according to claim 9, wherein the first predetermined value determined as a reference value for comparing is compared with the first predetermined value. 前記負荷判別処理では、前記処理負荷と、前記通信モジュールが受信したデータを前記制御部が処理可能か否かを判別するための基準値に定められた前記第2の所定値とを比較することを特徴する請求項9に記載の通信制御方法。   In the load determination process, the processing load is compared with the second predetermined value set as a reference value for determining whether the control unit can process the data received by the communication module. The communication control method according to claim 9. 前記通信切替機構が、前記切替制御処理により前記通信モジュールが切り替えられたことに応答して、該通信モジュールの通信状態を示す通信状態信号を変更する通信状態変更処理、を有し、
前記通信モジュールは、前記通信状態変更処理にて変更した通信状態信号が示す通信状態に対応する通信動作を実行することを特徴とする請求項9に記載の通信制御方法。
The communication switching mechanism includes a communication state change process for changing a communication state signal indicating a communication state of the communication module in response to the communication module being switched by the switching control process.
The communication control method according to claim 9, wherein the communication module executes a communication operation corresponding to a communication state indicated by a communication state signal changed in the communication state change process.
前記通信モジュールが、該通信モジュールに関する前記通信状態変更処理にて変更した通信状態信号が示す通信状態が登録されている通信状態情報を保持する通信状態保持処理、を有し、
前記通信モジュールが、前記通信状態保持処理にて保持している通信状態情報に登録されている通信状態に対応する通信動作を実行することを特徴とする請求項14に記載の通信制御方法。
The communication module has a communication state holding process for holding communication state information in which the communication state indicated by the communication state signal changed in the communication state change process related to the communication module is registered,
The communication control method according to claim 14, wherein the communication module executes a communication operation corresponding to a communication state registered in the communication state information held in the communication state holding process.
前記通信制御装置が、前記通信切替機構により選択されている通信モジュールが受信したデータを前記制御部が処理する際に用いられる作業用領域を含む記憶部を具備している場合において、
前記負荷判別処理では、前記比較処理にて受信データ数が前記第1の所定値以上であると判別した場合に、前記記憶部が現在記憶しているデータの容量であるメモリ使用量と第3の所定値とを比較し、
前記切替制御処理では、前記負荷判別処理にて前記メモリ使用量が前記第3の所定値以上であると判別した場合に、選択する通信モジュールを、現在選択中の通信モジュールから該現在選択中の通信モジュール以外の通信モジュールへ切り替えることを特徴とする請求項9に記載の通信制御方法。
In the case where the communication control device includes a storage unit including a work area used when the control unit processes data received by the communication module selected by the communication switching mechanism.
In the load determination process, when it is determined in the comparison process that the number of received data is greater than or equal to the first predetermined value, a memory usage amount that is a capacity of data currently stored in the storage unit and a third Compared with the predetermined value of
In the switching control process, when the load determination process determines that the memory usage is equal to or greater than the third predetermined value, the communication module to be selected is selected from the currently selected communication module. The communication control method according to claim 9, wherein the communication module is switched to a communication module other than the communication module.
JP2008188577A 2008-07-22 2008-07-22 Communication control device and communication control method Expired - Fee Related JP5176743B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008188577A JP5176743B2 (en) 2008-07-22 2008-07-22 Communication control device and communication control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008188577A JP5176743B2 (en) 2008-07-22 2008-07-22 Communication control device and communication control method

Publications (2)

Publication Number Publication Date
JP2010028529A JP2010028529A (en) 2010-02-04
JP5176743B2 true JP5176743B2 (en) 2013-04-03

Family

ID=41733919

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008188577A Expired - Fee Related JP5176743B2 (en) 2008-07-22 2008-07-22 Communication control device and communication control method

Country Status (1)

Country Link
JP (1) JP5176743B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102664874B1 (en) * 2019-11-15 2024-05-14 삼성전자주식회사 Method for switching receiving path and electronic device therefor

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05199242A (en) * 1992-01-21 1993-08-06 Toshiba Corp Data communication equipment
JPH088956A (en) * 1994-06-16 1996-01-12 Toshiba Corp LAN connection device
JPH08149156A (en) * 1994-11-18 1996-06-07 Nec Eng Ltd Frame realy congestion control system
JP2000295259A (en) * 1999-04-12 2000-10-20 Hitachi Ltd LAN abnormality detection device
JP2002007364A (en) * 2000-06-22 2002-01-11 Fujitsu Ltd Scheduling device for job scheduling of parallel computer systems
JP2005033233A (en) * 2002-06-11 2005-02-03 Nippon Telegr & Teleph Corp <Ntt> Incoming call restriction method and control apparatus for communication node
JP2006209165A (en) * 2005-01-25 2006-08-10 Hitachi Ltd Simultaneous execution multiplicity adjustment system and method
JP4682900B2 (en) * 2006-03-31 2011-05-11 日本電気株式会社 Data transfer device, priority control method, and priority control program
JP4672029B2 (en) * 2008-01-28 2011-04-20 京セラ株式会社 Communication means changing method and terminal device using the same

Also Published As

Publication number Publication date
JP2010028529A (en) 2010-02-04

Similar Documents

Publication Publication Date Title
JP5233504B2 (en) Route control apparatus and packet discarding method
JP5962210B2 (en) Multiprocessor system and interprocessor communication method
EP2258083B1 (en) Methods, systems, and computer readable media for dynamically rate limiting slowpath processing of exception packets
CN101873269B (en) Data retransmission device and method for distributing buffer to ports
EP2448175A1 (en) Method for communication system service upgrade and upgrade container device thereof
CN112217658B (en) A stacking and splitting processing method and device
CN101895423A (en) Data transmission method and system in Ethernet
CN110674065A (en) Method and system for competitive arbitration on bus
JP4772920B2 (en) Test apparatus and transmission apparatus
CN101790110B (en) Device and method for coordinating and recovering automatic protection switching operation
JP4283792B2 (en) Band control method and transmission apparatus
JP5176743B2 (en) Communication control device and communication control method
CN107179970B (en) Large-scale OAM detection system and method in distributed equipment
CN114756489B (en) Direct memory access (DMA) engine for diagnostic data
US7388874B2 (en) Protection switching methods and systems for electronic devices
JP4757954B2 (en) Test apparatus and test method
JP5349816B2 (en) Line monitoring apparatus and line monitoring method
JP2013162155A (en) Communication control device, communication control method, and communication control program
CN105530113A (en) Method and device for realizing protection switching of spanning tree protocol
JPH09191321A (en) Adaptive credit control type transfer method
JP2009135567A (en) Data transfer device
US8880759B2 (en) Apparatus and method for fragmenting transmission data
JP4567586B2 (en) Processing equipment
JP2014103439A (en) Communication device, communication system, communication device control method, and communication device control program
CN116185649A (en) Storage control method, storage controller, storage chip, network card, readable medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20110613

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120717

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120724

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20121224

R150 Certificate of patent or registration of utility model

Ref document number: 5176743

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees