Patent ID: 9128891
Filing Date: 2015-09-08
Classification: G06F,Y02D

Abstract:
1. A method of sharing a memory device, applicable to a mobile terminal comprising a first processor, a second processor, a switch circuit and a readable and writable nonvolatile memory device, wherein a processing capacity of the first processor is different from that of the second processor, the method comprising: in a case that the mobile terminal is initially powered on, the mobile terminal is in a first state in which the memory is connected to the first processor by default, and the first processor is not using the memory; or in a case that the first processor needs to use the memory in the first state, a control signal is transmitted to the memory to control the memory to be powered up, to switch the mobile terminal into a second state, in which the first processor accesses the memory as a host end; or in a case that the second processor needs to use the memory in the second state, the first processor establishes a direct connection channel between the second processor and the memory, and the first processor transmit the control signal to the memory to control the memory to be powered down firstly and then powered up to switch the mobile terminal into a third state, in which the second processor accesses the memory via the direct connection channel as the host end; or in a case that the first processor or the second processor does not need to use the memory in the third state, the first processor disconnects the direction connection between the second processor and the first processor transmits the control signal to the memory to control the memory to be powered down, to switch the mobile terminal into the memory to switch into the first state; or in a case that the second processor needs to use the memory in the first state, the first processor establishes the direct connection between the second processor and the memory and the first processor transmits the control signal to the memory to control the memory to be powered up, to switch the mobile terminal into the third state; or in a case that the first processor needs to use the memory in the third state, the first processor disconnects the direction connection between the second processor and the memory, and the first processor transmits the control signal to the memory and control the memory to be powered down firstly and then powered up, to switch the mobile terminal into the second state; or in a case that the first processor does not need to use the memory, the first processor transmits the control signal to the memory to control the memory to be powered down, to switch the mobile terminal into the first state.