JP6110415B2 - Communication apparatus and communication method - Google Patents

Communication apparatus and communication method Download PDF

Info

Publication number
JP6110415B2
JP6110415B2 JP2014559810A JP2014559810A JP6110415B2 JP 6110415 B2 JP6110415 B2 JP 6110415B2 JP 2014559810 A JP2014559810 A JP 2014559810A JP 2014559810 A JP2014559810 A JP 2014559810A JP 6110415 B2 JP6110415 B2 JP 6110415B2
Authority
JP
Japan
Prior art keywords
data
error detection
detection code
communication device
safety
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2014559810A
Other languages
Japanese (ja)
Other versions
JP2015508976A (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.)
LS Electric Co Ltd
Original Assignee
LSIS Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by LSIS Co Ltd filed Critical LSIS Co Ltd
Publication of JP2015508976A publication Critical patent/JP2015508976A/en
Application granted granted Critical
Publication of JP6110415B2 publication Critical patent/JP6110415B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • H04L1/0056Systems characterized by the type of code used
    • H04L1/0061Error detection codes
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M13/00Coding, decoding or code conversion, for error detection or error correction; Coding theory basic assumptions; Coding bounds; Error probability evaluation methods; Channel models; Simulation or testing of codes
    • H03M13/03Error detection or forward error correction by redundancy in data representation, i.e. code words containing more digits than the source words
    • H03M13/05Error detection or forward error correction by redundancy in data representation, i.e. code words containing more digits than the source words using block codes, i.e. a predetermined number of check bits joined to a predetermined number of information bits
    • H03M13/09Error detection only, e.g. using cyclic redundancy check [CRC] codes or single parity bit
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2212/00Indexing scheme relating to accessing, addressing or allocation within memory systems or architectures
    • G06F2212/40Specific encoding of data in memory or cache
    • G06F2212/403Error protection encoding, e.g. using parity or ECC codes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • H04L1/0041Arrangements at the transmitter end
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • H04L1/0045Arrangements at the receiver end
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • H04L1/0075Transmission of coding parameters to receiver
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Probability & Statistics with Applications (AREA)
  • Theoretical Computer Science (AREA)
  • Communication Control (AREA)
  • Small-Scale Networks (AREA)
  • Detection And Prevention Of Errors In Transmission (AREA)

Description

本発明は、通信装置及び通信方法に関するものである。特に、本発明は安全通信装置及び安全通信方法に関するものである。   The present invention relates to a communication device and a communication method. In particular, the present invention relates to a safety communication device and a safety communication method.

産業界で使用されるための安全通信(safety communication)のための方法が模索されている。特に、産業用制御システムは、作業者の安全、環境への脅威、その他の安全に関する問題を防止するためのネットワークを介して伝達される情報に対して、規定されたレベル以上の無欠性を必要とする。   Methods for safety communication for use in the industry are being sought. In particular, industrial control systems require integrity above a specified level for information transmitted over the network to prevent worker safety, environmental threats, and other safety issues. And

このような無欠性条件を満足するために、産業用制御システムは破損(corruption)、意図しない反復、不正確な順序、損失、受け入れ難い遅延、挿入、なりすまし(masquerade)、アドレスに関する問題に対処可能であることが必要である。   To meet these integrity requirements, industrial control systems can deal with corruption, unintentional repetition, inaccurate order, loss, unacceptable delay, insertion, masquerade, and address issues. It is necessary to be.

破損に対する問題に関して、産業用制御システムは送信されるデータに誤りが発生したか否かを規定されたレベル以上の確率で確認できるべきである。   With regard to the problem of corruption, the industrial control system should be able to confirm with a probability above a specified level whether an error has occurred in the transmitted data.

意図しない反復に対する問題に関して、産業用制御システムは悪意を有する者の意図によってではなく、自然に発生し得るデータの反復が発生したか否かを規定されたレベル以上の確率で確認できるべきである。   Regarding problems with unintentional iterations, industrial control systems should be able to ascertain with a probability above a specified level whether or not a naturally occurring iteration of data has occurred, not by malicious intent. .

不正確な順序に対する問題に関して、産業用制御システムはデータの送信順序が変更されたか否かを規定されたレベル以上の確率で確認できるべきである。   With respect to the problem with inaccurate order, the industrial control system should be able to ascertain with a probability above a specified level whether the data transmission order has changed.

損失に対する問題に関して、産業用制御システムは送信されるデータの一部に損失が発生したか否かを規定されたレベル以上の確率で確認できるべきである。   Regarding the problem of loss, the industrial control system should be able to confirm with a probability above a specified level whether a loss has occurred in some of the transmitted data.

受け入れ難い遅延に対する問題に関して、産業用制御システムはデータの送信に受け入れ難い遅延が発生したか否かを規定されたレベル以上の確率で確認できるべきである。   Regarding the problem with unacceptable delays, the industrial control system should be able to ascertain with a probability above a specified level whether an unacceptable delay has occurred in the transmission of data.

挿入に対する問題に関して、産業用制御システムはデータの送信過程で意図しないデータが挿入されたか否かを規定されたレベル以上の確率で確認できるべきである。   Regarding the problem of insertion, the industrial control system should be able to confirm with a probability above a specified level whether or not unintended data has been inserted in the data transmission process.

なりすましに対する問題に関して、産業用制御システムは悪意を有する者によるデータの変更が発生したか否かを規定されたレベル以上の確率で確認できるべきである。   With respect to the issue of impersonation, the industrial control system should be able to confirm with a probability of a specified level or higher whether or not a data change by a malicious person has occurred.

アドレスに対する問題に関して、産業用制御システムはデータが正しい受信者に送信されたか否かを規定されたレベル以上の確率で確認できるべきである。   With respect to address problems, the industrial control system should be able to verify with a probability above a specified level whether the data has been sent to the correct recipient.

特に、IEC61508では、誤りの発生確率を次の表1のようにSIL等級で示している。

Figure 0006110415
In particular, in IEC61508, the error occurrence probability is shown in SIL grade as shown in Table 1 below.
Figure 0006110415

例えば、SIL3を満足するためには誤り確立は10-9を満足すべきである。しかし、現在利用されているパケット構造では、産業用制御システムが要求する水準の無欠性を満足することが難しい。 For example, in order to satisfy SIL3, the error establishment should satisfy 10 -9 . However, with the currently used packet structure, it is difficult to satisfy the level of integrity required by industrial control systems.

本発明が解決しようとする技術的課題は、産業用制御システムが要求する無欠性を満足する通信装置及び通信方法を提供することである。   A technical problem to be solved by the present invention is to provide a communication device and a communication method that satisfy the integrity required by an industrial control system.

本発明の一実施例による、第1通信装置が第2通信装置にデータを送信する通信方法は、第1通信装置が、データ及び仮想シーケンス番号を利用してデータの誤りを検出するためのデータ誤り検出符号を計算するステップと、第1通信装置が、データ及びデータ誤り検出符号を含むパケットを生成するステップと、第1通信装置が、パケットを第2通信装置に送信するステップと、を含む。パケットは仮想シーケンス番号だけを送信するためのフィールドを含まなくてもよい。   According to an embodiment of the present invention, there is provided a communication method in which a first communication device transmits data to a second communication device. The first communication device uses data and a virtual sequence number to detect data errors. Calculating an error detection code; a first communication device generating a packet including data and a data error detection code; and a first communication device transmitting the packet to a second communication device. . The packet may not include a field for transmitting only the virtual sequence number.

