JP7252829B2 - wireless communication system - Google Patents

wireless communication system Download PDF

Info

Publication number
JP7252829B2
JP7252829B2 JP2019098487A JP2019098487A JP7252829B2 JP 7252829 B2 JP7252829 B2 JP 7252829B2 JP 2019098487 A JP2019098487 A JP 2019098487A JP 2019098487 A JP2019098487 A JP 2019098487A JP 7252829 B2 JP7252829 B2 JP 7252829B2
Authority
JP
Japan
Prior art keywords
data frame
acknowledgment
wireless communication
frame
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2019098487A
Other languages
Japanese (ja)
Other versions
JP2020195025A (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.)
Rohm Co Ltd
Original Assignee
Rohm 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 Rohm Co Ltd filed Critical Rohm Co Ltd
Priority to JP2019098487A priority Critical patent/JP7252829B2/en
Publication of JP2020195025A publication Critical patent/JP2020195025A/en
Application granted granted Critical
Publication of JP7252829B2 publication Critical patent/JP7252829B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、無線通信技術に関する。 The present invention relates to wireless communication technology.

無線通信では、第三者のなりすましによる不正な介入が容易であると、信頼性が損なわれる。従来、フレームカウンタを用いたなりすまし対策が知られている。 In wireless communication, if it is easy for a third party to spoof and illegally intervene, the reliability is compromised. Conventionally, a spoofing countermeasure using a frame counter is known.

フレームカウンタを用いたなりすまし対策によると、無線送信機から無線受信機に送信されるデータフレームを不正機器が傍受し、傍受したデータフレームを複製利用して不正機器が不正な介入を試みても、無線送信機から無線受信機に送信されるデータフレームが先に無線受信機に届いていれば、無線受信機側でのフレームカウンタチェックにより不正な介入を防止することができる。 According to spoofing countermeasures using a frame counter, even if an unauthorized device intercepts a data frame sent from a wireless transmitter to a wireless receiver and duplicates the intercepted data frame and attempts to intervene illegally, If a data frame sent from a radio transmitter to a radio receiver arrives at the radio receiver first, a frame counter check on the radio receiver side can prevent unauthorized intervention.

しかしながら、傍受したデータフレームに含まれるフレームカウンタを不正機器が改竄した場合には、無線受信機側でのフレームカウンタチェックだけでは不正な介入を防止することができない。 However, if the frame counter included in the intercepted data frame is tampered with by an unauthorized device, the unauthorized intervention cannot be prevented only by checking the frame counter on the wireless receiver side.

そこで、フレームカウンタを用いたなりすまし対策に、フレームカウンタ及びセキュリティ鍵に基づき生成される認証コード(例えばCMAC:Cipher-based Message Authentication Code)をデータフレームに含めることを追加する強化策が考えられる。この強化策により、傍受したデータフレームに含まれるフレームカウンタを不正機器が改竄した場合でも不正な介入を防止することができる。 Therefore, a countermeasure against spoofing using a frame counter can be strengthened by adding an authentication code (for example, CMAC: Cipher-based Message Authentication Code) generated based on a frame counter and a security key to a data frame. This enhancement prevents unauthorized intervention even if an unauthorized device modifies the frame counter contained in the intercepted data frames.

なお、無線通信におけるなりすまし対策は例えば特許文献1に開示されている。 For example, Japanese Unexamined Patent Application Publication No. 2002-200002 discloses a countermeasure against spoofing in wireless communication.

特開2007-13366号公報JP 2007-13366 A

上述したフレームカウンタを用いたなりすまし対策及び上述した強化策は、以下の弱点を有している。無線送信機から無線受信機に送信されるデータフレームが無線受信機に届かなかった場合、無線送信機から無線受信機に送信されるデータフレームを不正機器が傍受し、傍受したデータフレームを複製利用して不正機器が不正な介入を試みると、不正な介入が成功してしまう。 The spoofing countermeasures using the frame counter described above and the strengthening measures described above have the following weaknesses. If a data frame sent from a wireless transmitter to a wireless receiver fails to reach the wireless receiver, an unauthorized device intercepts the data frame sent from the wireless transmitter to the wireless receiver, and duplicates the intercepted data frame. and the unauthorized device attempts unauthorized intervention, the unauthorized intervention will be successful.

本発明は、上記の状況に鑑み、無線通信の信頼性を高めることを目的とする。 An object of the present invention is to improve the reliability of wireless communication in view of the above situation.

本明細書中に開示されている無線送信機は、送信フレームカウンタを管理する第1管理部と、前記送信フレームカウンタを含む第1データフレームを無線受信機に送信する第1無線通信部と、を備え、前記第1無線通信部は、前記第1データフレームに応じて前記無線受信機から返信される肯定応答を受信すると、前記送信フレームカウンタを含む第2データフレームを前記無線受信機に送信し、前記第1管理部は、前記第1データフレームに含まれる前記送信フレームカウンタの値と前記第2データフレームに含まれる前記送信フレームカウンタの値とを異なる値にする構成(第1の構成)である。なお、前記第1データフレームの送信形態は特に限定されない。したがって、例えば1つの前記第1データフレームが分割されて複数の分割データの形態で送信されてもよい。同様に、前記第2データフレームの送信形態は特に限定されない。したがって、例えば1つの前記第2データフレームが分割されて複数の分割データの形態で送信されてもよい。 A wireless transmitter disclosed in this specification includes: a first management unit that manages a transmission frame counter; a first wireless communication unit that transmits a first data frame including the transmission frame counter to a wireless receiver; and the first wireless communication unit, upon receiving an acknowledgment returned from the wireless receiver in response to the first data frame, transmits a second data frame including the transmission frame counter to the wireless receiver. and the first management unit sets the value of the transmission frame counter included in the first data frame and the value of the transmission frame counter included in the second data frame to different values (first configuration ). Note that the transmission form of the first data frame is not particularly limited. Therefore, for example, one first data frame may be divided and transmitted in the form of a plurality of divided data. Similarly, the transmission form of the second data frame is not particularly limited. Therefore, for example, one second data frame may be divided and transmitted in the form of a plurality of divided data.

また、上記第1の構成の無線送信機において、前記第1データフレームのペイロード部及び前記第2データフレームのペイロード部のいずれか一方は、ダミーデータである構成(第2の構成)であってもよい。 Further, in the radio transmitter having the first configuration, either one of the payload portion of the first data frame and the payload portion of the second data frame is dummy data (second configuration), good too.

また、上記第1の構成の無線送信機において、前記第1データフレームのペイロード部は前半分割データであり、前記第2データフレームのペイロード部は後半分割データである構成(第3の構成)であってもよい。 Further, in the wireless transmitter having the first configuration, the payload portion of the first data frame is the first half divided data, and the payload portion of the second data frame is the second half divided data (third configuration). There may be.

また、上記第1の構成の無線送信機において、前記第1データフレームのペイロード部及び前記第2データフレームのペイロード部は同一データである構成(第4の構成)であってもよい。 Further, in the wireless transmitter having the first configuration, the payload section of the first data frame and the payload section of the second data frame may be the same data (fourth configuration).

また、上記第1~第4いずれかの構成の無線送信機において、前記肯定応答に含まれる認証コードを確認する確認部を備え、前記第1無線通信部は、前記肯定応答を受信すると、前記第2データフレームを前記無線受信機に送信する構成(第5の構成)であってもよい。 In addition, the wireless transmitter having any one of the first to fourth configurations above includes a confirmation unit for confirming an authentication code included in the acknowledgment, and the first wireless communication unit receives the acknowledgment, The configuration (fifth configuration) may be such that the second data frame is transmitted to the wireless receiver.

また、上記第1~第5いずれかの構成の無線送信機において、肯定応答判定部を備え、前記第1管理部は、肯定応答受信フレームカウンタを管理し、前記肯定応答判定部は、前記肯定応答に含まれる肯定応答送信フレームカウンタと前記肯定応答受信フレームカウンタとの大小関係に基づき前記第1無線通信部が前記肯定応答を正常に受信したか否かを判定する構成(第6の構成)であってもよい。 Further, in the wireless transmitter having any one of the first to fifth configurations, an acknowledgment determination unit is provided, the first management unit manages an acknowledgment received frame counter, and the acknowledgment determination unit controls the acknowledgment A configuration for determining whether or not the first wireless communication unit has normally received the acknowledgment based on the magnitude relationship between the acknowledgment transmission frame counter included in the response and the acknowledgment reception frame counter (sixth configuration) may be

本明細書中に開示されている無線受信機は、受信フレームカウンタを管理する第2管理部と、第1データフレーム及び第2データフレームを受信する第2無線通信部と、前記第1データフレームに含まれる送信フレームカウンタと前記受信フレームカウンタとの大小関係に基づき前記第2無線通信部が前記第1データフレームを正常に受信したか否かを判定する判定部と、を備え、前記第2管理部は、前記判定部によって前記第2無線通信部が前記第1データフレームを正常に受信したと判定されれば、前記受信フレームカウンタを更新し、前記第2無線通信部は、前記判定部によって前記第2無線通信部が前記第1データフレームを正常に受信したと判定されれば、肯定応答を送信し、前記判定部は、前記第2データフレームに含まれる更新後の前記送信フレームカウンタと更新後の前記受信フレームカウンタとの大小関係に基づき前記第2無線通信部が前記第2データフレームを正常に受信したか否かを判定し、前記判定部によって前記第2無線通信部が前記第1データフレーム及び前記第2データフレームを正常に受信したと判定された場合にのみ、前記第1データフレーム及び前記第2データフレームの受信を正規のデータ受信として処理する構成(第7の構成)である。 A wireless receiver disclosed in this specification includes a second management unit that manages a received frame counter, a second wireless communication unit that receives a first data frame and a second data frame, and the first data frame. a determination unit that determines whether the second wireless communication unit has normally received the first data frame based on the magnitude relationship between the transmission frame counter and the reception frame counter included in the second When the determination unit determines that the second wireless communication unit has received the first data frame normally, the management unit updates the received frame counter, and the second wireless communication unit receives the determination unit. If the second wireless communication unit is determined to have received the first data frame normally by and the updated received frame counter, the second wireless communication unit determines whether or not the second data frame is normally received, and the determination unit determines whether the second wireless communication unit receives the A configuration for processing reception of the first data frame and the second data frame as normal data reception only when it is determined that the first data frame and the second data frame have been received normally (a seventh configuration ).

