WO2023119893A1 - データ処理装置 - Google Patents
データ処理装置 Download PDFInfo
- Publication number
- WO2023119893A1 WO2023119893A1 PCT/JP2022/040708 JP2022040708W WO2023119893A1 WO 2023119893 A1 WO2023119893 A1 WO 2023119893A1 JP 2022040708 W JP2022040708 W JP 2022040708W WO 2023119893 A1 WO2023119893 A1 WO 2023119893A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- register
- communication
- data
- information
- host
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/08—Error detection or correction by redundancy in data representation, e.g. by using checking codes
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/08—Error detection or correction by redundancy in data representation, e.g. by using checking codes
- G06F11/10—Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's
- G06F11/1004—Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's to protect a block of data words, e.g. CRC or checksum
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/42—Bus transfer protocol, e.g. handshake; Synchronisation
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/50—Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
- G06F21/57—Certifying or maintaining trusted computer platforms, e.g. secure boots or power-downs, version controls, system software checks, secure updates or assessing vulnerabilities
Definitions
- the present disclosure relates to a data processing device.
- a data processing device includes, as address areas, a setting area for storing setting information transmitted from a host, a security data area for storing security data for the setting information, and a host. and a communication unit for performing register communication between the host and the register.
- a security data area for storing security data for setting information and a communication area for storing communication information between a host and a register address area in the data processor. and an information area for register communication between the data processing device and the host.
- FIG. 1 is a block diagram schematically showing an overall configuration example of a data transmission system according to an embodiment of the present disclosure
- FIG. FIG. 2 is an explanatory diagram schematically showing an example of communication by adding a CRC code as a general safety/security technique
- FIG. 2 is an explanatory diagram schematically showing an example of communication by adding a message authentication code as a general safety/security technique
- FIG. 2 is an explanatory diagram schematically showing an example of encrypted communication as a general safety/security technique
- FIG. 4 is an explanatory diagram showing an example of a register configuration (register map) according to the technology according to one embodiment
- FIG. 10 is a sequence diagram showing an example of register communication by the technique according to one embodiment
- FIG. 10 is a sequence diagram showing an example of register communication by the technique according to one embodiment
- FIG. 11 is a sequence diagram showing an example of register communication when transmission of communication information is partially omitted
- FIG. 11 is a sequence diagram showing an example of register communication when transmission of communication information is partially omitted
- 1 is a block diagram schematically showing a first configuration example of a CIS as a data processing device according to one embodiment
- FIG. 11 is a block diagram showing a specific example of a write determination unit in the CIS shown in FIG. 10
- FIG. 11 is a sequence diagram showing an example of register communication realized by the configuration example shown in FIG. 10
- FIG. FIG. 10 is a sequence diagram showing an example of register communication by the technique according to one embodiment
- FIG. 4 is a block diagram schematically showing a second configuration example of a CIS as a data processing device according to one embodiment
- 15 is a block diagram showing a specific example of a write determination unit in the CIS shown in FIG. 14
- FIG. 16 is a sequence diagram showing an example of register communication in a CRC mode realized by the configuration example shown in FIG. 15
- FIG. 10 is a sequence diagram showing an example of register communication in encryption mode according to the technology according to one embodiment
- FIG. 10 is a sequence diagram showing an example of register communication when reading is performed by the technology according to one embodiment
- FIG. 11 is a sequence diagram showing an example of register communication when reading is performed in encryption mode by the technology according to one embodiment
- FIG. 10 is a sequence diagram showing an example of register communication by the technique according to one embodiment
- FIG. 5 is a sequence diagram showing an example of register communication including operation of a write counter according to the technology according to one embodiment
- FIG. 10 is a sequence diagram showing an example of register communication including operations of a Read counter according to the technology according to one embodiment
- FIG. 10 is a sequence diagram showing an example of register communication including operations of a Read counter according to the technology according to one embodiment
- FIG. 11 is a block diagram schematically showing a third configuration example of a CIS as a data processing device according to one embodiment
- FIG. 5 is a sequence diagram showing an example of register communication including operation of a write counter according to the technology according to one embodiment
- FIG. 11 is a block diagram schematically showing a fourth configuration example of a CIS as a data processing device according to one embodiment
- FIG. 5 is a sequence diagram showing an example of register communication including operation of a write counter according to the technology according to one embodiment
- FIG. 11 is an explanatory diagram showing a modification of the configuration of registers (register map) according to the technology according to one embodiment
- FIG. 5 is a sequence diagram showing an example of register communication including operation of a write counter according to the technology according to one embodiment
- FIG. 10 is a sequence diagram showing an example of register communication by the technique according to one embodiment
- FIG. 10 is a sequence diagram showing an example of register communication by the technique according to one embodiment
- FIG. 10 is a sequence diagram showing an example of register communication by the technique according to one embodiment
- FIG. 10 is a sequence diagram showing an example of register communication by the technique according to one embodiment
- FIG. 10 is a sequence diagram showing an example of register communication by the technique according to one embodiment
- FIG. 10 is a sequence diagram showing an example
- FIG. 5 is a sequence diagram showing an example of register communication including operation of a write counter according to the technology according to one embodiment
- FIG. 5 is a sequence diagram showing an example of register communication including operation of a write counter according to the technology according to one embodiment
- FIG. 10 is a sequence diagram showing an example of register communication by the technique according to one embodiment
- FIG. 5 is a sequence diagram showing an example of register communication including operation of a write counter according to the technology according to one embodiment
- FIG. 10 is a sequence diagram showing an example of register communication by the technique according to one embodiment
- FIG. 5 is a sequence diagram showing an example of register communication including operation of a write counter according to the technology according to one embodiment
- FIG. 5 is a sequence diagram showing an example of register communication including operations of a Read counter and a Write counter according to the technology according to one embodiment;
- FIG. 1 schematically shows an overall configuration example of a data transmission system according to an embodiment of the present disclosure.
- the data transmission system is, for example, a technique for improving the security of register communication between an image sensor (CIS (CMOS (Complementary Metal-Oxide Semiconductor) Image Sensor) 1) inside a camera and a host 2.
- CIS Complementary Metal-Oxide Semiconductor
- CIS Complementary Metal-Oxide Semiconductor
- a data transmission system includes a CIS 1 as a data processing device, a host 2, a transmission line 3, and a transmission line 4.
- the CIS 1 includes a communication section 110, an upper layer 113, a communication section 120, a data processing section 123, and a sensor section .
- the communication unit 110 has a physical layer (PHY) 111 and a link layer (LINK) 112.
- the communication unit 120 has a physical layer (PHY) 121 and a link layer (LINK) 122 .
- the upper layer 113 has a register 130 , a CPU (Central Processing Unit) 131 and hardware (HW) 132 . Note that the upper layer 113 may be configured without the CPU 131 .
- CPU Central Processing Unit
- HW hardware
- the host 2 comprises a communication section 210 , an upper layer 213 , a communication section 220 and a data processing section 223 .
- the communication unit 210 has a physical layer (PHY) 211 and a link layer (LINK) 212 .
- the communication unit 220 has a physical layer (PHY) 221 and a link layer (LINK) 222 .
- the upper layer 213 has a register 230 , a CPU 231 and hardware (HW) 232 .
- the CIS 1 has a communication IF (register IF) for communication with the CIS 1 as a slave and the host 2 as a master, and a high-speed IF (data output IF) for outputting large data such as image data acquired by the sensor unit 124. .
- a communication IF register IF
- a high-speed IF data output IF
- the communication unit 110 of the CIS 1 and the communication unit 110 of the host 2 each constitute a communication IF (register IF) capable of mutual communication (register communication) between the mutual registers 130 and 230 via the transmission path 3 .
- the register IF may include multiple types of IFs with different protocols and be configured to be switchable between multiple types of IFs.
- two types of IFs SPI (Serial Peripheral Interface) and I2C (Inter Integrated Circuit), may be mounted and configured to be switchable.
- the communication unit 120 of the CIS 1 constitutes a high-speed IF (data output IF) that outputs large data such as image data acquired from the sensor unit 124 to the communication unit 220 of the host 2 via the transmission line 4.
- High-speed IFs include, for example, MIPI (Mobile Industry Processor Interface), SLVS-EC (Scalable Low Voltage Signaling with Embedded Clock), and SLVS (Scalable Low Voltage Signaling).
- the register 130 of CIS1 stores the setting information sent from the host 2 via the register IF.
- the processing operation of each section inside the CIS 1 is determined by what value is set as the setting information in the register 130 .
- the setting information includes, for example, exposure time, gain, resolution (pixel addition, thinning number), frame rate, ROI (Region of Interest), and other operation mode information.
- the register 130 of the CIS 1 stores information on various states within the CIS 1, environment information, and the like.
- Various state information and environmental information stored in the register 130 can be read from the host 2 via the register IF.
- Various state information and environmental information include, for example, temperature information inside the CIS 1, metadata when image information from the sensor unit 124 is processed by the data processing unit 123, error and warning detection information, and the like.
- the upper layer 213 determines how the CIS1 behaves, and transmits the value that determines the behavior of the CIS1 as setting information via the register IF.
- the host 2 changes the value of the setting information in accordance with various state information and environment information read from the register 130 of the CIS 1 . Since the behavior of the CIS 1 differs depending on the use case, the SW (software) of the CPU 231 of the host 2 is often configured to be relatively easily rewritable.
- the upper layer 213 is composed of an FPGA (Field Programmable Gate Array), both the CPU 231 and the hardware 232 have variable configurations.
- the upper layers 113 and 213 may be determined only by the upper layers 113 and 213 according to the specifications of the registers 130 and 230 (definition of addresses and values). For example, in the register IF, how to transmit setting information is ruled as specifications of the physical layers 111 and 211 and the link layers 112 and 212 . As a result, the upper layer 113, 213 only needs to define the addresses of the registers 130, 230 and the operation when a value is set in the register 130, and control is performed between the CIS 1 and the host 2 via the register IF. You can exchange information and other information.
- FIG. 2 schematically shows an example of communication by adding a CRC code (error detection code) as a general safety/security technique.
- CRC code error detection code
- CRC error judgment
- ECC error correction
- Fig. 3 schematically shows an example of communication by adding a message authentication code (MAC) as a general safety/security technology.
- MAC message authentication code
- MAC is often used for communication requiring real-time performance such as communication IF (a signature may be used).
- a signature may be used.
- the data output side and the data input side have a common encryption secret key K (K B ).
- K B common encryption secret key
- a MAC is generated using the common cryptographic secret key K (K B ), and the generated MAC is added to data to be communicated and output.
- IV initial vector
- IV information is not required because IV0 is used for calculation, but in the case of using GMAC (Galois Message Authentication Code), IV information is also added and output.
- K B common encryption secret key
- data is authenticated by comparing it with the MAC added to the data.
- Fig. 4 schematically shows an example of encrypted communication as a general safety/security technology.
- Encryption technology may be used to prevent the data itself from being prying eyes.
- the data output side and the data input side have a common encryption secret key K (K B ).
- K B common encryption secret key
- the data to be communicated is encrypted using the common encryption secret key K (K B ) and IV (initial vector) to generate and output encrypted data.
- the encrypted data is decrypted using the common encryption secret key K(K B ) and IV.
- Theme For example, in the configuration of the data transmission system shown in FIG. 1, security requirements for CIS1 are beginning to appear, but not all customers of CIS1 have the same security requirements. In addition, it is difficult to simultaneously change the host 2 (FPGA or ASIC (Application Specific Integrated Circuit)) for all products such as industrial equipment that has a long product life to one compatible with the CIS1 security protocol.
- Some register IFs are equipped with multiple types of IFs with different protocols and are configured to be switchable between multiple types of IFs. In this case, the security of the register IF is maintained without changing the protocol of each IF. We need specifications that can What kind of function is required depends on the application in which the CIS1 is installed.
- security techniques include CRC, MAC, and encryption, each of which provides different functions. Defining a different register IF protocol for each required function makes it difficult to extend the technology, and depending on the contents, it is necessary to continuously update the protocols of the physical layers 111 and 211 and the link layers 112 and 212 of the register IF. ,There will be a cost.
- FIG. 5 shows an example of the configuration (register map) of the registers 130 according to the technology according to one embodiment. Note that the addresses in the register map shown in FIG. 5 are only examples, and can be changed as required.
- the register 130 in the CIS 1 has a setting area (sensor register 311) for storing setting information transmitted from the host 2 as an address area.
- a security data area for storing security data for setting information and a host 2
- a communication information area for storing communication information between them.
- the upper layers 113 and 213 exchange safety/security information with the CIS1 host 2 using the address area for safety/security in the register 130 .
- the functions supported by the objects that can be connected by the existing register IF can be selected or changed later, so that the upper layers 113 and 213 are safe instead of being determined by the rules on the protocol of the register IF. • Allow security checks to be performed.
- the technology according to one embodiment may have a function of determining whether or not the address area is for safety/security, and a function of selecting whether or not to access the address area for safety/security.
- the functional safety/security data area 313 stores, as security data, for example, an error detection code (CRC code) related to setting information and a message authentication code (MAC) related to setting information.
- CRC code error detection code
- MAC message authentication code
- the functional safety/security data area 313 stores, for example, encrypted data including setting information as security data.
- the functional safety/security data area 313 is, for example, an address area of 256 bytes ⁇ n.
- the functional safety/security data area 313 may include a Write register for writing security data and a Read register for reading.
- the communication information register 312 is a mode setting register for safety and security.
- the communication information register 312 stores, as communication information, for example, communication mode information indicating the communication mode of register communication, status information indicating the start of communication of register communication, and status information indicating the end of communication of register communication.
- the functional safety/security data area 313 and the communication information register 312 of the register 130 may be switched between using the functional safety/security data area 313 and the communication information register 312 of the register 130 by means of the CPU code or Fuse in the CIS 1 . Further, it may be configured such that CPU code or Fuse can switch which one of a plurality of functions based on safety/security technology is to be used. By commonly using the communication information register 312 and the functional safety/security data area 313 for a plurality of functions, the size of the register area can be reduced. It is possible to select which one of the multiple functions to use later by setting when the product is started, by changing the software part, or by switching with Fuse.
- the address areas of the communication information register 312 and the functional safety/security data area 313 it is sufficient to prepare only areas necessary for the functions of the corresponding operation modes among the functions of the safety/security technologies. For example, if a large area is not required, such as when only CRC is supported, the address areas of the communication information register 312 and functional safety/security data area 313 may be small in size. If CIS1 can support CRC and MAC, only the larger size of the address area required for CRC or MAC should be prepared. Even if the configuration is compatible with both CRC and MAC, there is no need to prepare both the CRC address area and the MAC address area.
- the technology has a function of notifying notification information regarding safety and security from the side of CIS 1, which is a slave.
- the notification information may be, for example, a processing status indicating a processing state in the register 130 or error information occurring in processing in the register 130, as will be described later.
- the processing status is indicated by processing state FS_S_ACT, for example, as described below.
- Error information is indicated by an error state FS_S_ERR, for example, as described below.
- the CIS 1 has a notification unit that outputs notification information.
- the notification unit may be, for example, the write determination units 410 and 410A and the register information store 420 (FIGS. 10, 14, etc., which will be described later).
- the notification information may be output to the host 2 through dedicated terminals (processing state output terminal 501 and error output terminal 502) as shown in FIGS.
- the slave side may be provided with an IF having an interrupt function such as I3C (Improved Inter Integrated Circuits), and the notification information may be output to the host 2 using the IF having the interrupt function.
- the communication unit 120 as a data output unit, notification information from the notification unit may be added to the sensor data output from the sensor unit 124 and output together with the sensor data to the host 2 .
- the method of notifying the notification information may be a combination of the plurality of methods described above.
- MAC mode a communication mode using MAC
- CRC mode a communication mode using CRC
- encryption mode a communication mode using encryption
- FIG. 6 is a sequence diagram illustrating an example of register communication by the technique according to one embodiment.
- FIG. 6 shows an example of register communication when writing setting information to the sensor register 311 in the MAC mode.
- the CIS 1 writes the operation mode value (MAC_REGW) to the FS_S_STETE register of the communication information register 312 once.
- setting information for the sensor register 311 is transmitted from the host 2 via the register IF.
- As the setting information for example, an address to change the setting value in the sensor register 311 and a group of setting values (multiple combinations are possible) are transmitted.
- the CIS 1 writes setting information to the sensor register 311 .
- various register settings are made in the sensor register 311 . In the sensor register 311, writing to a group of registers requiring writing may be performed by combining single Write and continuous Write.
- the operation mode value of the FS_S_STETE register of the communication information register 312 is set to zero.
- status FS_S_STATE MAC_DATAW indicating a request to start writing security data in MAC mode is transmitted from the host 2 via the register IF as communication information.
- the CIS 1 writes the operation mode value (MAC_DATAW) to the FS_S_STETE register of the communication information register 312 once.
- security data (MAC data) in MAC mode is transmitted from the host 2 via the register IF.
- the CIS 1 writes MAC data to the functional safety/security data area 313 .
- MAC data may be transmitted by burst transfer with high transfer speed.
- information necessary for processing other than MAC may also be transmitted. For example, MAC mode information when there are multiple algorithms and information such as IV when using GMAC may also be transmitted. If multiple algorithms can be handled, the operation mode may be fixed in advance when the product is started or by Fuse.
- the operation mode value of the FS_S_STETE register of the communication information register 312 is set to zero.
- the CIS 1 can support multiple transfer modes by notifying the communication mode as communication information from the host 2 .
- the technique according to one embodiment by storing the status information indicating the start of communication and the status information indicating the end of communication as communication information in the communication information register 312, the address area of the register 130 to be set is stored.
- a block of data can be transmitted from the host 2 regardless of the size, and communication can be performed without being affected by the transfer unit such as burst transfer.
- the start of data transmission can be clarified between the host 2 and the CIS1.
- the technology according to one embodiment can collectively target multiple addresses and data for CRC, MAC, or encryption.
- the technique according to one embodiment can transmit data more efficiently than transmitting CRC data or MAC data for each transfer unit.
- FIG. 7 is a sequence diagram illustrating an example of register communication by the technique according to one embodiment.
- FIG. 7 shows an example of register communication when setting information is written to the sensor register 311 in the CRC mode. Also, FIG. 7 shows an example in which it takes a relatively long time from the transmission of the setting information to the transmission of the CRC data.
- CRC mode and MAC mode are basically the same in terms of operational image, except that the arithmetic processing performed on the data to be protected is different.
- the setting information for example, an address to change the setting value in the sensor register 311 and a group of setting values (multiple combinations are possible) are transmitted.
- the CIS 1 writes the operation mode value (CRC_REGW) to the FS_S_STETE register of the communication information register 312 once.
- setting information for the sensor register 311 is transmitted from the host 2 via the register IF.
- the CIS 1 writes setting information to the sensor register 311 .
- various register settings are made in the sensor register 311 . In the sensor register 311, writing to a group of registers requiring writing may be performed by combining single Write and continuous Write.
- the operation mode value of the FS_S_STETE register of the communication information register 312 is set to zero.
- the CIS 1 writes the operation mode value (CRC_DATAW) to the FS_S_STETE register of the communication information register 312 once.
- security data (CRC data) in CRC mode is transmitted from the host 2 via the register IF.
- the CIS 1 writes CRC data in the functional safety/security data area 313 .
- the CRC data may be transmitted by burst transfer with high transfer rate. Information necessary for processing other than CRC may also be transmitted as security data. For example, CRC mode information when there are multiple algorithms may also be transmitted.
- the operation mode may be fixed in advance when the product is started or by Fuse.
- the operation mode value of the FS_S_STETE register of the communication information register 312 is set to zero.
- FIGS. 8 and 9 are sequence diagrams showing an example of register communication when transmission of communication information is partially omitted.
- FIGS. 8 and 9 show examples in which it takes relatively little time from transmission of setting information to transmission of CRC data.
- FIG. 8 shows an example of register communication when setting information is written to the sensor register 311 in the CRC mode.
- FIG. 9 shows an example of register communication when setting information is written to the sensor register 311 in the CRC mode, and information designating the CRC algorithm is further transmitted from the host 2 as communication information.
- FIG. 10 schematically shows a first configuration example of CIS1 as a data processing device according to one embodiment.
- the CIS 1 includes a communication unit 110, a communication unit 120, a data processing unit 123, a sensor unit 124, a register 130, a write determination unit 410, and a processing state output terminal. 501 and an output terminal 502 .
- the processing state output terminal 501 outputs a processing status (processing state FS_S_ACT) indicating the processing state in the register 130 to the host 2 as notification information.
- the error output terminal 502 outputs error information (error state FS_S_ERR) occurring in processing in the register 130 to the host 2 as notification information.
- the data processing unit 123 performs various data processing on the sensor data output from the sensor unit 124.
- the communication unit 120 adds notification information such as error information to the sensor data that has undergone various data processing in the data processing unit 123 , and outputs the sensor data to the host 2 .
- FIG. 10 shows a configuration example in which, after writing a set value to the sensor register 311, whether or not the written value is correct is determined by, for example, CRC.
- Setting values from the host 2 are sequentially reflected in the sensor register 311 via the communication unit 100 .
- the setting values in each part of the CIS 1 may be reflected, for example, after being latched at the timing of the frame synchronization signal (Frame Sync) of the sensor data.
- Frame Sync frame synchronization signal
- FIG. 11 shows a specific example of the write determination unit 410 in the CIS 1 shown in FIG.
- the write determination unit 410 has a register communication detection unit 411 , a data calculation unit 412 , an error detection unit 413 and a write counter 414 .
- the register communication detection unit 411 detects that register communication has occurred.
- a data calculation unit 412 performs calculations related to CRC, MAC, encryption, and the like.
- the error detection section 413 performs error detection based on the calculation result of the data calculation section 412 .
- the write counter 414 counts the write requests to the register 130 based on the detection result of the register communication detection unit 411 .
- the write determination unit 410 determines whether the setting information reflected in the sensor register 311 is true or false based on the security data.
- the communication information register 312 notifies the write determination unit 410 of the calculation start timing and the calculation completion timing in the data calculation unit 412 .
- the communication information register 312 notifies the completion (determination timing) of writing security data such as CRC data and MAC data to the functional safety/security data area 313 .
- FIG. 12 is a sequence diagram showing an example of register communication realized by the configuration example shown in FIG. FIG. 12 shows an example of register communication when writing setting information to the sensor register 311 in the CRC mode.
- FIG. 12 shows an example of register communication when, after writing a set value to the sensor register 311, it is judged by CRC whether or not the written value is a correct value.
- FIG. 12 shows an example in which notification information such as setting value error information is added to the sensor data output from the sensor unit 124 in synchronization with the frame synchronization signal of the sensor data and output. Even if the set values are not reflected in the register 130 after judging whether or not they are correct, by adding error information to the sensor data and outputting it, if it is known whether or not the set values can be trusted, it can be processed at a later stage. . There is also the advantage that the register 130 can be reflected at the fastest possible time before the register write decision is made.
- the processing state FS_S_ACT indicates that it is Active when it is High, for example.
- the error state FS_S_ERR indicates that it is Active if it is Low, for example.
- An example of the frame format of sensor data is shown at the bottom of FIG. MIPI and SLVS-EC define Embedded Data (EBD) that can be used as a data area other than an image as a frame format for image data.
- the communication unit 120 as a data output unit outputs state information (notification information) from the write determination unit 410 as a notification unit to Embedded Data in sensor data, for example, at timing synchronized with a frame synchronization signal (Frame Sync).
- the processing state FS_S_ACT is Negative
- the error state FS_S_ERR is Negative
- the processing state FS_S_ACT is Active
- the error state FS_S_ERR is Negative
- the processing state FS_S_ACT is Negative
- the error state FS_S_ERR is Negative
- FIG. 13 is a sequence diagram showing an example of register communication by the technique according to one embodiment.
- FIG. 13 shows an example of register communication when writing setting information to the sensor register 311 in the CRC mode.
- FIG. 13 shows an example of register communication in the case of determining whether or not the setting value is correct by CRC before writing the setting value to the sensor register 311 and then writing the setting value to the sensor register 311 .
- the MAC may determine whether the setting value is correct or not, and then write the setting value to the sensor register 311. good.
- the lower part of FIG. 13 shows a processing image within CIS1.
- the CIS 1 generates CRC data (MAC data in MAC mode) based on the setting information data transmitted from the host 2 (step S11).
- a write counter 414 counts the number of write requests to the sensor register 311 .
- the CIS 1 compares the CRC data transmitted as security data from the host 2 with the CRC data generated inside the CIS 1 (step S12). After that, the CIS 1 reflects the set value in the sensor register 311 (step S13).
- CIS1 notifies completion of processing by processing state FS_S_ACT (step S14). Also, if there is an error, error information is notified by the error state FS_S_ERR (step S14).
- FIG. 14 schematically shows a second configuration example of CIS1 as a data processing device according to one embodiment.
- the CIS 1 includes a communication unit 110, a communication unit 120, a data processing unit 123, a sensor unit 124, a register 130, a write determination unit 410A, and a register information store 420. , a processing state output terminal 501 and an output terminal 502 .
- the register information store 420 is a temporary storage unit that temporarily stores setting information sent from the host 2 .
- the write determination unit 410A determines whether the setting information stored in the register information store 420 is correct based on security data such as CRC and MAC. to reflect the writing of the setting information.
- FIG. 14 shows an example in which information written to the sensor register 311 is temporarily stored in the memory (register information store 420) within the CIS 1 and reflected only when it matches the CRC value or MAC value. Since the set value is reflected in the sensor register 311 only when the CRC value and MAC value match, the CIS 1 does not operate with an unexpected value.
- Notification information such as the processing state FS_S_ACT and the error state FS_S_ERR may be output to the Read register of the functional safety/security data area 313 instead of the processing state output terminal 501 and the error output terminal 502 . Also, notification information may be output to Embedded Data in sensor data.
- FIG. 15 shows a specific example of the write determination unit 410A in the CIS 1 shown in FIG.
- the write determination unit 410A has a register communication detection unit 411, a data calculation unit 412, an error detection unit 413, a write counter 414, and a register reflection determination unit 415.
- the register communication detection unit 411 detects that register communication has occurred.
- a data calculation unit 412 performs calculations related to CRC, MAC, encryption, and the like.
- the error detection section 413 performs error detection based on the calculation result of the data calculation section 412 .
- the write counter 414 counts the write requests to the register 130 based on the detection result of the register communication detection unit 411 .
- a register reflection determination unit 415 determines whether or not to reflect information written to the sensor register 311 based on the detection result of the error detection unit 413 .
- FIG. 16 is a sequence diagram showing an example of register communication in CRC mode realized by the configuration example shown in FIG.
- FIG. 17 is a sequence diagram illustrating an example of register communication in encryption mode according to the technology according to one embodiment.
- FIG. 17 shows an example of register communication when setting information to be written to the sensor register 311 is encrypted in the encryption mode.
- the lower right part of FIG. 17 shows a processing image in CIS1.
- the CIS 1 includes a decryption section 430 that decrypts encrypted data.
- the CIS 1 writes the operation mode value (USERDEF_DATAW) to the FS_S_STETE register of the communication information register 312 once.
- the encrypted setting information is sent as encrypted data from the host 2 via the register IF.
- the CIS 1 writes encrypted data in the functional safety/security data area 313 .
- the decryption unit 430 decrypts the encrypted data, and writes the setting information (register address and setting value) obtained by the decryption to the sensor register 311 .
- authentication confirmation that data has not been tampered with
- CIS1 notifies completion of processing indicating completion of decoding by processing state FS_S_ACT (step S21). Also, if there is an error, the error information is notified by the error state FS_S_ERR (step S21).
- FIG. 18 is a sequence diagram illustrating an example of register communication when reading is performed by the technique according to one embodiment.
- FIG. 18 shows an example of register communication when the host 2 makes a request to read setting information stored in the sensor register 311 in the CRC mode.
- the CIS 1 stores the setting information stored in the sensor register 311 and the security data related to the setting information stored in the functional safety/security data area 313. It reads and transmits the read data to the host 2 via the register IF. It should be noted that the operation for reading in MAC mode is basically the same.
- the CIS 1 writes the operation mode value (CRC_REGR) to the FS_S_STETE register of the communication information register 312 once.
- the CIS 1 reads the setting information stored in the sensor register 311 and transmits the read data to the host 2 via the register IF.
- the setting information includes, for example, the register address of the sensor register 311 to be read and the setting value.
- the operation mode value of the FS_S_STETE register of the communication information register 312 is set to zero.
- the processing state FS_S_ACT gives a completion notification indicating that the read processing has been completed. The notification may be made using the processing state output terminal 501 or the register IF.
- the CIS 1 writes the operation mode value (CRC_DATAR) to the FS_S_STETE register of the communication information register 312 once.
- the CIS 1 generates CRC data and writes the CRC data to the functional safety/security data area 313 .
- the CIS 1 reads the CRC data from the functional safety/security data area 313 and transmits the CRC data as security data to the host 2 via the register IF.
- the CRC data may include the register address of the sensor register 311 to be read and the CRC value.
- Information necessary for processing other than CRC may also be transmitted as security data. For example, CRC mode information when there are multiple algorithms may also be transmitted.
- the operation mode value of the FS_S_STETE register of the communication information register 312 is set to zero.
- FIG. 19 is a sequence diagram illustrating an example of register communication when reading is performed in encryption mode by the technique according to one embodiment.
- FIG. 19 shows an example of register communication when the host 2 makes a request to read setting information stored in the sensor register 311 in encryption mode.
- the CIS 1 encrypts the setting information stored in the sensor register 311 and writes it as encrypted data in the data area 313 for functional safety/security. Encrypted data is read from the safety/security data area 313
- the CIS 1 writes the operation mode value (USERDEF_DATAW) to the FS_S_STETE register of the communication information register 312 once.
- the CIS 1 reads the setting information stored in the sensor register 311 , encrypts the setting information, and writes the encrypted data in the functional safety/security data area 313 .
- the encrypted data may include an encrypted readout request command, and the address and data size of the sensor register 311 that is the target of the encrypted readout request. Sometimes it is better not to have an address. Whether or not the address is included depends on the product.
- the operation mode value of the FS_S_STETE register of the communication information register 312 is set to zero.
- the processing state FS_S_ACT gives a completion notification indicating that the write processing has been completed. The notification may be made using the processing state output terminal 501 or the register IF.
- the CIS 1 writes the operation mode value (USERDEF_DATAR) to the FS_S_STETE register of the communication information register 312 once.
- the CIS 1 reads the encrypted data from the functional safety/security data area 313 and transmits the encrypted data to the host 2 via the register IF.
- status FS_S_STATE 0, which indicates a read end request, is sent from the host 2 via the register IF as communication information.
- the operation mode value of the FS_S_STETE register of the communication information register 312 is set to zero.
- FIG. 20 is a sequence diagram illustrating an example of register communication by the technique according to one embodiment.
- FIG. 20 shows an example of state notification within the CIS 1 when setting information is written in the CRC mode.
- the processing state FS_S_ACT, the error state FS_S_ERR, and the counter information may be stored in the register 130 or may be output from the processing state output terminal 501 or the error output terminal 502 .
- sensor data when sensor data is output from the communication unit 120, it may be output as Embedded Data. A combination of these methods may also be used.
- the processing state FS_S_ACT may be a processing state indicating that various requests are being received and processed within the CIS1.
- the error state FS_S_ERR may be a state that notifies that an error has been detected within CIS1.
- a plurality of error states FS_S_ERR may be provided so as to be classified according to error classification. It may be changeable depending on the product.
- the CIS 1 may include a communication counter 416 as shown in FIGS. 24 and 26, which will be described later.
- the communication counter 416 may have a write counter and a read counter.
- the write counter counts, for example, the number of requests from the host 2 to write setting information to the sensor register 311 .
- the Read counter counts, for example, the host 2 making a read request for setting information.
- FIG. 21 is a sequence diagram illustrating an example of register communication including operations of a write counter according to the technology according to one embodiment.
- FIG. 21 shows an example of register communication when writing setting information to the sensor register 311 in the CRC mode.
- the Write counter may be incremented even if the CRC or MAC check result is an error and the set value in the sensor register 311 is not reflected.
- FIG. 22 is a sequence diagram illustrating an example of register communication including operations of a Read counter according to the technology according to one embodiment.
- FIG. 22 shows an example of register communication when the host 2 makes a request to read setting information stored in the sensor register 311 in the CRC mode.
- FIG. 23 is a sequence diagram illustrating an example of register communication including operations of a Read counter according to the technology according to one embodiment.
- FIG. 23 shows an example of register communication when the host 2 issues a read request for setting information stored in the sensor register 311 in the encryption mode.
- the counter value is incremented before the encrypted data is read from the functional safety/security data area 313 after the encrypted data is written in the area 313 .
- FIG. 24 schematically shows a third configuration example of CIS1 as a data processing device according to one embodiment.
- FIG. 24 shows a configuration example in which, after writing a set value to the sensor register 311, whether or not the written value is correct is determined by, for example, CRC.
- the CIS 1 includes a communication unit 110, a communication unit 120, a data processing unit 123, a sensor unit 124, a register 130, a write determination unit 410, and a processing state output terminal. 501 and an output terminal 502 .
- the CIS 1 also includes an overall control section 40 , a register communication detection section 411 , a data calculation section 412 , an error detection section 413 and a communication counter 413 .
- the sensor unit 124 has a communication counter 416, a write counter and a read counter.
- the sensor unit 124 has a pixel unit 41 , an ADC (analog-digital converter) 42 and a pixel control unit 43 .
- the register communication detection unit 411, the data calculation unit 412, and the error detection unit 413 are easy to construct even with the CPU 131 (FIG. 1) and easy to change later.
- the communication unit 120 as a data output unit adds notification information such as error information and a counter value from the communication counter 416 to the sensor data that has undergone various data processing in the data processing unit 123, and outputs the sensor data to the host 2. Output.
- the communication unit 120 adds the notification information and the counter value to the Embedded Data in the sensor data at the timing synchronized with the synchronization timing signal for the sensor data.
- the counter value of the communication counter 416 may be output to the register 130 .
- the setting value is reflected in the sensor register 311 before checking by CRC or MAC, by adding notification information, counter value and state to the sensor data and outputting it, it is possible to determine under what circumstances the CIS 1 operates.
- the host 2 can determine whether or not there is.
- the setting value should be reflected after checking by CRC or MAC. It is possible to lighten the processing load in
- FIG. 25 is a sequence diagram illustrating an example of register communication including operations of a write counter according to the technology according to one embodiment.
- FIG. 25 shows an example of register communication when writing setting information to the sensor register 311 in the CRC mode.
- FIG. 26 schematically shows a configuration example for realizing the processing shown in FIG. 25 as a fourth configuration example of the CIS 1 as a data processing device according to one embodiment.
- the CIS 1 includes a communication unit 110, a communication unit 120, a data processing unit 123, a sensor unit 124, a register 130, a write determination unit 410, and a processing state output terminal. 501 and an output terminal 502 .
- the CIS 1 also includes an overall control section 40 , a register communication detection section 411 , a data calculation section 412 , an error detection section 413 , a communication counter 413 and a register reflection determination section 415 .
- the register communication detection unit 411, the data calculation unit 412, the error detection unit 413, and the register reflection determination unit 415 can be easily constructed even by the CPU 131 (FIG. 1) and can be changed later. Cheap.
- FIG. 25 shows an example in which the information written to the sensor register 311 is temporarily held in the memory within the CIS 1, and the set value is reflected in the sensor register 311 only when it matches the CRC value or MAC value. Note that the operation in the MAC mode is the same.
- Notification information such as the processing state FS_S_ACT and the error state FS_S_ERR may be output to the Read register of the functional safety/security data area 313 instead of the processing state output terminal 501 and the error output terminal 502 . Also, notification information may be output to Embedded Data in sensor data.
- the communication unit 120 as a data output unit adds notification information such as error information and a counter value from the communication counter 416 to the sensor data that has undergone various data processing in the data processing unit 123, and outputs the sensor data to the host 2. Output.
- the communication unit 120 adds the notification information and the counter value to the Embedded Data in the sensor data at the timing synchronized with the synchronization timing signal for the sensor data.
- the counter value of the communication counter 416 may be output to the register 130 . By outputting the notification information and the counter value, the host 2 can know whether or not the new setting value has been reflected in the CIS1.
- the processing state FS_S_ACT is Active
- the error state FS_S_ERR is Negative
- the processing state FS_S_ACT is Negative
- the error state FS_S_ERR is Negative
- FIG. 27 is a sequence diagram illustrating an example of register communication including operations of a write counter according to the technology according to one embodiment.
- FIG. 27 shows an example of register communication when writing setting information to the sensor register 311 in the MAC mode.
- the Write counter also increments the counter value of the communication counter 416 in communication transfer units of register communication even when register communication in which communication information (FS_S_STATE) is not set is performed between the host 2 and the register 130. You may make it This makes it possible to detect communication that is not protected by functional safety/security functions. However, this alone poses safety and security problems, so it is desirable to determine a communication OK mode for each register area in CIS1 and register 130, and implement an implementation in which register 130 cannot be updated unless that mode is used. .
- FIG. 28 shows a modification of the configuration (register map) of the registers 130 according to the technology according to one embodiment.
- the sensor register 311 includes an area to be secured by a predetermined security process. It may be configured to be permitted when security processing is performed. It is desirable that the setting of each area is determined in advance when the product is started or manufactured, and that the configuration cannot be changed dynamically.
- multiple writes may be permitted in one area, such as "writable by MAC or encryption” or "writable by CRC or MAC".
- the designation of the area may be fixed at the time of designing the CIS 1, may be switched at the time of product manufacturing using Fuse or the like, or may be set at the time of startup.
- a partial area of the sensor register 311 may be used as the MAC area.
- the MAC area may store write data from the host 2 to the CIS 1 depending on the environment such as exposure time, and read data such as environmental information such as temperature information.
- the communication information register 312 may be an area that can be read and written without MAC or encryption.
- the communication information register 312 may be an area that can be read and written without MAC or encryption.
- a partial area of the sensor register 311 may be an encrypted area.
- dictionary information of functional sensors equipped with AI artificial intelligence
- readout data such as environmental information such as temperature information
- other operational mode information can also be privacy information depending on the installation environment, and are encrypted and stored in the encrypted area. You can remember.
- FIG. 29 is a sequence diagram illustrating an example of register communication including operations of a write counter according to the technology according to one embodiment.
- FIG. 29 shows an example of register communication when writing setting information to the sensor register 311 in the MAC mode.
- the write counter increments the counter value of the communication counter 416 in communication transfer units of register communication even when register communication in which communication information (FS_S_STATE) is not set is performed between the host 2 and the register 130. can be This makes it possible to detect communication that is not protected by functional safety/security functions. In combination with this function, when register communication in which communication information is not set is performed between the host 2 and the register 130, writing of setting information to the sensor register 311 may not be reflected. good. This enables safer and more secure communication.
- FIG. 29 shows an example in which the setting values are not reflected unless the CIS 1 is in the MAC mode and the MAC is not correct. If there is MAC mode register communication, the Write counter is incremented whether the MAC value is correct or not. In this case, the value is reflected in the register 130 if the MAC value is correct, and the value is not reflected in the register 130 if it is not correct.
- the counter is incremented for each communication transfer. In this case, the value is not reflected in the register 130 because it is not the MAC mode.
- FIG. 30 is a sequence diagram illustrating an example of register communication by the technique according to one embodiment.
- FIG. 30 shows an example of register communication when writing setting information to the sensor register 311 in the CRC mode.
- communication mode information including algorithm information corresponding to desired security processing is transmitted from the host 2 as communication information before writing or reading setting information to or from the sensor register 311. It may be configured as
- FIG. 30 shows an example of register communication when the CRC operation mode is changed according to the amount of data to be transmitted by "various register settings".
- the CIS 1 can select processing according to the length of the data.
- the information on the CRC operation mode may be, for example, information on the selection of the CRC algorithm (for example, information on switching between CRC16 and CRC32).
- the bit width of FS_S_STATE may be extended as a mode register, or the register area in the communication information register 312 may have a new register area as a mode register, for example, a register area for storing FS_S_MODE. good. That is, it may have two types of register areas for storing FS_S_STATE and FS_S_MODE as mode registers.
- FIG. 31 is a sequence diagram illustrating an example of register communication by the technique according to one embodiment.
- FIG. 31 shows an example of register communication when writing setting information to the sensor register 311 in the CRC mode.
- the host 2 may transmit information notifying that communication mode information is included as communication information. For example, when notifying the communication mode information using the mode register, the host 2 may notify the CIS 1 whether or not there is a mode register using the FS_S_STATE bit.
- FIG. 31 shows an example in which FS_S_STATE[7] notifies the presence or absence of the mode register (1: mode register present, 0: no mode register).
- FIG. 32 is a sequence diagram illustrating an example of register communication by the technique according to one embodiment.
- FIG. 32 shows an example of register communication when writing setting information to the sensor register 311 in the MAC mode.
- information used for desired security processing is transmitted from the host 2 before communication information is transmitted from the host 2, and the information used for desired security processing is used as security data for functional safety and security purposes. It may be written in the data area 313 .
- information necessary for processing other than MAC may also be transmitted from the host 2 as security data.
- security data For example, MAC mode information when there are multiple algorithms and information such as IV when using GMAC may also be transmitted. In this case, information such as IV may be transmitted from the host 2 first.
- the security data is large data of several bytes or more, by writing part of the data in the functional safety/security data area 313 in advance, the register area can be effectively used, and in parallel with the register communication ( MAC operations can be performed in parallel with various register communication times).
- FIG. 33 is a sequence diagram illustrating an example of register communication including operations of a write counter according to the technology according to one embodiment.
- FIG. 33 shows an example of register communication when writing setting information to the sensor register 311 in the CRC mode.
- the setting information sent from the host 2 may include the counter expected value for the counter value of the Write counter.
- Registers 130 may include a write counter expected value register that stores a write counter expected value.
- the Write counter value and the Write counter expected value are compared. If FS_S_STATE changes from not0 to 0, the counter of the write counter expected value register is incremented and the expected value is also set. As a result, the Write counter expected value register can be subject to CRC and MAC checks in the same way as a normal register area.
- FIG. 34 is a sequence diagram showing an example of register communication by the technique according to one embodiment.
- FIG. 34 is a sequence diagram showing an example of register communication including the operation of the write counter according to the technology according to one embodiment.
- the CIS 1 may have a register information store 420 as a temporary storage unit that temporarily stores the setting information sent from the host 2 (Fig. 14).
- the write determination unit 410A of the CIS 1 determines whether the setting information stored in the temporary storage unit is correct based on the security data. The writing of the setting information may be reflected in the sensor register 311 when the counter expected value stored in the register matches.
- the setting value may be written (reflecting the register value) only when the CRC value and MAC value match and the Write counter expected value also matches.
- FIG. 35 is a sequence diagram illustrating an example of register communication by the technique according to one embodiment.
- FIG. 35 shows an example of state notification within the CIS 1 when setting information is written in the CRC mode.
- FIG. 35 shows an example of error detection by normal operation as error detection.
- CIS1 by seeing that the processing state FS_S_ACT has become Low, it can be understood that the writing of the setting value to the sensor register 311 has been completed. If the error state FS_S_ERR remains Low and an error has not been detected, the reflection of the set value to the sensor register 311 is finished when the processing state FS_S_ACT becomes Low.
- the CIS 1 judges whether the setting information is correct or incorrect based on the security data (CRC data or MAC data), and outputs error information as notification information in the error state FS_S_ERR when it is determined that the setting information is incorrect. .
- FIG. 36 is a sequence diagram illustrating an example of register communication including operations of a write counter according to the technology according to one embodiment.
- error information may be output as notification information.
- error information is output as an unexpected or undefined process. You may do so.
- FIG. 36 shows an example in which unintended register communication for writing is performed after register communication regarding writing of intended setting information in MAC mode from the host 2 to the CIS 1 is performed. For example, when register communication is performed without setting MAC_REGW in FS_S_STATE, CIS1 detects an error.
- the Write counter also increments the counter value of the communication counter 416 in communication transfer units of register communication even when register communication in which communication information (FS_S_STATE) is not set is performed between the host 2 and the register 130. do. This makes it possible to detect communication that is not protected by functional safety/security functions.
- the counter value may be output to Embedded Data in sensor data. Also, the counter value may be output to the register 130 .
- the host 2 can indirectly know that there has been an unintended write. Also, by looking at the counter value, the number of unintended register writes can be known. On the host 2 side, it is possible to determine, for example, that there has been a Dos attack.
- FIG. 37 is a sequence diagram illustrating an example of register communication by the technique according to one embodiment.
- FIG. 37 shows an example of register communication when writing setting information to the sensor register 311 in the CRC mode.
- the CIS 1 may output error information as notification information when register communication is performed between the host 2 and the register 130 by an unintended command that differs from the command indicated by the communication information.
- FIG. 37 shows an example of error detection due to sequence violation.
- a sequence violation for example, after a register write, a CRC or MAC write command is not generated, and another command is issued.
- the previous process terminated halfway may be reset and the latter process may be prioritized.
- FIG. 38 is a sequence diagram illustrating an example of register communication by the technique according to one embodiment.
- FIG. 38 shows an example of register communication when writing setting information to the sensor register 311 in the MAC mode.
- the CIS 1 may output error information as notification information when a command is not sent from the host 2 by register communication within a predetermined period.
- a WDT watchdog timer
- CIS1 may be included in CIS1 as a timer for setting the upper limit (MAX) time for processing, and may detect that the upper limit time has been exceeded and notify an error.
- the upper limit value may be fixed at the time of designing the CIS 1, may be switched at the time of product manufacturing using Fuse or the like, or may be set at the time of start-up.
- FIG. 39 is a sequence diagram illustrating an example of register communication including operation of a write counter according to the technology according to one embodiment.
- FIG. 33 shows an example of register communication when writing setting information to the sensor register 311 in the CRC mode.
- the setting information sent from the host 2 may include the counter expected value for the counter value of the Write counter.
- Registers 130 may include a write counter expected value register that stores a write counter expected value.
- the Write counter value and the Write counter expected value are compared. If FS_S_STATE changes from not0 to 0, the counter of the write counter expected value register is incremented and the expected value is also set. As a result, the Write counter expected value register can be subject to CRC and MAC checks in the same way as a normal register area.
- error information may be output as notification information by the error state FS_S_ERR. This mechanism may be performed not only during writing but also during reading. This makes it possible to deal with replay attacks and the like.
- FIG. 40 is a sequence diagram showing an example of register communication including operations of a Read counter and a Write counter according to the technology according to one embodiment.
- FIG. 40 shows an example of register communication when writing setting information to the sensor register 311 in the MAC mode.
- the CIS 1 reads out setting information from the sensor register 311 that is different from the setting information to be written ( register Read) may be configured to be enabled.
- the register 130 which is normally read OK, can be read during processing related to register writing, and the data of the writing processing is not affected (the MAC value and CRC value are calculated only for the writing processing). This makes it possible to check the state information in the register 130 from the host 2 during processing related to register writing.
- the functional safety/security data area 313 for storing the security data for the setting information is used as the address area of the register 130 in the CIS 1 as the data processing device.
- a communication information register 312 for storing communication information between the CIS 1 and the host 2 , and register communication is performed between the CIS 1 and the host 2 . This makes it possible to improve security.
- the data transmission system it is possible to realize a safety/security function that can be implemented within the range of existing standards/communication IF specifications.
- the safety and security of the communication IF can be realized by changing the upper layers 113 and 213 with a high degree of freedom that can be realized by software or the like.
- Hardware-level security can be incorporated at the development timing of each of the CIS 1 and the host 2 .
- the present technology can also have the following configuration.
- a security data area for storing security data for setting information and a communication information area for storing communication information with a host are provided as address areas of a register in a data processing device. and register communication between the data processing device and the host. This makes it possible to improve security.
- Address areas include a setting area for storing setting information transmitted from a host, a security data area for storing security data for the setting information, and a communication information area for storing communication information with the host.
- a register having A data processing apparatus comprising: a communication unit that performs register communication between the host and the register. (2) (1) above, wherein the communication information includes communication mode information indicating a communication mode of the register communication, status information indicating the start of the register communication, and status information indicating the end of the register communication. Data processing equipment. (3) The data according to (1) or (2), wherein the security data includes at least one of encrypted data including the setting information, an error detection code for the setting information, and a message authentication code for the setting information. processing equipment.
- the data processing device according to . (5) a processing state output terminal for outputting the processing status to the host;
- the data processing device according to (4) above further comprising: an error output terminal that outputs the error information to the host.
- (6) a sensor unit;
- a sensor unit a data output unit that adds a counter value from the communication counter to the sensor data output from the sensor unit and outputs the sensor data to the host;
- the data processing device according to (12) above, wherein the data output unit adds the counter value from the communication counter to the sensor data at a timing synchronized with a synchronization timing signal for the sensor data.
- a notification unit that outputs, as notification information, at least one of a processing status indicating a processing state in the register and error information that has occurred in processing in the register;
- the data output unit adds the notification information from the notification unit and the counter value from the communication counter to the sensor data at timing synchronized with a synchronization timing signal for the sensor data.
- the setting area includes an area targeted for security by a predetermined security process, and writing the setting information to the area targeted for security or reading the setting information from the area targeted for security includes the The data processing apparatus according to any one of (1) to (14) above, configured to be permitted when performing predetermined security processing.
- the above ( 12) A data processing device according to any one of (14).
- the setting information transmitted from the host includes a counter expected value for the counter value of the write counter;
- the data processing device according to any one of (12) to (14) above, wherein the registers include an expected value register that stores the expected counter value.
- a temporary storage unit that temporarily stores the setting information transmitted from the host; Based on the security data, the setting information stored in the temporary storage unit is judged to be correct or incorrect, and the setting information is judged to be correct, and the counter value of the write counter and the expected value register are stored.
- the data processing device further comprising: a write determination unit that reflects the writing of the setting information in the setting area when the counter expected value matches.
- the notification unit determines whether the setting information is correct or incorrect based on the security data, and outputs the error information as the notification information when the setting information is determined to be incorrect.
- the data processing device according to any one of (6).
- Communication mode information including algorithm information corresponding to desired security processing is transmitted from the host as the communication information before the setting information is written to or read from the setting area.
- the data processing device according to any one of (1) to (28).
- (30) The data processing apparatus according to (29) above, wherein information notifying that the communication mode information is included as the communication information is transmitted from the host.
- (31) Information used for the desired security processing is transmitted from the host before the communication information is transmitted from the host, and the information used for the desired security processing is used as the security data.
- the notification unit outputs the error information as the notification information when the communication information is not set between the host and the register and the unintended register communication is performed.
- the data processing device according to any one of (6). (33)
- the notification unit outputs the error information as the notification information when the register communication is performed by an unintended command different from the command indicated by the communication information between the host and the register.
- the data processing device according to any one of (4) to (6). (34)
- the notification unit outputs the error information as the notification information when no command is transmitted from the host by the register communication within a predetermined period of time.
- Data processing apparatus as described. (35) The configuration is such that the setting information different from the setting information to be written can be read from the setting area within the writing process period of the setting information to the setting area based on the write request from the host.
- the data processing device according to any one of (1) to (34) above.
- the data processing device is As address areas, a setting area for storing setting information transmitted from the host, a security data area for storing security data for the setting information, and a communication information area for storing communication information with the host. and a register having A data transmission system comprising: a communication unit that performs register communication between the host and the register.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Computer Hardware Design (AREA)
- Software Systems (AREA)
- Quality & Reliability (AREA)
- Communication Control (AREA)
- Computer And Data Communications (AREA)
Abstract
Description
1.一実施の形態
1.1 データ伝送システムの全体構成および課題(図1~図4)
1.2 一実施の形態に係る技術によるセーフティ・セキュリティ技術(図5~図40)
1.2.1 セーフティ・セキュリティ技術の概要
1.2.2 セーフティ・セキュリティ技術の具体例
1.3 効果
2.その他の実施の形態
[1.1 データ伝送システムの全体構成および課題]
(データ伝送システムの全体構成例)
図1は、本開示の一実施の形態に係るデータ伝送システムの全体構成例を概略的に示している。
図2には、一般的なセーフティ・セキュリティ技術として、CRCコード(誤り検出符号)付加による通信の一例を概略的に示す。
例えば図1に示したようなデータ伝送システムの構成において、CIS1へのセキュリティ要求が出始めているが、CIS1の顧客全体から同じセキュリティ要求があるわけではない。また、産業機器などの製品寿命が長いものは、すべての製品向けのホスト2(FPGAやASIC(Application Specific Integrated Circuit))をCIS1のセキュリティプロトコルに対応したものに同時に変えることは難しい。レジスタIFは、プロトコルの異なる複数種類のIFを搭載して複数種類のIFを切り替え可能に構成されているものがあるが、この場合、各IFのプロトコルは変更せずにレジスタIFのセキュリティを守ることができる仕様が必要になる。どのような機能が必要になるかはCIS1が組み込まれるアプリケーションによって変わる。上述したように、セキュリティ技術としては、CRC、MAC、および暗号化などがあるが、それぞれによって得られる機能は異なる。必要となる機能ごとにレジスタIFのプロトコルを異なったものとして定義すると、技術拡張がしづらく、内容によってはレジスタIFの物理層111,211やリンク層112,212のプロトコルを更新し続ける必要があり、コストがかかる。
次に、一実施の形態に係るデータ伝送システムによるセーフティ・セキュリティ技術の詳細を説明する。
図5は、一実施の形態に係る技術によるレジスタ130の構成(レジスタマップ)の一例を示している。なお、図5に示したレジスタマップにおけるアドレスは一例であり、必要に応じて変更可能である。
以下では、MACを用いた通信モードをMACモード、CRCを用いた通信モードをCRCモード、暗号化を用いた通信モードを暗号化モードという。
図6は、一実施の形態に係る技術によるレジスタ通信の一例を示すシーケンス図である。図6には、MACモードによってセンサレジスタ311に設定情報の書き込みを行う場合のレジスタ通信の一例を示す。
図7は、一実施の形態に係る技術によるレジスタ通信の一例を示すシーケンス図である。図7には、CRCモードによってセンサレジスタ311に設定情報の書き込みを行う場合のレジスタ通信の一例を示す。また、図7には、設定情報の送信からCRCデータの送信までの間に比較的時間が掛かる場合の例を示す。
第1の通信モードによるレジスタ通信を行った後、第2の通信モードによるレジスタ通信を行う場合に、第1の通信モードによるレジスタ通信の通信終了を示すステータス情報を省略可能に構成してもよい。例えば、図6および図7に示したレジスタ通信の例において、通信終了を示すステータスFS_S_STATE=0を一部、省略するようにしてもよい。
図10は、一実施の形態に係るデータ処理装置としてのCIS1の第1の構成例を概略的に示している。
図14は、一実施の形態に係るデータ処理装置としてのCIS1の第2の構成例を概略的に示している。
図17は、一実施の形態に係る技術による暗号化モードによるレジスタ通信の一例を示すシーケンス図である。
図18は、一実施の形態に係る技術によって読み出しを行う場合のレジスタ通信の一例を示すシーケンス図である。
図19は、一実施の形態に係る技術によって暗号化モードによる読み出しを行う場合のレジスタ通信の一例を示すシーケンス図である。
図20は、一実施の形態に係る技術によるレジスタ通信の一例を示すシーケンス図である。図20には、CRCモードによる設定情報の書き込みを行う場合のCIS1内でのステート通知の一例を示す。
後述する図24および図26に示すように、CIS1は通信カウンタ416を備えていてもよい。通信カウンタ416は、WriteカウンタとReadカウンタとを有していてもよい。Writeカウンタは、例えばホスト2からセンサレジスタ311への設定情報の書き込みリクエストがあったことをカウントする。Readカウンタは、例えばホスト2から設定情報の読み出しリクエストがあったことをカウントする。WriteカウンタとReadカウンタとを別々に持つことで、CIS1内の処理ステータスやエラー情報をレジスタ130から読み出すポーリングのような処理を意識せず、CIS1の動作を変える際のレジスタ130への書き込み処理を監視することが可能となる。ただし、WriteカウンタとReadカウンタとを合わせて1つの通信カウンタ416として持ってもよい。
図21は、一実施の形態に係る技術によるWriteカウンタの動作を含むレジスタ通信の一例を示すシーケンス図である。図21には、CRCモードによってセンサレジスタ311に設定情報の書き込みを行う場合のレジスタ通信の一例を示す。
図22は、一実施の形態に係る技術によるReadカウンタの動作を含むレジスタ通信の一例を示すシーケンス図である。図22には、CRCモードによってホスト2からセンサレジスタ311に記憶された設定情報の読み出しリクエストが行われた場合のレジスタ通信の一例を示す。
図23は、一実施の形態に係る技術によるReadカウンタの動作を含むレジスタ通信の一例を示すシーケンス図である。図23には、暗号化モードによってホスト2からセンサレジスタ311に記憶された設定情報の読み出しリクエストが行われた場合のレジスタ通信の一例を示す。
図24は、一実施の形態に係るデータ処理装置としてのCIS1の第3の構成例を概略的に示している。図24には、センサレジスタ311に設定値を書き込んだ後、書き込まれた値が正しい値か否かを例えばCRCによって判断する場合の構成例を示す。
(回路構成例4)
図25は、一実施の形態に係る技術によるWriteカウンタの動作を含むレジスタ通信の一例を示すシーケンス図である。図25には、CRCモードによってセンサレジスタ311に設定情報の書き込みを行う場合のレジスタ通信の一例を示す。
図27は、一実施の形態に係る技術によるWriteカウンタの動作を含むレジスタ通信の一例を示すシーケンス図である。図27には、MACモードによってセンサレジスタ311に設定情報の書き込みを行う場合のレジスタ通信の一例を示す。
図28は、一実施の形態に係る技術によるレジスタ130の構成(レジスタマップ)の変形例を示している。
図29は、一実施の形態に係る技術によるWriteカウンタの動作を含むレジスタ通信の一例を示すシーケンス図である。図29には、MACモードによってセンサレジスタ311に設定情報の書き込みを行う場合のレジスタ通信の一例を示す。
図30は、一実施の形態に係る技術によるレジスタ通信の一例を示すシーケンス図である。図30には、CRCモードによってセンサレジスタ311に設定情報の書き込みを行う場合のレジスタ通信の一例を示す。
図31は、一実施の形態に係る技術によるレジスタ通信の一例を示すシーケンス図である。図31には、CRCモードによってセンサレジスタ311に設定情報の書き込みを行う場合のレジスタ通信の一例を示す。
図32は、一実施の形態に係る技術によるレジスタ通信の一例を示すシーケンス図である。図32には、MACモードによってセンサレジスタ311に設定情報の書き込みを行う場合のレジスタ通信の一例を示す。
図33は、一実施の形態に係る技術によるWriteカウンタの動作を含むレジスタ通信の一例を示すシーケンス図である。図33には、CRCモードによってセンサレジスタ311に設定情報の書き込みを行う場合のレジスタ通信の一例を示す。
図35は、一実施の形態に係る技術によるレジスタ通信の一例を示すシーケンス図である。図35には、CRCモードによる設定情報の書き込みを行う場合のCIS1内でのステート通知の一例を示す。
図36は、一実施の形態に係る技術によるWriteカウンタの動作を含むレジスタ通信の一例を示すシーケンス図である。
図37は、一実施の形態に係る技術によるレジスタ通信の一例を示すシーケンス図である。図37には、CRCモードによってセンサレジスタ311に設定情報の書き込みを行う場合のレジスタ通信の一例を示す。
図38は、一実施の形態に係る技術によるレジスタ通信の一例を示すシーケンス図である。図38には、MACモードによってセンサレジスタ311に設定情報の書き込みを行う場合のレジスタ通信の一例を示す。
図39は、一実施の形態に係る技術によるWriteカウンタの動作を含むレジスタ通信の一例を示すシーケンス図である。図33には、CRCモードによってセンサレジスタ311に設定情報の書き込みを行う場合のレジスタ通信の一例を示す。
図40は、一実施の形態に係る技術によるReadカウンタおよびWriteカウンタの動作を含むレジスタ通信の一例を示すシーケンス図である。図40には、MACモードによってセンサレジスタ311に設定情報の書き込みを行う場合のレジスタ通信の一例を示す。
以上説明したように、一実施の形態に係るデータ伝送システムによれば、データ処理装置としてのCIS1におけるレジスタ130のアドレス領域として、設定情報に対するセキュリティ用データを記憶する機能安全・セキュリティ用データ領域313と、ホスト2との間の通信情報を記憶する通信情報レジスタ312とを有し、CIS1とホスト2との間でレジスタ通信が行われる。これにより、セキュリティを向上させることが可能となる。
本開示による技術は、上記一実施の形態の説明に限定されず種々の変形実施が可能である。
以下の構成の本技術によれば、データ処理装置におけるレジスタのアドレス領域として、設定情報に対するセキュリティ用データを記憶するセキュリティ用データ領域と、ホストとの間の通信情報を記憶する通信情報領域とを有し、データ処理装置とホストとの間でレジスタ通信が行われる。
これにより、セキュリティを向上させることが可能となる。
アドレス領域として、ホストから送信された設定情報を記憶する設定用領域と、前記設定情報に対するセキュリティ用データを記憶するセキュリティ用データ領域と、前記ホストとの間の通信情報を記憶する通信情報領域とを有するレジスタと、
前記ホストと前記レジスタとの間でレジスタ通信を行う通信部と
を備える
データ処理装置。
(2)
前記通信情報として、前記レジスタ通信の通信モードを示す通信モード情報と、前記レジスタ通信の通信開始を示すステータス情報と、前記レジスタ通信の通信終了を示すステータス情報とを含む
上記(1)に記載のデータ処理装置。
(3)
前記セキュリティ用データとして、前記設定情報を含む暗号データ、前記設定情報に関する誤り検出符号、および前記設定情報に関するメッセージ認証コードのうち、少なくとも1つを含む
上記(1)または(2)に記載のデータ処理装置。
(4)
前記レジスタにおける処理状態を示す処理ステータスと、前記レジスタにおける処理に生じたエラー情報との少なくとも1つを通知情報として出力する通知部、をさらに備える
上記(1)ないし(3)のいずれか1つに記載のデータ処理装置。
(5)
前記処理ステータスを前記ホストに出力する処理ステート出力端子と、
前記エラー情報を前記ホストに出力するエラー出力端子と
をさらに備える
上記(4)に記載のデータ処理装置。
(6)
センサ部と、
前記センサ部から出力されたセンサデータに前記通知部からの前記通知情報を付加して前記センサデータを前記ホストに出力するデータ出力部と
をさらに備える
上記(4)または(5)に記載のデータ処理装置。
(7)
前記ホストと前記レジスタとの間で複数の通信モードで通信可能に構成され、かつ、前記複数の通信モードのいずれの通信モードで前記レジスタ通信を行うかを選択可能に構成されている
上記(1)ないし(6)のいずれか1つに記載のデータ処理装置。
(8)
第1の通信モードによるレジスタ通信を行った後、第2の通信モードによるレジスタ通信を行う場合に、前記第1の通信モードによるレジスタ通信の通信終了を示すステータス情報を省略可能に構成されている
上記(2)に記載のデータ処理装置。
(9)
暗号データを復号化する復号化部、をさらに備え、
前記セキュリティ用データ領域に前記設定情報を含む暗号データの書き込みを行った後、前記復号化部によって前記暗号データを復号化し、その復号化によって得られた前記設定情報を前記設定用領域に対して書き込む
上記(1)ないし(8)のいずれか1つに記載のデータ処理装置。
(10)
前記ホストからの前記設定情報の読み出しリクエストがあった場合に、前記設定用領域に記憶された前記設定情報と、前記セキュリティ用データ領域に記憶された、前記設定情報に関する前記セキュリティ用データとの読み出しを行う
上記(1)ないし(9)のいずれか1つに記載のデータ処理装置。
(11)
前記ホストから暗号化による前記設定情報の読み出しリクエストがあった場合に、前記設定用領域に記憶された前記設定情報を暗号化して前記セキュリティ用データ領域に暗号データとして書き込みした後、前記セキュリティ用データ領域から前記暗号データの読み出しを行う
上記(1)ないし(10)のいずれか1つに記載のデータ処理装置。
(12)
前記ホストから前記設定用領域への前記設定情報の書き込みリクエストがあったことをカウントする書き込みカウンタと、前記ホストから前記設定情報の読み出しリクエストがあったことをカウントする読み出しカウンタとを含む通信カウンタ、をさらに備える
上記(1)ないし(11)のいずれか1つに記載のデータ処理装置。
(13)
センサ部と、
前記センサ部から出力されたセンサデータに前記通信カウンタからのカウンタ値を付加して前記センサデータを前記ホストに出力するデータ出力部と
をさらに備え、
前記データ出力部は、前記センサデータに対する同期タイミング信号に同期したタイミングで、前記センサデータに前記通信カウンタからの前記カウンタ値を付加する
上記(12)に記載のデータ処理装置。
(14)
前記レジスタにおける処理状態を示す処理ステータスと、前記レジスタにおける処理に生じたエラー情報との少なくとも1つを通知情報として出力する通知部、をさらに備え、
前記データ出力部は、前記センサデータに対する同期タイミング信号に同期したタイミングで、前記センサデータに前記通知部からの前記通知情報と前記通信カウンタからの前記カウンタ値とを付加する
上記(13)に記載のデータ処理装置。
(15)
前記設定用領域として、所定のセキュリティ処理によるセキュリティ対象となる領域を含み、前記セキュリティ対象となる領域への前記設定情報の書き込み、または前記セキュリティ対象となる領域からの前記設定情報の読み出しは、前記所定のセキュリティ処理を行う場合に許可されるように構成されている
上記(1)ないし(14)のいずれか1つに記載のデータ処理装置。
(16)
前記ホストと前記レジスタとの間で前記通信情報が設定されていない前記レジスタ通信が行われた場合には、前記設定用領域への前記設定情報の書き込みは反映しないように構成されている
上記(12)ないし(14)のいずれか1つに記載のデータ処理装置。
(17)
前記ホストから送信される前記設定情報には、前記書き込みカウンタのカウンタ値に対するカウンタ期待値が含まれ、
前記レジスタには、前記カウンタ期待値を記憶する期待値レジスタが含まれる
上記(12)ないし(14)のいずれか1つに記載のデータ処理装置。
(18)
前記ホストから送信された前記設定情報を一時的に記憶する一時記憶部と、
前記セキュリティ用データに基づいて、前記一時記憶部に記憶された前記設定情報の正誤判定を行い、前記設定情報が正しいと判定され、かつ、前記書き込みカウンタのカウンタ値と前記期待値レジスタに記憶された前記カウンタ期待値とが一致した場合に、前記設定用領域に対して前記設定情報の書き込みを反映する書き込み判定部と
をさらに備える
上記(17)に記載のデータ処理装置。
(19)
前記通知部は、前記セキュリティ用データに基づいて前記設定情報の正誤判定が行われ、前記設定情報が誤りであると判定された場合に、前記通知情報として前記エラー情報を出力する
上記(4)ないし(6)のいずれか1つに記載のデータ処理装置。
(20)
前記書き込みカウンタのカウンタ値と前記期待値レジスタに記憶された前記カウンタ期待値とが一致しなかった場合に、通知情報としてエラー情報を出力する通知部、をさらに備える
上記(17)または(18)に記載のデータ処理装置。
(21)
前記レジスタにおける前記セキュリティ用データ領域および前記通信情報領域を使用するか否かを切り替え可能に構成されている
上記(1)ないし(20)のいずれか1つに記載のデータ処理装置。
(22)
前記設定用領域に対して前記設定情報の書き込みが反映された後、前記セキュリティ用データに基づいて、前記設定用領域に反映された前記設定情報の正誤判定を行う書き込み判定部、をさらに備える
上記(1)ないし(21)のいずれか1つに記載のデータ処理装置。
(23)
前記データ出力部は、前記センサデータに対する同期タイミング信号に同期したタイミングで、前記センサデータに前記通知部からの前記通知情報を付加する
上記(6)に記載のデータ処理装置。
(24)
前記ホストから送信された前記設定情報を一時的に記憶する一時記憶部と、
前記セキュリティ用データに基づいて、前記一時記憶部に記憶された前記設定情報の正誤判定を行い、前記設定情報が正しいと判定された場合に、前記設定用領域に対して前記設定情報の書き込みを反映する書き込み判定部と
をさらに備える
上記(1)ないし(23)のいずれか1つに記載のデータ処理装置。
(25)
前記書き込みカウンタは、前記書き込みリクエストを示すレジスタ通信が検出されたタイミングでカウンタ値をインクリメントする
上記(12)ないし(14)のいずれか1つに記載のデータ処理装置。
(26)
前記読み出しカウンタは、前記読み出しリクエストに応じた前記設定情報の読み出しを開始するタイミングでカウンタ値をインクリメントする
上記(12)ないし(14)のいずれか1つに記載のデータ処理装置。
(27)
前記読み出しカウンタは、暗号化による前記読み出しリクエストがあった場合に、前記設定用領域に記憶された前記設定情報を暗号化して前記セキュリティ用データ領域に暗号データとして書き込みが行われた後、前記セキュリティ用データ領域から前記暗号データの読み出しが行われる前に、カウンタ値をインクリメントする
上記(12)ないし(14)のいずれか1つに記載のデータ処理装置。
(28)
前記ホストと前記レジスタとの間で前記通信情報が設定されていない前記レジスタ通信が行われた場合に、前記レジスタ通信の通信転送単位で前記通信カウンタのカウンタ値をインクリメントする
上記(12)ないし(14)のいずれか1つに記載のデータ処理装置。
(29)
前記設定用領域に対する前記設定情報の書き込みまたは読み出しを行う前に、前記ホストから前記通信情報として、所望のセキュリティ処理に対応するアルゴリズムの情報を含む通信モード情報が送信されるようになされている
上記(1)ないし(28)のいずれか1つに記載のデータ処理装置。
(30)
前記ホストから、前記通信情報として前記通信モード情報を含むことを通知する情報が送信されるようになされている
上記(29)に記載のデータ処理装置。
(31)
前記ホストから前記通信情報が送信されるよりも前に、前記所望のセキュリティ処理に用いられる情報が前記ホストから送信され、前記所望のセキュリティ処理に用いられる情報を前記セキュリティ用データとして前記セキュリティ用データ領域に書き込むようになされている
上記(29)または(30)に記載のデータ処理装置。
(32)
前記通知部は、前記ホストと前記レジスタとの間で前記通信情報が設定されていない、意図しない前記レジスタ通信が行われた場合に、前記通知情報として前記エラー情報を出力する
上記(4)ないし(6)のいずれか1つに記載のデータ処理装置。
(33)
前記通知部は、前記ホストと前記レジスタとの間で前記通信情報で示されるコマンドとは異なる、意図しないコマンドによる前記レジスタ通信が行われた場合に、前記通知情報として前記エラー情報を出力する
上記(4)ないし(6)のいずれか1つに記載のデータ処理装置。
(34)
前記通知部は、所定の期間内に前記ホストから前記レジスタ通信によるコマンドが送信されてこない場合に、前記通知情報として前記エラー情報を出力する
上記(4)ないし(6)のいずれか1つに記載のデータ処理装置。
(35)
前記ホストからの書き込みリクエストに基づく前記設定用領域への前記設定情報の書き込み処理期間内に、前記書き込み対象の前記設定情報とは異なる設定情報の前記設定用領域からの読み出し処理が可能に構成されている
上記(1)ないし(34)のいずれか1つに記載のデータ処理装置。
(36)
ホストと、
データ処理装置と
を含み、
前記データ処理装置は、
アドレス領域として、前記ホストから送信された設定情報を記憶する設定用領域と、前記設定情報に対するセキュリティ用データを記憶するセキュリティ用データ領域と、前記ホストとの間の通信情報を記憶する通信情報領域とを有するレジスタと、
前記ホストと前記レジスタとの間でレジスタ通信を行う通信部と
を備える
データ伝送システム。
Claims (20)
- アドレス領域として、ホストから送信された設定情報を記憶する設定用領域と、前記設定情報に対するセキュリティ用データを記憶するセキュリティ用データ領域と、前記ホストとの間の通信情報を記憶する通信情報領域とを有するレジスタと、
前記ホストと前記レジスタとの間でレジスタ通信を行う通信部と
を備える
データ処理装置。 - 前記通信情報として、前記レジスタ通信の通信モードを示す通信モード情報と、前記レジスタ通信の通信開始を示すステータス情報と、前記レジスタ通信の通信終了を示すステータス情報とを含む
請求項1に記載のデータ処理装置。 - 前記セキュリティ用データとして、前記設定情報を含む暗号データ、前記設定情報に関する誤り検出符号、および前記設定情報に関するメッセージ認証コードのうち、少なくとも1つを含む
請求項1に記載のデータ処理装置。 - 前記レジスタにおける処理状態を示す処理ステータスと、前記レジスタにおける処理に生じたエラー情報との少なくとも1つを通知情報として出力する通知部、をさらに備える
請求項1に記載のデータ処理装置。 - 前記処理ステータスを前記ホストに出力する処理ステート出力端子と、
前記エラー情報を前記ホストに出力するエラー出力端子と
をさらに備える
請求項4に記載のデータ処理装置。 - センサ部と、
前記センサ部から出力されたセンサデータに前記通知部からの前記通知情報を付加して前記センサデータを前記ホストに出力するデータ出力部と
をさらに備える
請求項4に記載のデータ処理装置。 - 前記ホストと前記レジスタとの間で複数の通信モードで通信可能に構成され、かつ、前記複数の通信モードのいずれの通信モードで前記レジスタ通信を行うかを選択可能に構成されている
請求項1に記載のデータ処理装置。 - 第1の通信モードによるレジスタ通信を行った後、第2の通信モードによるレジスタ通信を行う場合に、前記第1の通信モードによるレジスタ通信の通信終了を示すステータス情報を省略可能に構成されている
請求項2に記載のデータ処理装置。 - 暗号データを復号化する復号化部、をさらに備え、
前記セキュリティ用データ領域に前記設定情報を含む暗号データの書き込みを行った後、前記復号化部によって前記暗号データを復号化し、その復号化によって得られた前記設定情報を前記設定用領域に対して書き込む
請求項1に記載のデータ処理装置。 - 前記ホストからの前記設定情報の読み出しリクエストがあった場合に、前記設定用領域に記憶された前記設定情報と、前記セキュリティ用データ領域に記憶された、前記設定情報に関する前記セキュリティ用データとの読み出しを行う
請求項1に記載のデータ処理装置。 - 前記ホストから暗号化による前記設定情報の読み出しリクエストがあった場合に、前記設定用領域に記憶された前記設定情報を暗号化して前記セキュリティ用データ領域に暗号データとして書き込みした後、前記セキュリティ用データ領域から前記暗号データの読み出しを行う
請求項1に記載のデータ処理装置。 - 前記ホストから前記設定用領域への前記設定情報の書き込みリクエストがあったことをカウントする書き込みカウンタと、前記ホストから前記設定情報の読み出しリクエストがあったことをカウントする読み出しカウンタとを含む通信カウンタ、をさらに備える
請求項1に記載のデータ処理装置。 - センサ部と、
前記センサ部から出力されたセンサデータに前記通信カウンタからのカウンタ値を付加して前記センサデータを前記ホストに出力するデータ出力部と
をさらに備え、
前記データ出力部は、前記センサデータに対する同期タイミング信号に同期したタイミングで、前記センサデータに前記通信カウンタからの前記カウンタ値を付加する
請求項12に記載のデータ処理装置。 - 前記レジスタにおける処理状態を示す処理ステータスと、前記レジスタにおける処理に生じたエラー情報との少なくとも1つを通知情報として出力する通知部、をさらに備え、
前記データ出力部は、前記センサデータに対する同期タイミング信号に同期したタイミングで、前記センサデータに前記通知部からの前記通知情報と前記通信カウンタからの前記カウンタ値とを付加する
請求項13に記載のデータ処理装置。 - 前記設定用領域として、所定のセキュリティ処理によるセキュリティ対象となる領域を含み、前記セキュリティ対象となる領域への前記設定情報の書き込み、または前記セキュリティ対象となる領域からの前記設定情報の読み出しは、前記所定のセキュリティ処理を行う場合に許可されるように構成されている
請求項1に記載のデータ処理装置。 - 前記ホストと前記レジスタとの間で前記通信情報が設定されていない前記レジスタ通信が行われた場合には、前記設定用領域への前記設定情報の書き込みは反映しないように構成されている
請求項12に記載のデータ処理装置。 - 前記ホストから送信される前記設定情報には、前記書き込みカウンタのカウンタ値に対するカウンタ期待値が含まれ、
前記レジスタには、前記カウンタ期待値を記憶する期待値レジスタが含まれる
請求項12に記載のデータ処理装置。 - 前記ホストから送信された前記設定情報を一時的に記憶する一時記憶部と、
前記セキュリティ用データに基づいて、前記一時記憶部に記憶された前記設定情報の正誤判定を行い、前記設定情報が正しいと判定され、かつ、前記書き込みカウンタのカウンタ値と前記期待値レジスタに記憶された前記カウンタ期待値とが一致した場合に、前記設定用領域に対して前記設定情報の書き込みを反映する書き込み判定部と
をさらに備える
請求項17に記載のデータ処理装置。 - 前記通知部は、前記セキュリティ用データに基づいて前記設定情報の正誤判定が行われ、前記設定情報が誤りであると判定された場合に、前記通知情報として前記エラー情報を出力する
請求項4に記載のデータ処理装置。 - 前記書き込みカウンタのカウンタ値と前記期待値レジスタに記憶された前記カウンタ期待値とが一致しなかった場合に、通知情報としてエラー情報を出力する通知部、をさらに備える
請求項17に記載のデータ処理装置。
Priority Applications (4)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| KR1020247020237A KR20240121761A (ko) | 2021-12-23 | 2022-10-31 | 데이터 처리 장치 |
| JP2023569132A JPWO2023119893A1 (ja) | 2021-12-23 | 2022-10-31 | |
| DE112022006139.1T DE112022006139T5 (de) | 2021-12-23 | 2022-10-31 | Datenverarbeitungsgerät |
| CN202280083337.6A CN118435179A (zh) | 2021-12-23 | 2022-10-31 | 数据处理装置 |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2021209756 | 2021-12-23 | ||
| JP2021-209756 | 2021-12-23 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2023119893A1 true WO2023119893A1 (ja) | 2023-06-29 |
Family
ID=86901967
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/JP2022/040708 Ceased WO2023119893A1 (ja) | 2021-12-23 | 2022-10-31 | データ処理装置 |
Country Status (6)
| Country | Link |
|---|---|
| JP (1) | JPWO2023119893A1 (ja) |
| KR (1) | KR20240121761A (ja) |
| CN (1) | CN118435179A (ja) |
| DE (1) | DE112022006139T5 (ja) |
| TW (1) | TW202333504A (ja) |
| WO (1) | WO2023119893A1 (ja) |
Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH07175782A (ja) * | 1993-09-27 | 1995-07-14 | Hitachi Ltd | ディジタル信号処理プロセッサ |
| JP2001027877A (ja) * | 1999-04-30 | 2001-01-30 | Hewlett Packard Co <Hp> | データ・ストリームに対してアルゴリズムを実行する装置 |
| JP2003281077A (ja) * | 2002-03-25 | 2003-10-03 | Hitachi Ltd | 半導体集積回路装置 |
| JP2004096666A (ja) * | 2002-09-04 | 2004-03-25 | Matsushita Electric Ind Co Ltd | 暗号化部を有する半導体装置、外部インターフェースを有する半導体装置、およびコンテンツ再生方法 |
| JP2011210037A (ja) * | 2010-03-30 | 2011-10-20 | Renesas Electronics Corp | 半導体装置及びデータ処理方法 |
| JP2012114773A (ja) * | 2010-11-26 | 2012-06-14 | Toshiba Corp | データ記憶装置、コントロール装置及び暗号化方法 |
| WO2021014125A1 (en) * | 2019-03-18 | 2021-01-28 | Pqshield Ltd | Cryptographic architecture for cryptographic permutation |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR20180052603A (ko) | 2015-07-08 | 2018-05-18 | 클라우드 크라우딩 코포레이션 | 카메라로부터 신호들을 보안 전송하기 위한 시스템 및 방법 |
| JP2019033368A (ja) | 2017-08-08 | 2019-02-28 | 積水化学工業株式会社 | 撮像装置および撮像方法 |
-
2022
- 2022-10-31 DE DE112022006139.1T patent/DE112022006139T5/de active Pending
- 2022-10-31 WO PCT/JP2022/040708 patent/WO2023119893A1/ja not_active Ceased
- 2022-10-31 CN CN202280083337.6A patent/CN118435179A/zh active Pending
- 2022-10-31 KR KR1020247020237A patent/KR20240121761A/ko active Pending
- 2022-10-31 JP JP2023569132A patent/JPWO2023119893A1/ja active Pending
- 2022-11-17 TW TW111143870A patent/TW202333504A/zh unknown
Patent Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH07175782A (ja) * | 1993-09-27 | 1995-07-14 | Hitachi Ltd | ディジタル信号処理プロセッサ |
| JP2001027877A (ja) * | 1999-04-30 | 2001-01-30 | Hewlett Packard Co <Hp> | データ・ストリームに対してアルゴリズムを実行する装置 |
| JP2003281077A (ja) * | 2002-03-25 | 2003-10-03 | Hitachi Ltd | 半導体集積回路装置 |
| JP2004096666A (ja) * | 2002-09-04 | 2004-03-25 | Matsushita Electric Ind Co Ltd | 暗号化部を有する半導体装置、外部インターフェースを有する半導体装置、およびコンテンツ再生方法 |
| JP2011210037A (ja) * | 2010-03-30 | 2011-10-20 | Renesas Electronics Corp | 半導体装置及びデータ処理方法 |
| JP2012114773A (ja) * | 2010-11-26 | 2012-06-14 | Toshiba Corp | データ記憶装置、コントロール装置及び暗号化方法 |
| WO2021014125A1 (en) * | 2019-03-18 | 2021-01-28 | Pqshield Ltd | Cryptographic architecture for cryptographic permutation |
Also Published As
| Publication number | Publication date |
|---|---|
| JPWO2023119893A1 (ja) | 2023-06-29 |
| KR20240121761A (ko) | 2024-08-09 |
| CN118435179A (zh) | 2024-08-02 |
| TW202333504A (zh) | 2023-08-16 |
| DE112022006139T5 (de) | 2024-10-02 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US20230421545A1 (en) | Secure stream protocol for serial interconnect | |
| JP7721553B2 (ja) | 情報処理装置、移動体装置、および通信システム | |
| US8161285B2 (en) | Protocol-Independent remote attestation and sealing | |
| CN113557515B (zh) | 外围设备与安全电路系统的兼容性 | |
| KR101055712B1 (ko) | 모바일 장치에서의 메시지 핸들링 | |
| JP5949572B2 (ja) | 車両不正状態検出方法、車載システムにおける制御方法、およびシステム | |
| US11294846B2 (en) | System, apparatus and method for secure communication on a bus | |
| KR20250103741A (ko) | 대역-내 데이터 패키지 송신 | |
| JP2014236248A (ja) | 電子制御装置、電子制御システム | |
| JP2020107237A (ja) | 情報処理装置 | |
| US11392690B2 (en) | Security monitoring apparatus and method for vehicle network | |
| US12574203B2 (en) | Secure multi-rail control for sparsely encoded signals | |
| JP7770418B2 (ja) | 読み取り専用メモリ(rom)のセキュリティ | |
| TWI807766B (zh) | 安全之全晶片通信 | |
| WO2023119893A1 (ja) | データ処理装置 | |
| JP7654819B2 (ja) | 読み取り専用メモリ(rom)のセキュリティ | |
| US20250247244A1 (en) | Data processing apparatus, data processing method, and program | |
| CN118764177A (zh) | 访问汽车网关的认证方法和装置 | |
| JP2024069147A (ja) | プロセッサシステム | |
| CN118890195A (zh) | 数据帧传输方法、装置、计算机设备、可读存储介质和程序产品 | |
| WO2023243432A1 (ja) | データ処理装置、データ処理方法、およびプログラム | |
| KR20230097397A (ko) | 차량 네트워크 침입 탐지 시스템 및 그 방법 | |
| CN118041633A (zh) | 驾驶辅助系统和车辆 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 22910613 Country of ref document: EP Kind code of ref document: A1 |
|
| ENP | Entry into the national phase |
Ref document number: 2023569132 Country of ref document: JP Kind code of ref document: A |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 18712288 Country of ref document: US |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 202280083337.6 Country of ref document: CN |
|
| ENP | Entry into the national phase |
Ref document number: 20247020237 Country of ref document: KR Kind code of ref document: A |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 22910613 Country of ref document: EP Kind code of ref document: A1 |