本発明の他の実施例による、第1通信装置が第2通信装置からデータを受信する通信方法は、第1通信装置が、パケットを第2通信装置から受信するステップと、第1通信装置が、パケットからデータ及び受信データ誤り検出符号を取得するステップと、第1通信装置が、仮想シーケンス番号及びデータを利用して比較データ誤り検出符号を計算するステップと、第1通信装置が、受信データ誤り検出符号と比較データ誤り検出符号に基づいてパケットに誤りがあるか否かを判断するステップと、を含む。パケットは仮想シーケンス番号だけを送信するためのフィールドを含まなくてもよい。   According to another embodiment of the present invention, a communication method in which a first communication device receives data from a second communication device includes a step in which the first communication device receives a packet from the second communication device, Obtaining a data and received data error detection code from the packet, a first communication device calculating a comparison data error detection code using the virtual sequence number and data, and a first communication device receiving data Determining whether there is an error in the packet based on the error detection code and the comparison data error detection code. The packet may not include a field for transmitting only the virtual sequence number.

本発明の実施例によると、産業用制御システムが要求する無欠性を満足することができる。   According to the embodiment of the present invention, the integrity required by the industrial control system can be satisfied.

特に、本発明の実施例によると、意図しない反復、不正確な順序、損失、挿入のような誤りの検出が可能になる。   In particular, embodiments of the present invention allow detection of errors such as unintentional repetition, incorrect order, loss, and insertion.

本発明の実施例による安全通信装置を示すブロック図である。It is a block diagram which shows the safety communication apparatus by the Example of this invention. 本発明の実施例による通信方法を示すラダーダイヤグラムである。It is a ladder diagram which shows the communication method by the Example of this invention. 本発明の実施例による安全プロトコルデータユニットの構造を示す図である。FIG. 4 is a diagram illustrating a structure of a safety protocol data unit according to an embodiment of the present invention. 本発明の実施例によるパケットの構造を示す図である。It is a figure which shows the structure of the packet by the Example of this invention. 本発明の実施例による仮想シーケンス番号に関する通信方法を示すラダーダイヤグラムである。4 is a ladder diagram illustrating a communication method related to a virtual sequence number according to an embodiment of the present invention. 本発明の他の実施例による仮想シーケンス番号に関する通信方法を示すラダーダイヤグラムである。It is a ladder diagram which shows the communication method regarding the virtual sequence number by other Example of this invention.

以下、本発明に関する移動端末機について図面を参照してより詳細に説明する。以下の説明で使用される構成要素に対する接尾語である「モジュール」及び「部」は明細書を容易に作成するためにだけ付与されるか混用されるものであり、それ自体で互いに区別される意味又は役割を有するものではない。   Hereinafter, a mobile terminal according to the present invention will be described in more detail with reference to the drawings. The suffixes “module” and “part” for the components used in the following description are given or mixed together for easy preparation of the specification and are distinguished from each other by themselves. It has no meaning or role.

以下、図面を参照して本発明の実施例による安全通信装置と安全通信方法を説明する。   Hereinafter, a safety communication device and a safety communication method according to embodiments of the present invention will be described with reference to the drawings.

図1は、本発明の実施例による安全通信装置を示すブロック図である。   FIG. 1 is a block diagram showing a safety communication device according to an embodiment of the present invention.

図1に示したように、本発明の実施例による安全通信装置100は誤り検出符号計算部110、プロトコルデータユニット(PDU)生成部120、パケット(イーサネット(登録商標)フレーム)生成部130、データ送信部140、データ受信部150、パケット分析部160、プロトコルデータユニット分析部170、誤り検出部180、制御部190を含む。   As shown in FIG. 1, a safety communication device 100 according to an embodiment of the present invention includes an error detection code calculation unit 110, a protocol data unit (PDU) generation unit 120, a packet (Ethernet (registered trademark) frame) generation unit 130, data A transmission unit 140, a data reception unit 150, a packet analysis unit 160, a protocol data unit analysis unit 170, an error detection unit 180, and a control unit 190 are included.

制御部190は安全データを生成し、生成された安全データを誤り検出符号計算部110に提供する。   The control unit 190 generates safety data, and provides the generated safety data to the error detection code calculation unit 110.

誤り検出符号計算部110は安全データを利用して安全データのためのデータ誤り検出符号を計算する。   The error detection code calculation unit 110 calculates a data error detection code for the safety data using the safety data.

プロトコルデータユニット生成部120は、計算されたデータ誤り検出符号及び生成された安全データを含む安全プロトコルデータユニットを生成する。この際、安全プロトコルデータユニットはパケットと呼んでもよい。   The protocol data unit generator 120 generates a safety protocol data unit including the calculated data error detection code and the generated safety data. At this time, the safety protocol data unit may be called a packet.

パケット生成部130は生成された安全プロトコルデータユニットを含むパケットを生成する。   The packet generator 130 generates a packet including the generated safety protocol data unit.

データ送信部140は生成されたパケットを他の安全装置に送信する。それによって、データ送信部140は生成された安全プロトコルデータユニットを他の安全装置に送信する。   The data transmission unit 140 transmits the generated packet to another safety device. Accordingly, the data transmission unit 140 transmits the generated safety protocol data unit to another safety device.

データ受信部150は他の安全通信装置から安全プロトコルデータユニットを含むパケットを受信する。   The data receiving unit 150 receives a packet including a safety protocol data unit from another safety communication device.

パケット分析部160は受信したパケットを分析して安全プロトコルデータユニットを取得する。   The packet analysis unit 160 analyzes the received packet and obtains a secure protocol data unit.

プロトコルデータユニット分析部170はプロトコルデータユニットを分析してデータ誤り検出符号及び安全データを取得する。   The protocol data unit analysis unit 170 analyzes the protocol data unit and acquires a data error detection code and safety data.

誤り検出部180は安全データを利用してデータ誤り検出符号を計算した後、計算された誤り検出符号と取得したデータ誤り検出符号とを比較して誤りを検出する。計算されたデータ誤り検出符号が取得したデータ誤り検出符号と同じである場合、誤り検出部180は安全データに誤りが発生していないと判断する。そうではなく、計算されたデータ誤り検出符号が取得したデータ誤り検出符号と異なる場合、誤り検出部180は安全データに誤りが発生したと判断する。   The error detection unit 180 calculates a data error detection code using safety data, and then compares the calculated error detection code with the acquired data error detection code to detect an error. If the calculated data error detection code is the same as the acquired data error detection code, the error detection unit 180 determines that no error has occurred in the safety data. Otherwise, if the calculated data error detection code is different from the acquired data error detection code, the error detection unit 180 determines that an error has occurred in the safety data.

安全データに誤りが発生したと判断した場合、制御部190は安全通信装置100の動作状態をフェイルセーフ状態に遷移する。このフェイルセーフ状態において、安全通信装置100はリセットのためのユーザ入力を受信するまで、安全通信を中断する。特に、このフェイルセーフ状態において、安全通信装置100は安全データに関する通信以外の通信を中断してもよいし、中断しなくてもよいが、少なくとも安全データに関する通信は中断する。   If it is determined that an error has occurred in the safety data, the control unit 190 transitions the operating state of the safety communication device 100 to the fail-safe state. In this fail-safe state, the safety communication device 100 interrupts safety communication until receiving a user input for resetting. In particular, in this fail-safe state, the safety communication device 100 may or may not interrupt communication other than communication related to safety data, but at least communication related to safety data is interrupted.