また、上記第7の構成の無線受信機において、前記肯定応答は認証コードを含む構成(第8の構成)であってもよい。 Further, in the radio receiver having the seventh configuration, the acknowledgment may include an authentication code (eighth configuration).

また、上記第7または第8の構成の無線受信機において、前記第1データフレームに含まれる認証コードを前記肯定応答のペイロード部に含める構成(第9の構成)であってもよい。 Further, in the radio receiver having the seventh or eighth configuration, the authentication code included in the first data frame may be included in the payload portion of the acknowledgment (ninth configuration).

また、上記第7~第9いずれかの構成の無線受信機において、前記第2管理部は、肯定応答送信フレームカウンタを管理し、前記肯定応答は前記肯定応答送信フレームカウンタを含む構成(第10の構成)であってもよい。 In the radio receiver having any one of the seventh to ninth configurations, the second management unit manages an acknowledgment transmission frame counter, and the acknowledgment includes the acknowledgment transmission frame counter (the tenth configuration).

本明細書中に開示されている無線通信システムは、上記第1~第6いずれかの構成の無線送信機と、上記第7~第9いずれかの構成の無線受信機と、を備える構成(第11の構成)である。ただし、上記無線通信システムが上記第5の構成の無線送信機を備える場合、上記無線通信システムは上記第8又は第9の構成の無線受信機を備える。また、上記無線通信システムが上記第6の構成の無線送信機を備える場合、上記無線通信システムは上記第10の構成の無線受信機を備える。 The radio communication system disclosed in this specification includes a radio transmitter having any one of the first to sixth configurations and a radio receiver having any one of the seventh to ninth configurations ( 11th configuration). However, when the radio communication system includes the radio transmitter having the fifth configuration, the radio communication system includes the radio receiver having the eighth or ninth configuration. Further, when the radio communication system includes the radio transmitter having the sixth configuration, the radio communication system includes the radio receiver having the tenth configuration.

本明細書中に開示されているスマートロックは、上記第7~第9いずれかの構成の一項に記載の無線受信機を備える構成(第12の構成)である。 The smart lock disclosed in this specification has a configuration (twelfth configuration) including the wireless receiver according to any one of the seventh to ninth configurations.

本明細書中に開示されている警報器は、上記第7~第9いずれかの構成の一項に記載の無線受信機を備える構成(第13の構成)である。 The alarm device disclosed in this specification has a configuration (thirteenth configuration) including the wireless receiver according to any one of the seventh to ninth configurations.

本明細書中に開示されているスマートメータは、上記第7~第9いずれかの構成の一項に記載の無線受信機を備える構成(第14の構成)である。 A smart meter disclosed in this specification has a configuration (a fourteenth configuration) including the wireless receiver according to any one of the seventh to ninth configurations.

本明細書中に開示されている無線通信技術によれば、第三者のなりすましによる不正な介入が困難になるので、信頼性を高めることができる。 According to the wireless communication technology disclosed in this specification, unauthorized intervention by impersonation by a third party becomes difficult, so reliability can be improved.

第1実施形態に係る無線通信システムの概略構成を示す図FIG. 1 shows a schematic configuration of a radio communication system according to the first embodiment; 第1実施形態に係る無線通信システムの通信シーケンスの概略を説明するための図FIG. 2 is a diagram for explaining an outline of a communication sequence of the wireless communication system according to the first embodiment; FIG. 第1実施形態に係る無線通信システムの通信シーケンスの変形例を説明するための図FIG. 4 is a diagram for explaining a modification of the communication sequence of the wireless communication system according to the first embodiment; 第1実施形態に係る無線通信システムの通信シーケンスの概略を説明するための図FIG. 2 is a diagram for explaining an outline of a communication sequence of the wireless communication system according to the first embodiment; FIG. 第1実施形態に係る無線通信システムの通信シーケンスの概略を説明するための図FIG. 2 is a diagram for explaining an outline of a communication sequence of the wireless communication system according to the first embodiment; FIG. 第2実施形態に係る無線通信システムの概略構成を示す図A diagram showing a schematic configuration of a wireless communication system according to a second embodiment. 第2実施形態に係る無線通信システムの通信シーケンスの概略を説明するための図A diagram for explaining an outline of a communication sequence of a wireless communication system according to a second embodiment. データフレームの構成例を示す概念図Conceptual diagram showing a configuration example of a data frame 第2実施形態における第1データフレームに応じた肯定応答の構成例を示す概念図FIG. 4 is a conceptual diagram showing a configuration example of an acknowledgment according to the first data frame in the second embodiment; データフレームを分割して送信する場合の通信シーケンスの概略を説明するための図A diagram for explaining an outline of a communication sequence when a data frame is divided and transmitted. データフレームを分割して送信する場合の通信シーケンスの概略を説明するための図A diagram for explaining an outline of a communication sequence when a data frame is divided and transmitted. 肯定応答未受信時にデータフレームを再送する場合の通信シーケンスの概略を説明するための図Diagram for explaining an outline of a communication sequence when retransmitting a data frame when no acknowledgment has been received スマートロック、警報器、及びスマートメータの概略外観図Schematic external view of smart lock, alarm, and smart meter

<第1実施形態>
図1は第1実施形態に係る無線通信システムSYS1(以下、「無線通信システムSYS1」と略す)の概略構成を示す図である。無線通信システムSYS1は無線送信機1及び無線受信機2を備える。無線送信機1と無線受信機2との通信方式は、無線送信機1からデータフレームを送信し無線受信機2がデータフレームを受信すると肯定応答を返信する通信方式であれば特に限定されないが、例えばIEEE802.15.4に準拠したMACプロトコル等を挙げることができる。
<First embodiment>
FIG. 1 is a diagram showing a schematic configuration of a radio communication system SYS1 (hereinafter abbreviated as "radio communication system SYS1") according to the first embodiment. A radio communication system SYS1 comprises a radio transmitter 1 and a radio receiver 2 . The communication method between the wireless transmitter 1 and the wireless receiver 2 is not particularly limited as long as it is a communication method in which a data frame is transmitted from the wireless transmitter 1 and an acknowledgment is returned when the wireless receiver 2 receives the data frame. For example, a MAC protocol conforming to IEEE802.15.4 can be used.

無線送信機1は無線通信部11及び制御部12を備える。 The radio transmitter 1 includes a radio communication section 11 and a control section 12 .

無線通信部11は、データフレームを高周波信号に変調する高周波回路、高周波信号と電波との変換を行うアンテナ等を備える。したがって、データフレームは高周波信号に変調された状態で無線送信機1から無線受信機2に送信される。 The wireless communication unit 11 includes a high-frequency circuit that modulates a data frame into a high-frequency signal, an antenna that converts the high-frequency signal into a radio wave, and the like. Therefore, the data frame is transmitted from the radio transmitter 1 to the radio receiver 2 while being modulated with a high frequency signal.

制御部12は、無線通信部11を制御する。制御部12は管理部12A及びデータフレーム生成部12Bを備える。管理部12Aは送信フレームカウンタを管理する。データフレーム生成部12Bはデータフレームを生成する。データフレーム生成部12Bによって生成されるデータフレームは、送信フレームカウンタと、セキュリティ鍵に基づき生成される認証コードと、を含む。データフレーム生成部12Bで利用されるセキュリティ鍵は、制御部12によって記憶されている。認証コードは、例えばセキュリティ鍵に加えて送信フレームカウンタにも基づいて生成されてもよい。制御部12としては例えばマイクロコンピュータを用いることができる。 The control unit 12 controls the radio communication unit 11 . The control unit 12 includes a management unit 12A and a data frame generation unit 12B. The management unit 12A manages the transmission frame counter. The data frame generator 12B generates data frames. A data frame generated by the data frame generator 12B includes a transmission frame counter and an authentication code generated based on the security key. The security key used by the data frame generator 12B is stored by the controller 12. FIG. An authorization code may be generated, for example, based on a transmitted frame counter in addition to the security key. For example, a microcomputer can be used as the control unit 12 .

無線受信機2は無線通信部21及び制御部22を備える。 The radio receiver 2 includes a radio communication section 21 and a control section 22 .

無線通信部21は、高周波信号と電波との変換を行うアンテナ、高周波信号をデータフレームに復調する高周波回路等を備える。 The wireless communication unit 21 includes an antenna that converts a high frequency signal into a radio wave, a high frequency circuit that demodulates the high frequency signal into a data frame, and the like.

制御部22は、無線通信部21を制御する。制御部22は管理部22A、判定部22B、及び確認部22Cを備える。管理部22Aは受信フレームカウンタを管理する。判定部22Bは、無線通信部21がデータフレームを正常に受信したか否かを判定する。確認部22Cは、セキュリティ鍵に基づき、データフレームに含まれる認証コードが正規の認証コードであるか否かを確認する。確認部22Cで利用されるセキュリティ鍵は、制御部22によって記憶されている。例えば、認証コードがセキュリティ鍵に加えてデータフレームに含まれる送信フレームカウンタ及びペイロード部にも基づいて生成されている場合、確認部22Cは、データフレームに含まれる送信フレームカウンタ及びペイロード部と制御部22によって記憶されているセキュリティ鍵とに基づき、データフレームに含まれる認証コードが正規の認証コードであるか否かを確認する。制御部22としては例えばマイクロコンピュータを用いることができる。 The control section 22 controls the wireless communication section 21 . The control unit 22 includes a management unit 22A, a determination unit 22B, and a confirmation unit 22C. The management unit 22A manages the reception frame counter. The determination unit 22B determines whether or not the wireless communication unit 21 has normally received the data frame. The confirmation unit 22C confirms whether or not the authentication code included in the data frame is a legitimate authentication code based on the security key. The security key used by the confirmation unit 22C is stored by the control unit 22. FIG. For example, when the authentication code is generated based on the transmission frame counter and the payload part included in the data frame in addition to the security key, the confirmation unit 22C uses the transmission frame counter and the payload part included in the data frame and the control unit Based on the security key stored by 22, it is confirmed whether the authentication code contained in the data frame is a valid authentication code. A microcomputer, for example, can be used as the control unit 22 .

