# US 2024/0176693 A1 · Security control method and apparatus for integrated circuit, storage medium, and electronic device

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2024/0176693 A1
- Document ID: US20240176693A1
- Status: Published application
- Kind: A1
- Application number: 18/495,972
- Filed: 2023-10-27
- Published: 2024-05-30
- Earliest claimed: 2022-11-28
- Assignees: Horizon (Shanghai) Artificial Intelligence Technology Co., Ltd.
- Applicants: Horizon (Shanghai) Artificial Intelligence Technology Co., Ltd.
- Inventors: Wenxing LI; Jing LI; Qingyu LIU; Shunli CHENG; Jianjun LI; Bin ZHU; Junyu TU; Bo DENG
- Web page: https://patentgrep.com/patent/US20240176693A1

## CPC

- G06F 11/085: {using codes with inherent redundancy, e.g. n-out-of-m codes}
- G06F 21/71: to assure secure computing or processing of information
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

The present invention provides a security control method and apparatus for an integrated circuit, a storage medium, and an electronic device. The method includes: determining first error data of a first target control module in a group data collection module, wherein the group data collection module includes at least one first target control module; determining a first check code corresponding to the first error data based on a first collection module in the group data collection module; and controlling, based on the first check code and the first error data, a security control module to perform a preset processing operation corresponding to the first error data. The present disclosure can support collection and processing of a huge number of error data for the integrated circuit.

## Claims

### Claim 1

A security control method for an integrated circuit, comprising:
determining first error data of a first target control module in a group data collection module, wherein the group data collection module comprises at least one first target control module;
determining a first check code corresponding to the first error data based on a first collection module in the group data collection module; and
controlling, based on the first check code and the first error data, a security control module to perform a preset processing operation corresponding to the first error data.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the determining first error data of a first target control module in a group data collection module comprises:
determining a first error identifier based on a first error alarm signal generated by the first target control module;
determining a first error attribute corresponding to the first error identifier; and
determining the first error data based on the first error identifier and the first error attribute.

### Claim 3 (depends on 1)

The method according to claim 1, wherein the controlling, based on the first check code and the first error data, a security control module to perform a preset processing operation corresponding to the first error data comprises:
determining a second check code corresponding to the first error data based on the security control module;
in response to that the second check code is the same as the first check code, determining a first error attribute based on the first error data; and
controlling the security control module to perform a preset processing operation that matches with the first error attribute.

### Claim 4 (depends on 1)

The method according to claim 1, further comprising:
determining a second error identifier based on a second error alarm signal generated by a second target control module;
determining a second error attribute corresponding to the second error identifier; and
controlling the security control module to perform a preset processing operation that matches with the second error attribute.

### Claim 5 (depends on 4)

The method according to claim 4, further comprising:
storing into a register, based on error record data, an error identifier and an error attribute that correspond to an error record meeting a preset condition, wherein the error record data comprises error records respectively corresponding to at least one piece of the first error data, and/or error records respectively corresponding to at least one second error alarm signal; and the preset processing operation performed by the security control module is associated with the error identifiers and the error attributes that are stored in the register.

### Claim 6 (depends on 5)

The method according to claim 5, wherein the controlling, based on the first check code and the first error data, the security control module to perform a preset processing operation corresponding to the first error data comprises:
in response to the first error data corresponding to the error identifiers and the error attributes that are stored in the register, controlling, based on the first check code and the first error data, the security control module to perform the preset processing operation corresponding to the first error data; and
wherein the controlling the security control module to perform a preset processing operation that matches with the second error comprises:
in response to the second error alarm signal corresponding to the error identifiers and the error attributes that are stored in the register, controlling the security control module to perform the preset processing operation that matches with the second error attribute.

### Claim 7 (depends on 5)

The method according to claim 5, wherein the determining a second error attribute corresponding to the second error identifier comprises:
determining a corresponding relationship between the error identifier and the error attribute from a configuration table stored in the register; and
determining, based on the corresponding relationship, the second error attribute corresponding to the second error identifier.

### Claim 8 (depends on 7)

The method according to claim 7, further comprising:
updating the corresponding relationship in the configuration table; and
determining, based on the updated corresponding relationship, the second error attribute corresponding to the second error identifier.

### Claim 9

A security control apparatus for an integrated circuit, comprising a group data collection module and a security control module, wherein
the group data collection module comprises a first collection module and at least one first target control module connected to the first collection module, and the security control module is connected to the first collection module;
the first collection module is configured to determine first error data of the first target control module, and determine a first check code corresponding to the first error data; and
the security control module is configured to perform a preset processing operation corresponding to the first error data based on the first check code and the first error data.

### Claim 10 (depends on 9)