安全データに誤りが発生していないと判断した場合、制御部190は次に送信する安全データを生成する。受信した安全データが要求によるものであるとき、制御部190は応答に関する安全データを生成する。受信した安全データが応答によるものであるとき、制御部190は次の要求に関する安全データを生成する。   When it is determined that no error has occurred in the safety data, the control unit 190 generates safety data to be transmitted next. When the received safety data is as requested, the control unit 190 generates safety data related to the response. When the received safety data is based on a response, the control unit 190 generates safety data regarding the next request.

図2は、本発明の実施例による通信方法を示すラダーダイヤグラムである。   FIG. 2 is a ladder diagram illustrating a communication method according to an embodiment of the present invention.

図2に示したように、第1安全通信装置100Aと第2安全通信装置100Bとが互いに通信し、第1安全通信装置100Aは第2安全通信装置100Bに安全プロトコルデータユニット要求を送信し、第2安全通信装置100Bは第1安全通信装置100Aに安全プロトコルデータユニット応答を送信すると仮定する。   As shown in FIG. 2, the first safety communication device 100A and the second safety communication device 100B communicate with each other, the first safety communication device 100A transmits a safety protocol data unit request to the second safety communication device 100B, Assume that the second safety communication device 100B transmits a safety protocol data unit response to the first safety communication device 100A.

第1安全通信装置100Aの制御部190は要求のための安全データを生成する(S101)。第1安全通信装置100Aの制御部190は、要求安全データと共にこの安全データに関する安全ヘッダデータを一緒に生成してもよい。   The control unit 190 of the first safety communication device 100A generates safety data for request (S101). The control unit 190 of the first safety communication device 100A may generate safety header data related to the safety data together with the required safety data.

要求安全データが生成されたとき、第1安全通信装置100Aの誤り検出符号計算部110は仮想シーケンス番号を1ステップだけ増加させる(S102)。この際、1ステップは1であってもよいし、1以上の自然数であってもよい。仮想シーケンス番号は、後に生成される安全プロトコルデータユニットのシーケンス番号を示し、安全プロトコルデータユニットには含まれない。すなわち、安全プロトコルデータユニットは仮想シーケンス番号だけを送信するためのフィールドを含まない。第1安全通信装置100Aがリセットされたとき、第1安全通信装置100Aの誤り検出符号計算部110は仮想シーケンス番号もリセットする。   When the required safety data is generated, the error detection code calculation unit 110 of the first safety communication device 100A increases the virtual sequence number by one step (S102). In this case, 1 step may be 1 or a natural number of 1 or more. The virtual sequence number indicates a sequence number of a safety protocol data unit to be generated later, and is not included in the safety protocol data unit. That is, the safety protocol data unit does not include a field for transmitting only the virtual sequence number. When the first safety communication device 100A is reset, the error detection code calculation unit 110 of the first safety communication device 100A also resets the virtual sequence number.

第1安全通信装置100Aの誤り検出符号計算部110は、安全データ及び仮想シーケンス番号を利用して安全データのためのデータ誤り検出符号を計算する(S103)。この際、第1安全通信装置100Aの誤り検出符号計算部110は、安全ヘッダデータ及び仮想シーケンス番号を利用して安全ヘッダデータの誤りを検出するためのヘッダ誤り検出符号を計算する。誤り検出符号は巡回冗長検査(CRC)値であってもよい。   The error detection code calculation unit 110 of the first safety communication device 100A calculates a data error detection code for the safety data using the safety data and the virtual sequence number (S103). At this time, the error detection code calculation unit 110 of the first safety communication device 100A calculates a header error detection code for detecting an error in the safety header data using the safety header data and the virtual sequence number. The error detection code may be a cyclic redundancy check (CRC) value.

特に、次の式1のように、第1安全通信装置100Aの誤り検出符号計算部110はヘッダ誤り検出符号(HEADER_CRC)をヘッダフィールド、固有識別子、仮想シーケンス番号を利用して計算する。この際、固有識別子は安全固有識別子(safety unique idetifier,SUID)である。

Figure 0006110415
In particular, as in the following Expression 1, the error detection code calculation unit 110 of the first safety communication device 100A calculates a header error detection code (HEADER_CRC) using a header field, a unique identifier, and a virtual sequence number. At this time, the unique identifier is a safety unique identifier (SUID).
Figure 0006110415

式1において、fはハッシュ関数を示す。   In Equation 1, f represents a hash function.

安全固有識別子は、第1安全通信装置100Aと第2安全通信装置100Bとの間の接続関係を示す識別子である。特に、安全固有識別子は送信元(ソース)MAC(media access control)アドレス、送信元装置識別子、あて先MACアドレス及びあて先装置識別子の組合せで作られる。第1安全通信装置100Aが安全データを送信し、第2安全通信装置100Bが安全データを受信するため、第1安全通信装置100Aが送信元で第2安全通信装置100Bがあて先となる。この場合、安全固有識別子は第1安全通信装置100AのMACアドレス、第1安全通信装置100Aの装置識別子、第2安全通信装置100BのMACアドレス及び第2安全通信装置100Bの装置識別子の組合せである。安全固有識別子は誤り検出符号の計算に利用されるだけで、安全PDUには含まれなくてもよい。   The safety unique identifier is an identifier indicating a connection relationship between the first safety communication device 100A and the second safety communication device 100B. In particular, the safety unique identifier is formed by a combination of a source (source) MAC (media access control) address, a source device identifier, a destination MAC address, and a destination device identifier. Since the first safety communication device 100A transmits safety data and the second safety communication device 100B receives safety data, the first safety communication device 100A is the transmission source and the second safety communication device 100B is the destination. In this case, the safety unique identifier is a combination of the MAC address of the first safety communication device 100A, the device identifier of the first safety communication device 100A, the MAC address of the second safety communication device 100B, and the device identifier of the second safety communication device 100B. . The safety unique identifier is only used for calculating the error detection code and may not be included in the safety PDU.

仮想シーケンス番号は安全PDUのシーケンス番号を示す。第1安全通信装置100Aは仮想シーケンス番号を誤り検出符号の計算には利用するが、第2安全通信装置100Bに送信することはない。   The virtual sequence number indicates the sequence number of the safety PDU. The first safety communication device 100A uses the virtual sequence number for calculation of the error detection code, but does not transmit it to the second safety communication device 100B.

一方、次の式2のように、第1安全通信装置100Aの誤り検出符号計算部110は安全データ(Safety data)、固有識別子及び仮想シーケンス番号を利用してデータ誤り検出符号(DATA_CRC)を計算する。この際、固有識別子は安全固有識別子である。

Figure 0006110415
On the other hand, the error detection code calculation unit 110 of the first safety communication device 100A calculates the data error detection code (DATA_CRC) using the safety data, the unique identifier, and the virtual sequence number as shown in the following Expression 2. To do. At this time, the unique identifier is a safety unique identifier.
Figure 0006110415

式2において、fはハッシュ関数を示す。   In Equation 2, f represents a hash function.

第1安全通信装置100Aのプロトコルデータユニット生成部120は、安全データ及び計算されたデータ誤り検出符号を含む安全プロトコルデータユニットを生成する(S105)。この際、安全プロトコルデータユニットは安全ヘッダデータ及び計算されたヘッダ誤り検出符号を更に含む。図3を参照して本発明の実施例による安全プロトコルデータユニットの構造を説明する。   The protocol data unit generator 120 of the first safety communication device 100A generates a safety protocol data unit including safety data and the calculated data error detection code (S105). In this case, the safety protocol data unit further includes safety header data and a calculated header error detection code. The structure of the safety protocol data unit according to the embodiment of the present invention will be described with reference to FIG.

