WO2018218852A1 - Card slot processing apparatus and method, processor, storage medium and electronic device - Google Patents
Card slot processing apparatus and method, processor, storage medium and electronic device Download PDFInfo
- Publication number
- WO2018218852A1 WO2018218852A1 PCT/CN2017/106761 CN2017106761W WO2018218852A1 WO 2018218852 A1 WO2018218852 A1 WO 2018218852A1 CN 2017106761 W CN2017106761 W CN 2017106761W WO 2018218852 A1 WO2018218852 A1 WO 2018218852A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- card slot
- motor
- guide rail
- rail
- indication information
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B1/00—Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
- H04B1/38—Transceivers, i.e. devices in which transmitter and receiver form a structural unit and in which at least one part is used for functions of transmitting and receiving
- H04B1/3816—Mechanical arrangements for accommodating identification devices, e.g. cards or chips; with connectors for programming identification devices
Definitions
- the present application relates to the field of communications, and in particular to a card slot processing apparatus and method, a processor, a storage medium, and an electronic device.
- SIM Subscriber Identification Module
- a common type of SIM card slot is an external card slot that supports hot-swappable SIM cards, such as an Apple mobile phone.
- the slot has a gap with the edge of the device to facilitate the user to remove the SIM card.
- This type of card slot is perfectly integrated with the edge of the device, and only a small hole is exposed to allow the user to remove the SIM card with the needle.
- the problem that everyone often encounters is that the needle is often not carried with you. When there is no needle and wants to take out the SIM card, the drawbacks of this design are fully revealed.
- the embodiment of the present application provides a card slot processing apparatus and method, a processor, an electronic device, and a storage medium, so as to at least solve the problem that the pop-up of the card slot in the related art requires manual assistance by the user.
- the embodiment of the present application provides a card slot processing apparatus, including: a card slot and a rail connecting the card slot, wherein the rail is provided with a second conductive pad and a second switch pressing position, wherein:
- the guide rail configured to eject the card slot located in the device In the external case, moving to the outside of the device, when the second switch pressing position reaches the position of the second conductive pad, the guide rail stops moving.
- the embodiment of the present application provides a card slot processing method, including: receiving first indication information, where the first indication information is used to indicate that the card slot located in the device is popped out of the device. Controlling the movement of the guide rail according to the first indication information, wherein the guide rail is connected to the card slot and the guide rail drives the card slot to move when moving; determining that the card slot is ejected When the device is in operation, the guide rail is controlled to stop moving.
- the embodiment of the present application further provides a storage medium, where the storage medium stores computer executable instructions, wherein the computer executable instructions execute any one of the above card slot processing methods when running.
- the embodiment of the present application further provides a processor, where the processor is configured to run a program, where the program is executed to perform the method described in any one of the foregoing.
- an embodiment of the present application provides an electronic device, including: a housing, a processor, and a card slot processing device provided by any one of the foregoing;
- the housing is provided with an opening for the card slot to enter and exit the housing;
- the processor located in the housing, configured to control a card slot in the card slot processing device to enter and exit the housing by execution of a computer program, and perform card slot processing according to any one of claims 11 to 16. method.
- the card slot processing device includes a card slot and a rail connecting the card slot, and the rail is provided with a second conductive pad and a second switch pressing position, wherein the rail is used to be located in the device when needed
- the device moves to the outside of the device, and when the second switch pin reaches the position of the second conductive pad, the rail stops moving.
- the card slot processing device is equipped with a guide rail, when the card slot located in the device needs to be ejected from the device, the card slot can be moved to the outside of the device through the guide rail, and the second conductive pad is disposed on the guide rail and The second switch is pressed so that when the second switch pressure reaches the position of the second conductive pad, the control rail stops When the movement is stopped, the card slot is completely ejected, and the user does not need to manually assist the card slot to eject the device. Therefore, the problem that the card slot of the related art needs to be manually assisted by the user can be solved, thereby improving the user experience.
- FIG. 1 is a block diagram showing the hardware structure of a mobile terminal of a card slot processing method according to an embodiment of the present application
- FIG. 2 is a flowchart of a card slot processing method according to an embodiment of the present application.
- FIG. 3 is a structural diagram of a card slot processing apparatus according to an embodiment of the present application.
- FIG. 4 is an optional structural diagram 1 of a card slot processing apparatus according to an embodiment of the present application.
- FIG. 5 is an optional structural diagram 2 of a card slot processing apparatus according to an embodiment of the present application.
- FIG. 6 is a diagram of a card slot pop-up state according to an embodiment of the present application.
- FIG. 7 is a circuit diagram of a control card slot movement switch according to an embodiment of the present application.
- FIG. 8 is an optional structural diagram 3 of a card slot processing apparatus according to an embodiment of the present application.
- FIG. 9 is a structural block diagram of a card slot processing apparatus according to an embodiment of the present application.
- FIG. 1 is a hardware structural block diagram of a mobile terminal of a card slot processing method according to an embodiment of the present application.
- the mobile terminal 10 may include one or more (only one shown) processor 102 (the processor 102 may include, but is not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA).
- FIG. 1 is merely illustrative and does not limit the structure of the above electronic device.
- the mobile terminal 10 may also include more or fewer components than those shown in FIG. 1, or have a different configuration than that shown in FIG.
- the memory 104 can be configured as a software program and a module for storing application software, such as program instructions/modules corresponding to the card slot processing method in the embodiment of the present application, and the processor 102 executes by executing a software program and a module stored in the memory 104.
- application software such as program instructions/modules corresponding to the card slot processing method in the embodiment of the present application
- the processor 102 executes by executing a software program and a module stored in the memory 104.
- Various functional applications and data processing, that is, the above methods are implemented.
- Memory 104 may include high speed random access memory, and may also include non-volatile memory such as one or more magnetic storage devices, flash memory, or other non-volatile solid state memory.
- memory 104 may further include memory remotely located relative to processor 102, which may be connected to mobile terminal 10 over a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
- Transmission device 106 is configured to receive or transmit data via a network.
- the above-described network specific example may include a wireless network provided by a communication provider of the mobile terminal 10.
- the transmission device 106 includes a Network Interface Controller (NIC) that can be connected to other network devices through a base station to communicate with the Internet.
- the transmission device 106 can be a Radio Frequency (RF) module for communicating with the Internet wirelessly.
- NIC Network Interface Controller
- RF Radio Frequency
- FIG. 2 It is a flowchart of the card slot processing method according to the embodiment of the present application. As shown in FIG. 2, the process includes the following steps:
- Step S202 the first indication information is received, where the first indication information is used to indicate that the card slot located in the device is popped out of the device; the first indication information may be indication information determined according to the collected user input. . For example, detecting a button applied to an electronic device such as a mobile phone or a click operation or a sliding operation on the touch screen, etc., when the user operates as a preset card slot to exit the operation of the electronic device, generating the first indication information.
- the device is pre-configured with software (such as an application (APP)), and the indication information can be received through the software;
- software such as an application (APP)
- APP application
- step S204 the guide rail is moved according to the first indication information, wherein the guide rail is connected to the card slot and the guide rail moves the card slot to move when the guide rail is moved; in this embodiment, the guide rail and the card slot can be fixedly connected.
- the electronic device includes a housing, and the housing may include a frame; the frame may be provided with an opening for the card slot to enter and exit the electronic device, when the card slot is located in the electronic device, The card slot is closer to the opening than the rail.
- a driving device may be connected to the guide rail, and the driving device may be a driving motor or the like, and the driving motor may provide a driving force for moving the guiding rail, and the guiding rail pulls the movement of the card slot by its own movement.
- the electronic device can be various types of electronic devices such as a mobile phone, a tablet computer, or a wearable device.
- the software processes the indication information or sends it to a blower such as a central processing unit or a microprocessor to control the movement of the guide rail;
- Step S206 when it is determined that the card slot is ejected from the device, the control rail stops moving.
- the step S206 can include the rail stopping motion after the rail is moved to a predetermined position.
- the maximum stroke of the guide rail is determined, and a travel switch is disposed at both ends of the guide rail stroke, so that when the guide rail moves to both ends, the guide rail and the forming switch act, and the switch state of the travel switch is changed, and Device such as processor, travel switch
- the state can be controlled by transmitting a drive command to the drive device to change the drive state of the drive device, thereby controlling the guide rail to move within the range of travel. For example, moving to the ends of the stroke automatically stops the movement.
- the maximum stroke of the guide rail is not less than the width of the card slot in the first direction.
- the first direction is a movable direction of the guide rail, so that the guide rail can be ensured to move into the electronic device by its own movement.
- the guide rail drives the card slot to start moving until the card slot is completely ejected, and the control rail stops moving. At this time, the card slot is completely ejected, and the user no longer needs the manual auxiliary card slot.
- the ejecting device can solve the problem that the ejecting of the card slot in the related art requires manual assistance by the user, and the above method can not only improve the disadvantage that the card slot of the current SIM card needs to be pulled out by means of the foreign object, but also completely quit the user manually. By operating the card slot, the user experience is greatly improved.
- the method further includes: receiving the second indication information, wherein the second indication information is used to indicate that the card slot located outside the device is sucked into the device;
- the two indication information control rails are moved, wherein the guide rails are connected to the card slots and the guide rails move the card slots when the guide rails move; when the card slots are determined to be sucked into the device, the control rails stop moving.
- the second indication information can be determined based on user input.
- the card slot may be preset to be completely sucked into the device or fully ejected to a corresponding level.
- the software detects that the level of the identification card slot is completely drawn into the device or is completely ejected to a predetermined level, it is determined that the card slot is completely inhaled. Or pop up, at this point, the control rail stops.
- the predetermined level may be a first level or a second level; the first level is different from the second level. If the first level is lower than the second level, in some embodiments, the predetermined level may be a first level, and the predetermined level may be a low level, the low level It is the level at which the level value is lower than the reference level.
- the control rail stops moving: when detecting that the second test voltage for identifying the card slot being ejected by the ejecting device is low Down, the control rail stops moving; or, in the determination that the card slot is sucked into the device
- the control rail stops moving when it is detected that the first test voltage for identifying the card slot being sucked into the device is low.
- the motor can be set in the device, and the guide rail can be moved by the motor.
- the motor can be controlled by the software to control the connection of the positive and negative poles of the motor to control the steering direction of the motor, wherein the positive direction of the motor can be controlled. Connect the positive pole of the power supply, connect the negative pole of the motor to the negative pole of the power supply, or control the positive pole of the motor to the negative pole of the power supply.
- controlling the movement of the guide rail according to the first indication information comprises: connecting a first connection end of the motor to the positive pole of the power source and a second connection end of the motor to connect the negative pole of the power source; and driving the guide rail to move to the outside of the device by the operation of the motor; according to the second indication
- the information control rail is moved to: the first connection end of the control motor is connected to the negative pole of the power source, and the second connection end of the motor is connected to the positive pole of the power source; the running of the motor drives the guide rail to move to the inside of the device.
- the motor can drive the rail movement in a variety of ways, including but not limited to the following: gear transmission, belt drive, chain drive.
- the motor also has the function of providing vibration to the device.
- the model of the above motor can be selected to be close to the model of the vibration motor of the device. Since the ejection or suction operation of the card slot is not a frequent operation, the vibration motor of the device can be directly used through hardware and software design, and no new motor is installed. The realization is simple and cost-effective. It should be noted that the above device may be a mobile phone.
- the driving device for driving the guide rail can be an electrode or a hydraulic driving device.
- a motor can be selected.
- the electronic device is light and thin, and various internal parts of the electronic device are improved.
- the effective utilization of the components, in the driving device for moving the guide rail in the embodiment can multiplex the vibration motor of the electronic device; the vibration motor can generate mechanical vibration, and mechanical vibration noise is caused by mechanical vibration.
- An eccentric block is disposed on the rotor of the vibration motor, and the motor can be switched between a normal driving motor and a vibration motor by adjusting the eccentric block.
- the eccentric block deviates At the center of the rotor of the motor, when the motor provides a driving force for motion of the rail, the center of mass or geometric center of the eccentric mass coincides with the center of the rotor of the motor.
- the execution body of the foregoing steps may be a base station, a terminal, or the like, but is not limited thereto.
- the above method mainly controls the movement of the rail connected to the SIM card slot through the high and low level of the processor, so that the user can completely control the card slot insertion and removal operation of the SIM card through the user interface (User Interface, referred to as UI), so that the SIM card slot It can be automatically ejected and automatically inhaled, even if it can be like a computer optical drive.
- UI User Interface
- an optional card slot processing apparatus is also provided.
- FIG. 3 is a structural diagram of a card slot processing apparatus according to an embodiment of the present application. As shown in FIG. 3, the apparatus includes:
- the rail is provided with a second conductive pad and a second switch pressing position, wherein the rail is used to move to the outside of the device if the card slot located in the device needs to be ejected outside the device
- the guide rail stops moving.
- FIG. 4 is an optional structural diagram of a card slot processing apparatus according to an embodiment of the present application. As shown in FIG. 4, the apparatus includes:
- the first conductive pad and the first switch pressing position are further disposed on the guide rail, wherein the guide rail is further configured to move to the inner side of the device when the card slot located outside the device needs to be sucked into the device, when the first switch is pressed When the position of the first conductive pad is reached, the guide rail stops moving.
- the card slot processing apparatus further includes: a circuit configured to determine a position of the card slot, the circuit comprising: a test voltage end configured to test the voltage, a first switch, a second switch, and a ground end, wherein the first switch is pressed When the position of the first conductive pad is reached, the first conductive pad is pressed to close the first switch, and the test voltage end is connected to the ground through the first switch, and the first test voltage of the test voltage terminal is low, and the guide rail is stopped.
- a circuit configured to determine a position of the card slot, the circuit comprising: a test voltage end configured to test the voltage, a first switch, a second switch, and a ground end, wherein the first switch is pressed When the position of the first conductive pad is reached, the first conductive pad is pressed to close the first switch, and the test voltage end is connected to the ground through the first switch, and the first test voltage of the test voltage terminal is low, and the guide rail is stopped.
- the card slot processing device further includes: a motor, the motor includes a first connection end and a second connection end; the motor is further configured to connect the first connection end to the power supply negative pole when the card slot needs to be sucked into the device, The second connection end is connected to the positive pole of the power supply, and the motor runs to drive the guide rail to move to the inside of the device; the motor is used to connect the positive connection to the positive pole of the power supply when the card slot needs to be ejected into the device, and the second connection end is connected to the negative pole of the power supply, and the motor is operated. Drive the guide rail to the outside of the device.
- the motor drives the rail movement by at least one of: gear transmission, belt transmission, chain transmission.
- the motor also has the function of providing vibration to the device.
- the motor is configured to be configured such that when the card slot located outside the device does not need to be drawn into the device and the card slot located within the device does not need to be ejected out of the device,
- the gear is separated from the gear track, and the vibration function of the device is realized as a vibration motor.
- the vibration function can be used to output vibration when the electronic device receives a message or the like to satisfy a vibration event.
- the motor drives the guide rail to move through the gear transmission
- the motor is provided with a gear
- the rail is provided with a gear track
- the motor drives the guide rail to move through the gear and the gear track.
- the gear is separated from the gear track, so that the motor provides a vibration function for the device;
- the gear is matched with the gear track, so that the motor drives the guide rail to move.
- the card slot ejecting device further includes a support rod for performing separation or fitting of the gear and the gear track.
- the first end of the support rod is connected to the motor, the second end of the support rod is connected by a spring for fixing the fixed end of the support rod, and the second end is also connected with an electromagnet; when the card outside the device is not needed The slot is sucked into the device and does not need to be used to eject the card slot inside the device out of the device.
- the fixed end pulls the support rod by the spring to keep the gear and the gear track separated; when the card slot outside the device needs to be sucked into the device or the card slot located in the device needs to be ejected outside the device, the electromagnet is energized to generate a magnetic force.
- the electromagnet is attracted to the iron piece on the inner side of the device where the card slot is located, so that the support rod moves in the opposite direction to the fixed end, so that the gear and the gear track fit together.
- the motor is driven by the gear to drive the rail as an example, and the entire flow of the card slot is shown in detail.
- the card slot processing device for the SIM card is mainly composed of the following parts: a card slot; a switch pressure level 1 (same as the above-mentioned first switch pressure position); a switch pressure level 2 (same as the above-mentioned second switch pressure position); Pad 1 (same as the first conductive pad described above); conductive pad 2 (same as the above second conductive pad); motor; gear of the device on the motor; rail; gear track of the device on the rail.
- the software card slot processing device can include the following steps:
- the motor is connected to the positive and negative stages and starts to run;
- the motor runs to drive the gear to rotate
- the gear rotates and then drives the guide rail to move to the outside of the edge of the device through the gear track, so that the card slot moves to the outside of the device, and the card slot is slowly pushed out;
- the motor is connected to the positive and negative poles opposite to the eject slot, and the operation starts;
- the motor runs to drive the gear to rotate
- the gear rotates and then moves the guide rail to the inner side of the device edge through the gear track. Move to move the card slot to the inside of the device, and the card slot is slowly sucked in;
- FIG. 5 is an alternative structural diagram of the card slot processing apparatus according to the embodiment of the present application. It should be noted that, in this embodiment, the movement of the rail by the motor through the gear transmission is still taken as an example. As shown in Figure 5,
- 101 is the switch pressure position 1.
- the guide rail moves to the inside of the device.
- the switch pressure position 1 reaches the position of the gasket 1 (103)
- the gasket 1 is pressed to make the gasket 1 Elastic deformation occurs;
- 106 and 107 are the positive and negative poles of the motor, and the direction of rotation of the gear is controlled by switching the positive and negative levels;
- 10. 111 is the switch pressing position 2.
- the guide rail moves to the outside of the device.
- the switch pressing position 2 reaches the position of the spacer 2 (113), the spacer 2 is pressed to make the spacer 2 Elastic deformation occurs, in which the card slot exit state is as shown in FIG. 6.
- 112 is a variable length guide rail
- the length B in the figure must be greater than the length A.
- FIG. 7 is a circuit diagram of a control card slot movement switch according to an embodiment of the present application, as shown in FIG.
- 201 is a small resistance; the small resistance here can be an electron with a small resistance, for example, a resistance smaller than a preset resistance.
- 4. 204 is the ground level terminal
- 5. 205 is the test level end, when both the spacer 1 and the spacer 2 are not closed, it is a positive level;
- 6. 206 is the stable voltage VC.
- the realization of the above motor and equipment vibration motor sharing can include the following steps:
- the support rod is pulled by the spring to separate the gear (motor) from the gear track, and the motor is used for the vibration function of the device;
- FIG. 8 is an optional structural diagram of the card slot processing apparatus according to the embodiment of the present application. It should be noted that, in the embodiment, the movement of the rail by the motor through the gear transmission is taken as an example. As shown in Figure 8,
- 1. 401 is a support rod fixing point for connecting the support rod and the motor (gear);
- 402 is a support rod for attaching or separating the motor (gear) to the gear track;
- 3. 404 is an electromagnet that generates a magnetic force when energized
- 4. 403 is an iron piece for sucking the electromagnet after the electromagnet generates a magnetic force, so that the electromagnet end of the support rod moves toward the iron piece, so that the motor (gear) and the gear track are fitted;
- 405 and 406 are the positive and negative stages of the electromagnet, which are used to energize the electromagnet;
- 407 is a spring, used to pull the support rod when the electromagnet is not energized, so that the motor (gear) is separated from the gear track;
- 408 is the spring fixed end for fixing the spring.
- the method for ejecting the card slot of the SIM card by the software provided by the above embodiment mainly controls the SIM card slot gear through the high and low levels of the processor, so that the user can control the card slot insertion and removal operation of the SIM card through the UI.
- the method can not only improve the drawbacks of the card slot of the current SIM card that needs to be pulled out by means of foreign objects.
- the terminal vibration motor can be utilized, and the terminal vibration motor can be directly used to realize this technology through hardware and software design, which makes the realization of the technology simple and cost-effective.
- the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is A better implementation.
- the technical solution of the present application which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk, CD-ROM, including a number of instructions to make a terminal device (can It is a mobile phone, a computer, a server, or a network device, etc.) that performs the methods described in various embodiments of the present application.
- a card slot processing device is also provided, which is used to implement the above-mentioned embodiments and preferred embodiments, and has not been described again.
- the term “module” may implement a combination of software and/or hardware of a predetermined function.
- the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
- FIG. 9 is a structural block diagram of a card slot processing apparatus according to an embodiment of the present application. As shown in FIG. 9, the apparatus includes:
- the receiving module 90 is configured to receive the first indication information, where the first indication information is used to indicate that the card slot located in the device is popped out of the device;
- the first control module 92 is connected to the receiving module 90 for controlling the movement of the guide rail according to the first indication information, wherein the guide rail is connected to the card slot and the guide rail drives the card slot to move when moving;
- the second control module 94 is coupled to the first control module 92 and configured to control the rail to stop moving when it is determined that the card slot is ejected.
- the receiving module 90 is further configured to receive the second indication information, where the second indication information is used to indicate that the card slot located outside the device is sucked into the device; the first control module 92 is further configured to be used according to the second The indication information controls the guide rail to move, wherein the guide rail is connected to the card slot and the guide rail drives the card slot to move when the guide rail moves; the second control module 94 is further configured to control the guide rail to stop moving when it is determined that the card slot is sucked into the device.
- the second control module 94 is further configured to control the rail to stop moving when detecting that the second test voltage for identifying that the card slot is popped up by the device is a low level; or a second control module, further configured to detect that the card slot is inhaled into the device When the first test voltage is low, the rail is controlled to stop moving.
- the first control module 92 is further configured to control the moving of the rail according to the first indication information, including: controlling a first connection end of the motor to connect the power source positive pole and the second connection end of the motor to connect the power source anode Driving the rail to the outside of the device by the operation of the motor; the first control module 92 is further configured to control the movement of the rail according to the second indication information, comprising: controlling the first connection end of the motor The negative pole of the power source and the second connection end of the motor are connected to the positive pole of the power source; the rail is moved toward the inner side of the device by the operation of the motor.
- each of the above modules may be implemented by software or hardware.
- the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the above modules are in any combination.
- the forms are located in different processors.
- Embodiments of the present application also provide a storage medium including computer executable instructions such as a stored program, wherein the program is executed to perform the method described in any of the above.
- the storage medium stores a computer executable program such as a program code
- the storage medium may be various types of storage media, optionally a non-transitory storage medium or a non-volatile storage medium.
- the steps performed include at least the following:
- the first indication information is received, where the first indication information is used to indicate that the card slot that is located in the device is popped out of the device;
- the storage medium is further configured to store program code for performing the following steps: after determining that the card slot is ejected by the device, after the control rail stops moving, the method further includes:
- the second indication information is received, where the second indication information is used to indicate that the information is to be located outside the device.
- the card slot is sucked into the device;
- the storage medium is further arranged to store program code for performing the following steps:
- stopping the movement of the control rail comprises: stopping the movement of the control rail when detecting that the second test voltage for identifying the card slot being the ejecting device is a low level;
- the control rail stops moving the control rail stops moving when detecting that the first test voltage for identifying the card slot being sucked into the device is a low level.
- the storage medium is further arranged to store program code for performing the following steps:
- controlling the movement of the guide rail according to the first indication information comprising: controlling a first connection end of the motor to connect the positive pole of the power source and a second connection end of the motor to connect the negative pole of the power source; and driving the guide rail to move to the outside of the device by the operation of the motor;
- Controlling the movement of the guide rail according to the second indication information comprises: controlling the first connection end of the motor to connect the negative pole of the power source and the second connection end of the motor to connect the positive pole of the power source; and driving the guide rail to move to the inner side of the device by the operation of the motor.
- the storage medium is further arranged to store program code for performing the following steps:
- the motor drives the rail movement by at least one of the following: gear transmission, belt transmission, chain transmission.
- the storage medium is further arranged to store program code for performing the following steps:
- the motor also has the function of providing vibration to the device.
- the foregoing storage medium may include, but is not limited to, a USB flash drive, a Read-Only Memory (ROM), and a random access memory (Random).
- Access Memory referred to as RAM
- mobile hard disk disk or optical disk, and other media that can store program code.
- Embodiments of the present application also provide a processor for running a program, wherein the program executes the steps of any of the above methods when executed.
- the step that is executable when the computer executable instruction is executed further includes:
- the first indication information is received, where the first indication information is used to indicate that the card slot that is located in the device is popped out of the device;
- the step that is executable when the computer executable instruction is executed further includes: after determining that the card slot is ejected by the device, after the control rail stops moving, the method further includes:
- the step that is executable when the computer executable instruction is executed further includes:
- stopping the movement of the control rail comprises: stopping the movement of the control rail when detecting that the second test voltage for identifying the card slot being the ejecting device is a low level;
- stopping the movement of the control rail comprises: stopping the control rail when detecting that the first test voltage for identifying the card slot being sucked into the device is a low level mobile.
- the step that is executable when the computer executable instruction is executed further includes:
- controlling the movement of the guide rail according to the first indication information comprising: controlling a first connection end of the motor to connect the positive pole of the power source and a second connection end of the motor to connect the negative pole of the power source; and driving the guide rail to move to the outside of the device by the operation of the motor;
- Controlling the movement of the guide rail according to the second indication information comprises: controlling the first connection end of the motor to connect the negative pole of the power source and the second connection end of the motor to connect the positive pole of the power source; and driving the guide rail to move to the inner side of the device by the operation of the motor.
- the step that is executable when the computer executable instruction is executed further includes:
- the motor drives the rail movement by at least one of the following: gear transmission, belt transmission, chain transmission.
- the step that is executable when the computer executable instruction is executed further includes:
- the motor also has the function of providing vibration to the device.
- the embodiment of the present application further provides an electronic device, including: a housing, a processor, and a card slot processing device provided by one or more of the foregoing technical solutions;
- the housing is provided with an opening for the card slot to enter and exit the housing;
- the processor located in the housing, is coupled to the card slot processing device, configured to control a card slot in the card slot processing device to enter and exit the housing through execution of a computer program, and execute the foregoing one or A card slot processing method provided by a plurality of technical solutions.
- the housing may be an outer casing of an electronic device.
- the processor can be a central processing unit, a microprocessor, a digital signal processor, an application processor, a programmable array, an application processor, or an application specific integrated circuit.
- the processor can be connected to the card slot processing device through various lines to control the movement of the guide rails in the card slot processing device, so that the card slot can automatically enter and exit the housing of the electronic device.
- modules or steps of the present application can be implemented by a general computing device, which can be concentrated on a single computing device or distributed in a network composed of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein.
- the steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module.
- the application is not limited to any particular combination of hardware and software.
- a guide rail connected to the card slot is disposed in the device, and the movement of the guide rail can be controlled to pull the card slot into and out of the electronic device, so that the user only needs to apply an operation instruction to the electronic device.
- the electronic device can automatically control the movement of the guide rail to control the movement of the card slot.
- the movement of the card slot does not use the thimble assisted by the user, thereby simplifying the user operation and having a positive industrial effect; on the other hand, it has the characteristics of simple implementation and strong achievability in the industry.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Conveying Record Carriers (AREA)
Abstract
The present application provides a card slot processing apparatus and method. The card slot processing apparatus comprises a card slot and a guide rail connecting the card slot; the guide rail is provided with a second conductive gasket and a second switch pressing member; the guide rail is used for moving towards the outside of a device in cases where the card slot located in the device is required to be ejected out of the device; and when the second switch pressing member reaches the position of the second conductive gasket, the guide rail stops moving. The embodiments of the present application further provide a processor, a storage medium, and an electronic device.
Description
本申请基于申请号为201710390190.6、申请日为2017年05月27日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。The present application is based on a Chinese patent application filed on Jan. 27, 2017, the entire disclosure of which is hereby incorporated by reference.
本申请涉及通信领域,具体而言,涉及一种卡槽处理装置及方法、处理器、存储介质及电子设备。The present application relates to the field of communications, and in particular to a card slot processing apparatus and method, a processor, a storage medium, and an electronic device.
近年来,为方便使用,客户识别模块(Subscriber Identification Module,SIM)卡的卡槽做的越来越精致。目前常见的一种SIM卡槽就是以苹果手机为首的支持热插拔SIM卡的一类外置卡槽,这类卡槽不需要终端关机即可拔插SIM卡,且不像传统外置卡槽那样与设备边缘留有缝隙用来方便用户取出SIM卡。这类卡槽与设备边缘完美整合,只露有一个小孔使用户用针来取出SIM卡。但在终端使用过程中,大家都经常遇到的问题是:针往往不是随身携带的,当没有针又想取出SIM卡时,这个设计的弊端就表露无遗。In recent years, the card slot of the Subscriber Identification Module (SIM) card has become more and more refined for convenience. At present, a common type of SIM card slot is an external card slot that supports hot-swappable SIM cards, such as an Apple mobile phone. Such a card slot can be inserted and removed without the terminal being shut down, and unlike a conventional external card. The slot has a gap with the edge of the device to facilitate the user to remove the SIM card. This type of card slot is perfectly integrated with the edge of the device, and only a small hole is exposed to allow the user to remove the SIM card with the needle. However, in the process of using the terminal, the problem that everyone often encounters is that the needle is often not carried with you. When there is no needle and wants to take out the SIM card, the drawbacks of this design are fully revealed.
发明内容Summary of the invention
本申请实施例提供了一种卡槽处理装置及方法、处理器、电子设备及存储介质,以至少解决相关技术中卡槽的弹出需要用户手动辅助的问题。The embodiment of the present application provides a card slot processing apparatus and method, a processor, an electronic device, and a storage medium, so as to at least solve the problem that the pop-up of the card slot in the related art requires manual assistance by the user.
第一方面,本申请实施例提供了一种卡槽处理装置,包括:卡槽和连接所述卡槽的导轨,所述导轨上设置有第二导电垫片和第二开关压位,其中:所述导轨,配置为在需要将位于所述设备内的所述卡槽弹出所述设备
外的情况下,向所述设备外侧移动,当所述第二开关压位到达所述第二导电垫片的位置时,所述导轨停止移动。In a first aspect, the embodiment of the present application provides a card slot processing apparatus, including: a card slot and a rail connecting the card slot, wherein the rail is provided with a second conductive pad and a second switch pressing position, wherein: The guide rail configured to eject the card slot located in the device
In the external case, moving to the outside of the device, when the second switch pressing position reaches the position of the second conductive pad, the guide rail stops moving.
第二方面,本申请实施例提供了一种卡槽处理方法,包括:接收第一指示信息,其中,所述第一指示信息用于指示将位于设备内的所述卡槽弹出所述设备外;根据所述第一指示信息控制导轨进行移动,其中,所述导轨连接于所述卡槽且所述导轨在移动时会带动所述卡槽进行移动;在确定所述卡槽被弹出所述设备时,控制所述导轨停止移动。In a second aspect, the embodiment of the present application provides a card slot processing method, including: receiving first indication information, where the first indication information is used to indicate that the card slot located in the device is popped out of the device. Controlling the movement of the guide rail according to the first indication information, wherein the guide rail is connected to the card slot and the guide rail drives the card slot to move when moving; determining that the card slot is ejected When the device is in operation, the guide rail is controlled to stop moving.
第三方面,本申请实施例还提供了一种存储介质,所述存储介质存储有计算机可执行指令,其中,所述计算机可执行指令运行时执行上述任一项卡槽处理方法。In a third aspect, the embodiment of the present application further provides a storage medium, where the storage medium stores computer executable instructions, wherein the computer executable instructions execute any one of the above card slot processing methods when running.
第四方面,本申请实施例还提供了一种处理器,所述处理器用于运行程序,其中,所述程序运行时执行上述任一项所述的方法。In a fourth aspect, the embodiment of the present application further provides a processor, where the processor is configured to run a program, where the program is executed to perform the method described in any one of the foregoing.
第五方面,本申请实施例提供一种电子设备,包括:壳体、处理器及前述任一项提供的卡槽处理装置;In a fifth aspect, an embodiment of the present application provides an electronic device, including: a housing, a processor, and a card slot processing device provided by any one of the foregoing;
所述壳体上设置有供所述卡槽进出所述壳体的开口;The housing is provided with an opening for the card slot to enter and exit the housing;
所述处理器,位于所述壳体内,配置为通过计算机程序的执行,控制所述卡槽处理装置中的卡槽进出所述壳体,并执行权利要求11至16中任一项卡槽处理方法。The processor, located in the housing, configured to control a card slot in the card slot processing device to enter and exit the housing by execution of a computer program, and perform card slot processing according to any one of claims 11 to 16. method.
在本申请实施例中,卡槽处理装置包括卡槽和连接所述卡槽的导轨,导轨上设置有第二导电垫片和第二开关压位,其中,导轨用于在需要将位于设备内的卡槽弹出设备外的情况下,向设备外侧移动,当第二开关压位到达第二导电垫片的位置时,导轨停止移动。由于卡槽处理装置安装了导轨,使得在需要将位于设备内的卡槽弹出设备外的情况下,可以通过导轨带动卡槽向设备外侧移动,并且由于在导轨上设置有第二导电垫片和第二开关压位,使得当第二开关压位到达第二导电垫片的位置时,控制导轨停
止移动,此时卡槽被完全弹出,不再需要用户手动辅助卡槽的弹出设备,因此,可以解决相关技术中卡槽的弹出需要用户手动辅助的问题,达到提高用户体验度效果。In the embodiment of the present application, the card slot processing device includes a card slot and a rail connecting the card slot, and the rail is provided with a second conductive pad and a second switch pressing position, wherein the rail is used to be located in the device when needed In the case of the card slot ejecting device, the device moves to the outside of the device, and when the second switch pin reaches the position of the second conductive pad, the rail stops moving. Since the card slot processing device is equipped with a guide rail, when the card slot located in the device needs to be ejected from the device, the card slot can be moved to the outside of the device through the guide rail, and the second conductive pad is disposed on the guide rail and The second switch is pressed so that when the second switch pressure reaches the position of the second conductive pad, the control rail stops
When the movement is stopped, the card slot is completely ejected, and the user does not need to manually assist the card slot to eject the device. Therefore, the problem that the card slot of the related art needs to be manually assisted by the user can be solved, thereby improving the user experience.
此处所说明的附图用来提供对本申请的进一步理解,构成本申请的一部分,本申请的示意性实施例及其说明用于解释本申请,并不构成对本申请的不当限定。在附图中:The drawings described herein are intended to provide a further understanding of the present application, and are intended to be a part of this application. In the drawing:
图1是本申请实施例提供的一种卡槽处理方法的移动终端的硬件结构框图;1 is a block diagram showing the hardware structure of a mobile terminal of a card slot processing method according to an embodiment of the present application;
图2是根据本申请实施例提供的卡槽处理方法的流程图;2 is a flowchart of a card slot processing method according to an embodiment of the present application;
图3是根据本申请实施例提供的卡槽处理装置的结构图;3 is a structural diagram of a card slot processing apparatus according to an embodiment of the present application;
图4是根据本申请实施例提供的卡槽处理装置的可选结构图一;4 is an optional structural diagram 1 of a card slot processing apparatus according to an embodiment of the present application;
图5是根据本申请实施例提供的卡槽处理装置的可选结构图二;FIG. 5 is an optional structural diagram 2 of a card slot processing apparatus according to an embodiment of the present application; FIG.
图6是根据本申请实施例提供的卡槽弹出状态图;FIG. 6 is a diagram of a card slot pop-up state according to an embodiment of the present application; FIG.
图7是根据本申请实施例提供的控制卡槽移动开关电路图;7 is a circuit diagram of a control card slot movement switch according to an embodiment of the present application;
图8是根据本申请实施例提供的卡槽处理装置的可选结构图三;FIG. 8 is an optional structural diagram 3 of a card slot processing apparatus according to an embodiment of the present application; FIG.
图9是根据本申请实施例提供的卡槽处理装置的结构框图。FIG. 9 is a structural block diagram of a card slot processing apparatus according to an embodiment of the present application.
下文中将参考附图并结合实施例来详细说明本申请。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。The present application will be described in detail below with reference to the drawings in conjunction with the embodiments. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict.
需要说明的是,本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。It should be noted that the terms "first", "second" and the like in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or order.
实施例1
Example 1
本申请实施例一所提供的方法实施例可以在移动终端、计算机终端或者类似的运算装置中执行。以运行在移动终端上为例,图1是本申请实施例的一种卡槽处理方法的移动终端的硬件结构框图。如图1所示,移动终端10可以包括一个或多个(图中仅示出一个)处理器102(处理器102可以包括但不限于微处理器MCU或可编程逻辑器件FPGA等的处理装置)、用于存储数据的存储器104、以及用于通信功能的传输装置106。本领域普通技术人员可以理解,图1所示的结构仅为示意,其并不对上述电子装置的结构造成限定。例如,移动终端10还可包括比图1中所示更多或者更少的组件,或者具有与图1所示不同的配置。The method embodiment provided in Embodiment 1 of the present application can be executed in a mobile terminal, a computer terminal or the like. Taking a mobile terminal as an example, FIG. 1 is a hardware structural block diagram of a mobile terminal of a card slot processing method according to an embodiment of the present application. As shown in FIG. 1, the mobile terminal 10 may include one or more (only one shown) processor 102 (the processor 102 may include, but is not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA). A memory 104 for storing data, and a transmission device 106 for communication functions. It will be understood by those skilled in the art that the structure shown in FIG. 1 is merely illustrative and does not limit the structure of the above electronic device. For example, the mobile terminal 10 may also include more or fewer components than those shown in FIG. 1, or have a different configuration than that shown in FIG.
存储器104可配置为存储应用软件的软件程序以及模块,如本申请实施例中的卡槽处理方法对应的程序指令/模块,处理器102通过运行存储在存储器104内的软件程序以及模块,从而执行各种功能应用以及数据处理,即实现上述的方法。存储器104可包括高速随机存储器,还可包括非易失性存储器,如一个或者多个磁性存储装置、闪存、或者其他非易失性固态存储器。在一些实例中,存储器104可进一步包括相对于处理器102远程设置的存储器,这些远程存储器可以通过网络连接至移动终端10。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The memory 104 can be configured as a software program and a module for storing application software, such as program instructions/modules corresponding to the card slot processing method in the embodiment of the present application, and the processor 102 executes by executing a software program and a module stored in the memory 104. Various functional applications and data processing, that is, the above methods are implemented. Memory 104 may include high speed random access memory, and may also include non-volatile memory such as one or more magnetic storage devices, flash memory, or other non-volatile solid state memory. In some examples, memory 104 may further include memory remotely located relative to processor 102, which may be connected to mobile terminal 10 over a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
传输装置106配置为经由一个网络接收或者发送数据。上述的网络具体实例可包括移动终端10的通信供应商提供的无线网络。在一个实例中,传输装置106包括一个网络适配器(Network Interface Controller,NIC),其可通过基站与其他网络设备相连从而可与互联网进行通讯。在一个实例中,传输装置106可以为射频(Radio Frequency,RF)模块,其用于通过无线方式与互联网进行通讯。 Transmission device 106 is configured to receive or transmit data via a network. The above-described network specific example may include a wireless network provided by a communication provider of the mobile terminal 10. In one example, the transmission device 106 includes a Network Interface Controller (NIC) that can be connected to other network devices through a base station to communicate with the Internet. In one example, the transmission device 106 can be a Radio Frequency (RF) module for communicating with the Internet wirelessly.
在本实施例中提供了一种运行于上述移动终端的卡槽处理方法,图2
是根据本申请实施例的卡槽处理方法的流程图,如图2所示,该流程包括如下步骤:In this embodiment, a card slot processing method running on the mobile terminal is provided, and FIG. 2
It is a flowchart of the card slot processing method according to the embodiment of the present application. As shown in FIG. 2, the process includes the following steps:
步骤S202,接收第一指示信息,其中,第一指示信息用于指示将位于设备内的所述卡槽弹出所述设备外;所述第一指示信息可为根据采集的用户输入确定的指示信息。例如,检测作用于手机等电子设备的按键或者触摸屏上的点击操作或滑动操作等,当所述用户操作为预设的卡槽退出所述电子设备的操作时,生成所述第一指示信息。Step S202, the first indication information is received, where the first indication information is used to indicate that the card slot located in the device is popped out of the device; the first indication information may be indication information determined according to the collected user input. . For example, detecting a button applied to an electronic device such as a mobile phone or a click operation or a sliding operation on the touch screen, etc., when the user operates as a preset card slot to exit the operation of the electronic device, generating the first indication information.
例如,在设备预先设置有软件(如应用程序(application,简称为APP)),可以通过软件接收指示信息;For example, the device is pre-configured with software (such as an application (APP)), and the indication information can be received through the software;
步骤S204,根据第一指示信息控制导轨进行移动,其中,导轨连接于卡槽且导轨在移动时会带动卡槽进行移动;在本实施例中,所述导轨与所述卡槽可固定连接,所述电子设备包括壳体,所述壳体可包括边框;所述边框上可设置有供所述卡槽出入所述电子设备的开口,当所述卡槽位于所述电子设备内时,所述卡槽比所述导轨靠近所述开口。所述导轨上可连接有驱动装置,所述驱动装置可为驱动电机等,所述驱动电机可以提供所述导轨移动的驱动力,所述导轨通过自身的移动,牵引所述卡槽的运动。In step S204, the guide rail is moved according to the first indication information, wherein the guide rail is connected to the card slot and the guide rail moves the card slot to move when the guide rail is moved; in this embodiment, the guide rail and the card slot can be fixedly connected. The electronic device includes a housing, and the housing may include a frame; the frame may be provided with an opening for the card slot to enter and exit the electronic device, when the card slot is located in the electronic device, The card slot is closer to the opening than the rail. A driving device may be connected to the guide rail, and the driving device may be a driving motor or the like, and the driving motor may provide a driving force for moving the guiding rail, and the guiding rail pulls the movement of the card slot by its own movement.
所述电子设备可为手机、平板电脑或可穿戴设备等各种类型的电子设备。The electronic device can be various types of electronic devices such as a mobile phone, a tablet computer, or a wearable device.
例如,软件接收到指示信息后,自身对指示信息进行处理或者发送给中央处理器或微处理器等吹器处理,进而控制导轨的移动;For example, after receiving the indication information, the software processes the indication information or sends it to a blower such as a central processing unit or a microprocessor to control the movement of the guide rail;
步骤S206,在确定卡槽被弹出所述设备时,控制导轨停止移动。Step S206, when it is determined that the card slot is ejected from the device, the control rail stops moving.
在一些实施例中,所述步骤S206可包括:当所述导轨运动到预定位置后,所述导轨停止运动。例如,所述导轨的最大行程是确定的,在导轨行程的两端都设置有行程开关,这样的话,当导轨运动到两端时,导轨与形成开关作用,行程开关的开关状态被改变,而处理器等设备,行程开关的
状态可以通过向驱动装置发送驱动指令,改变所述驱动装置的驱动状态,从而控制导轨在行程范围内移动。例如,运动到行程的两端时自动停止运动。在本实施例中,所述导轨的最大行程不小于所述卡槽在第一方向上的宽度。所述第一方向为所述导轨的可运动方向,这样的话,可以确保所述导轨通过自身的运动促使所述卡槽出入所述电子设备。In some embodiments, the step S206 can include the rail stopping motion after the rail is moved to a predetermined position. For example, the maximum stroke of the guide rail is determined, and a travel switch is disposed at both ends of the guide rail stroke, so that when the guide rail moves to both ends, the guide rail and the forming switch act, and the switch state of the travel switch is changed, and Device such as processor, travel switch
The state can be controlled by transmitting a drive command to the drive device to change the drive state of the drive device, thereby controlling the guide rail to move within the range of travel. For example, moving to the ends of the stroke automatically stops the movement. In this embodiment, the maximum stroke of the guide rail is not less than the width of the card slot in the first direction. The first direction is a movable direction of the guide rail, so that the guide rail can be ensured to move into the electronic device by its own movement.
通过上述步骤,由于接收到弹出的指示信息后,导轨带动卡槽开始移动,直至确定卡槽被完全弹出时,控制导轨停止运动,此时卡槽被完全弹出,不再需要用户手动辅助卡槽的弹出设备,因此,可以解决相关技术中卡槽的弹出需要用户手动辅助的问题,且上述方法不仅可以改善目前SIM卡的卡槽需要借助外物才能拔出的弊端,而且使用户完全告别手动操作卡槽,用户体验得到大大提升。Through the above steps, after receiving the pop-up indication information, the guide rail drives the card slot to start moving until the card slot is completely ejected, and the control rail stops moving. At this time, the card slot is completely ejected, and the user no longer needs the manual auxiliary card slot. The ejecting device can solve the problem that the ejecting of the card slot in the related art requires manual assistance by the user, and the above method can not only improve the disadvantage that the card slot of the current SIM card needs to be pulled out by means of the foreign object, but also completely quit the user manually. By operating the card slot, the user experience is greatly improved.
可选地,在确定卡槽被弹出设备时,控制导轨停止移动之后,还包括:接收第二指示信息,其中,第二指示信息用于指示将位于设备外的卡槽吸入设备内;根据第二指示信息控制导轨进行移动,其中,导轨连接于卡槽且导轨在移动时会带动卡槽进行移动;在确定卡槽被吸入设备时,控制导轨停止移动。同样的,所述第二指示信息可为基于用户输入确定的。Optionally, after determining that the card slot is ejected by the ejecting device, after the control rail stops moving, the method further includes: receiving the second indication information, wherein the second indication information is used to indicate that the card slot located outside the device is sucked into the device; The two indication information control rails are moved, wherein the guide rails are connected to the card slots and the guide rails move the card slots when the guide rails move; when the card slots are determined to be sucked into the device, the control rails stop moving. Likewise, the second indication information can be determined based on user input.
例如,可以预先设置卡槽被完全吸入设备或者被完全弹出对应的电平,当软件检测到标识卡槽被完全吸入设备或者被完全弹出设备的电平为预定电平时,确定卡槽被完全吸入或者弹出,此时,控制导轨停止。上述预定电平可以第一电平,也可以是第二电平;所述第一电平不同于所述第二电平。若所述第一电平低于所述第二电平,在一些实施例中,所述预定电平可为第一电平,所述预定电平可为低电平,所述低电平为电平值低于参考电平的电平。当预定电平为低电平时,可选地,在确定卡槽被弹出设备时,控制导轨停止移动包括:在检测到用于标识卡槽被弹出设备的第二测试电压为低电平的情况下,控制导轨停止移动;或者,在确定卡槽被吸入设备
时,控制导轨停止移动包括:在检测到用于标识卡槽被吸入设备的第一测试电压为低电平的情况下,控制导轨停止移动。For example, the card slot may be preset to be completely sucked into the device or fully ejected to a corresponding level. When the software detects that the level of the identification card slot is completely drawn into the device or is completely ejected to a predetermined level, it is determined that the card slot is completely inhaled. Or pop up, at this point, the control rail stops. The predetermined level may be a first level or a second level; the first level is different from the second level. If the first level is lower than the second level, in some embodiments, the predetermined level may be a first level, and the predetermined level may be a low level, the low level It is the level at which the level value is lower than the reference level. When the predetermined level is a low level, optionally, when it is determined that the card slot is ejected by the ejecting device, the control rail stops moving: when detecting that the second test voltage for identifying the card slot being ejected by the ejecting device is low Down, the control rail stops moving; or, in the determination that the card slot is sucked into the device
When the control rail stops moving, the control rail stops moving when it is detected that the first test voltage for identifying the card slot being sucked into the device is low.
又例如,可以在设备中设置电机,通过电机带动导轨移动,又例如,可以通过软件控制电机正负极的接入来控制电机的转向,进而实现控制导轨的移动方向,其中,可以控制电机正极接电源正极,电机负极接电源负极,也可以控制电机正极接电源负极,电机负极接电源正极。可选地根据第一指示信息控制导轨进行移动包括:控制电机的第一连接端连接电源正极以及电机的第二连接端连接电源负极;通过电机的运转带动导轨向设备外侧移动;根据第二指示信息控制导轨进行移动包括:控制电机的第一连接端连接电源负极以及电机的第二连接端连接电源正极;通过电机的运转带动导轨向设备内侧移动。For example, the motor can be set in the device, and the guide rail can be moved by the motor. For example, the motor can be controlled by the software to control the connection of the positive and negative poles of the motor to control the steering direction of the motor, wherein the positive direction of the motor can be controlled. Connect the positive pole of the power supply, connect the negative pole of the motor to the negative pole of the power supply, or control the positive pole of the motor to the negative pole of the power supply. Optionally, controlling the movement of the guide rail according to the first indication information comprises: connecting a first connection end of the motor to the positive pole of the power source and a second connection end of the motor to connect the negative pole of the power source; and driving the guide rail to move to the outside of the device by the operation of the motor; according to the second indication The information control rail is moved to: the first connection end of the control motor is connected to the negative pole of the power source, and the second connection end of the motor is connected to the positive pole of the power source; the running of the motor drives the guide rail to move to the inside of the device.
可选地,电机可以通过多种方式带动导轨移动,包括但是不限于以下方式:齿轮传动,皮带传动,链条传动。Optionally, the motor can drive the rail movement in a variety of ways, including but not limited to the following: gear transmission, belt drive, chain drive.
可选地,电机还具备为设备提供震动的功能。例如,上述电机的型号可以选择接近设备的震动电机的型号,由于卡槽的弹出或者吸入操作并不属于频繁操作,所以可以通过硬件及软件设计,直接使用设备的震动电机,无安装新的电机,实现既简单又节约成本。需要说明的是,上述设备可以为手机。Optionally, the motor also has the function of providing vibration to the device. For example, the model of the above motor can be selected to be close to the model of the vibration motor of the device. Since the ejection or suction operation of the card slot is not a frequent operation, the vibration motor of the device can be directly used through hardware and software design, and no new motor is installed. The realization is simple and cost-effective. It should be noted that the above device may be a mobile phone.
驱动导轨运动的驱动装置,可为电极,也可以为液压驱动装置等,在本实施例中可选为电机,为了简化电子设备的内部结构,实现电子设备的轻薄化,提高电子设备内部的各个部件的有效利用率,在本实施例中所述导轨运动的驱动装置,可复用所述电子设备的震动电机;所述震动电机可产生机械震动,并由机械震动带来机械震动噪音。所述震动电机的转子上设置有偏心块,通过偏心块的调整,可以使所述电机在正常的驱动电机和震动电机之间切换。例如,当所述电机作为震动电机时,所述偏心块偏离
电机转子的中心,当所述电机为所述导轨提供运动的驱动力时,所述偏心块的质量中心或几何中心与所述电机转子的中心重合。The driving device for driving the guide rail can be an electrode or a hydraulic driving device. In this embodiment, a motor can be selected. In order to simplify the internal structure of the electronic device, the electronic device is light and thin, and various internal parts of the electronic device are improved. The effective utilization of the components, in the driving device for moving the guide rail in the embodiment, can multiplex the vibration motor of the electronic device; the vibration motor can generate mechanical vibration, and mechanical vibration noise is caused by mechanical vibration. An eccentric block is disposed on the rotor of the vibration motor, and the motor can be switched between a normal driving motor and a vibration motor by adjusting the eccentric block. For example, when the motor acts as a vibration motor, the eccentric block deviates
At the center of the rotor of the motor, when the motor provides a driving force for motion of the rail, the center of mass or geometric center of the eccentric mass coincides with the center of the rotor of the motor.
可选地,上述步骤的执行主体可以为基站、终端等,但不限于此。Optionally, the execution body of the foregoing steps may be a base station, a terminal, or the like, but is not limited thereto.
上述方法主要是通过处理器高低电平控制连接SIM卡槽的导轨移动,可以使用户通过用户界面(User Interface,简称为UI)来完全控制SIM卡的卡槽的拔插操作,使SIM卡槽可以自动弹出,自动吸入,即使其可以像电脑光驱一样。上述方法完美解决了相关技术问题,并且实现简单,成本低。The above method mainly controls the movement of the rail connected to the SIM card slot through the high and low level of the processor, so that the user can completely control the card slot insertion and removal operation of the SIM card through the user interface (User Interface, referred to as UI), so that the SIM card slot It can be automatically ejected and automatically inhaled, even if it can be like a computer optical drive. The above method perfectly solves the related technical problems, and is simple to implement and low in cost.
根据本申请的又一个实施例,还提供了一种可选的卡槽处理装置。According to yet another embodiment of the present application, an optional card slot processing apparatus is also provided.
图3是根据本申请实施例的卡槽处理装置的结构图,如图3所示,该装置包括:FIG. 3 is a structural diagram of a card slot processing apparatus according to an embodiment of the present application. As shown in FIG. 3, the apparatus includes:
卡槽和连接卡槽的导轨,导轨上设置有第二导电垫片和第二开关压位,其中,导轨用于在需要将位于设备内的卡槽弹出设备外的情况下,向设备外侧移动,当第二开关压位到达第二导电垫片的位置时,导轨停止移动。a card slot and a rail connecting the card slot, the rail is provided with a second conductive pad and a second switch pressing position, wherein the rail is used to move to the outside of the device if the card slot located in the device needs to be ejected outside the device When the second switch pressure reaches the position of the second conductive pad, the guide rail stops moving.
图4是根据本申请实施例的卡槽处理装置的可选结构图一,如图4所示,该装置包括:4 is an optional structural diagram of a card slot processing apparatus according to an embodiment of the present application. As shown in FIG. 4, the apparatus includes:
导轨上还设置有第一导电垫片和第一开关压位,其中,导轨还用于在需要将位于设备外的卡槽吸入设备内的情况下,向设备内侧移动,当第一开关压位到达第一导电垫片的位置时,导轨停止移动。The first conductive pad and the first switch pressing position are further disposed on the guide rail, wherein the guide rail is further configured to move to the inner side of the device when the card slot located outside the device needs to be sucked into the device, when the first switch is pressed When the position of the first conductive pad is reached, the guide rail stops moving.
可选地,卡槽处理装置还包括:配置为确定卡槽位置的电路,电路包括:配置为测试电压的测试电压端、第一开关、第二开关和接地端,其中,第一开关压位在到达第一导电垫片的位置时,挤压第一导电垫片以使第一开关闭合,测试电压端通过第一开关连接接地端,测试电压端的第一测试电压为低电平,导轨停止移动;第二开关压位在到达第二导电垫片的位置时,挤压第二导电垫片以使第二开关闭合,测试电压端通过第二开关连接
接地端,测试电压端的第二测试电压为低电平,导轨停止移动。Optionally, the card slot processing apparatus further includes: a circuit configured to determine a position of the card slot, the circuit comprising: a test voltage end configured to test the voltage, a first switch, a second switch, and a ground end, wherein the first switch is pressed When the position of the first conductive pad is reached, the first conductive pad is pressed to close the first switch, and the test voltage end is connected to the ground through the first switch, and the first test voltage of the test voltage terminal is low, and the guide rail is stopped. Moving; when the second switch is pressed to reach the position of the second conductive pad, the second conductive pad is pressed to close the second switch, and the test voltage end is connected through the second switch
At the ground terminal, the second test voltage of the test voltage terminal is low, and the rail stops moving.
可选地,卡槽处理装置还包括:电机,电机包括第一连接端和第二连接端;电机还配置为在需要将卡槽吸入设备内的情况下,第一连接端连接电源负极,第二连接端连接电源正极,电机运转,带动导轨向设备内侧移动;电机用于在需要将卡槽弹出设备内的情况下,第一连接端连接电源正极,第二连接端连接电源负极,电机运转,带动导轨向设备外侧移动。Optionally, the card slot processing device further includes: a motor, the motor includes a first connection end and a second connection end; the motor is further configured to connect the first connection end to the power supply negative pole when the card slot needs to be sucked into the device, The second connection end is connected to the positive pole of the power supply, and the motor runs to drive the guide rail to move to the inside of the device; the motor is used to connect the positive connection to the positive pole of the power supply when the card slot needs to be ejected into the device, and the second connection end is connected to the negative pole of the power supply, and the motor is operated. Drive the guide rail to the outside of the device.
可选地,电机通过以下至少之一的方式带动导轨移动:齿轮传动,皮带传动,链条传动。Optionally, the motor drives the rail movement by at least one of: gear transmission, belt transmission, chain transmission.
可选地,电机还具备为设备提供震动的功能。例如,所述电机,配置为当不需要将位于设备外的所述卡槽吸入所述设备内且不需要将位于所述设备内的所述卡槽弹出所述设备外的情况下,所述齿轮与所述齿轮轨道分离,作为震动电机实现设备的震动功能。所述震动功能,可以用于在电子设备接收到消息等满足震动事件时,输出震动。Optionally, the motor also has the function of providing vibration to the device. For example, the motor is configured to be configured such that when the card slot located outside the device does not need to be drawn into the device and the card slot located within the device does not need to be ejected out of the device, The gear is separated from the gear track, and the vibration function of the device is realized as a vibration motor. The vibration function can be used to output vibration when the electronic device receives a message or the like to satisfy a vibration event.
可选地,当电机通过齿轮传动带动导轨移动时,电机上设置有齿轮,导轨上设置有齿轮轨道,电机通过齿轮和齿轮轨道带动导轨移动。Optionally, when the motor drives the guide rail to move through the gear transmission, the motor is provided with a gear, and the rail is provided with a gear track, and the motor drives the guide rail to move through the gear and the gear track.
可选地,当不需要将位于设备外的卡槽吸入设备内且不需要将位于设备内的卡槽弹出设备外的情况下,齿轮与齿轮轨道分离,以使电机为设备提供震动功能;当需要将位于设备外的卡槽吸入设备内或者需要将位于设备内的卡槽弹出设备外的情况下,齿轮与齿轮轨道贴合,以使电机带动导轨移动。Optionally, when it is not necessary to suck the card slot located outside the device into the device and the card slot located in the device does not need to be ejected from the device, the gear is separated from the gear track, so that the motor provides a vibration function for the device; In the case that the card slot located outside the device needs to be sucked into the device or the card slot located in the device needs to be ejected from the device, the gear is matched with the gear track, so that the motor drives the guide rail to move.
可选地,卡槽弹出装置还包括支撑杆,支撑杆用于执行齿轮与齿轮轨道的分离或者贴合。Optionally, the card slot ejecting device further includes a support rod for performing separation or fitting of the gear and the gear track.
可选地,支撑杆的第一端连接电机,支撑杆的第二端通过弹簧连接用于固定支撑杆的固定端,且第二端还连接有电磁铁;当不需要将位于设备外的卡槽吸入设备内且不需要将位于设备内的卡槽弹出设备外的情况下,
固定端通过弹簧拉住支撑杆,以保持齿轮与齿轮轨道分离;当需要将位于设备外的卡槽吸入设备内或者需要将位于设备内的卡槽弹出设备外的情况下,电磁铁通电产生磁力,电磁铁与卡槽所在的设备内侧的铁片相吸,以使支撑杆向与固定端相反的方向移动,以便齿轮与齿轮轨道贴合。Optionally, the first end of the support rod is connected to the motor, the second end of the support rod is connected by a spring for fixing the fixed end of the support rod, and the second end is also connected with an electromagnet; when the card outside the device is not needed The slot is sucked into the device and does not need to be used to eject the card slot inside the device out of the device.
The fixed end pulls the support rod by the spring to keep the gear and the gear track separated; when the card slot outside the device needs to be sucked into the device or the card slot located in the device needs to be ejected outside the device, the electromagnet is energized to generate a magnetic force. The electromagnet is attracted to the iron piece on the inner side of the device where the card slot is located, so that the support rod moves in the opposite direction to the fixed end, so that the gear and the gear track fit together.
下面以电机通过齿轮传动方式带动所述导轨移动为例,对卡槽的弹出或者吸入的整个流程进行详细的说明。In the following, the motor is driven by the gear to drive the rail as an example, and the entire flow of the card slot is shown in detail.
(1)对于SIM卡的卡槽处理装置,主要由如下部分组成:卡槽;开关压位1(同上述第一开关压位);开关压位2(同上述第二开关压位);导电垫片1(同上述第一导电垫片);导电垫片2(同上述第二导电垫片);电机;电机上设备的齿轮;导轨;导轨上设备的齿轮轨道。(1) The card slot processing device for the SIM card is mainly composed of the following parts: a card slot; a switch pressure level 1 (same as the above-mentioned first switch pressure position); a switch pressure level 2 (same as the above-mentioned second switch pressure position); Pad 1 (same as the first conductive pad described above); conductive pad 2 (same as the above second conductive pad); motor; gear of the device on the motor; rail; gear track of the device on the rail.
通过软件控制卡槽处理装置可以包括以下几个步骤:The software card slot processing device can include the following steps:
控制弹出卡槽:Control the eject card slot:
1、用户在UI上点击弹出卡槽的按钮;1. The user clicks the button of the pop-up card slot on the UI;
2、电机正负级接入,开始运转;2. The motor is connected to the positive and negative stages and starts to run;
3、电机运转带动齿轮转动;3. The motor runs to drive the gear to rotate;
4、齿轮转动进而通过齿轮轨道带动导轨向设备边沿线外侧方向移动,使卡槽向设备的外侧移动,卡槽被缓慢推出;4. The gear rotates and then drives the guide rail to move to the outside of the edge of the device through the gear track, so that the card slot moves to the outside of the device, and the card slot is slowly pushed out;
5、当开关压位2到达导电垫片2位置时,挤压导电垫片2使开关闭合,使测试电压端接地,测试电压值变为0,此时,齿轮停止转动,卡槽被完全推出。5. When the switch pressure position 2 reaches the position of the conductive pad 2, the conductive pad 2 is pressed to close the switch, so that the test voltage terminal is grounded, and the test voltage value becomes 0. At this time, the gear stops rotating, and the card slot is completely pushed out. .
控制吸入卡槽:Control the suction card slot:
1、用户UI上点击关闭(吸入)卡槽的按钮;1. Click the button to close (inhale) the card slot on the user UI;
2、电机接入与弹出卡槽相反的正负极,开始运转;2. The motor is connected to the positive and negative poles opposite to the eject slot, and the operation starts;
3、电机运转带动齿轮转动;3. The motor runs to drive the gear to rotate;
4、齿轮转动进而通过齿轮轨道带动导轨向设备边沿线内侧方向移
动,使卡槽向设备的内侧移动,卡槽被缓慢吸入;4. The gear rotates and then moves the guide rail to the inner side of the device edge through the gear track.
Move to move the card slot to the inside of the device, and the card slot is slowly sucked in;
5、当开关压位1到达导电垫片1位置时,挤压导电垫片,使开关闭合,使测试电压端接地,测试电压值变为0,此时。齿轮停止转动,卡槽被完全吸入。5. When the switch pressure position 1 reaches the position of the conductive gasket 1, squeeze the conductive gasket to close the switch, and ground the test voltage terminal, and the test voltage value becomes 0. The gear stops rotating and the card slot is completely inhaled.
为了方便理解上述实施例,下面结合图5对卡槽的弹出或者吸入的整个流程进行详细的说明。图5是根据本申请实施例的卡槽处理装置的可选结构图二,需要说明的是,本实施例中仍以电机通过齿轮传动方式带动所述导轨移动为例。如图5所示,In order to facilitate the understanding of the above embodiment, the entire flow of the ejection or inhalation of the card slot will be described in detail below with reference to FIG. FIG. 5 is an alternative structural diagram of the card slot processing apparatus according to the embodiment of the present application. It should be noted that, in this embodiment, the movement of the rail by the motor through the gear transmission is still taken as an example. As shown in Figure 5,
1. 101为开关压位1,当接收到关闭卡槽的消息时,导轨向设备内侧移动,当开关压位1到达垫片1(103)位置时,挤压垫片1,使垫片1发生弹性形变;1. 101 is the switch pressure position 1. When receiving the message of closing the card slot, the guide rail moves to the inside of the device. When the switch pressure position 1 reaches the position of the gasket 1 (103), the gasket 1 is pressed to make the gasket 1 Elastic deformation occurs;
2. 102为设备边沿线;2. 102 is the edge of the device;
3. 103为垫片1;3. 103 is the gasket 1;
4. 104为控制卡槽移动开关电路图(详见图7);4. 104 is the control card slot moving switch circuit diagram (see Figure 7);
5. 105为卡槽;5. 105 is the card slot;
6. 106和107为电机的正负极,通过正负极电平切换来控制齿轮的转动方向;6. 106 and 107 are the positive and negative poles of the motor, and the direction of rotation of the gear is controlled by switching the positive and negative levels;
7. 108为电机的滚动轴,用滚动轴的转动来带动齿轮转动;7. 108 is the rolling axis of the motor, and the rotation of the rolling shaft is used to drive the gear to rotate;
8. 109为齿轮;8. 109 is the gear;
9. 110为齿轮轨道;9. 110 is a gear track;
10. 111为开关压位2,当接收到弹出卡槽的消息时,导轨向设备外侧移动,当开关压位2到达垫片2(113)位置时,挤压垫片2,使垫片2发生弹性形变,其中,卡槽退出状态如图6所示。10. 111 is the switch pressing position 2. When receiving the message of the ejecting card slot, the guide rail moves to the outside of the device. When the switch pressing position 2 reaches the position of the spacer 2 (113), the spacer 2 is pressed to make the spacer 2 Elastic deformation occurs, in which the card slot exit state is as shown in FIG. 6.
11. 112为长度可变的导轨;11. 112 is a variable length guide rail;
12. 113为垫片2;
12. 113 is the gasket 2;
需要说明的是,为了保证卡槽完全弹出,图中的长度B一定要大于长度A。It should be noted that in order to ensure that the card slot is completely ejected, the length B in the figure must be greater than the length A.
图7是根据本申请实施例的控制卡槽移动开关电路图,如图7示,7 is a circuit diagram of a control card slot movement switch according to an embodiment of the present application, as shown in FIG.
1. 201为小电阻;这里的小电阻可为阻值较小的电子,例如,小于预设阻值的电阻。1. 201 is a small resistance; the small resistance here can be an electron with a small resistance, for example, a resistance smaller than a preset resistance.
2. 202为垫片1,当开关压位1挤压垫片时,使开关闭合,测试电压端(205)接地,测试电压为0,此时判断卡槽被完全吸入设备;2. 202 is the gasket 1. When the switch pressure position 1 squeezes the gasket, the switch is closed, the test voltage terminal (205) is grounded, and the test voltage is 0. At this time, it is judged that the card slot is completely sucked into the device;
3. 203为垫片2,当开关压位2挤压垫片时,使开关闭合,测试电压端(205)接地,电压为0,此时判断卡槽被完全弹出设备;3. 203 is the gasket 2. When the switch pressure position 2 squeezes the gasket, the switch is closed, the test voltage end (205) is grounded, and the voltage is 0. At this time, it is judged that the card slot is completely ejected from the device;
4. 204为接地电平端;4. 204 is the ground level terminal;
5. 205为测试电平端,当垫片1和垫片2均未闭合,其为正电平;5. 205 is the test level end, when both the spacer 1 and the spacer 2 are not closed, it is a positive level;
6. 206为稳定电压VC。6. 206 is the stable voltage VC.
(2)当上述电机与设备震动电机共用时,可以通过如下部分实现:(2) When the above motor is shared with the equipment vibration motor, it can be realized by the following parts:
1、支撑杆固定点1, support rod fixed point
2、支撑杆2, support rod
3、铁片3, iron pieces
4、电磁铁4, electromagnet
5、弹簧5, spring
6、弹簧固定端6, the spring fixed end
实现上述电机与设备震动电机共用可以包括以下几个步骤:The realization of the above motor and equipment vibration motor sharing can include the following steps:
1、在卡槽不需要弹出或关闭时,由弹簧拉住支撑杆,使齿轮(电机)与齿轮轨道分离,电机用于设备震动功能;1. When the card slot does not need to be ejected or closed, the support rod is pulled by the spring to separate the gear (motor) from the gear track, and the motor is used for the vibration function of the device;
2、在用户想弹出或者关闭卡槽时,给予电磁铁正负极高低电平,使电磁铁通电,电磁铁通电产生磁力,与铁片相吸,从而使齿轮(电机)与齿轮轨道贴合,用于弹出或关闭卡槽功能。
2. When the user wants to pop out or close the card slot, give the positive and negative poles of the electromagnet high and low, energize the electromagnet, energize the electromagnet to generate magnetic force, and attract the iron piece, so that the gear (motor) and the gear track fit. Used to eject or close the card slot function.
为了方便理解上述实施例,下面结合图8对实现上述电机与设备震动电机共用进行详细的说明。图8是根据本申请实施例的卡槽处理装置的可选结构图三,需要说明的是,本实施例中仍以电机通过齿轮传动方式带动所述导轨移动为例。如图8示,In order to facilitate the understanding of the above embodiment, a detailed description will be given below in conjunction with FIG. 8 to realize the sharing of the motor and the device vibration motor. FIG. 8 is an optional structural diagram of the card slot processing apparatus according to the embodiment of the present application. It should be noted that, in the embodiment, the movement of the rail by the motor through the gear transmission is taken as an example. As shown in Figure 8,
1. 401是支撑杆固定点,用来连接支撑杆和电机(齿轮);1. 401 is a support rod fixing point for connecting the support rod and the motor (gear);
2. 402是支撑杆,用来将电机(齿轮)与齿轮轨道贴合或分离;2. 402 is a support rod for attaching or separating the motor (gear) to the gear track;
3. 404是电磁铁,当通电时产生磁力;3. 404 is an electromagnet that generates a magnetic force when energized;
4. 403是铁片,用于当电磁铁产生磁力后,与电磁铁相吸,使支撑杆的电磁铁端向铁片移动,从而使电机(齿轮)与齿轮轨道贴合;4. 403 is an iron piece for sucking the electromagnet after the electromagnet generates a magnetic force, so that the electromagnet end of the support rod moves toward the iron piece, so that the motor (gear) and the gear track are fitted;
5. 405和406是电磁铁的正负级,用于给予高低电平使电磁铁通电;5. 405 and 406 are the positive and negative stages of the electromagnet, which are used to energize the electromagnet;
6. 407是弹簧,当电磁铁不通电时,用于拉住支撑杆,使电机(齿轮)与齿轮轨道分离;6. 407 is a spring, used to pull the support rod when the electromagnet is not energized, so that the motor (gear) is separated from the gear track;
7. 408是弹簧固定端,用于固定弹簧。7. 408 is the spring fixed end for fixing the spring.
上述实施例提供的软件弹出SIM卡的卡槽的方法主要是通过处理器高低电平控制SIM卡槽齿轮,可以使用户通过UI来控制SIM卡的卡槽的拔插操作。该方法不仅可以改善目前SIM卡的卡槽需要借助外物才能拔出的弊端。同时可以通过对终端震动电机加以利用,通过硬件及软件设计,直接使用终端震动电机来实现这一技术,使这一技术的实现既简单又节约成本。The method for ejecting the card slot of the SIM card by the software provided by the above embodiment mainly controls the SIM card slot gear through the high and low levels of the processor, so that the user can control the card slot insertion and removal operation of the SIM card through the UI. The method can not only improve the drawbacks of the card slot of the current SIM card that needs to be pulled out by means of foreign objects. At the same time, the terminal vibration motor can be utilized, and the terminal vibration motor can be directly used to realize this technology through hardware and software design, which makes the realization of the technology simple and cost-effective.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以
是手机,计算机,服务器,或者网络设备等)执行本申请各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is A better implementation. Based on such understanding, the technical solution of the present application, which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk, CD-ROM, including a number of instructions to make a terminal device (can
It is a mobile phone, a computer, a server, or a network device, etc.) that performs the methods described in various embodiments of the present application.
实施例2Example 2
在本实施例中还提供了一种卡槽处理装置,该装置用于实现上述实施例及优选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。In the embodiment, a card slot processing device is also provided, which is used to implement the above-mentioned embodiments and preferred embodiments, and has not been described again. As used below, the term "module" may implement a combination of software and/or hardware of a predetermined function. Although the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
图9是根据本申请实施例的卡槽处理装置的结构框图,如图9所示,该装置包括:FIG. 9 is a structural block diagram of a card slot processing apparatus according to an embodiment of the present application. As shown in FIG. 9, the apparatus includes:
接收模块90,配置为接收第一指示信息,其中,第一指示信息用于指示将位于设备内的卡槽弹出设备外;The receiving module 90 is configured to receive the first indication information, where the first indication information is used to indicate that the card slot located in the device is popped out of the device;
第一控制模块92,连接至上述接收模块90,用于根据第一指示信息控制导轨进行移动,其中,导轨连接于卡槽且导轨在移动时会带动卡槽进行移动;The first control module 92 is connected to the receiving module 90 for controlling the movement of the guide rail according to the first indication information, wherein the guide rail is connected to the card slot and the guide rail drives the card slot to move when moving;
第二控制模块94,连接至上述第一控制模块92,配置为在确定卡槽被弹出设备时,控制导轨停止移动。The second control module 94 is coupled to the first control module 92 and configured to control the rail to stop moving when it is determined that the card slot is ejected.
可选地,上述接收模块90,还配置为接收第二指示信息,其中,第二指示信息用于指示将位于设备外的卡槽吸入设备内;第一控制模块92,还用于根据第二指示信息控制导轨进行移动,其中,导轨连接于卡槽且导轨在移动时会带动卡槽进行移动;第二控制模块94,还用于在确定卡槽被吸入设备时,控制导轨停止移动。Optionally, the receiving module 90 is further configured to receive the second indication information, where the second indication information is used to indicate that the card slot located outside the device is sucked into the device; the first control module 92 is further configured to be used according to the second The indication information controls the guide rail to move, wherein the guide rail is connected to the card slot and the guide rail drives the card slot to move when the guide rail moves; the second control module 94 is further configured to control the guide rail to stop moving when it is determined that the card slot is sucked into the device.
可选地,第二控制模块94,还配置为在检测到用于标识所述卡槽被弹出所述设备的第二测试电压为低电平的情况下,控制所述导轨停止移动;或者,第二控制模块,还用于在检测到用于标识所述卡槽被吸入所述设备
的第一测试电压为低电平的情况下,控制所述导轨停止移动。Optionally, the second control module 94 is further configured to control the rail to stop moving when detecting that the second test voltage for identifying that the card slot is popped up by the device is a low level; or a second control module, further configured to detect that the card slot is inhaled into the device
When the first test voltage is low, the rail is controlled to stop moving.
可选地,第一控制模块92,还配置为根据所述第一指示信息控制所述导轨进行移动包括:控制电机的第一连接端连接电源正极以及所述电机的第二连接端连接电源负极;通过所述电机的运转带动所述导轨向所述设备外侧移动;第一控制模块92,还配置为根据所述第二指示信息控制所述导轨进行移动包括:控制电机的第一连接端连接电源负极以及所述电机的第二连接端连接电源正极;通过所述电机的运转带动所述导轨向所述设备内侧移动。Optionally, the first control module 92 is further configured to control the moving of the rail according to the first indication information, including: controlling a first connection end of the motor to connect the power source positive pole and the second connection end of the motor to connect the power source anode Driving the rail to the outside of the device by the operation of the motor; the first control module 92 is further configured to control the movement of the rail according to the second indication information, comprising: controlling the first connection end of the motor The negative pole of the power source and the second connection end of the motor are connected to the positive pole of the power source; the rail is moved toward the inner side of the device by the operation of the motor.
需要说明的是,上述各个模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:上述模块均位于同一处理器中;或者,上述各个模块以任意组合的形式分别位于不同的处理器中。It should be noted that each of the above modules may be implemented by software or hardware. For the latter, the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the above modules are in any combination. The forms are located in different processors.
实施例3Example 3
本申请的实施例还提供了一种存储介质,该存储介质包括存储的程序等计算机可执行指令,其中,上述程序运行时执行上述任一项所述的方法。Embodiments of the present application also provide a storage medium including computer executable instructions such as a stored program, wherein the program is executed to perform the method described in any of the above.
可选地,在本实施例中,上述存储介质存储有程序代码等计算机可执行程序,所述存储介质可为各种类型的存储介质,可选为非瞬间存储介质或非易失性存储介质。所述计算机可运行时,执行的步骤至少包括以下:Optionally, in this embodiment, the storage medium stores a computer executable program such as a program code, and the storage medium may be various types of storage media, optionally a non-transitory storage medium or a non-volatile storage medium. . When the computer is operational, the steps performed include at least the following:
S1,接收第一指示信息,其中,第一指示信息用于指示将位于设备内的卡槽弹出设备外;S1. The first indication information is received, where the first indication information is used to indicate that the card slot that is located in the device is popped out of the device;
S2,根据第一指示信息控制导轨进行移动,其中,导轨连接于卡槽且导轨在移动时会带动卡槽进行移动;S2, controlling the guide rail to move according to the first indication information, wherein the guide rail is connected to the card slot and the guide rail moves the card slot to move when moving;
S3,在确定卡槽被弹出设备时,控制导轨停止移动。S3, when it is determined that the card slot is ejected by the device, the control rail stops moving.
可选地,存储介质还被设置为存储用于执行以下步骤的程序代码:在确定卡槽被弹出设备时,控制导轨停止移动之后,还包括:Optionally, the storage medium is further configured to store program code for performing the following steps: after determining that the card slot is ejected by the device, after the control rail stops moving, the method further includes:
S1,接收第二指示信息,其中,第二指示信息用于指示将位于设备外
的卡槽吸入设备内;S1. The second indication information is received, where the second indication information is used to indicate that the information is to be located outside the device.
The card slot is sucked into the device;
S2,根据第二指示信息控制导轨进行移动,其中,导轨连接于卡槽且导轨在移动时会带动卡槽进行移动;S2, controlling the guide rail to move according to the second indication information, wherein the guide rail is connected to the card slot and the guide rail drives the card slot to move when moving;
S3,在确定卡槽被吸入设备时,控制导轨停止移动。S3, when it is determined that the card slot is sucked into the device, the control rail stops moving.
可选地,存储介质还被设置为存储用于执行以下步骤的程序代码:Optionally, the storage medium is further arranged to store program code for performing the following steps:
S1,在确定卡槽被弹出设备时,控制导轨停止移动包括:在检测到用于标识卡槽被弹出设备的第二测试电压为低电平的情况下,控制导轨停止移动;S1. When it is determined that the card slot is ejected by the ejecting device, stopping the movement of the control rail comprises: stopping the movement of the control rail when detecting that the second test voltage for identifying the card slot being the ejecting device is a low level;
S2,在确定卡槽被吸入设备时,控制导轨停止移动包括:在检测到用于标识卡槽被吸入设备的第一测试电压为低电平的情况下,控制导轨停止移动。S2. When it is determined that the card slot is sucked into the device, the control rail stops moving: the control rail stops moving when detecting that the first test voltage for identifying the card slot being sucked into the device is a low level.
可选地,存储介质还被设置为存储用于执行以下步骤的程序代码:Optionally, the storage medium is further arranged to store program code for performing the following steps:
S1,根据第一指示信息控制导轨进行移动包括:控制电机的第一连接端连接电源正极以及电机的第二连接端连接电源负极;通过电机的运转带动导轨向设备外侧移动;S1, controlling the movement of the guide rail according to the first indication information, comprising: controlling a first connection end of the motor to connect the positive pole of the power source and a second connection end of the motor to connect the negative pole of the power source; and driving the guide rail to move to the outside of the device by the operation of the motor;
S2,根据第二指示信息控制导轨进行移动包括:控制电机的第一连接端连接电源负极以及电机的第二连接端连接电源正极;通过电机的运转带动导轨向设备内侧移动。S2. Controlling the movement of the guide rail according to the second indication information comprises: controlling the first connection end of the motor to connect the negative pole of the power source and the second connection end of the motor to connect the positive pole of the power source; and driving the guide rail to move to the inner side of the device by the operation of the motor.
可选地,存储介质还被设置为存储用于执行以下步骤的程序代码:Optionally, the storage medium is further arranged to store program code for performing the following steps:
S1,电机通过以下至少之一的方式带动导轨移动:齿轮传动,皮带传动,链条传动。S1, the motor drives the rail movement by at least one of the following: gear transmission, belt transmission, chain transmission.
可选地,存储介质还被设置为存储用于执行以下步骤的程序代码:Optionally, the storage medium is further arranged to store program code for performing the following steps:
S1,电机还具备为设备提供震动的功能。S1, the motor also has the function of providing vibration to the device.
可选地,在本实施例中,上述存储介质可以包括但不限于:U盘、只读存储器(Read-Only Memory,简称为ROM)、随机存取存储器(Random
Access Memory,简称为RAM)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。Optionally, in this embodiment, the foregoing storage medium may include, but is not limited to, a USB flash drive, a Read-Only Memory (ROM), and a random access memory (Random).
Access Memory (referred to as RAM), mobile hard disk, disk or optical disk, and other media that can store program code.
本申请的实施例还提供了一种处理器,该处理器用于运行程序,其中,该程序运行时执行上述任一项方法中的步骤。Embodiments of the present application also provide a processor for running a program, wherein the program executes the steps of any of the above methods when executed.
可选地,在本实施例中,上述计算机可执行指令运行时可执行的步骤还包括::Optionally, in this embodiment, the step that is executable when the computer executable instruction is executed further includes:
S1,接收第一指示信息,其中,第一指示信息用于指示将位于设备内的卡槽弹出设备外;S1. The first indication information is received, where the first indication information is used to indicate that the card slot that is located in the device is popped out of the device;
S2,根据第一指示信息控制导轨进行移动,其中,导轨连接于卡槽且导轨在移动时会带动卡槽进行移动;S2, controlling the guide rail to move according to the first indication information, wherein the guide rail is connected to the card slot and the guide rail moves the card slot to move when moving;
S3,在确定卡槽被弹出设备时,控制导轨停止移动。S3, when it is determined that the card slot is ejected by the device, the control rail stops moving.
可选地,在本实施例中,上述计算机可执行指令运行时可执行的步骤还包括::在确定卡槽被弹出设备时,控制导轨停止移动之后,还包括:Optionally, in this embodiment, the step that is executable when the computer executable instruction is executed further includes: after determining that the card slot is ejected by the device, after the control rail stops moving, the method further includes:
S1,接收第二指示信息,其中,第二指示信息用于指示将位于设备外的卡槽吸入设备内;S1, receiving the second indication information, where the second indication information is used to indicate that the card slot located outside the device is sucked into the device;
S2,根据第二指示信息控制导轨进行移动,其中,导轨连接于卡槽且导轨在移动时会带动卡槽进行移动;S2, controlling the guide rail to move according to the second indication information, wherein the guide rail is connected to the card slot and the guide rail drives the card slot to move when moving;
S3,在确定卡槽被吸入设备时,控制导轨停止移动。S3, when it is determined that the card slot is sucked into the device, the control rail stops moving.
可选地,在本实施例中,上述计算机可执行指令运行时可执行的步骤还包括::Optionally, in this embodiment, the step that is executable when the computer executable instruction is executed further includes:
S1,在确定卡槽被弹出设备时,控制导轨停止移动包括:在检测到用于标识卡槽被弹出设备的第二测试电压为低电平的情况下,控制导轨停止移动;S1. When it is determined that the card slot is ejected by the ejecting device, stopping the movement of the control rail comprises: stopping the movement of the control rail when detecting that the second test voltage for identifying the card slot being the ejecting device is a low level;
S2,在确定卡槽被吸入设备时,控制导轨停止移动包括:在检测到用于标识卡槽被吸入设备的第一测试电压为低电平的情况下,控制导轨停止
移动。S2. When it is determined that the card slot is sucked into the device, stopping the movement of the control rail comprises: stopping the control rail when detecting that the first test voltage for identifying the card slot being sucked into the device is a low level
mobile.
可选地,在本实施例中,上述计算机可执行指令运行时可执行的步骤还包括::Optionally, in this embodiment, the step that is executable when the computer executable instruction is executed further includes:
S1,根据第一指示信息控制导轨进行移动包括:控制电机的第一连接端连接电源正极以及电机的第二连接端连接电源负极;通过电机的运转带动导轨向设备外侧移动;S1, controlling the movement of the guide rail according to the first indication information, comprising: controlling a first connection end of the motor to connect the positive pole of the power source and a second connection end of the motor to connect the negative pole of the power source; and driving the guide rail to move to the outside of the device by the operation of the motor;
S2,根据第二指示信息控制导轨进行移动包括:控制电机的第一连接端连接电源负极以及电机的第二连接端连接电源正极;通过电机的运转带动导轨向设备内侧移动。S2. Controlling the movement of the guide rail according to the second indication information comprises: controlling the first connection end of the motor to connect the negative pole of the power source and the second connection end of the motor to connect the positive pole of the power source; and driving the guide rail to move to the inner side of the device by the operation of the motor.
可选地,在本实施例中,上述计算机可执行指令运行时可执行的步骤还包括::Optionally, in this embodiment, the step that is executable when the computer executable instruction is executed further includes:
S1,电机通过以下至少之一的方式带动导轨移动:齿轮传动,皮带传动,链条传动。S1, the motor drives the rail movement by at least one of the following: gear transmission, belt transmission, chain transmission.
可选地,在本实施例中,上述计算机可执行指令运行时可执行的步骤还包括::Optionally, in this embodiment, the step that is executable when the computer executable instruction is executed further includes:
S1,电机还具备为设备提供震动的功能。S1, the motor also has the function of providing vibration to the device.
可选地,本实施例中的具体示例可以参考上述实施例及可选实施方式中所描述的示例,本实施例在此不再赘述。For example, the specific examples in this embodiment may refer to the examples described in the foregoing embodiments and the optional embodiments, and details are not described herein again.
本申请实施例还提供一种电子设备,包括:壳体、处理器及前述一个或多个技术方案提供的卡槽处理装置;The embodiment of the present application further provides an electronic device, including: a housing, a processor, and a card slot processing device provided by one or more of the foregoing technical solutions;
所述壳体上设置有供所述卡槽进出所述壳体的开口;The housing is provided with an opening for the card slot to enter and exit the housing;
所述处理器,位于所述壳体内,与所述卡槽处理装置连接,配置为通过计算机程序的执行,控制所述卡槽处理装置中的卡槽进出所述壳体,并执行前述一个或多个技术方案提供的卡槽处理方法。The processor, located in the housing, is coupled to the card slot processing device, configured to control a card slot in the card slot processing device to enter and exit the housing through execution of a computer program, and execute the foregoing one or A card slot processing method provided by a plurality of technical solutions.
所述壳体可为电子设备的外壳体。
The housing may be an outer casing of an electronic device.
所述处理器可为中央处理器、微处理器、数字信号处理器、应用处理器、可编程阵列、应用处理器或专用集成电路。The processor can be a central processing unit, a microprocessor, a digital signal processor, an application processor, a programmable array, an application processor, or an application specific integrated circuit.
所述处理器,可通过各种线路与所述卡槽处理装置连接,控制卡槽处理装置中导轨的运动,从而使得所述卡槽可以自动出入所述电子设备的壳体。The processor can be connected to the card slot processing device through various lines to control the movement of the guide rails in the card slot processing device, so that the card slot can automatically enter and exit the housing of the electronic device.
显然,本领域的技术人员应该明白,上述的本申请的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本申请不限制于任何特定的硬件和软件结合。Obviously, those skilled in the art should understand that the above modules or steps of the present application can be implemented by a general computing device, which can be concentrated on a single computing device or distributed in a network composed of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein. The steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module. Thus, the application is not limited to any particular combination of hardware and software.
以上所述仅为本申请的优选实施例而已,并不用于限制本申请,对于本领域的技术人员来说,本申请可以有各种更改和变化。凡在本申请的原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。The above description is only the preferred embodiment of the present application, and is not intended to limit the present application, and various changes and modifications may be made to the present application. Any modifications, equivalent substitutions, improvements, etc. made within the principles of this application are intended to be included within the scope of the present application.
本申请实施例中卡槽处理装置,在设备内配置有与卡槽连接的导轨,可以通过控制导轨的运动,从而牵引所述卡槽出入电子设备,这样用户仅需向电子设备施加一个操作指令,点击触摸屏或语音指令等简单指令,就可以使得所述电子设备自动控制导轨的运动,从而控制卡槽的运动。显然卡槽的运动并不用用户利用顶针辅助等,从而简化了用户操作,具有积极的工业效果;且另一方面,具有实现简单,在工业上具有可实现性强的特点。
In the card slot processing device of the embodiment of the present application, a guide rail connected to the card slot is disposed in the device, and the movement of the guide rail can be controlled to pull the card slot into and out of the electronic device, so that the user only needs to apply an operation instruction to the electronic device. By clicking a simple command such as a touch screen or a voice command, the electronic device can automatically control the movement of the guide rail to control the movement of the card slot. Obviously, the movement of the card slot does not use the thimble assisted by the user, thereby simplifying the user operation and having a positive industrial effect; on the other hand, it has the characteristics of simple implementation and strong achievability in the industry.
Claims (21)
- 一种卡槽处理装置,包括:卡槽和连接所述卡槽的导轨,所述导轨上设置有第二导电垫片和第二开关压位,其中,A card slot processing device includes: a card slot and a rail connecting the card slot, wherein the rail is provided with a second conductive pad and a second switch pressing position, wherein所述导轨,配置为在需要将位于设备内的所述卡槽弹出所述设备外的情况下向所述设备外移动并推动所述卡槽向所述设备外移动,当所述第二开关压位到达所述第二导电垫片的位置时,所述导轨停止移动。The guide rail is configured to move outside the device and push the card slot to move outside the device if the card slot located in the device needs to be ejected out of the device, when the second switch When the pressing position reaches the position of the second conductive pad, the guide rail stops moving.
- 根据权利要求1所述的卡槽处理装置,其中,所述导轨上还设置有第一导电垫片和第一开关压位,其中,The card slot processing apparatus according to claim 1, wherein the rail is further provided with a first conductive pad and a first switch pressing position, wherein所述导轨,还配置为在需要将位于设备外的所述卡槽吸入所述设备内的情况下向所述设备内侧移动并带动所述卡槽向所述设备内移动,当所述第一开关压位到达所述第一导电垫片的位置时,所述导轨停止移动。The guide rail is further configured to move to the inside of the device and drive the card slot to move into the device when the card slot located outside the device needs to be sucked into the device, when the first When the switch pressure reaches the position of the first conductive pad, the guide rail stops moving.
- 根据权利要求2所述的卡槽处理装置,其中,所述卡槽处理装置还包括:配置为确定所述卡槽位置的电路,所述电路包括:配置为测试电压的测试电压端、第一开关、第二开关和接地端,其中,The card slot processing apparatus according to claim 2, wherein said card slot processing apparatus further comprises: circuitry configured to determine said card slot position, said circuit comprising: a test voltage terminal configured to test voltage, first a switch, a second switch, and a ground terminal, wherein所述第一开关压位在到达所述第一导电垫片的位置时,挤压所述第一导电垫片以使所述第一开关闭合,所述测试电压端通过所述第一开关连接接地端,所述测试电压端的第一测试电压为第一电平,所述导轨停止移动;The first switch pressing position presses the first conductive pad to close the first switch when the position of the first conductive pad is reached, and the test voltage end is connected through the first switch a first test voltage of the test voltage terminal is a first level, and the rail stops moving;所述第二开关压位在到达所述第二导电垫片的位置时,挤压所述第二导电垫片以使所述第二开关闭合,所述测试电压端通过所述第二开关连接接地端,所述测试电压端的第二测试电压为第一电平,所述导轨停止移动。Pressing the second conductive pad to close the second switch when the second switch is pressed to the position of the second conductive pad, the test voltage end is connected through the second switch At the ground end, the second test voltage of the test voltage terminal is at a first level, and the rail stops moving.
- 根据权利要求2所述的卡槽处理装置,其中,所述卡槽处理装置还包括:电机,所述电机包括第一连接端和第二连接端; The card slot processing apparatus according to claim 2, wherein the card slot processing apparatus further comprises: a motor, the motor comprising a first connection end and a second connection end;所述电机,还配置为在需要将所述卡槽吸入所述设备内的情况下,所述第一连接端连接电源负极,所述第二连接端连接电源正极,所述电机运转,并带动所述导轨及所述卡槽向设备内移动;The motor is further configured to be connected to the negative pole of the power source when the card slot needs to be sucked into the device, the second connecting end is connected to the positive pole of the power source, and the motor is operated and driven The rail and the card slot move into the device;所述电机,还配置为在需要将所述卡槽弹出所述设备内的情况下,所述第一连接端连接电源正极,所述第二连接端连接电源负极,所述电机运转,并带动所述导轨及所述卡槽向所述设备外移动。The motor is further configured to connect the first connection end to the positive pole of the power source when the card slot needs to be ejected into the device, and the second connection end is connected to the negative pole of the power source, and the motor runs and drives The guide rail and the card slot move outside the device.
- 根据权利要求4所述的卡槽处理装置,其中,所述电机通过以下至少之一的方式带动所述导轨移动:齿轮传动,皮带传动,链条传动。The card slot processing apparatus according to claim 4, wherein said motor drives said rail movement by at least one of: gear transmission, belt transmission, and chain transmission.
- 根据权利要求4或5所述的卡槽处理装置,其中,所述电机还具备为所述设备提供震动的功能。A card slot processing apparatus according to claim 4 or 5, wherein said motor is further provided with a function of providing vibration to said apparatus.
- 根据权利要求6所述的卡槽处理装置,其中,当所述电机通过所述齿轮传动带动所述导轨移动时,所述电机上设置有齿轮,所述导轨上设置有齿轮轨道,所述电机通过所述齿轮和所述齿轮轨道带动所述导轨及所述卡槽移动。The card slot processing apparatus according to claim 6, wherein when the motor drives the guide rail to move by the gear transmission, the motor is provided with a gear, and the guide rail is provided with a gear track, the motor The rail and the card slot are moved by the gear and the gear track.
- 根据权利要求7所述的卡槽处理装置,其中,A card slot processing apparatus according to claim 7, wherein所述电机,配置为当所述齿轮与所述齿轮轨道分离时,配置为震动电机;The motor is configured to be configured as a vibration motor when the gear is separated from the gear track;所述电机,还配置为当所述齿轮与所述齿轮轨道贴合时,以使所述电机带动所述导轨移动。The motor is further configured to cause the motor to move the guide rail when the gear is engaged with the gear track.
- 根据权利要求8所述的卡槽处理装置,其中,所述卡槽弹出装置还包括:支撑杆,所述支撑杆,配置为执行所述齿轮与所述齿轮轨道的分离或者贴合。The card slot processing apparatus according to claim 8, wherein the card slot ejecting apparatus further comprises: a support lever, the support lever configured to perform separation or bonding of the gear to the gear track.
- 根据权利要求9所述的卡槽处理装置,其中,所述支撑杆的第一端连接所述电机,所述支撑杆的第二端通过弹簧连接用于固定所 述支撑杆的固定端,且所述第二端还连接有电磁铁;The card slot processing apparatus according to claim 9, wherein a first end of the support rod is connected to the motor, and a second end of the support rod is connected by a spring for fixing a fixed end of the support rod, and the second end is further connected with an electromagnet;所述固定端通过所述弹簧拉住所述支撑杆,以保持所述齿轮与所述齿轮轨道分离;The fixed end pulls the support rod by the spring to keep the gear from being separated from the gear track;所述电磁铁通电产生磁力,所述电磁铁与所述卡槽所在的设备内侧的铁片相吸,促使所述支撑杆向与所述固定端相反的方向移动,以便所述齿轮与所述齿轮轨道贴合。The electromagnet is energized to generate a magnetic force, and the electromagnet attracts an iron piece on the inner side of the device in which the card slot is located, causing the support rod to move in a direction opposite to the fixed end, so that the gear and the The gear track fits.
- 一种卡槽处理方法,包括:A card slot processing method includes:接收第一指示信息,其中,所述第一指示信息用于指示将位于设备内的所述卡槽弹出所述设备外;Receiving the first indication information, where the first indication information is used to indicate that the card slot located in the device is popped out of the device;根据所述第一指示信息控制导轨进行移动,其中,所述导轨连接于所述卡槽且所述导轨在移动时会带动所述卡槽进行移动;Controlling the guide rail to move according to the first indication information, wherein the guide rail is connected to the card slot and the guide rail drives the card slot to move when moving;在确定所述卡槽被弹出所述设备时,控制所述导轨停止移动。The rail is controlled to stop moving when it is determined that the card slot is ejected from the device.
- 根据权利要求11所述的方法,其中,在确定所述卡槽被弹出所述设备时,控制所述导轨停止移动之后,还包括:The method according to claim 11, wherein after determining that the card slot is ejected from the device, after controlling the rail to stop moving, the method further comprises:接收第二指示信息,其中,所述第二指示信息用于指示将位于设备外的所述卡槽吸入所述设备内;Receiving second indication information, wherein the second indication information is used to indicate that the card slot located outside the device is sucked into the device;根据所述第二指示信息控制导轨进行移动,其中,所述导轨连接于所述卡槽且所述导轨在移动时会带动所述卡槽进行移动;Controlling the guide rail to move according to the second indication information, wherein the guide rail is connected to the card slot and the guide rail drives the card slot to move when moving;在确定所述卡槽被吸入所述设备时,控制所述导轨停止移动。The rail is controlled to stop moving when it is determined that the card slot is drawn into the device.
- 根据权利要求12所述的方法,其中,The method of claim 12, wherein在确定所述卡槽被弹出所述设备时,控制所述导轨停止移动包括:在检测到用于标识所述卡槽被弹出所述设备的第二测试电压为第一电平的情况下,控制所述导轨停止移动;或者,When it is determined that the card slot is ejected from the device, controlling the rail to stop moving includes: in detecting that the second test voltage for identifying that the card slot is popped up by the device is a first level, Controlling the guide rail to stop moving; or,在确定所述卡槽被吸入所述设备时,控制所述导轨停止移动包括:在检测到用于标识所述卡槽被吸入所述设备的第一测试电压为第一电 平的情况下,控制所述导轨停止移动。Controlling the stoppage of the guide rail when determining that the card slot is drawn into the device includes: detecting that a first test voltage for inhaling the card slot is inducted into a first power In the flat case, the guide rail is controlled to stop moving.
- 根据权利要求12所述的方法,其中,The method of claim 12, wherein根据所述第一指示信息控制所述导轨进行移动包括:控制电机的第一连接端连接电源正极以及所述电机的第二连接端连接电源负极;通过所述电机的运转带动所述导轨向所述设备外侧移动;Controlling the movement of the guide rail according to the first indication information comprises: controlling a first connection end of the motor to connect the positive pole of the power source and a second connection end of the motor to connect the negative pole of the power source; and driving the guide rail to the position by the operation of the motor The outside of the device is moved;根据所述第二指示信息控制所述导轨进行移动包括:控制电机的第一连接端连接电源负极以及所述电机的第二连接端连接电源正极;通过所述电机的运转带动所述导轨向所述设备内侧移动。Controlling the movement of the guide rail according to the second indication information comprises: controlling a first connection end of the motor to connect the negative pole of the power source and a second connection end of the motor to connect the positive pole of the power source; and driving the guide rail to the position by the operation of the motor The inside of the device moves.
- 根据权利要求14所述的方法,其中,所述电机通过以下至少之一的方式带动所述导轨移动:齿轮传动,皮带传动,链条传动。The method of claim 14 wherein said motor drives said rail movement by at least one of: gearing, belt drive, chain drive.
- 根据权利要求14或15所述的方法,其中,所述电机还具备为所述设备提供震动的功能。The method according to claim 14 or 15, wherein said motor is further provided with a function of providing vibration to said device.
- 一种卡槽处理装置,包括:A card slot processing device includes:接收模块,配置为接收第一指示信息,其中,所述第一指示信息用于指示将位于设备内的所述卡槽弹出所述设备外;The receiving module is configured to receive the first indication information, where the first indication information is used to indicate that the card slot located in the device is popped out of the device;第一控制模块,配置为根据所述第一指示信息控制导轨进行移动,其中,所述导轨连接于所述卡槽且所述导轨在移动时会带动所述卡槽进行移动;The first control module is configured to control the guide rail to move according to the first indication information, wherein the guide rail is connected to the card slot and the guide rail drives the card slot to move when moving;第二控制模块,配置为在确定所述卡槽被弹出所述设备时,控制所述导轨停止移动。The second control module is configured to control the rail to stop moving when it is determined that the card slot is ejected from the device.
- 根据权利要求17所述的装置,其中,The device according to claim 17, wherein所述接收模块,还配置为接收第二指示信息,其中,所述第二指示信息用于指示将位于设备外的所述卡槽吸入所述设备内;The receiving module is further configured to receive the second indication information, where the second indication information is used to indicate that the card slot located outside the device is sucked into the device;所述第一控制模块,还配置为根据所述第二指示信息控制导轨进行移动,其中,所述导轨连接于所述卡槽且所述导轨在移动时会带动所述 卡槽进行移动;The first control module is further configured to control the rail to move according to the second indication information, wherein the rail is connected to the card slot and the rail drives the The card slot moves;所述第二控制模块,还配置为在确定所述卡槽被吸入所述设备时,控制所述导轨停止移动。The second control module is further configured to control the rail to stop moving when it is determined that the card slot is drawn into the device.
- 一种存储介质,其中,所述存储介质存储有计算机可执行指令,其中,所述计算机可执行指令运行时执行权利要求11至16中任一项所述的方法。A storage medium, wherein the storage medium stores computer executable instructions, wherein the computer executable instructions are executed to perform the method of any one of claims 11 to 16.
- 一种处理器,其特征在于,所述处理器用于运行程序,其中,所述程序运行时执行权利要求11至16中任一项所述的方法。A processor, wherein the processor is operative to run a program, wherein the program is operative to perform the method of any one of claims 11 to 16.
- 一种电子设备,包括:壳体、处理器及权利要求1至10任一项提供的卡槽处理装置;An electronic device comprising: a housing, a processor, and the card slot processing device according to any one of claims 1 to 10;所述壳体上设置有供所述卡槽进出所述壳体的开口;The housing is provided with an opening for the card slot to enter and exit the housing;所述处理器,位于所述壳体内,与所述卡槽处理装置连接,配置为通过计算机程序的执行,控制所述卡槽处理装置中的卡槽进出所述壳体,并执行权利要求11至16中任一项所述的方法。 The processor, located in the housing, is coupled to the card slot processing device, configured to control a card slot in the card slot processing device to enter and exit the housing by execution of a computer program, and execute the claim 11 The method of any of 16.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710390190.6A CN108964688B (en) | 2017-05-27 | 2017-05-27 | Card slot processing device and method |
CN201710390190.6 | 2017-05-27 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2018218852A1 true WO2018218852A1 (en) | 2018-12-06 |
Family
ID=64455165
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2017/106761 WO2018218852A1 (en) | 2017-05-27 | 2017-10-18 | Card slot processing apparatus and method, processor, storage medium and electronic device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN108964688B (en) |
WO (1) | WO2018218852A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111288366A (en) * | 2020-01-19 | 2020-06-16 | 佛山市毅丰电器实业有限公司 | Portable stage lamp |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201278542Y (en) * | 2008-07-25 | 2009-07-22 | 中兴通讯股份有限公司 | Fixing apparatus for mobile phone SIM card |
CN102709725A (en) * | 2012-05-23 | 2012-10-03 | 中兴通讯股份有限公司 | SIM (subscriber identity module) card clamping seat, mobile terminal and method for identifying hot plugging of SIM card |
CN103841229A (en) * | 2012-11-26 | 2014-06-04 | 上海斐讯数据通信技术有限公司 | Handheld device |
US20160173155A1 (en) * | 2014-06-16 | 2016-06-16 | Huizhou Tcl Mobile Communication Co., Ltd. | Mobile terminal and sim card holder having button structure thereof |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101571903B (en) * | 2008-04-29 | 2012-09-05 | 厦门华侨电子股份有限公司 | Intelligent card reading device with switch mechanism |
JP4859954B2 (en) * | 2009-06-10 | 2012-01-25 | ホシデン株式会社 | Card connector |
JP5382385B2 (en) * | 2012-03-28 | 2014-01-08 | Smk株式会社 | Card connector |
CN105048186A (en) * | 2015-07-24 | 2015-11-11 | 小米科技有限责任公司 | Card support pop-out mechanism, mobile terminal and method and device for controlling card support pop-out |
CN104992203B (en) * | 2015-07-30 | 2018-01-30 | 深圳市铭特科技有限公司 | A kind of IC-card read-write equipment |
CN105450246A (en) * | 2015-11-10 | 2016-03-30 | 青岛海信移动通信技术股份有限公司 | Mobile terminal |
-
2017
- 2017-05-27 CN CN201710390190.6A patent/CN108964688B/en active Active
- 2017-10-18 WO PCT/CN2017/106761 patent/WO2018218852A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201278542Y (en) * | 2008-07-25 | 2009-07-22 | 中兴通讯股份有限公司 | Fixing apparatus for mobile phone SIM card |
CN102709725A (en) * | 2012-05-23 | 2012-10-03 | 中兴通讯股份有限公司 | SIM (subscriber identity module) card clamping seat, mobile terminal and method for identifying hot plugging of SIM card |
CN103841229A (en) * | 2012-11-26 | 2014-06-04 | 上海斐讯数据通信技术有限公司 | Handheld device |
US20160173155A1 (en) * | 2014-06-16 | 2016-06-16 | Huizhou Tcl Mobile Communication Co., Ltd. | Mobile terminal and sim card holder having button structure thereof |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111288366A (en) * | 2020-01-19 | 2020-06-16 | 佛山市毅丰电器实业有限公司 | Portable stage lamp |
Also Published As
Publication number | Publication date |
---|---|
CN108964688A (en) | 2018-12-07 |
CN108964688B (en) | 2021-09-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101840146B1 (en) | Camera-lens automatic pop-up device and terminal | |
CN109473092B (en) | Voice endpoint detection method and device | |
CN104079473B (en) | information issuing method and device | |
CN105183276A (en) | Method and apparatus for realizing game in chat interface, and and terminal device | |
CN104050035A (en) | Processing method and device for application program | |
CN105094577A (en) | Method and apparatus for application switching | |
CN105048186A (en) | Card support pop-out mechanism, mobile terminal and method and device for controlling card support pop-out | |
CN104158722A (en) | Message push method and device used for light applications, as well as terminal and server | |
WO2018218852A1 (en) | Card slot processing apparatus and method, processor, storage medium and electronic device | |
CN104661469B (en) | The ends-opening method of mobile terminal and mobile terminal | |
CN104615359A (en) | Method and device for performing voice operation on application software | |
WO2023071165A1 (en) | Fill light control method, module, device, system and apparatus, and electronic device, storage medium, program and program product | |
CN104636140A (en) | Firmware compression method and firmware decompression method and device | |
CN108401042B (en) | Card support ejecting structure, terminal, card support ejecting method and device | |
CN111755002B (en) | Speech recognition device, electronic apparatus, and speech recognition method | |
CN105404161A (en) | Intelligent voice interaction method and device | |
CN105224174B (en) | The display methods and device of Paste | |
CN104317393A (en) | Information displaying method, information displaying device and electronic equipment | |
CN104991752A (en) | Method and device for controlling screen to rotate | |
CN106991018A (en) | The method and device of changing an interface skin | |
CN204450326U (en) | A kind of fixture assembling mobile phone screen and housing | |
CN107231386A (en) | Application state conversion method, device and mobile terminal | |
CN110880994A (en) | Control method and control equipment of household appliance | |
CN107650134A (en) | A kind of intelligent propaganda machine people | |
CN110517684B (en) | Control method and device for intelligent equipment, intelligent equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 17911674 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 17911674 Country of ref document: EP Kind code of ref document: A1 |