A stylus receiving apparatus , comprising: a bracket , wherein the bracket defines an accommodating space , and the accommodating space has an exit/entrance port for inserting a stylus ; an ejection mechanism , wherein the ejection mechanism is disposed in the accommodating space , and the ejection mechanism can be driven to a locked state or an unlocked state by the stylus that is inserted into the accommodating space ; in the locked state, the ejection mechanism allows the stylus to be received in the accommodating space ; and in the unlocked state, the ejection mechanism is capable of ejecting the stylus from the accommodating space ; a holding assembly , configured to cooperate with a held element on the stylus , so as to hold the stylus ; wherein the holding assembly comprises a magnet part and a coil part ; the holding assembly generates a first magnetic field when the coil part is powered off; the holding assembly generates a second magnetic field when the coil part is powered on; and a holding force exerted by the second magnetic field on the stylus is smaller than a holding force exerted by the first magnetic field on the stylus ; and a sensing assembly , wherein the sensing assembly is communicatively connected to the coil part ; the sensing assembly senses a state change of the ejection mechanism by sensing movement of the ejection mechanism , and the coil part is powered off when the sensing assembly senses that the ejection mechanism changes from an unlocked state to a locked state; and the coil part is powered on when the sensing assembly senses that the ejection mechanism changes from the locked state to the unlocked state. a bracket , wherein the bracket defines an accommodating space , and the accommodating space has an exit/entrance port for inserting a stylus ; an ejection mechanism , wherein the ejection mechanism is disposed in the accommodating space , and the ejection mechanism can be driven to a locked state or an unlocked state by the stylus that is inserted into the accommodating space ; in the locked state, the ejection mechanism allows the stylus to be received in the accommodating space ; and in the unlocked state, the ejection mechanism is capable of ejecting the stylus from the accommodating space ; a holding assembly , configured to cooperate with a held element on the stylus , so as to hold the stylus ; wherein the holding assembly comprises a magnet part and a coil part ; the holding assembly generates a first magnetic field when the coil part is powered off; the holding assembly generates a second magnetic field when the coil part is powered on; and a holding force exerted by the second magnetic field on the stylus is smaller than a holding force exerted by the first magnetic field on the stylus ; and a sensing assembly , wherein the sensing assembly is communicatively connected to the coil part ; the sensing assembly senses a state change of the ejection mechanism by sensing movement of the ejection mechanism , and the coil part is powered off when the sensing assembly senses that the ejection mechanism changes from an unlocked state to a locked state; and the coil part is powered on when the sensing assembly senses that the ejection mechanism changes from the locked state to the unlocked state. <EOS>