図3は、本発明の実施例による安全プロトコルデータユニットの構造を示す。   FIG. 3 shows the structure of a safety protocol data unit according to an embodiment of the present invention.

図3に示したように、安全プロトコルデータユニットは安全PDUヘッダ及び安全PDUペイロードを順番に含む。安全PDUヘッダは安全ヘッダフィールド及びヘッダ誤り検出符号を順番に含む。安全PDUペイロードは安全データ及びデータ誤り検出符号を順番に含む。特に、安全PDUヘッダは安全プロトコルデータユニットの先頭に配置される。安全PDUヘッダは命令フィールド及び予約フィールドを順番に含む。安全データは安全PDUヘッダに関するものである。特に、安全データは命令フィールドに関するものである。特に、図3の実施例において、安全ヘッダフィールドのサイズは4オクテットであり、命令フィールドのサイズは2オクテットであり、予約フィールドのサイズは2オクテットであり、ヘッダ誤り検出符号のサイズは4オクテットであり、データ誤り検出符号のサイズは4オクテットであるが、それに限ることはない。1オクテットは一般に8ビットを意味する。   As shown in FIG. 3, the safety protocol data unit includes a safety PDU header and a safety PDU payload in order. The safety PDU header includes a safety header field and a header error detection code in order. The safety PDU payload includes safety data and a data error detection code in order. In particular, the safety PDU header is placed at the beginning of the safety protocol data unit. The secure PDU header includes an instruction field and a reserved field in order. The safety data relates to a safety PDU header. In particular, the safety data relates to the command field. In particular, in the embodiment of FIG. 3, the size of the safety header field is 4 octets, the size of the instruction field is 2 octets, the size of the reserved field is 2 octets, and the size of the header error detection code is 4 octets. The size of the data error detection code is 4 octets, but is not limited thereto. One octet generally means 8 bits.

表2は、本発明の実施例による命令フィールド値の例を示す。

Figure 0006110415
Table 2 shows examples of instruction field values according to an embodiment of the present invention.
Figure 0006110415

表2のように、命令フィールド値が0X01であるとき、安全データはリセット命令を示す。命令フィールド値が0X02であるとき、安全データは接続命令を示す。命令フィールド値が0X03であるとき、安全データはパラメータ送信命令を示す。命令フィールド値が0X04であるとき、安全データはデータ送信命令を示す。   As shown in Table 2, when the command field value is 0X01, the safety data indicates a reset command. When the command field value is 0X02, the safety data indicates a connection command. When the command field value is 0X03, the safety data indicates a parameter transmission command. When the command field value is 0X04, the safety data indicates a data transmission command.

特に、図2の実施例は命令フィールドがconnectionに当たる値を有する接続状態(connection state)での通信方法に当たる。接続状態において、第1安全通信装置100Aは開始者(initiator)に当たり、第2安全通信装置100Bは応答者(responder)に当たる。開始者は応答安全データを送信せずに、要求安全データだけを応答者に送信するモードに当たる。応答者は要求安全データを送信せずに、応答安全データだけを開始者に送信するモードに当たる。   In particular, the embodiment of FIG. 2 corresponds to a communication method in a connection state in which the command field has a value corresponding to connection. In the connected state, the first safety communication device 100A corresponds to an initiator, and the second safety communication device 100B corresponds to a responder. The initiator enters a mode in which only the requested safety data is transmitted to the responder without transmitting the response safety data. The responder falls into a mode in which only the response safety data is transmitted to the initiator without transmitting the requested safety data.

予約フィールドは後に他の用途のために使用される。   The reserved field is used later for other purposes.

図3に示したように、安全プロトコルデータユニットは仮想シーケンス番号を含まなくてもよい。すなわち、安全プロトコルデータユニットは仮想シーケンス番号だけを送信するためのフィールドを含まない。   As shown in FIG. 3, the safety protocol data unit may not include a virtual sequence number. That is, the safety protocol data unit does not include a field for transmitting only the virtual sequence number.

図2を更に説明する。   FIG. 2 will be further described.

第1安全通信装置100Aのパケット生成部130は要求安全データを含むパケットを生成する(S107)。この際、パケットは生成された安全プロトコルデータユニットを含む。図4を参照して本発明の実施例によるパケットの構造を説明する。   The packet generator 130 of the first safety communication device 100A generates a packet including the requested safety data (S107). At this time, the packet includes the generated safety protocol data unit. A packet structure according to an embodiment of the present invention will be described with reference to FIG.

図4は、本発明の実施例によるパケットの構造を示す図である。   FIG. 4 is a diagram illustrating a packet structure according to an embodiment of the present invention.

図4に示したように、パケットはヘッダ(イーサネット(登録商標)ヘッダ)、ペイロード(イーサネット(登録商標)ペイロード)、フレーム検査シーケンス(FCS)を順番に含む。パケットはペイロードとして安全PDUを含む。パケットヘッダはプリアンブルフィールド、あて先アドレスフィールド、送信元アドレスフィールド、タイムフィールドを含む。あて先アドレスフィールドはあて先に当たる安全通信装置のアドレスを含み、送信元アドレスフィールドは送信元に当たる安全通信装置のアドレスを含む。フレーム検査シーケンスはヘッダ内のデータ及びペイロード内のデータを利用して生成される。   As shown in FIG. 4, the packet includes a header (Ethernet (registered trademark) header), a payload (Ethernet (registered trademark) payload), and a frame inspection sequence (FCS) in order. The packet contains a secure PDU as a payload. The packet header includes a preamble field, a destination address field, a source address field, and a time field. The destination address field includes the address of the safety communication device corresponding to the destination, and the transmission source address field includes the address of the safety communication device corresponding to the transmission source. The frame check sequence is generated using data in the header and data in the payload.

図2を更に説明する。   FIG. 2 will be further described.

第1安全通信装置100Aのデータ送信部140は要求安全データを含むパケットを第2安全通信装置100Bに送信する(S109)。それによって、データ送信部140は、生成された安全プロトコルデータユニットを第2安全装置100Bに送信する。   The data transmission unit 140 of the first safety communication device 100A transmits a packet including the requested safety data to the second safety communication device 100B (S109). Thereby, the data transmission unit 140 transmits the generated safety protocol data unit to the second safety device 100B.

第2安全通信装置100Bのデータ受信部150は、第1安全通信装置100Aから要求に関する安全プロトコルデータユニットを含むパケットを受信する(S111)。この際、パケットは図4に示すような構造を有する。   The data receiving unit 150 of the second safety communication device 100B receives a packet including a safety protocol data unit related to the request from the first safety communication device 100A (S111). At this time, the packet has a structure as shown in FIG.

第2安全通信装置100Bのパケット分析部160は、受信したパケットを分析して安全プロトコルデータユニットを取得する(S113)。この際、安全プロトコルデータユニットは図3に示すような構造を有する。   The packet analysis unit 160 of the second safety communication device 100B analyzes the received packet and acquires a safety protocol data unit (S113). At this time, the safety protocol data unit has a structure as shown in FIG.

