| CPC G06F 12/0246 (2013.01) | 13 Claims |

|
1. A memory control method for use in a host system, wherein the host system is electrically connected to a memory controller, the method comprising:
sending, by the host system, an identification instruction to the memory controller to obtain identification information of a memory module transmitted by the memory controller;
generating a command sequence list corresponding to the memory module according to the identification information, wherein the command sequence list comprises a plurality of command sequences and corresponding index values thereof, each of the plurality of command sequences comprises a plurality of subcommands; wherein the plurality of subcommands are selected from a predefined subcommand table, the predefined subcommand table comprises a plurality of predefined subcommands, the predefined subcommand table is a universal command set that is preset and is able to be identified by both the host system and the memory controller; wherein when it is determined that the identification information is first identification information, a first command sequence list is generated as the command sequence list; when it is determined that the identification information is second identification information, a second command sequence list is generated as the command sequence list, the first command sequence list is different from the second command sequence list, wherein one command sequence of the first command sequence list and one command sequence of the second command sequence list implement a same function but comprise the predefined subcommands that are different from each other;
transmitting the command sequence list to the memory controller;
sending a corresponding invoke instruction to the memory controller according to execution requirements, wherein the invoke instruction comprises an index value and data parameters, used for invoking and executing one of the plurality of command sequences in the command sequence list once or a plurality of times to control the memory module.
|