A communication method, wherein the method is applied to a computer system, the computer system comprises a first subsystem and a second subsystem, and a safety level of the first subsystem is higher than a safety level of the second subsystem; the first subsystem comprises a memory access checker, wherein a CPU core of the first subsystem, a CPU core of the second subsystem, and the memory access checker are integrated on a same chip; and the method comprises: receiving, by the memory access checker, a memory access request from a memory access initiator, wherein the memory access request carries a memory address to be accessed by the memory access initiator and safety level information of the memory access initiator; and determining, by the memory access checker based on preconfigured memory safety level division information, whether a safety level of a memory to be accessed by the memory access initiator matches a safety level of the memory access initiator, and allowing the memory access initiator to access the memory address when a safety level of the memory address matches the safety level of the memory access initiator, wherein the memory safety level division information is used to indicate safety levels of memories in different address segments of the computer system; wherein the computer system further comprises an interrupt controller; the first subsystem and the second subsystem share the interrupt controller; interrupt routing configuration information stored in the interrupt controller is configured by the CPU core of the first subsystem, and the interrupt routing configuration information is used to indicate a CPU core that responds to each interrupt; and the method further comprises: receiving, by the interrupt controller, an interrupt request from an interrupt initiator, wherein the interrupt request carries safety level information of the interrupt initiator; and determining, by the interrupt controller, whether a safety level of the interrupt initiator matches a safety level of an interrupt receiver corresponding to the interrupt initiator based on configured safety level information and the interrupt request, and when the safety level of the interrupt initiator matches the safety level of the interrupt receiver, allowing the interrupt receiver to accept the interrupt request; wherein that the safety level of the interrupt initiator matches the safety level of the interrupt receiver comprises: the interrupt initiator belongs to the first subsystem, and the interrupt receiver belongs to the second subsystem.. receiving, by the memory access checker, a memory access request from a memory access initiator, wherein the memory access request carries a memory address to be accessed by the memory access initiator and safety level information of the memory access initiator; and determining, by the memory access checker based on preconfigured memory safety level division information, whether a safety level of a memory to be accessed by the memory access initiator matches a safety level of the memory access initiator, and allowing the memory access initiator to access the memory address when a safety level of the memory address matches the safety level of the memory access initiator, wherein the memory safety level division information is used to indicate safety levels of memories in different address segments of the computer system; wherein the computer system further comprises an interrupt controller; the first subsystem and the second subsystem share the interrupt controller; interrupt routing configuration information stored in the interrupt controller is configured by the CPU core of the first subsystem, and the interrupt routing configuration information is used to indicate a CPU core that responds to each interrupt; and the method further comprises: receiving, by the interrupt controller, an interrupt request from an interrupt initiator, wherein the interrupt request carries safety level information of the interrupt initiator; and determining, by the interrupt controller, whether a safety level of the interrupt initiator matches a safety level of an interrupt receiver corresponding to the interrupt initiator based on configured safety level information and the interrupt request, and when the safety level of the interrupt initiator matches the safety level of the interrupt receiver, allowing the interrupt receiver to accept the interrupt request; wherein that the safety level of the interrupt initiator matches the safety level of the interrupt receiver comprises: the interrupt initiator belongs to the first subsystem, and the interrupt receiver belongs to the second subsystem.. receiving, by the interrupt controller, an interrupt request from an interrupt initiator, wherein the interrupt request carries safety level information of the interrupt initiator; and determining, by the interrupt controller, whether a safety level of the interrupt initiator matches a safety level of an interrupt receiver corresponding to the interrupt initiator based on configured safety level information and the interrupt request, and when the safety level of the interrupt initiator matches the safety level of the interrupt receiver, allowing the interrupt receiver to accept the interrupt request; wherein that the safety level of the interrupt initiator matches the safety level of the interrupt receiver comprises: the interrupt initiator belongs to the first subsystem, and the interrupt receiver belongs to the second subsystem..