第2安全通信装置100Bのプロトコルデータユニット分析部170は、プロトコルデータユニットを分析して安全ヘッダデータ、受信ヘッダ誤り検出符号、要求安全データ及び受信データ誤り検出符号を取得する(S115)。   The protocol data unit analysis unit 170 of the second safety communication device 100B analyzes the protocol data unit to obtain the safety header data, the reception header error detection code, the requested safety data, and the reception data error detection code (S115).

安全プロトコルユニットが受信されて要求安全データが取得されたとき、第2安全通信装置100Bの誤り検出部180は管理する仮想シーケンス番号を1ステップだけ増加させる(S116)。上述したように、1ステップは1であってもよく、1以上の自然数であってもよい。   When the safety protocol unit is received and the required safety data is acquired, the error detection unit 180 of the second safety communication device 100B increases the virtual sequence number to be managed by one step (S116). As described above, 1 step may be 1 or a natural number of 1 or more.

第2安全通信装置100Bの誤り検出部180は、要求安全データ及び増加された仮想シーケンス番号を利用して比較データ誤り検出符号を計算する(S117)。加えて、第2安全通信装置100Bの誤り検出部180は、安全ヘッダデータ及び増加された仮想シーケンス番号を利用して比較ヘッダ誤り検出符号を計算する。   The error detection unit 180 of the second safety communication device 100B calculates a comparison data error detection code using the requested safety data and the increased virtual sequence number (S117). In addition, the error detection unit 180 of the second safety communication device 100B calculates a comparison header error detection code using the safety header data and the increased virtual sequence number.

特に、第2安全通信装置100Bの誤り検出部180は、式1のように比較ヘッダ誤り検出符号を計算する。   In particular, the error detection unit 180 of the second safety communication device 100B calculates a comparison header error detection code as shown in Equation 1.

また、第2安全通信装置100Bの誤り検出部180は、式2のように比較データ誤り検出符号を計算する。   Further, the error detection unit 180 of the second safety communication device 100B calculates a comparison data error detection code as shown in Equation 2.

第2安全通信装置100Bの誤り検出部180は、計算された誤り検出符号と取得した誤り検出符号とを比較して誤りを検出する(S119)。比較データ誤り検出符号が受信データ誤り検出符号と同じであり、かつ比較ヘッダ誤り検出符号が受信ヘッダ誤り検出符号と同じである場合、誤り検出部180は安全データに誤りが発生していないと判断する。そうではなく、比較データ誤り検出符号が受信データ誤り検出符号と異なるか、又は比較ヘッダ誤り検出符号が受信ヘッダ誤り検出符号と異なる場合、誤り検出部180は安全データに誤りが発生したと判断する。   The error detection unit 180 of the second safety communication device 100B detects the error by comparing the calculated error detection code with the acquired error detection code (S119). When the comparison data error detection code is the same as the reception data error detection code and the comparison header error detection code is the same as the reception header error detection code, the error detection unit 180 determines that no error has occurred in the safety data. To do. Otherwise, if the comparison data error detection code is different from the reception data error detection code or the comparison header error detection code is different from the reception header error detection code, the error detection unit 180 determines that an error has occurred in the safety data. .

安全データに誤りが発生したと判断した場合、第2安全通信装置100Bの制御部190は安全通信装置100の動作状態をフェイルセーフ状態に遷移する(S121)。このフェイルセーフ状態において、安全通信装置100はリセットのためのユーザ入力を受信するまで、安全通信を中断する。特に、このフェイルセーフ状態において、安全通信装置100は安全データに関する通信以外の通信を中断してもよいし、中断しなくてもよいが、少なくとも安全データに関する通信を中断する。   When it is determined that an error has occurred in the safety data, the control unit 190 of the second safety communication device 100B transitions the operation state of the safety communication device 100 to the fail safe state (S121). In this fail-safe state, the safety communication device 100 interrupts safety communication until receiving a user input for resetting. In particular, in this fail-safe state, the safety communication device 100 may interrupt communication other than communication related to safety data or may not interrupt communication, but at least interrupts communication related to safety data.

安全データに誤りが発生していないと判断した場合、第2安全通信装置100Bの制御部190は受信した安全データを消費し(S123)、次に送信する応答安全データを生成する(S125)。   When it is determined that no error has occurred in the safety data, the control unit 190 of the second safety communication device 100B consumes the received safety data (S123), and generates response safety data to be transmitted next (S125).

第2安全通信装置100Bの誤り検出符号計算部110、プロトコルデータユニット生成部120、パケット生成部130、データ送信部140は、ステップS101において、ステップ109で説明したように応答安全データを含む応答安全PDUを含むパケットを生成してから第1安全通信装置100Aに送信する(S127)。一実施例において、要求安全データが送信される際に仮想シーケンス番号が増加され、応答安全データが送信される際に仮想シーケンス番号が増加される。他の実施例において、要求安全データが送信される際には仮想シーケンス番号が増加されるが、応答安全データが送信される際には仮想シーケンス番号が変更されなくてもよい。   In step S101, the error detection code calculation unit 110, the protocol data unit generation unit 120, the packet generation unit 130, and the data transmission unit 140 of the second safety communication device 100B include response safety data including response safety data as described in step 109. A packet including the PDU is generated and then transmitted to the first safety communication device 100A (S127). In one embodiment, the virtual sequence number is incremented when request safety data is transmitted and the virtual sequence number is incremented when response safety data is transmitted. In other embodiments, the virtual sequence number is incremented when the requested safety data is transmitted, but the virtual sequence number may not be changed when the response safety data is transmitted.

第1安全通信装置100Aのデータ受信部150、パケット分析部160、プロトコルデータユニット分析部170、誤り検出部180、制御部190は、ステップS111乃至ステップS123でのように、応答安全PDUを含むパケットを受信し誤り検出を行いながら応答安全データを消費する。一実施例において、要求安全データが受信される際に仮想シーケンス番号が増加され、応答安全データが受信される際に仮想シーケンス番号が増加される。他の実施例において、要求安全データが受信される際には仮想シーケンス番号が増加されるが、応答安全データが受信される際には仮想シーケンス番号が変更されなくてもよい。   The data reception unit 150, packet analysis unit 160, protocol data unit analysis unit 170, error detection unit 180, and control unit 190 of the first safety communication device 100A are packets including a response safety PDU as in steps S111 to S123. The response safety data is consumed while receiving the error detection. In one embodiment, the virtual sequence number is incremented when request safety data is received and the virtual sequence number is incremented when response safety data is received. In other embodiments, the virtual sequence number is incremented when the requested safety data is received, but the virtual sequence number may not be changed when the response safety data is received.

図5は、本発明の一実施例による仮想シーケンス番号に関する通信方法を示すラダーダイヤグラムである。   FIG. 5 is a ladder diagram illustrating a communication method related to a virtual sequence number according to an embodiment of the present invention.

まず、第1安全通信装置100A及び第2安全通信装置100Bが管理する仮想シーケンス番号がNであると仮定する。   First, it is assumed that the virtual sequence number managed by the first safety communication device 100A and the second safety communication device 100B is N.

要求安全データが発生したとき、第1安全通信装置100Aは要求安全データを含むパケットを送信するために管理する仮想シーケンス番号であるNを1だけ増加させる(S201)。   When the requested safety data is generated, the first safety communication device 100A increments N, which is a virtual sequence number managed to transmit a packet including the requested safety data, by 1 (S201).