図2Aは、無線通信システムSYS1の通信シーケンスの概略を説明するための図である。図2Aに示す通信シーケンスの開始時点において、管理部12Aは送信フレームカウンタの値を「3」として管理し、管理部22Aは受信フレームカウンタの値を「2」として管理しているものとする。 FIG. 2A is a diagram for explaining an outline of a communication sequence of the radio communication system SYS1. At the start of the communication sequence shown in FIG. 2A, the management unit 12A manages the value of the transmission frame counter as "3", and the management unit 22A manages the value of the reception frame counter as "2".

無線送信機1にアクセス可能なデバイス(例えば無線送信機1にアクセス可能なマイクロコンピュータ等)からのデータ送信指示を無線送信機1が受け取ると、データフレーム生成部12Bは、管理部12Aによって管理されている送信フレームカウンタを含む第1データフレームを生成する。無線通信部11は第1データフレームを変調して送信する。管理部12Aは、無線通信部11が第1データフレームを送信すると、送信フレームカウンタの値を更新して「4」にする。本実施形態では、送信フレームカウンタ及び受信フレームカウンタはそれぞれ更新時に1つインクリメントされるが、インクリメントの値は1に限定されない。なお、本実施形態とは異なり、送信フレームカウンタ及び受信フレームカウンタの初期値を十分に大きくし、送信フレームカウンタ及び受信フレームカウンタがそれぞれ更新時にデクリメントされるようにしてもよい。また、本実施形態では、データフレーム(第1データフレーム、第2データフレーム)が生成された後に送信フレームカウンタが更新されるが、本実施形態とは異なり、図2Bに示すようにデータフレーム(第1データフレーム、第2データフレーム)が生成される前に送信フレームカウンタが更新されてもよい。つまり、送信フレームカウンタの更新タイミングは限定されず、第1データフレームに含まれる送信フレームカウンタの値と第2データフレームに含まれる送信フレームカウンタの値とが異なる値になるように送信フレームカウンタが更新されればよい。 When the wireless transmitter 1 receives a data transmission instruction from a device that can access the wireless transmitter 1 (for example, a microcomputer that can access the wireless transmitter 1), the data frame generator 12B is managed by the manager 12A. generating a first data frame including a transmitted frame counter that is The wireless communication unit 11 modulates and transmits the first data frame. When the wireless communication unit 11 transmits the first data frame, the management unit 12A updates the value of the transmission frame counter to "4". In this embodiment, the transmission frame counter and the reception frame counter are each incremented by one when updated, but the increment value is not limited to one. Note that, unlike the present embodiment, the initial values of the transmission frame counter and the reception frame counter may be made sufficiently large so that the transmission frame counter and the reception frame counter are decremented when they are updated. Further, in the present embodiment, the transmission frame counter is updated after the data frames (the first data frame and the second data frame) are generated. The transmission frame counter may be updated before the first data frame, second data frame) is generated. That is, the timing of updating the transmission frame counter is not limited, and the transmission frame counter is adjusted so that the value of the transmission frame counter included in the first data frame and the value of the transmission frame counter included in the second data frame are different values. It should be updated.

無線通信部21が第1データフレームを受信すると、判定部22Bは、第1データフレームに含まれる送信フレームカウンタと受信フレームカウンタとの大小関係に基づき、無線通信部21が第1データフレームを正常に受信したか否かを判定する。具体的には、判定部22Bは、第1データフレームに含まれる送信フレームカウンタが受信フレームカウンタより大きい場合に、無線通信部21が第1データフレームを正常に受信したと判定する。 When the wireless communication unit 21 receives the first data frame, the determination unit 22B determines whether the wireless communication unit 21 normally receives the first data frame based on the magnitude relationship between the transmission frame counter and the reception frame counter included in the first data frame. It determines whether or not it has been received. Specifically, the determination unit 22B determines that the wireless communication unit 21 has successfully received the first data frame when the transmission frame counter included in the first data frame is greater than the reception frame counter.

判定部22Bによって無線通信部21が第1データフレームを正常に受信したと判定されれば、管理部22Aは、受信フレームカウンタの値を更新して「3」にし、無線通信部21は、肯定応答を送信する。ただし、第1データフレームに含まれる認証コードが正規の認証コードでないことが確認部22Cによって確認された場合には、第1データフレームは破棄され無線通信部21は肯定応答を送信しない。このように確認部22Cによって異常が確認されて無線通信部21が肯定応答を送信しない場合、無線通信部21が何も送信しないようにしてもよく、無線通信部21が否定応答を送信するようにしてもよい。 If the determination unit 22B determines that the wireless communication unit 21 has normally received the first data frame, the management unit 22A updates the value of the received frame counter to "3", and the wireless communication unit 21 Send a response. However, if the confirmation unit 22C confirms that the authentication code included in the first data frame is not a valid authentication code, the first data frame is discarded and the wireless communication unit 21 does not transmit an acknowledgment. In this way, when an abnormality is confirmed by the confirmation unit 22C and the wireless communication unit 21 does not transmit an acknowledgment, the wireless communication unit 21 may not transmit anything. can be

無線通信部11が肯定応答を受信すると、データフレーム生成部12Bは、管理部12Aによって管理されている送信フレームカウンタを含む第2データフレームを生成し、無線通信部11は、第2データフレームを変調して送信する。 When the radio communication unit 11 receives the acknowledgment, the data frame generation unit 12B generates a second data frame including the transmission frame counter managed by the management unit 12A, and the radio communication unit 11 generates the second data frame. Modulate and transmit.

管理部12Aは、無線通信部11が第2データフレームを送信すると、送信フレームカウンタの値を更新して「5」にする。 When the wireless communication unit 11 transmits the second data frame, the management unit 12A updates the value of the transmission frame counter to "5".

無線通信部21が第2データフレームを受信すると、判定部22Bは、第2データフレームに含まれる送信フレームカウンタと受信フレームカウンタとの大小関係に基づき、無線通信部21が第2データフレームを正常に受信したか否かを判定する。具体的には、判定部22Bは、第2データフレームに含まれる送信フレームカウンタが受信フレームカウンタより大きい場合に、無線通信部21が第2データフレームを正常に受信したと判定する。 When the wireless communication unit 21 receives the second data frame, the determination unit 22B determines whether the wireless communication unit 21 normally receives the second data frame based on the magnitude relationship between the transmission frame counter and the reception frame counter included in the second data frame. It determines whether or not it has been received. Specifically, when the transmission frame counter included in the second data frame is greater than the reception frame counter, the determination unit 22B determines that the wireless communication unit 21 has successfully received the second data frame.

判定部22Bによって無線通信部21が第2データフレームを正常に受信したと判定されれば、管理部22Aは、受信フレームカウンタの値を更新して「4」にし、無線通信部21は、肯定応答を送信する。ただし、第2データフレームに含まれる認証コードが正規の認証コードでないことが確認部22Cによって確認された場合には、第2データフレームは破棄され無線通信部21は肯定応答を送信しない。このように確認部22Cによって異常が確認されて無線通信部21が肯定応答を送信しない場合、無線通信部21が何も送信しないようにしてもよく、無線通信部21が否定応答を送信するようにしてもよい。 If the determination unit 22B determines that the wireless communication unit 21 has normally received the second data frame, the management unit 22A updates the value of the received frame counter to "4", and the wireless communication unit 21 Send a response. However, if the confirmation unit 22C confirms that the authentication code included in the second data frame is not a valid authentication code, the second data frame is discarded and the wireless communication unit 21 does not transmit an acknowledgment. In this way, when an abnormality is confirmed by the confirmation unit 22C and the wireless communication unit 21 does not transmit an acknowledgment, the wireless communication unit 21 may not transmit anything. can be

