IP Library Granted Patent US 12,346,230
Granted Patent B2
US 12,346,230 · App. 18/259,675 · Granted Jul 1, 2025

Test method and multi-processor SOC chip

Inventors: Wentao Liu (Suzhou, CN); Ruizhen Wu (Suzhou, CN); Xinwu Shen (Suzhou, CN); Hui Zhang (Suzhou, CN)
Assignee: INSPUR SUZHOU INTELLIGENT TECHNOLOGY CO., LTD.
G06F11/273G06F9/4818
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,346,230
App. No.
18/259,675
Granted
Jul 1, 2025
Kind
B2
Abstract

A test method and a multi-processor SOC chip are provided. The method includes: parsing a first command line in a host system input buffer by a host system to obtain a first command and a first parameter corresponding to the first command line, when the first command is a command of the host system in a host system command set, executing the first command by the host system, and when the first command is a command corresponding to a subsystem, sending, by the host system, the first parameter to a subsystem input buffer corresponding to the subsystem as a second command line; and parsing the second command line by a subsystem to obtain a second command and a second parameter corresponding to the second command line, and when the second command is a command in a subsystem command set of the subsystem, executing the second command by the subsystem.

Claims (47)

1. A test method, which is applied to a multi-processor System On Chip (SOC) chip, wherein the multi-processor SOC chip comprises a host system and at least one subsystem, and the method comprises:

parsing a first command line in a host system input buffer by the host system to obtain a first command and a first parameter corresponding to the first command line, when the first command is a command of the host system in a host system command set, executing the first command by the host system, and when the first command is a command corresponding to a subsystem, sending, by the host system, the first parameter to a subsystem input buffer corresponding to the subsystem as a second command line; and

parsing the second command line by the subsystem to obtain a second command and a second parameter corresponding to the second command line, and when the second command is a command in a subsystem command set of the subsystem, executing the second command by the subsystem;

wherein the method further comprises:

after executing the first command by the host system, writing corresponding first output information into a corresponding host system output buffer by the host system;

triggering a corresponding first interrupt signal by an interrupt trigger module of the host system, so as to call an interrupt service program corresponding to the first interrupt signal to process the first output information;

after executing the second command by the subsystem, writing corresponding second output information into a corresponding subsystem output buffer by the subsystem; and

triggering, by an interrupt trigger module of the subsystem, a second interrupt signal corresponding to the subsystem in the host system, so that the host system calls an interrupt service program corresponding to the second interrupt signal to process the second output information.

2. The test method according to claim 1 , further comprising:

calling a corresponding interrupt service program according to a priority of the interrupt signal, so as to process the corresponding output information.

3. The test method according to claim 1 , wherein before writing the corresponding second output information into the corresponding subsystem output buffer, the method further comprises:

monitoring, by the subsystem, whether the corresponding subsystem output buffer is currently in an idle state, and when the corresponding subsystem output buffer is currently in the idle state, writing the second output information into the corresponding subsystem output buffer.

4. The test method according to claim 2 , wherein calling the interrupt service program corresponding to the second interrupt signal to process the second output information comprises:

calling the interrupt service program corresponding to the second interrupt signal to display the second output information on a terminal display interface.

5. The test method according to claim 1 , further comprising:

respectively allocating, in advance in a shared memory, the host system input buffer, the subsystem input buffer, the host system output buffer and the subsystem output buffer to the host system and the subsystem.

6. The test method according to claim 1 , further comprising:

when the first command is not a command of the host system in the host system command set and is not a command corresponding to the subsystem, clearing the host system input buffer; and

when the second command is not a command in the subsystem command set, clearing the subsystem input buffer.

7. The test method according to claim 1 , wherein the host system command set comprises commands of each subsystem and commands of the host system, wherein the commands of each subsystem are named based on a name of the subsystem.

8. The test method according to claim 7 , wherein after parsing the first command line in the host system input buffer by the host system to obtain the first command and the first parameter corresponding to the first command line, further comprising:

querying, by the host system, the first command in the host system command set.

9. The test method according to claim 8 , further comprising:

when the first command is not found in the host system command set, clearing, by the host system, the host system input buffer and waiting for input of a next command line.

10. The test method according to claim 8 , further comprising:

when the first command is found and the first command is not a command named based on the name of the subsystem, determining that the first command is the command of the host system in the host system command set.

11. The test method according to claim 8 , further comprising:

when the first command is found and the first command is a command named based on the name of the subsystem, determining that the first command is a command corresponding to the subsystem.

12. The test method according to claim 1 , wherein the subsystem command set of the subsystem comprises commands of the subsystem.

13. The test method according to claim 12 , wherein after parsing the second command line by the subsystem to obtain the second command and the second parameter corresponding to the second command line, the method further comprises:

querying, by the subsystem, the second command in the subsystem command set of the subsystem, when the second command is not found, clearing, by the subsystem, the subsystem input buffer and waits for input of a next command line.