第1安全通信装置100Aは増加された仮想シーケンス番号であるN+1を利用してCRC値を生成し、生成されたCRC及び要求安全データを含む要求安全パケットを第2安全通信装置100Bに送信する(S203)。すなわち、この要求安全パケットは仮想シーケンス番号がN+1であるパケットとなる。   The first safety communication device 100A generates a CRC value by using the increased virtual sequence number N + 1, and transmits a request safety packet including the generated CRC and the required safety data to the second safety communication device 100B ( S203). That is, the request safety packet is a packet whose virtual sequence number is N + 1.

第2安全通信装置100Bが要求安全データを含む要求安全パケットを受信したとき、第2安全通信装置100Bは仮想シーケンス番号であるNを1だけ増加させる(S205)。   When the second safety communication device 100B receives the request safety packet including the request safety data, the second safety communication device 100B increases the virtual sequence number N by 1 (S205).

そして、第2安全通信装置100Bは増加された仮想シーケンス番号であるN+1を利用して、要求安全パケットに誤りがあるか否かを確認する(S207)。   Then, the second safety communication device 100B confirms whether or not there is an error in the request safety packet by using the increased virtual sequence number N + 1 (S207).

後に、応答安全データが発生したとき、第2安全通信装置100Bは応答安全データを含む応答安全パケットを送信するために管理する仮想シーケンス番号であるN+1を1だけ増加させる(S209)。   Later, when response safety data is generated, the second safety communication device 100B increments N + 1, which is a virtual sequence number managed to transmit a response safety packet including response safety data, by 1 (S209).

第2安全通信装置100Bは、増加された仮想シーケンス番号であるN+2を利用してCRC値を生成し、生成されたCRCと応答安全データを含む応答パケットを第2安全通信装置100Bに送信する(S211)。すなわち、この応答安全パケットは仮想シーケンス番号がN+2であるパケットとなる。   The second safety communication device 100B generates a CRC value by using the increased virtual sequence number N + 2, and transmits a response packet including the generated CRC and response safety data to the second safety communication device 100B ( S211). That is, this response safety packet is a packet whose virtual sequence number is N + 2.

第1安全通信装置100Aが応答安全パケットを受信したとき、第1安全通信装置100Aは管理する仮想シーケンス番号であるN+1を1だけ増加させる(S213)。   When the first safety communication device 100A receives the response safety packet, the first safety communication device 100A increases N + 1, which is a virtual sequence number to be managed, by 1 (S213).

そして、第2安全通信装置100Bは、増加された仮想シーケンス番号であるN+2を利用して応答安全パケットに誤りがあるか否かを確認する(S215)。   Then, the second safety communication device 100B confirms whether or not there is an error in the response safety packet by using the increased virtual sequence number N + 2 (S215).

ステップS217乃至ステップS231は、ステップS201乃至ステップS215の繰り返しである。   Steps S217 to S231 are repetitions of steps S201 to S215.

図6は、本発明の他の実施例による仮想シーケンス番号に関する通信方法を示すラダーダイヤグラムである。   FIG. 6 is a ladder diagram illustrating a communication method related to a virtual sequence number according to another embodiment of the present invention.

まず、第1安全通信装置100A及び第2安全通信装置100Bが管理する仮想シーケンス番号がNであると仮定する。   First, it is assumed that the virtual sequence number managed by the first safety communication device 100A and the second safety communication device 100B is N.

要求安全データが発生したとき、第1安全通信装置100Aは、要求安全データを含むパケットを送信するために管理する仮想シーケンス番号であるNを1だけ増加させるS301。   When the requested safety data is generated, the first safety communication device 100A increments N, which is a virtual sequence number managed to transmit a packet including the requested safety data, by 1 (S301).

第1安全通信装置100Aは、増加された仮想シーケンス番号であるN+1を利用してCRC値を生成し、生成されたCRC及び要求安全データを含む要求安全パケットを第2安全通信装置100Bに送信する(S303)。すなわち、この要求安全パケットは、仮想シーケンス番号がN+1であるパケットとなる。   The first safety communication device 100A generates a CRC value by using the increased virtual sequence number N + 1, and transmits a request safety packet including the generated CRC and request safety data to the second safety communication device 100B. (S303). That is, this request safety packet is a packet whose virtual sequence number is N + 1.

第2安全通信装置100Bが要求安全データを含む要求安全パケットを受信したとき、第2安全通信装置100Bは仮想シーケンス番号であるNを1だけ増加させる(S305)。   When the second safety communication device 100B receives the request safety packet including the request safety data, the second safety communication device 100B increases the virtual sequence number N by 1 (S305).

そして、第2安全通信装置100Bは増加された仮想シーケンス番号であるN+1を利用して、要求安全パケットに誤りがあるか否かを確認する(S307)。   Then, the second safety communication device 100B confirms whether or not there is an error in the request safety packet by using the increased virtual sequence number N + 1 (S307).

その後に応答安全データが発生しても、第2安全通信装置100Bは、応答安全データを含む応答安全パケットを送信するために管理する仮想シーケンス番号であるN+1を変更せずに維持する。   Even if response safety data is subsequently generated, the second safety communication device 100B maintains N + 1, which is a virtual sequence number that is managed in order to transmit a response safety packet including response safety data, without being changed.

第2安全通信装置100Bは現在の仮想シーケンス番号であるN+1を利用してCRC値を生成し、生成されたCRC及び応答安全データを含む応答パケットを第2安全通信装置100Bに送信する(S311)。すなわち、この応答安全パケットは仮想シーケンス番号がN+1であるパケットとなる。第1安全通信装置100Aが応答安全パケットを受信したとき、第1安全通信装置100Aは管理する仮想シーケンス番号であるN+1を増加させずに維持する。   The second safety communication device 100B generates a CRC value by using the current virtual sequence number N + 1, and transmits a response packet including the generated CRC and response safety data to the second safety communication device 100B (S311). . That is, this response safety packet is a packet whose virtual sequence number is N + 1. When the first safety communication device 100A receives the response safety packet, the first safety communication device 100A maintains N + 1 as a virtual sequence number to be managed without increasing it.

そして、第2安全通信装置100Bは現在の仮想シーケンス番号であるN+1を利用して、応答安全パケットに誤りがあるか否かを確認する(S315)。   Then, the second safety communication device 100B checks whether or not there is an error in the response safety packet by using the current virtual sequence number N + 1 (S315).

ステップS317乃至ステップS331は、ステップS301乃至ステップS315の繰り返しである。   Steps S317 to S331 are repetitions of steps S301 to S315.

本発明の一実施例によると、上述した方法はプログラムが記録された媒体上に、プロセッサが読み込めるコードとして具現することができる。プロセッサが読み込める媒体の例としては、ROM、RAM、CD−ROM、磁気テープ、フレキシブルディスク、光データ記憶装置などがあり、搬送波(例えば、インターネットを介した送信)の形で具現されることも含む。   According to an embodiment of the present invention, the above-described method can be embodied as a code that can be read by a processor on a medium on which a program is recorded. Examples of media that can be read by the processor include ROM, RAM, CD-ROM, magnetic tape, flexible disk, optical data storage device, and the like, including implementation in the form of a carrier wave (for example, transmission via the Internet). .

上述した移動端末機は上で説明された実施例の構成及び方法が限られて適用されるのではなく、上記の実施例は多様な変形が行われるように各実施例の全部又は一部を選択的に組み合わせて構成してもよい。   The above-described mobile terminal is not limited to the configurations and methods of the above-described embodiments, but the above-described embodiments may be applied in whole or in part to various modifications. You may comprise combining selectively.

Claims (12)

