A stylus receiving method, applied to a stylus receiving apparatus, the stylus receiving apparatus comprises:
- 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 is configured to be driven to a locked state by the stylus when the stylus is being inserted into the accommodating space and configured to be driven to an unlocked state by the stylus when the stylus in the accommodating space is being pressed;
- wherein, in the locked state, the ejection mechanism allows the stylus to be received in the accommodating space;
- and
- wherein, 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;
- wherein the holding assembly generates a first magnetic field when the coil part is powered off;
- wherein the holding assembly generates a second magnetic field when the coil part is powered on;
- and
- wherein 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, the coil part is powered off when the sensing assembly senses that the ejection mechanism changes from the unlocked state to the locked state;
- wherein the coil part is powered on when the sensing assembly senses that the ejection mechanism changes from the locked state to the unlocked state;
- and wherein the stylus receiving method comprises:
- when the stylus needs to be received, inserting the stylus from the exit/entrance port, so that the stylus drives the ejection mechanism to change from the unlocked state to the locked state, and is received in the accommodating space;
- and controlling the coil part to be in a power-off state, so that a first magnetic field of the holding assembly holds the stylus;
- and
- when the stylus needs to be taken out, pressing the stylus, so that the stylus drives the ejection mechanism to change from the locked state to the unlocked state;
- and controlling the coil part to be powered on, so that the holding assembly generates a second magnetic field, and the ejection mechanism ejects the stylus from the exit/entrance port,
- wherein the ejection mechanism comprises a sliding seat, a sliding member an elastic member and a guide rod;
- wherein the sliding seat is fixedly connected to the bracket, and is located in the accommodating space;
- wherein the sliding member may slidably cooperate with the sliding seat, and a sliding direction is along an axial direction of the accommodating space;
- wherein the sliding member comprises a guide plate with a guide groove;
- wherein the elastic member is elastically supported between the sliding seat and the sliding member, and can exert an elastic force on the sliding member in a direction toward the exit/entrance port,
- wherein the guide rod comprises a fastened end and a movable end, the fastened end and the sliding seat are relatively fastened, and the movable end can moyably cooperate with the guide groove, and can move along the guide groove when the sliding member is driven by the stylus to move relative to the sliding seat;
- wherein the guide gr pove comprises a first locked position and a second locked position that are spaced along the axial direction of the accommodating space;
- wherein, in the locked state, the movable end is located in the first locked position, and the guide rod pulls the sliding member, so that the sliding member is limited to a position that is relatively far away from the exit/entrance port, and compresses the elastic member;
- and
- wherein, in the unlocked state, the movable end is located in the second locked position, and the sliding member is ejected by the elastic member to a position closer to the exit/entrance port.