A method for accessing a memory, applied to a system on chip, comprising: writing, by an interface of the system on chip, service data into a first region of the memory; reading, by each apparatus following the interface, data, to be processed, written by a previous apparatus in a region of the memory corresponding to the previous apparatus, processing the data to be processed and writing processed data into a next region of the memory, till reading, by a last apparatus following the interface, data, to be processed, written by a previous apparatus in a region of the memory corresponding to the previous apparatus, processing the data to be processed to obtain feedback data, so that the feedback data is written into the first region; and transmitting, by the interface, the feedback data, wherein a processor serving as the apparatus following the interface only has an access permission for the first region, wherein the reading, by each apparatus following the interface, data, to be processed, written by a previous apparatus in a region of the memory corresponding to the previous apparatus, processing the data to be processed and writing processed data into a next region of the memory, till reading, by a last apparatus following the interface, data, to be processed, written by a previous apparatus in a region of the memory corresponding to the previous apparatus, processing the data to be processed to obtain feedback data, so that the feedback data is written into the first region comprises: writing, by a first encryption and decryption apparatus, first data obtained by decrypting the service data in the first region into a second region of the memory; writing, by a data processing apparatus, second data obtained by processing the first data into a third region of the memory; and writing, by the first encryption and decryption apparatus, the feedback data obtained by encrypting the second data into the first region of the memory, wherein the first region supports to be accessed by all host apparatuses of the system on chip, the second region only supports a write operation performed by the first encryption and decryption apparatus and a read operation performed by the data processing apparatus, the third region supports only a write operation performed by the data processing apparatus and a read operation performed by the first encryption and decryption apparatus. writing, by an interface of the system on chip, service data into a first region of the memory; reading, by each apparatus following the interface, data, to be processed, written by a previous apparatus in a region of the memory corresponding to the previous apparatus, processing the data to be processed and writing processed data into a next region of the memory, till reading, by a last apparatus following the interface, data, to be processed, written by a previous apparatus in a region of the memory corresponding to the previous apparatus, processing the data to be processed to obtain feedback data, so that the feedback data is written into the first region; and transmitting, by the interface, the feedback data, wherein a processor serving as the apparatus following the interface only has an access permission for the first region, wherein the reading, by each apparatus following the interface, data, to be processed, written by a previous apparatus in a region of the memory corresponding to the previous apparatus, processing the data to be processed and writing processed data into a next region of the memory, till reading, by a last apparatus following the interface, data, to be processed, written by a previous apparatus in a region of the memory corresponding to the previous apparatus, processing the data to be processed to obtain feedback data, so that the feedback data is written into the first region comprises: writing, by a first encryption and decryption apparatus, first data obtained by decrypting the service data in the first region into a second region of the memory; writing, by a data processing apparatus, second data obtained by processing the first data into a third region of the memory; and writing, by the first encryption and decryption apparatus, the feedback data obtained by encrypting the second data into the first region of the memory, wherein the first region supports to be accessed by all host apparatuses of the system on chip, the second region only supports a write operation performed by the first encryption and decryption apparatus and a read operation performed by the data processing apparatus, the third region supports only a write operation performed by the data processing apparatus and a read operation performed by the first encryption and decryption apparatus. writing, by a first encryption and decryption apparatus, first data obtained by decrypting the service data in the first region into a second region of the memory; writing, by a data processing apparatus, second data obtained by processing the first data into a third region of the memory; and writing, by the first encryption and decryption apparatus, the feedback data obtained by encrypting the second data into the first region of the memory, wherein the first region supports to be accessed by all host apparatuses of the system on chip, the second region only supports a write operation performed by the first encryption and decryption apparatus and a read operation performed by the data processing apparatus, the third region supports only a write operation performed by the data processing apparatus and a read operation performed by the first encryption and decryption apparatus.