14. The test method according to claim 1 , wherein writing the corresponding first output information into the corresponding host system output buffer by the host system comprises:

monitoring whether the corresponding host system output buffer is currently in an idle state, and when the corresponding host system output buffer is currently in the idle state, writing, by the host system, the first output information into the corresponding host system output buffer.

15. The test method according to claim 5 , wherein respectively allocating, in advance in the shared memory, the host system input buffer, the subsystem input buffer, the host system output buffer and the subsystem output buffer to the host system and the subsystem comprises:

respectively allocating, in advance in the shared memory, the host system input buffer, the subsystem input buffer, the host system output buffer and the subsystem output buffer based on a continuous spatial address.

16. A multi-processor System On Chip (SOC) chip, wherein the multi-processor SOC chip comprises a host system and at least one subsystem, wherein

the host system is configured to parse a first command line in a host system input buffer to obtain a first command and a first parameter corresponding to the first command line, when the first command is a command of the host system in a host system command set, execute the first command, and when the first command is a command corresponding to a subsystem, send the first parameter to a subsystem input buffer corresponding to the subsystem as a second command line; and

the subsystem is configured to parse the second command line to obtain a second command and a second parameter corresponding to the second command line, and when the second command is a command in a subsystem command set of the subsystem, execute the second command;

wherein the host system is further configured to, after executing the first command, write corresponding first output information into a corresponding host system output buffer, and trigger a corresponding first interrupt signal by an interrupt trigger module of the host system, so as to call an interrupt service program corresponding to the first interrupt signal to process the first output information; and

the subsystem is further configured to, after executing the second command, write corresponding second output information into a corresponding subsystem output buffer, and triggering, by an interrupt trigger module of the subsystem, a second interrupt signal corresponding to the subsystem in the host system, so that the host system calls an interrupt service program corresponding to the second interrupt signal to process the second output information.

17. The multi-processor SOC chip according to claim 16 , further comprising:

a shared memory, configured to allocate the host system input buffer, the subsystem input buffer, the host system output buffer and the subsystem output buffer to the host system and the subsystem.

18. A non-transitory computer-readable storage medium storing a program, wherein the program, when executed by a multi-processor System On Chip (SOC) chip comprising a host system and at least one subsystem, causes the host system and the subsystem to implement following operations:

parsing a first command line in a host system input buffer by the host system to obtain a first command and a first parameter corresponding to the first command line, when the first command is a command of the host system in a host system command set, executing the first command by the host system, and when the first command is a command corresponding to a subsystem, sending, by the host system, the first parameter to a subsystem input buffer corresponding to the subsystem as a second command line; and

parsing the second command line by the subsystem to obtain a second command and a second parameter corresponding to the second command line, and when the second command is a command in a subsystem command set of the subsystem, executing the second command by the subsystem:

after executing the first command, writing corresponding first output information into a corresponding host system output buffer by the host system, and triggering a corresponding first interrupt signal by an interrupt trigger module of the host system, so as to call an interrupt service program corresponding to the first interrupt signal to process the first output information, and

after executing the second command, writing corresponding second output information into a corresponding subsystem output buffer by the subsystem, and triggering, by an interrupt trigger module of the subsystem, a second interrupt signal corresponding to the subsystem in the host system, so that the host system calls an interrupt service program corresponding to the second interrupt signal to process the second output information.

Assignments (2)
LICENSE Recorded Jun 30, 2026
From: IEIT SYSTEMS CO., LTD
To: AIVRES SYSTEMS INC.
Reel/Frame 075857/0939 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jun 10, 2025
From: LIU, WENTAO; WU, RUIZHEN; SHEN, XINWU; ZHANG, HUI
To: INSPUR SUZHOU INTELLIGENT TECHNOLOGY CO., LTD.
Reel/Frame 071574/0627 →
Priority Claims (1)
CN 202110018480.4 · Jan 7, 2021 · national
Continuity (1)
Related Publication 20240054059A1 · Feb 15, 2024
References Cited (15)
US 7559001B2 · Betawar · 2009 [cited by examiner]
US 20070220456A1 · Duan · 2007 [cited by examiner]
US 20110131375A1 · Noeldner · 2011 [cited by examiner]
US 20190272217A1 · Lee et al. · 2019 [cited by applicant]
US 20210026711A1 · Ovadia · 2021 [cited by examiner]
US 20220100856A1 · Wise · 2022 [cited by examiner]
CN 103235715A · 2013 [cited by applicant]
CN 104346247A · 2015 [cited by applicant]
CN 105389235A · 2016 [cited by applicant]
CN 106933760A · 2017 [cited by applicant]
CN 110018935A · 2019 [cited by applicant]
CN 112732501A · 2021 [cited by applicant]
International Search report for PCT/CN2021/143261 mailed on Mar. 16, 2022. [cited by applicant]
Search report 1 for Chinese application 202110018480.4, filed Jan. 7, 2021. [cited by applicant]
Search report 2 for Chinese application 202110018480.4, filed Jan. 7, 2021. [cited by applicant]