The invention discloses a method for driving a multi-mode terminating
machine by a
radio interface layer RIL and a multi-mode terminating
machine. The method comprises the following steps: presetting and storing an RIL proxy supporting a multi-mode
system dynamic link
library, and setting an RIL drive corresponding to the
system respectively according to the
system types of the multi-mode terminating
machine; calling the RIL proxy, the RIL drive and a communication module corresponding to the RIL drive by an upper application program, registering and acquiring an RIL
handle corresponding to the RIL drive; receiving a command input by a user, triggering an upper application, searching and acquiring the RIL
handle corresponding to the user command, and calling a corresponding RIL proxy function; according to the RIL proxy function called in the dynamic link
library, converting the input user command to the corresponding Device IO Control calling of the RIL drive; and acquiring the RIL
handle contained in Device IO Control calling, transmitting an operation command to the communication module corresponding to the RIL handle, and executing operation by the communication module according to the received operation command. The method and the terminating machine can enhance the
reusability of designing, and improve the stability and communication efficiency of the multi-mode terminating machine.