The apparatus according to claim 9, further comprising a second target control module, wherein
the security control module is connected to the second target control module; and
the security control module is configured to determine a second error identifier based on a second error alarm signal generated by the second target control module, determine a second error attribute corresponding to the second error identifier, and perform a preset processing operation that matches with the second error attribute.

### Claim 11 (depends on 10)

The apparatus according to claim 10, wherein the security control module comprises a second collection module, a third collection module, a register, and a controller that is configured to perform the preset processing operation;
the second collection module is connected to the first collection module, and is configured to receive the first error data and the first check code;
the third collection module is connected to the second target control module, and is configured to receive the second error alarm signal;
the controller is respectively connected to the second collection module, the third collection module, and the register; and
the controller is configured to store into the register, based on error record data, an error identifier and an error attribute that correspond to an error record meeting a preset condition, wherein the error record data comprises error records respectively corresponding to at least one piece of the first error data, and/or error records respectively corresponding to at least one second error alarm signal; and the preset processing operation performed by the controller is associated with the error identifiers and the error attributes that are stored in the register.

### Claim 12 (depends on 11)

The apparatus according to claim 11, wherein
the controller is configured to, in response to the first error data corresponding to the error identifiers and the error attributes that are stored in the register, perform the preset processing operation corresponding to the first error data based on the first check code and the first error data; and
the controller is configured to, in response to the second error alarm signal corresponding to the error identifiers and the error attributes that are stored in the register, perform the preset processing operation that matches with the second error attribute.

### Claim 13 (depends on 11)

The apparatus according to claim 11, further comprising a central processing unit, wherein
the central processing unit is connected to the controller, and the preset processing operation comprises an operation of sending an interrupt signal to the central processing unit; and
the central processing unit is configured to read, in response to the interrupt signal, the error identifiers and the error attributes that are stored in the register, and perform interrupt processing based on a reading result.

### Claim 14

A computer readable storage medium, wherein the storage medium stores a computer program, and the computer program is used for implementing
a security control method for an integrated circuit, wherein the security control method comprises:
determining first error data of a first target control module in a group data collection module, wherein the group data collection module comprises at least one first target control module;
determining a first check code corresponding to the first error data based on a first collection module in the group data collection module; and
controlling, based on the first check code and the first error data, a security control module to perform a preset processing operation corresponding to the first error data.

### Claim 15 (depends on 14)

The computer readable storage medium according to claim 14, wherein the determining first error data of a first target control module in a group data collection module comprises:
determining a first error identifier based on a first error alarm signal generated by the first target control module;
determining a first error attribute corresponding to the first error identifier; and
determining the first error data based on the first error identifier and the first error attribute.

### Claim 16 (depends on 14)

The computer readable storage medium according to claim 14, wherein the controlling, based on the first check code and the first error data, a security control module to perform a preset processing operation corresponding to the first error data comprises:
determining a second check code corresponding to the first error data based on the security control module;
in response to that the second check code is the same as the first check code, determining a first error attribute based on the first error data; and
controlling the security control module to perform a preset processing operation that matches with the first error attribute.

### Claim 17 (depends on 14)

The computer readable storage medium according to claim 14, wherein the security control method further comprises:
determining a second error identifier based on a second error alarm signal generated by a second target control module;
determining a second error attribute corresponding to the second error identifier; and
controlling the security control module to perform a preset processing operation that matches with the second error attribute.

### Claim 18 (depends on 17)

The computer readable storage medium according to claim 17, wherein the security control method further comprises:
storing into a register, based on error record data, an error identifier and an error attribute that correspond to an error record meeting a preset condition, wherein the error record data comprises error records respectively corresponding to at least one piece of the first error data, and/or error records respectively corresponding to at least one second error alarm signal; and the preset processing operation performed by the security control module is associated with the error identifiers and the error attributes that are stored in the register.

### Claim 19 (depends on 18)

The computer readable storage medium according to claim 18, wherein the controlling, based on the first check code and the first error data, the security control module to perform a preset processing operation corresponding to the first error data comprises:
in response to the first error data corresponding to the error identifiers and the error attributes that are stored in the register, controlling, based on the first check code and the first error data, the security control module to perform the preset processing operation corresponding to the first error data; and
wherein the controlling the security control module to perform a preset processing operation that matches with the second error comprises:
in response to the second error alarm signal corresponding to the error identifiers and the error attributes that are stored in the register, controlling the security control module to perform the preset processing operation that matches with the second error attribute.

### Claim 20 (depends on 18)

The computer readable storage medium according to claim 18, wherein the determining a second error attribute corresponding to the second error identifier comprises:
determining a corresponding relationship between the error identifier and the error attribute from a configuration table stored in the register; and
determining, based on the corresponding relationship, the second error attribute corresponding to the second error identifier.