第1通信装置が第2通信装置にデータを送信する通信方法であって、
前記第1通信装置が、データ及び仮想シーケンス番号を利用してデータの誤りを検出するためのデータ誤り検出符号を計算するステップと、
前記第1通信装置が、ヘッダデータ及び前記仮想シーケンス番号を利用して前記ヘッダデータの誤りを検出するためのヘッダ誤り検出符号を計算するステップと、
前記第1通信装置が、前記データ及び前記データ誤り検出符号、前記ヘッダデータ及び前記ヘッダ誤り検出符号を含むパケットを生成するステップと、
前記第1通信装置が、前記パケットを前記第2通信装置に送信するステップと、を有し、
前記ヘッダ誤り検出符号を計算するステップは、前記第1通信装置と前記第2通信装置との間の接続関係を示す固有識別子を更に利用して計算さ
前記ヘッダ誤り検出符号は、前記固有識別子と前記仮想シーケンス番号及び前記ヘッダデータに基づいてハッシュ関数によって生成される、通信方法。
A communication method in which a first communication device transmits data to a second communication device,
The first communication device calculates a data error detection code for detecting a data error using the data and the virtual sequence number; and
The first communication device calculates a header error detection code for detecting an error in the header data using header data and the virtual sequence number;
The first communication device generates a packet including the data and the data error detection code, the header data and the header error detection code;
The first communication device transmitting the packet to the second communication device; and
Calculating the header error check code is calculated by further utilizing the unique identifier indicating the connection relationship between the first communication device and the second communication device,
The communication method, wherein the header error detection code is generated by a hash function based on the unique identifier, the virtual sequence number, and the header data .
前記パケットは前記仮想シーケンス番号だけを送信するためのフィールドを含まない、請求項1に記載の通信方法。   The communication method according to claim 1, wherein the packet does not include a field for transmitting only the virtual sequence number. 前記データが要求データであるとき前記仮想シーケンス番号を増加させるステップを更に有し、
前記データ誤り検出符号を計算するステップは、前記データ及び増加された仮想シーケンス番号を利用して前記データ誤り検出符号を計算するステップを有する、請求項2に記載の通信方法。
Further comprising incrementing the virtual sequence number when the data is request data;
The communication method according to claim 2, wherein the step of calculating the data error detection code includes the step of calculating the data error detection code using the data and the increased virtual sequence number.
前記データが応答データであるとき、前記仮想シーケンス番号は変更されない、請求項3に記載の通信方法。   The communication method according to claim 3, wherein the virtual sequence number is not changed when the data is response data. 前記データが応答データであるとき、前記仮想シーケンス番号を増加させるステップを更に有し、
前記データ誤り検出符号を計算するステップは、前記データ及び増加された仮想シーケンス番号を利用して、前記データ誤り検出符号を計算するステップを有する、請求項3に記載の通信方法。
When the data is response data, the method further comprises incrementing the virtual sequence number;
4. The communication method according to claim 3, wherein the step of calculating the data error detection code includes the step of calculating the data error detection code using the data and the increased virtual sequence number.
第1通信装置が第2通信装置からデータを受信する通信方法であって、
前記第1通信装置が、パケットを前記第2通信装置から受信するステップと、
前記第1通信装置が、前記パケットからデータ、受信データ誤り検出符号及び受信ヘッダ誤り検出符号を取得するステップと、
前記第1通信装置が、仮想シーケンス番号及び前記データを利用して比較データ誤り検出符号を計算するステップと、
前記第1通信装置が、ッダデータ及び前記仮想シーケンス番号を利用して前記ヘッダデータの誤り検出のための比較ヘッダ誤り検出符号を計算するステップと、
前記第1通信装置が、前記受信データ誤り検出符号、前記比較データ誤り検出符号、前記受信ヘッダ誤り検出符号と前記比較ヘッダ誤り検出符号に基づいて前記パケットに誤りがあるか否かを判断するステップと、を有し、
前記比較ヘッダ誤り検出符号を計算するステップは、前記第1通信装置と前記第2通信装置との間の接続関係を示す固有識別子を更に利用して計算さ
前記ヘッダ誤り検出符号は、前記固有識別子と前記仮想シーケンス番号及び前記ヘッダデータに基づいてハッシュ関数によって生成される、通信方法。
A communication method in which a first communication device receives data from a second communication device,
The first communication device receiving a packet from the second communication device;
The first communication device acquires data, a received data error detection code and a received header error detection code from the packet;
The first communication device calculates a comparison data error detection code using a virtual sequence number and the data;
The first communication device, calculating a comparison header an error detection code for the F Ddadeta or the utilizing virtual sequence number of the header data error detection,
The first communication device determines whether the packet has an error based on the received data error detection code, the comparison data error detection code, the reception header error detection code, and the comparison header error detection code And having
Calculating the comparative header error check code is calculated by further utilizing the unique identifier indicating the connection relationship between the first communication device and the second communication device,
The communication method , wherein the header error detection code is generated by a hash function based on the unique identifier, the virtual sequence number, and the header data .
前記パケットは前記仮想シーケンス番号だけを送信するためのフィールドを含まない、請求項6に記載の通信方法。   The communication method according to claim 6, wherein the packet does not include a field for transmitting only the virtual sequence number. 前記データが要求データであるとき前記仮想シーケンス番号を増加させるステップを更に有し、
前記比較データ誤り検出符号を計算するステップは、前記要求データ及び増加された仮想シーケンス番号を利用して前記比較データ誤り検出符号を計算するステップを有する、請求項7に記載の通信方法。
Further comprising incrementing the virtual sequence number when the data is request data;
The communication method according to claim 7, wherein the step of calculating the comparison data error detection code includes the step of calculating the comparison data error detection code using the request data and the increased virtual sequence number.
前記データが応答データであるとき、前記仮想シーケンス番号は変更されない、請求項8に記載の通信方法。   The communication method according to claim 8, wherein the virtual sequence number is not changed when the data is response data. 前記データが応答データであるとき、前記仮想シーケンス番号を増加させるステップを更に有し、
前記比較データ誤り検出符号を計算するステップは、前記応答データ及び増加された仮想シーケンス番号を利用して前記比較データ誤り検出符号を計算するステップを有する、請求項8に記載の通信方法。
When the data is response data, the method further comprises incrementing the virtual sequence number;
The communication method according to claim 8, wherein the step of calculating the comparison data error detection code includes the step of calculating the comparison data error detection code using the response data and the increased virtual sequence number.
前記パケットに誤りがあるか否かを判断するステップは、
前記比較データ誤り検出符号を前記受信データ誤り検出符号と比較するステップと、
前記比較データ誤り検出符号が前記受信データ誤り検出符号と同じであるとき、前記パケットに誤りが発生していないと判断するステップと、
前記比較データ誤り検出符号が前記受信データ誤り検出符号と異なるとき、前記パケットに誤りが発生したと判断するステップと、
を有する、請求項7に記載の通信方法。
The step of determining whether there is an error in the packet includes:
Comparing the comparison data error detection code with the received data error detection code;
Determining that no error has occurred in the packet when the comparison data error detection code is the same as the received data error detection code;
Determining that an error has occurred in the packet when the comparison data error detection code is different from the received data error detection code;
The communication method according to claim 7, comprising:
前記パケットに誤りがあると判断した場合、リセットのためのユーザ入力を受信するまで通信を中断する状態に動作状態を変更する、請求項6乃至請求項9のうちいずれか一項に記載の通信方法。   The communication according to any one of claims 6 to 9, wherein when it is determined that the packet has an error, the operation state is changed to a state in which communication is interrupted until a user input for resetting is received. Method.
JP2014559810A 2012-03-02 2012-10-22 Communication apparatus and communication method Active JP6110415B2 (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
US201261605764P 2012-03-02 2012-03-02
US61/605,764 2012-03-02
PCT/KR2012/008651 WO2013129750A1 (en) 2012-03-02 2012-10-22 Communication device and communication method

Publications (2)

Publication Number Publication Date
JP2015508976A JP2015508976A (en) 2015-03-23
JP6110415B2 true JP6110415B2 (en) 2017-04-05

Family

ID=49082915

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014559810A Active JP6110415B2 (en) 2012-03-02 2012-10-22 Communication apparatus and communication method

Country Status (7)

Country Link
US (1) US10044469B2 (en)
EP (1) EP2822205B1 (en)
JP (1) JP6110415B2 (en)
KR (3) KR101639931B1 (en)
CN (1) CN104254990B (en)
ES (1) ES2602477T3 (en)
WO (1) WO2013129750A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10404625B2 (en) * 2013-10-29 2019-09-03 Intel Corporation Ethernet enhancements
JP6987303B2 (en) 2019-04-16 2021-12-22 三菱電機株式会社 Secure communication device, secure communication system, secure communication method, and secure communication program

Family Cites Families (28)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6151253A (en) * 1984-08-20 1986-03-13 Nec Corp Memory error correctng circuit
US4920534A (en) 1986-02-28 1990-04-24 At&T Bell Laboratories System for controllably eliminating bits from packet information field based on indicator in header and amount of data in packet buffer
GB2301751B (en) * 1995-06-02 2000-02-09 Dsc Communications Control message transmission in telecommunications systems
AU716341B2 (en) * 1996-06-12 2000-02-24 Au Optronics Corporation Monitoring system of multimedia communication terminal
US6085349A (en) 1997-08-27 2000-07-04 Qualcomm Incorporated Method for selecting cyclic redundancy check polynomials for linear coded systems
US6201811B1 (en) 1998-03-24 2001-03-13 Telefonaktiebolaget Lm Ericsson (Publ) Transferring Identifier information in a telecommunications system
EP0987918B1 (en) * 1998-09-16 2010-11-03 International Business Machines Corporation Method and apparatus for generating and checking a data check field
US6608861B1 (en) * 1998-10-05 2003-08-19 Motorola, Inc. Data terminal and coding method for increased data packet reliability in a frequency hopping system
KR20010018814A (en) * 1999-08-23 2001-03-15 윤종용 Method and apparatus for controlling the packet transmission between IEEE1394 agent nodes
JP3437990B2 (en) * 2000-03-17 2003-08-18 インターナショナル・ビジネス・マシーンズ・コーポレーション Communication method, communication terminal, wireless ad hoc network, and mobile phone
US6782503B1 (en) * 2000-11-28 2004-08-24 Nortel Networks Limited Generating a signature to add to a test packet to achieve a target check value
KR100484305B1 (en) * 2002-11-26 2005-04-20 한국전자통신연구원 Resource allocation method for providing load balancing and fairness on dual rings
US7433370B1 (en) * 2003-02-10 2008-10-07 Tymes Laroy Data structures with amortized control overhead and methods and networks using the same
WO2005020531A1 (en) * 2003-08-20 2005-03-03 Nippon Telegraph And Telephone Corporation Packet communication method and packet communication device
JP4630997B2 (en) 2005-02-25 2011-02-09 独立行政法人情報通信研究機構 FWA device, information transmission method, program for FWA device, and recording medium recording the program
US20090147676A1 (en) * 2005-08-31 2009-06-11 Hideyuki Shimonishi Communication system, communication terminal, relay node, communication method used therein, and program thereof
EP2016727B1 (en) * 2006-04-24 2018-03-28 KTFreetel Co., Ltd. Interworking system between ip networks using different ip addressing scheme and interworking method thereof
US20080195912A1 (en) * 2007-02-14 2008-08-14 Nokia Corporation Method of communicatoin
JP5163298B2 (en) * 2008-06-04 2013-03-13 富士通株式会社 Information processing apparatus, data transmission apparatus, and data transmission method
JP4985565B2 (en) 2008-06-30 2012-07-25 富士通株式会社 Transmission / reception circuit, reception circuit, and control method for transmission / reception circuit
KR101191551B1 (en) * 2008-12-17 2012-10-15 한양대학교 산학협력단 Method for transmitting data in wireless multihop network and device thereof
US8274980B2 (en) * 2009-02-26 2012-09-25 International Business Machines Corporation Ethernet link aggregation
KR101310899B1 (en) * 2009-05-19 2013-09-25 한국전자통신연구원 Apparatus and method for data transmitting and data receiving
CN101651995A (en) * 2009-09-21 2010-02-17 中兴通讯股份有限公司 Transmission method and system of downlink control information
EP2309668A1 (en) * 2009-10-09 2011-04-13 Thomson Licensing A digital receiver and corresponding digital transmission system server
US9094175B2 (en) * 2010-07-16 2015-07-28 Qualcomm, Incorporated Method and apparatus for saving power by using signal field of preamble
US20130162190A1 (en) * 2010-07-30 2013-06-27 Automatic Technology (Australia) Pty Ltd Integrated controller for closure operator unit
JP2012173963A (en) * 2011-02-21 2012-09-10 Sumitomo Electric Ind Ltd Optical transceiver

Also Published As

Publication number Publication date
KR101389646B1 (en) 2014-04-29
US20150058707A1 (en) 2015-02-26
KR20130100762A (en) 2013-09-11
KR20140144204A (en) 2014-12-18
EP2822205A1 (en) 2015-01-07
EP2822205B1 (en) 2016-08-10
KR101639931B1 (en) 2016-07-14
WO2013129750A1 (en) 2013-09-06
ES2602477T3 (en) 2017-02-21
CN104254990A (en) 2014-12-31
EP2822205A4 (en) 2015-09-09
CN104254990B (en) 2017-09-05
JP2015508976A (en) 2015-03-23
KR101442963B1 (en) 2014-09-23
KR20130100763A (en) 2013-09-11
US10044469B2 (en) 2018-08-07

Similar Documents

Publication Publication Date Title
JP6193896B2 (en) Communication apparatus and communication method
CN105528325B (en) A kind of guard method and system of standard SPI protocol high-speed transfer
JP6050389B2 (en) Communication apparatus and communication method
JP6110415B2 (en) Communication apparatus and communication method
CN103684684B (en) Method and apparatus for grouping from processing end to end-to-end network connection wireless segment
WO2014091663A1 (en) Detecting and isolating dropped or out-of-order packets in communication networks
CN112822002A (en) SPI (Serial peripheral interface) -based communication method and device, electronic equipment and storage medium
JP5883163B2 (en) Communication apparatus and communication method
CN114500679B (en) can protocol conversion method, can protocol conversion device, electronic equipment and storage medium
CN109769041A (en) A kind of method and device that mail address is corrected automatically

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20141002

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20150708

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150714

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150929

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20151208

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20160407

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20160418

A912 Re-examination (zenchi) completed and case transferred to appeal board

Free format text: JAPANESE INTERMEDIATE CODE: A912

Effective date: 20160513

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20170309

R150 Certificate of patent or registration of utility model

Ref document number: 6110415

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250