制御部22は、判定部22Bによって無線通信部21が第1データフレーム及び第2データフレームを正常に受信したと判定された場合にのみ、第1データフレーム及び第2データフレームの受信を正規のデータ受信として処理する。例えば、制御部22は、判定部22Bによって無線通信部21が第1データフレーム及び第2データフレームを正常に受信したと判定された場合にのみ、無線受信機2にアクセス可能なデバイス(例えば無線受信機2にアクセス可能なマイクロコンピュータ等)にデータ受信通知を出力する。ただし、第1データフレームまたは第2データフレームが破棄されている場合には、制御部22は、第1データフレーム及び第2データフレームの受信を正規のデータ受信として処理しない。 Only when the determination unit 22B determines that the wireless communication unit 21 has normally received the first data frame and the second data frame, the control unit 22 allows the reception of the first data frame and the second data frame to be performed normally. Process as data reception. For example, the control unit 22 controls a device (for example, a wireless A data reception notification is output to a microcomputer or the like accessible to the receiver 2 . However, if the first data frame or the second data frame is discarded, the control unit 22 does not treat the reception of the first data frame and the second data frame as normal data reception.

第2データフレームの送信後に無線通信部11が肯定応答を受信すると、制御部12は、無線送信機1にアクセス可能なデバイス(例えば無線送信機1にアクセス可能なマイクロコンピュータ等)に送信成功通知を出力する。 When the wireless communication unit 11 receives an acknowledgment after transmitting the second data frame, the control unit 12 sends a transmission success notification to a device that can access the wireless transmitter 1 (for example, a microcomputer that can access the wireless transmitter 1). to output

ここで、図3を参照して第1データフレームが無線受信機2に届かなかった場合について説明する。図3に示す通信シーケンスの開始時点において、管理部12Aは送信フレームカウンタの値を「3」として管理し、管理部22Aは受信フレームカウンタの値を「2」として管理しているものとする。 Here, the case where the first data frame does not reach the wireless receiver 2 will be described with reference to FIG. At the start of the communication sequence shown in FIG. 3, the management unit 12A manages the value of the transmission frame counter as "3", and the management unit 22A manages the value of the reception frame counter as "2".

無線送信機1にアクセス可能なデバイス(例えば無線送信機1にアクセス可能なマイクロコンピュータ等)からのデータ送信指示を無線送信機1が受け取ると、データフレーム生成部12Bは、管理部12Aによって管理されている送信フレームカウンタを含む第1データフレームを生成する。無線通信部11は第1データフレームを変調して送信する。管理部12Aは、無線通信部11が第1データフレームを送信すると、送信フレームカウンタの値を更新して「4」にする。 When the wireless transmitter 1 receives a data transmission instruction from a device that can access the wireless transmitter 1 (for example, a microcomputer that can access the wireless transmitter 1), the data frame generator 12B is managed by the manager 12A. generating a first data frame including a transmitted frame counter that is The wireless communication unit 11 modulates and transmits the first data frame. When the wireless communication unit 11 transmits the first data frame, the management unit 12A updates the value of the transmission frame counter to "4".

不正機器は、無線送信機1になりすますために、第1データフレームを傍受して第1データフレームを複製利用する。不正機器から送信された第1データフレームを無線通信部21が受信すると、判定部22Bは、第1データフレームに含まれる送信フレームカウンタと受信フレームカウンタとの大小関係に基づき、無線通信部21が第1データフレームを正常に受信したか否かを判定する。具体的には、判定部22Bは、第1データフレームに含まれる送信フレームカウンタが受信フレームカウンタより大きい場合に、無線通信部21が第1データフレームを正常に受信したと判定する。 In order to impersonate the wireless transmitter 1, the unauthorized device intercepts the first data frame and duplicates and uses the first data frame. When the wireless communication unit 21 receives the first data frame transmitted from the unauthorized device, the determination unit 22B determines whether the wireless communication unit 21 It is determined whether or not the first data frame has been successfully received. Specifically, the determination unit 22B determines that the wireless communication unit 21 has successfully received the first data frame when the transmission frame counter included in the first data frame is greater than the reception frame counter.

判定部22Bによって無線通信部21が第1データフレームを正常に受信したと判定されれば、管理部22Aは、受信フレームカウンタの値を更新して「3」にし、無線通信部21は、肯定応答を送信する。なお、不正機器から送信された第1データフレームは無線送信機1から送信された第1データフレームの複製であるため、不正機器から送信された第1データフレームに含まれる認証コードは正規の認証コードである。 If the determination unit 22B determines that the wireless communication unit 21 has normally received the first data frame, the management unit 22A updates the value of the received frame counter to "3", and the wireless communication unit 21 Send a response. Since the first data frame transmitted from the unauthorized device is a copy of the first data frame transmitted from the wireless transmitter 1, the authentication code contained in the first data frame transmitted from the unauthorized device is valid authentication. is the code.

第1データフレームが無線受信機2に届かない状況下であるため、肯定応答が無線送信機1に届かない。無線送信機1は、第1データフレームに応じた肯定応答を受信しないので、第2データフレームを送信しない。無線送信機1が第2データフレームを送信しないので、不正機器は、無線送信機1になりすますために、第2データフレームを傍受して第2データフレームを複製利用することができない。また、不正機器は、制御部12が記憶しているセキュリティ鍵を把握していないため、正しい認証コードを含む第2データフレームを作成することもできない。 Since the first data frame does not reach the radio receiver 2 , the acknowledgment does not reach the radio transmitter 1 . Since the radio transmitter 1 does not receive an acknowledgment for the first data frame, it does not transmit the second data frame. Since the wireless transmitter 1 does not transmit the second data frame, unauthorized devices cannot intercept the second data frame and duplicate the second data frame in order to impersonate the wireless transmitter 1 . Also, since the unauthorized device does not know the security key stored in the control unit 12, it cannot create the second data frame containing the correct authentication code.

その結果、制御部22は、第1データフレームの受信を正規のデータ受信として処理しない。また、制御部12は、タイムアウトになると、無線送信機1にアクセス可能なデバイス(例えば無線送信機1にアクセス可能なマイクロコンピュータ等)に送信失敗通知を出力する。このように、無線通信システムSYS1は、不正機器が無線送信機1になりすますことによる不正な介入を防止することができる。したがって、無線通信システムSYS1によれば、信頼性を高めることができる。 As a result, the control unit 22 does not process reception of the first data frame as normal data reception. Further, when a timeout occurs, the control unit 12 outputs a transmission failure notification to a device that can access the wireless transmitter 1 (for example, a microcomputer that can access the wireless transmitter 1, etc.). Thus, the wireless communication system SYS1 can prevent unauthorized intervention by impersonating the wireless transmitter 1 by an unauthorized device. Therefore, according to the wireless communication system SYS1, reliability can be improved.

なお、本実施形態とは異なり、データフレームが認証コードを含まないようにしてもよい。この場合、不正機器が送信フレームカウンタを改竄して第2データフレームを作成することは可能になってしまうが、単なるデータフレームの複製利用だけで不正な介入が成功してしまうという事態は防止することができるので、信頼性を高めることができる。 Note that, unlike the present embodiment, the data frame may not include the authentication code. In this case, although it is possible for an unauthorized device to tamper with the transmission frame counter and create a second data frame, it is possible to prevent a situation in which unauthorized intervention succeeds simply by duplicating the data frame. Therefore, reliability can be improved.

次に、図4を参照して第1データフレームが無線受信機2に届かなかった場合に、不正な介入が成功してしまうおそれについて説明する。図4に示す通信シーケンスの開始時点において、管理部12Aは送信フレームカウンタの値を「3」として管理し、管理部22Aは受信フレームカウンタの値を「2」として管理しているものとする。 Next, with reference to FIG. 4, the possibility that unauthorized intervention will succeed when the first data frame does not reach the wireless receiver 2 will be described. At the start of the communication sequence shown in FIG. 4, the management unit 12A manages the value of the transmission frame counter as "3", and the management unit 22A manages the value of the reception frame counter as "2".

無線送信機1にアクセス可能なデバイス(例えば無線送信機1にアクセス可能なマイクロコンピュータ等)からのデータ送信指示を無線送信機1が受け取ると、データフレーム生成部12Bは、管理部12Aによって管理されている送信フレームカウンタを含む第1データフレームを生成する。無線通信部11は第1データフレームを変調して送信する。管理部12Aは、無線通信部11が第1データフレームを送信すると、送信フレームカウンタの値を更新して「4」にする。 When the wireless transmitter 1 receives a data transmission instruction from a device that can access the wireless transmitter 1 (for example, a microcomputer that can access the wireless transmitter 1), the data frame generator 12B is managed by the manager 12A. generating a first data frame including a transmitted frame counter that is The wireless communication unit 11 modulates and transmits the first data frame. When the wireless communication unit 11 transmits the first data frame, the management unit 12A updates the value of the transmission frame counter to "4".

不正機器は、第1データフレームを傍受し、無線受信機2になりすまして肯定応答を無線送信機1に返信する。 The rogue device intercepts the first data frame and impersonates the wireless receiver 2 and sends back an acknowledgment to the wireless transmitter 1 .

無線通信部11が肯定応答を受信すると、データフレーム生成部12Bは、管理部12Aによって管理されている送信フレームカウンタを含む第2データフレームを生成し、無線通信部11は、第2データフレームを変調して送信する。 When the radio communication unit 11 receives the acknowledgment, the data frame generation unit 12B generates a second data frame including the transmission frame counter managed by the management unit 12A, and the radio communication unit 11 generates the second data frame. Modulate and transmit.

管理部12Aは、無線通信部11が第2データフレームを送信すると、送信フレームカウンタの値を更新して「5」にする。 When the wireless communication unit 11 transmits the second data frame, the management unit 12A updates the value of the transmission frame counter to "5".

不正機器は、第2データフレームを傍受し、無線受信機2になりすまして肯定応答を無線送信機1に返信する。 The rogue device intercepts the second data frame and impersonates the wireless receiver 2 and sends back an acknowledgment to the wireless transmitter 1 .

第2データフレームの送信後に無線通信部11が肯定応答を受信すると、制御部12は、無線送信機1にアクセス可能なデバイス(例えば無線送信機1にアクセス可能なマイクロコンピュータ等)に送信成功通知を出力する。 When the wireless communication unit 11 receives an acknowledgment after transmitting the second data frame, the control unit 12 sends a transmission success notification to a device that can access the wireless transmitter 1 (for example, a microcomputer that can access the wireless transmitter 1). to output

不正機器は、第2データフレームに応じて肯定応答を無線送信機1に返信した後、予め傍受しておいた第1データフレーム及び第2データフレームを複製利用して無線送信機1になりすます。不正機器が無線送信機1になりすましてから後の無線受信機2の動作は、図2Aと同一であるので、説明を省略する。 After returning an acknowledgment to the wireless transmitter 1 in response to the second data frame, the unauthorized device duplicates and uses the first and second data frames intercepted in advance to impersonate the wireless transmitter 1 . Since the operation of the wireless receiver 2 after the unauthorized device impersonates the wireless transmitter 1 is the same as in FIG. 2A, the description is omitted.

<第2実施形態>
図5は第2実施形態に係る無線通信システムSYS2(以下、「無線通信システムSYS2」と略す)の概略構成を示す図である。なお、第2実施形態において第1実施形態と同一の部分については適宜説明を省略し、第1実施形態と異なる部分を主として説明する。
<Second embodiment>
FIG. 5 is a diagram showing a schematic configuration of a radio communication system SYS2 (hereinafter abbreviated as "radio communication system SYS2") according to the second embodiment. In the second embodiment, the description of the same parts as in the first embodiment will be omitted as appropriate, and the parts different from the first embodiment will be mainly described.

無線通信システムSYS2は、不正機器が無線受信機2及び無線送信機1の両方になりすますことによる不正な介入をも防止することができる無線通信システムである。 The wireless communication system SYS2 is a wireless communication system that can prevent unauthorized intervention by impersonating both the wireless receiver 2 and the wireless transmitter 1 by an unauthorized device.

制御部12は、管理部12A及びデータフレーム生成部12Bに加えて、確認部12C及び肯定応答判定部12Dも備える。 The control unit 12 also includes a confirmation unit 12C and an acknowledgment determination unit 12D in addition to a management unit 12A and a data frame generation unit 12B.

確認部12Cは、セキュリティ鍵に基づき、第1データフレームに応じた肯定応答に含まれる認証コードが正規の認証コードであるか否かを確認する。確認部12Cで利用されるセキュリティ鍵は、制御部12によって記憶されている。例えば、認証コードがセキュリティ鍵に加えて第1データフレームに応じた肯定応答に含まれる肯定応答送信フレームカウンタ及びペイロード部にも基づいて生成されている場合、確認部12Cは、第1データフレームに応じた肯定応答に含まれる肯定応答送信フレームカウンタ及びペイロード部と制御部12によって記憶されているセキュリティ鍵とに基づき、第1データフレームに応じた肯定応答に含まれる認証コードが正規の認証コードであるか否かを確認する。 Based on the security key, the confirmation unit 12C confirms whether or not the authentication code included in the acknowledgment corresponding to the first data frame is a valid authentication code. The security key used by the confirmation unit 12C is stored by the control unit 12. FIG. For example, if the authentication code is generated based on not only the security key but also the acknowledgment transmission frame counter and the payload section included in the acknowledgment in response to the first data frame, the verification unit 12C Based on the acknowledgment transmission frame counter and payload part included in the acknowledgment in response and the security key stored by the control unit 12, the authentication code included in the acknowledgment in response to the first data frame is determined to be a regular authentication code. Check whether there is

管理部12Aは、送信フレームカウンタに加えて肯定応答受信フレームカウンタも管理する。管理部22Aは、受信フレームカウンタに加えて肯定応答送信フレームカウンタも管理する。 The management unit 12A also manages an acknowledgment reception frame counter in addition to the transmission frame counter. The management unit 22A also manages an acknowledgment transmission frame counter in addition to the reception frame counter.

肯定応答判定部12Dは、無線通信部11が第1データフレームに応じた肯定応答を正常に受信したか否かを判定する。 The acknowledgment determination unit 12D determines whether or not the wireless communication unit 11 has normally received the acknowledgment corresponding to the first data frame.

図6は、無線通信システムSYS2の通信シーケンスの概略を説明するための図である。図6に示す通信シーケンスの開始時点において、管理部12Aは送信フレームカウンタの値を「3」として管理し肯定応答受信フレームカウンタの値を「1」として管理し、管理部22Aは受信フレームカウンタの値を「2」として管理し肯定応答送信フレームカウンタの値を「2」として管理しているものとする。 FIG. 6 is a diagram for explaining an outline of a communication sequence of the radio communication system SYS2. At the start of the communication sequence shown in FIG. 6, the management unit 12A manages the value of the transmission frame counter as "3" and manages the value of the acknowledgment reception frame counter as "1", and the management unit 22A controls the value of the reception frame counter as "3". It is assumed that the value is managed as "2" and the value of the acknowledgment transmission frame counter is managed as "2".

なお、第1データフレームに応じた肯定応答は、認証コードと肯定応答送信フレームカウンタが附属するペイロード部を含む構成であるため、図6において「ACK+」と表記する。 Note that the acknowledgment corresponding to the first data frame is written as "ACK+" in FIG. 6 because it has a structure including a payload part to which an authentication code and an acknowledgment transmission frame counter are attached.

無線送信機1にアクセス可能なデバイス(例えば無線送信機1にアクセス可能なマイクロコンピュータ等)からのデータ送信指示を無線送信機1が受け取ると、データフレーム生成部12Bは、管理部12Aによって管理されている送信フレームカウンタを含む第1データフレームを生成する。無線通信部11は第1データフレームを変調して送信する。管理部12Aは、無線通信部11が第1データフレームを送信すると、送信フレームカウンタの値を更新して「4」にする。 When the wireless transmitter 1 receives a data transmission instruction from a device that can access the wireless transmitter 1 (for example, a microcomputer that can access the wireless transmitter 1), the data frame generator 12B is managed by the manager 12A. generating a first data frame including a transmitted frame counter that is The wireless communication unit 11 modulates and transmits the first data frame. When the wireless communication unit 11 transmits the first data frame, the management unit 12A updates the value of the transmission frame counter to "4".

無線通信部21が第1データフレームを受信すると、判定部22Bは、第1データフレームに含まれる送信フレームカウンタと受信フレームカウンタとの大小関係に基づき、無線通信部21が第1データフレームを正常に受信したか否かを判定する。具体的には、判定部22Bは、第1データフレームに含まれる送信フレームカウンタが受信フレームカウンタより大きい場合に、無線通信部21が第1データフレームを正常に受信したと判定する。 When the wireless communication unit 21 receives the first data frame, the determination unit 22B determines whether the wireless communication unit 21 normally receives the first data frame based on the magnitude relationship between the transmission frame counter and the reception frame counter included in the first data frame. It determines whether or not it has been received. Specifically, the determination unit 22B determines that the wireless communication unit 21 has successfully received the first data frame when the transmission frame counter included in the first data frame is greater than the reception frame counter.

判定部22Bによって無線通信部21が第1データフレームを正常に受信したと判定されれば、管理部22Aは、受信フレームカウンタの値を更新して「3」にし、無線通信部21は、管理部22Aによって管理されている肯定応答送信フレームカウンタを含む肯定応答を送信する。ただし、第1データフレームに含まれる認証コードが正規の認証コードでないことが確認部22Cによって確認された場合には、第1データフレームは破棄され無線通信部21は肯定応答を送信しない。 If the determination unit 22B determines that the wireless communication unit 21 has normally received the first data frame, the management unit 22A updates the value of the received frame counter to "3", and the wireless communication unit 21 performs the management Send an acknowledgment that includes an acknowledgment sent frame counter maintained by unit 22A. However, if the confirmation unit 22C confirms that the authentication code included in the first data frame is not a valid authentication code, the first data frame is discarded and the wireless communication unit 21 does not transmit an acknowledgment.

管理部22Aは、無線通信部21が肯定応答を送信すると、肯定応答送信フレームカウンタの値を更新して「3」にする。本実施形態では、肯定応答送信フレームカウンタ及び肯定応答受信フレームカウンタはそれぞれ更新時に1つインクリメントされるが、インクリメントの値は1に限定されない。なお、本実施形態とは異なり、肯定応答送信フレームカウンタ及び肯定応答受信フレームカウンタの初期値を十分に大きくし、肯定応答送信フレームカウンタ及び肯定応答受信フレームカウンタがそれぞれ更新時にデクリメントされるようにしてもよい。 When the wireless communication unit 21 transmits an acknowledgment, the management unit 22A updates the value of the acknowledgment transmission frame counter to "3". In this embodiment, the acknowledgment sent frame counter and the acknowledgment received frame counter are each incremented by one when updated, but the increment value is not limited to one. Note that unlike the present embodiment, the initial values of the acknowledgment transmission frame counter and the acknowledgment reception frame counter are set sufficiently large so that the acknowledgment transmission frame counter and the acknowledgment reception frame counter are decremented when they are updated. good too.

無線通信部11が肯定応答を受信すると、肯定応答判定部12Dは、肯定応答に含まれる肯定応答送信フレームカウンタと肯定応答受信フレームカウンタとの大小関係に基づき、無線通信部11が第1データフレームに応じた肯定応答を正常に受信したか否かを判定する。具体的には、肯定応答判定部12Dは、肯定応答に含まれる肯定応答送信フレームカウンタが肯定応答受信フレームカウンタより大きい場合に、無線通信部11が第1データフレームに応じた肯定応答を正常に受信したと判定する。 When the radio communication unit 11 receives the acknowledgment, the acknowledgment determination unit 12D determines whether the radio communication unit 11 receives the first data frame based on the magnitude relationship between the acknowledgment transmission frame counter and the acknowledgment reception frame counter included in the acknowledgment. determines whether an acknowledgment in response to has been successfully received. Specifically, if the acknowledgment transmission frame counter included in the acknowledgment is greater than the acknowledgment reception frame counter, the acknowledgment determination unit 12D determines whether the wireless communication unit 11 normally sends the acknowledgment corresponding to the first data frame. Determine that it has been received.

肯定応答判定部12Dによって無線通信部11が第1データフレームに応じた肯定応答を正常に受信したと判定されれば、管理部12Aは、肯定応答受信フレームカウンタの値を更新して「2」にし、無線通信部11は、第2データフレームを送信する。ただし、第1データフレームに応じた肯定応答に含まれる認証コードが正規の認証コードでないことが確認部12Cによって確認された場合には、無線通信部11は第2データフレームを送信しない。 If the acknowledgment determination unit 12D determines that the wireless communication unit 11 has normally received the acknowledgment corresponding to the first data frame, the management unit 12A updates the value of the acknowledgment received frame counter to "2". and the wireless communication unit 11 transmits the second data frame. However, if the confirmation unit 12C confirms that the authentication code included in the acknowledgment in response to the first data frame is not a valid authentication code, the wireless communication unit 11 does not transmit the second data frame.

管理部12Aは、無線通信部11が第2データフレームを送信すると、送信フレームカウンタの値を更新して「5」にする。 When the wireless communication unit 11 transmits the second data frame, the management unit 12A updates the value of the transmission frame counter to "5".

無線通信部21が第2データフレームを受信すると、判定部22Bは、第2データフレームに含まれる送信フレームカウンタと受信フレームカウンタとの大小関係に基づき、無線通信部21が第2データフレームを正常に受信したか否かを判定する。具体的には、判定部22Bは、第2データフレームに含まれる送信フレームカウンタが受信フレームカウンタより大きい場合に、無線通信部21が第2データフレームを正常に受信したと判定する。 When the wireless communication unit 21 receives the second data frame, the determination unit 22B determines whether the wireless communication unit 21 normally receives the second data frame based on the magnitude relationship between the transmission frame counter and the reception frame counter included in the second data frame. It determines whether or not it has been received. Specifically, when the transmission frame counter included in the second data frame is greater than the reception frame counter, the determination unit 22B determines that the wireless communication unit 21 has successfully received the second data frame.

判定部22Bによって無線通信部21が第2データフレームを正常に受信したと判定されれば、管理部22Aは、受信フレームカウンタの値を更新して「4」にし、無線通信部21は、肯定応答を送信する。ただし、第2データフレームに含まれる認証コードが正規の認証コードでないことが確認部22Cによって確認された場合には、第2データフレームは破棄され無線通信部21は肯定応答を送信しない。 If the determination unit 22B determines that the wireless communication unit 21 has normally received the second data frame, the management unit 22A updates the value of the received frame counter to "4", and the wireless communication unit 21 Send a response. However, if the confirmation unit 22C confirms that the authentication code included in the second data frame is not a valid authentication code, the second data frame is discarded and the wireless communication unit 21 does not transmit an acknowledgment.

第2データフレームに応じた肯定応答は、一般的な肯定応答である。つまり、第2データフレームに応じた肯定応答は、第1データフレームに応じた肯定応答とは異なり、認証コードと肯定応答送信フレームカウンタが附属するペイロード部を含まない構成である。なお、本実施形態とは異なり、第2データフレームに応じた肯定応答も、第1データフレームに応じた肯定応答と同様に、ペイロード部を含む構成にしてもよい。 Acknowledgments in response to the second data frame are general acknowledgments. In other words, unlike the acknowledgment response to the first data frame, the acknowledgment response to the second data frame does not include the payload section to which the authentication code and the acknowledgment transmission frame counter are attached. Note that, unlike the present embodiment, the acknowledgment for the second data frame may also include a payload portion, like the acknowledgment for the first data frame.

管理部22Aは、無線通信部21が肯定応答を送信すると、肯定応答送信フレームカウンタの値を更新して「4」にする。 When the wireless communication unit 21 transmits an acknowledgment, the management unit 22A updates the value of the acknowledgment transmission frame counter to "4".

制御部22は、判定部22Bによって無線通信部21が第1データフレーム及び第2データフレームを正常に受信したと判定された場合にのみ、第1データフレーム及び第2データフレームの受信を正規のデータ受信として処理する。例えば、制御部22は、判定部22Bによって無線通信部21が第1データフレーム及び第2データフレームを正常に受信したと判定された場合にのみ、無線受信機2にアクセス可能なデバイス(例えば無線受信機2にアクセス可能なマイクロコンピュータ等)にデータ受信通知を出力する。ただし、第1データフレームまたは第2データフレームが破棄されている場合には、制御部22は、第1データフレーム及び第2データフレームの受信を正規のデータ受信として処理しない。 Only when the determination unit 22B determines that the wireless communication unit 21 has normally received the first data frame and the second data frame, the control unit 22 allows the reception of the first data frame and the second data frame to be performed normally. Process as data reception. For example, the control unit 22 controls a device (for example, a wireless A data reception notification is output to a microcomputer or the like accessible to the receiver 2 . However, if the first data frame or the second data frame is discarded, the control unit 22 does not treat the reception of the first data frame and the second data frame as normal data reception.

第2データフレームの送信後に無線通信部11が肯定応答を受信すると、制御部12は、無線送信機1にアクセス可能なデバイス(例えば無線送信機1にアクセス可能なマイクロコンピュータ等)に送信成功通知を出力する。 When the wireless communication unit 11 receives an acknowledgment after transmitting the second data frame, the control unit 12 sends a transmission success notification to a device that can access the wireless transmitter 1 (for example, a microcomputer that can access the wireless transmitter 1). to output

<データフレームの構成例>
図7は、データフレームの構成例を示す概念図である。データフレームは、先頭から順にヘッダP1、ペイロード部P2、乱数P3、送信フレームカウンタP4、及び認証コードP5が並ぶ構成である。なお、図7に示す構成例とは異なる構成として、例えば、(1)乱数部を設けない構成、(2)送信フレームカウンタがヘッダとペイロード部との間に位置する構成、(3)送信フレームカウンタがヘッダに含まれる構成、(4)上記(1)~(3)の少なくとも2つを組み合わせた構成、が考えられる。
<Configuration example of data frame>
FIG. 7 is a conceptual diagram showing a configuration example of a data frame. The data frame has a structure in which a header P1, a payload part P2, a random number P3, a transmission frame counter P4, and an authentication code P5 are arranged in order from the top. Configurations different from the configuration example shown in FIG. 7 include, for example, (1) a configuration without a random number section, (2) a configuration in which a transmission frame counter is located between the header and the payload section, and (3) a transmission frame A configuration in which the counter is included in the header, and (4) a configuration in which at least two of the above (1) to (3) are combined are conceivable.

図7に示す構成例では、認証コードP5はCMACである。認証コードP5は、ヘッダP1、ペイロード部P2、乱数P3、及び送信フレームカウンタP4と制御部12が記憶しているセキュリティ鍵とを用いてAES-CMAC(Advanced Encryption Standard Cipher-based Message Authentication Code)によって算出される。なお、本実施形態とは異なり、AES-CMAC以外のアルゴリムによって認証コードが算出されてもよい。AES-CMAC以外のアルゴリムとしては、例えばCBC-MAC(Cipher Block Chaining Message Authentication Code)などが挙げられる。また、本実施形態とは異なり、ヘッダ以降の一部または全部を別のセキュリティ鍵を用いて暗号化する、任意の系列との排他的論理和を取るなどの手法により、スクランブル処理がなされてもよい。 In the configuration example shown in FIG. 7, the authentication code P5 is CMAC. The authentication code P5 is generated by AES-CMAC (Advanced Encryption Standard Cipher-based Message Authentication Code) using the header P1, the payload part P2, the random number P3, the transmission frame counter P4, and the security key stored in the control unit 12. Calculated. Note that, unlike the present embodiment, the authentication code may be calculated by an algorithm other than AES-CMAC. Algorithms other than AES-CMAC include, for example, CBC-MAC (Cipher Block Chaining Message Authentication Code). Also, unlike the present embodiment, even if the scrambling process is performed by a method such as encrypting part or all of the header and subsequent parts using another security key, or taking an exclusive OR with an arbitrary sequence. good.

第1データフレームのペイロード部P2及び第2データフレームのペイロード部P2のいずれか一方をダミーデータにしてもよい。ダミーデータは乱数を含むことが望ましい。ダミーデータに乱数を含めることで、ダミーデータを用いて算出される認証コードP5のセキュリティレベルを高めることができる。 Either one of the payload portion P2 of the first data frame and the payload portion P2 of the second data frame may be dummy data. Dummy data preferably contains random numbers. By including random numbers in the dummy data, the security level of the authentication code P5 calculated using the dummy data can be increased.

また、無線送信機1から無線受信機2に送信するデータを前半分割データと後半分割データの2つに分け、第1データフレームのペイロード部P2を前半分割データにし第2データフレームのペイロード部P2を後半分割データにしてもよい。 Further, the data to be transmitted from the radio transmitter 1 to the radio receiver 2 is divided into the first half divided data and the second half divided data, and the payload part P2 of the first data frame is replaced with the first half divided data. may be used as the second half divided data.

また、第1データフレームのペイロード部P2及び第2データフレームのペイロード部P2を同一データにしてもよい。この場合、認証コードP5のセキュリティレベルは低くなるが、無線送信機1の処理負荷を軽くすることができる。 Also, the payload part P2 of the first data frame and the payload part P2 of the second data frame may be the same data. In this case, although the security level of the authentication code P5 is lowered, the processing load on the wireless transmitter 1 can be reduced.

なお、第1データフレームの乱数P3と第2データフレームの乱数P3とを同一にするのではなく、第2データフレームの生成時に乱数P3を再生成することで、第2データフレームの認証コードP5のセキュリティレベルを高めることができる。 Instead of making the random number P3 of the first data frame and the random number P3 of the second data frame the same, by regenerating the random number P3 when generating the second data frame, the authentication code P5 of the second data frame security level can be increased.

<第2実施形態における第1データフレームに応じた肯定応答の構成例>
図8は、第2実施形態における第1データフレームに応じた肯定応答の構成例を示す概念図である。第2実施形態における第1データフレームに応じた肯定応答は、先頭から順にヘッダP11、ペイロード部P12、肯定応答送信フレームカウンタP13、及び認証コードP14が並ぶ構成である。なお、図8に示す構成例とは異なる構成として、例えば、(1)肯定応答送信フレームカウンタがヘッダとペイロード部との間に位置する構成、(2)肯定応答送信フレームカウンタがヘッダに含まれる構成、(3)上記(1)~(2)を組み合わせた構成、が考えられる。
<Configuration example of acknowledgment corresponding to first data frame in second embodiment>
FIG. 8 is a conceptual diagram showing a configuration example of an acknowledgment according to the first data frame in the second embodiment. The acknowledgment corresponding to the first data frame in the second embodiment has a header P11, a payload part P12, an acknowledgment transmission frame counter P13, and an authentication code P14 arranged in order from the beginning. Note that, as a configuration different from the configuration example shown in FIG. 8, for example, (1) a configuration in which the acknowledgment transmission frame counter is located between the header and the payload section, and (2) the acknowledgment transmission frame counter is included in the header. and (3) a combination of the above (1) and (2).

図8に示す構成例では、認証コードP14はCMACである。認証コードP14は、ヘッダP11、ペイロード部P12、及び肯定応答送信フレームカウンタP13と制御部22が記憶しているセキュリティ鍵とを用いてAES-CMACによって算出される。 In the configuration example shown in FIG. 8, the authentication code P14 is CMAC. The authentication code P14 is calculated by AES-CMAC using the header P11, the payload part P12, the acknowledgment transmission frame counter P13, and the security key stored in the controller 22. FIG.

第1データフレームの認証コードをペイロード部P12に含めることが望ましい。これにより、第2実施形態において、無線送信機1が第1データフレームに応じた肯定応答を受信したときに、ペイロード部P12に含まれる認証コードが第1データフレームの認証コードと一致する否かを確認することができる。この確認により、第1データフレームに応じた肯定応答が本当に第1データフレームに対応していることを保証することができるので、第1データフレームに応じた肯定応答のセキュリティレベルを高めることができる。 It is desirable to include the authentication code of the first data frame in the payload portion P12. Thus, in the second embodiment, when the radio transmitter 1 receives an acknowledgment corresponding to the first data frame, whether or not the authentication code included in the payload part P12 matches the authentication code of the first data frame. can be confirmed. This confirmation can ensure that the acknowledgment corresponding to the first data frame really corresponds to the first data frame, thus increasing the security level of the acknowledgment corresponding to the first data frame. .

<データフレームを分割して送信する場合>
図9及び図10は、データフレームを分割して送信する場合の通信シーケンスの概略を説明するための図である。例えばデータフレームに含まれるペイロード部のサイズが大きい場合、無線送信部1はデータフレームを分割して送信する。
<When dividing the data frame for transmission>
9 and 10 are diagrams for explaining an outline of a communication sequence when a data frame is divided and transmitted. For example, when the size of the payload portion included in the data frame is large, the wireless transmission unit 1 divides the data frame and transmits the data frame.

図9及び図10は、第2実施形態において第1データフレームを2つの分割データ(図中の“第1DF-1”及び第1DF-2”)に分割した場合を示している。 9 and 10 show a case where the first data frame is divided into two pieces of divided data ("first DF-1" and "first DF-2" in the figures) in the second embodiment.

図9は、第1データフレームを単純に2つの分割データに分割した場合を示している。この場合、判定部22Bは、2つの分割データが揃った時点で無線通信部21が第1データフレームを正常に受信したか否かを判定する。 FIG. 9 shows a case where the first data frame is simply divided into two pieces of divided data. In this case, the determination unit 22B determines whether or not the wireless communication unit 21 has normally received the first data frame when the two pieces of divided data are complete.

図10は、第1データフレームのペイロード部を2つに分割して、2つの分割データにそれぞれ割り振り、2つの分割データそれぞれにヘッダ、乱数、送信フレームカウンタ、及び認証コードが含まれるようにした場合を示している。この場合、判定部22Bは、分割データを受信する度に無線通信部21が第1データフレームを正常に受信したか否かを判定する。 In FIG. 10, the payload part of the first data frame is divided into two, each allocated to two divided data, and each of the two divided data contains a header, a random number, a transmission frame counter, and an authentication code. indicates the case. In this case, the determination unit 22B determines whether or not the wireless communication unit 21 has normally received the first data frame each time it receives the divided data.

<肯定応答未受信時にデータフレームを再送する場合>
図11は、肯定応答未受信時にデータフレームを再送する場合の通信シーケンスの概略を説明するための図である。
<When retransmitting a data frame when no acknowledgment is received>
FIG. 11 is a diagram for explaining an outline of a communication sequence when retransmitting a data frame when an acknowledgment has not been received.

図11は、第2実施形態において、第1データフレームに応じた肯定応答が無線送信機1に届かず無線送信機1が第1データフレームを再送し、第1データフレームに応じた肯定応答が2度目には無線送信機1に届き、第2データフレームに応じた肯定応答が無線送信機1に届かず無線送信機1が第2データフレームを再送し、第2データフレームに応じた肯定応答が2度目には無線送信機1に届いた場合を示している。 FIG. 11 shows that in the second embodiment, the acknowledgment corresponding to the first data frame does not reach the wireless transmitter 1, and the wireless transmitter 1 retransmits the first data frame, and the acknowledgment corresponding to the first data frame is The second time it reaches the wireless transmitter 1, the acknowledgment corresponding to the second data frame does not reach the wireless transmitter 1, the wireless transmitter 1 retransmits the second data frame, and the acknowledgment corresponding to the second data frame reaches the radio transmitter 1 for the second time.

無線送信機1がデータフレームを再送する場合には、過去に送信して肯定応答が得られなかったデータフレームと同一のものを再送してもよく、過去に送信して肯定応答が得られなかったデータフレームに対して送信フレームカウンタが更新されたものを送信してもよい。 When the wireless transmitter 1 retransmits a data frame, it may retransmit the same data frame that was transmitted in the past and did not receive an acknowledgment. A data frame with an updated transmission frame counter may be transmitted.

<適用例>
無線送信機1及び無線受信機2は種々の製品に搭載することができる。
<Application example>
The radio transmitter 1 and radio receiver 2 can be installed in various products.

例えば、図12(a)に示すスマートロックX1に無線受信機2を搭載し、スマートロックX1を制御する制御装置に無線送信機1を搭載することができる。スマートメータX1の設置場所は特に限定されないが、例えば図12(a)に示すように家屋の玄関ドアY1等に設置される。 For example, the wireless receiver 2 can be mounted on the smart lock X1 shown in FIG. 12(a), and the wireless transmitter 1 can be mounted on the control device that controls the smart lock X1. Although the installation location of the smart meter X1 is not particularly limited, it is installed, for example, at the entrance door Y1 of the house as shown in FIG. 12(a).

例えば、図12(b)に示す警報器X2に無線受信機2を搭載し、警報器X2を制御する制御装置に無線送信機1を搭載することができる。警報器X2は、異常を検知するセンサY2と、警報音や警報メッセージを出力するスピーカY3と、を備える。 For example, the wireless receiver 2 can be mounted on the alarm X2 shown in FIG. 12(b), and the wireless transmitter 1 can be mounted on the control device that controls the alarm X2. The alarm X2 includes a sensor Y2 that detects an abnormality, and a speaker Y3 that outputs alarm sounds and alarm messages.

例えば、図12(c)に示すスマートメータX3に無線受信機2を搭載し、スマートメータX3を制御する制御装置に無線送信機1を搭載することができる。スマートメータX3は計量結果を表示する表示部Y4を備える。スマートメータX3の計量対象は特に限定されないが、例えば電力使用量、ガス使用量等を挙げることができる。なお、図12(c)に示す外観例とは異なり、ユニット化された無線受信機2をメータ本体に外付けで取り付けることで、スマートメータを実現してもよい。 For example, the wireless receiver 2 can be mounted on the smart meter X3 shown in FIG. 12(c), and the wireless transmitter 1 can be mounted on the control device that controls the smart meter X3. The smart meter X3 has a display section Y4 that displays the weighing result. Although the measurement target of the smart meter X3 is not particularly limited, for example, electricity usage, gas usage, and the like can be mentioned. Note that unlike the appearance example shown in FIG. 12(c), a smart meter may be realized by externally attaching the unitized wireless receiver 2 to the meter main body.

<その他>
本明細書中に開示されている種々の技術的特徴は、上記実施形態のほか、その技術的創作の主旨を逸脱しない範囲で種々の変更を加えることが可能である。すなわち、上記実施形態は、全ての点で例示であって制限的なものではないと考えられるべきであり、本発明の技術的範囲は、上記実施形態に限定されるものではなく、特許請求の範囲と均等の意味及び範囲内に属する全ての変更が含まれると理解されるべきである。
<Others>
Various modifications can be made to the various technical features disclosed in this specification without departing from the gist of the technical creation in addition to the above-described embodiments. That is, the above-described embodiments should be considered as examples and not restrictive in all respects, and the technical scope of the present invention is not limited to the above-described embodiments. It is to be understood that a range and equivalents are meant to include all changes that fall within the range.

例えば、無線送信機1を、無線受信機2と同様の機能も有する無線送受信機(第1無線送受信機)とし、無線受信機2を、無線送信機1と同様の機能も有する無線送受信機(第2無線送受信機)としてもよい。 For example, the radio transmitter 1 is a radio transceiver (first radio transceiver) that also has the same function as the radio receiver 2, and the radio receiver 2 is a radio transceiver that also has the same function as the radio transmitter 1 ( second radio transmitter/receiver).

第1無線送受信機は、送信カウンタと肯定応答送信カウンタとを区別して管理してもよく、送信カウンタと肯定応答送信カウンタとを区別せず纏めて管理してよい。また、第1無線送受信機は、受信カウンタと肯定応答受信カウンタとを区別して管理してもよく、受信カウンタと肯定応答受信カウンタとを区別せず纏めて管理してよい。 The first wireless transceiver may separately manage the transmission counter and the acknowledgment transmission counter, or may collectively manage the transmission counter and the acknowledgment transmission counter without distinction. Also, the first wireless transceiver may manage the reception counter and the acknowledgment reception counter separately, or may collectively manage the reception counter and the acknowledgment reception counter without distinguishing between them.

同様に第2無線送受信機は、送信カウンタと肯定応答送信カウンタとを区別して管理してもよく、送信カウンタと肯定応答送信カウンタとを区別せず纏めて管理してよい。また、第2無線送受信機は、受信カウンタと肯定応答受信カウンタとを区別して管理してもよく、受信カウンタと肯定応答受信カウンタとを区別せず纏めて管理してよい。 Similarly, the second wireless transceiver may separately manage the transmission counter and the acknowledgment transmission counter, or may collectively manage the transmission counter and the acknowledgment transmission counter without distinction. Also, the second radio transceiver may manage the reception counter and the acknowledgment reception counter separately, or may collectively manage the reception counter and the acknowledgment reception counter without distinguishing between them.

上述した第1無線送受信機が適用される製品は特に限定されないが、例えば、機密性の高いデータを送受信する製品に好適である。機密性の高いデータを送受信する製品として、例えばスマートロック、スマートメータ等が挙げられる。 Products to which the above-described first wireless transmitter/receiver is applied are not particularly limited, but are suitable for products that transmit and receive highly confidential data, for example. Examples of products that send and receive highly confidential data include smart locks and smart meters.

1 無線送信機
2 無線受信機
11、21 無線通信部
12、22 制御部
12A、22A 管理部
12B データフレーム生成部
12C、22C 確認部
12D 肯定応答判定部
22B 判定部
SYS1、SYS2 無線通信システム
X1 スマートロック
X2 警報器
X3 スマートメータ
1 wireless transmitter 2 wireless receiver 11, 21 wireless communication unit 12, 22 control unit 12A, 22A management unit 12B data frame generation unit 12C, 22C confirmation unit 12D acknowledgment determination unit 22B determination unit SYS1, SYS2 wireless communication system X1 smart Lock X2 Alarm X3 Smart meter

Claims (12)

送信フレームカウンタを管理する第1管理部と、
前記送信フレームカウンタを含む第1データフレームを無線受信機に送信する第1無線通信部と、
肯定応答判定部と、を備え、
前記第1無線通信部は、前記第1データフレームに応じて前記無線受信機から返信される肯定応答を受信すると、前記送信フレームカウンタを含む第2データフレームを前記無線受信機に送信し、
前記第1管理部は、前記第1データフレームに含まれる前記送信フレームカウンタの値と前記第2データフレームに含まれる前記送信フレームカウンタの値とを異なる値にし、
前記送信フレームカウンタは更新時に常にインクリメント又は常にデクリメントされ、
前記第1管理部は、肯定応答受信フレームカウンタを管理し、
前記肯定応答判定部は、前記肯定応答に含まれる肯定応答送信フレームカウンタと前記肯定応答受信フレームカウンタとの大小関係に基づき前記第1無線通信部が前記肯定応答を正常に受信したか否かを判定する、無線送信機。
a first management unit that manages a transmission frame counter;
a first wireless communication unit that transmits a first data frame including the transmission frame counter to a wireless receiver;
an acknowledgment determination unit ;
When the first wireless communication unit receives an acknowledgment returned from the wireless receiver in response to the first data frame, the first wireless communication unit transmits a second data frame including the transmission frame counter to the wireless receiver,
The first management unit sets the value of the transmission frame counter included in the first data frame and the value of the transmission frame counter included in the second data frame to different values ,
the transmitted frame counter is always incremented or always decremented when updated;
The first management unit manages an acknowledgment received frame counter,
The acknowledgment determination unit determines whether or not the first wireless communication unit has normally received the acknowledgment based on the magnitude relationship between the acknowledgment transmission frame counter and the acknowledgment reception frame counter included in the acknowledgment. Judging, radio transmitter.
前記第1データフレームのペイロード部及び前記第2データフレームのペイロード部のいずれか一方は、ダミーデータである、請求項1に記載の無線送信機。 2. The wireless transmitter of claim 1, wherein one of the payload portion of the first data frame and the payload portion of the second data frame is dummy data. 前記第1データフレームのペイロード部は前半分割データであり、前記第2データフレームのペイロード部は後半分割データである、請求項1に記載の無線送信機。 2. The radio transmitter according to claim 1, wherein the payload portion of said first data frame is first half divided data, and the payload portion of said second data frame is second half divided data. 前記第1データフレームのペイロード部及び前記第2データフレームのペイロード部は同一データである、請求項1に記載の無線送信機。 2. The wireless transmitter of claim 1, wherein the payload portion of the first data frame and the payload portion of the second data frame are the same data. 前記肯定応答に含まれる認証コードを確認する確認部を備え、
前記第1無線通信部は、前記肯定応答を受信すると、前記第2データフレームを前記無線受信機に送信する、請求項1~4のいずれか一項に記載の無線送信機。
A confirmation unit for confirming the authentication code included in the acknowledgment,
The wireless transmitter according to any one of claims 1 to 4, wherein said first wireless communication unit, upon receiving said acknowledgment, transmits said second data frame to said wireless receiver.
受信フレームカウンタを管理する第2管理部と、
第1データフレーム及び第2データフレームを受信する第2無線通信部と、
前記第1データフレームに含まれる送信フレームカウンタと前記受信フレームカウンタとの大小関係に基づき前記第2無線通信部が前記第1データフレームを正常に受信したか否かを判定する判定部と、を備え、
前記第2管理部は、前記判定部によって前記第2無線通信部が前記第1データフレームを正常に受信したと判定されれば、前記受信フレームカウンタを更新し、
前記第2無線通信部は、前記判定部によって前記第2無線通信部が前記第1データフレームを正常に受信したと判定されれば、肯定応答を送信し、
前記判定部は、前記第2データフレームに含まれる更新後の前記送信フレームカウンタと更新後の前記受信フレームカウンタとの大小関係に基づき前記第2無線通信部が前記第2データフレームを正常に受信したか否かを判定し、
前記判定部によって前記第2無線通信部が前記第1データフレーム及び前記第2データフレームを正常に受信したと判定された場合にのみ、前記第1データフレーム及び前記第2データフレームの受信を正規のデータ受信として処理し、
前記第2管理部は、肯定応答送信フレームカウンタを管理し、
前記肯定応答は前記肯定応答送信フレームカウンタを含み、
前記第2管理部は、前記第2無線通信部が肯定応答を送信すると、前記肯定応答送信フレームカウンタを更新する、無線受信機。
a second management unit that manages a received frame counter;
a second wireless communication unit that receives the first data frame and the second data frame;
a determination unit that determines whether or not the second wireless communication unit has normally received the first data frame based on the magnitude relationship between the transmission frame counter and the reception frame counter included in the first data frame; prepared,
If the determination unit determines that the second wireless communication unit has successfully received the first data frame, the second management unit updates the received frame counter,
the second wireless communication unit, if the determination unit determines that the second wireless communication unit has successfully received the first data frame, transmits an acknowledgment;
The determination unit determines whether the second wireless communication unit normally receives the second data frame based on a magnitude relationship between the updated transmission frame counter and the updated reception frame counter included in the second data frame. determine whether or not
normal reception of the first data frame and the second data frame only when the determination unit determines that the second wireless communication unit has normally received the first data frame and the second data frame; processed as data reception of
The second management unit manages an acknowledgment transmission frame counter,
the acknowledgment includes the acknowledgment transmission frame counter;
The wireless receiver, wherein the second management unit updates the acknowledgment transmission frame counter when the second wireless communication unit transmits an acknowledgment.
前記肯定応答は認証コードを含む、請求項に記載の無線受信機。 7. The wireless receiver of Claim 6 , wherein said acknowledgment includes an authentication code. 前記第1データフレームに含まれる認証コードを前記肯定応答のペイロード部に含める、請求項または請求項に記載の無線受信機。 8. A radio receiver according to claim 6 or 7 , wherein the authentication code contained in said first data frame is included in the payload portion of said acknowledgment. 請求項1~のいずれか一項に記載の無線送信機と、
請求項6~8のいずれか一項に記載の無線受信機と、を備える、無線通信システム。
a radio transmitter according to any one of claims 1 to 5 ;
A radio communication system comprising a radio receiver according to any one of claims 6 to 8 .
請求項のいずれか一項に記載の無線受信機を備える、スマートロック。 A smart lock comprising a wireless receiver according to any one of claims 6-8 . 請求項のいずれか一項に記載の無線受信機を備える、警報器。 An alarm comprising the radio receiver according to any one of claims 6-8 . 請求項のいずれか一項に記載の無線受信機を備える、スマートメータ。 A smart meter comprising the wireless receiver according to any one of claims 6 to 8 .
JP2019098487A 2019-05-27 2019-05-27 wireless communication system Active JP7252829B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019098487A JP7252829B2 (en) 2019-05-27 2019-05-27 wireless communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019098487A JP7252829B2 (en) 2019-05-27 2019-05-27 wireless communication system

Publications (2)

Publication Number Publication Date
JP2020195025A JP2020195025A (en) 2020-12-03
JP7252829B2 true JP7252829B2 (en) 2023-04-05

Family

ID=73546615

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019098487A Active JP7252829B2 (en) 2019-05-27 2019-05-27 wireless communication system

Country Status (1)

Country Link
JP (1) JP7252829B2 (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003110554A (en) 2001-10-01 2003-04-11 Denso Corp On-vehicle receiver and wireless system for vehicle
JP2008022214A (en) 2006-07-12 2008-01-31 Matsushita Electric Ind Co Ltd Communicating system, wireless alarm apparatus, and its program
JP2009232110A (en) 2008-03-21 2009-10-08 Fujitsu Ltd Communication monitor device, communication monitor program, and communication monitor method
JP2010212793A (en) 2009-03-06 2010-09-24 Brother Ind Ltd Terminal device, and computer program
JP2011097388A (en) 2009-10-30 2011-05-12 Japan Radio Co Ltd Wireless communication system
JP2013176011A (en) 2012-02-27 2013-09-05 Toshiba Corp Communication device, communication method and communication program
WO2014147934A1 (en) 2013-03-21 2014-09-25 パナソニック株式会社 Communication device, communication system and communication method
JP2015159459A (en) 2014-02-25 2015-09-03 沖電気工業株式会社 Communication device, communication system, and communication method

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003110554A (en) 2001-10-01 2003-04-11 Denso Corp On-vehicle receiver and wireless system for vehicle
JP2008022214A (en) 2006-07-12 2008-01-31 Matsushita Electric Ind Co Ltd Communicating system, wireless alarm apparatus, and its program
JP2009232110A (en) 2008-03-21 2009-10-08 Fujitsu Ltd Communication monitor device, communication monitor program, and communication monitor method
JP2010212793A (en) 2009-03-06 2010-09-24 Brother Ind Ltd Terminal device, and computer program
JP2011097388A (en) 2009-10-30 2011-05-12 Japan Radio Co Ltd Wireless communication system
JP2013176011A (en) 2012-02-27 2013-09-05 Toshiba Corp Communication device, communication method and communication program
WO2014147934A1 (en) 2013-03-21 2014-09-25 パナソニック株式会社 Communication device, communication system and communication method
JP2015159459A (en) 2014-02-25 2015-09-03 沖電気工業株式会社 Communication device, communication system, and communication method

Also Published As

Publication number Publication date
JP2020195025A (en) 2020-12-03

Similar Documents

Publication Publication Date Title
Seshadri et al. SAKE: Software attestation for key establishment in sensor networks
EP0651533B1 (en) Method and apparatus for privacy and authentication in a mobile wireless network
CN106656510B (en) A kind of encryption key acquisition methods and system
CN109981639B (en) Block chain based distributed trusted network connection method
Lu et al. LEAP: A lightweight encryption and authentication protocol for in-vehicle communications
EP2453606A1 (en) Secured Acknowledge Protocol for Automotive Remote Keyless Entry Systems and for Networked Sensor Devices
EP1639777A2 (en) Secure two-message synchronization in wireless networks
CN100571124C (en) Prevent the method for Replay Attack and guarantee the unduplicated method of message SN
WO2007059558A1 (en) Wireless protocol for privacy and authentication
CN101626373B (en) Method, device and system for message processing of ultra wide band system
CN101931536B (en) Method for encrypting and authenticating efficient data without authentication center
KR101675332B1 (en) Data commincaiton method for vehicle, Electronic Control Unit and system thereof
JP2010050958A (en) Transmitting terminal, receiving terminal, communicating terminal, and information distributing system
CN110020524A (en) A kind of mutual authentication method based on smart card
KR20140023799A (en) Method for guarantying the confidentiality and integrity of a data in controller area networks
Seshadri et al. SAKE: Software attestation for key establishment in sensor networks
KR20100072105A (en) A wapi unicast secret key negotiation method
Daily et al. Securing CAN traffic on J1939 networks
AU2010284792B2 (en) Method and apparatus for reducing overhead for integrity check of data in wireless communication system
JP2011504025A (en) Key management method
JP7252829B2 (en) wireless communication system
KR20170032210A (en) Data commincaiton method for vehicle, Electronic Control Unit and system thereof
Malekzadeh et al. Security improvement for management frames in IEEE 802.11 wireless networks
CN107466466B (en) Secure communication method, controlled device and equipment, remote control device and equipment
Eren Wimax security architecture-analysis and assessment

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20220422

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20221115

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20221227

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20230324

R150 Certificate of patent or registration of utility model

Ref document number: 7252829

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150