1. A control method for shared devices, used in an electronic device comprising a first subsystem and a second subsystem, the electronic device having a first state and a second state, the first state being a state wherein both the first subsystem and the second subsystem are in the working state, the second state being a state wherein the first subsystem is in the non-working state and the second subsystem is in the working state, the electronic device further comprising shared devices used by the first subsystem and the second subsystem, the method comprising: acquiring a first instruction, the first instruction, which is generated by the first subsystem and is transmitted to the shared devices during the switching process between the first state and the second state of the electronic device, being used to switch the shared device from working state to non-working state; acquiring a second instruction, the second instruction being a control instruction, which is generated when the electronic device is switching between the first state and the second state; controlling the state of the shared devices to be the current working state based on the first instruction and the second instruction, in which the first instruction and the second instruction are processed through a logic circuit so that the second instruction invalidates the state change issued by the first instruction of the shared devices to be switched to non-working state, wherein the logic circuit is one of an XOR gate logic circuit, XNOR gate logic circuit and an OR gate logic circuit.