Transmitting device and transmitting method, and receiving device and receiving method
By using timing information to generate a key stream in LPWA communication for stream encryption and waveform signal processing, combined with CMAC, the issues of low power consumption and attack resistance are solved, and the confidentiality and resistance of communication are improved.
Patent Information
- Application Number
- CN201980059977.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2018-09-28
- Filing Date
- 2019-09-06
- Publication Date
- 2024-09-24
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
In low-power wide-area (LPWA) communication, when using encryption methods, the processing load and power consumption of IoT terminals increase, and it is difficult to effectively deal with replay attacks and tampering attacks, especially when using waveform synthesis technology, traditional cryptographic messages The authentication code (CMAC) method cannot protect against replay attacks.
Stream encryption is performed by generating a key stream using information that depends on timing, converting the transmitted data into encrypted data, and generating a waveform signal through modulation. The receiving end utilizes the same key stream to invert the waveform polarity to decode the data, combined with CMAC Defend against tampering attacks and defend against replay attacks by repeatedly sending waveform signals of different frequencies.
It improves the confidentiality and resistance of LPWA communication, reduces the power consumption of IoT terminals, enhances defense capabilities against replay and tampering attacks, and improves demodulation/decoding performance.
Smart Images

Figure CN112689972B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a transmitting device and a transmitting method, and a receiving device and a receiving method, and more particularly to a transmitting device and a transmitting method, and a receiving device and a receiving method capable of improving confidentiality and communication resistance in low power wide area (LPWA) communication. Background Art
[0002] A communication technology using low power wide area (LPWA) communication has been proposed (see Patent Document 1).
[0003] LPWA communication is a type of communication that sends and receives a small amount of payload data (approximately 100 bits) in one direction from an IoT terminal (sending device) to an IoT gateway (receiving device) at a low bit rate, so communication with low power consumption can be achieved in the IoT terminal (sender) performing LPWA communication.
[0004] Citation List
[0005] Patent Literature
[0006] Patent Document 1: Japanese Patent No. 6259550 Summary of the invention
[0007] Problems to be solved by the present invention
[0008] However, in the above-mentioned LPWA communication, when an encryption method using arithmetic processing for solving complex mathematical problems is used in order to achieve high security, the processing load increases in the IoT terminal requiring low power consumption, and power consumption increases.
[0009] Furthermore, from the viewpoint of multi-layered defense, confidentiality can be further improved when encryption in the physical layer is introduced to be combined with encryption processing in a layer above the physical layer.
[0010] In particular, in wireless, a method of improving demodulation capability by using a waveform synthesis method such as maximum ratio synthesis and selective synthesis in a physical layer is used.
[0011] In this case, in order to synthesize the waveform, it is necessary to have the same wireless waveform or a waveform that can be easily converted into the same waveform.
[0012] In the case of using the same wireless waveform, since a replay attack is possible to attack the IoT gateway (receiving device) by capturing and retransmitting the wireless waveform, measures need to be taken to counter the replay attack.
[0013] Furthermore, in a format configured only by a linear code, it is necessary to take measures against tampering by bit inversion or the like, and measures such as a cipher-based message authentication code (cipher-based MAC: CMAC) or the like are generally adopted.
[0014] However, in the case of using waveform synthesis technology to improve wireless demodulation / decoding performance, it is not possible to adopt a method of countering replay attacks by changing the CMAC value at each transmission.
[0015] The present disclosure has been made in view of such circumstances, and in particular, the present disclosure aims to improve confidentiality and communication resistance in LPWA communications.
[0016] Solution to the problem
[0017] A sending device according to a first aspect of the present disclosure includes: a key stream generating unit that generates a key stream by using information that differs depending on timing as an initial value; an encryption unit that converts sending data into encrypted data by using the key stream; and a sending unit that sends a waveform signal obtained by modulating the encrypted data.
[0018] The sending method of the first aspect of the present disclosure corresponds to the configuration of the sending device.
[0019] In the first aspect of the present disclosure, a key stream is generated by using information that differs depending on timing as an initial value, transmission data is converted into encrypted data by using the key stream, and a waveform signal obtained by modulating the encrypted data is transmitted.
[0020] A receiving device according to a second aspect of the present disclosure includes: a receiving unit that receives a waveform signal transmitted from a transmitting device and obtained by modulating encrypted data obtained by encrypting the transmitted data by a key stream generated by using information that differs depending on timing as an initial value; a key stream generating unit that generates a key stream by using information that differs depending on timing as an initial value; a polarity inversion unit that inverts the polarity of a waveform of the waveform signal by the key stream; and a decoding unit that decodes the transmitted data based on the polarity-inverted waveform signal.
[0021] The receiving method of the second aspect of the present disclosure corresponds to the configuration of the receiving device.
[0022] In a second aspect of the present disclosure, a waveform signal is received which is sent from a transmitting device and is obtained by modulating encrypted data, the encrypted data being obtained by encrypting the transmitted data by a key stream generated by using information which differs depending on timing as an initial value, a key stream is generated by using information which differs depending on timing as an initial value, the polarity of a waveform of the waveform signal is reversed by the key stream, and the transmitted data is decoded based on the waveform signal with the polarity reversed. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] Figure 1 is a diagram illustrating an overview of a one-way communication system using LPWA communication.
[0024] Figure 2 It is a graphic Figure 1 A diagram of a configuration of a key stream generator in an encoding unit and a decoding unit.
[0025] Figure 3 is a diagram illustrating the influence of bit inversion caused by noise in block coding.
[0026] Figure 4 is a diagram illustrating the influence of bit reversal caused by noise in stream coding.
[0027] Figure 5 is a diagram illustrating a replay attack and a tampering attack.
[0028] Figure 6 is a diagram illustrating a tampering attack.
[0029] Figure 7 is a diagram illustrating a configuration example of a communication system of the present disclosure.
[0030] Figure 8 It is a graphic Figure 7 A diagram of an example configuration of a sending device.
[0031] Fig. 9 It is a graphic Figure 7 A diagram of an example configuration of a receiving device.
[0032] Fig.10 It is a graphic Figure 7 Diagram of the operation of a communication system.
[0033] Fig.11 is a diagram illustrating encryption and decryption operations in a general stream cipher.
[0034] Fig.12 It is a graphic Figure 7 A diagram of the operation of a polarity reversal unit in a receiving device.
[0035] Fig.13 It is shown in Figure 7FIG. 1 is a diagram of a waveform synthesis method for LPWA communication in a communication system.
[0036] Fig.14 The diagram is Figure 7 A flowchart of an example of a transmission process of a transmission device.
[0037] Fig.15 The diagram is Figure 7 A flowchart of an example of a reception process of a receiving device.
[0038] Fig.16 is a diagram illustrating a configuration example of a key stream generator.
[0039] Fig.17 is a diagram illustrating a configuration example of a general-purpose personal computer. DETAILED DESCRIPTION
[0040] Preferred embodiments of the present disclosure will be described in detail below with reference to the accompanying drawings. Note that in this specification and the drawings, components having substantially the same functional configuration are denoted by the same reference numerals to omit repeated descriptions.
[0041] Hereinafter, a mode for carrying out the present technology will be described. The description will be given in the following order.
[0042] 1. Overview of communication system using LPWA communication
[0043] 2. Embodiments of the present disclosure
[0044] 3. Application Examples
[0045] 4. Example of execution through software
[0046] <<1. Overview of One-Way Communication System Using LPWA Communication>>
[0047] Will refer to Figure 1 An overview of a one-way communication system using low power wide area (LPWA) communication is described.
[0048] Figure 1 A communication system 1 using LPWA communication is configured by Internet of Things (IoT) terminals 11 - 1 to 11 - n , IoT gateways 12 - 1 to 12 - m , and a cloud server 13 .
[0049] Note that, in the case where the IoT terminal and the IoT gateway do not need to be distinguished from each other, the IoT terminals 11 - 1 to 11 - n and the IoT gateways 12 - 1 to 12 - m are simply referred to as the IoT terminal 11 and the IoT gateway 12 , and other configurations are similarly referred to.
[0050] The IoT terminal 11 is arranged together with various sensors not shown set in various environments or owned by a predetermined user, etc. The IoT terminal acquires sensor data detected by a sensor (not shown) in each environment and sends the sensor data to the cloud server 13 via the IoT gateway 12.
[0051] The operation of the IoT gateway 12 is controlled by the cloud server 13 , and the sensor data transmitted from the IoT terminal 11 is relayed and transmitted to the cloud server 13 .
[0052] The cloud server 13 controls the operation of the IoT gateway 12 , receives sensor data transmitted from the IoT terminal 11 via the IoT gateway 12 , and executes various application programs according to the received sensor data.
[0053] The sensor data is transmitted by LPWA communication in the IoT terminal 11 and the IoT gateway 12. In the LPWA communication, the sensor data is transmitted from the IoT terminal 11 to the IoT gateway 12 in one direction.
[0054] As described above, the IoT terminal 11 only needs to send the sensor data as a small amount of payload data to the IoT gateway 12 in one direction, so communication with low power consumption can be achieved.
[0055] More specifically, the IoT terminal 11 includes an encryption unit 31 , an encoding unit 32 , and an LPWA communication unit 33 .
[0056] In the IoT terminal 11 , when the sensor data is transmitted, the encryption unit 31 configures a medium access control (MAC) layer, and the encoding unit 32 and the LPWA communication unit 33 configure a physical (PHY) layer.
[0057] The encryption unit 31 generates a payload of a transmission data sequence based on the sensor data, and also performs a cryptographic message authentication code (cryptographic MAC: CMAC) processing based on the payload to generate a CMAC tag for verifying tampering, and outputs the payload and the CMAC tag to the encoding unit 32.
[0058] The encoding unit 32 creates a plaintext data bit sequence in which an error detection / correction code is added to the payload and the CMAC tag, then converts the plaintext data bit sequence into an encrypted data bit sequence, and transmits the encrypted data bit sequence to the LPWA communication unit 33 .
[0059] The LPWA communication unit 33 modulates the encrypted data bit sequence of the sensor data to generate a transmission frame waveform, and transmits the transmission frame waveform to the IoT gateway 12 through LPWA communication.
[0060] The IoT gateway 12 includes an LPWA communication unit 51 and a decoding unit 52. In the IoT gateway 12, when receiving a transmission frame waveform configured according to sensor data, the LPWA communication unit 51 configures a physical (PHY) layer, and the decoding unit 52 configures a MAC layer.
[0061] The LPWA communication unit 51 receives the transmission frame waveform transmitted by LPWA communication, demodulates the transmission frame waveform into a waveform signal of an encrypted data bit sequence of sensor data transmitted from the IoT terminal 11 , and outputs the waveform signal to the decoding unit 52 .
[0062] The decoding unit 52 decodes the waveform signal of the encrypted data bit sequence into a stream decoded data bit sequence including a payload and a CMAC tag configured according to the sensor data, obtains the CMAC tag based on the payload, determines whether the payload has been tampered with based on comparison with the sent CMAC tag, and sends the sensor data of the payload together with the determination result to the cloud server 13.
[0063] The cloud server 13 controls the operation of the IoT gateway 12 based on sensor data transmitted from the IoT terminal 11 via the IoT gateway 12 and executes various application programs 71 - 1 to 71 - p .
[0064] Note that in Figure 1 , an aspect is implemented in which the application 71 - 1 in the cloud server 13 operates based on sensor data transmitted from the IoT terminal 11 via the IoT gateway 12 , but the other applications 71 also function in a similar manner.
[0065] Here, in Figure 1 In the communication system 1, the communication TRZ11 between the IoT terminal 11 and the IoT gateway 12 is LPWA communication, and is a one-way (unidirectional) communication in which only a transmission frame waveform is transmitted from the IoT terminal 11 to the IoT gateway 12. For this reason, since mutual communication is not possible, the communication TRZ11 between the IoT terminal 11 and the IoT gateway 12 cannot be confirmed by, for example, inquiry and response authentication, and therefore measures against eavesdropping and tampering are required.
[0066] On the other hand, the communication TRZ12 between the IoT gateway 12 and the cloud server 13 is a communication capable of two-way communication, and therefore it is considered that the communication TRZ12 can achieve stronger security than the communication TRZ11.
[0067] Next, we will describe Figure 1 Operation of the communication system 1.
[0068] The encryption unit 31 of the IoT terminal 11 acquires sensor data detected from a sensor (not shown), generates a payload corresponding to the sensor data, performs CAMC processing based on the payload, generates a CMAC tag, and outputs the payload and the CAMC tag to the encoding unit 32.
[0069] The encoding unit 32 converts a plaintext data bit sequence in which an error detection / correction code is added to the payload and the CAMC tag into an encrypted data bit sequence, and outputs the encrypted data bit sequence to the LPWA communication unit 33 .
[0070] The LPWA communication unit 33 generates a transmission frame waveform signal by modulating the encrypted data bit sequence, and transmits the transmission frame waveform signal to the IoT gateway 12 through LPWA communication.
[0071] The LPWA communication unit 51 of the IoT gateway 12 receives the transmission frame waveform signal transmitted through LPWA communication, demodulates the encrypted data bit sequence of the sensor data transmitted from the IoT terminal 11 based on the received transmission frame waveform signal, and outputs the encrypted data bit sequence to the decoding unit 52 .
[0072] The decoding unit 52 decodes the payload and CMAC tag configured according to the sensor data from the encrypted data bit sequence, obtains the CMAC tag based on the payload, determines whether the payload has been tampered with based on comparison with the sent CMAC tag, and sends the sensor data of the payload together with the determination result to the cloud server 13.
[0073] The cloud server 13 controls the operation of the IoT gateway 12 based on sensor data transmitted from the IoT terminal 11 via the IoT gateway 12 and executes various application programs 71 - 1 to 71 - p .
[0074] Through the above series of operations, the sensor data detected by the sensor (not shown) is sent from the IoT terminal 11 to the cloud server 13 via the IoT gateway 12, and the application 71 managed by the cloud server 13 can be executed. At this time, the IoT terminal 11 can send the sensor data to the IoT gateway through unidirectional communication through LPWA communication, so communication with low power consumption can be achieved.
[0075] <Method for converting a plaintext data bit sequence including a payload of sensor data and a CMAC tag into an encrypted data bit sequence>
[0076] Next, we will refer to Figure 2 Description by Figure 1 The encoding unit 32 converts a plaintext data bit sequence including a payload of sensor data and a CMAC tag into an encrypted data bit sequence.
[0077] Figure 2 The encoding unit 32 includes a key stream generator 91 and an XOR (exclusive OR) processing unit 92.
[0078] The key stream generator 91 generates a pseudo-random bit sequence (PRBS: pseudo-random binary sequence) as a key stream from initial value data (NONCE: a value used once) and secret key data, and outputs the pseudo-random bit sequence to the XOR processing unit 92 .
[0079] Note that the initial value data (NONCE) is a value that is different every time it is reset and can only be used once.
[0080] The XOR processing unit 92 converts a plaintext data bit sequence including a payload and a CMAC tag into an encrypted data bit sequence by performing a bit-by-bit exclusive OR (XOR) process on the plaintext data bit sequence using a key stream, and outputs the encrypted data bit sequence.
[0081] It is noted that a configuration similar to that of the key stream generator 91 is set even in the decoding unit 52 of the IoT gateway 12, and the decoding unit 52 generates a key stream by using the same initial value data (NONCE: a numerical value used once) and secret key data as those of the key stream generator 91, and decodes the encrypted data bit sequence into a stream-decoded data bit sequence by performing exclusive OR (XOR) processing on the encrypted data bit sequence using the generated key stream.
[0082] <Reasons for using keystream>
[0083] Here, the reason why stream encryption is used when an encrypted data bit sequence is generated in a physical (PHY) layer will be described.
[0084] The types of encryption include block encryption performed in units of a predetermined number of bits (block units) and stream encryption performed in units of an arbitrary number of bits.
[0085] For example, Figure 3 As shown in the upper part of , consider a case in which, instead of the key stream generator 91 and the XOR processing unit 92, the encoding unit 32 includes an encryptor 101 that encrypts in predetermined bit units (block units) and is configured, for example, by an Advanced Encryption Standard (AES) encryptor, and the corresponding decoding unit 52 is provided with a decoder 104 that decodes in block units.
[0086] Note that in Figure 3In the example, the plaintext data bit sequence is converted into an encrypted data bit sequence by the encryptor 101, and the encrypted data bit sequence is modulated into a transmission frame waveform signal by the modulator 102 of the LPWA communication unit 33 to be transmitted to the LPWA communication unit 51 of the IoT gateway 12 via the wireless communication path. In addition, in the LPWA communication unit 51, the demodulator 103 demodulates the transmitted transmission frame waveform signal into an encrypted data bit sequence, and outputs the encrypted data bit sequence to the decoding unit 52.
[0087] In such a case, Figure 3 As shown in the lower part of , consider a case where the secret key is "00112233445566778899aabbccddeeff", the data is "0000000000000000000000000000000000000", and the encrypted data bit sequence is "fde4fbae4a09e020eff722969f83832b". In such a case, similar to the data, the decoded data bit sequence becomes "000000000000000000000000000000000".
[0088] Here, noise is generated on the communication path, which causes, for example, the first bit of the encrypted data bit sequence surrounded by the dotted line to change from "f" (=binary number "1111") to "7" (binary number "0111") due to bit inversion, and the encrypted data bit sequence becomes "7de4fbae4a09e020eff722969f83832b". In such a case, the encrypted data bit sequence becomes "c61abdd4dfa32aa26c2b3ff9933542b1" when converted into a stream decoded data bit sequence.
[0089] That is, in block encryption, the plaintext data bit sequence in the case of being unaffected by noise is "000000000000000000000000000000000", while the first bit of the encrypted data bit sequence is the only bit inverted due to the influence of noise, and the stream decoded data bit sequence is converted into a completely different decoded data bit sequence becoming "c61abdd4dfa32aa26c2b3ff9933542b1". Therefore, error correction becomes difficult in the subsequent stage.
[0090] On the other hand, Figure 4 As shown in the upper part of FIG. , considering a configuration in which each of the encoding unit 32 and the decoding unit 52 is provided with a reference Figure 2 The key stream generator 91 and the XOR processing unit 92 are described.
[0091] Here, for example, consider a case where the secret key is "3d62e9b18e5b042f42df43cc7175c96e", the NONCE value is "777cefe4541300c8adcaca8a0b48cd55", the generated key stream is "690f108d84f44ac7bf257bd7e394f6c9", and the plaintext data bit sequence is "0000000000000000000000000000000000". In this case, when the plaintext data bit sequence is stream encrypted using the key stream, the encrypted data bit sequence becomes "690f108d84f44ac7bf257bd7e394f6c9". Here, in the wireless communication path, for example, due to the influence of noise, the first bit of the encrypted data bit sequence is bit-inverted from "6" (=binary number "0110") to "e" (binary number "1110") as shown surrounded by a dotted line.
[0092] Due to the influence of this noise, the bit-reversed encrypted data bit sequence becomes "e90f108d84f44ac7bf257bd7e394f6c9", and the stream decoded data bit sequence decoded from the encrypted data bit sequence becomes "8000000000000000000000000000000000".
[0093] That is, in the stream encryption, the plaintext data bit sequence is "000000000000000000000000000000000", while the stream decryption output affected by noise is "80000000000000000000000000000000", and only the first character is corrected from "8" to "0".
[0094] When stream ciphering is used for block ciphering in this way, the likelihood of successful error correction increases because the effects of noise-induced errors become localized.
[0095] Therefore, for this reason, Figure 1 In a communication system, it can be considered that using stream encryption has higher fault tolerance than using block encryption.
[0096] <Replay Attack and Tampering Attack>
[0097] In the above-mentioned LPWA communication, there is a possibility of being attacked by a malicious third party.
[0098] For example, consider a situation such as Figure 3 As shown, a transmission frame waveform signal Sign1 is transmitted from the IoT terminal 11 to the IoT gateway 12 through LPWA communication.
[0099] In this case, the communication device 111 operated by a malicious third party intercepts (captures) the transmit frame waveform signal Sign1, copies the captured transmit frame waveform signal to generate the transmit frame waveform signal Sign11, and repeatedly sends the transmit frame waveform signals Sign11-1, Sign11-2, etc. to the IoT gateway 12.
[0100] By such operation, the IoT gateway 12 repeatedly receives the transmission frame waveform signal Sign11 generated by copying the transmission frame waveform signal Sign1, so that it cannot be recognized that the received transmission frame waveform signal is forged, and the processing load increases to cause service failures such as reduced operation speed. In this way, an attack that intercepts a transmission frame waveform signal through a physical (PHY) layer, copies the intercepted transmission frame waveform signal, and repeatedly transmits the intercepted transmission frame waveform signal is called a replay attack.
[0101] Furthermore, the communication device 111 operated by a malicious third party intercepts (captures) the transmission frame waveform signal Sign1, analyzes the format specification, identifies the bit to be inverted, inverts the bit corresponding to the change of the linear code such as CRC, generates the transmission frame waveform signal Sign12 configured by the tampered waveform obtained by inverting the polarity of the waveform portion corresponding to the inverted bit, and transmits the transmission frame waveform signal Sign12. In this way, an attack that generates and transmits a transmission frame waveform signal configured by a tampered waveform obtained by inverting the polarity of the waveform portion corresponding to a predetermined bit is called a tampering attack.
[0102] More specifically, for example, Figure 6 As shown in the upper right corner of the figure, assume that "010111..." is the data bit sequence payload to be sent. When encoding this data bit sequence payload "010111...", as shown in the figure below, Figure 6 As shown in the upper center of , by performing linear encoding processing, the data bit sequence payload "010111..." is added as "1101..." of ECC (Error Correcting Code or Error Check and Correct) including CRC, convolutional code, low-density parity check code, etc., so as to generate the data bit sequence "010111...1101...".
[0103] For example, in the case where a malicious third party analyzes the format specification of a data bit sequence and attempts to reverse the first bit, such as Figure 6As shown on the left of FIG. , a data bit sequence payload “10000 . . . ” which is a codeword configured by a bit sequence in which only the first bit is “1” is encoded so as to generate a data bit sequence “100000 . . . 1001 . . . ” by adding “1001 . . . ” as an error correction code or error checking and correction (ECC), as shown in FIG. Figure 6 shown in the middle center of the.
[0104] At this time, when the data bit sequence "010111...1101..." that is the target of tampering is added to the generated data bit sequence "100000...1001...", as shown in FIG. Figure 6 As shown in the upper right part of , a new data bit sequence configured by the data bit sequence “110111...0100...” is generated.
[0105] On the other hand, when Figure 6 When generating a data bit sequence payload "110111" obtained by inverting the first bit of the transmitted data bit sequence to add an error correction code or error checking and correction (ECC) as shown in the lower left portion of Figure 6 The data bit sequence "110111...0100..." is shown in the lower right part of the figure. Since these data bit sequences are the same, the receiving side cannot determine whether the data has been tampered with or not, so there is a possibility of using a tampered transmission frame waveform signal (such as Figure 5 The possibility of tampering attack on the sent signal Sign12).
[0106] However, the above-mentioned tampering attack is caused by the fact that error correction code or error checking and correction (ECC) is a linear operation, and the tampering attack can be prevented by using CMAC.
[0107] However, since the waveform synthesis method is used for reception processing, replay attacks cannot be prevented by CMAC.
[0108] It is conceivable that a defense measure against a replay attack is taken by using a different transmission frame waveform for each transmission. However, when transmission information such as timing is included when generating a CMAC tag, the transmission frame waveform signal for each transmission is greatly different, so it is difficult to synthesize the waveform. In this way, in LPWA communication, it is impossible to take a measure against a replay attack after using CMAC to defend against tampering attacks.
[0109] In the communication system of the present disclosure, confidentiality and communication resistance in low power wide area (LPWA) communications can be improved by implementing effective defense measures against replay attacks and tampering attacks.
[0110] <<2. Embodiments of the present disclosure>>
[0111] Next, we will refer to Figure 7 A configuration example of the communication system of the present disclosure is described.
[0112] The communication system 200 of the present disclosure is similar in basic configuration to Figure 1 That is, the communication system 200 is configured by transmission devices 201 - 1 to 201 - n , reception devices 202 - 1 to 202 - m , and a cloud server 203 .
[0113] The sending device 201 and Figure 1 The sending device 201 corresponds to the IoT terminal 11, and transmits the sensor data detected by the sensor (not shown) to the cloud server 203 via the receiving device 202 through LPWA communication. Here, the sending device 201 obtains the GPS time information sent by the global positioning system (GPS) together with the position information, uses the information as NONCE together with the TXID which is the unique ID of the sending device 201 to generate a key stream, and uses this key stream to convert the plaintext data bit sequence into the encrypted data bit sequence.
[0114] The receiving device 202 has Figure 1 The IoT gateway 12 of the receiving device 202 is configured to receive the transmission signal sent from the transmitting device 201 and send the transmission signal to the cloud server 203. At this time, the receiving device 202 obtains the GPS time information sent by the global positioning system (GPS) together with the location information, generates a key stream together with the TXID of the transmitting device 201, and converts the encrypted data bit sequence into a stream decoding data bit sequence.
[0115] Note that the cloud server 203 is provided with application programs 211-1 to 211-p and is basically similar to Figure 1 The cloud server 13 in the figure will not be described here, so its description will be omitted.
[0116] That is, in Figure 7 In the communication system 200, the key stream changes with each generation based on the GPS time information, and the plaintext data bit sequence is converted into an encrypted data bit sequence by using this changed key stream, and the transmission frame waveform signal generated by modulating the encrypted data bit sequence also changes with each transmission. This is an effective measure to deal with replay attacks.
[0117] <Configuration example of sending device>
[0118] Next, we will refer to Figure 8 The block diagram describes a configuration example of the sending device 201.
[0119] The transmission device 201 is configured by a MAC encryption unit 221, an encoding unit 222, and a LPWA transmission unit 223. In LPWA communication of the transmission device 201, the MAC encryption unit 221 configures a MAC layer, and the encoding unit 222 and the LPWA transmission unit 223 configure a physical (PHY) layer which is a lower layer than the MAC layer.
[0120] The media access control (MAC) encryption unit 221 encrypts (MAC layer) a payload configured by sensor data (not shown), generates a MAC service data unit (MSDU) configured by a data bit sequence storing encrypted data (or unencrypted payload data), generates a CMAC tag corresponding to the MSDU, and outputs the CMAC tag to the encoding unit 222.
[0121] More specifically, the MAC encryption unit 221 includes an MSDU generation unit 231 and a CMAC processing unit 232 .
[0122] The MSDU generation unit 231 generates a MAC service data unit (MSDU), which is configured by a data bit sequence that stores a payload (or data obtained by encrypting the (MAC layer) payload), the payload being configured by sensor data (not shown) in a MAC layer higher than the physical (PHY) layer, outputs the MSDU to the CMAC processing unit 232, generates a CMAC tag through CMAC processing, and outputs the MSDU and the CMAC tag to the encoding unit 222 in a combined state.
[0123] The cipher-based message authentication code (CMAC) processing unit 232 generates a CMAC tag from a MAC service data unit (MSDU) through a message authentication code algorithm. The CMAC tag is used for authentication and data tampering detection during decoding. Similar to a hash value, the CMAC tag has the characteristic that the value will be greatly different when the MSDU as the original data is tampered with. Therefore, the presence or absence of tampering can be determined by comparing the CMAC tag generated according to the received data bit sequence with the received CMAC tag.
[0124] The encoding unit 222 encodes the MSDU and the CMAC tag together, and outputs the code to the LPWA transmission unit 223 .
[0125] More specifically, the encoding unit 222 includes an error correction code adding unit 251 , an XOR processing unit 252 , a key stream generator 253 , a storage unit 254 , a GPS time information acquiring unit 255 , a synchronization pattern generating unit 256 , and a switch 257 .
[0126] The error correction code adding unit 251 generates an error correction code ECC as a code for detecting and correcting errors based on the MSDU and the CMAC tag, and generates a data bit sequence called a physical layer service data unit (PSDU) by assigning the ECC to the MSDU and the CMAC tag, and outputs the data bit sequence to the XOR processing unit 252.
[0127] The key stream generator 253 reads the TXID which is a unique ID of the sending device 201 pre-stored in the storage unit 254, uses the TXID together with the time information provided from the GPS time information acquisition unit 255 as a NONCE, further uses a secret key to generate a key stream configured by a pseudo-random bit sequence (PRBS: pseudo-random binary sequence), and outputs the key stream to the XOR processing unit 252.
[0128] The storage unit 254 is configured by a memory or the like, stores a TXID which is a unique ID of the transmitting device 201 stored in advance, and supplies the TXID to the key stream generator 253 .
[0129] The GPS time information acquisition unit 255 acquires GPS time information provided when receiving a satellite wave transmitted from a satellite (not shown) and acquiring GPS position information, and provides the GPS time information to the key stream generator 253 .
[0130] The XOR processing unit 252 generates an encrypted data bit sequence by applying a bit-by-bit exclusive OR (XOR) process to a plaintext data bit sequence configured by a data bit sequence of the PSDU using a key stream, and outputs the encrypted data bit sequence to the switch 257 .
[0131] The synchronization pattern generation unit 256 generates a synchronization pattern SYNC indicating a start position when the reception device 202 receives a transmission frame signal, and outputs the synchronization pattern SYNC to the switch 257 .
[0132] The switch 257 switches between the synchronization pattern SYNC provided from the synchronization pattern generation unit 256 and the encrypted data bit sequence of the PSDU provided from the XOR processing unit 252, generates a physical layer convergence protocol (PLCP) protocol data unit or a physical layer protocol data unit (PPDU), and outputs the PPDU to the LPWA transmission unit 223.
[0133] More specifically, the switch 257 is capable of switching the input based on the transmission format, and generates a PPDU as a coded signal configured by the synchronization pattern and the encrypted data bit sequence by switching between the bit output of the synchronization pattern SYMC provided from the synchronization pattern generation unit 256 connected to the terminal 257a and the encrypted data bit sequence provided from the XOR processing unit 252 connected to the terminal 257b, and outputs the PPDU to the LPWA transmission unit 223.
[0134] The LPWA transmission unit 223 generates a transmission frame waveform signal by modulating the PPDU in which the synchronization pattern SYNC and the encrypted data bit sequence of the PSDU are combined, and transmits the transmission frame waveform signal to the reception device 202 through LPWA communication.
[0135] More specifically, the LPWA transmission unit 223 is configured by a modulator 271 , a mixer 272 , a local oscillator 273 , a band pass filter (BPF) 274 , an amplifier 275 , and an antenna 276 .
[0136] The modulator 271 modulates the PPDU which is a coded signal to generate a transmission frame waveform signal, and outputs the transmission frame waveform signal to the mixer 272 .
[0137] The mixer 272 synthesizes the local oscillation signal generated by the local oscillator 273 and the transmission frame waveform signal to generate a high-frequency signal, and outputs the high-frequency signal to the BPF 274 .
[0138] The BPF 274 extracts a signal of a predetermined frequency band from the high-frequency signal by filtering, and outputs the signal to the amplifier 275 .
[0139] The amplifier 275 amplifies a predetermined frequency band of the signal supplied from the BPF 274 at a predetermined amplification ratio, and transmits the signal as a transmission frame waveform signal to the receiving device 202 via the antenna 276 .
[0140] Note that, through the above series of operations, the transmitting device 201 repeatedly transmits four different transmission frame waveform signals in different frequency bands. In addition, an example will be described in which four different transmission frame waveform signals are repeatedly transmitted in different frequency bands. However, the number of repetitions may be any other number as long as the number is two or more.
[0141] <Configuration example of receiving device>
[0142] Next, we will refer to Fig. 9 The block diagram of describes a configuration example of the receiving device 202.
[0143] The receiving device 202 includes an LPWA receiving unit 321, a decoding unit 322, and a MAC decoding unit 323. In the LPWA communication of the receiving device 202, the LPWA receiving unit 321 and the decoding unit 322 configure a physical (PHY) layer, and the MAC decoding unit 323 configures a MAC layer which is a higher layer than the physical (PHY) layer.
[0144] The LPWA receiving unit 321 receives a transmission frame waveform signal configured by a PPDU transmitted from the transmitting device 201 through LPWA communication, and outputs the synchronization pattern SYNC and the encrypted data bit sequence of the PSDU included in the PPDU of the transmission frame waveform signal to the decoding unit 322 .
[0145] More specifically, the LPWA receiving unit 321 includes an antenna 331 , an amplifier 332 , a mixer 333 , a local oscillator 334 , a BPF 335 , a phase correction unit 336 , and a synchronization detection unit 337 .
[0146] The amplifier 332 receives the transmission frame waveform signal transmitted as a high-frequency signal via the antenna 331 , amplifies the waveform signal, and outputs the result to the mixer 333 .
[0147] The mixer 333 converts the waveform signal oscillated by the local oscillator 334 into a waveform signal of an intermediate frequency based on a predetermined frequency band of the waveform signal, and outputs the waveform signal to the BPF 335 .
[0148] The BPF 335 extracts a transmission frame waveform signal corresponding to the PPDU in a predetermined frequency band from the transmission frame waveform signal converted into the intermediate frequency, and outputs the waveform signal to the phase correction unit 336 and the synchronization detection unit 337 .
[0149] The synchronization detection unit 337 detects a waveform signal of the synchronization pattern SYNC in the transmission frame waveform signal corresponding to the PPDU, and outputs the waveform signal to the phase correction unit 336 .
[0150] The phase correction unit 336 corrects the phase of the transmission frame waveform signal corresponding to the PPDU supplied from the BPF 335 at the timing when the synchronization pattern SYNC is detected by the synchronization detection unit 337 , and outputs the waveform signal to the decoding unit 322 .
[0151] The decoding unit 322 detects the position of the waveform signal corresponding to the PSDU based on the waveform signal of the synchronization mode SYNC, generates a key stream similar to the sending device 201, restores the waveform signal corresponding to the encrypted data bit sequence, decodes the data bit sequence of the PSDU based on the restored waveform signal, and outputs the data bit sequence to the MAC decoding unit 323.
[0152] More specifically, the decoding unit 322 includes a switch 351 , a polarity reversal unit 352 , a demodulator 353 , an integration unit 354 , a decoder 355 , a key stream generator 356 , a storage unit 357 , a GPS time information acquisition unit 358 , and a synchronization signal waveform storage unit 359 .
[0153] The switch 351 is controlled by the synchronization detection unit 337 , separates the transmission frame waveform signal supplied from the LPWA reception unit 321 , and outputs the waveform signal to the synchronization signal waveform storage unit 359 and the polarity inversion unit 352 .
[0154] More specifically, the switch 351 is connected to the terminal 351a at a timing corresponding to the synchronization signal waveform in the waveform signal corresponding to the PPDU, and outputs the waveform signal provided from the LPWA receiving unit 321 to the synchronization signal waveform storage unit 359. Then, at a timing other than the synchronization signal waveform, the switch 351 is connected to the terminal 351b and outputs a transmission frame waveform signal corresponding to the encrypted PSDU of the PPDU to the polarity inversion unit 352.
[0155] The polarity inversion unit 352 inverts the polarity of the waveform signal corresponding to the PSDU based on the key stream provided from the key stream generator 356, and outputs the result to the demodulator 353. Note that reference will be made later to Fig.11 and 12 The operation of the polarity inversion unit 352 is described in detail.
[0156] Furthermore, the key stream generator 356, the storage unit 357, and the GPS time information acquisition unit 358 have configurations including functions corresponding to the key stream generator 253, the storage unit 254, and the GPS time information acquisition unit 255 of the transmitting device 201. Therefore, description thereof will be omitted.
[0157] The demodulator 353 demodulates the waveform signal output from the polarity inversion unit 352 and corresponding to the PSDU, and outputs the result to the integration unit 354 to integrate and store the result.
[0158] The integration unit 354 integrates and stores the stream decoded waveform signal corresponding to the same PSDU, and outputs the integrated waveform signal of the PSDU to the decoder 355. Note that an example will be described here in which a transmission frame signal generated according to the same PSDU is repeated four times in different frequency bands. However, the number of repetitions may be any other number as long as the number is two or more. Therefore, in this example, the addition result of the waveform signal of the PSDU integrated four times is output to the decoder 355.
[0159] The decoder 355 decodes the waveform signal stored in the integration unit 354 in an integrated state, and adds the waveform signal corresponding to the PSDU output from the polarity inversion unit 352, which is demodulated four times. The decoder 355 generates a PSDU configured by a stream-decoded data bit sequence corresponding to the encrypted data bit sequence, and outputs the PSDU to the MAC decoding unit 323.
[0160] The MAC decoding unit 323 performs MAC decoding on the payload corresponding to the sensor data transmitted from the transmitting device 201 based on the stream-decoded data bit sequence of the PSDU, and outputs the result.
[0161] More specifically, the MAC decoding unit 323 includes an MSDU decoding unit 371 and a CMAC processing unit 372 .
[0162] The MSDU decoding unit 371 corrects an error by using an error correction code ECC included in the PSDU, extracts the MSDU and the CMAC tag, decodes the payload from the MSDU, and outputs the result to the CMAC processing unit 372 .
[0163] The CMAC processing unit 372 generates a CMAC tag through CMAC processing based on the MSDU, and compares the CMAC tag with the CMAC tag added to the MSDU to determine the presence or absence of tampering according to whether there is a match.
[0164] The MSDU decoding unit 371 outputs a payload as a decoding result and information on the presence or absence of tampering.
[0165] < Figure 7 Operation of the communication system in>
[0166] Next, we will refer to Fig.10 describe Figure 7 The operation of the communication system 200. Note that Fig.10 , the left side of the figure illustrates the flow of signals and waveforms generated by the operation of the transmitting device 201, while the right side of the figure illustrates the flow of signals and waveforms generated by the operation of the receiving device 202.
[0167] First, the operation of the transmission device 201 will be described from the upper left portion of the figure.
[0168] The MSDU generation unit 231 of the MAC encryption unit 221 in the transmitting device 201 encrypts the payload 401 as the sensor data to generate the MSDU 402 , and outputs the MSDU 402 to the CMAC processing unit 232 .
[0169] The CMAC processing unit 232 performs CMAC processing on the MSDU 402, generates a CMAC tag 403 for determining the presence or absence of tampering, and outputs the CMAC tag 403 to the MSDU generation unit 231. The MSDU generation unit 231 adds the CMAC tag 403 to the generated MSDU 402, and outputs the result to the encoding unit 222.
[0170] Note that the processing from generating the MSDU 402 to adding the CMAC tag 403 is processing of the MAC layer, and the subsequent processing is processing of the physical (PHY) layer.
[0171] The error correction code adding unit 251 of the encoding unit 222 generates an error correction code ECC 412 from information obtained by combining the MSDU 402 and the CMAC tag 403 , and combines the error correction code ECC 412 with information obtained by combining the MSDU 402 and the CMAC tag 403 to generate a PSDU 413 .
[0172] Furthermore, the key stream generator 253 generates NONCE based on the GPS time information TIME supplied from the GPS time information acquisition unit 255 and the TXID stored in the storage unit 254 , and generates the key stream 414 and the secret key to output the result to the XOR processing unit 252 .
[0173] The XOR processing unit 252 performs bit-by-bit XOR processing on the PSDU 413 and the key stream 414 as a plaintext data bit sequence through stream encryption processing in a physical (PHY) layer, converts the PSDU 413 into an encrypted data bit sequence, and outputs the encrypted data bit sequence to the switch 257 .
[0174] The synchronization pattern generation unit 256 generates the synchronization pattern SYNC 411 and outputs the synchronization pattern SYNC to the switch 257 .
[0175] The switch 257 generates the PPDU 415 by adding the synchronization pattern SYNC 411 to the encrypted data bit sequence of the PSDU 413, and outputs the PPDU 415 to the LPWA transmission unit 223. More specifically, the switch 257 connects the bit output of the synchronization pattern SYNC 411 to the terminal 257a based on the transmission format, and receives the input of the synchronization pattern SYNC 411. Then, the switch 257 switches and connects to the terminal 257b, receives the input of the encrypted data bit sequence of the PSDU 413 from the XOR processing unit 252, generates the PPDU 415 including the synchronization pattern SYNC 411, and outputs the PPDU 415 to the LPWA transmission unit 223.
[0176] In the LPWA transmission unit 223, the modulator 271 modulates the PPDU 415 to generate a transmission frame waveform 416. Then, the transmission frame waveform 416 is converted into a predetermined high frequency signal by the local oscillator 273 through the mixer 272, further extracted by the BPF 274, amplified by the amplifier 275, and transmitted to the receiving device 202 by the antenna 276.
[0177] In the above, the operation of the transmission device 201 has been described. Next, the operation of the reception device 202 will be described from the lower right part in the figure.
[0178] In the LPWA receiving unit 321, a received frame waveform 421 corresponding to the transmitted frame waveform 416 is received via the antenna 331, amplified to a predetermined gain by the amplifier 332, and then converted into an intermediate frequency by the mixer 333 based on a signal of a predetermined frequency provided from the local oscillator 334 to be output to the BFP 335.
[0179] The BPF 335 extracts a signal of a predetermined frequency band from the waveform signal of the reception frame waveform 421 converted into an intermediate frequency signal, and outputs the signal to the phase correction unit 336 and the synchronization detection unit 337 .
[0180] The synchronization detection unit 337 detects a waveform having a synchronization pattern in the reception frame waveform 421 , and outputs the detected result to the phase correction unit 336 .
[0181] The phase correction unit 336 corrects the phase of the reception frame waveform 421 from the timing of detecting the synchronization pattern detected by the synchronization detection unit 337 , and outputs the result as the PPDU waveform 422 to the decoding unit 322 .
[0182] In the decoding unit 322, the switch 351 is connected to the terminal 351a, and the waveform signal of the PPDU waveform 422 input from the LPWA receiving unit 321 is output to the synchronization signal waveform storage unit 359. When a waveform other than the synchronization signal waveform is detected from the input PPDU waveform 422, the synchronization detection unit 337 controls the switch 351 to be connected to the terminal 351b. Through this operation, the switch 351 outputs the waveform of the PSDU position corresponding to the encrypted data bit sequence in the PPDU waveform 422 to the polarity inversion unit 352.
[0183] In addition, the key stream generator 356 generates NONCE based on the GPS time information TIME provided from the GPS time information acquisition unit 358 and the TXID stored in the storage unit 357, and generates a key stream 414 (the same key stream as the key stream generated by the key stream generator 253 of the sending device 201) together with the secret key to output the result to the polarity inversion unit 352.
[0184] The polarity inversion unit 352 converts the PPDU waveform 422 into a waveform 423 of a PSDU by inverting the polarity of the waveform of the PSDU position corresponding to the encrypted data bit sequence in the PPDU waveform 422 based on the key stream, and outputs the result to the demodulator 353 .
[0185] Note that we will refer to Fig.11 and 12 The operation of the polarity inversion unit 352 is described in detail.
[0186] The demodulator 353 demodulates the waveform 423 of the PSDU corresponding to the stream-decoded data bit sequence, and integrates and stores the result in the integration unit 354 .
[0187] By using the error correction code ECC, the decoder 355 corrects errors from the waveform 423 of the PSDU, which corresponds to the stream decoding data bit sequence integrated a predetermined number of times and stored in the integration unit 354, decodes the PSDU 424 (corresponding to the PSDU 413), and outputs the result to the MAC decoding unit 323.
[0188] In the MAC decoding unit 323 , the MSDU decoding unit 371 extracts the MSDU 431 and the CMAC tag 432 from the PSDU 424 , and outputs the MSDU 431 and the CMAC tag 432 to the CMAC processing unit 372 .
[0189] The CMAC processing unit 372 generates a CMAC tag by performing CMAC processing on the extracted MSDU 431 , compares the CMAC tag with the CMAC tag 432 to determine whether the MSDU 431 has been tampered with, and outputs the determination result to the MSDU decoding unit 371 .
[0190] The MSDU decoding unit 371 decodes the MSDU 431, generates a payload 433, and outputs the payload 433 together with information indicating whether the MSDU 431 has been tampered with.
[0191] Based on the encrypted data bit sequence using the key stream generated based on the GPS time information, a transmission frame waveform and a reception frame waveform as a PPDU waveform transmitted and received between the transmission device 201 and the reception device 202 through LPWA communication are generated. Therefore, the encrypted data bit sequence changes according to the time change, so that replay attacks can be prevented.
[0192] In addition, LPWA communication using CMAC can be realized, so tampering attacks can be prevented.
[0193] Furthermore, communication using a stream encryption method using a key stream can be realized, so in the case of adopting a block encryption method, the number of bits with errors can be reduced when an error occurs, etc. Therefore, error tolerance can be improved.
[0194] Therefore, it is possible to defend against replay attacks while defending against tampering attacks of CMAC, and the confidentiality of communication can be improved. In addition, compared with the case of using block encryption, using communication by the stream encryption method can improve fault tolerance.
[0195] <Operation of Polarity Reversal Unit>
[0196] Next, we will refer to Fig.11 and 12 The operation of the polarity inversion unit 352 is described.
[0197] First, when describing the operation of the polarity reversal unit 352, reference will be made to Fig.11 describe Figure 1 The operations of the key stream generator 91 and the XOR processing unit 92 in the communication system 1.
[0198] Generally speaking, in stream ciphers, such as Fig.11 As shown in the upper right part of , when the key stream (K) is output from the key stream generator 91 of the encoding unit 32 of the IoT terminal 11 and the plaintext data bit sequence (P) of the PSDU is input, when each bit value of the plaintext data bit sequence (P) of the PSDU is set to P and each bit value of the key stream (K) is set to K, the XOR processing unit 92 performs conversion into the encrypted data bit sequence C of the PSDU, as shown in Fig.11 shown in the upper left portion of .
[0199] That is, when (P, K) = (0, 0), (1, 1), the XOR processing unit 92 converts bit C of the encrypted data bit sequence (C) of the PSDU into 0, and when (P, K) = (1, 0), (0, 1), the XOR processing unit 92 converts bit C of the encrypted data bit sequence (C) into 1.
[0200] On the other hand, Fig.11 As shown in the lower right part of , at the time of decryption, when the key stream (K) is output from the key stream generator 91 of the decoding unit 52 of the IoT gateway 12 and the encrypted data bit sequence (C) of the PSDU is input, when each bit value of the encrypted data bit sequence (C) of the PSDU is set to C and each bit value of the key stream (K) is set to K, the XOR processing unit 92 performs conversion into the stream decoding data bit sequence (P) of the PSDU, as shown Fig.11 shown in the lower left portion of .
[0201] That is, when (C, K) = (0, 0), (1, 1), the XOR processing unit 92 converts the bit P of the stream-decoded data bit sequence (P) of the PSDU into 0, and when (C, K) = (1, 0), (0, 1), the XOR processing unit 92 converts the bit P of the stream-decoded data bit sequence (P) into 1.
[0202] In addition, if Fig.12 As shown in the upper left and upper center of Figure 7 The operations of the key stream generator 253 and the XOR processing unit 252 of the transmitting device 201 of the communication system 200 are basically the same as the operations of the key stream generator 91 and the XOR processing unit 92 of the IoT terminal 11.
[0203] That is, all the above processing is performed on the digitized plaintext data bit sequence of the PSDU and the encrypted data bit sequence of the PSDU.
[0204] On the other hand, the processing in the polarity inversion unit 352 of the receiving device 202 is performed on the PSDU waveform signal (the waveform signal of the position of the PSDU in the waveform signal of the PPUD) in the PPUD waveform signal (the waveform signal in which the PPUD is modulated) configured by the analog signal.
[0205] That is, Fig.12 As shown in the lower center of , when the key stream (K) is output from the key stream generator 356 of the decoding unit 322 of the receiving device 202, when the bit K of the key stream (K) is 0, +1 is given as the coefficient, and when the bit K of the key stream (K) is 1, -1 is given as the coefficient.
[0206] Then, in the case where a waveform signal corresponding to the encrypted data bit sequence of the PSDU is input, the polarity inversion unit 352 functions as a multiplier, and (as Fig.12 (as shown in the lower left part of ) When the polarity is reversed, an operation of converting into a decoded waveform corresponding to the stream decoded data bit sequence of the PSDU is performed by multiplying the polarity of each waveform of the waveform signal corresponding to the encrypted data bit sequence of the PSDU by a coefficient.
[0207] That is, when (K, coefficient, polarity of the waveform of the waveform signal corresponding to the encrypted data bit sequence) = (0, +1, -), (1, -1, -), the polarity reversal unit 352 inverts the polarity of the encrypted waveform signal corresponding to the encrypted data bit sequence of the PSDU, and when (K, coefficient, polarity of the waveform of the waveform signal corresponding to the encrypted data bit sequence) = (1, -1, +), (0, +1, +), the polarity reversal unit 352 does not invert the polarity.
[0208] Note that, in the polarity of the waveform, a waveform convex upward is +, and a waveform convex downward is -.
[0209] More specifically, for example, Fig.12 As shown in the upper right corner of , consider a case where the plaintext data bit sequence (P) of the PSDU configured by "1111110" is input. Note that Fig.12 , "1111110" is described as '1', '1', '1', '1', '1', '0', but in the description in the specification, "" and "" are added only before the first character and after the last character.
[0210] Here, it is assumed that a key stream (K) configured by “1010100” is generated in the key stream generator 253 .
[0211] In this case, the XOR processing unit 252 performs an exclusive OR (XOR) process to generate an encrypted data bit sequence (C) configured by “0101010”.
[0212] By modulating the encrypted data bit sequence (C) of the PSDU configured by this "0101010", a transmission frame waveform W1 is generated and transmitted. The transmission frame waveform W1 is modulated so that in the encrypted data bit sequence C of the PSDU, '0' is a downward convex waveform and '1' is an upward convex waveform.
[0213] That is, in the transmission frame waveform W1, at the start time t1, "0" of the encrypted data bit sequence C of the PSDU is a waveform that is convex downward, at time t2, "1" of the encrypted data bit sequence C of the PSDU is a waveform that is convex upward, and at time t3, "0" of the encrypted data bit sequence C of the PSDU is a waveform that is convex downward. In addition, at time t4, "1" of the encrypted data bit sequence C of the PSDU is a waveform that is convex upward, and at time t5, "0" of the encrypted data bit sequence C of the PSDU is a waveform that is convex downward. Moreover, at time t6, "1" of the encrypted data bit sequence C of the PSDU is a waveform that is convex upward, and at time t7, "0" of the encrypted data bit sequence C of the PSDU is a waveform that is convex downward.
[0214] Next, if Fig.12 As shown in the lower right part of , the transmitted frame waveform W1 is received in the receiving device 202 as the received frame waveform W11.
[0215] In this case, the key stream generator 356 generates the same key stream K as that of the key stream generator 253 of the transmitting device 201 configured by “1010100”.
[0216] Here, if Fig.12As shown in the lower left portion of , the polarity inversion unit 352 assigns a coefficient to each bit of the key stream (K) configured by "1010100" to generate -1, +1, -1, +1, -1, +1, +1 as a coefficient data bit sequence.
[0217] Then, the polarity inversion unit 352 generates a waveform at the position of the PSDU as a decoded signal waveform W12 based on the coefficient data bit sequence and the received frame waveform W11.
[0218] That is, at time t1, bit K of the key stream (K) is '1', so when the polarity inversion unit 352 sets the coefficient to -1, since the polarity of the downward convex waveform at time t1 is "-", the polarity becomes "+", the waveform becomes an upward convex waveform, and the polarity is inverted. Fig.12 In the lower right portion of , a waveform before the polarity is inverted is shown as a dotted waveform, and at time t1 , an upward convex waveform formed by the inversion and indicated by a solid line is illustrated.
[0219] Furthermore, at time t2, bit K of the key stream (K) is '0', so when the polarity inversion unit 352 sets the coefficient to +1, since the polarity according to the upward convex waveform at time t2 is "+", the polarity remains "+" without inverting the polarity.
[0220] Moreover, at time t3, bit K of the key stream (K) is '1', so when the polarity inversion unit 352 sets the coefficient to -1, since the polarity of the downward convex waveform at time t3 is "-", the polarity is reversed, the polarity becomes "+", and the waveform becomes an upward convex waveform.
[0221] Furthermore, at time t4, bit K of the key stream (K) is '0', so when the polarity inversion unit 352 sets the coefficient to +1, since the polarity according to the upward convex waveform at time t4 is "+", the polarity remains "+" without inverting the polarity.
[0222] Moreover, at time t5, bit K of the key stream (K) is '1', so when the polarity inversion unit 352 sets the coefficient to -1, since the polarity of the downward convex waveform at time t5 is "-", the polarity is reversed, the polarity becomes "+", and the waveform becomes an upward convex waveform.
[0223] Furthermore, at time t6, bit K of the key stream (K) is '0', so when the polarity inversion unit 352 sets the coefficient to +1, since the polarity according to the upward convex waveform at time t6 is "+", the polarity remains "+" without inverting the polarity.
[0224] Also, at time t7, bit K of the key stream (K) is '0', so when the polarity inversion unit 352 sets the coefficient to +1, since the polarity according to the downward convex waveform at time t7 is '-', the polarity remains '-' without inverting the polarity.
[0225] Through the above processing, the decoded signal waveform W12 is decoded based on the received frame waveform W11 corresponding to the encrypted data bit sequence C of the PSDU.
[0226] Thereafter, a stream decoded data bit sequence is obtained by performing a decoding process based on the waveform of the decoded signal waveform W12. That is, in the decoded signal waveform W12, "111111" is decoded according to the upward convex waveform from time t1 to t6, and "0" is decoded according to the downward convex waveform at time t7, so that "1111110" of the original PSDU is decoded.
[0227] That is, through the above processing, the transmitting device 201 generates a key stream that is different depending on the GPS time information, and encrypts the PSDU by the stream encryption method. In the receiving device 202, a key stream is generated by a similar method to decode the encrypted PSDU, thereby making it possible to transmit the payload by LPWA communication.
[0228] In the receiving device 202, in a physical (PHY) layer, a waveform signal of an encrypted PSDU configured by an analog signal may be decoded by a key stream that differs depending on GPS time information.
[0229] Through the above processing, stream encryption can be implemented using polarity inversion of the waveform polarity in the physical (PHY) layer, and replay attacks can be defended using a low-cost and highly compatible communication method. In addition, by combining with CMAC in the MAC layer above the physical layer (PHY), multi-layer defense against replay attacks and tampering attacks can be achieved.
[0230] <Specific communication method using communication system>
[0231] Next, we will refer to Fig.13 A communication method by LPWA communication performed by a communication system 200 including a transmitting device 201 and a receiving device 202 is described.
[0232] In the present disclosure, the transmitting device 201 repeatedly transmits the same PSDU with different transmission frame waveforms at different frequencies to the receiving device 202. Such PSDU transmission is called burst transmission.
[0233] That is, Fig.13As shown above the dotted line in , at GPS time #1, the transmitting device 201 transmits a transmit frame waveform 416-1 to the transmitting device 201 at a frequency f2, wherein the PSDU is encrypted using a key stream based on GPS time #1 and TXID.
[0234] Furthermore, at GPS time #2, the transmitting device 201 transmits a transmission frame waveform 416-2 to the transmitting device 201 at a frequency f1, in which the PSDU is encrypted with a key stream based on the GPS time #2 and the TXID.
[0235] Furthermore, at GPS time #3, the transmitting device 201 transmits a transmission frame waveform 416-3 to the transmitting device 201 at a frequency f4, in which the PSDU is encrypted with a key stream based on the GPS time #3 and the TXID.
[0236] Furthermore, at GPS time #4, the transmitting device 201 transmits a transmission frame waveform 416-4 to the transmitting device 201 at a frequency f3, in which the PSDU is encrypted with a key stream based on the GPS time #4 and the TXID.
[0237] Then, in the receiving device 202, as Fig.13 As shown below the dotted line in , at GPS time #1, the receiving device 202 performs the above-mentioned polarity inversion processing on the signal waveform from the PSDU position of the transmission frame waveform 416-1 transmitted at frequency f2 by a key stream based on GPS time #1 and TXID.
[0238] Furthermore, at GPS time #2, the receiving device 202 performs the above-described polarity inversion processing on the signal waveform at the PSDU position from the transmission frame waveform 416-2 transmitted at the frequency f1 by the key stream based on the GPS time #2 and the TXID.
[0239] Furthermore, at GPS time #3, the receiving device 202 performs the above-described polarity inversion processing on the signal waveform at the PSDU position from the transmission frame waveform 416-3 transmitted at the frequency f4 by the key stream based on the GPS time #3 and the TXID.
[0240] Furthermore, at GPS time #4, the receiving device 202 performs the above-described polarity inversion processing on the signal waveform at the PSDU position from the transmission frame waveform 416-4 transmitted at the frequency f3 by the key stream based on the GPS time #4 and the TXID.
[0241] Then, the reception device 202 decodes the transmission frame waveform 416 - 11 obtained by adding (integrating) the signal waveforms of the four frames of the PSDU demodulated from the transmission frame waveforms 416 - 1 to 416 - 4 .
[0242] As described above, different key streams are generated according to different GPS time information at different transmission timings. Therefore, each frame waveform sent by stream encryption in the transmission process has a different shape each time, and each frame waveform can be made to have the same shape by stream (cipher) decryption in the reception process. Moreover, with this arrangement, on the receiving side, waveform synthesis of the addition (integration) waveform becomes possible, and in addition to the resistance to replay attacks, the demodulation / decoding performance can be improved.
[0243] In addition, since a CMAC tag is also assigned to the signal waveform at the position of the repeatedly transmitted PSDU, tampering attacks can be prevented.
[0244] Therefore, it is possible to improve demodulation / decoding performance and simultaneously defend against replay attacks and tampering attacks in multiple layers.
[0245] <Send Process>
[0246] Next, we will refer to Fig.14 The flowchart of 201 describes the transmission processing of the transmission device 201 as an example, which transmits four frames per burst at intervals of five seconds.
[0247] In step S11, the transmitting device 201 recovers from its own sleep state.
[0248] In step S12, the sending device 201 initializes the sending times counter Cs to one.
[0249] In step S13 , the key stream generator 253 reads TXID as an ID for identifying the transmitting device 201 stored in the storage unit 254 .
[0250] In step S14 , the key stream generator 253 acquires the GPS time information TIME supplied from the GPS time information acquisition unit 255 .
[0251] In step S15, the key stream generator 253 truncates the acquired GPS time information TIME in units of five seconds. That is, for example, in step S13, when the provided GPS time information TIME is 00:15:21 (zero hour fifteen minutes and twenty-one seconds), the GPS time information TIME is set to 00:15:20 (zero hour fifteen minutes and twenty seconds) by truncating it in units of five seconds.
[0252] In step S16, the key stream generator 253 generates an initial value NONCE of the key stream based on the TXID and the GPS time information TIME.
[0253] In step S17 , the key stream generator 253 generates a key stream based on the initial value NONCE and the secret key, and outputs the key stream to the XOR processing unit 252 .
[0254] In step S18, encoding processing is performed on the payload configured by the sensor data. More specifically, the MSDU generation unit 231 performs encryption processing on the payload, generates an MSDU, and outputs the MSDU to the CMAC processing unit 232. The CMAC processing unit 232 performs CMAC processing on the MSDU to generate a CMAC tag, and outputs the CMAC tag to the MSDU generation unit 231. The MSDU generation unit 231 combines the MSDU and the CMAC tag, and outputs the result to the encoding unit 222. The error correction code adding unit 251 of the encoding unit 222 obtains and adds an error correction code ECC based on the MSDU and the CMAC tag, generates a PSDU configured by the plaintext data bit sequence, and outputs the PSDU to the XOR processing unit 252.
[0255] In step S19, the XOR processing unit 252 performs stream encryption on the PSDU configured by the plaintext data bit sequence by applying exclusive OR (XOR) using each bit value of the key stream in bit units, converts the PSDU into a PSDU configured by the encrypted data bit sequence, and outputs the PSDU to the switch 257.
[0256] In step S20, the synchronization pattern generation unit 256 generates a synchronization pattern and outputs the synchronization pattern to the terminal 257a of the switch 257. In addition, the XOR processing unit 252 outputs the output encrypted data bit sequence to the terminal 257b. The switch 257 switches the input based on the transmission format and outputs the result, generates a PPDU including the synchronization pattern and the encrypted data bit sequence, and outputs the PPDU to the LPWA transmission unit 223.
[0257] In step S21 , the LPWA transmission unit 223 modulates the PPDU and transmits the result to the reception device 202 using a frequency band corresponding to the counter Cs indicating the number of transmissions.
[0258] In step S22, the transmission device 201 determines whether the counter Cs indicating the number of transmission times is four, and in a case where the number is not four, the process proceeds to step S23.
[0259] In step S23, the transmission device 201 increments the counter Cs indicating the number of transmission times by one, and the process returns to step S14.
[0260] That is, the processing of steps S14 to S23 is repeated until the counter Cs becomes four, and a transmission frame waveform configured by a PPDU including a PSDU stream-encrypted by using a key stream based on GPS time information and TXID corresponding to each transmission timing is transmitted to the receiving device 202 at a frequency different depending on the counter Cs.
[0261] Then, in step S22, the counter Cs indicating the number of transmission times is regarded as four, and when the transmission frame waveforms for four frames are transmitted, the processing ends.
[0262] <Receiving Process>
[0263] Next, we will refer to Fig.15 The flowchart of describes, as a similar example, reception processing performed by the reception device 202 which transmits four frames per burst at intervals of five seconds.
[0264] In step S31 , the key stream generator 356 identifies the TXID of the transmitting device 201 which is the target of the reception process.
[0265] In step S32, the receiving device 202 initializes the reception number counter Cr to one.
[0266] In step S33 , the key stream generator 356 acquires the GPS time information TIME supplied from the GPS time information acquisition unit 358 .
[0267] In step S34, the key stream generator 356 truncates the acquired GPS time information TIME in units of five seconds.
[0268] In step S35 , the key stream generator 356 generates an initial value NONCE of the key stream based on the TXID and the GPS time information TIME.
[0269] In step S36 , the key stream generator 356 generates a key stream based on the initial value NONCE and the secret key, and outputs the key stream to the polarity inversion unit 352 .
[0270] In step S37, the LPWA receiving unit 321 receives a transmission frame waveform transmitted at a predetermined frequency as a reception frame waveform, performs synchronization detection, and outputs the result to the decoding unit 322. The decoding unit 322 acquires the waveform of the PSDU position.
[0271] More specifically, the amplifier 332 of the decoding unit 322 receives the transmission signal transmitted as a high-frequency signal via the antenna 331 , amplifies the waveform signal, and outputs the result to the mixer 333 .
[0272] The mixer 333 converts the waveform signal oscillated by the local oscillator 334 into a waveform signal of an intermediate frequency based on a predetermined frequency band of the waveform signal, and outputs the waveform signal to the BPF 335 .
[0273] The BPF 335 extracts a waveform signal of a predetermined frequency band from the waveform signal converted into the intermediate frequency, and outputs the waveform signal to the phase correction unit 336 and the synchronization detection unit 337 .
[0274] The phase correction unit 336 corrects the phase of the waveform signal supplied from the BPF 335 at the timing when the synchronization pattern SYNC is detected by the synchronization detection unit 337 , and outputs the waveform signal to the decoding unit 322 .
[0275] The switch 351 of the decoding unit 322 receives the output of the phase correction unit 336, and separates the synchronization signal waveform and the signal waveform corresponding to the encrypted PSDU by the timing signal from the synchronization detection unit 337. The synchronization signal waveform storage unit 359 is connected to one end of the terminal 351a of the switch 351 to output the synchronization signal waveform, and the polarity inversion unit 352 is connected to one end of the terminal 351b to output the waveform signal of the PSDU position corresponding to the encrypted data bit sequence.
[0276] In step S38, as shown in reference Fig.12 As described, by using the key stream generated by the key stream generator 356 and inverting the polarity of the waveform signal at the PSDU position, the polarity inversion unit 352 performs stream decoding in the physical (PHY) layer, performs conversion into a PSDU waveform, and outputs the PSDU waveform to the demodulator 353.
[0277] In step S39 , the demodulator 353 integrates and accumulates the waveform of the PSDU corresponding to the stream-decoded data bit sequence with respect to the waveform accumulated in the integration unit 354 .
[0278] In step S40, the receiving device 202 determines whether the counter Cr indicating the number of reception times is four. In the case where the counter Cr is not four in step S38, the process proceeds to step S41.
[0279] In step S41, the counter Cr indicating the number of reception times is incremented by one, and the process returns to step S33.
[0280] That is, the processing of steps S33 to S41 is repeated until the transmission frame waveform for four frames repeatedly transmitted at different frequencies is received.
[0281] Then, in step S40, transmission frame waveforms for four frames are received, and PSDU waveforms corresponding to four stream-decoded data bit sequences are added and accumulated in the integrating unit 354. In the event that it is determined that the counter Cr is four, the process proceeds to step S42.
[0282] In step S42 , the decoder 355 corrects an error using the error correction code ECC based on the integrated waveform of the PSDU accumulated four times in the integration unit 354 , then decodes the data bit sequence of the PSDU, and outputs the result to the MAC decoding unit 323 .
[0283] Then, the MSDU decoding unit 371 of the MAC decoding unit 323 extracts the MSDU and the CMAC tag included in the PSDU, outputs the result to the CMAC processing unit 372, and decodes the payload from the MSDU.
[0284] The CMAC processing unit 372 generates a CMAC tag through CMAC processing based on the MSDU, compares the CMAC tag with the CMAC tag added to the MSDU to determine the presence or absence of tampering depending on whether they match, and outputs the determination result to the MSDU decoding unit 371.
[0285] The MSDU decoding unit 371 outputs a payload as a decoding result and information on the presence or absence of tampering.
[0286] With the above series of transmission processes and reception processes, a transmission frame waveform configured by a PPDU including a PSDU stream-encrypted by using a key stream based on GPS information and TXID corresponding to each transmission timing is transmitted to the reception device 202 at different frequencies.
[0287] With this processing, in the transmission frame waveform, the PPDU including the PSDU stream-encrypted using the key stream generated based on the GPS time information and TXID that differ depending on the transmission timing is transmitted as a different transmission frame waveform. Therefore, replay attacks can be prevented. In addition, since the PSDU includes CMAC, tampering attacks can be prevented.
[0288] Therefore, it becomes possible to realize multi-layered defense of replay attack measures in the physical (PHY) layer and tamper attack measures in the MAC layer.
[0289] Furthermore, since the same PSDU is repeatedly transmitted, the receiving device 202 can perform decoding using the integration result of the repeated transmission, so that the demodulation / decoding performance can be improved.
[0290] Note that, in the above, TXID and GPS time information are used to generate a key stream for each transmission frame waveform, but the same numerical value predetermined by the transmitting device 201 and the receiving device 202 may be included as additional information.
[0291] That is, by increasing the amount of information used as NONCE, resistance to replay attacks can be improved.
[0292] In addition, in the above, GPS time information is used for each transmission frame waveform. However, the key stream generated based on the GPS time information may be used only for the first transmission frame, and the key stream of the subsequent transmission frame waveform may be generated by using the initial value obtained by the conversion process using the count value of the number of transmission frame waveforms for the first GPS time information.
[0293] That is, for example, in the first transmission frame, a key stream can be generated based on the secret key, TXID, and GPS time information, and in the next transmission frame, a key stream can be generated in such a manner that the value of a counter corresponding to the time elapsed from the timing of generating the first key stream is added to the GPS time information used when generating the first key stream, and in subsequent transmission frames, a key stream can be generated similarly.
[0294] Moreover, in the above, an example is described in which GPS time information truncated in units of five seconds is used as NONCE. However, since it is sufficient as long as the transmission frame waveform can be distinguished, for example, in the case where the transmission interval of the transmission frame waveform is determined in units of milliseconds, GPS time information in units of milliseconds according to the transmission interval can be used for NONCE.
[0295] Furthermore, in the above, GPS time information is used together with TXID as NONCE for generating a key stream. However, other information may be used as long as the information changes according to the timing of generating a key stream. For example, time information such as Universal Coordinated Time (UTC), Greenwich Mean Time (GMT), Japan Standard Time (JST) may be used, or the value of a counter that counts at predetermined time intervals (which may be equal time intervals or unequal time intervals) may be used.
[0296] Moreover, in the above, an example is described in which the transmission frame waveform for four frames is set as one set for transmitting the same PSDU. However, when it is only necessary to transmit a plurality of transmission frame waveforms as one set for the same PSDU, the number of frames of the transmission frame waveform for one set may be other numbers of frames as long as one set has two or more frames.
[0297] In addition, in the above, an example is described in which NONCE (initial value) is changed to generate a key stream together with a secret key when a key stream is generated. However, it is sufficient to change the parameters required for generating a key stream, so NONCE (initial value) can be a fixed value while changing the secret key each time a key stream is generated.
[0298] <<3. Application Examples>>
[0299] In the above, an example is described in which, in the receiving device 202, a key stream is generated based on the GPS time information and the TXID by using a key stream generator and is used for a so-called stream cipher.
[0300] However, the keystream generator may also be configured and used by combining a block cipher with a specific encryption exploitation mode.
[0301] For example, Fig.16 As shown in case C1 of FIG. 1 , a block cipher may be used that increments NONCE by a predetermined value each time a key stream is generated.
[0302] That is, at the first timing, for example, the block cipher 401 generates a key stream K1 having a fixed bit number by NONCE configured by c59bcf35...00000000 and the secret key Key. The XOR processing unit 402 converts the plaintext data bit sequence into an encrypted data bit sequence by applying bitwise XOR using the key stream K1.
[0303] At the next timing, for example, the block cipher 401 generates a NONCE configured by c59bcf35 ... 00000001, which is obtained by incrementing the immediately previous NONCE by one, and generates a key stream K2 by using the NONCE together with the secret key Key. The XOR processing unit 402 converts the plaintext data bit sequence into an encrypted data bit sequence by applying bit-by-bit XOR using the key stream K2.
[0304] Moreover, at the next timing, for example, the block cipher 401 generates a NONCE configured by c59bcf35 ... 00000002, which is obtained by further incrementing the immediately previous NONCE by one, and generates a key stream K3 by using the NONCE together with the secret key Key. The XOR processing unit 402 converts the plaintext data bit sequence into an encrypted data bit sequence by applying bit-by-bit XOR using the key stream K3.
[0305] In this way, each time a keystream is generated, it changes with the NONCE, thus preventing replay attacks.
[0306] In addition, if Fig.16 As shown in case C2, the initial value of NONCE may be the key stream generated immediately before.
[0307] That is, for example, the block cipher 411 first generates a key stream K11 from an initial value and the secret key Key, and the XOR processing unit 412 converts a plaintext data bit sequence into an encrypted data bit sequence by applying bit-by-bit XOR using the key stream K11.
[0308] At the next timing, for example, the block cipher 411 uses the immediately previous key stream K11 as an initial value, and uses the key stream K11 together with the secret key Key to generate a key stream K12, and the XOR processing unit 412 converts the plaintext data bit sequence into an encrypted data bit sequence by applying bit-by-bit XOR using the key stream K12.
[0309] Moreover, at the next timing, for example, the block cipher 411 uses the immediately previous key stream K12 as an initial value, and uses the key stream K12 together with the secret key Key to generate a key stream K13, and the XOR processing unit 402 converts the plaintext data bit sequence into an encrypted data bit sequence by applying bit-by-bit XOR using the key stream K13.
[0310] In this way, each time the keystream is generated, it changes with the initial value, thus preventing replay attacks.
[0311] Moreover, if Fig.16 As shown in case C3, the initial value of NONCE may be the encrypted data bit sequence generated immediately before.
[0312] That is, for example, the block cipher 411 first generates a key stream K21 from an initial value and a secret key Key. Then, the XOR processing unit 412 converts a plaintext data bit sequence into an encrypted data bit sequence E1 by applying bit-by-bit XOR using the key stream.
[0313] At the next timing, for example, the block cipher 411 uses the immediately previous encrypted data bit sequence E1 as an initial value and uses the encrypted data bit sequence E1 together with the secret key Key to generate a key stream K22. Then, the XOR processing unit 412 converts the plaintext data bit sequence into an encrypted data bit sequence E2 by applying a bit-by-bit XOR using the key stream K22.
[0314] Moreover, at the next timing, for example, the block cipher 411 uses the immediately previous encrypted data bit sequence E2 as an initial value, and uses the encrypted data bit sequence E2 together with the secret key Key to generate a key stream K23. Then, the XOR processing unit 402 converts the plaintext data bit sequence into an encrypted data bit sequence E3 by applying a bit-by-bit XOR using the key stream K23.
[0315] In this way, each time the keystream is generated, it changes with the initial value, thus preventing replay attacks.
[0316] As described above, in the communication system of the present disclosure, stream encryption in the physical (PHY) layer is used. Therefore, in the receiving device, the waveform of the PSDU can be decoded by reversing the polarity of the transmission frame waveform, and each transmission frame waveform can be easily transformed into the same shape, so that waveform synthesis becomes possible.
[0317] In addition, when the key stream is changed for each frame based on time, the frame waveform is different each time it is sent. Therefore, resistance to replay attacks can be improved, and even when the encrypted transmission waveform is different, demodulation / decoding performance can be improved by the waveform synthesis method.
[0318] Moreover, through stream encryption, a plaintext data bit sequence with arbitrary length can be converted into an encrypted data bit sequence.
[0319] <<4. Example of execution using software>>
[0320] Incidentally, the above series of processing can be performed by hardware, but can also be performed by software. In the case of performing the series of processing by software, the program configuring the software is installed from a recording medium on a computer embedded in dedicated hardware, or, for example, on a general-purpose computer capable of performing various functions by installing various programs, etc.
[0321] Fig.17 The configuration example of a general-purpose computer is illustrated. This personal computer has a built-in central processing unit (CPU) 1001. An input / output interface 1005 is connected to the CPU 1001 via a bus 1004. A read only memory (ROM) 1002 and a random access memory (RAM) 1003 are connected to the bus 1004.
[0322] The input / output interface 1005 is connected to an input unit 1006 configured by input devices such as a keyboard and a mouse for a user to input an operation command, an output unit 1007 that outputs a processing operation screen and an image of a processing result to a display device, a storage unit 1008 including a hard disk drive and the like for storing programs and various data, and a communication unit 1009 including a local area network (LAN) adapter and the like and performing communication processing via a network represented by the Internet. In addition, a drive 1010 is connected, which reads data from and writes data on a removable storage medium 1011 such as a magnetic disk (including a floppy disk), an optical disk (including a compact disk read only memory (CD-ROM) and a digital versatile disk (DVD)), a magneto-optical disk (including a mini disk (MD)), and a semiconductor memory.
[0323] The CPU 1001 executes various processes according to a program stored in the ROM 1002 or a program read from a removable storage medium 1011 (such as a magnetic disk, an optical disk, a magneto-optical disk, or a semiconductor memory), installed in the storage unit 1008, and loaded from the storage unit 1008 into the RAM 1003. The RAM 1003 also appropriately stores data and the like necessary for the CPU 1001 to execute various processes.
[0324] In the computer configured as described above, for example, the above series is executed in such a manner that the CPU 1001 loads a program stored in the storage unit 1008 into the RAM 1003 via the input / output interface 1005 and the bus 1004 and executes the program.
[0325] For example, the program executed by the computer (CPU 1001) may be recorded and provided as a package medium or the like on the removable storage medium 1011. Furthermore, the program may be provided via a wired or wireless transmission medium such as a local area network, the Internet, or digital satellite broadcasting.
[0326] In the computer, by mounting the removable storage medium 1011 in the drive 1010, the program can be installed in the storage unit 1008 via the input / output interface 1005. In addition, the program can be received by the communication unit 1009 and installed in the storage unit 1008 via a wired or wireless transmission medium. In addition, the program can be installed in the ROM 1002 or the storage unit 1008 in advance.
[0327] Note that the program executed by the computer may be a program that executes processing in time series in the order described in this specification, or may be a program that executes processing in parallel or at necessary timing such as when a call is made.
[0328] Note that, Fig.17CPU 1001 implementation in Figure 8 The coding unit 222 and Fig. 9 The function of the decoding unit 322 in.
[0329] In addition, in this specification, a system refers to a collection of multiple components (devices, modules (parts), etc.), and it is not important whether all components are in the same housing. Therefore, multiple devices housed in separate housings and connected via a network and a device in which multiple modules are housed in one housing are both systems.
[0330] Note that the embodiments of the present disclosure are not limited to the above-described embodiments, and various modifications may be made without departing from the scope of the present disclosure.
[0331] For example, the present disclosure may be configured as cloud computing in which one function is shared by a plurality of devices via a network and is jointly processed.
[0332] Furthermore, each step described in the above flowchart may be performed by one device or shared by a plurality of devices.
[0333] Furthermore, in the case where one step includes a plurality of processes, the plurality of processes included in one step may be performed by one device or may be shared by a plurality of devices.
[0334] Note that the present disclosure may also have the following configurations.
[0335] <1> A sending device, comprising:
[0336] a key stream generating unit that generates a key stream by using information that differs depending on timing as an initial value;
[0337] An encryption unit that converts transmission data into encrypted data by using a key stream; and
[0338] A transmitting unit transmits a waveform signal obtained by modulating the encrypted data.
[0339] <2> according to <1> The sending device, wherein
[0340] The information that differs depending on the timing is time information.
[0341] <3> according to <2> The sending device, wherein
[0342] The time information includes Global Positioning System (GPS) time information, Universal Coordinated Time (UTC) time information, Greenwich Mean Time (GMT), Japan Standard Time (JST) time information, and a value of a counter that counts at predetermined equal time intervals or unequal time intervals.
[0343] <4> according to <2> The sending device, wherein
[0344] The key stream generation unit generates a key stream based on information obtained by truncating the time information in predetermined time units.
[0345] <5> according to <2> The sending device, wherein
[0346] The key stream generation unit generates a key stream by using an ID unique to the transmitting device as an initial value and further using a secret key in addition to the time information.
[0347] <6> according to <1> The sending device, wherein
[0348] The information that differs depending on the timing is a key stream generated immediately before or encrypted data generated immediately before.
[0349] <7> according to <1> to <6> Any one of the sending devices described in , further comprising:
[0350] an MSDU generating unit that generates a medium access control (MAC) service data unit (MSDU) according to the payload; and
[0351] a CMAC processing unit that generates a CMAC tag from the MSDU by a cipher-based message authentication code (cipher-based MAC: CMAC) process, wherein
[0352] The transmission data includes MSDU, CMAC tag and error correction code ECC (error correction code or error checking and correction) generated according to MSDU and CMAC tag.
[0353] <8> according to <1> to <7> Any one of the transmitting devices described in
[0354] The transmission unit repeatedly transmits the waveform signal obtained by modulating encrypted data obtained by encrypting the same transmission data at different timings.
[0355] <9> A sending method, comprising:
[0356] A key stream generation process for generating a key stream by using information that differs depending on timing as an initial value;
[0357] Encryption processing for converting transmission data into encrypted data by using a key stream; and
[0358] The transmission process is used to transmit the waveform signal obtained by modulating the encrypted data.
[0359] <10> A receiving device, comprising:
[0360] a receiving unit that receives a waveform signal that is transmitted from a transmitting device and is obtained by modulating encrypted data obtained by encrypting transmission data by using a key stream generated by using information that differs depending on timing as an initial value;
[0361] a key stream generating unit that generates a key stream by using the information that differs depending on the timing as an initial value;
[0362] a polarity reversal unit, the polarity reversal unit reversing the polarity of the waveform of the waveform signal through a key stream; and
[0363] A decoding unit is provided for decoding the transmission data based on the polarity-inverted waveform signal.
[0364] <11> according to <10> The receiving device, wherein
[0365] The information that differs depending on the timing is time information.
[0366] <12> according to <11> The receiving device, wherein
[0367] The time information includes Global Positioning System (GPS) time information, Universal Coordinated Time (UTC) time information, Greenwich Mean Time (GMT), Japan Standard Time (JST) time information, and a value of a counter that counts at predetermined equal time intervals or unequal time intervals.
[0368] <13> according to <11> The receiving device, wherein
[0369] The key stream generation unit generates a key stream based on information obtained by truncating the time information in predetermined time units.
[0370] <14> according to <11> The receiving device, wherein
[0371] The key stream generation unit generates a key stream by using an ID unique to the transmitting device as an initial value and further using a secret key in addition to the time information.
[0372] <15> according to <10> The receiving device, wherein
[0373] The information that differs depending on the timing is a key stream generated immediately before or encrypted data generated immediately before.
[0374] <16> according to <10> to <15> The receiving device of any one of
[0375] The transmission data includes a medium access control (MAC) service data unit (MSDU) generated based on the payload, a CMAC tag generated based on the MSDU by processing a cipher-based message authentication code (cipher-based MAC: CMAC), and an error correction code ECC (error correction code or error checking and correction) obtained based on the MSDU and the CMAC tag, and the receiving device also includes:
[0376] An MSDU decoding unit that decodes the MSDU and the CMAC tag by performing error correction using an error correction code ECC according to the transmission data; and
[0377] A CMAC processing unit generates a CMAC tag according to the MSDU through a password-based message authentication code (crypto-based MAC: CMAC) processing, and compares the CMAC tag with the CMAC tag decoded by the MSDU decoding unit to determine whether the transmitted data has been tampered with.
[0378] <17> according to <10> to <16> The receiving device of any one of
[0379] The receiving unit receives, from the transmitting device, a waveform signal which is repeatedly transmitted at different timings and is obtained by modulating encrypted data obtained by encrypting the same transmission data.
[0380] <18> according to <17> The receiving device further comprises:
[0381] an integral storage unit that integrates and stores a waveform obtained by inverting the polarity of a waveform of a waveform signal repeatedly transmitted from the transmitting device and obtained by modulating encrypted data obtained by encrypting the same transmitted data in the polarity inversion unit by a key stream, wherein
[0382] The decoding unit decodes the transmission data based on the waveform signal which is integrated and stored in the integration storage unit and has its polarity inverted.
[0383] <19> according to <10> to <18> The receiving device of any one of
[0384] The polarity inversion unit inverts the polarity of the waveform of the waveform signal by multiplying the polarity of the waveform of the waveform signal by a coefficient set by a key stream.
[0385] <20> A receiving method, comprising:
[0386] a reception process for receiving a waveform signal which is transmitted from a transmission device and is obtained by modulating encrypted data obtained by encrypting transmission data by using a key stream generated by using information which differs depending on timing as an initial value;
[0387] A key stream generation process for generating a key stream by using the information that differs depending on the timing as an initial value;
[0388] polarity inversion processing for inverting the polarity of the waveform of the waveform signal by means of a key stream; and
[0389] Decoding processing is used to decode the transmission data based on the polarity-inverted waveform signal.
[0390] Reference numerals list
[0391] 200 Communication Systems
[0392] 201 Sending device
[0393] 202 Receiving device
[0394] 203 Cloud Server
[0395] 211, 211-1, 211-2 Application
[0396] 221 MAC encryption unit
[0397] 222 coding units
[0398] 223 LPWA transmitter unit
[0399] 231 MSDU generation unit
[0400] 232 CMAC processing unit
[0401] 251 Error correction code adding unit
[0402] 252 XOR processing unit
[0403] 253 Keystream Generator
[0404] 254 memory cells
[0405] 255 GPS time information acquisition unit
[0406] 256 Synchronous pattern generation units
[0407] 257 Switch
[0408] 257a, 257b terminals
[0409] 271 Modulator
[0410] 272 Mixer
[0411] 273 Local Oscillator
[0412] 274 BPF
[0413] 275 Amplifier
[0414] 276 Antenna
[0415] 321 LPWA Receiver Unit
[0416] 322 Decoding Unit
[0417] 323 MAC decoding unit
[0418] 331 Antenna
[0419] 332 Amplifier
[0420] 333 Mixer
[0421] 334 Local Oscillator
[0422] 335 BPF
[0423] 336 Phase Correction Unit
[0424] 337 Synchronous Detection Unit
[0425] 351 Switch
[0426] 351a, 351b terminals
[0427] 352 Polarity Reversal Unit
[0428] 353 Demodulator
[0429] 354 Integral Unit
[0430] 355 Multi-function Machine
[0431] 356 Keystream Generator
[0432] 357 Storage Unit
[0433] 358 GPS time information acquisition unit
[0434] 359 Synchronous signal waveform storage unit
[0435] 371 MSDU generation unit
[0436] 372 CMAC processing unit
Claims
1. A transmitting device for low power wide area (LPWA) communications, include: A medium access control MAC service data unit MSDU generation unit, wherein the MSDU generation unit generates an MSDU according to a payload; A cipher-based message authentication code (CMAC) processing unit, the CMAC processing unit generating a CMAC tag from the MSDU through CMAC processing; a key stream generating unit that generates a key stream by using information that differs depending on timing as an initial value, the information that differs depending on timing being time information, and the time information including global positioning system GPS time information; An encryption unit that converts transmission data into encrypted data by using a key stream; and a transmitting unit, the transmitting unit transmitting a waveform signal obtained by modulating the encrypted data, wherein The transmitted data includes MSDU, CMAC tag and error correction code or error checking and correction generated according to MSDU and CMAC tag.
2. The transmitting device according to claim 1, wherein The key stream generation unit generates a key stream based on information obtained by truncating the time information in predetermined time units in addition to the time information.
3. The transmitting device according to claim 1, wherein The key stream generation unit generates a key stream by using an ID unique to the transmitting device as an initial value and further using a secret key in addition to the time information.
4. The transmitting device according to claim 1, wherein The information that differs depending on the timing is, in addition to the time information, a key stream generated immediately before or encrypted data generated immediately before.
5. The transmitting device according to claim 1, wherein The transmission unit repeatedly transmits the waveform signal obtained by modulating encrypted data obtained by encrypting the same transmission data at different timings.
6. A transmission method for low power wide area (LPWA) communication, include: A medium access control MAC service data unit MSDU generation process, used to generate an MSDU according to a payload; A cipher-based message authentication code CMAC process for generating a CMAC tag from the MSDU through CMAC processing; a key stream generation process for generating a key stream by using information that differs depending on timing as an initial value, the information that differs depending on timing being time information, and the time information including global positioning system GPS time information; Encryption processing for converting transmission data into encrypted data by using a key stream; and a transmission process for transmitting a waveform signal obtained by modulating the encrypted data, wherein The transmitted data includes MSDU, CMAC tag and error correction code or error checking and correction generated according to MSDU and CMAC tag.
7. A receiving device for low power wide area (LPWA) communications, include: a receiving unit that receives a waveform signal transmitted from a transmitting device and obtained by modulating encrypted data obtained by encrypting transmission data using a key stream generated by using information that differs depending on timing as an initial value, the information that differs depending on timing being time information, and the time information including global positioning system GPS time information; a key stream generating unit that generates a key stream by using the information that differs depending on the timing as an initial value; a polarity reversal unit, the polarity reversal unit reversing the polarity of the waveform of the waveform signal through a key stream; a decoding unit, the decoding unit decoding the transmission data based on the polarity-inverted waveform signal; a medium access control MAC service data unit MSDU decoding unit, the MSDU decoding unit decoding the MSDU and the cipher-based message authentication code CMAC tag by performing error correction using an error correction code or error checking and correction according to the transmission data; and a CMAC processing unit, wherein the CMAC processing unit generates a CMAC tag through CMAC processing according to the MSDU, and compares the CMAC tag with the CMAC tag decoded by the MSDU decoding unit to determine whether the transmitted data has been tampered with, The transmission data includes an MSDU generated based on a payload, a CMAC tag generated based on the MSDU through CMAC processing, and an error correction code or error checking and correction obtained based on the MSDU and the CMAC tag.
8. The receiving device according to claim 7, wherein The key stream generation unit generates a key stream based on information obtained by truncating the time information in predetermined time units in addition to the time information.
9. The receiving device according to claim 7, wherein The key stream generation unit generates a key stream by using an ID unique to the transmitting device as an initial value and further using a secret key in addition to the time information.
10. The receiving device according to claim 7, wherein The information that differs depending on the timing is, in addition to the time information, a key stream generated immediately before or encrypted data generated immediately before.
11. The receiving device according to claim 7, wherein The receiving unit receives, from the transmitting device, a waveform signal which is repeatedly transmitted at different timings and is obtained by modulating encrypted data obtained by encrypting the same transmission data.
12. The receiving device according to claim 11, further comprising: include: an integral storage unit that integrates and stores a waveform obtained by inverting the polarity of a waveform of a waveform signal repeatedly transmitted from the transmitting device and obtained by modulating encrypted data obtained by encrypting the same transmitted data in the polarity inversion unit by a key stream, wherein The decoding unit decodes the transmission data based on the waveform signal which is integrated and stored in the integration storage unit and has its polarity inverted.
13. The receiving device according to claim 7, wherein The polarity inversion unit inverts the polarity of the waveform of the waveform signal by multiplying the polarity of the waveform of the waveform signal by a coefficient set by a key stream.
14. A receiving method for low power wide area (LPWA) communication, include: a reception process for receiving a waveform signal transmitted from a transmission device and obtained by modulating encrypted data obtained by encrypting transmission data by using a key stream generated by using information that differs depending on timing as an initial value, the information that differs depending on timing being time information, and the time information including global positioning system GPS time information; A key stream generation process for generating a key stream by using the information that differs depending on the timing as an initial value; Polarity inversion processing, used to invert the polarity of the waveform of the waveform signal by using a key stream; Decoding processing, for decoding the transmitted data based on the polarity-inverted waveform signal; a medium access control MAC service data unit MSDU decoding process for decoding the MSDU and the cipher-based message authentication code CMAC tag by performing error correction using an error correction code or error checking and correction according to the transmitted data; and CMAC processing is used to generate a CMAC tag according to the MSDU through CMAC processing, and compare the CMAC tag with the CMAC tag decoded by the MSDU decoding unit to determine whether the transmitted data has been tampered with, wherein The transmission data includes an MSDU generated based on a payload, a CMAC tag generated based on the MSDU through CMAC processing, and an error correction code or error checking and correction obtained based on the MSDU and the CMAC tag.
