JP2013110586A - Communication system, communication device, and communication method - Google Patents

Communication system, communication device, and communication method Download PDF

Info

Publication number
JP2013110586A
JP2013110586A JP2011254041A JP2011254041A JP2013110586A JP 2013110586 A JP2013110586 A JP 2013110586A JP 2011254041 A JP2011254041 A JP 2011254041A JP 2011254041 A JP2011254041 A JP 2011254041A JP 2013110586 A JP2013110586 A JP 2013110586A
Authority
JP
Japan
Prior art keywords
frame
received
communication device
communication
discard
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.)
Granted
Application number
JP2011254041A
Other languages
Japanese (ja)
Other versions
JP5756738B2 (en
Inventor
Satoshi Nishikawa
悟史 西川
Takamasa Nishimura
卓真 西村
Katsuto Shimizu
勝人 清水
Masahiro Shiraishi
雅裕 白石
Tatsuyuki Otani
辰幸 大谷
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP2011254041A priority Critical patent/JP5756738B2/en
Publication of JP2013110586A publication Critical patent/JP2013110586A/en
Application granted granted Critical
Publication of JP5756738B2 publication Critical patent/JP5756738B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To reduce the processing load of reception data on a CPU by only making network superordinate software of the CPU controlling a communication device process data necessary for its own device.SOLUTION: A communication device having received a transmission frame from another communication device determines whether or not the communication device should perform reception processing of the received frame by getting a reception frame discard determination means 439 to compare a destination IP address and destination port number as a destination number which is the information included in the received frame with a destination IP address and destination port number indicating whether or not the communication device may perform reception processing stored in a storage device in the communication device. A LAN controller driver 421 will perform discard processing of the frame if the received frame is not a frame of which the communication device should perform reception processing, and network superordinate software 411 will perform frame reception processing if the received frame is a frame of which the communication device should perform reception processing.

Description

本発明は、通信システム、通信装置及び通信方法に係り、特に、プロセス制御等のために用いて好適な同一ネットワーク上に複数の通信装置が接続されて構成される通信システム、通信装置及び通信方法に関する。   The present invention relates to a communication system, a communication apparatus, and a communication method, and in particular, a communication system, a communication apparatus, and a communication method configured by connecting a plurality of communication apparatuses on the same network suitable for process control and the like. About.

一般に、プラント制御システム等は、ネットワークを介して複数の通信装置が相互に通信可能に接続されて構成された通信システムの各通信装置に接続される制御端末を介してプラントの制御を行っている。このような通信システムにおける各通信装置は、通信装置内の主メモリの内容を周期的に他の通信装置に送信して、ネットワーク内の全通信装置の主メモリの内容を一致化させるために、所定の周期でサイクリックに通信を行っている。このような通信でのデータの送信は、ネットワークに接続されている複数の通信装置におけるデータの同時性を保証するため、ブロードキャストにより行われている。   Generally, a plant control system or the like controls a plant via a control terminal connected to each communication device of a communication system configured such that a plurality of communication devices are communicably connected via a network. . Each communication device in such a communication system periodically transmits the contents of the main memory in the communication device to other communication devices, so as to match the contents of the main memory of all communication devices in the network, Communication is performed cyclically at a predetermined cycle. Transmission of data by such communication is performed by broadcasting in order to guarantee the simultaneity of data in a plurality of communication devices connected to the network.

図3は従来技術による通信装置の構成と通信装置相互間でのデータの転送を説明する図である。図3には、2台の通信装置を示しており、一方の通信装置を送信側、他方の通信装置を受信側としてデータの転送を説明する。なお、ネットワークには、図示していないがさらに多数の通信装置が接続されている。   FIG. 3 is a diagram for explaining the configuration of a communication apparatus according to the prior art and data transfer between the communication apparatuses. FIG. 3 shows two communication devices. Data transfer will be described with one communication device as a transmission side and the other communication device as a reception side. Note that a larger number of communication devices are connected to the network, although not shown.

図3において、送信側となる通信装置A200は、CPUA201、LSIA202、主メモリA203、LANコントローラA204を備えて構成されている。そして、CPUA201とLSIA202との間、LSIA202と主メモリA203との間、LSIA202とLANコントローラA204との間は、バスにより接続されている。また、LANコントローラA204は、他の通信装置からデータを受信したときに、CPUA201へ割込信号205を出力することにより、CPUA201に他の通信装置からデータを受信したことを通知することができる。   In FIG. 3, the communication apparatus A 200 on the transmission side includes a CPU A 201, an LSI A 202, a main memory A 203, and a LAN controller A 204. The CPUA 201 and the LSIA 202, the LSIA 202 and the main memory A203, and the LSIA 202 and the LAN controller A204 are connected by a bus. Further, when receiving data from another communication device, the LAN controller A 204 can notify the CPU A 201 that the data has been received from the other communication device by outputting an interrupt signal 205 to the CPU A 201.

受信側となる通信装置B210も、通信装置Aと同様に、CPUB211、LSIB212、主メモリB213、LANコントローラB214を備えて構成されている。CPUB211とLSIB212との間、LSIB212と主メモリB213との間、LSIB212とLANコントローラB214との間は、バスにより接続される。また、LANコントローラBA214は、他の通信装置からデータを受信したときに、CPUB211へ割込信号215を出力することにより、CPUB211に他の通信装置からデータを受信したことを通知することができる。   Similarly to the communication device A, the communication device B 210 on the receiving side includes a CPU B 211, an LSI B 212, a main memory B 213, and a LAN controller B 214. A bus is connected between the CPUB 211 and the LSIB 212, between the LSIB 212 and the main memory B213, and between the LSIB 212 and the LAN controller B214. In addition, when receiving data from another communication device, the LAN controller BA214 can notify the CPUB 211 that the data has been received from the other communication device by outputting an interrupt signal 215 to the CPUB 211.

前述において、LSIA202、LSIB212は、CPUA201、B211とLANコントローラA204、B214との間のインターフェース機能を有する。   In the above description, the LSIA 202 and LSIB 212 have an interface function between the CPUs A 201 and B 211 and the LAN controllers A 204 and B 214.

通信装置A200の主メモリA203は、データを格納するエリアが境界で区切られており、データ1エリア206内にデータ1(207)、データ2エリア208内にデータ2(209)というように、送信すべき各データをそれぞれのエリア内に格納している。通信装置A200が通信装置B210や他の通信装置へネットワーク220を介してブロードキャストによりデータを転送する場合、通信装置A200のCPUA201は、LSIA202を経由しLANコントローラA204にブロードキャスト送信の実行命令を発行する。命令を受けたLANコントローラA204は、LSIA202を経由し、主メモリA203内の対象データをリードし、リードしたデータをデータフレームに乗せたフレームを生成し、そのフレーム221をネットワーク220に接続されている各通信装置へブロードキャスト送信する。   In the main memory A203 of the communication device A200, data storage areas are delimited by boundaries, and data 1 (207) is transmitted in the data 1 area 206 and data 2 (209) is transmitted in the data 2 area 208. Each data to be stored is stored in each area. When the communication apparatus A 200 transfers data to the communication apparatus B 210 or another communication apparatus by broadcast via the network 220, the CPU A 201 of the communication apparatus A 200 issues a broadcast transmission execution command to the LAN controller A 204 via the LSI A 202. Upon receiving the command, the LAN controller A 204 reads the target data in the main memory A 203 via the LSIA 202, generates a frame in which the read data is placed on the data frame, and the frame 221 is connected to the network 220. Broadcast transmission to each communication device.

通信装置B210のLANコントローラB214は、通信装置A200からフレーム221を受信し、LSIB212を経由してフレーム221内のデータを主メモリB213の受信バッファとしてのデータエリアにライトする。LANコントローラB214は、主メモリB213へのライトが完了すると、CPUB211に対してデータの受信が完了したことを通知するため、割込信号215を出力する。この割込信号は、LANコントローラB214が他の通信装置から1つのフレームを受信する毎にCPUB211へ出力される。CPUB211が備える図示しないネットワーク上位ソフトウェアは、LANコントローラB214からの割込信号を検出すると、受信したフレーム内の受信データに対してIP、受信側の処理プログラムが必要とするUDP等のサム計算、受信バッファからネットワーク上位ソフトウェアのワークエリアへのデータのコピー、自通信装置で不要なデータの廃棄判定等を行う。   The LAN controller B 214 of the communication device B 210 receives the frame 221 from the communication device A 200, and writes the data in the frame 221 to the data area as a reception buffer of the main memory B 213 via the LSI B 212. When the write to the main memory B 213 is completed, the LAN controller B 214 outputs an interrupt signal 215 to notify the CPU B 211 that the data reception has been completed. This interrupt signal is output to the CPU B 211 every time the LAN controller B 214 receives one frame from another communication device. When the network upper software (not shown) provided in the CPU B 211 detects an interrupt signal from the LAN controller B 214, it calculates the sum of the received data in the received frame, such as IP and UDP required by the processing program on the receiving side, and receives it. Copy data from the buffer to the work area of the network upper software, and determine whether to discard unnecessary data in the local communication device.

なお、前述したような通信装置の従来技術として、例えば、特許文献1、特許文献2等に記載された技術が知られている。   For example, the techniques described in Patent Document 1, Patent Document 2, and the like are known as conventional techniques of the communication apparatus as described above.

特開平06−274463号公報Japanese Patent Laid-Open No. 06-274463 特開昭62−254545号公報JP-A-62-254545

前述した従来技術は、通信装置相互間でブロードキャストによるデータの通信を行っているため、通信装置を制御するCPUのネットワーク上位ソフトウェアが、受信データに対してIP、UDP等のサム計算、受信バッファからネットワーク上位ソフトウェアのワークエリアへのデータのコピー、自通信装置で不要なデータの廃棄判定等を行っている。このため、前述した従来技術は、ブロードキャストされてくるフレームの受信頻度が高くなると、受信側となる通信装置のLANコントローラからCPUへの割込頻度も高くなり、CPUのネットワーク上位ソフトウェアによるデータ受信処理の負荷が非常に大きくなり、CPU自身の処理負荷が非常に大きくなるという問題点を有している。   Since the above-described prior art performs communication of data by broadcasting between communication devices, the upper network software of the CPU that controls the communication device performs sum calculation such as IP and UDP on the received data, from the reception buffer. Data is copied to the work area of the upper network software, and unnecessary data is discarded by the local communication device. For this reason, in the above-described prior art, when the frequency of receiving broadcast frames increases, the frequency of interrupts from the LAN controller of the communication device on the receiving side to the CPU also increases, and data reception processing by the network upper software of the CPU The load on the CPU becomes very large, and the processing load on the CPU itself becomes very large.

すなわち、同一ネットワーク上に複数の通信装置が接続された通信システムにおいて、ネットワーク上の通信装置がブロードキャストによりデータを送信すると、そのデータは、全ての通信装置に送信される。そのため、ブロードキャストでのデータ送信が頻繁に行われると、通信装置は、自局にとって不要なデータを大量に受信して処理せざるを得ないことになる。通信装置は、受信した全てのデータに対して、ネットワーク上位ソフトウェアで、IP、UDP等のサム計算、受信バッファからネットワーク上位ソフトウェアのワークエリアへのコピー、自通信装置で不要なデータの廃棄等の処理を行わなければならず、受信するデータ量が多いほど、通信装置を制御するCPUの負荷も高くなることになる。   That is, in a communication system in which a plurality of communication devices are connected on the same network, when a communication device on the network transmits data by broadcast, the data is transmitted to all communication devices. Therefore, if data transmission by broadcast is frequently performed, the communication device is forced to receive and process a large amount of data unnecessary for the local station. The communication device uses the network upper software to calculate the sum of IP, UDP, etc. for all the received data, copy from the reception buffer to the work area of the network upper software, discard unnecessary data in its own communication device, etc. Processing must be performed, and the larger the amount of data to be received, the higher the load on the CPU that controls the communication device.

本発明の目的は、前述した従来技術の問題点を解決し、通信装置を制御するCPUのネットワーク上位ソフトウェアが自通信装置にとって必要であるデータのみを処理することができるようにして、CPUの受信データの処理負荷を低減することを可能とした通信システム、通信装置及び通信方法を提供することにある。   The object of the present invention is to solve the above-mentioned problems of the prior art, and to enable the network upper software of the CPU that controls the communication device to process only the data necessary for the own communication device. An object of the present invention is to provide a communication system, a communication apparatus, and a communication method that can reduce the data processing load.

本発明によれば前記目的は、複数の通信装置がネットワークにより相互に通信可能に接続されて構成された通信システムにおいて、 前記複数の通信装置のそれぞれは、ネットワーク上位ソフトウェア及びLANコントローラドライバを有する中央演算処理装置と、主メモリと、受信フレーム廃棄判定手段と、伝送フレームを廃棄するか否かを示す情報を一時保管する廃棄ステータスレジスタとを有し、それぞれの通信装置が前記主メモリ内に保持しているデータを他の通信装置が保持するデータと一致化させるために相互に伝送フレームの送受信を行い、他の通信装置から送信されてきた伝送フレームを受信した通信装置は、前記受信フレーム廃棄判定手段が、受信した伝送フレームに含まれる情報である宛先番号としての宛先IPアドレス及び宛先ポート番号と、自通信装置の記憶装置に格納されている自通信装置が受付処理を行ってよいか否かを示す宛先IPアドレス及び宛先ポート番号とを比較して、受信した伝送フレームを自通信装置で受付処理を行うべきか否かを判定し、判定結果を前記廃棄ステータスレジスタに保持させ、前記LANコントローラドライバは、前記廃棄ステータスレジスタが、前記受信した伝送フレームが自通信装置で受付処理を行うべきものでないことを示していた場合、前記伝送フレームの廃棄処理を行い、前記ネットワーク上位ソフトウェアは、前記受信した伝送フレームが自通信装置で受付処理を行うべきものであることを示していた場合、前記伝送フレームの受付処理を行うことにより達成される。   According to the present invention, the object is to provide a communication system in which a plurality of communication devices are communicably connected to each other via a network, each of the plurality of communication devices having a network upper software and a LAN controller driver. An arithmetic processing unit, a main memory, a received frame discard determination unit, and a discard status register for temporarily storing information indicating whether or not to discard a transmission frame are stored in the main memory. In order to make the received data coincide with the data held by the other communication device, the communication device mutually transmits and receives the transmission frame, and the communication device that receives the transmission frame transmitted from the other communication device discards the received frame. Destination IP address as destination number, which is information included in transmission frame received by determination means The destination port number is compared with the destination IP address and the destination port number indicating whether or not the own communication device stored in the storage device of the own communication device may perform the reception process, and the received transmission frame is It is determined whether or not reception processing should be performed by the own communication device, the determination result is held in the discard status register, and the LAN controller driver accepts the received transmission frame by the discard status register. When it is indicated that processing is not to be performed, the transmission frame is discarded, and the network upper software indicates that the received transmission frame is to be accepted by the communication apparatus. In this case, this is achieved by performing the transmission frame accepting process.

本発明によれば、他の通信装置からブロードキャスト送信されてきたデータを受信した通信装置のその通信装置を制御するCPUのネットワーク上位ソフトウェアが自通信装置にとって必要であるデータのみを処理すればよいので、CPUの受信データの処理負荷を低減することができる。   According to the present invention, the network upper software of the CPU that controls the communication device of the communication device that has received the data broadcast from another communication device needs to process only the data necessary for the communication device. , The processing load on the received data of the CPU can be reduced.

本発明の一実施形態による通信システムの構成とブロードキャストによるデータ送信とを説明する図である。It is a figure explaining the structure of the communication system by one Embodiment of this invention, and the data transmission by a broadcast. 図1に示した通信システムにおいて各通信装置が自通信装置以外の全通信装置からブロードキャストされたデータを受信する動作を説明する図である。FIG. 2 is a diagram for explaining an operation in which each communication device receives data broadcast from all communication devices other than its own communication device in the communication system shown in FIG. 1. 従来技術による通信装置の構成と通信装置相互間でのデータの転送を説明する図である。It is a figure explaining the structure of the communication apparatus by a prior art, and the transfer of the data between communication apparatuses. フレームヘッダ内の代表的なデータブロックを示すフレームヘッダのフォーマットの構成を示す図である。It is a figure which shows the structure of the format of the frame header which shows the typical data block in a frame header. 本発明の実施形態による通信装置の構成を示すブロック図である。It is a block diagram which shows the structure of the communication apparatus by embodiment of this invention. 受信フレーム廃棄判定ブロックが廃棄判定を行い、LANコントローラドライバがフレームを廃棄するまでの処理動作を説明するフローチャートである。10 is a flowchart for explaining processing operations until a received frame discard determination block performs discard determination and a LAN controller driver discards a frame. 主メモリの受信バッファ領域内の各ケースと、データ廃棄ステータスレジスタとの対応を説明する図である。It is a figure explaining a response | compatibility with each case in the reception buffer area | region of a main memory, and a data discard status register.

以下、本発明による通信システム、通信装置及び通信方法の実施形態を図面により詳細に説明する。   Embodiments of a communication system, a communication apparatus, and a communication method according to the present invention will be described below in detail with reference to the drawings.

図1は本発明の一実施形態による通信システムの構成とブロードキャストによるデータ送信とを説明する図である。   FIG. 1 is a diagram for explaining the configuration of a communication system and data transmission by broadcast according to an embodiment of the present invention.

本発明の実施形態による通信システムは、通信装置A100を含む複数の通信装置A〜D…がネットワーク101を介して相互に通信可能に接続されて構成されている。各通信装置A〜D…には、それぞれ、制御端末A〜D…が接続されている。図1には、各通信装置A〜D…のそれぞれに、1台の制御端末A〜D…が接続されているものとして示しているが、各通信装置A〜D…のそれぞれに、複数台の制御端末が接続されていてもよい。そして、図示通信システムがプロセス制御に使用される場合、各制御端末は、プロセス内の各種センサ情報等の収集、各種アクチュエータ等の制御を行う。   The communication system according to the embodiment of the present invention is configured such that a plurality of communication devices A to D including a communication device A100 are connected to each other via a network 101 so that they can communicate with each other. Control terminals A to D are connected to the communication devices A to D, respectively. Although FIG. 1 shows that each of the communication devices A to D is connected to one control terminal A to D, a plurality of communication terminals A to D are provided. Control terminals may be connected. When the illustrated communication system is used for process control, each control terminal collects various sensor information in the process and controls various actuators.

いま、通信装置A100がデータのブロードキャスト送信102を行うものとする。この場合、そのデータは、ネットワーク100に接続されている全ての通信装置に対して送信され、他の全ての通信装置で受信されることになる。データのブロードキャスト送信は、通信装置B110や、その他全ての通信装置においても、通信装置A100の場合と同様に行われる。   Now, it is assumed that the communication apparatus A 100 performs data broadcast transmission 102. In this case, the data is transmitted to all the communication devices connected to the network 100 and received by all other communication devices. The data broadcast transmission is performed in the same way as in the communication apparatus A100 in the communication apparatus B110 and all other communication apparatuses.

図2は図1に示した通信システムにおいて各通信装置が自通信装置以外の全通信装置からブロードキャストされたデータを受信する動作を説明する図である。   FIG. 2 is a diagram for explaining an operation in which each communication device receives data broadcast from all communication devices other than its own communication device in the communication system shown in FIG.

本発明の実施形態による通信システムにおいても、各通信装置は、ブロードキャスト送信されたデータが自通信装置局にとって必要なデータであるか否かに関わらず、全てのデータを受信する。そして、本発明の実施形態は、詳細を後述するように、通信装置を制御するCPUの処理負荷が大きくならないように、受信したデータが自通信装置にとって必要か不要か否かを判別し、不要なデータの廃棄を行っている。   Also in the communication system according to the embodiment of the present invention, each communication device receives all data regardless of whether the broadcast-transmitted data is necessary for the own communication device station. The embodiment of the present invention, as will be described in detail later, determines whether or not the received data is necessary or unnecessary for the own communication device so as not to increase the processing load on the CPU that controls the communication device. Data is being discarded.

前述した本発明の実施形態による通信システムの構成は、従来技術の場合も同様である。また、前述した本発明の実施形態による通信システムのネットワークは、ループ状に接続されて構成されているように示しているが、ネットワークの構成は、必ずしもループ状である必要はない。   The configuration of the communication system according to the above-described embodiment of the present invention is the same as that of the related art. Further, although the network of the communication system according to the above-described embodiment of the present invention is illustrated as being connected in a loop shape, the network configuration does not necessarily have to be a loop shape.

次に、本発明の実施形態による通信装置について説明するが、その前に、ネットワークに接続されている複数の通信装置の1つが他の通信装置へデータを送信する際に生成するフレームのフレームヘッダの構成を説明する。   Next, a communication device according to an embodiment of the present invention will be described. Before that, a frame header of a frame generated when one of a plurality of communication devices connected to a network transmits data to another communication device. The structure of will be described.

図4はフレームヘッダ内の代表的なデータブロックを示すフレームヘッダのフォーマットの構成を示す図である。本発明の実施形態は、通信装置内のLSIが受信したフレームのフレームヘッダ内の値を基に、フレームすなわちデータの廃棄判定を行っている。なお、送信データは、フレームヘッダに続くデータ領域に格納される。   FIG. 4 is a diagram showing a format structure of a frame header showing a typical data block in the frame header. In the embodiment of the present invention, discard determination of a frame, that is, data is performed based on the value in the frame header of the frame received by the LSI in the communication apparatus. Transmission data is stored in a data area following the frame header.

フレームヘッダは、図4に示しているように、IEEE802.3で規定されるような宛先MACアドレス、送信元MACアドレス、フレーム・タイプを含むMACヘッダ300と、プロトコル番号、送信元IPアドレス、宛先IPアドレスを含むIPヘッダ310と、送信元ポート番号、受信側装置の処理プログラムが必要とする情報を持つ宛先ポート番号を含むUDPヘッダ320とにより構成される。本発明の実施形態は、このうち、MACヘッダ内のフレーム・タイプ301、IPヘッダ内のプロトコル番号311、宛先IPアドレス312、UDPヘッダ内の宛先ポート番号321をフレーム廃棄の判定対象であるデータブロックとして、これらのデータブロックの内容により、そのフレームを廃棄するか否かを判定している。   As shown in FIG. 4, the frame header includes a MAC header 300 including a destination MAC address, a source MAC address, and a frame type as defined in IEEE 802.3, a protocol number, a source IP address, and a destination. An IP header 310 including an IP address, and a UDP header 320 including a transmission source port number and a destination port number having information required by the processing program of the reception side apparatus are configured. In the embodiment of the present invention, the frame type 301 in the MAC header, the protocol number 311 in the IP header, the destination IP address 312, and the destination port number 321 in the UDP header are data blocks that are subject to frame discard determination. Whether or not to discard the frame is determined based on the contents of these data blocks.

図5は本発明の実施形態による通信装置の構成を示すブロック図である。図5には、通信装置A100を挙げて、その構成を示しているが、通信システムを構成する複数の通信装置は、全て同一に構成されている。   FIG. 5 is a block diagram showing the configuration of the communication apparatus according to the embodiment of the present invention. FIG. 5 shows the configuration of the communication device A100, but the plurality of communication devices that constitute the communication system are all configured identically.

本発明の実施形態による通信装置は、そのハードウェアとして、CPU410、主メモリ420、LSI430、LANコントローラ440を備えて構成されている。CPU410は、ソフトウェアとして、データ受信通知後の処理を行うネットワーク上位ソフトウェア411と、このネットワーク上位ソフトウェア411へのデータ受信通知と受信データの廃棄を行うLANコントローラドライバ412とを有している。これらのソフトウェア411、412は、CPU410に制御されて実行されることにより、それぞれの機能が構築される。   The communication apparatus according to the embodiment of the present invention includes a CPU 410, a main memory 420, an LSI 430, and a LAN controller 440 as hardware. The CPU 410 includes, as software, network upper software 411 that performs processing after data reception notification, and a LAN controller driver 412 that performs data reception notification to the network upper software 411 and discards received data. These software 411 and 412 are controlled and executed by the CPU 410 to construct respective functions.

主メモリ420は、その構成の詳細について図示しないが、送信データ格納エリア、受信バッファエリア、受信データ格納エリア、自局(自通信装置)受信許可ポート番号指定ビットエリア、その他、CPU410がその処理等のために使用するエリア等を備えて構成されているが、図5には、自局受信許可ポート番号指定ビットエリア421と、他の通信装置からネットワーク及びLANコントローラ440を経由して受信するデータを格納する受信バッファエリア422とだけを示している。   Although details of the configuration of the main memory 420 are not shown, a transmission data storage area, a reception buffer area, a reception data storage area, a local station (local communication device) reception permission port number designation bit area, and other processing, etc. FIG. 5 shows the data received from the local station reception permission port number designation bit area 421 and other communication devices via the network and the LAN controller 440. Only the reception buffer area 422 for storing the data is shown.

自局受信許可ポート番号指定ビットエリア421は、規格により定められている全65536種類のポート番号に合わせて65536bit(8192B)の容量を有し、自局受信許可ポート番号指定ビットエリア領域の先頭をポート番号0、最終をポート番号65535とし、受信を許可するポート番号に対応する自局受信許可ポート番号指定ビット位置に、システムを管理している管理者であるユーザが1を設定する。   The local station reception permission port number designation bit area 421 has a capacity of 65536 bits (8192B) in accordance with all 65536 types of port numbers defined by the standard, and the head of the local station reception permission port number designation bit area area. The port number 0 and the final port number 65535 are set, and the user who is the manager who manages the system sets 1 to the local station reception permission port number designation bit position corresponding to the port number for which reception is permitted.

受信バッファエリア422は、リングバッファであり、LANコントローラ440で受信された他の通信装置からの受信フレーム450を、受信フレームであるケース423毎に格納するエリアである。1つのケース423の容量は、受信フレーム450の最大長1518Bより大きく、後述するデータ廃棄ステータスレジスタとの対応付けが容易な2のべき乗の数である2KBである。   The reception buffer area 422 is a ring buffer, and is an area for storing the reception frame 450 received from the other communication device received by the LAN controller 440 for each case 423 that is a reception frame. The capacity of one case 423 is 2 KB which is larger than the maximum length 1518B of the reception frame 450 and is a power of 2 that can be easily associated with a data discard status register described later.

LSI430は、データの廃棄ステータスを反映する廃棄ステータスレジスタ431、受信フレーム450を格納する主メモリ420の受信バッファエリア422の先頭アドレスを指定する受信バッファの主メモリアドレスレジスタ432、受信フレーム450のヘッダ内のフレーム・タイプ301がどこに位置するかを指定するフレーム・タイプのアドレスレジスタ433、受信フレーム450のヘッダ内のプロトコル番号311がどこに位置するかを指定するプロトコル番号のアドレスレジスタ434、受信フレーム450のヘッダ内の宛先IPアドレス312がどこに位置するかを指定する宛先IPアドレスのアドレスレジスタ435、宛先IPアドレスのサブネットマスクを設定するサブネットマスク設定レジスタ436、受信フレーム450のヘッダ内の宛先ポート番号がどこに位置するかを指定する宛先ポート番号のアドレスレジスタ437、自局受信許可ポート番号指定ビットエリア421の先頭アドレスを指定するビットエリアの主メモリアドレスレジスタ438、及び、受信フレーム廃棄判定ブロック439を備えて構成されている。   The LSI 430 includes a discard status register 431 that reflects the data discard status, a main memory address register 432 of the reception buffer that specifies the start address of the reception buffer area 422 of the main memory 420 that stores the reception frame 450, and a header of the reception frame 450 Frame type address register 433 for specifying where the frame type 301 is located, protocol number address register 434 for specifying where the protocol number 311 in the header of the received frame 450 is located, A destination IP address address register 435 for specifying where the destination IP address 312 in the header is located, a subnet mask setting register 436 for setting a subnet mask for the destination IP address, a reception frame A destination port number address register 437 for designating where the destination port number in the header of the program 450 is located, a bit area main memory address register 438 for designating the head address of the local station reception permission port number designation bit area 421, In addition, a reception frame discard determination block 439 is provided.

受信フレーム廃棄判定ブロック439は、他の通信装置からLANコントローラ440を経由して受信したフレーム450のヘッダが主メモリ420の受信バッファ格納エリア422の該当ケース423に格納される間に、並行して、受信フレーム450のヘッダ内のフレーム・タイプ312、プロトコル番号311、宛先IPアドレス312、宛先ポート番号321を各レジスタで指定されたアドレスをもとに順にスヌープし、その都度データが廃棄対象であるか否かを判定する。宛先ポート番号が廃棄対象であるかの判定は、主メモリ420の自局受信許可ポート番号指定ビットエリア421をリードし、そのリードデータと照らし合わせることにより行う。受信フレーム廃棄判定ブロック439は、前述した判定を行い、受信フレーム450が廃棄対象であった場合、廃棄ステータスレジスタ431の対象ビットに1を立てる。   The received frame discard determination block 439 is executed in parallel while the header of the frame 450 received from another communication device via the LAN controller 440 is stored in the corresponding case 423 of the reception buffer storage area 422 of the main memory 420. The frame type 312, the protocol number 311, the destination IP address 312, and the destination port number 321 in the header of the received frame 450 are sequentially snooped based on the addresses specified in the registers, and the data is to be discarded each time. It is determined whether or not. Whether the destination port number is to be discarded is determined by reading the local station reception permission port number designation bit area 421 of the main memory 420 and comparing it with the read data. The reception frame discard determination block 439 performs the above-described determination, and when the reception frame 450 is a discard target, sets the target bit of the discard status register 431 to 1.

LANコントローラ440は、受信したフレーム450を主メモリ420の受信バッファエリア422に格納した後、LANコントローラドライバ412に受信完了を通知する割込信号を出力する。   The LAN controller 440 stores the received frame 450 in the reception buffer area 422 of the main memory 420, and then outputs an interrupt signal notifying the LAN controller driver 412 of the completion of reception.

受信LANコントローラドライバ412は、割込通知を受けると、廃棄ステータスレジスタ431をリードして、廃棄ステータスが上がっているか否か、すなわち、廃棄ステータスレジスタ431の対象ビットに1が立っているか否かをチェックする。LANコントローラドライバ412は、このチェックの結果、フレーム450が廃棄対象でなければIP、UDP等の処理を行うネットワーク上位ソフトウェア411にフレーム450の受信を通知し、フレーム450が廃棄対象であれば、受信したフレーム450を廃棄し、ネットワーク上位ソフトウェア411に対するフレーム受信の受信通知を行わない。なお、受信LANコントローラドライバ412での受信したフレーム450の廃棄は、ネットワーク上位ソフトウェア411に対するフレーム受信の受信通知を行わないだけでよい。なぜらら、受信バッファ422は、サイクリックに使用されているので、古いケースから順に廃棄されていくからである。   When receiving the interrupt notification, the reception LAN controller driver 412 reads the discard status register 431 to determine whether the discard status is raised, that is, whether the target bit of the discard status register 431 is set to 1. To check. As a result of this check, if the frame 450 is not to be discarded, the LAN controller driver 412 notifies the network upper software 411 that performs processing such as IP and UDP to receive the frame 450, and if the frame 450 is to be discarded, the LAN controller driver 412 receives The received frame 450 is discarded, and reception notification of frame reception to the network upper software 411 is not performed. Note that discarding of the received frame 450 by the reception LAN controller driver 412 is not limited to notifying the reception of frame reception to the network upper software 411. This is because the reception buffer 422 is used cyclically, and is discarded in order from the old case.

ネットワーク上位ソフトウェア411は、LANコントローラドライバ412から受信通知を受けた後に、受信したフレームのIP、UDP等のサム計算や受信バッファからネットワーク上位ソフトウェアのワークエリアへのコピー等の処理を行う。ネットワーク上位ソフトウェア411は、前述したように、廃棄対象でないフレームのIP、UDP等のサム計算や受信バッファからネットワーク上位ソフトウェアのワークエリアへのコピー等の処理を行えばよく、ネットワーク上位ソフトウェアで不要なデータに対してIP、UDP等のサム計算、ワークエリアへのコピー、データ廃棄を行う必要が無くなり、他の通信装置からブロードキャストによるデータの送信が頻発した場合にも、従来技術の場合に比べてネットワーク上位ソフトウェアの処理負荷、すなわち、CPU411の処理負荷が低減することになる。   After receiving the reception notification from the LAN controller driver 412, the network upper software 411 performs processing such as sum calculation of the received frame such as IP and UDP, and copying from the reception buffer to the work area of the network upper software. As described above, the network upper software 411 may perform processing such as sum calculation of IP, UDP, etc. of a frame not to be discarded and copy from the reception buffer to the work area of the network upper software. It is no longer necessary to perform sum calculation such as IP and UDP, copy to work area, and data discard for data, and even when data transmission by broadcast frequently occurs from other communication devices, compared to the case of the prior art The processing load on the network upper software, that is, the processing load on the CPU 411 is reduced.

図6は受信フレーム廃棄判定ブロック439が廃棄判定を行い、LANコントローラドライバ412がフレームを廃棄するまでの処理動作を説明するフローチャートであり、次に、図6を参照して、受信フレームを廃棄する際の処理を詳細に説明する。本発明の実施形態における図6に示すフローの例では、受信フレームのフレーム・タイプがIP、かつ、プロトコル番号がUDP、かつ、宛先IPアドレスがブロードキャスト、かつ、宛先ポート番号が自局受信許可でない場合に受信フレームの廃棄を行うこととしている。   FIG. 6 is a flowchart for explaining processing operations until the received frame discard determination block 439 performs discard determination and the LAN controller driver 412 discards the frame. Next, referring to FIG. 6, the received frame is discarded. The process will be described in detail. In the example of the flow shown in FIG. 6 in the embodiment of the present invention, the frame type of the received frame is IP, the protocol number is UDP, the destination IP address is broadcast, and the destination port number is not local station reception permission. In this case, the received frame is discarded.

(1)LANコントローラ440は、他の通信装置からのフレーム450の受信待機状態から受信フレームの先頭を検出する(ステップ500、501)。 (1) The LAN controller 440 detects the head of the received frame from the reception standby state of the frame 450 from another communication device (steps 500 and 501).

(2)受信したフレームのフレームヘッダは、先頭から順にLSI430に入力されていく。LSI430の受信フレーム廃棄判定ブロック439は、フレーム・タイプのアドレスレジスタ433の値と受信したフレーム450のアドレスとが一致したデータをスヌープし、フレーム・タイプがIPであるか否かを判定する。フレーム・タイプには、IPとARPとの2種類があり、フレーム・タイプがARPの場合、ステップ500からの処理に戻り、フレームの受信待機状態となる(ステップ502)。 (2) The frame header of the received frame is input to the LSI 430 in order from the top. The received frame discard determination block 439 of the LSI 430 snoops data in which the value of the frame type address register 433 matches the address of the received frame 450, and determines whether or not the frame type is IP. There are two types of frame types, IP and ARP. If the frame type is ARP, the process returns from step 500 to enter a frame reception standby state (step 502).

(3)ステップ502の判定で、フレーム・タイプがIPであった場、受信フレーム廃棄判定ブロック439は、プロトコル番号のアドレスレジスタ434の値と受信したフレームのアドレスとが一致したデータをスヌープし、プロトコル番号がUDPであるか否かを判定する。プロトコル番号がUDP以外であった場合、ステップ500からの処理にもどり、フレームの受信待機状態となる(ステップ503)。 (3) If the frame type is IP in the determination in step 502, the received frame discard determination block 439 snoops data in which the value of the protocol number address register 434 matches the address of the received frame, It is determined whether or not the protocol number is UDP. If the protocol number is other than UDP, the process returns from step 500 to a frame reception standby state (step 503).

(4)ステップ503の判定で、プロトコル番号がUDPであった場合、受信フレーム廃棄判定ブロック439は、宛先IPアドレスのアドレスレジスタ435の値と受信したフレームのアドレスとが一致したデータをスヌープし、スヌープしたデータをサブネットマスク設定レジスタ436で指定された値でマスクする(ステップ504)。 (4) If it is determined in step 503 that the protocol number is UDP, the reception frame discard determination block 439 snoops data in which the value of the address register 435 of the destination IP address matches the address of the received frame, The snooped data is masked with the value designated by the subnet mask setting register 436 (step 504).

(5)その後、受信フレーム廃棄判定ブロック439は、宛先IPアドレスがブロードキャストであるか否かを判定し、宛先IPアドレスが、個々の宛先を示している等でブロードキャストではなかった場合、ステップ500からの処理に戻り、フレームの受信待機状態となる(ステップ505)。 (5) Thereafter, the received frame discard determination block 439 determines whether or not the destination IP address is broadcast. If the destination IP address indicates an individual destination and is not broadcast, the process starts from step 500. Returning to the process, a frame reception standby state is entered (step 505).

(6)ステップ505の判定で、宛先IPアドレスがブロードキャストであった場合、受信フレーム廃棄判定ブロック439は、宛先ポート番号のアドレスレジスタ437の値と受信フレームのアドレスとが一致したデータをスヌープすると共に、同時に、受信フレームのアドレスと受信バッファの主メモリアドレスレジスタ432の値とを比較することにより、受信バッファのケース番号をスヌープする(ステップ506)。 (6) If it is determined in step 505 that the destination IP address is broadcast, the reception frame discard determination block 439 snoops data in which the value of the address register 437 of the destination port number matches the address of the reception frame. At the same time, the case number of the reception buffer is snooped by comparing the address of the reception frame with the value of the main memory address register 432 of the reception buffer (step 506).

(7)次に、受信フレーム廃棄判定ブロック439は、スヌープした宛先ポート番号に対応する主メモリの自局受信許可ポート番号指定ビットエリア421をリードし、対応する自局受信許可ポート番号指定ビットエリアのビットが1か否かを判定して、スヌープした宛先ポート番号が廃棄対象であるか否かを判定し、宛先ポート番号が自局受信許可ポート番号となっていて、フレームが廃棄対象でないか否かを判定し、フレームが廃棄対象でなかった場合、ステップ500からの処理に戻り、フレームの受信待機状態となる(ステップ507、508)。 (7) Next, the received frame discard determination block 439 reads the local station reception permission port number designation bit area 421 of the main memory corresponding to the snooped destination port number, and the corresponding local station reception permission port number designation bit area. Whether the snoop destination port number is to be discarded, whether the destination port number is the local reception permission port number, and the frame is not to be discarded If the frame is not to be discarded, the process returns from step 500 to a frame reception standby state (steps 507 and 508).

(8)ステップ508の判定で、フレームが廃棄対象であった場合、フレーム・タイプ、プロトコル番号、宛先IPアドレス、宛先ポート番号の全てで受信したフレームが廃棄対象であることを示していたため、既にスヌープしてある受信バッファのケース番号に対応する廃棄ステータスレジスタ431にデータの廃棄を意味する1をセットする。なお、フレームが廃棄対象であると判定するのは、フレーム・タイプ、プロトコル番号、宛先IPアドレス、宛先ポート番号の全てが、受信したフレームが廃棄対象であることを示していなくても、それらの一部だけであってもよい(ステップ509)。 (8) If it is determined in step 508 that the frame is to be discarded, the frame type, protocol number, destination IP address, and destination port number all indicate that the received frame is to be discarded. 1 is set in the discard status register 431 corresponding to the snooped reception buffer case number. Note that the frame is determined to be discarded even if the frame type, protocol number, destination IP address, and destination port number do not indicate that the received frame is to be discarded. There may be only a part (step 509).

(9)他の装置からのフレーム450の受信が終了すると、LANコントローラ440がLANコントローラドライバ412に対して受信完了を通知する割込通知を行うので、これを受けたLANコントローラドライバ412は、LSI430内の廃棄ステータスレジスタ431の値をリードすることにより、受信したフレームの廃棄が指示されていた場合、その受信したフレームのデータの廃棄を行った後、ステップ500からの処理に戻り、フレームの受信待機状態となる(ステップ510)。 (9) When the reception of the frame 450 from another device is completed, the LAN controller 440 issues an interrupt notification notifying the LAN controller driver 412 of the completion of reception. If the received frame is instructed to be discarded by reading the value of the discard status register 431, the received frame data is discarded, and the process returns to step 500 to receive the frame. A standby state is entered (step 510).

本発明の実施形態による通信装置は、前述で説明したような処理を行うことにより、LANコントローラドライバ412が、廃棄すべきフレームのデータを廃棄し、フレームの受信通知をネットワーク上位ソフトウェア411へ行うことがない。   In the communication apparatus according to the embodiment of the present invention, the LAN controller driver 412 discards the frame data to be discarded and performs the frame reception notification to the network upper software 411 by performing the processing described above. There is no.

このため、ネットワーク上位ソフトウェア411は、廃棄対象でないフレームのIP、UDP等のサム計算や受信バッファからネットワーク上位ソフトウェアのワークエリアへのコピー等の処理を行えばよく、ネットワーク上位ソフトウェアで不要なデータに対してIP、UDP等のサム計算、ワークエリアへのコピー、データ廃棄を行う必要が無くなり、他の通信装置からブロードキャストによるデータの送信が頻発した場合にも、従来技術の場合に比べてネットワーク上位ソフトウェア411の処理負荷、すなわち、CPU410の処理負荷が低減することになる。   For this reason, the network upper software 411 only needs to perform processing such as sum calculation of frames that are not to be discarded, such as IP and UDP, and copying from the reception buffer to the work area of the network upper software. On the other hand, it is not necessary to perform sum calculation such as IP and UDP, copy to work area, and data discard, and even when data transmission by broadcast frequently occurs from other communication devices, it is higher in the network than in the case of the prior art. The processing load on the software 411, that is, the processing load on the CPU 410 is reduced.

図7は主メモリ420の受信バッファ領域422内の各ケースと、データ廃棄ステータスレジスタ431との対応を説明する図である。図7に示す例では、図7(a)に示すように、主メモリ600の領域のうち、受信バッファ601の容量を128KB、すなわち、受信フレーム最大64ケース分であるとする。また、データ廃棄ステータスレジスタ610のビットの数は、図7(b)に示すように、受信バッファのケース数と等しくするため、計64ビットとする。   FIG. 7 is a diagram for explaining the correspondence between each case in the reception buffer area 422 of the main memory 420 and the data discard status register 431. In the example shown in FIG. 7, as shown in FIG. 7A, it is assumed that the capacity of the reception buffer 601 in the area of the main memory 600 is 128 KB, that is, the maximum number of received frames is 64 cases. Further, the number of bits of the data discard status register 610 is set to 64 bits in total to be equal to the number of cases of the reception buffer as shown in FIG. 7B.

図7において、受信バッファのケース0(602)に格納した他の局通信装置からの受信データが廃棄対象である場合、データ廃棄ステータスレジスタ610の最上位ビットである63ビット目611に1がセットされる。また、受信バッファのケース63(603)に格納した他の通信装置からの受信データが廃棄対象である場合、データ廃棄ステータスレジスタ610の最下位ビットである0ビット目(612)に1がセットされる。LANコントローラドライバは、このようなレジスタ値をリードして、受信したデータが廃棄対象であるか否かを判別している。   In FIG. 7, when received data from another station communication device stored in case 0 (602) of the reception buffer is to be discarded, 1 is set to the 63rd bit 611 which is the most significant bit of the data discard status register 610. Is done. When the received data from another communication device stored in the case 63 (603) of the reception buffer is to be discarded, 1 is set to the 0th bit (612) which is the least significant bit of the data discard status register 610. The The LAN controller driver reads such a register value and determines whether or not the received data is to be discarded.

前述した本発明の実施形態での処理は、プログラムにより構成し、本発明が備えるCPUに実行させることができ、また、それらのプログラムは、FD、CDROM、DVD等の記録媒体に格納して提供することができ、また、ネットワークを介してディジタル情報により提供することができる。   The processing in the above-described embodiment of the present invention is configured by a program and can be executed by a CPU included in the present invention. These programs are stored in a recording medium such as an FD, CDROM, or DVD and provided. And can be provided by digital information over a network.

100、110 通信装置A、B
101 ネットワーク
400 通信装置A
410 CPU
411 ネットワーク上位ソフトウェア
412 LANコントローラドライバ
420 主メモリ
421 自局受信許可ポート番号指定ビットエリア
422 受信バッファ
423 ケースN
430 LSI
431 廃棄ステータスレジスタ
432 受信バッファの主メモリアドレスレジスタ
433 フレーム・タイプのアドレスレジスタ
434 プロトコル番号のアドレスレジスタ
435 宛先IPアドレスのアドレスレジスタ
436 サブネットマスク設定レジスタ
437 宛先ポート番号のアドレスレジスタ
438 ビットエリアの主メモリアドレスレジスタ
439 受信フレーム廃棄判定ブロック
440 LANコントローラ
450 フレーム
100, 110 Communication devices A and B
101 Network 400 Communication device A
410 CPU
411 Network upper software 412 LAN controller driver 420 Main memory 421 Local station reception permission port number designation bit area 422 Reception buffer 423 Case N
430 LSI
431 Discard status register 432 Receive buffer main memory address register 433 Frame type address register 434 Protocol number address register 435 Destination IP address address register 436 Subnet mask setting register 437 Destination port number address register 438 Bit area main memory Address register 439 Received frame discard decision block 440 LAN controller 450 frame

Claims (6)

複数の通信装置がネットワークにより相互に通信可能に接続されて構成された通信システムにおいて、
前記複数の通信装置のそれぞれは、ネットワーク上位ソフトウェア及びLANコントローラドライバを有する中央演算処理装置と、主メモリと、受信フレーム廃棄判定手段と、伝送フレームを廃棄するか否かを示す情報を一時保管する廃棄ステータスレジスタとを有し、それぞれの通信装置が前記主メモリ内に保持しているデータを他の通信装置が保持するデータと一致化させるために相互に伝送フレームの送受信を行い、
他の通信装置から送信されてきた伝送フレームを受信した通信装置は、前記受信フレーム廃棄判定手段が、受信した伝送フレームに含まれる情報である宛先番号としての宛先IPアドレス及び宛先ポート番号と、自通信装置の記憶装置に格納されている自通信装置が受付処理を行ってよいか否かを示す宛先IPアドレス及び宛先ポート番号とを比較して、受信した伝送フレームを自通信装置で受付処理を行うべきか否かを判定し、判定結果を前記廃棄ステータスレジスタに保持させ、
前記LANコントローラドライバは、前記廃棄ステータスレジスタが、前記受信した伝送フレームが自通信装置で受付処理を行うべきものでないことを示していた場合、前記伝送フレームの廃棄処理を行い、
前記ネットワーク上位ソフトウェアは、前記受信した伝送フレームが自通信装置で受付処理を行うべきものであることを示していた場合、前記伝送フレームの受付処理を行うことを特徴とする通信システム。
In a communication system configured such that a plurality of communication devices are connected to each other via a network,
Each of the plurality of communication devices temporarily stores a central processing unit having network upper software and a LAN controller driver, a main memory, a received frame discard determination unit, and information indicating whether or not to discard a transmission frame. A discard status register, and transmission / reception of transmission frames to each other in order to match the data held in the main memory with the data held by other communication devices,
In the communication device that has received the transmission frame transmitted from another communication device, the received frame discard determination means determines that the destination IP address and the destination port number as the destination number, which is information included in the received transmission frame, The own communication device stored in the storage device of the communication device compares the destination IP address and the destination port number indicating whether or not the acceptance processing may be performed, and the received communication frame is accepted by the own communication device. It is determined whether or not to be performed, the determination result is held in the discard status register,
The LAN controller driver, when the discard status register indicates that the received transmission frame is not to be accepted in its own communication device, performs the discard process of the transmission frame,
A communication system, wherein the network host software performs reception processing of the transmission frame when the received transmission frame indicates that reception processing is to be performed by a local communication device.
前記受信フレーム廃棄判定手段が、前記受信した伝送フレームが自通信装置で受付処理を行うべきか否かの判定に使用する情報として、前記宛先番号に加えて、フレーム・タイプ及びプロトコル番号を使用することを特徴とする請求項1記載の通信システム。   The received frame discard determining means uses a frame type and a protocol number in addition to the destination number as information used for determining whether or not the received transmission frame should be accepted in the local communication device. The communication system according to claim 1. 前記廃棄ステータスレジスタの各ビットと前記受信した個々の伝送フレームを格納している前記主メモリの領域とが関連付けられていることを特徴とする請求項1または2記載の通信システム   3. The communication system according to claim 1, wherein each bit of the discard status register is associated with an area of the main memory storing the received individual transmission frame. 前記受信した個々の伝送フレームを格納する主メモリの領域は、伝送フレームの最大長より大きく、かつ、2のべき乗であることを特徴とする請求項3記載の通信システム。   4. The communication system according to claim 3, wherein an area of the main memory for storing each received transmission frame is larger than the maximum length of the transmission frame and is a power of two. 複数の通信装置がネットワークにより相互に通信可能に接続されて構成された通信システムにおける通信装置において、
前記複数の通信装置のそれぞれは、ネットワーク上位ソフトウェア及びLANコントローラドライバを有する中央演算処理装置と、主メモリと、受信フレーム廃棄判定手段と、伝送フレームを廃棄するか否かを示す情報を一時保管する廃棄ステータスレジスタとを有し、それぞれの通信装置が前記主メモリ内に保持しているデータを他の通信装置が保持するデータと一致化させるために相互に伝送フレームの送受信を行い、
他の通信装置から送信されてきた伝送フレームを受信した通信装置は、前記受信フレーム廃棄判定手段が、受信した伝送フレームに含まれる情報である宛先番号としての宛先IPアドレス及び宛先ポート番号と、自通信装置の記憶装置に格納されている自通信装置が受付処理を行ってよいか否かを示す宛先IPアドレス及び宛先ポート番号とを比較して、受信した伝送フレームを自通信装置で受付処理を行うべきか否かを判定し、判定結果を前記廃棄ステータスレジスタに保持させ、
前記LANコントローラドライバは、前記廃棄ステータスレジスタが、前記受信した伝送フレームが自通信装置で受付処理を行うべきものでないことを示していた場合、前記伝送フレームの廃棄処理を行い、
前記ネットワーク上位ソフトウェアは、前記受信した伝送フレームが自通信装置で受付処理を行うべきものであることを示していた場合、前記伝送フレームの受付処理を行うことを特徴とする通信装置。
In a communication device in a communication system configured such that a plurality of communication devices are connected to each other via a network,
Each of the plurality of communication devices temporarily stores a central processing unit having network upper software and a LAN controller driver, a main memory, a received frame discard determination unit, and information indicating whether or not to discard a transmission frame. A discard status register, and transmission / reception of transmission frames to each other in order to match the data held in the main memory with the data held by other communication devices,
In the communication device that has received the transmission frame transmitted from another communication device, the received frame discard determination means determines that the destination IP address and the destination port number as the destination number, which is information included in the received transmission frame, The own communication device stored in the storage device of the communication device compares the destination IP address and the destination port number indicating whether or not the acceptance processing may be performed, and the received communication frame is accepted by the own communication device. It is determined whether or not to be performed, the determination result is held in the discard status register,
The LAN controller driver, when the discard status register indicates that the received transmission frame is not to be accepted in its own communication device, performs the discard process of the transmission frame,
The network host software performs the transmission frame reception process when the received transmission frame indicates that the reception process is to be performed by the local communication apparatus.
複数の通信装置がネットワークにより相互に通信可能に接続されて構成された通信システムにおける通信方法において、
前記複数の通信装置のそれぞれは、ネットワーク上位ソフトウェア及びLANコントローラドライバを有する中央演算処理装置と、主メモリと、受信フレーム廃棄判定手段と、伝送フレームを廃棄するか否かを示す情報を一時保管する廃棄ステータスレジスタとを有し、それぞれの通信装置が前記主メモリ内に保持しているデータを他の通信装置が保持するデータと一致化させるために相互に伝送フレームの送受信を行い、
他の通信装置から送信されてきた伝送フレームを受信した通信装置は、前記受信フレーム廃棄判定手段が、受信した伝送フレームに含まれる情報である宛先番号としての宛先IPアドレス及び宛先ポート番号と、自通信装置の記憶装置に格納されている自通信装置が受付処理を行ってよいか否かを示す宛先IPアドレス及び宛先ポート番号とを比較して、受信した伝送フレームを自通信装置で受付処理を行うべきか否かを判定し、判定結果を前記廃棄ステータスレジスタに保持させ、
前記LANコントローラドライバは、前記廃棄ステータスレジスタが、前記受信した伝送フレームが自通信装置で受付処理を行うべきものでないことを示していた場合、前記伝送フレームの廃棄処理を行い、
前記ネットワーク上位ソフトウェアは、前記受信した伝送フレームが自通信装置で受付処理を行うべきものであることを示していた場合、前記伝送フレームの受付処理を行うことを特徴とする通信方法。
In a communication method in a communication system configured such that a plurality of communication devices are connected to each other via a network,
Each of the plurality of communication devices temporarily stores a central processing unit having network upper software and a LAN controller driver, a main memory, a received frame discard determination unit, and information indicating whether or not to discard a transmission frame. A discard status register, and transmission / reception of transmission frames to each other in order to match the data held in the main memory with the data held by other communication devices,
In the communication device that has received the transmission frame transmitted from another communication device, the received frame discard determination means determines that the destination IP address and the destination port number as the destination number, which is information included in the received transmission frame, The own communication device stored in the storage device of the communication device compares the destination IP address and the destination port number indicating whether or not the acceptance processing may be performed, and the received communication frame is accepted by the own communication device. It is determined whether or not to be performed, the determination result is held in the discard status register,
The LAN controller driver, when the discard status register indicates that the received transmission frame is not to be accepted in its own communication device, performs the discard process of the transmission frame,
The communication method according to claim 1, wherein when the received transmission frame indicates that the received communication frame is to be received by the communication apparatus, the network upper software performs the reception process of the transmission frame.
JP2011254041A 2011-11-21 2011-11-21 COMMUNICATION SYSTEM, COMMUNICATION DEVICE, AND COMMUNICATION METHOD Active JP5756738B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011254041A JP5756738B2 (en) 2011-11-21 2011-11-21 COMMUNICATION SYSTEM, COMMUNICATION DEVICE, AND COMMUNICATION METHOD

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011254041A JP5756738B2 (en) 2011-11-21 2011-11-21 COMMUNICATION SYSTEM, COMMUNICATION DEVICE, AND COMMUNICATION METHOD

Publications (2)

Publication Number Publication Date
JP2013110586A true JP2013110586A (en) 2013-06-06
JP5756738B2 JP5756738B2 (en) 2015-07-29

Family

ID=48706944

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011254041A Active JP5756738B2 (en) 2011-11-21 2011-11-21 COMMUNICATION SYSTEM, COMMUNICATION DEVICE, AND COMMUNICATION METHOD

Country Status (1)

Country Link
JP (1) JP5756738B2 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02116240A (en) * 1988-10-26 1990-04-27 Hitachi Ltd Flow rate measuring instrument and flow rate control system in packet communication device
JPH09269934A (en) * 1996-04-02 1997-10-14 Hitachi Ltd Data matching method and transmitting system for common memory
JP2001333096A (en) * 2000-05-23 2001-11-30 Canon Inc Communication equipment
JP2006121667A (en) * 2004-09-27 2006-05-11 Matsushita Electric Ind Co Ltd Packet reception control device and method
JP2007043382A (en) * 2005-08-02 2007-02-15 Matsushita Electric Ind Co Ltd Frame processor

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02116240A (en) * 1988-10-26 1990-04-27 Hitachi Ltd Flow rate measuring instrument and flow rate control system in packet communication device
JPH09269934A (en) * 1996-04-02 1997-10-14 Hitachi Ltd Data matching method and transmitting system for common memory
JP2001333096A (en) * 2000-05-23 2001-11-30 Canon Inc Communication equipment
JP2006121667A (en) * 2004-09-27 2006-05-11 Matsushita Electric Ind Co Ltd Packet reception control device and method
JP2007043382A (en) * 2005-08-02 2007-02-15 Matsushita Electric Ind Co Ltd Frame processor

Also Published As

Publication number Publication date
JP5756738B2 (en) 2015-07-29

Similar Documents

Publication Publication Date Title
JP2015207223A (en) Information processing device and information processing method
CN106603409B (en) Data processing system, method and equipment
JP4530971B2 (en) Startup processing apparatus, DMA transfer system, and DMA transfer method
US20130019032A1 (en) Apparatus and method for generating interrupt signal that supports multi-processor
WO2018001239A1 (en) Partially deferred packet access
JP2005167965A (en) Packet processing method and apparatus
US11228668B2 (en) Efficient packet processing for express data paths
JP4829408B2 (en) Image processing method and image processing apparatus
US8842547B2 (en) Communication control apparatus and control method
JP5756738B2 (en) COMMUNICATION SYSTEM, COMMUNICATION DEVICE, AND COMMUNICATION METHOD
JP2021027435A (en) Network control device, image forming apparatus, method for controlling network control device, and program for controlling network control device
US10795848B2 (en) Dual way communication method, system, and master device thereof
JP2012027577A (en) Bus connecting device and image processor
JP3970728B2 (en) Data communication device
WO2023223823A1 (en) Data processing device, data processing method, and program
US20220239767A1 (en) Efficient packet re-transmission for express data paths
US11362969B2 (en) Efficient packet re-transmission for express data paths
CN109165099B (en) Electronic equipment, memory copying method and device
JP5821608B2 (en) Packet shaping device
JP2006195607A (en) Method and circuit for determining bulk-out transfer end
US20160224478A1 (en) Register device and method for software programming
US20230062831A1 (en) Communication apparatus and control method thereof, and storage medium
JP2011101249A (en) Image processing system and apparatus, data transfer control method, program and recording medium
CN117573209A (en) Interrupt aggregation method and device based on hardware
JP2003264601A (en) Communication control unit and image formation system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140807

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20150319

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150324

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150427

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20150601

R150 Certificate of patent or registration of utility model

Ref document number: 5756738

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150